"Unable to issue redirect for OAuth 2.0 transaction" server error after upgrade to 2.0.0

By submitting an Issue to this repository, you agree to the terms within the Auth0 Code of Conduct.
Describe the problem
After upgrading auth0-react from 1.12.0 to 2.0.0 and following the migration guide, I cannot log into my application anymore.
After logging in, I get the following error

server_error: Unable to issue redirect for OAuth 2.0 transaction

What was the expected behavior?
It redirects me back from the Auth0 login page to my application
Reproduction

I upgraded my auth0-react version from 1.12.0 to 2.0.0
I only changed the definition of my Auth0Provider from

// Following this guide
// https://auth0.com/blog/complete-guide-to-react-user-authentication/#Set-Up-the-Auth0-React-SDK

import React from "react";
import { useNavigate } from "react-router-dom";
import { Auth0Provider } from "@auth0/auth0-react";

function Auth0ProviderWithHistory({ children }) {
  const domain = process.env.REACT_APP_AUTH0_DOMAIN as string;
  const clientId = process.env.REACT_APP_AUTH0_CLIENT_ID as string;
  const audience = process.env.REACT_APP_AUTH0_AUDIENCE as string;

  const navigate = useNavigate();

  const onRedirectCallback = (appState) => {
    navigate(appState?.returnTo || window.location.pathname);
  };

  return (
    <Auth0Provider
      domain={domain}
      clientId={clientId}
      audience={audience}
      redirectUri={window.location.origin}
      onRedirectCallback={onRedirectCallback}
    >
      {children}
    </Auth0Provider>
  );
}

export default Auth0ProviderWithHistory;

To
// Following this guide
// https://auth0.com/blog/complete-guide-to-react-user-authentication/#Set-Up-the-Auth0-React-SDK

import React from "react";
import { useNavigate } from "react-router-dom";
import { Auth0Provider } from "@auth0/auth0-react";

function Auth0ProviderWithHistory({ children }) {
  const domain = process.env.REACT_APP_AUTH0_DOMAIN as string;
  const clientId = process.env.REACT_APP_AUTH0_CLIENT_ID as string;
  const audience = process.env.REACT_APP_AUTH0_AUDIENCE as string;

  const navigate = useNavigate();

  const onRedirectCallback = (appState) => {
    navigate(appState?.returnTo || window.location.pathname);
  };

  return (
    <Auth0Provider
      domain={domain}
      clientId={clientId}
      authorizationParams={{
        audience,
        redirect_uri: window.location.origin,
      }}
      onRedirectCallback = {onRedirectCallback}
    >
      {children}
    </Auth0Provider>
  );
}

export default Auth0ProviderWithHistory;

Environment

Please provide the following:

Version of auth0-react used: 2.0.0
Which browsers have you tested in? Chrome
Which framework are you using, if applicable (Angular, React, etc): React
Other modules/plugins/libraries that might be involved:

Hey @HaGuesto, this error usually happens due to no redirect_uri being sent I believe, however your code looks correct to me.
Maybe check your logs in the management UI to see if you can verify it's being sent correctly? We've had one issue around the update not being installed as expected so potentially also try removing node_modules and re-installing to make sure the correct dependency is installed?

Removing node_modules and re-installing worked for me. Thank you for the quick reply!

Great to hear! I'll close this issue out


Fix the Dad joke command

possible site to use: https://icanhazdadjoke.com/api

Great PowerShell command suggested by Hugo
(Invoke-WebRequest -Headers @{"Accept" = "text/plain"} -Uri https://icanhazdadjoke.com/).Content


Maintainers

@asmeurer are you still interested in being a maintainer?

Sure, though it would be good also to have one of the maintainers of the library itself if possible.


chore(ags): change url to main repository

Why change it, the readme is empty

Closing instead of #49


Callback to notify app on parsing completion

It takes a while to parse SCSS and apply them to the app, the app could launch meanwhile and then abruptly get new styles from the parser. Can you implement some event or a callback to let the app know when SCSS files are parsed?

This would need to be implemented in meteor tool first. So open an issue there.


doom-projectile-fd-binary should change when using tramp

What did you expect to happen?
I have a server running Debian. I tried to use (+ivy/projectile-find-file) on a remote directory opened via tramp.  It should have opened the find-file frame.
What actually happened?
I got the following error:
counsel--call: fd --color=never -E .git --type file --type symlink --follow failed: 1

Additional details:

I'm using emacs locally on MacOs.
I have fd installed on MacOs.

It is located in /usr/local/bin/fd

My remote server uses Debian.
I have fd installed on Debian.

It is located in /usr/bin/fdfind.
I installed it via sudo apt install fd-find .

I'm using sshx for my remote connection.

When using (+ivy/projectile-find-file) on a remote server it tries to use the binary set in the variable doom-projectile-fd-binary inside core/core-projects.el.  This uses
(cl-find-if #'executable-find '("fdfind" "fd")`

for finding the proper name for fd.
Changing the value of that variable with
(setq doom-projectile-fd-binary "fdfind")

enables +ivy/projectile-find-file remotely, but disables it locally.
Steps to reproduce:

Install fd-find on a remote server with Debian
Open doom-emacs in MacOs
In doom-emacs open a project located in the remote server with tramp using sshx.
Run (+ivy/projectile-find-file)

System information:

((emacs
  (version . "27.0.91")
  (features . "RSVG IMAGEMAGICK GLIB NOTIFY KQUEUE ACL GNUTLS LIBXML2 ZLIB TOOLKIT_SCROLL_BARS NS MODULES THREADS XWIDGETS PDUMPER LCMS2 GMP")
  (build . "Jun 19, 2020")
  (buildopts "--disable-dependency-tracking --disable-silent-rules --enable-locallisppath=/usr/local/share/emacs/site-lisp<EMAIL_ADDRESS><EMAIL_ADDRESS>--with-xml2 --with-gnutls --without-dbus --with-imagemagick --with-modules --with-rsvg --with-xwidgets --with-ns --disable-ns-self-contained")
  (windowsys . batch)
  (daemonp . server-running))
 (doom
  (version . "2.0.9")
  (build . "grafted, HEAD -> develop, origin/develop, origin/HEAD fdbfae3 2020-06-19 13:34:36 -0400")
  (dir . "~/.doom.d/"))
 (system
  (type . darwin)
  (config . "x86_64-apple-darwin19.5.0")
  (shell . "/bin/zsh")
  (uname . "Darwin 19.5.0 Darwin Kernel Version 19.5.0: Wed Jun  3 17:39:27 PDT 2020; root:xnu-6153.121.2~7/RELEASE_X86_64 x86_64")
  (path "/usr/local/bin" "/usr/bin" "/bin" "/usr/sbin" "/sbin" "/usr/local/Cellar/emacs-plus@27/27.0.91/libexec/emacs/27.0.91/x86_64-apple-darwin19.5.0"))
 (config
  (envfile . envvar-file)
  (elc-files . 0)
  (modules :completion company (ivy +icons) :ui deft doom doom-dashboard doom-quit hl-todo modeline ophints (popup +defaults) treemacs vc-gutter vi-tilde-fringe workspaces :editor file-templates fold multiple-cursors snippets :emacs dired electric undo vc :term vterm :checkers syntax :tools (eval +overlay) lookup lsp magit pdf :lang emacs-lisp markdown (org +pomodoro +roam +journal +org-init-protocol-lazy-loader-h) (php +lsp) (python +lsp) sh (web +lsp) :config (default +bindings +smartparens))
  (packages (org-download) (lorem-ipsum))
  (unpin "n/a")
  (elpa "n/a")))

As of d034bc2 this should be resolved. Let me know if that isn't the case and I'll reopen the issue. Thanks for bringing it to my attention.

@hlissner
Similar issue but not the same; if I tramp into a server without fd installed and run +ivy/projectile-find-file, I get /bin/sh: 196: fd: not found.  It's a work server so I can't install fd on it.    Unsure if this is a bug..


[stable/locust]: Updates configmap for locustfile and lib to not be wrapped in explictstring "example"

Description
Updates configmap for locustfile and lib to not be wrapped in explictstring "example"
Checklist

[x] Title of the PR starts with chart name (e.g. [stable/mychartname])
[x] I have read the contribution instructions, bumped chart version and regenerated the docs
[ ] Github actions are passing

Hey @max-rocket-internet I hope you are not getting sick of me yet. :laughing:
I made this one because I have been using helmfile and made my own locustfile ConfigMap I deployed from a local chart in the same repo. But I always had to roll the locust pods in order for them to get pick up for the locustfile change. Which was annoying. Then I tried to add the checksum annotation, and after re-reading the helm chart, I realized, that only works for the same helm deployment. You can't do that natively in kubernetes without something like reloader.
The current helm chart locustfile (and lib) CM's only will deploy if they are the default "example". I hope it's ok we just default it to that in the values.yaml and still deploy the same CM if someone overrides those values.
I believe the README.md explicitly calls out you have to create your own CM. If you would prefer I update the README.md to reflect these changes. I am happy to add that. Thoughts?


XLA: build failed on 32bits platform

System information

OS Platform and Distribution: Linux
TensorFlow installed from (source or binary): build tensorflow on arm cortex-a15
TensorFlow version: 1.13.1
Bazel version (if compiling from source): binary, 0.19.2
GCC/Compiler version (if compiling from source):  binary, gcc 5.3

Describe the problem
Build failed at tensorflow/compiler/xla/service/llvm_ir/llvm_util.cc:378
378                 b->CreateIntToPtr(b->getInt64(absl::bit_cast<int64>(&LogS64)),
379                                   log_function_type->getPointerTo()),

Looks like XLA doesn't support 32bits platform?
Any other info / logs
external/com_google_absl/absl/base/casts.h:179:3: error: static assertion failed: Source and destination types should have equal sizes.
tensorflow/compiler/xla/service/llvm_ir/llvm_util.cc:378:76:   required from here
...
In instantiation of 'Dest absl::bit_cast(const Source&) [with Dest = long long int; Source = const char*; typename std::enable_if<(! absl::internal_casts::is_bitcastable<Dest, Source>::value), int>::type <anonymous> = 0]':

Note: related code snippet (tensorflow/compiler/xla/service/llvm_ir/llvm_util.cc:378)

374 void EmitLogging(const char* tag, llvm::Value* value, llvm::IRBuilder<>* b) {
375   llvm::FunctionType* log_function_type = llvm::FunctionType::get(
376       b->getVoidTy(), {b->getInt64Ty(), b->getInt64Ty()}, /*isVarArg=*/false);
377   b->CreateCall(log_function_type,
378                 b->CreateIntToPtr(b->getInt64(absl::bit_cast<int64>(&LogS64)),
379                                   log_function_type->getPointerTo()),
380                 {b->getInt64(absl::bit_cast<int64>(tag)), value});
381 }

@cee1, Request you to go through this link for XLA support platforms. Thanks !

@cee1, Request you to go through this link for XLA support platforms. Thanks !

Thanks for the reply.
Some questions:
a) For AOT, tfcompile is needed, it can be built from tensorflow source code, right?
b) AOT requires "XLA option" enabled during "./configure"?  If yes, the problem still exists (unable to compile due to assertion failure)

