2 errors on dashboard

Whoops, looks like something went wrong.

1/1
RuntimeException in compiled.php line 7601:
No supported encrypter found. The cipher and / or key length are invalid.
in compiled.php line 7601
at EncryptionServiceProvider->Illuminate\Encryption\{closure}(object(Application), array()) in compiled.php line 1331
at Container->build(object(Closure), array()) in compiled.php line 1287
at Container->make('encrypter', array()) in compiled.php line 1837
at Application->make('Illuminate\Contracts\Encryption\Encrypter') in compiled.php line 1388
at Container->resolveClass(object(ReflectionParameter)) in compiled.php line 1365
at Container->getDependencies(array(object(ReflectionParameter)), array()) in compiled.php line 1351
at Container->build('App\Http\Middleware\EncryptCookies', array()) in compiled.php line 1287
at Container->make('App\Http\Middleware\EncryptCookies', array()) in compiled.php line 1837
at Application->make('App\Http\Middleware\EncryptCookies') in compiled.php line 9765
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 9755
at Pipeline->then(object(Closure)) in compiled.php line 8057
at Router->runRouteWithinStack(object(Route), object(Request)) in compiled.php line 8048
at Router->dispatchToRoute(object(Request)) in compiled.php line 8038
at Router->dispatch(object(Request)) in compiled.php line 2381
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in LogMiddleware.php line 45
at LogMiddleware->handle(object(Request), object(Closure))
at call_user_func_array(array(object(LogMiddleware), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9765
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 3214
at CheckForMaintenanceMode->handle(object(Request), object(Closure))
at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9765
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 9755
at Pipeline->then(object(Closure)) in compiled.php line 2328
at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 2312
at Kernel->handle(object(Request)) in index.php line 54
at require_once('C:\Users\TheBeastGamer25\Downloads\Sphinx-master\Sphinx-master\Sphinx-Server\public\index.php') in server.php line 21
Whoops, looks like something went wrong.

1/1
RuntimeException in compiled.php line 7601:
No supported encrypter found. The cipher and / or key length are invalid.
in compiled.php line 7601
at EncryptionServiceProvider->Illuminate\Encryption\{closure}(object(Application), array()) in compiled.php line 1331
at Container->build(object(Closure), array()) in compiled.php line 1287
at Container->make('encrypter', array()) in compiled.php line 1837
at Application->make('Illuminate\Contracts\Encryption\Encrypter') in compiled.php line 1388
at Container->resolveClass(object(ReflectionParameter)) in compiled.php line 1365
at Container->getDependencies(array(object(ReflectionParameter)), array()) in compiled.php line 1351
at Container->build('App\Http\Middleware\EncryptCookies', array()) in compiled.php line 1287
at Container->make('App\Http\Middleware\EncryptCookies', array()) in compiled.php line 1837
at Application->make('App\Http\Middleware\EncryptCookies') in compiled.php line 2335
at Kernel->terminate(object(Request), object(Response)) in index.php line 58
at require_once('C:\Users\TheBeastGamer25\Downloads\Sphinx-master\Sphinx-master\Sphinx-Server\public\index.php') in server.php line 21

Everything is running, the node, etc

This is probably because the key isn't set in .env.
Try running php artisan key:generate in the Sphinx Server directory.

@mitchfizz05 Yay! But now when I login:
InvalidArgumentException in SQLiteConnector.php line 34:
Database (C:\Users\TheBeastGamer25\Downloads\Sphinx-master\Sphinx-master\Sphinx-Server\storage/app/database.sqlite) does not exist.
in SQLiteConnector.php line 34
at SQLiteConnector->connect(array('driver' => 'sqlite', 'database' => 'C:\Users\TheBeastGamer25\Downloads\Sphinx-master\Sphinx-master\Sphinx-Server\storage/app/database.sqlite', 'prefix' => '', 'name' => 'sqlite')) in compiled.php line 11631
at ConnectionFactory->Illuminate\Database\Connectors\{closure}()
at call_user_func(object(Closure)) in Connection.php line 864
at Connection->getPdo() in Connection.php line 732
at Connection->reconnectIfMissingConnection() in Connection.php line 621
at Connection->run('select * from "users" where "username" = ? limit 1', array('admin'), object(Closure)) in Connection.php line 342
at Connection->select('select * from "users" where "username" = ? limit 1', array('admin'), true) in Builder.php line 1461
at Builder->runSelect() in Builder.php line 1447
at Builder->get(array('*')) in Builder.php line 569
at Builder->getModels(array('*')) in Builder.php line 303
at Builder->get(array('*')) in Builder.php line 273
at Builder->first() in compiled.php line 1007
at EloquentUserProvider->retrieveByCredentials(array('username' => 'admin', 'password' => 'password')) in compiled.php line 603
at SessionGuard->attempt(array('username' => 'admin', 'password' => 'password'), false) in compiled.php line 2439
at AuthController->login(object(Request))
at call_user_func_array(array(object(AuthController), 'login'), array(object(Request))) in compiled.php line 9236
at Controller->callAction('login', array(object(Request))) in compiled.php line 9298
at ControllerDispatcher->call(object(AuthController), object(Route), 'login') in compiled.php line 9278
at ControllerDispatcher->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in RedirectIfAuthenticated.php line 24
at RedirectIfAuthenticated->handle(object(Request), object(Closure))
at call_user_func_array(array(object(RedirectIfAuthenticated), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9765
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 9755
at Pipeline->then(object(Closure)) in compiled.php line 9279
at ControllerDispatcher->callWithinStack(object(AuthController), object(Route), object(Request), 'login') in compiled.php line 9266
at ControllerDispatcher->dispatch(object(Route), object(Request), 'App\Http\Controllers\Dashboard\AuthController', 'login') in compiled.php line 8355
at Route->runController(object(Request)) in compiled.php line 8342
at Route->run(object(Request)) in compiled.php line 8056
at Router->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 3153
at VerifyCsrfToken->handle(object(Request), object(Closure))
at call_user_func_array(array(object(VerifyCsrfToken), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9765
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 13195
at ShareErrorsFromSession->handle(object(Request), object(Closure))
at call_user_func_array(array(object(ShareErrorsFromSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9765
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 11749
at StartSession->handle(object(Request), object(Closure))
at call_user_func_array(array(object(StartSession), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9765
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 12934
at AddQueuedCookiesToResponse->handle(object(Request), object(Closure))
at call_user_func_array(array(object(AddQueuedCookiesToResponse), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9765
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 12871
at EncryptCookies->handle(object(Request), object(Closure))
at call_user_func_array(array(object(EncryptCookies), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9765
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 9755
at Pipeline->then(object(Closure)) in compiled.php line 8057
at Router->runRouteWithinStack(object(Route), object(Request)) in compiled.php line 8048
at Router->dispatchToRoute(object(Request)) in compiled.php line 8038
at Router->dispatch(object(Request)) in compiled.php line 2381
at Kernel->Illuminate\Foundation\Http\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 52
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in LogMiddleware.php line 45
at LogMiddleware->handle(object(Request), object(Closure))
at call_user_func_array(array(object(LogMiddleware), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9765
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request)) in compiled.php line 3214
at CheckForMaintenanceMode->handle(object(Request), object(Closure))
at call_user_func_array(array(object(CheckForMaintenanceMode), 'handle'), array(object(Request), object(Closure))) in compiled.php line 9765
at Pipeline->Illuminate\Pipeline\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in Pipeline.php line 32
at Pipeline->Illuminate\Routing\{closure}(object(Request))
at call_user_func(object(Closure), object(Request)) in compiled.php line 9755
at Pipeline->then(object(Closure)) in compiled.php line 2328
at Kernel->sendRequestThroughRouter(object(Request)) in compiled.php line 2312
at Kernel->handle(object(Request)) in index.php line 54
at require_once('C:\Users\TheBeastGamer25\Downloads\Sphinx-master\Sphinx-master\Sphinx-Server\public\index.php') in server.php line 21

@mitchfizz05 I can't access the realms screen since its on 1.10.2, anyway to get to the realms screen so i can type in the key combo?

That's a problem I suppose we overlooked since we were using the latest Realms at the time. I'm not sure how to easily fix that without making a new Realms patch :v

@mitchfizz05 plz do

I haven't worked on this for a long time, I don't even have the toolkit to compile a new Realms patch anymore. Or even the source for that matter (the Realms patch source couldn't be publicly released since it contains Mojang code).
If you're experienced with the Minecraft launcher and compiling things, you could make an updated patch yourself. The code change is pretty simple, problem is compiling and getting it into the launcher.
I don't have any motivation in this project myself anymore, I hate to say :(

@mitchfizz05 can u tell me what code u add and where?

You'll need to decompile the Realms jar. I don't remember exactly where the code you have to change is, but it wasn't hard to find. You just have the change the IP address from Mojang's Realm server to the IP of your own Realms server.


Tweening of FOV/Near/Far properties ends on incorrect values

Issue description
When tweening between two PhantomCamera3Ds with different FOV/Near/Far settings, the final values are not equal to the ones defined in the target's Camera3DResource
Steps to reproduce

Have a Camera3D with a PhantomCameraHost, and two PhantomCamera3D nodes with different FOV/Near/Far settings in their Camera3DResources
Activate a tween between the two PhantomCamera3Ds
After the tween finishes, go into the Remote scene tree and compare the FOV/Near/Far values on the Camera3D node to what is defined in the current PhantomCamera3D's Camera3DResource.

(Optional) Minimal reproduction project
No response

I can't seem to replicate the issue.
Camera3DResource for PlayerPCam:

fov: 75
near: 0.05
far: 2000

Camera3DResource for ScenePCam:

fov: 10
near: 0.08
far: 6000

https://github.com/ramokz/phantom-camera/assets/5159399/188a16e9-7446-4f01-b69f-369869aad626

Uploaded a minimal example project
Might be framerate dependent, so max fps is set in the project

The issue seems to partially stem from setting the priority in the _ready() of the root node.
If you replace the PhantomCameraHost.gd file with the version below, then that should resolve it.
It basically boils down to always running the last frame, which it sometimes skips — likely due to the fluctuating delta value.
phantom_camera_host.gd.zip


cat: /home/mah3sec/.osmedeus/config.yaml: No such file or directory

cat: /home/mah3sec/.osmedeus/config.yaml: No such file or directory

Please be more specific, give some more information like what command you ran? what is your OS?
And please read the FAQs page first: https://docs.osmedeus.org/faq/ Your issue might happen when you install on root but run on normal user.


New package: FourLeafMLE v0.1.3

Registering package: FourLeafMLE
Repository: https://github.com/max-hill/FourLeafMLE
Created by: @max-hill
Version: v0.1.3
Commit: 60a8e73a87ac8842d8f8ad81c8ab5c991ff79a62
Reviewed by: @max-hill
Reference: https://github.com/max-hill/FourLeafMLE/commit/60a8e73a87ac8842d8f8ad81c8ab5c991ff79a62#commitcomment-142647072

Closing in favor of https://github.com/JuliaRegistries/General/pull/108110


Send helm-operator events to upstream

We currently send Flux events to Weave Cloud as events allowing upstreams to be aware of syncs, releases, and other events in Flux.
It would be great to be able to produce events from the helm-operator whenever it makes changes (or fails to make changes).
Are there any plans for sending events from the helm-operator upstream?

Yes, though not well-formed plans.
Briefly: the simplest thing would be to give the helm-operator an upstream URL, the same as for fluxd, and let it post its events there.
The helm operator already generates Kubernetes events though, and this would be doubling up .. So another more decoupled design is to use the Kubernetes event mechanism for fluxd too, and have a listener that posts both sets of events to the upstream.

The easy (first) option above would be fine as a start.

Any updates on this?
It would be nice to have it!


Client IP address?

Is there a way to get the IP address of the client from the connection object?
Thanks in advance. I'm using this package as the server component for updates for scripting.com. It's working really well. Thank you.

Hello @scripting
Yes: conn.socket.remoteAddress. See the docs on Connection#socket and Socket#remoteAddress
You're welcome ;)
(I'll close this, if this doesn't work for you, feel free to reopen)

Thanks, this worked. ;-)


Middle click scrolling

perfect-scrollbar hooks the scrolling event, and virtualising it with JavaScript. So, if we try to add another scrolling method, it means we add another scrolling emulation. Especially, middle click scrolling contains UI issues such as the indicating cursor, and it's really not so easy as keyboard scrolling.
Though, it has been requested several times and I think supporting it seems reasonable enough, so I'd like to consider it as a public enhancement. Anybody can contribute on this issue.

This may not be supported officially in PS, as it's quite difficult to emulate naturally with only JS and may cause further problems. Instead of implementing this, PS will provide a new way to write PS plugin in v1, so it will be much easier for anybody to write a new scroll emulator.

Any progress on this issue? Picked up a project with perfect-scrollbar, but losing my usual habit of middle-clicking to scroll is a difficult thing to give up.
FYI this is on Windows 10, and it appears to work in Edge, but fails in Chrome and Firefox.


Feature Request (txnbuild): (Re-)implement multiplexed accounts in the SDK

What problem does your feature solve?
Multiplexed account support was implemented in the Stellar protocol in Protocol 13. Full ecosystem support was not implemented because the lift was large: see https://github.com/stellar/stellar-protocol/issues/617.
Adding SDK support (only) for multiplexed addresses now will allow developers to experiment and identify valuable concrete use cases to drive full adoption (rationale). This issue does not propose adding any support to Horizon for M addresses.
What would you like to see?
M address support should default to off, so most users will see no functionality change.

expand G address validation to also cover M (opt-in)
allow construction of M addresses (opt-in)
allow M addresses in transactions in place of G, where allowed (opt in)
decode an M address from a provided hash (opt in)
API helpers for comparing M addresses and extracting underlying G addresses

One complication: M addresses are not fully interchangeable with G. If you grep for AccountID in Stellar-transaction.x, you'll see the places where AccountID was preserved. These are: CreateAccount, SetOptions, AllowTrust, and SponsoringFutureReserves, as well as various operation results. The parsing implementation should disallow such invalid address uses.
Note also: This change to SEP 23 will change the strkey implementation.
What alternatives are there?
Prior work was done and then removed here: https://github.com/stellar/go/pull/2612. Based on the requirements above it is probably not sufficient.
Once the implementation is clear, we can raise equivalent issues on the other SDKs.

yeah when "off" you want to ensure that we never sees muxed accounts in either direction:

never produce a multiplexed address in the object model. From string, but also from XDR binary form.

so you need to reject (from string) or "downgrade" (by transforming into a regular AccountID) multiplexed addresses coming from any place
note that when turned "on" there should never be a downgrade as a muxed account is not the same thing than a non muxed account

never produce a multiplexed address from the object model. Basically avoid creating xdr (or other) that represent a muxed account ID

if there is no way to represent a muxed address in the object model this is trivial, but needs to be called out (for JS it might be necessary to have a check later in case of bugs in the business logic that used muxed accounts with the feature flag off)

@MonsieurNicolas I generally agree with your comment (if by object model you mean Go data SDK datastructures)
That said, (if only for backwards compatibility) we may not reach a perfect solution. Muxed accounts can already be leaked today (e.g. if you readily provide XDR for submitting a transaction, bypassing the txnbuild datastructures). I am still diving through the code, but there may be other cases.

yes exactly @2opremio : what I was trying to say is that we can make this safe for 99% of the developers that use the SDK.
For people that do things directly with XDR (like hardware wallets), they will have to support it (and should already but probably don't).


Error in file(con, "r") : cannot open the connection

Hello when I use any function from r packages in spark using sparklyr (spark_apply) for example the following:
U <- Crimes_tbl %>% spark_apply (function(x)treeClust::treeClust( d.num = 2, final.algorithm = "kmeans", k = 26, x))
I get the the following error:
Error in file(con, "r") : cannot open the connection
In addition: Warning message:
In file(con, "r") :
cannot open file 'C:\Users\Ahmad\AppData\Local\Temp\RtmpUx7cfr\file444c1e7b6fb7_spark.log': Permission denied

same problem here!!!
require(sparklyr)
sc <- spark_connect(master='local')
df <- sdf_copy_to(sc,na.omit(airquality2))
spark_apply(
df,
function(df) {
data.frame(month = df %>% select('Month'), mse = svm(Ozone ~ Solar_R+Wind+Temp+Day, df, cross = 3)$tot.MSE)
},
names = c("Month", "MSE"),
packages='e1071',
group_by = "Month")
Error in file(con, "r") : cannot open the connection
In addition: Warning message:
In file(con, "r") :
cannot open file 'C:\Users\chenc\AppData\Local\Temp\RtmpwVOYQb\file2bc852b2d0_spark.log': Permission denied

same problem here!!! ...

@cc20002002 seems permission problem , try to run program as administration
Sent with GitHawk

same problem here!!! ...

@cc20002002 seems permission problem , try to run program as administration
Sent with GitHawk

I'm having the same problem. I tried launching RStudio "As Administrator" but it didn't help.

Ah! I updated sparklyr from github: devtools::install_github("rstudio/sparklyr") and it's working now.


Fix expressions not localizing

Closes #374
Currently blocked by the issues mentioned in the issue.

done in https://github.com/mapbox/mapbox-plugins-android/pull/654


Improve browsing agent prompts, allowing agent to properly finish when done

@li-boxuan This should make it a bit better - although the gpt4o is quite random some time...

Likely unrelated to this PR, but just want to report that I've hit this issue pretty consistently:
21:06:47 - opendevin:INFO: browser_env.py:38 - Starting browser env...
21:06:57 - opendevin:INFO: agent_controller.py:112 - AgentController task was cancelled
ERROR:root:  File "/Users/liboxuan/workspace/OpenDevin/./opendevin/core/main.py", line 127, in <module>
    asyncio.run(main())
  File "/opt/anaconda3/lib/python3.11/asyncio/runners.py", line 190, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/opt/anaconda3/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/anaconda3/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/Users/liboxuan/workspace/OpenDevin/./opendevin/core/main.py", line 92, in main
    runtime = ServerRuntime(event_stream=event_stream, sandbox=sandbox)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/liboxuan/workspace/OpenDevin/opendevin/runtime/server/runtime.py", line 35, in __init__
    super().__init__(event_stream, sid, sandbox)
  File "/Users/liboxuan/workspace/OpenDevin/opendevin/runtime/runtime.py", line 74, in __init__
    self.browser = BrowserEnv()
                   ^^^^^^^^^^^^
  File "/Users/liboxuan/workspace/OpenDevin/opendevin/runtime/browser/browser_env.py", line 41, in __init__
    raise BrowserException('Failed to start browser environment.')

ERROR:root:<class 'opendevin.runtime.browser.browser_env.BrowserException'>: Failed to start browser environment.
21:06:57 - opendevin:INFO: browser_env.py:53 - Browser env started.

I'd like to merge this PR pretty soon and then work on writing a test for BrowserAgent... if anyone intends to review please comment here

@li-boxuan Thanks! Giving the agent a bit more turns might help, but each try is not exactly the same. I think that maybe a simpler task might be more stable. For example I have always had success with "tell me the trending project on GitHub".
I also updated the PR with ability to send messages in the front end to let the user know what's happening under the hood, and a small fix in handling parsing errors in case the user is using very weak LLMs.

https://github.com/OpenDevin/OpenDevin/pull/2031 increased overall project coverage by 1.31%...  it would increase more once we start using the prompts that have been checked-in but not in use yet.


Support Spring Data Redis Serializer

Fastjson Support for Spring Data Redis Serializer.

I'm going to do...


Mac version, does not see the additional hard drive

If I can, I found a problem on the MAC version, the program only recognizes the main hardisk but not the second one.
Thank you

Are you talking about the "Open file" dialog in the application?

Hi,
yes, you can see the attached file
Thanks so much
https://www.dropbox.com/s/jlz2jul6qi7jxy8/PhotonFileValidation.jpg?dl=0

Version 1.3 now uses native open dialogs.

Hi,
Thank you so much, it works perfectly.
Marco A.


Make Router immutable and use Arc instead of unsafe in RequestService.

This PR is based on awesome work by @cpcloud in https://github.com/routerify/routerify/pull/25. I think that the perf drop mentioned in https://github.com/routerify/routerify/pull/25/files#discussion_r527962151 was mostly due to Mutex which was effectively making router single-threaded.
I've managed to find a way to make router immutable by changing FnMut trait bounds to Fn. I see absolutely no reason why a handler or middleware would need to mutably capture their environment. I'm actually not sure that that's even possible with Send + Sync + 'static and threads. Now, with the Router instance being immutable, there's no need to use Mutex; wrapping only in Arc is enough for sharing the router.
Of course, there's still some price associated with Arc, but it's definitely much less than Arc<Mutex> and I'm convinced that it's totally worth it for getting rid of the unsafe code.

I haven't reviewed this yet, but thank you for reviving this work! I agree that while the unsafe code performs better in synthetic benchmarks, the disadvantage of having unsafe code running in production isn't worth it 😄
I will review soon, and I'll see if I can run the routerify-benchmark suite against this branch.

The results of routerify-benchmark/routerify on my MBP 2020 with quad-core i7

The latest develop branch without any changes

~ $ wrk --latency -t4 -c200 -d8s http://<IP_ADDRESS>:8081
Running 8s test @ http://<IP_ADDRESS>:8081
  4 threads and 200 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.29ms  248.57us   7.71ms   78.26%
    Req/Sec    36.75k     1.69k   43.44k    87.81%
  Latency Distribution
     50%    1.31ms
     75%    1.42ms
     90%    1.53ms
     99%    1.89ms
  1170199 requests in 8.00s, 137.27MB read
  Socket errors: connect 0, read 50, write 0, timeout 0
Requests/sec: 146204.97
Transfer/sec:     17.15MB

This PR

~ $ wrk --latency -t4 -c200 -d8s http://<IP_ADDRESS>:8081
Running 8s test @ http://<IP_ADDRESS>:8081
  4 threads and 200 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     1.28ms  245.89us   7.19ms   77.94%
    Req/Sec    36.89k     1.78k   43.74k    87.50%
  Latency Distribution
     50%    1.31ms
     75%    1.41ms
     90%    1.52ms
     99%    1.87ms
  1174668 requests in 8.01s, 137.79MB read
  Socket errors: connect 0, read 53, write 0, timeout 0
Requests/sec: 146737.42
Transfer/sec:     17.21MB

I do not see any difference.

Fantastic work then, I'm looking forward to this PR being merged to master and being part of a new beta release soon!
cc: @rousan @NikosEfthias @cpcloud

Great work, finally we have removed the unsafe code. Let me know when we should make the next release.

Releasing v2.0.0-beta-3


ci(node) Pack before deploy

https://github.com/turingscript/tokenizers/actions/runs/8318295131/job/22760133182
Background

Making progress on the deployment script fixes, this plans to pack the library and publish to pack to fix issues of the attempted publish off all the sub packages.

I am tryin to run inside a docker container buy i am stuck with
Error: Cannot find module '@turingscript/tokenizers-linux-arm64-musl'
Require stack:
-<EMAIL_ADDRESS>
any reason why ?

@madhurjya-acko I don't know if I have a docker runner for that architecture tbh. I am currently traveling, but I can check when home.
I would have to check if GitHub has a runner for that. Likewise, each runner would eat up more credits 🙃

@madhurjya-acko currently arm based runners for linux are in beta with Github. I requested access, but unfortunately, it will probably take some time for me to get access. Without a runner, I can't build the image unfortunately. However, I will make an issue to track this.
https://github.blog/changelog/2023-10-30-accelerate-your-ci-cd-with-arm-based-hosted-runners-in-github-actions/


Prevent going to receiver each time get messages is stored.

Is your feature request related to a problem? Please describe.
Current GET /messages endpoint checks the source for new messages. If there is a problem with a downstream receiver then its not possible to get any messages.
Describe the solution you'd like
Create a check method that talks to the receiver then stores message in the state store. Use the state store with get messages.

Create POST /messages endpoint and use the same with the same request parameters as /messages
New method will get message the same way as GET /messages however it will store them in the state database
expand /stores/state.go with extra methods e.g. PutMessage, GetMessages and use these methods when adding messages from GET
extended stores/bdbstore with new methods
Find the correct keys to store
remove stores/ldbstore
Change GET /messages to retrieve message from state store

closed by #652

closed by #652


[REQUEST] achievements in-game overlay

Is your feature request related to a problem? Please describe.
whenever i get an achievement when i'm in a game, i just hear the sound and i have to alt-tab to the desktop to see it or to hydra itself
Describe the solution you'd like
is it possible to have the achievements pop while in game, like an in-game overlay?
Describe alternatives you've considered
No response
Additional context
No response

currently the notification information works in borderless, but not in fullscreen, there are some technical issues that prevent us from doing it this way, this is something we will fix soon, for now you can choose to play in borderless.

@JackEnx
alright borderless it is
thanks, dude


minor issue in the documentation

In the https://github.com/cg-tub/hrtf_mesh_grading#1-clone-and-build-locally
Please correct the cd hrtf-mesh-hrtf_mesh_grading  to cd hrtf_mesh_grading
(I think this mistake was caused by me in one of my emails about another issue)
Also, I can confirm that this 3-line cloning works excellent without any SSH keys, so I would recommend it for most people as a more robust method. I even used it in Docker file without any issues.
git clone https://github.com/cg-tub/hrtf_mesh_grading.git
cd hrtf_mesh_grading
git clone --recursive https://github.com/cg-tub/pmp-library.git

I corrected the typo :)
Since many people working with it do have an SSH key set up, I left everything else in it's original order.


[BUG] Can not use other plugins other than Paragraph and Blockquote

Has this bug been raised before?

[X] I have checked "open" AND "closed" issues and this is not a duplicate

Description
I install your packages by
 yarn add slate slate-react @yoopta/editor @yoopta/paragraph @yoopta/code @yoopta/embed @yoopta/image @yoopta/link @yoopta/file @yoopta/lists @yoopta/headings @yoopta/action-menu-list @yoopta/toolbar @yoopta/link-tool @yoopta/marks @yoopta/image
in my existing nextjs project
then I copy whole this example code (just to check how it works)
https://github.com/Darginec05/Yoopta-Editor/blob/master/web/next-example/src/components/examples/withDarkTheme/index.tsx

then there is red error in plugins

Here is the error message when I hover to it

Type '(YooptaPlugin<"paragraph", Descendant, { display: { title: string; description: string; }; shortcuts: string[]; }> | YooptaPlugin<"blockquote", Descendant, { ...; }> | ... 6 more ... | YooptaPlugin<...>)[]' is not assignable to type 'YooptaPlugin<string, Descendant, Record<string, unknown>>[]'.
Type 'YooptaPlugin<"paragraph", Descendant, { display: { title: string; description: string; }; shortcuts: string[]; }> | YooptaPlugin<"blockquote", Descendant, { ...; }> | ... 6 more ... | YooptaPlugin<...>' is not assignable to type 'YooptaPlugin<string, Descendant, Record<string, unknown>>'.
Type 'YooptaPlugin<"callout", CalloutElementProps, Record<string, unknown>>' is not assignable to type 'YooptaPlugin<string, Descendant, Record<string, unknown>>'.
The types of 'getPlugin.elements' are incompatible between these types.
Type 'PluginElementsMap<"callout", CalloutElementProps>' is not assignable to type 'PluginElementsMap<string, Descendant>'.
Property 'callout' is incompatible with index signature.
Type 'PluginElement' is not assignable to type 'PluginElement'.
Type 'CalloutElementProps' is not assignable to type 'Descendant'.ts(2322)
YooptaEditor.d.ts(8, 5): The expected type comes from property 'plugins' which is declared here on type 'IntrinsicAttributes & Props'

If I remove other plugins only keep Paragraph and Blockquote:
const plugins = [Paragraph, Blockquote];

then no red error any more.

Environment
"next": "14.2.3",
    "react": "^18.3.1",

I use NextJS app router.
But in that page I added 'use client' on the top.
Screenshots
No response
Do you want to work on this issue?
No
If "yes" to above, please explain how you would technically implement this
No response

It looks like your project does not allow compilation with Typescript errors.
Currently we have small bug with plugins prop typization.
Currently you can ignore this error from TS by adding this line to the plugins prop:
// @ts-ignore

thanks.
I added
// @ts-ignore
plugins={plugins}

and it seems working

@rooneyviet 🥇


process_replay: skip tests and exit gracefully on macOS

This is way too much code to disable one test. We need to decide to what extend we'll support macOS, and only support (and test) it to that extent. We don't even test this in CI.

but it disables 3 tests (and 3 scripts), and i expect that there will be more in the future. IMO its better for it to be failing gracefully before performing any work, instead of crashing with some assertion along the way.


Confusing Description for StringLikeIfExists

There's a particular sentence in Section ...IfExists Condition Operators of the  IAM JSON Policy Elements: Condition Operators documentation that's I'm having a hard time wrapping my head around.

If the policy key is present in the context of the request, process the key as specified in the policy. If the key is not present, evaluate the condition element as true.

Applying this statement to the below bucket policy, I interrupt this to mean

All s3:PutObject requests from accounts (including master) within the organization 'foo' are explicitly DENIED. The EC2 service is ALLOWED to use s3:PutObject.

If the key (Organization ID = foo) is not present the condition is TRUE, so IAM will explicitly DENY all AWS accounts.  Including internal accounts associated with a service principal name.

{
	"Version": "2012-10-17",
	"Statement": [{
			"Principal": "*",
			"Effect": "Deny",
			"Action": "s3:PutObject",
			"Resource": "*",
			"Condition": {
				"StringLikeIfExists": {
					"aws:PrincipalOrgID": "foo"
				}
			}
		},
		{
			"Principal": {"Service": "ec2.amazonaws.com"},
			"Effect": "Allow",
			"Action": "s3:PutObject",
			"Resource": "*"
		}
	]
}

I'm not very knowedgeable about Organization IDs. I'll ask the Orgs writer to chime in. But as far as the mechanics of this policy, here's what the statements say:
Statement 1: Deny access to PutObject requests for every account in AWS with a principal Org ID of "foo", and deny access to PutObject requests for every account in AWS that does not have a principal Org ID passed in the request.
Note - This does not deny access to every account in AWS that has a different Principal Org ID. So if my account has a PrincipalOrgID of "bar", then access is not explicitly denied.
Statement 2: Allow the PutObject request when the EC2 service in the same account (not organization) makes the call.
Scenarios: Assume that the S3 bucket abc123 in account<PHONE_NUMBER>11 has the bucket policy above. Let's consider the following scenario:

Account<PHONE_NUMBER>22 is in the foo organization. The EC2 service in that account makes a call to put an object in the abc123 S3 bucket in account<PHONE_NUMBER>11. The request is explicitly denied because statement 1 denies it.
Account<PHONE_NUMBER>33 is in the bar organization. The EC2 service in that account makes a call to put an object in the abc123 S3 bucket in account<PHONE_NUMBER>11. The request is allowed because statement 1 does not deny it and statement 2 allows it. In statement 1, the condition evaluates to false because the key is present, but the key value is "bar" and not "foo". Therefore the Deny does not apply.
Account<PHONE_NUMBER>44 is in the bar organization. An IAM user in that account makes a call to put an object in the abc123 S3 bucket in account<PHONE_NUMBER>11. The request is implicitly denied because statement 1 does not deny it, and statement 2 does not allow it.
Account<PHONE_NUMBER>55 is a standalone account that is not a member of an organization. The EC2 service in that account makes a call to put an object in the abc123 S3 bucket in account<PHONE_NUMBER>11. The request is explicitly denied because statement 1 denies it. Statement 1 denies it because the key does not exist in the request (since it's not a member of an organization), and therefore the condition evaluates to true.


Add URL input to Filament Remote Viewer

This adds a URL input to the Remote Viewer that lets users specify a device IP to connect to. This is useful when connecting to iOS devices, which don't have the equivalent of "adb forward".

I refactored the WebSocket logic into a Connection class to make the logic a bit simplier.

Very interesting, let me play with this a little before I approve it.  At first glance it seems fine.


stop using lazy_static

What does this PR try to resolve?
Remove the dependency on lazy_static and replace with std::sync::OnceLock.
How should we test and review this PR?
This was an internal re-factor, and the tests still pass.
I did not test that the intended caching was still working.

@bors r+

:pushpin: Commit 16b330bc59cae7374297946bdd60d731cd44abd7 has been approved by epage
It is now in the queue for this repository.

:hourglass: Testing commit 16b330bc59cae7374297946bdd60d731cd44abd7 with merge 71dafcaaa79832cd90689a6bdac6f66f1dc3de2f...

:sunny: Test successful - checks-actions
Approved by: epage
Pushing 71dafcaaa79832cd90689a6bdac6f66f1dc3de2f to master...


Empty parameter values are not set correctly

.search( '' ) produces the query string ?0=s&1=e&2=a&3=r&4=c&5=h -- this is less than ideal, and is a result of a falsy check for value within the param() method where we should instead have a check for undefined.

Closed in #136


release: v1.9.0

Summary

[ ] Add a changelog entry for every Pull Request that lacks one.
You can filter merged PRs that don't update the changelog.
Read our guidelines for editing the changelog.

[ ] Based on the changelog, determine which version number to use.
See our versioning guide for more details.

[ ] Rename Unreleased to <version> (iso-date) in the changelog.

[ ] Update version in Biome's package.json if applicable.

[ ] Update to the same version in all crates if you publish crates. (Cargo.toml and crates/**/Cargo.toml)

[ ] Linter rules have a version metadata directly defined in their implementation.
This field is set to next for newly created rules.
This field must be updated to the new version.

[ ] Merge website PRs labeled "Merge on release".

[ ] Update the website with the new version number:
BIOME_VERSION=<version> just gen-web.
This will also copy the configuration schema in the right place.

[ ] Once the PR is merged, the CI will trigger the Release: * workflows. Once these workflows finish compiling the final artefact, they need to be approved manually.

@togami2864 Which CSS rules do you think are ready to be promoted to the stable group?

@Conaclos We should also not forget to merge website PRs labeled "Merge on release".

We should also not forget to merge website PRs labeled "Merge on release".

Thanks for the reminder! I added a bullet point.

A couple of other things for the website:

update the language support page with graphql
documentation for assists (or I can do it when I come back)
documentation for VSCode v3
document the guide to explain that with --verbose is now possible to see all fixed files

@Conaclos
I think they would be good to be promoted
From stylelint-recommended

noDuplicateAtImportRules
noDuplicateFontNames
noDuplicateSelectorsKeyframeBlock
noEmptyBlock
noImportantInKeyframe
noInvalidDirectionInLinearGradient
noInvalidPositionAtImportRule
noIrregularWhitespace
noShorthandPropertyOverrides
noUnknownFunction
noUnknownMediaFeatureName
noUnknownProperty
noUnknownUnit
noUnmatchableAnbSelector
useConsistentGridAreas
useGenericFontNames

Other

noValueAtRule

stylelint
biome
note

no-duplicate-at-import-rules
noDuplicateAtImportRules

font-family-no-duplicate-names
noDuplicateFontNames

keyframe-block-no-duplicate-selectors
noDuplicateSelectorsKeyframeBlock

block-no-empty
noEmptyBlock

keyframe-declaration-no-important
noImportantInKeyframe

function-linear-gradient-no-nonstandard-direction
noInvalidDirectionInLinearGradient

no-invalid-position-at-import-rule
noInvalidPositionAtImportRule

no-irregular-whitespace
noIrregularWhitespace

declaration-block-no-shorthand-property-overrides
noShorthandPropertyOverrides

function-no-unknown
noUnknownFunction

media-feature-name-no-unknown
noUnknownMediaFeatureName

property-no-unknown
noUnknownProperty

unit-no-unknown
noUnknownUnit

selector-anb-no-unmatchable
noUnmatchableAnbSelector

named-grid-areas-no-invalid
useConsistentGridAreas

font-family-no-missing-generic-family-keyword
useGenericFontNames

@togami2864 Could you suggest a group for each one? (You can edit your comment).

A couple of other things for the website:

update the language support page with graphql
documentation for assists (or I can do it when I come back)
documentation for VSCode v3
document the guide to explain that with --verbose is now possible to see all fixed files

VS Code v3 might not be ready by release time. I need more time to squash bugs.

@togami2864
I choose a group for most of the rule.
If I am correct, useConsistentGridAreas is a correctness rule? However, its name sounds like a style rule. What do you think of renaming the rule to noInvalidGridAreas?
Also, Ia m thinking to accessibility for useGenericFontNames and correctness for all noUnknown* rules.

@Conaclos

If I am correct, useConsistentGridAreas is a correctness rule? However, its name sounds like a style rule. What do you think of renaming the rule to noInvalidGridAreas?

Totally agree 👍 I'll make a PR.

Also, Ia m thinking to accessibility for useGenericFontNames

This rule is originally from font-family-no-missing-generic-family-keyword in stylelint, I think it would be better to rename noMissingGenericFamilyKeyword and  assign correctness group. wdyt 🤔

We will delay the promotion of noIrregularWhitespace to a next release because, both the JS and CSS rules have to be promoted.

👍

Besides that, I'll rename these rules to align with name conventions.
no_unknown_pseudo_class_selector => no_unknown_pseudo_class
no_unknown_selector_pseudo_element => no_unknown_pseudo_element

This rule is originally from font-family-no-missing-generic-family-keyword in stylelint, I think it would be better to rename noMissingGenericFamilyKeyword and assign correctness group. wdyt 🤔

Why should this be a correctness rule? This is not fundamentally wrong / an error of omitting a generic font family?
Regarding the name, I am not sure if it makes so much value of renaming it.

This is not fundamentally wrong / an error of omitting a generic font family?

That makes sense. Let's keep the rule name and assign it as accessibility.


Adds readme

Resolves #12

@ForestEckhardt I'm trying to use goreadme to keep this README up to date. It is the one choosing pkg.go.dev, which is really the right place for docs. However, it uses proxy.golang.org to find packages. Since we've never released a paketo-buildpacks version of packit, there is no package with that path in the index and thus no docs to link to... yet. We need to merge #17 and then this should work.


infra: Common file sync 2023-10-30

Disclaimer: @benjaminulmer did not make this PR---it was made by a bot operating on his behalf (see bg-devcommon)
Files changed:
.clang-format
CMakePresets.json

We're currently processing your upload.  This comment will be updated when the results are available.


Suppress warning on unsafe variable

I got the following warnings when I compiled the latest version:
$ mix compile
==> earmark
Compiling 3 files (.erl)
Compiling 19 files (.ex)
Generated earmark app
==> ex_doc
Compiling 14 files (.ex)
Generated ex_doc app
==> exprintf
Compiling 1 file (.ex)
warning: the variable "state" is unsafe as it has been set inside a case/cond/receive/if/&&/||. Please explicitly return the variable value instead. For example:

    case int do
      1 -> atom = :one
      2 -> atom = :two
    end

should be written as

    atom =
      case int do
        1 -> :one
        2 -> :two
      end

Unsafe variable found at:
  lib/exprintf.ex:181

warning: the variable "state" is unsafe as it has been set inside a case/cond/receive/if/&&/||. Please explicitly return the variable value instead. For example:

    case int do
      1 -> atom = :one
      2 -> atom = :two
    end

should be written as

    atom =
      case int do
        1 -> :one
        2 -> :two
      end

Unsafe variable found at:
  lib/exprintf.ex:182

warning: the variable "state" is unsafe as it has been set inside a case/cond/receive/if/&&/||. Please explicitly return the variable value instead. For example:

    case int do
      1 -> atom = :one
      2 -> atom = :two
    end

should be written as

    atom =
      case int do
        1 -> :one
        2 -> :two
      end

Unsafe variable found at:
  lib/exprintf.ex:183

Generated exprintf app

So I rewrote it so that these warnings do not show up.

Thanks!


⚠ Samsung has degraded performance

In 2e914b0, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 3170 ms

Resolved: Samsung performance has improved in 6f75b92.


Fix crash with appInfo() reading past end of buffer

This is a bug because the APDU proxy does not send back any flags unless you use HAVE_BOLOS define when building the SDK for the device. This does not seem to be built in on the NANO S PLUS target. That means using appInfo() will crash because it assumes you get flags back but they are never sent.
See supporting documentation and code here,

https://github.com/LedgerHQ/ledger-secure-sdk/blob/cb5cfae5750d57e4c03460c5c93098fea7a8abcb/include/sdk_apdu_commands.h#L8-L32
https://github.com/LedgerHQ/ledger-secure-sdk/blob/cb5cfae5750d57e4c03460c5c93098fea7a8abcb/src/os_io_seproxyhal.c#L1156-L1161

@NullSoldier thanks for the contribution. It is not really necessary, as appFlags should be there. They are missed on the Rust bindings. PR adding them in ledger https://github.com/LedgerHQ/ledger-device-rust-sdk/pull/198. Once merge, this should be fix automatically. I think the PR is no longer needed.


fix UID and perms

This changes owners from root to the user that executes the kbfsfuse proces on Linux/macOS. It also changes permissions to more reasonable values. This fixes the error when saving a file in Photoshop.
The ownership and permissions might be wrong for a TLF itself if it's not initialized yet. But after the TLF is accessed it's correct.

@strib re: invalidation, I need to look closer on the topic to understand this better, but is there a reason we can't use https://godoc.org/bazil.org/fuse#Conn.InvalidateEntry on all directories when we have *Folder available?

@songgao: To use InvalidateEntry you need to know the name of the thing you're reverting, and the libfuse.Dir objects don't keep that around.  You might be able to figure it out from the libkbfs.Node objects if you have direct access to the NodeCache, but right now I don't think that's not easily done from libfuse.

@strib I see; can we instead set expiration to 1 second if *Folder doesn't exist yet?

@strib ready for review again!

I see; can we instead set expiration to 1 second if *Folder doesn't exist yet?

I don't understand what Folders have to do with anything.  For regular directory entries inside the TLF, the Folder will always exist.  And a user logging out or changing their username doesn't affect whether a Folder exists or not.

@strib sorry, not *Folder, the *Dir. I'm referring to this: https://github.com/keybase/kbfs/pull/607/files#diff-274b505919d6e0fff53543ee07eca9a4R137

sorry, not *Folder, the *Dir. I'm referring to this: https://github.com/keybase/kbfs/pull/607/files#diff-274b505919d6e0fff53543ee07eca9a4R137

Gotcha, but this amounts to the same thing -- it is a Dir representing just the top-level directory, and is always present if there are any cached kernel entries within this TLF.  Note there is nothing that unsets that when the user logs out.

@strib hmm.. I see what you are saying. The problem is not when user first accesses the TLF, but when user logs out. Thanks for explanation! Should I create a ticket for it or maybe not worry about it right now?

Should I create a ticket for it or maybe not worry about it right now?

@songgao: please create a ticket so we don't forget, but otherwise let's not work on it right now.

Sounds good! https://keybase.atlassian.net/browse/KBFS-1808


As a ministry user I want the ability to create a student account in the system, so that I can capture information provided by the student, without the student setting up an account

As a ministry user I want the ability to create a student account in the system, so that I can capture information provided by the student, without the student setting up an account
Additional Context

A ministry user will have the ability to create a student account in the system

Acceptance Criteria

[1] Given (The Ministry User ), (Creates an account on behalf of a student ), Then (the following fields are mandatory:
-first name
-last name
-date of birth
-gender
-Social Insurance Number
-All other fields will be optional
[2] Given (A Ministry User, When (enters a date on behalf of a student), Then (the date of birth must be < current date and >1900.01.01 format)
[3] Given (A Ministry User, When (enters a SIN on behalf of a student), Then (the SIN must pass the Luhn algorithm check)
[4] Given (The Ministry User ), (Creates an account on behalf of a student ), Then the Login Credential and Level of Assurance will be Blank

What is a scenario for why a student cant create an account?


SAK-42841 - New recovered assessments tab should have a unique identi…

…fier

The PR is totally fine @jonespm, thank you, however, I don't think showing the IDs to instructors is good from the UX perspective, is something internal and too technical....
I'm going to approve it and let others decide.

Yeah, I'm happy for the core team to talk about it, or for it even to be merged and reverted. I'm kind of against adding properties for things like this though. I was thinking it could just display if there was duplicate titles but that'd be a little more work and then the UI would be inconsistent depending on if there were or were not duplicate titles.

I had the same concern, @mpellicer. On SAK-42841, Tiffany mentions that "other tabs in Tests & Quizzes" refer to it as "Assessment ID". I'm not sure where she is referring to.

Samigo -> User Activity Report has a column for Assessment ID

I agree with Tiffany that they should use the same language to refer to these ids.

Okay I reworked this PR to have the same order as the user activity report and also re-use the text from user activity report.


Allow adding custom class (Extractor / Classifier) to Pipeline from config.json

The issue here
mentions enabling the ability to add any class to the pipeline without having to modify the register.py file. This would be a very useful feature as rasa could be extended without needing to modify the source.
Looking at this line in the master branch:
This does not seem possible.
Content of configuration file (if used & relevant):

This line is only run when you pass in a predefined pipeline, e.g. "pipeline": "spacy_sklearn". If you want to add custom components, you need to specify all the components an array, e.g. "pipeline": ["nlp_spacy", "mycustom.component.MyComponent", "tokenizer_spacy", "intent_entity_featurizer_regex", "intent_featurizer_spacy", "ner_crf", "ner_synonyms",  "intent_classifier_sklearn"]
where mycustom.component.MyComponent would be your component. You can place that anywhere in the pipeline (I mean depends a bit on what you depend and trying to do but in general).

Ah missed they type check here
and following all the methods gets me to
https://github.com/RasaHQ/rasa_nlu/blob/1bf2680cc8903c5c8bb0d9066552719923b74fcf/rasa_nlu/registry.py#L127
Which sounds like it does exactly what I need.
Thanks!
Maybe adding a bit to the docs on this would help.

@tmbo If I just use "pipeline": "ner_crf" or "pipeline": ["nlp_spacy", "ner_crf", "ner_synonyms"]
ner_crf is not recognized as a component? How can I find out that ner_crf is been used? I use the developer version with also still gives this #846

I don't think this is related to this issue, I think the original question has been answered.


failed refund should block saving credit memo

Hi,
situation: I create a credit memo in magento and I choose to make an online refund.
If for some reason the method Adyen_Payment_Model_Adyen_Abstract::sendRefundRequest() receives an empy PSP as argument, credit memo is created successfully, but there is no actual refunds at Adyen. So the user has no feedback about the online refund going wrong. There is just a "oops empty pspReference" message in adyen_notification.log.
IMHO the credit memo should not be saved and the user should get an error.
Thanks!

While I was there I thought it was useful to throw an exception also when capturing and canceling... :)

Hi Ermanno,
For cancellation we can not do this because an adyen payment could not come through by us because of shopper has left the page. Then you want to cancel the order in magento without our psp reference.
For online refund and online creditmemo yes we could throw an exception instead of this legacy error message. I will look into this.
Regards,
Rik
Adyen

We noticed that when the feedback of a refund request was added to the notification queue with success = 0 (false) and message 'Operation failed' and the queue is processed, the order get's a status update, but the creditmemo is still successful.
Can you think of a way to alert the admin user of the fact the creditmemo payment failed?
This typically happens when Adyen did a payment to Merchant and the funds are thus insufficient to do a (large) refund. Part of the solution is to have an deposit on the Merchant account always, but there is no way to check for this.

Hi questionmark78,
When a refund failed the adyen event status will change to refund : false.
In the comment history you can see as well that the refund was not successful and with a reason why.
Is this not enough for you ?
Regards,
Rik
Adyen

The issue is that in the workflow there is no reviewing of the order after the queue is processed. And 99% or more of the refunds are no problem, but is not very visible in a workflow if it is not ok.

Hi questionmark78,
What would it make it visible in your workflow giving it a special order status ?
Regards,
Rik
Adyen

Please let me know if there are some open questions around this issue.
Regards,
Rik
Adyen


Dashify copyright_header.py

Works with updating and report, inserting works but normally results in there being two blocks of the
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.

Updated based on suggestions 👍


add BlockWhitelist validation

(need further test - do not include in Nov tag) @amaltaro, Alan please review

Looks good! How about adding the same check for BlockBlacklist?


Update akka-actor-typed, ... to 2.6.13

Updates

com.typesafe.akka:akka-actor-typed
com.typesafe.akka:akka-cluster-typed

from 2.6.11 to 2.6.13.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.typesafe.akka" } ]

labels: library-update, semver-patch

Superseded by #92.


FLINK-1732 Gaussian Mixture Model for Flink-ml library

According to IMPRO-3.SS15 warm-up task the Gaussian Mixture Model with associated test suite is implemented.

Given following error while executing the test suite by Travis CI.
Even import org.apache.flink.ml.common._ is imported, what may cause this error.
[INFO]                                 ^

[ERROR] /home/travis/build/apache/flink/flink-staging/flink-ml/src/main/scala/org/apache/flink/ml/clustering/GMM.scala:95: error: not found: type Learner

[INFO] class GMM extends Learner[Point,GMModel] {

[INFO]                   ^

[ERROR] /home/travis/build/apache/flink/flink-staging/flink-ml/src/main/scala/org/apache/flink/ml/clustering/GMM.scala:105: error: not found: value parameters

[INFO]     parameters.add(NumIterations, numIterations)

[INFO]     ^

[ERROR] /home/travis/build/apache/flink/flink-staging/flink-ml/src/main/scala/org/apache/flink/ml/clustering/GMM.scala:115: error: not found: value parameters

[INFO]     parameters.add(NumGaussians, numGaussians)

[INFO]     ^

[ERROR] /home/travis/build/apache/flink/flink-staging/flink-ml/src/main/scala/org/apache/flink/ml/clustering/GMM.scala:125: error: not found: value parameters

[INFO]     parameters.add(InitialGaussians,initialGaussians)

[INFO]     ^

[ERROR] /home/travis/build/apache/flink/flink-staging/flink-ml/src/main/scala/org/apache/flink/ml/clustering/GMM.scala:258: error: not found: type Transformer

[INFO] case class GMModel(gmm: DataSet[Gaussian]) extends Transformer[Point, Prediction]

[INFO]                                                    ^

[ERROR] /home/travis/build/apache/flink/flink-staging/flink-ml/src/main/scala/org/apache/flink/ml/clustering/GMM.scala:137: error: value parameters is not a member of org.apache.flink.ml.clustering.GMM

[INFO]     val resultingParameters = this.parameters ++ fitParameters

You should port your implementation to the new Pipeline mechanism. Check out the master. It's been around for almost one month now.

Hello @shakir774 , as @sachingoel0101 mentioned you must rebase your current implementation on the current master as the underlying code for FlinkML has changed considerably. We can review this PR once you have done that.

@thvasilo as we are busy with our next task of IMPRO-3.SS15 for the semester, once we finished with it, I will rebase it according to the new pipeline mechanism.

Closing since flink-ml is effectively frozen.


chore: update screenshots and code example [skip ci]

This change is

@DiegoCardoso once this is merged, I think 2.0.1 can be released.


change ḥāshiyāh to ḥāshiya

This change has to be done in Output

Why is this done only in the output?

Why is this done only in the output?

I have changed in the body of the text so that's not the problem. We want to change it in two instances which could only be done by your good self:

and


update comment to better explain intention of test

Fix https://github.com/theupdateframework/tuf-conformance/issues/132

To be more explicit we could instead verify that client does not have trusted snapshot and check that repo.metadata_statistics[-1] == (Snapshot.type, 1) (the client trying to download the correct snapshot version that our repo does not serve anymore)

I added that in stead of replacing. LMK WYT.
That being said, I believe we should have a client utility that checks that the client only has the specified files.

That being said, I believe we should have a client utility that checks that the client only has the specified files.

I agree: it might make sense to replace _files_exist with a similar API as metadata_statistics() is on repository side: return list of tuples of rolename and version. Then tests could use to

either check for existence of a specific role
or compare the whole list to a list of expected trusted roles


devicetree-based device definitions and dependency representations reboot

This PR resurrects the features of #29644 that were reverted in #31548 with a few changes:

The issue identified in #31546 was isolated to binutils introducing padding between arrays of 16-bit values that appeared in the same x86_64 input section.  Resolved by explicitly marking each handle array object as requiring 2-byte alignment.
The device handle structures were moved after all kernel objects.  This is not necessary now, where we work to ensure the handle arrays don't change size, but could be in the future; see #32129.
The handle value zero is now reserved to identify an invalid or unknown device; see #31541.

Added to dev-review to re-introduce to the community and solicit reviews.

Recent build failures are due to #32344.

As I am curious, I ran the new shell functionality, and got the following:
This seems fully correct. But as a side note, this shows the interest of node labels properties.

Yes, they're useful for diagnostics and shell identification.  However, if we're going to do that, then we should reverse the in-progress course of removing label properties from nodes.  @galak
The label property should still not be marked required, and shell should accept tokens like [0x20000294] as a device identifier (assuming the address resolves to a device object).   The latter is not in scope for this PR.

Recent build failures are still due to #32344.


(Don't merge before test pass) Adds a new tool to annotate targets with target specific properties.

Adds a new tool to annotate targets with target specific properties.
This addresses issues #141 and #142.
The first two annotations supported are

GC_BIAS = Fraction of GC / Total number of sense bases in the target reference sequence.

The user need to provide a reference.

REPEAT_FRACTION = Fraction of base in the target masked as repeated somewhere else in the referece.

The user need to provide a BED file (indexed) with the repeated regions.

Annotations whose dependence is not provided won't be present in the output.
Syntax:
java -jar hellbender-all.jar AnnotateTargets -R my-reference.fasta --repeats my-repeated-regions.bed -T targets.tab -o annotated-targets.tab
The output file will contain additional columns, one for each annotation with the corresponding value per each target in the input.
Other changes:

Fixed an issue with progressMeter not being updated in the FeatureWalker.
Changed TargetColumn enum name to TargetTableColumn.
Added a TargeTableWriter analogous to the TargetTableReader.
Target now has a reference to an annotation collection.
TargetTableReader automatically will read in annotation present in the input target table.

@davidbenjamin please review.
@achevali I think you had an interest in GC bias annotation, correct? Here is the code.

Coverage decreased (-0.4%) to 91.822% when pulling e28c1bc7e4d9c4414a0197cd1431cc5f2636f6c4 on vrr_target_annotations into be189823fa038f7456c60a6f9704c7f75d247e44 on master.

Coverage decreased (-0.4%) to 91.822% when pulling e28c1bc7e4d9c4414a0197cd1431cc5f2636f6c4 on vrr_target_annotations into be189823fa038f7456c60a6f9704c7f75d247e44 on master.

Back to @vruano

back to @davidbenjamin

The last commit should do the trick. Will rebase and merge once tests pass.

Seems that travis is acting up... test work locally and gsa5. So they are mergeable.


IPG not correct

The IPG will usually be a bit larger than specified in the python script. This is because the testbench needs some cycles to process the pcap and once it reaches the state where it actually delays, there are already some cycles wasted. This is problematic if you really use this to set the minimum IPG and end up with some extra cycles.
regards
Philip

I'm doing a major rewrite work (expand_funcionalities branch) that will deal with that. The file content will be loaded into a memory model at time 0. Probably it will be necessary only one clock cycle to read packet metadata, then start the delay.
Thanks.

I'm doing a major rewrite work (expand_funcionalities branch) that will deal with that. The file content will be loaded into a memory model at time 0. Probably it will be necessary only one clock cycle to read packet metadata, then start the delay.
Thanks.


Preload("filepath").new() causes memory leak

Godot version
4.0dev
System information
Windows10
Issue description
WARNING: ObjectDB instances leaked at exit (run with --verbose for details).
     at: ObjectDB::cleanup (core\object\object.cpp:2025)
Leaked instance: GDScriptNativeClass:-9222836574692048447
Leaked instance: Node:960973162676703 - Node name:
Leaked instance: GDScript:-9222420409540934597 - Resource path: res://bar.gd
Leaked instance: Node:1064877011502282 - Node name:
Hint: Leaked instances typically happen when nodes are removed from the scene tree (with `remove_child()`) but not freed (with `free()` or `queue_free()`).
ERROR: Resources still in use at exit (run with --verbose for details).
   at: ResourceCache::clear (core\io\resource.cpp:459)
Resource still in use: res://bar.gd (GDScript)

Steps to reproduce
Create two scripts foo.gd and bar.gd.
Add var f = preload("res://bar.gd").new() anywhere in foo.gd.
Add foo.gd to any object in current (default) scene.
Run project using godot executable from command line.
Close project.
Look at command line.
Minimal reproduction project
preloadproblem.zip

IINM, this is expected behavior.
res://bar.gd extends Node. Nodes are not reference-counted and you have to call free() / queue_free() / add the node to the scene tree for it to be destroyed correctly.

Indeed, a Node won't be freed automatically unless it's added to the scene tree (which is freed when the app is closed, freeing all its child nodes).


Wildcards don't seem to work correctly

In gitsh (version 0.5, without any special git binary) I get the following error:
diff Gemfile*

results in
fatal: ambiguous argument 'Gemfile*': unknown revision or path not in the working tree.
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

However git diff Gemfile* on the shell works correctly
Any ideas?

Another benefit to this: implementing our own globbing would mean we could stop passing shell commands through /bin/sh -c, which in turn would unblock pipelines (#299)

With the new tab completion system we can now generate a context-aware list of possible arguments, which we could use as the basis of custom globbing.
It could work something like this:

User enters a command with a glob pattern in one or more arguments, e.g. show-branch */master my-feature-branch
We see there's a glob in an argument, and ask the tab completion system for possible completions at that point in the command, e.g. pass "show-branch " to the tab completion system, and get back options like ["origin/master", "upstream/master", "--all", "v0.1", …]
We filter the options based on the pattern, e.g. we reduce the options to ["origin/master", "upstream/master"]
We expand the argument to the available options, e.g. our example command becomes show-branch origin/master upstream/master my-feature-branch

Here’s another example where the lack of wildcard expansion has unexpected results:
$ git rm -r --cached */xcuserdata
rm 'CallForSupport.xcodeproj/xcuserdata/adsharp.xcuserdatad/xcschemes/xcschememanagement.plist’

# vs.

$ git rm -r --cached “*/xcuserdata”
fatal: pathspec '*/xcuserdata' did not match any files

In gitsh, because wildcards aren’t expanded, running rm -r --cached */xcuserdata is equivalent to the second invocation, where quoting prevents the shell from expanding the wildcard.

Further observations:

When zsh(1) is unable to successfully expand a glob pattern, it fails with the error zsh: no matches found: */xcuserdat
When bash(1) is unable to successfully expand a glob pattern, it invokes the command with the literal string as an argument, resulting in fatal: pathspec '*/xcuserdat' did not match any files


[Accessibility] Indicate editor save

Type: Feature Request
It would be so nice if screen reader users can be announced when they press CMD+S on Mac or Ctrl+S on Windows is pressed.
Simple alert, such as "Saved" would be so instrumental.
VS Code version: Code - Insiders 1.81.0-insider (Universal) (9800cf6dd6bf4634889d60720ef46a400f3a7298, 2023-07-28T12:09:45.183Z)
OS version: Darwin arm64 22.5.0
Modes:

@jooyoungseo, @tyriar raised the point that we might want a more generic sound which represents "user action succeeded". This could then apply to save, format, a clear of the chat response list, and more. What do you think of this? I was concerned that could be confusing for a sound to indicate many different things, but it might make sense since the user takes the action and thus knows what occurred.

@AFre100 i've never seen it take a large amount of time

I think the expectation for other product and accessibility sounds (e.g. Outlook, Word sounds, punctuation sounds, Emacspeak, JAWS) would be having different sounds for those contexts. They could be quite related with slight variation in contour/gesture, but actions that are conceptually that disparate, would typically have some kind of at least slight variation to highlight disparity of outcome (conceptually, Save = positive/neutral, reformat=neutral, clear, if I understand it right, = something in the negative/reverse/downward/erase-y zone, even if very subtle).
The level of how related or distinct these sounds can get varies from product to product. The expectation surrounding this space could definitely afford multiple use cases and global usage of a given sound for multiple interactions, but usually said interactions would be more related.
What do you all think?

@meganrogge great, I'll add it. Can you please clarify re a few specific examples of Clear Chat Responses? Does that mean clearing Terminal output (?), copilot chat (is that even possible?) -- is that what you had in mind or are there other use cases? thanks!

Hey Amnon, yes - we have a Terminal: clear command and a Clear action for the copilot session.

Hi Amnon, would it be reasonable for you to do this in September?

@meganrogge  Hi Megan, I'll take a look and let you know tomorrow EOD!

@meganrogge Yes, end of September totally doable!

This feature request has not yet received the 20 community upvotes it takes to make to our backlog. 10 days to go. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!


Added Dockerfile

With a Docker image, it's easier to deploy it anywhere without having to install node and everything else.
Additionally, we could also put the "ready" image to DockerHub in the CI process.

Thanks! Feel free to put the image in dockerhub and make me admin. I have never used docker but seems like this is the new hotness :)


<EMAIL_ADDRESS>- Action & Func<T, TResult> delegates samples.

retest this please

I'm closing this PR, as solution needs to be recreated in .NET Framework 4.8 to run successfully here.

It can run as a .NET 5 project. You don't need to recreate it. Jenkins has the latest stable .NET SDK which is .NET 5 currently.


New projects page design

Change design of the main page with all layouts.
Create more attractive and modern UI

done


Fix issues associated with changing opacity dynamically

Hey @keithdmoore I'm noticing the transparency starts > 0 which is not like Tinder. Mind if I make it start at 0?

Okay, I see why you did that (really slow at first). Really I think it just needs a non-linear ramp. I'll do that now.

Ok.  Sounds good.

Okay, I added a cubic-bezier function that starts from 0 and fades up quickly, but then slowly ramps out. Hopefully doesn't add a perf hit with the fn calls...


Feedback: Python2/3 bug

In python3:
>>> from RegscorePy import *
>>> y = [1,2,3,4]
>>> y_pred = [5,6,7,8]
>>> y_sub = [1,2,3,5]
>>> k = 3
>>> p = 2
>>> mallow.mallow(y, y_pred, y_sub, k, p)
0.015625
>>>

However, in python2:
>>> from RegscorePy import *
>>> y = [1,2,3,4]
>>> y_pred = [5,6,7,8]
>>> y_sub = [1,2,3,5]
>>> k = 3
>>> p = 2
>>> mallow.mallow(y, y_pred, y_sub, k, p)
0
>>>

This is because of the different ways python2 and python3 handle integer division. Be sure to cast one of your integers to float() to fix this bug. Also specify in the readme which python version you have tested your package on. On the plus side, your tests failed in the appropriate places when I ran them in python2 so well done :)

In python2, if we run from __future__ import division before the function, we will get the correct division. We will include it in README. Thanks.


getQuerySelector(...)=>(state) expects 2 arguments

getQuerySelector()=>() requires 2 arguments, but I think the second should be made optional.
This is not a syntax error, just a linting issue. Not sure I syntaxed that explanation correctly, so here is an example.
const getStuff = getQuerySelector({ type: types.LOAD_STUFF });

const stuff = getStuff(state);

In the above example, getStuff(state) will produce a linting error saying that the function requires 2 arguments, the second argument is expected to be props, the same stuff that's already been passed to the getQuerySelector call.
Unless I misunderstand the way that the result of getQuerySelector should be used...
:)

You mean that Typescript types should be amended? Indeed 2nd prop should be removed as it is already passed by getQuerySelector
Wondering though where linter complains?
As I created getQuerySelector as convenience to pass to reselect or useSelector in React. If you want to use selector directly, it is easier just to:
const stuff = getQuery(state, { type: types.LOAD_STUFF });

I like to prepare my selectors to use them in various react/redux connectors mainly, so I never use getQuery, I always set up getQuerySelector and use that around my code, for example:
const getObjectRequest = (object_id) => getQuerySelector({type:"OBJECT",requestKey:object_id})

Then I just use that in connect:
const object_request = getObjectRequest(ownProps.object_id);

This way, if I ever change the name of the action or the way the data is stored, I can just change the selector function.
In the above example, the linter complains here:getObjectRequest(ownProps.object_id)
The definition of getQuerySelector in types/index.d.ts seems to contain the second props argument...:
export function getQuerySelector<QueryStateData = any>(props: {
  type: string;
  requestKey?: string;
  multiple?: boolean;
  defaultData?: any;
}): (
  state: any,
  props: {
    type: string;
    requestKey?: string;
    multiple?: boolean;
    defaultData?: any;
  },
) => QueryState<QueryStateData>;

Although I realise now I can just do...
export const getWaypointGroups = (state) => getQuery(state,{type:types.LOAD_GROUPS})

;-)

@zeraien above example was specific reason why getQuerySelector was created, to save people one arrow function :)
I will fix this issue before the next release, which should come within 1 week. Don't be surprised though, it will actually have name change into @redux-requests/core and won't depend on saga anymore. Albeit usage with sagas will still be possible.

Fixed in 0.28.0, thx for reporting this!


Fix the tasks in bkg pool may be called more frequently than expected

What problem does this PR solve?
Issue Number: close https://github.com/pingcap/tiflash/issues/6908
Problem Summary:
When we add a task into BackgroundProcessingPool which always return false, we expect that will be run at a fixed interval. (Almost fixed within small random the BackgroundProcessingPool random part)
However, a task may be popped into multiple threads and they can run the task one by one. That leads to more frequent calls than expected.
We have to add extra logic to avoid the task being unexpectedly called too frequently. That is annoying.

this is a known isssue
https://github.com/pingcap/tiflash/blob/e1418dc066f12983c74a4112932f3fca16c56cb4/dbms/src/Storages/BackgroundProcessingPool.h#L92-L98

extra codes to handle unexpected frequent calls
https://github.com/pingcap/tiflash/blob/e1418dc066f12983c74a4112932f3fca16c56cb4/dbms/src/Storages/Page/V3/Universal/UniversalPageStorageService.cpp#L38-L45
https://github.com/pingcap/tiflash/blob/e1418dc066f12983c74a4112932f3fca16c56cb4/dbms/src/Storages/DeltaMerge/StoragePool.cpp#L146-L156

What is changed and how it works?
Change one member of Task from atomic<bool> occupied into size_t concurrent_executors. concurrent_executors
indicate how many worker threads are holding this task.

If task.multi == false, only when task.concurrent_executor == 0, can the task pop to a worker thread for executing
Changing to task.concurrent_executor is protected under the lock of pool.tasks_mutex

Check List
Tests

[x] Unit test
[ ] Integration test
[x] Manual test (add detailed scripts or steps below)

port these changes to s3gc branch and check the frequency of etcd keepalive and s3gc being called

[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/run-sanitizer-test tsan

https://ci.pingcap.net/blue/organizations/jenkins/tiflash-sanitizer-daily/detail/tiflash-sanitizer-daily/917/pipeline

/run-all-tests

/merge


Customers

[x] Crud
[ ] Preferences
[ ] Sort
[ ] Import contact person
[ ] Import customer more columns required
[ ] Email customer option in listing
[ ] Bulk actions like email to customer,print,bulk update,mark active,mark inactive,merge and associate templates
[ ] Show address in primary language and secondary language in customer detailed window. address creation from customer detailed window keep like address creation in customer creation.
[ ] Graph and filters in item detailed view based on sales and returns.
[ ] 'status Filter' and 'add new' functions in transaction tab in customer detailed view.
[ ]  List customer related sent bills in mails section in customer detailed view with details, date and time.
[ ] Need filter option for outstanding in statement section in customer detailed window. need custom date section in date filter. 'customer statement for' then use display name instead of first and last name. show organisation name and address also set to address name with customer address. send mail function not properly working like zoho books.
[ ] Attach files (maximum size limit to 5 mb, maximum files limit to 10) and also show such limits in attach files screen. attachment delete option not working. need remove option in addition to delete function. need popup for confirmation for remove and delete. store attached files in documents module. download attachment option. show count of attach files.
[ ] Add recurring expense creation in new transaction option.
[ ] Associate templates, email to customer(not properly working), stop all reminders, link to  vendor, merge customer,

view details option not needed for customer creation and update in 'activity log'. only need this function for transactions.

mark inactive function not working. customer still like active.

Attach Files

Download Issue
document module

Bulk Actions

Print
Associate Templates

More Actions

Associate Templates
Send Mail

Statement
-Send Mail

completed


Improve Genshin Impact icon

About this discussion
The Genshin Impact icon looks nothing like the official one. Not much of a problem, just slightly annoying.

@everypizza1 In your opinion, what icon would be recognizable for Genshin Impact other than the characters?

I re-read the guidelines and realized that the official icon is too complex, so the current one is fine.


Custom Web Components Not Working Properly with Media Chrome

I am having a hard time figuring out how to implement the documented custom web components with media chrome. I have tried the HLS and YouTube components, and both result in a cluttered media control bar with no portion of the video window visible. It seems like the video is actually being imported, because the media time display is showing the correct video length on my end, but I cannot see or play the video in any capacity. I am working in React, and the base, mux hosted sample video with the video tag is working as expected.
I initially found media chrome from a live-demo youtube video, and in that video, the same issue I am seeing was encountered. Granted they were doing the demonstration in codesandbox, so I assumed that was likely the problem at that time. As a result, I installed all the necessary dependencies into my local environment to test out media chrome, but I am still seeing the problem. I have linked the video with a timestamp below to showcase the output I am seeing as well:
https://youtu.be/qgyBMa0H2UM?t=5144
I am on the latest version of media chrome and attempted to get the youtube component working with the original component linked in the media chrome docs and with the fork luwes made of the youtube component, which I found in a different github issue. As for the HLS component, I have only tried the component mentioned in the media chrome docs. I took a look at the examples on the media chrome dev page too, and I can't find anything different about what I am doing versus those examples either.
Any advice or code that could be provided for the correct way to implement custom web components with media chrome in React would be greatly appreciated. I am not sure if this is a known issue or if there's something I am missing about how to implement these custom web components.
Thanks!

thanks for the feedback! I believe the issue you, Thuy and Jason were seeing is that the custom media element doesn't have any dimensions. Try adding a display: block; width: 100%; aspect-ratio: 16/9; to the <youtube-video> or <vimeo-video> element. did it fix the issue?

Thanks a lot for pointing that out. I managed to get it working with the youtube component. I am still trying to figure out why the preview thumbnails aren't appearing when I hover over the time range, but I will spend some more time with it and open another issue if I can't get it working.

@CalculusAce the preview thumbnails will be difficult to get working.
you will need a track element like here with a .vtt file pointing to the preview thumbnails
https://github.com/muxinc/media-chrome/blob/main/examples/advanced.html#L42-L47
https://image.mux.com/A3VXy02VoUinw01pwyomEO3bHnG4P32xzV7u1j1FSzjNg/storyboard.vtt

Try adding a display: block; width: 100%; aspect-ratio: 16/9; to the  or  element. did it fix the issue?

@luwes is there anything we can do to make this just work by default? I have a feeling people are going to keep running into this.


Convert dataset to jsonl format and split the dataset to train and test sets

Currently all code snippets reside in different files. Merge all the files into a jsonl file to use it for training TransCoder. Details can be found here: https://github.com/facebookresearch/CodeGen/issues/76

The code snippets for C# and Ruby were extracted from the Project CodeNet dataset. The submissions for a particular problem in a particular language are merged into separate jsonl files, which can be used to train TransCoder.

The dataset is split into train and test sets according to below
Train dataset - 80% of the problems extracted from the total problems available
Test dataset 1 - 30% part of submissions from the problems in train set
Test dataset 2 - 20% of the problems extracted from the total problems available


Translatable validationMessages

I'm submitting a ...
[ ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[x] support request

Current behavior
I'm using a custom wrapper to make labels and descriptions translatable with the ngx translate pipe:

    {{ to.label | translate }} <ng-container *ngIf="to.required && to.hideRequiredMarker !== true">*</ng-container>

  <ng-template #fieldComponent></ng-template>

    <formly-validation-message  [field]="field"></formly-validation-message>

  {{ to.description | translate }}

Is there a way to adapt this solution for validationMessages?
Expected behavior
<formly-validation-message  [field]="field">{{ validationMessage || translate }}</formly-validation-message>

What is the motivation / use case for changing the behavior?
I'm devoloping a multi language web app

Angular version: 7.0.X

for label and description see https://formly-js.github.io/ngx-formly/examples/advanced/i18n,
validationMessage for now your can rely of component ref to get formly-validation-message instance but I think we should find a better way to manage a such case.
 <formly-validation-message [style.display]="'none'" #validationRef  [field]="field"></formly-validation-message>
<ng-container *ngIf="validationRef && validationRef.errorMessage">
  {{ validation.errorMessage || translate }}
</ng-container>

Thank you.
It works! I have to use formly in a pure json format,  I see no way to implement the suggested solution for labels and descriptions, because I can't add functions as values to formly.
Your solution could be useful for sombody else. Here a small correction
{{ validationRef.errorMessage | translate }}


Status Page for our clusters

Summary
There are many cases where our clusters might be down for one reason or another (e.g. upgrades, outages, etc). In those cases, it's helpful if there is a source of truth for "is 2i2c's infrastructure down, or is it just me?". We should have a place to point users to so that they can quickly answer this question.
Important information
The most common service I've seen for this is statuspage.io, which even has a non-profit discount.
Tasks to complete

[ ] Decide what kind of service we'd like to use for a status page
[ ] ...figure out steps to implement this
[ ] Document the new status page in our user and team documentation

Opening this issue so that we can track it, but setting priority to low right now because I don't think it's a critical issue currently

oops - closing since it's a dupe of https://github.com/2i2c-org/pilot-hubs/issues/609


Summary workflow: create barplot

Currently, only 2D plots can be created with our summary workflow setup.
@AsierGonzalez  will provide specs for consolidated_results.json to also accomodate barplot information. We can then update the corresponding scripts. For creating barplots locally/on the VRE we'll also have to adapt assessment_chart.py

closed by #229


Unable to Generate mesh schema from OpenAPI 2.0 with properties of type int64

Issue workflow progress

Progress of the issue based on the
Contributor Workflow

[x] 1. The issue provides a reproduction available on
CodeSandbox

Make sure to fork this template and run yarn generate in the terminal.
Please make sure Mesh package versions under package.json matches yours.

[ ] 2. A failing test has been provided
[ ] 3. A local solution has been provided
[ ] 4. A pull request is pending review

Describe the bug
I am trying to create a mesh server from openAPI specification that has parameters of type int64. The scheme generation fails with the following error:
❯ yarn start
yarn run v1.22.19
$ mesh dev --port 4000
💡 🕸  Mesh - Server Starting GraphQL Mesh...
💡 🕸  Mesh - MyOpenapiApi Generating GraphQL schema from OpenAPI schema
💥 🕸  Mesh - MyOpenapiApi Failed to generate the schema TypeError: Cannot convert value to AST: 1.
    at astFromValue (/Users/akashpandey/work/spikes/mesh-openapi/node_modules/graphql/utilities/astFromValue.js:171:11)
    at /Users/akashpandey/work/spikes/mesh-openapi/node_modules/graphql-compose/src/utils/definitionNode.ts:299:25
    at Array.map (<anonymous>)
    at getArgumentsDefinitionNodes (/Users/akashpandey/work/spikes/mesh-openapi/node_modules/graphql-compose/src/utils/definitionNode.ts:284:6)
    at /Users/akashpandey/work/spikes/mesh-openapi/node_modules/graphql-compose/src/utils/definitionNode.ts:320:20
    at Array.map (<anonymous>)
    at getFieldDefinitionNodes (/Users/akashpandey/work/spikes/mesh-openapi/node_modules/graphql-compose/src/utils/definitionNode.ts:312:6)
    at getObjectTypeDefinitionNode (/Users/akashpandey/work/spikes/mesh-openapi/node_modules/graphql-compose/src/utils/definitionNode.ts:61:13)
    at ObjectTypeComposer.getType (/Users/akashpandey/work/spikes/mesh-openapi/node_modules/graphql-compose/src/ObjectTypeComposer.ts:991:57)
    at SchemaComposer.buildSchema (/Users/akashpandey/work/spikes/mesh-openapi/node_modules/graphql-compose/src/SchemaComposer.ts:198:24)
💥 🕸  Mesh - Server Error: Schemas couldn't be generated successfully. Check for the logs by running Mesh with DEBUG=1 environmental variable to get more verbose output.
    at getMesh (/Users/akashpandey/work/spikes/mesh-openapi/node_modules/@graphql-mesh/runtime/cjs/get-mesh.js:167:15)
error Command failed with exit code 1.

To Reproduce Steps to reproduce the behavior:

Go to CodeSandbox
run mesh dev

Expected behavior

The GraphQL schema should be generated
The Mesh server should start

Environment:

OS: Mac
@graphql-mesh/...: "@graphql-mesh/openapi": "^0.35.20",
NodeJS: v16.15.1

Additional context

This used to work fine with "@graphql-mesh/openapi": "^0.31.2"

Fixed in the latest release!
https://github.com/Urigo/graphql-mesh/pull/5216

Any documentation I could use for this change?

Nothing needs to be changed. You just need to update the versions :)

This is still not working for me. I am getting the same error.
The mesh dev commands prints an error in the log and mesh build fails.

@dlpx-akashpandey can you open a new issue with a reproduction with the latest version?


config/v1: New Release type for ClusterVersionStatus

This commit adds the ability to store release metadata, for example the list of channels that a release is in:
$ curl -sH 'Accept:application/json' 'https://api.openshift.com/api/upgrades_info/v1/graph?channel=stable-4.2' | jq -r '.nodes[] | select(.version == "4.2.4").metadata["io.openshift.upgrades.graph.release.channels"] | split(",")[]'
candidate-4.2
fast-4.2
stable-4.2

That will allow the console and other downstream tooling to expose a list of channels available to a given cluster right now, instead of hard-coding an expected list.  This will account for things like phased releases, where we may not recommend an upgrade for your particular stable-4.2 cluster even though we are recommending the upgrade for other stable-4.2 clusters.
Pivoting around this retyping in Go will require consumer bumps, but I don't think it's a breaking change because the only YAML removal is force, which is meaningless in AvailableUpdates.  So I don't think this needs to count as a backwards-compat-breaking schema bump.
Some previous discussion in openshift/cincinnati#171.

needs an enhancement.

needs an enhancement.

Filed openshift/enhancements#123

Pushed c8bff825 -> e4687177 to move ClusterVersionStatus.Desired over too, as laid out in the enhancement proposal.

/hold
for enhancement discussion

Rebased onto master and updated to pull in the Release type from openshift/enhancements@9e9e0f511939f1e3 with e4687177 -> ae275214.

Enhancement landed.  Will reroll shortly.

Updated to match the landed openshift/enhancements#123 with ae275214 -> d5c40969.

/hold cancel
Held for the enhancement, which has landed.

/hold
Until the text is updated

/lgtm