@jlebar

TensorFlow installed from (source or binary): build tensorflow on arm cortex-a15

Building TF on ARM is not supported (meaning, "good luck").  However, targeting ARM using tfcompile from an x86 host is supported, and I agree this code is broken even in that case.  We don't specify whether we support 32-bit ARM, but it would strike me as pretty odd if we only could target 64-bit ARM.
I am a bit confused, though, because EmitLogging does not appear to be called from anywhere?
In any case, would you be willing to send a patch?  We don't readily have capability to test this platform.

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


Surface Dock Firmware Update log

Why do the four characters "/l*v" appear under LOCATION in Table 1? Are they part of a location?
Why do I have no SurfaceDockFWI.log anywhere on my Surface after updating the dock firmware?

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

ID: 2a7b356e-3dbd-7f59-845e-a92e05865a52
Version Independent ID: 711c5497-373f-662c-7fae-ba60f046e50c
Content: Microsoft Surface Dock Firmware Update
Content Source: devices/surface/surface-dock-firmware-update.md
Product: w10
Technology: windows
GitHub Login: @Dansimp
Microsoft Alias: dansimp

The "/l*v" [plus a path] should be appended to the msiexec command to create a log file, it's not created by default. I have already logged a doc bug for this.

There are additional Event ID values not listed in Table 2 of this article. Some of them include:
2007: Firmware update finished
2008: BEGIN dock telemetry
2011: END dock telemetry.
Although the description for the events (in the Event Viewer for Level: Information, Source: SurfaceDockFwUpdate) begins with "cannot be found", the interpretation is provided at the end of the General tab text.

Although there are no Event error messages, and Event 2007 says that the Firmware update finished. hr=0, the registry does not indicate the update is complete. This is after several power cycles and two days. I am using a Surface 6 with Windows 10 Pro v1903. The registry entry for Component10CurrentFwVersion is correct (and matches that of Component10OfferFwVersion). However, the registry entry for Component20CurrentFwVersion is incorrect: 0x0499a170, not matching the (correct) Component20OfferFwVersion of 0x04a1d570 per the table in this article. It seems to have stalled without actually making the update (or at least updating the registry). Any advice?

Hello, @BR77BE It is to our understanding that the PR #5093 addresses this issue. The PR has been created in response to same feedback provided by @ceaton001.
Additional feedback provided by @gchirlin is under investigation and content updates will provided as necessary.
Thank you all for providing valuable feedback and engaging with the community. Much appreciated.

There are additional error codes missing (beyond those identified above)
2006: Failed to send offer/payload pairs

@gchirlin had the same exact issue as I had. According to the setupapi.dev.log file, the firmware updated successfully. I also show Event ID 2007 in Event Viewer. However, the registry shows Component20CurrentFWVersion is 0x04915a70 (76634736) and not the same as the OfferFwVersion, which is 0x04a1d570. For what it's worth, my Component10CurrentFwVersion is correct & the same as the OfferFwVersion as well. So exactly as @gchirlin described. I am using a Surface Laptop 1.

@gchirlin had the same exact issue as I had. According to the setupapi.dev.log file, the firmware updated successfully. I also show Event ID 2007 in Event Viewer. However, the registry shows Component20CurrentFWVersion is 0x04915a70 (76634736) and not the same as the OfferFwVersion, which is 0x04a1d570. For what it's worth, my Component10CurrentFwVersion is correct & the same as the OfferFwVersion as well. So exactly as @gchirlin described. I am using a Surface Laptop 1.

Same on Surface Book 1

@gchirlin @Justin-DynamicD The missing error codes that you have mentioned are now part of the documentation.


🔧 Acorn v3 (Laravel 9.x), drop PHP 7.4 support

These changes are required to upgrade to Acorn v3
TODOs

[ ] Acorn v3 stable release
[ ] Upgrade docs (https://github.com/roots/docs/issues/433)
[ ] bud.sage.setAcornVersion('v3')

Ref https://github.com/roots/acorn/releases
Ref https://bud.js.org/releases/6.6.0/#rootssage

Any update for this ? Some dependencies (like php-ffmpeg) seems to not be compatible with roots/acorn v2 :
Fatal error: Declaration of Illuminate\Container\Container::has($id) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool in /app/vendor/illuminate/container/Container.php on line 194

Upgrading to roots/acorn v3 seems to resolve this issue, but we can't show any view for the moment...

Upgrading to roots/acorn v3 seems to resolve this issue, but we can't show any view for the moment..

What update are you looking for? This PR demonstrates how to correctly upgrade to Acorn v3 and doesn't contain the error that you're describing. It's not going to be merged until Acorn v3 has a stable release.

After upgrading, I got this error too : Target class [sage.view] does not exist.

After upgrading, I got this error too : Target class [sage.view] does not exist.

Double check your ThemeServiceProvider making sure it extends SageServiceProvider and has parent:: calls to register() and boot() if they are present. You can reference my latest commit.


Provide command line configuration options

These could include --test and --aws for integration with other services we are currently using that are using hard coded in environment variables.

once we get the AWS integration it will be trivial to add the --aws command


Redis deployment remains in "Provisioning" even after deployed

My redis cache doesn't seem to want to deploy through osba 1.5.0 anymore. It seems to get stuck in the "Provisioning" state, even though the redis cache has been created and transitioned to "running" in Azure. There's not many logs, bug I did see this in the osba logs:
time="2019-04-18T01:52:58Z" level=error msg="error executing job; not submitting any follow-up tasks" error="error executing provisioning step \"deployARMTemplate\" for instance \"66014c34-6176-11e9-a1ac-ea831bbae743\": error executing provisioning step: error deploying ARM template: error deploying \"d8dece67-d004-4883-a1d3-2194dcec8777\" in resource group \"my-test-rg\": error while waiting for deployment to complete: Future#WaitForCompletion: context has been cancelled: StatusCode=200 -- Original Error: context deadline exceeded" job=executeProvisioningStep taskID=22ebad5d-54e0-4a46-9522-7c813cd643a9

I've been trying again, but have waited over an hour for a couple deployments to transition out of provisioning (even though their Azure resources have transitioned to running), and they aren't changing and there are no new logs. I tried to deploy another resource type, and it works just fine.

Azure Go SDK has a timeout on waiting for ARM template. The resource could be ready at the last meanwhile the ARM deployment already hits timeout... It is a known issue due to that new Redis Cache instance costs long time to be ready and sometimes even longer.

Is there a workaround for this? It used to work (late last year).

The lifecycle test for this service can pass with big chance. I suppose it is transient or maybe Azure location / tier related. Here is the lifecycle cases FYI: https://github.com/Azure/open-service-broker-azure/blob/master/tests/lifecycle/rediscache_cases_test.go#L18-L87

I haven't had it work in westus2 for at least the last couple of days, though I haven't tried it before that in a few weeks. Interestingly, the second time I tried today the actual redis cache resource allocated in Azure pretty quickly, but osba still didn't pick it up.

Please also watch the provisioning state of the new Redis instance. You can also take a look at the "deployments" of the resource group. That's what Azure Go SDK waits for.

Is there some workaround for this? Trying it again today the same behavior is happening. The Redis cache eventually enters a Running state, but it just sits in Pending even afterwards, eventually transitioning to "OrphanMitigation". The deployment took almost 50 minutes, but did eventually complete - osba just isn't ever picking that completion up.

That's expected for OSBA. The max polling duration for an ARM deployment is set 45 mins: https://github.com/Azure/open-service-broker-azure/blob/master/pkg/boot/modules.go#L69. Does the creation performance of Azure Redis Cache get worse?

It was over 50 minutes last time I tried it in westus2. It seems to vary quite a bit, but is consistently taking too long for OSBA to pick up the successful deployment once it does finish.

That's not possible because a failure was already returned to Service Catalog. There is no "pick up" in the Open Service Broker Spec for service instances failed in polling. So Service Catalog doesn't do "pick up", then OSBA who is driven by Service Catalog doesn't do that, either.

Sorry, I'm not completely familiar with the internals of how it works. Is there no way to fix this or work around it then? It seems like I can't rely on OSBA for this?

We can just prolong max polling duration to solve it for now if we can confirm this is expected for Azure Redis Cache. What about submitting a support ticket in Portal to ask for it? Some services do have worse creation performance in some regions.


Cors

Closes #52

Current coverage is 42.43% (diff: 100%)

Merging #58 into master will not change coverage

@@             master        #58   diff @@
==========================================
  Files            15         15
  Lines          1051       1051
  Methods           0          0
  Messages          0          0
  Branches        116        116
==========================================
  Hits            446        446
  Misses          553        553
  Partials         52         52

Powered by Codecov. Last update 8d624da...32df515


Updated status for components on Storefront

resolves #547

The Link component is confused by the Button Link, we don't have a React Link component yet... But it should be easy to create so I can do it first thing tomorrow. I also need to update Breadcrumbs after Link is complete.

& The Link component is confused by the Button Link, we don't have a React Link component yet... But it should be easy to create so I can do it first thing tomorrow. TTYL I'm going to play some BOTW now 😆

No, but we have <Typography link>Link me!</Typography> which is basically the Link I think we agreed on some meeting that the Typography component would replace the Link component for now..


fixed logical errors

Functionality:
fixed errors in login
Solution:
made some changes in header and login handler
Risk level:

[ ] high
[x] medium
[ ] low

How to test:
open localHost and try logging in from emulator
<-- please tell us how to test functionality/bug -->

This PR is not required anymore since the logic Improvement fixes are given at #423


Remove duplicate reductions section in scheduling chapter

Reductions are covered earlier in the chapter, it seems this section got duplicated somehow. I've moved the commented-out parts about reduction internals to the earlier reduction changes to keep the context around.

Thanks.


Prevent replacing defaultDate with empty value

When 'multiple' mode is used, the dates specified by defaultDate are currently being replaced in this line:
$: if (fp && ready) {
  fp.setDate(value, false, dateFormat);
}

This fix allows setDate to be called only if the user actually specified a value.
Tested with options:
const options = {
  noCalendar: false,
  enableTime: true,
  inline: true,
  defaultDate: ["2016-10-20", "2016-11-04"],
  mode: 'multiple'
}

Any news?

Sorry for the long delay on this. The reason why I didn't want to merge this as-is is because I want to support explicitly clearing by setting the value. Now that we accept both null and undefined, we can do this by distinguishing between the two and only clear the datepicker if value is null, but do nothing if undefined.
Should be fixed now in 3.3.1.


Polyfill not working

The link in the documentation leads to a 404
https://unpkg.com/intersection-observer
Any clou what is going on at unpkg? Much appreciated.

Not sure, but the direct version link works still<EMAIL_ADDRESS>I'll update in the docs + source


Android: Export: Godot Blue Background apear on exported apk.

Tested versions
Godot 4.3, 4.4+
System information
Android 14 - Compatibility Renderer
Issue description
In first splash screen (screen that apear before main splash screen) background color is blue. expecting it black or any way to customize the color. Sometimes it doesn't match with game theme
Video:
https://github.com/user-attachments/assets/44f0d2bf-fc64-4d36-89b1-f1345c21df88
Screenshot:

Steps to reproduce
Exported game to apk
Minimal reproduction project (MRP)
Example App: https://play.google.com/store/apps/details?id=com.mw_games.play2race

Please upload a project file, an exported project doesn't work as an MRP as it cannot be investigated or tested properly

The background for the Android native boot splash is the same as the Adaptive Icon background by default, which uses Godot's default icon background. To customize this, set the Adaptive Icon Background in the export settings to a PNG with a solid color of your choice.

Marking this as something to look into documenting, thank you for clarifying!

The background for the Android native boot splash is the same as the Adaptive Icon background, which is Godot's icon background by default. To customize this, set the Adaptive Icon Background in the export settings to a PNG with a solid color of your choice.

Yes, you are right. It fix the problem.  Few more things, when I give launcher_icons/adaptive_foreground_432x432 it changes the application icon and ignore the Main Icon. I want to make my icon apear like godot apk.
example:

A solid color and the main icon top of the bg

Few more things, when I give launcher_icons/adaptive_foreground_432x432 it changes the application icon and ignore the Main Icon

It is intentional. Fallback chain for Adaptive Icon Foreground Provided foreground icon -> Provided main icon -> Project icon -> Default Godot foreground icon.
See https://docs.godotengine.org/en/latest/tutorials/export/exporting_for_android.html#providing-launcher-icons
@llama-nl Keep this issue open, as we need to document that the Android native splash background and icon are the same as the Adaptive background and icon.


Add schema of table to table aliases

This commit aims to fix an issue where users with privilges on a schema,
for example 'abc', but not on 'doc', would not be able to use an alias
on a table within 'abc'. This is because the schema would be given the
schema of 'doc', rather than the schema of the table it was created
from, and would fail when privileges were checked.

@chaudum Thanks for the review! @seut pointed out to me that this will fail for aliases created via subselects, etc. I'll add some more test cases and handle them accordingly. :slightly_smiling_face:


django-summernote SummernoteInplaceWidget configuration question

Hello,
I've recently spent quite a bit of time reviewing django-summernote and it's capabilities.  From my testing, I've come to the conclusion that using the SummernoteInPlaceWidget and trying to also do images requires that you have to write your own backend for the images, is this accurate?  With the SummernoteWidget, this is not required, and works just fine as a default, but the SummernoteInPlaceWidget does not provide this functionality.  Please confirm my findings.  Thank you!
I have tried using the boostrap libraries for my SummernoteInplaceWidget configuration...
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/css/bootstrap.min.css">
    <script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.11.0/umd/popper.min.js"></script>
    <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta/js/bootstrap.min.js"></script>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.9/summernote-bs4.css" rel="stylesheet">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.9/summernote-bs4.js"></script>

I also tried to use the Summernote-lite libraries for my installation....( I'm not using bootstrap in my project at all and would prefer this route )
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js"></script>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.9/summernote-lite.css" rel="stylesheet">
    <script src="https://cdnjs.cloudflare.com/ajax/libs/summernote/0.8.9/summernote-lite.js"></script>

In both cases, when I drag and drop an image on the editor, I receive the following error in my console...

I'm just trying to make sure I understand what is required in order for the SummernoteInplaceWidget to be able to accept images in the same way the SummernoteWidget does.
Thank you for this project and all that you do to support it!

It looks like you may omit {{ form.media }}.
django-summernote needs https://github.com/summernote/django-summernote/blob/master/django_summernote/settings.py#L128-L132 as base libraries.
If you don't want to use {{ form.media }}, please loads base libraries manually.


Why I can't debug scripts in browser when I use handlebar-loader and webpack-dev-server hot mode

The problem upsetting me for a long time:  If I don't use the handlerbar-loader, the dev server run perfect, I can also debug script in browser, and get the auto-refresh for writting styles,scripts.
But when I used handler-loader for my html, the page auto-refresh worked as usual, but any debugger didn't work which in my script or the breaking point in browser's develop tool .
All the debugger jumps to a no-conflict.js, I can't get any information, Obviously, I can't debug my script code neither.
webpack.config like this:

and all the debugger will jumps to here:

What do you have set as your devtool property on your config. It looks like it is related to sourcemaps, but not 100% sure. In fact, could you provide your entire config?

@TheLarkInn  thanks for your answering, my config like this:
var webpack = require('webpack');
var webpackDevServer = require('webpack-dev-server');
var ExtractTextPlugin = require("extract-text-webpack-plugin");
var path = require('path');
var log = function(s) {
    console.log(s + '\n+------------------------------------+')
}

var ENV = process.env.NODE_ENV;
var port = '10101';

var config = {
    vendor: path.resolve(__dirname + '/script/common/common.js'),
    entry: {
        app: './script/app',
        server: 'webpack-dev-server/client?http://localhost:' + port + '/'
    },
    output: {
        sourceMap: true,
        path: path.join(__dirname, '/wds'),
        filename: '[name].bundle.js',
        publicPath: '/wds/'
    },
    module: {
        loaders: [
            {
                test: /\.js$/,
                exclude: /node_modules/,
                loader: 'babel-loader'
            }, {
                test: /\.css$/,
                loader: ExtractTextPlugin.extract("style-loader", "css-loader")
            }, {
                test: /\.less$/,
                loader: ExtractTextPlugin.extract("style-loader", "css-loader!less-loader")
            },
            {
                test: /\.html$/,
                loader: "handlebars-loader?helperDirs[]=" + __dirname + "/script/helpers"
            }
        ]
    },
    plugins: [
        new ExtractTextPlugin('[name].bundle.css'),
        new webpack.optimize.CommonsChunkPlugin({
            name: "vendor", filename: "vendor.js",
            // minChunks: Infinity,
        })
    ],
    resolve: {
        extensions: ['', '.js']
    },
    node: {
        process: true
    }
}

var compiler = webpack(config);
var server = new webpackDevServer(compiler, {
    // hot: true, //打开这个就不自动刷新
    publicPath: '/wds/', //hot模式资源打包的虚拟地址
});
server.listen(port);

module.exports = config;


Update Readme + Wiki

A lot of things improved and changed. It's about time to update the readme and the wiki.
There should be an AI for that... ;)

I'm just starting to use Entitas now and the pools/contexts name change had my head hurting :).

🤕
Almost forgot about that... I already started working on new features. I'll try to force myself to resists adding new features now and update the docs first

Also starting out with Entitas and evaluating if it might make sense to use it for future projects. Watched the Unite presentations, read through the docs, and started with the examples. Seems not all of them are using the latest version and I feel really confused. Would be super awesome if you could explain the basic concepts. What is a context, what is a feature? At least some code documentation would help. Also how does Entitas integrate with other Unity features. Right now I have no clue how to use NavMeshes, Physics or Networking. Some examples would be really helpful. Entitas seems to be such a great framework and I'm sure with better documentation more people would use in their projects!

Really looking forward to this update as well. Been keeping watch on Entitas until the big refactoring was done before I converted my current project but it's still pretty impossible to actually switch while all of the wiki/examples/everything are still targeted at out of date stuff!

@AndreGroeschel  MatchOne is up to date if you want to see how things have changed. Basically Contexts == Pools but with some extra type-safety which allow you to have multiple separate pools. "Features" just seems to be a folder name for mental organisation, not part of Entitas itself. MatchOne has better folder organisation than the Shmup example imo.
For integrating with unity systems, take a look at the Shmup example. Search for files with "collision" in the name and you'll get the CollisionEmiter, CollisionComponent, and ProcessCollisionSystem. The "emitter" is a monobehaviour that implements OnCollisionEnter(). It grabs the entity which is associated with that particular GO (via EntityLink) and adds a CollisionComponent to it. ProcessCollisionSystem is a reactive system and a cleanup system, it processes the collision components then removes them on cleanup. Be warned: Reactive Systems no longer implement IReactiveSystem but now inherit from ReactiveSystem (see MatchOne). The schmup example is using an older version.

@FNGgames thanks a lot! Makes much more sense now and I know where to look. Regarding the EntityLink... I saw in the latest release that something changed there and the Shmup example is outdated. Is there any up to date example that shows how to link gameobjects and entities?

@AndreGroeschel Match-One is fully up to date and is currently the best reference to get started.
Checkout the AddViewSystem to see how EntityLink works

Help Simon #333


Add documentation for freezer to knative docs

Places that need updating:

[ ] Feature flags docs
[ ] Autoscaling docs

cc @psschwei , finished, we can close this


tunnel

hello
thanks a lot for your work.
sir i'm in iran and in iran have no internet, we need to use tunnel and 1 server in iran and 1 server out of country, how can i connect this 2 server and make a tunnel ?
thanks

That kind of setup is not supported natively by this installer.
However, take a look at previous discussion with other Iranian users: https://github.com/Nyr/openvpn-install/issues/983 https://github.com/Nyr/openvpn-install/issues/984
Setting up OpenVPN to a server inside Iran, and then using a V2Ray proxy to reach the foreign internet while connected to the VPN could be a reasonable approach based on what other people are telling me. Other than that, until someone in Iran is able to let us know what specifically works and what does not, I am unable to provide more specific advice.
There are other approaches which will potentially work and are better from a technical standpoint, but I am trying to keep things simple here.
Good luck.


Reformatting, commenting and cleaning

Review it

I used pylint, and also decided to follow the community recommendations for style


Memory leak with email validation in zod forms

Current Behavior
The browser tab hangs and crashes
Expected Behavior
Email validation works
Steps To Reproduce

basically start writing in the email field with characters and browser tab will grind to a halt (enter at least 50 characters)

Link to Reproduction / Stackblitz
https://stackblitz.com/edit/github-zxmrcw?file=src%2Froutes%2F%2Bpage.svelte,src%2Froutes%2F%2Blayout.svelte
More Information
I did some testing and this only happens when validating the email constraint -> and I have no running hypothesis why is that the case.

Interesting 🤔, thanks for raising this issue, I'll look into it!

Closing this as it's an issue with Zod itself, rather than shadcn-svelte or formsnap - see: https://github.com/colinhacks/zod/issues/2580
You can find some example workarounds in this issue here in the meantime: https://github.com/colinhacks/zod/issues/2609

Thank you so much!


Java example would be simpler when using azure-identity API

The com.azure:azure-identity module makes it much easier to acquire an access token for a managed identity using ManagedIdentityCredential. I think it would make sense to update the Java example accordingly.

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

ID: aaf35ebc-b14e-167f-9f73-c7df4d2b60b5
Version Independent ID: 32e1d780-ca81-a67c-1af0-b7f0bfc8149c
Content: Use managed identities on a virtual machine to acquire access token - Azure AD
Content Source: articles/active-directory/managed-identities-azure-resources/how-to-use-vm-token.md
Service: active-directory
Sub-service: msi
GitHub Login: @barclayn
Microsoft Alias: barclayn

@souravmishra-msft Thank you for your feedback . We will investigate and update the thread.

@knutwannheden Thank you for your feedback. I have created a work item for us to track this suggestion so we can consider it when we are updating the article.

#please-close


Black screen on OSX Mojave

Hi,
I'm using (learning, really) tcod-rs on OSX.
Everything was working fine until I updated to Mojave. After that, all I see is an empty black screen.
I have tried tcod-rs/examples/text.rs too in order to discard problems in my code and I confirm that I also see a black screen when I run it.
I have installed libtcod using brew install libtcod. Here's what brew says about it:
$ brew info libtcod
libtcod: stable 1.6.4 (bottled)
API for roguelike developers
http://roguecentral.org/doryen/libtcod/
Conflicts with:
  libzip (because both install `zip.h` header)
/usr/local/Cellar/libtcod/1.6.4 (141 files, 2MB) *
  Poured from bottle on 2018-10-15 at 11:29:03
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/libtcod.rb
==> Dependencies
Build: autoconf ✔, automake ✘, libtool ✔, pkg-config ✔
Required: sdl2 ✔
==> Analytics
install: 19 (30d), 59 (90d), 330 (365d)
install_on_request: 19 (30d), 51 (90d), 275 (365d)
build_error: 0 (30d)

Googled a little bit more. It seems this might be a problem with libsdl.

Similar bug: https://discourse.libsdl.org/t/macos-10-14-mojave-issues/25060/6 (my screen did not draw anything after moving the window around with the mouse)
Bugzilla: https://bugzilla.libsdl.org/show_bug.cgi?id=4272
Patch for fixing the previous sdl bug (I don't know how related that is with the one I am experiencing) https://hg.libsdl.org/SDL/rev/55489adbb75c

I will try to recompile libsdl with that patch to see if that helps. But it will take me a while.

We only provide bundled sdl2 libs for windows, so your best bet would be to either update your package or recompile the library with the fix.

@kikito Did you get this working?

@ttracey93 no dice. Icculus has this thread on twitter listing things that Mojave broke on OpenGL (and thus SDL):
https://twitter.com/icculus/status/1054634481812992000
I would expect these issues to be fixed  eventually in SDL. I digged in the SDL issues page and found this one:
https://bugzilla.libsdl.org/show_bug.cgi?id=4329
Which seems to point out that there might be some kind of bug in Mojave which might need to be "short-circuited" (by "creating all the contexts upfront" and "setting LATE_INIT to zero). Or we could just wait for Apple to fix it, if it's indeed a bug in the OS.
In any case if you are using homebew, you can always try installing the latest SDL2 from the git repo with:
brew install sdl2 --HEAD

I have tried that one but my screen remains black. For the short term I have decided to give this one a bit of a rest and start using rust+wasm, using the browser for rendering and interaction (no libtcod).

My friend is running into the same issue. I'm not versed on Rust or tcod specifically, but I ran into the same issue with an SDL2 project in C on Mojave. brew install sdl2 --HEAD fixed it, but I had to do one additional thing in my C project:
  // Pump events once and **then** set the window size, before the main loop
  SDL_PumpEvents();
  SDL_SetWindowSize(window, sf_window_width, sf_window_height);

@rjungemann I'm running into this issue, is there a way to do SDL_PumpEvents in Rust using this library? I'm very new, sorry if it's obvious.
I tried doing brew install sdl2 --HEAD and it didn't seem to work:
λ ~/sandbox/rust/roguelike/ master* brew install sdl2 --HEAD
...
==> Downloading https://hg.libsdl.org/SDL/raw-diff/d274fa9731b1/build-scripts/ltmain.sh
######################################################################## 100.0%
==> Patching
==> Applying ltmain.sh
patching file build-scripts/ltmain.sh
Hunk #1 FAILED at 7404.
1 out of 1 hunk FAILED -- saving rejects to file build-scripts/ltmain.sh.rej
- Error: undefined method `shelljoin' for nil:NilClass
Please report this bug:
  https://docs.brew.sh/Troubleshooting
/usr/local/Homebrew/Library/Homebrew/exceptions.rb:539:in `initialize'
/usr/local/Homebrew/Library/Homebrew/utils/fork.rb:7:in `new'
/usr/local/Homebrew/Library/Homebrew/utils/fork.rb:7:in `rewrite_child_error'
/usr/local/Homebrew/Library/Homebrew/utils/fork.rb:84:in `block (3 levels) in safe_fork'
/usr/local/Homebrew/Library/Homebrew/utils.rb:402:in `ignore_interrupts'
/usr/local/Homebrew/Library/Homebrew/utils/fork.rb:60:in `block (2 levels) in safe_fork'
/usr/local/Homebrew/Library/Homebrew/utils/fork.rb:29:in `open'
/usr/local/Homebrew/Library/Homebrew/utils/fork.rb:29:in `block in safe_fork'
/usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.3.7/lib/ruby/2.3.0/tmpdir.rb:89:in `mktmpdir'
/usr/local/Homebrew/Library/Homebrew/utils/fork.rb:28:in `safe_fork'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:743:in `build'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:317:in `install'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:329:in `install_formula'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:259:in `block in install'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:257:in `each'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:257:in `install'
/usr/local/Homebrew/Library/Homebrew/brew.rb:89:in `<main>'

Weird. Try brew install sdl2 --build-bottle --bottle-arch=mojave. Maybe something is broken in HEAD. Possibly try installing the 2.0.9 binaries from https://www.libsdl.org/download-2.0.php as well.
If you take a look at my PR, I was able to add SDL_PumpEvents(); to the C code. Not sure about doing it from Rust-side. I might be able to dig in later. You should be able to point your Cargo.toml at my branch, like:
[dependencies]
tcod = { git = "https://github.com/rjungemann/tcod-rs.git", branch = "fix-sdl-rendering-mojave" }

λ ~/sandbox/rust/roguelike/ master* brew install sdl2 --build-bottle --bottle-arch=mojave
Error: Unrecognized architecture for --bottle-arch: mojave

So I downloaded SDL from the website and put it in /Library/Frameworks
Cargo.toml was:
[package]
name = "roguelike"
version = "0.1.0"
authors = ["Gage Peterson<EMAIL_ADDRESS>
[dependencies]
# tcod = "0.12"
tcod = { git = "https://github.com/rjungemann/tcod-rs.git", branch = "fix-sdl-rendering-mojave" }

However pulling from your branch didn't seem to work:
λ ~/sandbox/rust/roguelike/ master* cargo run
    Blocking waiting for file lock on the git checkouts
    Updating git repository `https://github.com/rjungemann/tcod-rs.git`
error: failed to load source for a dependency on `tcod`

Caused by:
  Unable to update https://github.com/rjungemann/tcod-rs.git?branch=fix-sdl-rendering-mojave

Caused by:
  failed to find branch `fix-sdl-rendering-mojave`

Caused by:
  cannot locate local branch 'fix-sdl-rendering-mojave'; class=Reference (4); code=NotFound (-3)

So then I just cloned your repo in the same folder and did this in my Cargo.toml
[package]
name = "roguelike"
version = "0.1.0"
authors = ["Gage Peterson<EMAIL_ADDRESS>
[dependencies]
tcod = { path = "tcod-rs", version = "0.12" }

Now I get:
# NOTE: relevant bit near the bottom
λ ~/sandbox/rust/roguelike/ master* cargo run
   Compiling tcod-sys v5.0.0 (/Users/justgage/sandbox/rust/roguelike/tcod-rs/tcod_sys)
error: failed to run custom build command for `tcod-sys v5.0.0 (/Users/justgage/sandbox/rust/roguelike/tcod-rs/tcod_sys)`
process didn't exit successfully: `/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-eaae9211c13a3e13/build-script-build` (exit code: 101)
--- stdout
TARGET = Some("x86_64-apple-darwin")
OPT_LEVEL = Some("0")
HOST = Some("x86_64-apple-darwin")
CC_x86_64-apple-darwin = None
CC_x86_64_apple_darwin = None
HOST_CC = None
CC = None
CFLAGS_x86_64-apple-darwin = None
CFLAGS_x86_64_apple_darwin = None
HOST_CFLAGS = None
CFLAGS = None
DEBUG = Some("true")
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-w" "-o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/adler32.o" "-c" "libtcod/src/zlib/adler32.c"
exit code: 0
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-w" "-o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/crc32.o" "-c" "libtcod/src/zlib/crc32.c"
exit code: 0
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-w" "-o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/deflate.o" "-c" "libtcod/src/zlib/deflate.c"
exit code: 0
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-w" "-o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/infback.o" "-c" "libtcod/src/zlib/infback.c"
exit code: 0
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-w" "-o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/inffast.o" "-c" "libtcod/src/zlib/inffast.c"
exit code: 0
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-w" "-o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/inflate.o" "-c" "libtcod/src/zlib/inflate.c"
exit code: 0
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-w" "-o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/inftrees.o" "-c" "libtcod/src/zlib/inftrees.c"
exit code: 0
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-w" "-o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/trees.o" "-c" "libtcod/src/zlib/trees.c"
exit code: 0
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-w" "-o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/zutil.o" "-c" "libtcod/src/zlib/zutil.c"
exit code: 0
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-w" "-o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/compress.o" "-c" "libtcod/src/zlib/compress.c"
exit code: 0
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-w" "-o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/uncompr.o" "-c" "libtcod/src/zlib/uncompr.c"
exit code: 0
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-w" "-o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/gzclose.o" "-c" "libtcod/src/zlib/gzclose.c"
exit code: 0
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-w" "-o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/gzlib.o" "-c" "libtcod/src/zlib/gzlib.c"
exit code: 0
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-w" "-o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/gzread.o" "-c" "libtcod/src/zlib/gzread.c"
exit code: 0
running: "cc" "-O0" "-ffunction-sections" "-fdata-sections" "-fPIC" "-g" "-fno-omit-frame-pointer" "-m64" "-Wall" "-Wextra" "-w" "-o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/gzwrite.o" "-c" "libtcod/src/zlib/gzwrite.c"
exit code: 0
AR_x86_64-apple-darwin = None
AR_x86_64_apple_darwin = None
HOST_AR = None
AR = None
running: "ar" "crs" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libz.a" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/adler32.o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/crc32.o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/deflate.o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/infback.o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/inffast.o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/inflate.o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/inftrees.o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/trees.o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/zutil.o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/compress.o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/uncompr.o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/gzclose.o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/gzlib.o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/gzread.o" "/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out/libtcod/src/zlib/gzwrite.o"
exit code: 0
cargo:rustc-link-lib=static=z
cargo:rustc-link-search=native=/Users/justgage/sandbox/rust/roguelike/target/debug/build/tcod-sys-15ca9978ce9abb56/out

--- stderr
- thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: "`\"pkg-config\" \"--libs\" \"--cflags\" \"sdl2\"` did not exit successfully: exit code: 1\n--- stderr\nPackage sdl2 was not found in the pkg-config search path.\nPerhaps you should add the directory containing `sdl2.pc\'\nto the PKG_CONFIG_PATH environment variable\nNo package \'sdl2\' found\n"', libcore/result.rs:1009:5
note: Run with `RUST_BACKTRACE=1` for a backtrace.

I guess I'm just the master of weird errors...

Hm. brew edit sdl2 and replace the url and sha256 lines near the top with:
  url "https://libsdl.org/release/SDL2-2.0.9.tar.gz"
  # sha256 "edc77c57308661d576e843344d8638e025a7818bff73f8fbfab09c3c5fd092ec"

And see if that works. This is what it does for me:
» brew reinstall sdl2
==> Reinstalling sdl2
==> Cloning https://hg.libsdl.org/SDL
Updating /Users/rjungemann/Library/Caches/Homebrew/sdl2--hg
pulling from https://hg.libsdl.org/SDL
searching for changes
adding changesets
adding manifests
adding file changes
added 47 changesets with 82 changes to 50 files
new changesets b55c17be08d4:5d56e3a2a3e4
50 files updated, 0 files merged, 0 files removed, 0 files unresolved
0 files updated, 0 files merged, 0 files removed, 0 files unresolved
==> ./autogen.sh
==> ./configure --prefix=/usr/local/Cellar/sdl2/HEAD-5d56e3a2a3e4 --without-x
==> make install
==> Not running post_install as we're building a bottle
You can run it manually using `brew postinstall sdl2`
🍺  /usr/local/Cellar/sdl2/HEAD-5d56e3a2a3e4: 87 files, 4.6MB, built in 1 minute 28 seconds

Success!

I just did:

brew install sdl2

then used your cargo config from above:
[dependencies]
tcod = { git = "https://github.com/rjungemann/tcod-rs.git", branch = "fix-sdl2-rendering-mojave" }

Thanks so much @rjungemann!

Thanks! That'll be the default hot-fix for libtcod-rs on mac OS until I get around to update the repo to the latest libtcod I think (especially since I don't have a mac). I don't have much time but I'll see what I can do

Glad it worked. I remember reading that SDL2 2.0.8 had the new Metal renderer code in it but for some reason I recalled it not working for me. It is good to know that 2.0.8 will work for it.

Closing this down as it seems to be solved now.


[stable/metallb] default configmap name is different than documenation

Is this a request for help?:
No
Is this a BUG REPORT or FEATURE REQUEST? (choose one):
Bug Report

Version of Helm and Kubernetes:
helm version
Client: &version.Version{SemVer:"v2.12.0", GitCommit:"d325d2a9c179b33af1a024cdb5a4472b6288016a", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.12.0", GitCommit:"d325d2a9c179b33af1a024cdb5a4472b6288016a", GitTreeState:"clean"}

kubectl version
Client Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.3", GitCommit:"435f92c719f279a3a67808c80521ea17d5715c66", GitTreeState:"clean", BuildDate:"2018-11-26T12:46:57Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"12", GitVersion:"v1.12.3", GitCommit:"435f92c719f279a3a67808c80521ea17d5715c66", GitTreeState:"clean", BuildDate:"2018-11-26T12:46:57Z", GoVersion:"go1.10.4", Compiler:"gc", Platform:"linux/amd64"}

Which chart:
stable/metallb-0.8.1
What happened:
In the helm chart the default name value for the config map is metallb-config (via existingConfigMap setting)
In the official documentation it states to create a map called config under the same namespace.
What you expected to happen:
The default names be aligned between documentation, helm chart installation, and manual kubectl apply installation
How to reproduce it (as minimally and precisely as possible):
Follow the documentation:

Install metallb via helm helm install --name metallb stable/metallb
Create config map: https://metallb.universe.tf/configuration/
(can use sample config for different name: https://raw.githubusercontent.com/google/metallb/v0.7.3/manifests/example-config.yaml)

Anything else we need to know:

This is a valid issue. I spent 3 hours to find out the config map's name should be metallb-config :/

/remove-lifecycle stale

/reopen

/remove-lifecycle rotten


MLNET.CLI Test Pass is running failed on the latest mlnet.cli version: 16.18.3

System Information (please complete the following information):

mlnet.cli Version: 16.18.3

Describe the bug

On which step of the process did you run into an issue: when running MLNET.CLI Test Pass on the latest mlnet.cli version: 16.18.3
Clear description of the problem: MLNET.CLI Test Pass is running failed.

To Reproduce
Steps to reproduce the behavior:

Find out the latest mlnet.cli version pushed from release pipeline, you can find it in sleet push step.
Go to MLNet_Benchmark
Create a PR which update MlNetVersion to the latest mlnet.cli version.
The PR will trigger a ci build, which will run a full mlnet.cli e2e test pass.
You will see the created PR is running failed with error "Bash exited with code '134'".

Expected behavior
The created PR should be running successfully.
Test Pass Info
• ML.NET: 16.18.3
• Sleep push of the latest mlnet.cli version pushed: Machinelearning-tools-private-release - Release-781 - Pipelines (visualstudio.com)
• PR: Update dotnet-tools.json · LittleLittleCloud/MLNet-Benchmark@73b9d26 (github.com)
• CI build: Pipelines - Run 20240423.9 (visualstudio.com)

MLNET.CLI Test Pass is still running failed on the latest mlnet.cli version: 16.18.4.
• ML.NET: 16.18.4
• Sleep push of the latest mlnet.cli version pushed: Machinelearning-tools-private-release - Release-783 - Pipelines (visualstudio.com)
• PR: Update dotnet-tools.json · LittleLittleCloud/MLNet-Benchmark@82a7473 (github.com)
CI build: Pipelines - Run 20240430.1 (visualstudio.com)


bazel: cctools runtime dependency on darwin

Denote runtime dependeny on cctools on darwin.

Motivation for this change
The bazel build patches paths like /usr/bin/install_name_tool to refer
to ${cctools}/bin/install_name_tool instead. If the corresponding
runtime dependency is not denoted, then darwin users can encounter "file
not found" errors, e.g. when they fetch bazel from a binary cache and
don't have cctools in their own nix store.
Things done

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

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

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

Notify maintainers
cc @Profpatsch

@GrahamcOfBorg build bazel

@GrahamcOfBorg build bazel bazel.tests


Brazil theme #HacktoberFest2019

Screenshot of my A11y card:

For assistance: https://help.github.com/en/articles/file-attachments-on-issues-and-pull-requests

Looks good! 💚
Thanks for your contribution!


TypeError: name() takes 0 positional arguments but 1 was given r

Rasa version: 2.4.x
Python version: 3.7.0
rasa_server_1    |   File "/opt/venv/lib/python3.8/site-packages/rasa/core/channels/channel.py", line 89, in register
rasa_server_1    |     p = urljoin(route, channel.url_prefix())
rasa_server_1    |   File "/opt/venv/lib/python3.8/site-packages/rasa/core/channels/channel.py", line 108, in url_prefix
rasa_server_1    |     return self.name()
rasa_server_1    | TypeError: name() takes 0 positional arguments but 1 was given
r

Thanks for raising this issue, @wochinge will get back to you about it soon✨
Please also check out the docs and the forum in case your issue was raised there too 🤗

@Gourav-infobiz Did you implement a custom channel? Could you please share your credentials.yml here (without passwords please :-))

@Gourav-infobiz Did you implement a custom channel? Could you please share your credentials.yml here (without passwords please :-))

@Gourav-infobiz Did you implement a custom channel? Could you please share your credentials.yml here (without passwords please :-))

Please find the attachment above.

@Gourav-infobiz I only see the screenshot. To me this looks like an implementation error in the custom connector. In that case the Rasa forum is the better place to discuss the implementation of this as its not a bug in Rasa Open Source itself.


Calculate p-values for ITS using alternative type of permutation

The current permutation test for p-values using ITS estimates the null distribution by using alternative cutoff points for pre and post-intervention periods. Instead, we should permute the order of the post-treatment observations to estimate null effects and use those estimated effects under permuted post-treatment observations to estimate the null distribution.
As a reminder, we can easily create permutations using a[shuffle(1:end), :].

This is not quite correct. A better way is to repeatedly randomly assign observations to the pre or post-intervention period and estimate the causal effect to generate a null distribution.


Add @pattern support for constraint package

Purpose

$Subject

Fixes : Add @pattern support for constraint package #3179
Examples
import ballerina/log;
import ballerina/constraint;

string:RegExp regExp = re `([0-9]{10})|(\+[0-9]{11})`;

@constraint:String {pattern: regExp}
type PhoneNumber string;

type User record {|
    string name;
    @constraint:String {pattern: re `male|female`}
    string gender?;
    int age;
    @constraint:String {pattern: re `([0-9]{9}[v|V]|[0-9]{12})`}
    string nic;
|};

type UserAdvanced record {|
    *User;
    PhoneNumber contactNumber;
    @constraint:String {pattern: re `([a-zA-Z0-9._%\-]+@[a-zA-Z0-9.\-]+\.[a-zA-Z]{2,6})*`}
    string email;
|};

public function main() {
    PhoneNumber phoneNumber = "0774563957";
    do {
        phoneNumber = check constraint:validate(phoneNumber);
        log:printInfo("phone number is valid");
    } on fail error err {
        log:printError("error occurred while checking phone number", err);
    }

    User user = {
        name: "John",
        age: 36,
        gender: male,
        nic: "198654673682"
    };
    do {
        user = check constraint:validate(user);
        log:printInfo("user is valid");
    } on fail error err {
        log:printError("error occurred while checking user", err);
    }

    UserAdvanced userAdvanced = {
        ... user,
        contactNumber: phoneNumber,
        email<EMAIL_ADDRESS>    };
    do {
        userAdvanced = check constraint:validate(userAdvanced);
        log:printInfo("userAdvanced is valid");
    } on fail error err {
        log:printError("error occurred while checking userAdvanced", err);
    }
}

Checklist

[x] Linked to an issue
[x] Updated the changelog
[x] Added tests
[x] Updated the spec
[x] Checked native-image compatibility

Didn't go through the code but the functionality looks good to me!
Hope @chamil321 will validate the tests and the code. Also lets make sure tooling side is ready when it comes to regex.

Didn't go through the code but the functionality looks good to me!
Hope @chamil321 will validate the tests and the code. Also lets make sure tooling side is ready when it comes to regex.

There are still some pending issues regarding the tooling support for regexp from lang side such as :

https://github.com/ballerina-platform/ballerina-spec/issues/1188
https://github.com/ballerina-platform/ballerina-lang/issues/38568
https://github.com/ballerina-platform/ballerina-lang/issues/39249


Create Project Model

Create the project database model in the models > project.model.js file. The information regarding the same is available in the README.md file.

Claim

Congratulations on your first assigned issue. You have 48 hours for this task.
Happy Contributing!!


Improve Header and Footer

It would be nice to have a header and footer similar to ember-cli-deploy.com or ember-cli-mirage.com

Fixed! Thanks @jubar


Sticky messages with subprocesses do not work well

When writing https://github.com/JuliaCI/PkgBenchmark.jl/pull/104, I realized that sticky messages do not work well with sub-processes.  An example:
using Logging
using ProgressLogging
using TerminalLoggers

with_logger(TerminalLogger()) do
    @progress for _ in 1:10
        code = """
        using Logging
        using ProgressLogging
        using TerminalLoggers
        with_logger(TerminalLogger()) do
            @info "From child process" getpid()
            @progress for _ in 1:10
                sleep(0.01)
            end
        end
        """
        run(`julia --startup-file=no -e $code`)
    end
end

But I'm not sure if it's probably impossible to fix this in TerminalLoggers.jl. Maybe implementing some workarounds using an environment variable could be helpful.
Ultimate solution may be to merge log records from subprocesses to the main process using IPC-based logger "bridge" (which is way outside of the scope of TerminalLoggers.jl, I guess, though).

Ultimate solution may be to merge log records from subprocesses to the main process using IPC-based logger "bridge" (which is way outside of the scope of TerminalLoggers.jl, I guess, though).

Yes, this is ultimately what's required: the code passed to the subprocess would need to install a logger which forwards messages to the parent process, and the parent process would need to set up an async task to listen for those. It "might be nice" if we could make this work automatically when the child process is Base.julia_cmd(), but for generic subprocesses which "just happen" to call julia it seems difficult.
One thing which certainly seems realistic is make this work automatically when using Distributed to spawn the child processes.

Maybe implementing some workarounds using an environment variable could be helpful.

True, an environment variable could be used to define some "julia log server" context and that could be used to initialize the default global logger to something other than ConsoleLogger.
Hopefully getting the IPC right is not too much of a nightmare. For functionality on localhost (without authentication or encryption) I guess we could just use serialize and a socket. This seems very similar to the work already done in Distributed.LocalManager though, where the IPC side of things might already be sorted out.
So maybe getting it working with Distributed is the best thing to do first.

It "might be nice" if we could make this work automatically when the child process is Base.julia_cmd(), but for generic subprocesses which "just happen" to call julia it seems difficult.

Yeah, I think that'd be super cool. I cannot decide if it is too much of a magic to happen automatically, though.
I agree adding a support for processes created via Distributed is the first step.

Maybe implementing some workarounds using an environment variable could be helpful.

True, an environment variable could be used to define some "julia log server" context

The workaround I was thinking was something stupid-simple: just use the "Sys.iswindows() code path" if the current process shares the same TTY with the parent process.  But maybe it's worth doing this right from the getgo as the pitfall like the OP would probably be very rare anyway.  Compared to that, logging inside Distributed is much more common.  In fact, I already created something like this just for progress information in Transducers.jl to support progress logging in distributed reduction.  I can throw it away if logging across workers just works.

I cannot decide if it is too much of a magic to happen automatically, though.

Haha, I suspect it probably is :-) If log record serialization is done via serialize we preserve full Julia objects which is great. But we get some other tricky problems like making sure all processes have the same modules loaded. So making it just work outside Distributed might be a bit of a can of worms.

Ah, yes, serialization is super tricky when two processes can activate different projects.
Hmm... I wonder if it's better to lower everything into (say) JSON-encodable primitive types (or msgpack/BSON/etc.) at each process. Probably there are already several language-agnostic logging frameworks that do this.

I don't think there's a one-size-fits-all approach.
I suspect that for Distributed it would be fairly natural to use serialize because Distributed seems to target cases where all processes are part of the same application. Also for HPC workloads where the logs may be serialized to disk per node for performance reasons, but it's still conceptually a "single application".
For more heterogeneous distributed systems I think the JSON-or-similar approach will be needed. There's a whole lot of log servers for the receive side which already do this kind of thing, so we could choose one of the better ones and take some conventions from that.


Additional options for interactive graphs

For enabling play-back, zoom-in or zoom-out easily using screen reader.

The following projects have taken over and addressed this issue.
https://github.com/hassaku/audio-plot-lib

The following projects have taken over and addressed this issue.
https://github.com/hassaku/audio-plot-lib


Allow to launch TGI models with the Inference Endpoints code

New cherrypicked branch to avoid the hassle of rebasing.

To test, did quite a hackish thing and I'm not sure that API call will work


MD Preview not working

I am using StarUML 2.3.0 and the MarkDown extension is 0.9.3
When clicking the Preview button nothing changes.

Fixed in v0.9.4

Yes and working great ... THanks!
Steven T. Cramer
719.290.2872 (Mobile/Google)
419.757.0077 Office
2282 State Route 309
Ada, Ohio 45810
On Wed, Jul 1, 2015 at 5:18 AM, Minkyu Lee<EMAIL_ADDRESS>wrote:

Fixed in v0.9.4
—
Reply to this email directly or view it on GitHub
https://github.com/staruml/Markdown/issues/3#issuecomment-117557192.


13-HF: how to access Period of Report from the filing

Hi,
not a bug but i am trying to find out how to access the Period of Report from a Form 13-HF
filings_13 = get_filings(2024, 1 , '13F-HR')
dir(filings_13[0])
Kind regards
Marco

Convert the filing to a ThirteenF object first

>>> from edgar import *
>>> filings = get_filings(form="13F-HR")
>>> filing = filings[0]
>>> hr = filing.obj()
>>> hr.report_period

Thanks Dwight you can close issue
rgds
On Tue, Nov 19, 2024 at 3:55 PM Dwight Gunning @.***>
wrote:

Convert the filing to a ThirteenF object first

from edgar import *>>> filings = get_filings(form="13F-HR")>>> filing = filings[0]>>> hr = filing.obj()>>> hr.report_period

—
Reply to this email directly, view it on GitHub
https://github.com/dgunning/edgartools/issues/152#issuecomment-2486100906,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACPNCDXTN3BUIZFV7DDHX4L2BNNNLAVCNFSM6AAAAABSCH6D3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBWGEYDAOJQGY
.
You are receiving this because you authored the thread.Message ID:
@.***>


Add vector orthonormalization (Gram-Schmidt process) for 2D and 3D vectors

I tried to make this commit stylistically similar to the rest of the library, but please feel free to correct whatever you feel is off. I avoided using loops as I believe it is a bit more readable this way.
On a slightly unrelated tangent, are there any plans for refactoring/documenting? I abstained from writing any comments as none of the functions were commented, but I think the library would greatly benefit from additional documentation as it would render it way more accessible.

Sorry the late response, I was traveling and taking care of some life changes.
I will merge the commit, without bumping the version, and make changes later. I'd prefer not have additional headers, such as string.h, and keep only stdint.h, float.h and math.h as dependencies. But, I can edit that later.
As for documentation, the library actually had a documentation before, in markdown: https://github.com/felselva/mathc/blob/9664a53c49bf97bb8484cda5be2b08218f7ece14/REFERENCE.md
But, it was too much work for me alone to work on it, and keep a concise style. Maybe making the documentation as comments could work.


Feature Request: Smaller Images

This project is probably the most useful PHP IMDB project on this site.  In my case, getPoster() function is really giving me what I need, it has options for the sizes of poster whether big or small. getPoster($sSize = 'small', $bDownload = true) For me, I need smaller images than the current one. For the current solution, I reduced the image size using CSS, if I can reduce the image size from PHP, it has to speed up the website loading time.
Request image sizes
XXS

XS

S

Hi @phyozawtun!
IMDb themself only provide small and big images. So you would need to do this on our own, but it is pretty straightforward. For example, check out this answer on Stack Overflow: https://stackoverflow.com/a/14649689.
You would download the image from IMDb, and use this as a source for the resizing, and return the resized image path instead of the source.
I hope that helps!

Hello @FabianBeiner!
Thank for consider on the issue and also thank for example. I am considering about CPU performance of my server for resizing large numbers of images.
By the way, all images in my issue are get from IMDB original source. You can check the images original links. Hope, IMDB have options for multiple sizes.

You don't need to worry about the CPU performance. This is an effortless, one-time operation.
The scraper gets the poster from this source:
<img itemprop="image" height="150" width="101" alt="Poster" class="titlereference-primary-image" src="https://m.media-amazon.com/images/M/MV5BYWZjMjk3ZTItODQ2ZC00NTY5LWE0ZDYtZTI3MjcwN2Q5NTVkXkEyXkFqcGdeQXVyODk4OTc3MTY@._V1_SY150_CR0,0,101,150_.jpg" />

I then remove the replace anything between the @ and .jpg (._V1_SY150_CR0,0,101,150_) to get the biggest size available.

As per your last conversation, it would be perfect solution for my problem. Don’t you think it will be great, if you added that replacing code snippet in your new version?

#PHP Snippets
https://gist.github.com/phyozawtun/3306990edda0f036484dfe300c8bab9e
#Output Screenshot

Ohh, you already did write the code for that! Awesome.
Could you just integrate it and do a pull request? :)

Added in v6.1.7, thanks!

Thank you it is work.


tests: move default functions out of utils

What this PR does
Move defaults out of utils
to the only place where it is used,
that is unit tests.
Release note

None

/sig code-quality

@dhiller @enp0s3 Got it, thanks! sounds good :)

@dhiller @enp0s3 Done, can you please take a look?

@codingben I was confused, for some reason I was thinking components directory already exists. I would go with @EdDev approach

Let's not create a new package and just use the default functions in the test itself, it looks better and simpler now.


:four_leaf_clover: Proposal: argo Support kustomize

What Would You Like to Add? Why Is This Needed?

dtm only supports Helm repo.
Here's what I found:
https://github.com/devstream-io/devstream/blob/main/internal/pkg/plugin/argocdapp/argocdapp.go#L49-L53

res["src"] = map[string]interface{}{
		"repoURL":   opts.Source.RepoURL,
		"path":      opts.Source.Path,
		"valueFile": opts.Source.Valuefile,
	}

We can find in the Argo documentation:
https://argo-cd.readthedocs.io/en/stable/user-guide/helm/
https://argo-cd.readthedocs.io/en/stable/user-guide/kustomize/

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: guestbook
spec:
  source:
    repoURL: https://github.com/argoproj/argocd-example-apps.git
    targetRevision: HEAD
    path: guestbook-kustomize

    kustomize:
      version: v3.5.4

apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
  name: sealed-secrets
  namespace: argocd
spec:
  project: default
  source:
    chart: sealed-secrets
    repoURL: https://bitnami-labs.github.io/sealed-secrets
    targetRevision: 1.16.1
    helm:
      releaseName: sealed-secrets
  destination:
    server: "https://kubernetes.default.svc"
    namespace: kubeseal

Maybe there's something I don't know, or maybe this isn't a good time to support this
Design
none
Anything else

none

I always think that multiple installation methods should be provided, such as in kubernetes (helm, yaml), in containers (docker, podman), in Linux bare metal.
There is a common plugin for each way, like I want to install GitLab，The configuration of each installation method can be quickly obtained by the show command.
dtm show config --plugin=helm --app=gitlab
dtm show config --plugin=docker --app=gitlab
dtm show config --plugin=linux --app=gitlab

Each application has a plug-in corresponding to the installation method, which is the way of the dashboard, not the way of the tool.

@prodanlabs, thank you for your suggestion; indeed, gitlab such plugins should support multiple installation methods, for example, the first version we currently support is the docker way of installation, maybe the next version will go to support the vm way. #692

@huang12zheng Good thinking; first helm is positioned to manage the various "software" deployed on k8s, while kustomize is used more to solve the "multi-environment configuration problem". In other words, we can install it by kustomize, but there is no fundamental difference with the yaml way to apply. And helm can be used to "manage" an application, such as uninstall and upgrade operations. Of course, it's perfectly fine to support kustomize or yaml, if there is a clear need for it.
/cc @IronCore864 @aFlyBird0

Great proposal. Will support in the next minor release!


run error

I ran fmlrc with fowllowing code:
ONT=/storage-01/poultrylab1/zhaoqiangsen/nanopore/genome/fq_gz/YY_ONT.fq.gz
npy=./MSBWT/comp_msbwt.npy
fmlrc2 -t 12 -C 10 $npy $ONT YY_ONT_corrected.fq

It gave me :
[2020-10-09T11:23:14Z INFO  fmlrc2] Input parameters (required):
[2020-10-09T11:23:14Z INFO  fmlrc2]     BWT: "./MSBWT/comp_msbwt.npy"
[2020-10-09T11:23:14Z INFO  fmlrc2]     Input reads: "/storage-01/poultrylab1/zhaoqiangsen/nanopore/genome/fq_gz/YY_ONT.fq.gz"
[2020-10-09T11:23:14Z INFO  fmlrc2]     Output corrected reads: "YY_ONT_corrected.fq"
[2020-10-09T11:23:14Z INFO  fmlrc2] Execution Parameters:
[2020-10-09T11:23:14Z INFO  fmlrc2]     verbose: false
[2020-10-09T11:23:14Z INFO  fmlrc2]     threads: 1
[2020-10-09T11:23:14Z INFO  fmlrc2]     cache size: 10
[2020-10-09T11:23:14Z INFO  fmlrc2] Correction Parameters:
[2020-10-09T11:23:14Z INFO  fmlrc2]     reads to correct: [0,<PHONE_NUMBER>3709551615)
[2020-10-09T11:23:14Z INFO  fmlrc2]     k-mer sizes: [21, 59]
[2020-10-09T11:23:14Z INFO  fmlrc2]     abs. mininimum count: 5
[2020-10-09T11:23:14Z INFO  fmlrc2]     dyn. minimimum fraction: 0.1
[2020-10-09T11:23:14Z INFO  fmlrc2]     branching factor: 4
thread 'main' panicked at 'Could not read<PHONE_NUMBER> bytes of BWT body for file "./MSBWT/comp_msbwt.npy"', /storage-01/poultrylab1/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/fmlrc-0.1.1/src/bv_bwt.rs:163:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

I also ran RUST_BACKTRACE=1 cargo run, it didn't work:
error: could not find `Cargo.toml` in `/storage-01/poultrylab1/zhaoqiangsen/GenomeAssembly/mallard/ONT` or any parent directory

please help me ~
Thank you in advance !!!!

That's an interesting error to encounter, and it's from this block of code.  This block is basically checking that the file described by the header matches the actual file length (i.e. to make sure you have all the data described by the header).  My best guess is that something went wrong while creating your BWT file and it didn't finish writing/copying the data out.
How did you build the original BWT?  And/or did you copy this BWT from somewhere and create a truncated file by accident?  One thing you could potentially try is to load the file into python3's numpy (since it is supposed to match numpy specification).  If it throws an error, there's a good chance your file is corrupted or incomplete for some reason.
As for the cargo run command, you would need to run that from inside the crate directory for it to work.  This is why it's complaining about a missing Cargo.toml file.

Thank you for quickly reply !
Yes I aslo check the code block, but I can't deal with it.
The first time I creat my BWT files where BWT files were created one by one because of short reads are paired-ends.
Code:
gunzip -c NDES00380_L4_1_clean.fq.gz | awk 'NR % 4 == 2' | sort | tr NT TN | ropebwt2 -LR | tr NT TN | fmlrc2-convert ./BWT/comp_msbwt.npy
gunzip -c NDES00380_L4_2_clean.fq.gz | awk 'NR % 4 == 2' | sort | tr NT TN | ropebwt2 -LR | tr NT TN | fmlrc2-convert ./BWT/comp_msbwt2.npy

It goes OK.
But when I correct :
thread 'main' panicked at 'Could not read<PHONE_NUMBER> bytes of BWT body for file "./MSBWT/comp_msbwt.npy"', /storage-01/poultrylab1/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/fmlrc-0.1.1/src/bv_bwt.rs:163:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Then I guess something went wrong with BWT files, and merge the two BWT file:
#/usr/env python3
import numpy

npy1 = numpy.load('./comp_msbwt.npy')
npy2 = numpy.load('./comp_msbwt2.npy')
npy3 = numpy.append(npy1,npy2)
numpy.save('./msbwt.npy',npy3)

It still remain same error. Finally I rerun the create-BWT-process with merging short reads file into one file, and same eror happened:
### I want to speed up the process so use pigz but it seems pigz didn't work as multiple threads :
pigz -p 48 -d -c NDES00380_clean.fq.gz | awk 'NR % 4 == 2' | sort | tr NT TN | ropebwt2 -LR | tr NT TN | fmlrc2-convert ./MSBWT/msbwtIn1.npy
### the same code used as above section :
ONT=/storage-01/poultrylab1/zhaoqiangsen/nanopore/genome/fq_gz/YY_ONT.fq.gz
npy=./MSBWT/msbwtIn1.npy
fmlrc2 -t 60 $npy $ONT YY_ONT_corrected.fq
### and same error :
thread 'main' panicked at 'Could not read<PHONE_NUMBER>3 bytes of BWT body for file "./MSBWT/msbwtIn1.npy"', /storage-01/poultrylab1/.cargo/registry/src/mirrors.tuna.tsinghua.edu.cn-df7c3c540f42cdbd/fmlrc-0.1.1/src/bv_bwt.rs:163:13
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

The only difference I found is the BWT file size changed.
Is still my create-BWT-file-process went wrong ?
Thank you for your time !

You definitely cannot merge the BWT files as you tried with numpy, that will give you an array but it will be nonsensical, you should instead do something like:
gunzip -c NDES00380_L4_1_clean.fq.gz NDES00380_L4_2_clean.fq.gz | awk 'NR % 4 == 2' | sort | tr NT TN | ropebwt2 -LR | tr NT TN | fmlrc2-convert ./MSBWT/comp_msbwt.npy

I'm still not sure why your single-end BWT is getting an error.  Have you tried running the example on the original FMLRC?  You should be able to replace the commands near the end with the equivalent fmlrc2 commands.
It would also be helpful to see the full command output from your BWT creation AND the size of the resulting file.  For example, here is what a small one looks like using a piece of the example:
example1 matt$ gunzip -c ERR022075_1.fastq.gz | head -n 1000 | awk 'NR % 4 == 2' | sort | tr NT TN | ropebwt2 -LR | tr NT TN | fmlrc2-convert ./BWT/comp_msbwt.npy
[2020-10-10T03:33:15Z INFO  fmlrc2_convert] Input parameters (required):
[2020-10-10T03:33:15Z INFO  fmlrc2_convert] 	Input BWT: "stdin"
[2020-10-10T03:33:15Z INFO  fmlrc2_convert] 	Output BWT: "./BWT/comp_msbwt.npy"
[M::mr_insert_multi] Turn off parallelization for this batch as too few strings are left.
[M::main_ropebwt2] inserted 25250 symbols in 0.005 sec, 0.003 CPU sec
[M::main_ropebwt2] constructed FM-index in 0.022 sec, 0.004 CPU sec
[M::main_ropebwt2] symbol counts: ($, A, C, G, T, N) = (250, 6300, 6187, 6161, 250, 6102)
[M::main] Version: r187
[M::main] CMD: ropebwt2 -LR
[M::main] Real time: 0.025 sec; CPU: 0.014 sec
[2020-10-10T03:33:15Z INFO  fmlrc::bwt_converter] Converted BWT with symbol counts: [250, 6300, 6187, 6161, 250, 6102]
[2020-10-10T03:33:15Z INFO  fmlrc::bwt_converter] RLE-BWT byte length: 18387
[2020-10-10T03:33:15Z INFO  fmlrc2_convert] RLE-BWT conversion complete.
example1 matt$ ls -l ./BWT/comp_msbwt.npy
-rw-r--r--  1 matt  staff  18483 Oct  9 22:33 ./BWT/comp_msbwt.npy

OK, I see. I will try your code below, if it doesn't work, I will try original FMLRC exmple.
gunzip -c NDES00380_L4_1_clean.fq.gz NDES00380_L4_2_clean.fq.gz | awk 'NR % 4 == 2' | sort | tr NT TN | ropebwt2 -LR | tr NT TN | fmlrc2-convert ./MSBWT/comp_msbwt.npy

Yes, I don't know why I merge pair-ends short reads into one file with cat them it still got an error the last time:
cat NDES00380_L4_1_clean.fq.gz NDES00380_L4_2_clean.fq.gz > NDES00380_clean.fq.gz

Full BWT creation output and its size:
[2020-10-09T14:57:55Z INFO  fmlrc2_convert] Input parameters (required):
[2020-10-09T14:57:55Z INFO  fmlrc2_convert]     Input BWT: "stdin"
[2020-10-09T14:57:55Z INFO  fmlrc2_convert]     Output BWT: "./MSBWT/msbwtIn1.npy"
[M::main_ropebwt2] inserted<PHONE_NUMBER>9 symbols in 741.814 sec, 1908.697 CPU sec
[M::main_ropebwt2] inserted<PHONE_NUMBER>9 symbols in 836.397 sec, 2281.367 CPU sec
[M::main_ropebwt2] inserted<PHONE_NUMBER>9 symbols in 956.954 sec, 2720.248 CPU sec
[M::main_ropebwt2] inserted<PHONE_NUMBER>9 symbols in 995.544 sec, 2960.243 CPU sec
[M::main_ropebwt2] inserted<PHONE_NUMBER>9 symbols in 1109.195 sec, 3242.295 CPU sec
[M::main_ropebwt2] inserted<PHONE_NUMBER>9 symbols in 1158.872 sec, 3482.073 CPU sec
[M::main_ropebwt2] inserted<PHONE_NUMBER>9 symbols in 1124.942 sec, 3531.342 CPU sec
[M::main_ropebwt2] inserted<PHONE_NUMBER>9 symbols in 1208.258 sec, 3681.861 CPU sec
[M::main_ropebwt2] inserted<PHONE_NUMBER>9 symbols in 1181.353 sec, 3648.760 CPU sec
[M::main_ropebwt2] inserted<PHONE_NUMBER>9 symbols in 1142.386 sec, 3613.213 CPU sec
[M::main_ropebwt2] inserted<PHONE_NUMBER>9 symbols in 1267.457 sec, 3865.725 CPU sec
[M::main_ropebwt2] inserted<PHONE_NUMBER>9 symbols in 1275.224 sec, 3816.419 CPU sec
[M::main_ropebwt2] inserted<PHONE_NUMBER>9 symbols in 1310.821 sec, 4043.733 CPU sec
[M::main_ropebwt2] inserted<PHONE_NUMBER>9 symbols in 1368.313 sec, 4066.785 CPU sec
[M::main_ropebwt2] inserted 891711474 symbols in 186.869 sec, 542.725 CPU sec
[M::main_ropebwt2] constructed FM-index in 20514.184 sec, 47849.493 CPU sec
[M::main_ropebwt2] symbol counts: ($, A, C, G, T, N) = (971561940,<PHONE_NUMBER>0,<PHONE_NUMBER>9,<PHONE_NUMBER>7, 14434249,<PHONE_NUMBER>5)
[M::main] Version: r187
[M::main] CMD: ropebwt2 -LR
[M::main] Real time: 25067.126 sec; CPU: 50645.214 sec
[2020-10-09T21:55:42Z INFO  fmlrc::bwt_converter] Converted BWT with symbol counts: [971561940,<PHONE_NUMBER>0,<PHONE_NUMBER>9,<PHONE_NUMBER>7, 14434249,<PHONE_NUMBER>5]
[2020-10-09T21:55:42Z INFO  fmlrc::bwt_converter] RLE-BWT byte length:<PHONE_NUMBER>3
[2020-10-09T21:58:42Z INFO  fmlrc2_convert] RLE-BWT conversion complete.
(RNAseq) [poultrylab1@pbsnode01 ONT]$ ls -l MSBWT/
total 15307760
-rw-rw-r-- 1 poultrylab1 poultrylab1         171 Oct  9 18:32 merge_npy.py
-rw-rw-r-- 1 poultrylab1 poultrylab1<PHONE_NUMBER>9 Oct 10 05:58 msbwtIn1.npy
### short reads size:
(RNAseq) [poultrylab1@pbsnode01 2nd_WGS]$ ls -l
total 151681612
-rw-rw-r-- 1 poultrylab1 poultrylab1<PHONE_NUMBER>8 Oct  9 22:06 NDES00380_clean.fq.gz
-rwxr-xr-x 1 poultrylab1 poultrylab1<PHONE_NUMBER>9 Oct  3 01:56 NDES00380_L4_1_clean.fq.gz
-rwxr-xr-x 1 poultrylab1 poultrylab1<PHONE_NUMBER>9 Oct  3 02:03 NDES00380_L4_2_clean.fq.gz

It looks like normal.

I think I might know what the issue is.  Apparently, there is no guarantee that read(...) will go until the EOF, so it may be exiting early and fmlrc2 was not handling that.
I made a branch "bwt_input_checks" to test the minor fix on your data (I've already tested that I didn't break anything locally).  Can you check it out via GitHub and see if you're still getting the error?
Let me know if you need any help with checkout/install.

Just pushed another change that is likely more efficient but should do the same thing, see this commit: https://github.com/HudsonAlpha/rust-fmlrc/commit/b5003a4df423d0731888653ec9b545f2dda6775b

I cloned the branch bwt_input_checks and built it, seems work ! But I don't understand. LOL

Thank you so much !!!

Great, I'm glad to hear it fixed the issue!  I'm going to roll this into a new release on Monday and you should be able to install the normal way from there.  Let me know if you encounter any other issues with fmlrc2.

Hi @holtjma, sorry to open this again but I personally think that you should bring the piece of code you advise in this thread
gunzip -c NDES00380_L4_1_clean.fq.gz NDES00380_L4_2_clean.fq.gz | awk 'NR % 4 == 2' | sort | tr NT TN | ropebwt2 -LR | tr NT TN | fmlrc2-convert ./MSBWT/comp_msbwt.npy
out toward the README section. I was feeling a bit unclear when reading the instruction as it didn't mention we can merge the paired-end read.
Just a suggestion tho. Thanks for the program, it worked really nice on PromethION & I will use it in our pipeline. Problem solved on my end :).
best,

Yea, I don't think it will hurt to add that in the short term.  I was working on a better way to construct them (see this link), but I haven't had time to work on that in the past few months unfortunately.  I'll see if I can add something that cleanly explains it for folks, thanks for the suggestion and glad it's working for you!

Hi @holtjma, thanks for the reply, look great at the moment !
If you don't mind one last point. Maybe not from this thread, but I recalled someone mentioned that they think they need to use only 1 pair of corrected read (say /1) as nanopore is 'single-end' so to speak, I thought the same at the beginning. But it would be great to rectify that you can use the reverse read anyhow in the indexing step.
Tuan

I'm not sure I understand the context here, can you elaborate or point me to where the discussion occurred?

This is the issue I mentioned previously #7
Initially, I have the same interpretation as the thread opener, as he thinks we only need to use only either forward read or reverse read from paired-end Illumina, not both of them.
Along your response to that is "Not only would you be losing information from your sequencing, but it's possible you may be injecting a strand bias by removing one end of the reads." - so yes, simply load both instead of just forward/reverse read 👍
Hope this clarifies my rubbish English (not a native speaker sorry !)

Ah I see, I'll have to think about if there's a better way to address more complicated questions.  I try to keep the README relatively light for people just landing on the page, but we can think about have a more in-depth FAQ and/or best practices somewhere else in the future (if I ever get time, haha!).  Thanks for the suggestions!
p.s. your English is fine, I just have a bad memory for previous issues

FAQ is such a great idea, if (and only if) you ever have time to do one, please also inject the explanation behind the tr -s TN NT, the answer was included in one of the old FMLRC issue https://github.com/holtjma/fmlrc/issues/4.
I personally find it extremely helpful to fully understand the reasoning behind the command,.  Thanks!
Stay safe,
Tuan


New iAPS Release Available: v5.2.1

Hi @paulplant,
The Artificial Pancreas ( iAPS ) project just released v5.2.1.
If you are receiving this message, your current code base is out of sync
with the main repository, and should be updated.
To do this, go to your Github fork, and you will notice a line that says
something like:

This branch is N commits behind ...

Click the 'Sync fork' drop down to the right of that line and choose:

Update Branch

Before building and installing a new version, please make sure to save
your settings.  Although rare, there have been releases in the past that have
forced a reset to default of the preferences.  It is rare, but better
safe then sorry.
v5.2.0 introduced a new GitHub Action to eliminate the need to manually
sync your repo with the main one, and it is highly recommended that this
is enabled.
Please see the v5.2.0 Release Notes for instructions.
If you have any questions, or issues, please let me know and I will be
happy to help.

@scrappy , please stop creating issues in your repository (to which I haven't fork or have any relation) and tagging me. It's slightly annoying :)


1.0.0

[ ] Remove component.json file
[ ] Drop AMD (Asynchronous Module Definition) support

I don't want to support Component and AMD any longer. Is it OK, stargazers? @five23 @nulltask

I am sorry about my delaying. It is fine to me. Because I use your module through npm and browserify. Thanks for your nice modules.

@nulltask
Thanks for your feedback, and glad to hear you're using this module :) I'll go just as planned.


compose: Render Mac Cmd button and Return at compose bottom.

oes what it says on the tin; there doesn't appear to be a plain enter_sends class any more in the compose area, so this is hopefully the fix for a long-standing regression.
Although I did not screenshot it, the popup menu is unaffected by these changes, as its keyboard rendering is updated in separate logic.
Screenshots and screen captures:

Before
After

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[x] Explains differences from previous plans (e.g., issue description).
[x] Highlights technical choices and bugs encountered.
[x] Calls out remaining decisions and concerns.
[x] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

This looks like the right direction to solve this. It won't work for the cmd + return case, though. To make it work correctly, we need to target both .enter_sends_false and .enter_sends_true. We can do it like this:
-     common.adjust_mac_kbd_tags(".enter_sends kbd");
+    common.adjust_mac_kbd_tags(".open_enter_sends_dialog kbd");

We have the same thing for the .enter_sends_choices kbd, and it works correctly.
Interesting, that it was introduced (in ffd9d18) just as it is now. So either it's been working incorrectly all along, or there's another reason why it doesn't work now.

That'll work. I'm making a note for the compose-box redesign to modify that class somehow so it reads well for both the open-dialog code as well as this element selection.

Merged, thanks @karlstolley! Agree we can backport this for the next 7.x release.

Backported in https://github.com/zulip/zulip/pull/26750.


retriable: added Client interface

Coverage decreased (-0.2%) to 86.737% when pulling adb19d33ff152d36628ebdeeb5df71b51be4fdd2 on dissoupov into e828f2e09480f366876be95b5177587e4ab2eff5 on main.


Style sideways tiles through CSS?

Instead of having separate files for sideways tiles.

Done in v2.0.0.


The Leap-years has not been in mind

Hi, i think could be a problem in the Lead-years
https://github.com/seatgeek/businesstime/blob/master/businesstime/holidays/__init__.py#L9

Yeah, that's definitely a known issue. Fortunately, it only affects holidays defined using the -week specification (which is used for holidays like Memorial Day which are defined by their relation to the end of the month) in February. I'm not aware of any holiday that matches that description yet so I've been thinking of this as relatively low priority.


bug: Ionic CLI CloudFlare Problem

From @pedrohills on March 22, 2016 18:58
Type: bug
Ionic Version: 1.x
Platform: all
When trying to login using the "$ ionic upload" command I am prompted for my email address and password.
I keep getting the following message:
Email or Password incorrect. Please visit https://apps.ionic.io for help. (CLI v1.7.14)
Your system information:
Cordova CLI: 6.0.0
Gulp version:  CLI version 3.9.1
Gulp local:   Local version 3.9.1
Ionic Version: 1.2.4
Ionic CLI Version: 1.7.14
Ionic App Lib Version: 0.7.0
OS: Distributor ID:	Ubuntu Description:	Ubuntu 14.04.3 LTS
Node Version: v5.2.0

Copied from original issue: driftyco/ionic#5905

Hello! Thanks for opening an issue with us! Since this is not an issue related to the actual framework i am going to be moving this issue to the correct repo. Please feel free to continue the conversation over there!

Sorry to keep passing you around, but this sounds like an account issue. I'd take a look at https://ionic.io/support if you're having issues logging in.


How to Embed PowerBi Reports with Blazor WebAssembly

I'm struggling to adapt the examples for Blazor WebAssembly, could you please provide some guidance/examples for Blazor?

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

ID: 90078026-b608-ccf2-f3ef-58021b484f75
Version Independent ID: e51ab568-5610-ff18-c5c0-4d2f27935dfa
Content: Embed content in your Power BI embedded analytics application enabling better embedded BI insights for your organization - Power BI
Content Source: powerbi-docs/developer/embedded/embed-sample-for-your-organization.md
Service: powerbi
Sub-service: powerbi-developer
GitHub Login: @KesemSharabi
Microsoft Alias: kesharab

Hi, @stevozilik -- thanks for your question! Assigning to the author for consideration.

Thanks for your comment, @stevozilik.
I'm not familiar with Blazor and would not be able to help you with adapting the current example.
I suggest that you open a support request.
You might also find a solution in the Power BI Community. If not, try our support page.
Thanks,
Kesem