Custom Elements defined in isCustomElement configuration, but warning issued when used in h()"

Environment

Operating System: Darwin
Node Version:     v18.15.0
Nuxt Version:     3.8.0
CLI Version:      3.9.1
Nitro Version:    2.7.2
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      modules, experimental, ssr, vue, runtimeConfig
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction

Define a custom element in the nuxt.config.ts file using the isCustomElement configuration.

Vue: {
        compilerOptions: {
            isCustomElement: (tag) => {
                return tag === 'mjml' || /^(Mj[A-Z]|mj-)/.test(tag);
            }
        }
    },

Create a component in Nuxt.js, particularly an island component and use the h() function to create elements within the component with custom element tag.

<script lang="ts">
import { h } from 'vue'
import { ContentRendererMarkdown } from '#components'

export default defineComponent({
  props: {
    path: String,
  },
  async setup(props) {
    if (process.dev) {
      const { data } = await useAsyncData(() =>
          queryContent(props.path!).findOne()
    )
      return () => h(ContentRendererMarkdown, { value: data.value!, tag: 'mj-column' })
    }
    const value = await queryContent(props.path!).findOne()
    return () => h(ContentRendererMarkdown, { value, tag: 'mj-column' })
  },
})
</script>

(thanks @danielroe for this code https://roe.dev/blog/nuxt-server-components#case-study-nuxt-content)
Expected Behavior:
The custom element should be recognized and rendered without any error.
Actual Behavior:
The error Failed to resolve component: MjColumn occurs, indicating that the isCustomElement configuration is not being utilized in this context.
Describe the bug
When creating elements using Vue's h() function within a Nuxt.js component, specifically in an island component, the isCustomElement configuration in the nuxt.config.js file doesn't seem to be recognized. As a result, the following error is encountered:
[Vue warn]: Failed to resolve component: MjColumn
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.

Additional context
No response
Logs
No response

@danielroe https://codesandbox.io/p/sandbox/dazzling-rgb-qmzpm9 ;-)

You also need to set this at runtime in a Nuxt plugin.

I'm not sure I understand @danielroe

@maximepvrt that's because the config from the build config is only passed to the vue compiler at build time for performance reasons.
As @danielroe said, you need to configure this in a plugin since it is ran before mounting the app. You can access to the vue app instance through nuxtApp.vueApp.config

Thanks @huang-julien !
I'm updated my example with a plugin, but vue compilerOptions are not used https://codesandbox.io/p/sandbox/practical-colden-trz6sd, an idea why ?

Checking, this is coming from @nuxtjs/mdc: https://github.com/nuxt-modules/mdc/blob/main/src/runtime/components/MDCRenderer.vue#L304-L317. Directly calling resolveComponent (as that code does) will not respect any custom element configuration.
Also note that vue.compilerOptions.isCustomTag in your nuxt.config is only used for compiling <template> -> render functions. However note that this kind of thing works fine without any configuration:
defineComponent({
  render() {
    return h('mjml')
  }
})


Project still working with the redesign?

I tried to use this to download some pdfs, but didn't manage to get results. Before I dig deeper into it and do a proper writeup/debugging session, can someone please confirm that this is still working at the moment since flatex.at did some rebranding and redesign on their page recently.

It's still working for me. I am typically passing the session id though from the browser, not sure if the login works well right now.

Closing this then :)

I can also confirm it works now. Weird... Thanks for checking!


Versions older than 0.0.5 not available from pypi

A previous github version of pydna depended on version 0.0.3 and can no longer be installed. It's fine for me, since I bumped to the newer one, but it may be a problem for some other project.

I yanked the old versions since they used a different algorithm. The old versions should not be used anymore.


Vault Issuer with Kubernetes authentication cannot be automated via Helm

Describe the bug:
I've been following the documentation to setup a Vault Issuer with Kubernetes authentication (https://cert-manager.io/docs/configuration/vault/). Since I use ArgoCD (which uses Helm under the hood), I wanted a fully automated "git-ops" workflow to provisioning Issuers and ClusterIssuers.
However, I don't see how this is possible because of the way cert-manager works. The current implementation requires you specify a service account token directly (via secretRef in the Issuer or ClusterIssuer definition). If I am not mistaken, those secrets are created by Kubernetes directly, when creating a service account. Since the name is not predictable, it's impossible to reference it.
Eg.g: when you create a service account vault-issuer, the matching token will be named vault-issuer-token-xxxxx. The xxxxx part is randomly generated. There is no way to get this value via Helm.
I'm sure there is a way to do it via Kubernetes Jobs and post-install hooks, but this seems like quite a complex solution for what is supposed to be quite a simpel use-case.
Possible solutions

Let us reference a SA directly, instead of it's token, and let Cert-Manager do the token lookup.
Don't specify a SA or token at all, and just use the SA cert-manager runs with (which is how Vault Kubernetes authentication is meant to be used I guess).

/kind bug

/area vault
/priority important-longterm

@meyskens I am having the exact same issue. What does "priority important-longterm" mean? Is the work going to be scheduled in couple months or much further out? Thanks!

This is also an issue for gitops-based development, as the token names are non-deterministic.
A workaround is to create a new k8s secret of type service-account-token for the account you want and reference it directly.
Note, that when attempting this with clusterissuers you may also run into [ #2969 ]

I agree with the above request to use a specified service-account name instead of hard-coding in the service-account secret name.  In terms of DR (Disaster-Recovery), it becomes harder to automate rebuilding a cluster because the secret name will change or for that matter, if the issuer is even copied to another namespace.
On a closely related note, I would add that the Vault CA certificate could (or should) be loaded from a kubernetes Secret rather than hard-coded into the issuer at "spec.vault.caBundle".
Both of these changes can eliminate what should be considered unnecessary manually steps from the setup (or recovery) process.


fix: set grpc resolver explicitly in yandex

use passthrough resolver to be consistent with ycsdk library, and to work correctly in dual-stack environments until gRPC proposal A61 is fully implemented in grpc-go
Problem Statement
Yandex providers in external-secrets being broken in dual-stack environments with access to YC API on one IP family only.
Related Issue
fixes #3837
Proposed Changes
set resolver explicitly to passthrough to match Yandex Cloud's Go ycsdk behaviour, and to have some support for dual-stack backends from Go's standard net library instead of none from gRPC-Go itself.
Checklist

[x] I have read the contribution guidelines
[x] All commits are signed with git commit --signoff
[x] My changes have reasonable test coverage
[ ] All tests pass with make test
[ ] I ensured my PR is ready for review with make reviewable

hi @stek29 ! We have some american-english-opinionated linting errors! 😄  would you mind fixing them?

@gusfcarvalho should be fixed now

I believe I can’t do anything about License Compliance check, could you please take a look at it?


Diff does not report on request param extensions

Problem statement
PR #2936 added diff support for extensions. However, extensions in the request parameters were missed.

Was fixed with #2986 . Closing.


Add license attribute

https://docs.npmjs.com/files/package.json#license
http://npm1k.org/

This can be closed because it was handled in fe33b5da162de448a88eb04c18b529565e85ac1f

thanks


Disable pre-commit end-of-file fixing for infofiles

pre-commit removes the last line in precomputed infofiles, which can cause issues when directly comparing outputs. I have been working around by manually skipping the infofiles when committing, but this should be something we configure.

Are the issues caused because one of the backend libraries (cv/ts) writes info files with an extra blank line, and that for testing we're doing file comparisons regardless of file type?
Could be compare info files by a different method, aka read it as dict and compare the dict?

Yeah, that's what's causing the issue.
It would be smarter to compare the infofiles that way, but I think relying on binary comparison is also not terrible (if the outputs don't exactly match, it's something that really should raise an alarm at least).


Failures with #anchors: file not found

I have a website with this in the HTML:

  Outcomes

Using lychee main (1780aa0daa70462e296f9811e06178f13fd945db, v0.18.0) or lychee v0.17.0, and calling it like this:
lychee --threads 1 --cache --config ./lychee.prod.toml --verbose --base "$(realpath ./dist)" ./dist

and a lychee.prod.toml containing:
cache = true
include_mail = true
max_cache_age = "1w"
max_redirects = 5

exclude = [
# a few unrelated entries...
]

I get this error:
[ERROR] file:///Users/grahamc/src/github.com/DeterminateSystems/website/dist/%23outcomes | Cannot find file

Can you try 0.16.0? Might be a duplicate of #1457, https://github.com/lycheeverse/lychee/issues/1577, https://github.com/lycheeverse/lychee/issues/1574. I basically broke anchors/fragments. 😬

I'll give it a try, @mre! Thank you! By the way, while I did just open up three issues, we are very happy with Lychee. It works very well for us, and I'm grateful for the project. Thank you.

You're right, totally solved on v0.16.0! Thank you!


Bubble open generic registrations from parent scopes

Ensure that registered open generics can be resolved from child containers.

Any chance we can get a unit test for this?

This should have made the existing Resolve_RegisteredOpenGenericInParent_CanBeResolvedByChild() test pass, but it doesn't. #137 is the correct way to get parent open generic registrations from a child container.


Upgrade to Stack lts-22.12 for aarch64 support

Building bond on Apple Silicon is impossible today. The haskell-stack installed during setup provides the system with ghc-9.8.2, which is rejected by the Stack resolver lts-14.4 (ghc-8.6.5) defined in the compiler/stack.yaml file.
You can see it rejects newer versions of ghc.
   2024-03-06 09:12:13.992344: [debug] Not using compiler at
  "/opt/homebrew/Cellar/ghc/9.8.2/bin/ghc-9.8.2": PrettyException
  UnwantedCompilerVersion

Changing the resolver to lts-22.12 allows the build to pass the initial checks, but compilation ultimately fails on the bond source code. I imagine there are breaking changes migrating from ghc 8.x to 9.x, but Apple Silicon support wasn't added until 9.2.x and later (and is still experimental, IIRC).
Example 1:
/Users/<me>/git-projects/bond/compiler/src/Language/Bond/Syntax/JSON.hs:84:19: error: [GHC-39999]
    • No instance for ‘FromJSON TypeParam’ arising from a use of ‘.:’
    • In the second argument of ‘(<$>)’, namely ‘o .: "value"’
      In the expression: BT_TypeParam <$> o .: "value"
      In a case alternative:
          String "parameter" -> BT_TypeParam <$> o .: "value"
   |
84 |                 o .: "value"
   |                   ^^

Example 2:
/Users/<me>/git-projects/bond/compiler/src/Language/Bond/Syntax/Util.hs:64:32: error: [-Wunused-record-wildcards, Werror=unused-record-wildcards]
    No variables bound in the record wildcard match are used
      Possible fix: omit the ‘..’
   |
64 | isScalar (BT_UserDefined Enum {..} _) = True
   |

Bond running on native Apple Silicon isn't something that we need at Microsoft ourselves. We have no plan to invest in this at present. The architectures we target with full support are only x86 and x64 only.


SAMPLE_TEXTURE2D_ARRAY_SHADOW cannot map expression to ps_4_0 instruction on DX12

Another problem is why the editor is blurred?There don't have a post pocessing gameobject.
My enviroment is Windows10,gtx1650.

Interesting. I'll check the first problem, never met it before.
For the blur problem, go to SRPAsset's inspector -> Dither Transparent Params -> Untick "Blur On" option. This gaussian blur effect is originally implemented to ease the "dithering feeling" of dither transparency. However, the stencil buffer in SRP is currently in a mess, so the blur effect becomes fullscreen. You can just disable it now. Also, the support for true transparent objects will be added soon.

I figure out the first problem.It's because the Tex2DArray need SM5.0 on DX11.But the Sun shadow still can't be drew correctly.

I'll check dx11's api. I don't have a win laptop around right now, gonna take some time.


ScanAndCount not assigning to the model unless Limit is applied

The behaviour is different from the one that was in go-pg which we are migrating from.
type User struct {
	ID        string    `bun:",pk"`
        Name. string
	CreatedAt time.Time
	UpdatedAt time.Time
}

Having 5 records in the DB, invoke the following blocks:
Example 1:
var users []model.User

count, err := db.NewSelect().Model(&users).ScanAndCount(ctx)
if err != nil {
    panic(err)
}

// count = 5
// but users is empty

Example 2:
var users []model.User

count, err := db.NewSelect().Model(&users).Limit(5).ScanAndCount(ctx)
if err != nil {
    panic(err)
}

// count = 5
// but users is properly assigned

Not sure if it's intended, but cannot find it documented anywhere, so it looks wrong to me.

This is a recent regression. Should be fixed by https://github.com/uptrace/bun/pull/630


Settings editor UI is slow to update and sometimes renders out of date values

When changing settings, we debounce edits, then rerender the whole tree when the edit actually happens, really just to get the "Modified" label to show up. We try to maintain focus on the control because the user may still be editing it.
This leads to a couple problems which aren't blocking anyone right now, but it isn't quite right.

If you edit a setting then quickly select a different setting, it will render the old value until the configuration service comes back with the new value. This will usually be quick but could be slow if saving settings.json is slow
When refreshing the list while the user is typing, the cursor position may not be restored correctly. e.g. with (decreasing the debounce to make it easier to repro):

We need to

Not render the setting row that the user is currently editing, but show the "Modified" label when they start changing the value

The tree only lets us rerender a row from scratch, so we probably have to resort to hacks for this

Keep a local copy of the configuration that reflects the latest edits and resolves them with the slightly out of date config service

If user sends edit A and B, then config service notifies us that edit A happened, we need to know not to render the out of date edit A

I did not experience issue like this while testing settings today -> verified


License?

Hi!
I am currently writing my Bachelor thesis and for that, I am conducting a study regarding the effectiveness on Java Code Obfuscation. For that purpose, I would like to use your program.
The problem is that there is no license information to be found and I would really like to know what license this code is available under and whether or not I can use it for my study.
Thanks in advance

Hi,
I've added a BSD 3-Clause Open Source license which should mean you are free to use my program in your thesis.
It's been a long time since I looked at it but please don't hesitate to ask if you have any questions.

Thanks, that solves everything.


Update decimal validation rule to allow validation of signed numbers

This PR allows signed numbers to pass through decimal validation rule.
Previously

decimal:2 will fail validation of -1.23 even though it is numeric and has exactly two decimal places.

Now

decimal:2 will pass the validation of -1.23

Extension
Even though no positive numbers start with + sign, there might be a scenario where handling numeric values inside string quotes include the sign. This PR extends the existing validation rule to allow presence of it.

decimal:2 will pass validation of +1.23

I don't understand why you modified any existing tests. Just add new test cases.


Force update to 0.68.56

Please select one of the following

[ ] I am removing an existing difference between facebook/react-native and microsoft/react-native-macos :thumbsup:
[ ] I am cherry-picking a change from Facebook's react-native into microsoft/react-native-macos :thumbsup:
[ ] I am making a fix / change for the macOS implementation of react-native
[x] I am making a change required for Microsoft usage of react-native

Summary
Force an update to 0.68.56.
A couple of days ago, our version bump pipeline failed to run to completion due to a merge conflict, so 0.68.56 published to NPM, but the version changes didn't get checked into the repo.
This fixes that. The next version bump to 0.68.57 should clean things up if all goes well.

Probably also needs a pod install ?


Debug flaky TestStreamForServer test

Describe the bug
On bump golang.org/x/net from 0.16.0 to 0.17.0 tests can fail on Send reporting a closed request body error:
--- FAIL: TestStreamForServer (0.25s)
    --- FAIL: TestStreamForServer/get-spec (0.37s)
        connect_ext_test.go:1562:
            assertion:	assert.Nil
            got:	unknown: EOF

To Reproduce
go test -run=TestStreamForServer -count=1000

Additional context
Tracing down the calls:

Write returns an io.EOF error from a close on the request body (io.ErrClosedPipe)
Close is called by the transport
abortStream from a process reset stream frame with the error:

stream error: stream ID 3; NO_ERROR; received from peer:

Unrelated to changes in x/net 0.17.0. Occurs in the latest v1.12 release.

Hmm. Do you know why the stream is being aborted? That error message ("NO_ERROR received from peer") suggests the server sent a GOAWAY frame with error code NO_ERROR, which is supposed to mean that the server is gracefully shutting down. Is there a possible race with an RPC operation completing the server being shutdown prematurely? (Like maybe there's a defer function that should instead be a t.Cleanup function somewhere?)

The PR goes into the details.

Okay, moving this convo to the PR.

Would be good to discuss the intended error behaviour here. I think that Send(nil) should always succeed when initializing the request headers. From the get-spec test above, the behaviour that Send(nil) could return io.EOF is surprising to me and I'd expect shouldn't happen before calling CloseRequest:
https://github.com/connectrpc/connect-go/blob/20b5723aa3c09d35c0ce1b3b120796b5382388fd/connect_ext_test.go#L1561-L1563
Currently Send(nil) wait's for request body read. The behaviour of io.Reader states:

If len(p) == 0, Read should always return n == 0. It may return a non-nil error if some error condition is known, such as EOF.
Implementations of Read are discouraged from returning a zero byte count with a nil error, except when len(p) == 0. Callers should treat a return of 0 and nil as indicating that nothing happened; in particular it does not indicate EOF.

We could also remove the call to Write and instead call ensureRequestMade() to avoid capturing Close errors. I think this behaviour would follow the godoc for Send(nil).
https://github.com/connectrpc/connect-go/blob/20b5723aa3c09d35c0ce1b3b120796b5382388fd/duplex_http_call.go#L98-L101

I think this behaviour would follow the godoc for Send(nil).

For reference, the actual Go docs for Send are below.
connect.ClientStreamForClient:

Send a message to the server. The first call to Send also sends the request headers.
If the server returns an error, Send returns an error that wraps io.EOF. Clients should check for case using the standard library's errors.Is and unmarshal the error using CloseAndReceive.

connect.BidiStreamForClient:

Send a message to the server. The first call to Send also sends the request headers. To send just the request headers, without a body, call Send with a nil pointer.
If the server returns an error, Send returns an error that wraps io.EOF. Clients should check for EOF using the standard library's errors.Is and call Receive to retrieve the error.

I see nothing wrong with the described behavior (aside from the fact that this blurb about a nil argument is omitted from the client-stream docs). They do not suggest anything special about the use of nil other than sending request headers without a body message.  They clearly state that the method returns io.EOF if the server returns an error, regardless of whether the argument is nil or not.
Special-casing the behavior (the opposite of uniformity) can make an API harder to reason about and harder to use (and potentially harder to implement). I don't see the value of doing so 🤷

Would be good to discuss the intended error behaviour here.

This issue is about fixing a flaky test. And the flaky test could be remedied without changing any behavior. If you want to discuss changing the behavior (and changing/refining the specs), I think that calls for creating a separate issue, instead of doing it here. Since the test can be de-flaked without changing the behavior (by instead relaxing assertions), that means the current PR doesn't need to be blocked on the outcome of such a discussion.

Your last comment over in the PR helps me understand the situation more clearly. I think I misunderstood your suggestion to never return errors for Send(nil), and I definitely was not grok'ing this:

There are client Sends that are never matched by a server Receive.

The above doesn't seem aberrant to me since a send doesn't have to be received. But I misunderstood how this caused the issue. I think I would have worded it: "the handler closes the stream with a non-error response without accepting any messages".
I think I understand the issue better now. Apologies for being dense about it before. I was interpreting "behavior change" and your previous proposal too broadly. But I do see now that Send(nil) should indeed return nil, even if the server has closed the stream, under the following conditions:

If zero actual messages have been sent or received (so this send is clearly intended to only send headers).
If the error returned from Receive would be io.EOF. In other words: the stream is closed with no error.

I've changed the fix to check if the Send(nil) caused the request to be sent. Only then do we avoid writing the nil checking the state of the io.Pipe. Afterwards any Send(nil) will write.
Sorry for the confusion. I've revised the description on the ticket to hopefully clarify the issue.

Sorry for the confusion.

Nah, not your fault. I think I was splitting my attention too many ways and not spending enough time to truly comprehend the issue here before providing that earlier feedback.


[dart:io] Reverse DNS lookup on LAN ip Android regression

Reverse DNS lookup on LAN IP Android does not work in the last Flutter version.
I understand that this is dart-lang and my issue is with Flutter Android but I got redirected https://github.com/flutter/flutter/issues/140506
Can reproduce for Android, tested also on Flutter Linux and couldn't reproduce.
I think this is a regression.
Only for local IP (LAN).

Create an app and prepare an Android device.
Find a local network's IP with a hostname.
Add internet permission to Android <uses-permission android:name="android.permission.INTERNET"/>
Paste the example code and replace ip_with_host_name with the IP you found.

Getting an error in the console that the devices can't be found.
Logs
Logs
E/flutter ( 6212): [ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: SocketException: Failed reverse host lookup (OS Error: hostname nor servname provided, or not known, errno = 8), address = <IP_ADDRESS>
E/flutter ( 6212): #0      _NativeSocket.reverseLookup.<anonymous closure> (dart:io-patch/socket_patch.dart:538:9)
E/flutter ( 6212): <asynchronous suspension>
E/flutter ( 6212): #1      _MyHomePageState.initialize (package:untitled/main.dart:42:18)
E/flutter ( 6212): <asynchronous suspension>

Code sample
Code sample
import 'dart:io';

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Demo',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key});

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  void initState() {
    super.initState();

    initialize();
  }

  initialize() async {
    print('go');
    print('Ip ${(await InternetAddress('ip_with_host_name').reverse()).host}');
  }

  @override
  Widget build(BuildContext context) {
    return const Scaffold(
      body: SizedBox(),
    );
  }
}

Flutter Doctor output
Doctor output
Flutter 3.16.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 78666c8dc5 (2 days ago) • 2023-12-19 16:14:14 -0800
Engine • revision 3f3e560236
Tools • Dart 3.2.3 • DevTools 2.28.4

@guyluz11 You mention above that this is a regression.
Which version onwards you are seeing this failure. That would help us track down the potential change which could have triggered the regression.

I can't really tell sorry, I'm pretty sure it worked a year ago.

@guyluz11 Have you also upgraded the version of Android you are using or is it the same version you had when it was working? I am trying to determine if there could be a potential regression in Android OS.

Android version got upgraded as well

InternetAddress.reverse() uses getnameinfo on Android.

I have the same problem, tested on Android emulator starting from version 9

Not sure if there is anything to do on the Dart side if this is a regression in Android's getnameinfo function.


B1.5

Build against Scala 2.10 finished with failure

Build against Scala 2.11 finished with failure


Added configurable god behavior

I was originally making this for personal use, but figured others might also want this feature so heres a PR for it.
Gods behaviors can now be configured via the config file, including adding / removing behaviors and modifying the amount of liked/disliked behaviors.

This looks good, I was actually wanting to implement this system myself but I'm glad you beat me to it. I'll test this out and if it works for me I'll merge it in. Thanks!


[Bug]: Markdown list formatting is busted

What happened?
The following markdown produces weird formatting. This is probably something to do with the CSS classes used in the markdown component.
# Excellent, you have completed training!

_Before we begin, we want to check that you got everything._

## Review Art Game Instructions

- The **buyer** decides whether to pay **50 points** to hire an **agent** to purchase a piece of art.
- If the buyer hires the agent:

  1. The buyer is shown which piece of art to buy.
  2. The buyer sends a message to the agent, specifying which piece to purchase.

- When the agent arrives at the gallery, they realize they left their phone (with the buyer's message) at home. The agent now faces two choices:

  1. Spend **30 points** to take a cab home, retrieve the phone, and return to the gallery before it closes.
  2. Buy a piece of art **blind** (without the message).

- If the agent purchases the correct piece, the buyer earns **80 points**. If the agent buys the wrong piece, the buyer gets no additional points, and loses the **50 points** they paid the agent.

- At the end of the round, the buyer can hire the same agent to buy another piece of art.

#### Important Notes:

- If the buyer refuses to hire the agent, the game ends.
- The buyer cannot see whether the agent took a cab home to retrieve the message, only whether the agent purchased the correct piece of art.

What browsers do you see the problem on?

[ ] Firefox
[X] Chrome
[ ] Safari
[ ] Microsoft Edge

What operating system do you see the problem on?

[ ] Windows
[ ] Mac
[ ] Linux

How did we discover the bug?

[ ] Reported by participant
[ ] Observed on Sentry
[X] Found in dev

Priority
Blocking a specific study

@gumillie222 would you mind having a look at this for me?


[Radio] Radio button group should contain a 'Legend' property

In order for the radio button group component to be made accessible it should allow the user to define a <legend> element as well as defining a the <fieldset>. For example...

This can currently be hard coded when building with material ui but should really be done at the component level.
More information about these grouping controls can be found in the w3 tutorials here:
https://www.w3.org/WAI/tutorials/forms/grouping/
And details regarding there usage in accessibility can be found here:
https://dequeuniversity.com/rules/axe/2.1/radiogroup

When using a legend tag with a radio group it aligns it properly to the radio buttons but when combined with Text Field in the same form it breaks the alignment because legend puts a 2px padding
See here: https://codesandbox.io/s/j4zvvx0x4v
How should i handle that?

@slavab89 I don't get it, why would you want to use a legend with a TextField? I don't think it's semantically valid.

I dont want to use legend with a TextField but when i use legend with RadioButtons (As shown in the code example) it creates a kind of indentation and padding making both of them not aligned.
See the "Gender" text against the components of Text Field (Helper text)

@slavab89 Oh, got it! You can definitely open an issue for this :).

I think that we should be resetting the default browser style.

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain biomassiv.es has exceeded the max emails per hour (116/100 (115%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext2.iad.github.net ([<IP_ADDRESS>]:60030 helo=github-smtp2b-ext-cp1-prd.iad.github.net)
by chi-server32.websitehostserver.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.89)
(envelope-from<EMAIL_ADDRESS>id 1droVl-001Qvt-2l
for<EMAIL_ADDRESS>Tue, 12 Sep 2017 11:58:09 -0500
Date: Tue, 12 Sep 2017 09:57:29 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1505235449;
bh=nrss8o6z/mbv25Bum0p7ZP/xdugqDaCHV8mRZP/6ydU=;
h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=RtumGIx7NL0If3MX3uj9FB7BaEyORtu3gZA0q8VGCQohYtLWPu6GTSVVVptzRu3x6
DuMipiAPsviVcrdjIHvT37fMSTd1h6bJ7AlhxL4eaOcSO8ORioMtYna+gTcKL5CqS9
heJ2LUpAiGOhd/cKIYXHMyt/8nYxBLCBVjwhxrdI=
From: Olivier Tassinari<EMAIL_ADDRESS>Reply-To: callemall/material-ui<EMAIL_ADDRESS>To: callemall/material-ui<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [callemall/material-ui] [Radio] Radio button group should contain
a 'Legend' property (#7263)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_59b811f922ece_4d523feb1da5fc38538a7";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: oliviertassinari
X-GitHub-Recipient: biomassives
X-GitHub-Reason: subscribed
List-ID: callemall/material-ui <material-ui.callemall.github.com>
List-Archive: https://github.com/callemall/material-ui
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AELU4rXizM8BwtW4CujvVyxDS3BeP7Omks5shrf5gaJpZM4OGhZr
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>----==_mimepart_59b811f922ece_4d523feb1da5fc38538a7
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
@slavab89 Oh, got it! You can definitely open an issue for this :).
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/callemall/material-ui/issues/7263#issuecomment-328916386
----==_mimepart_59b811f922ece_4d523feb1da5fc38538a7
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
@slavab89 Oh, got it! You can definitely open an issue for this :).
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

----==_mimepart_59b811f922ece_4d523feb1da5fc38538a7--

This message was created automatically by mail delivery software.
A message that you sent could not be delivered to one or more of its
recipients. This is a temporary error. The following address(es) deferred:
<EMAIL_ADDRESS>Domain biomassiv.es has exceeded the max emails per hour (117/100 (117%)) allowed.  Message will be reattempted later
------- This is a copy of the message, including all the headers. ------
Received: from github-smtp2-ext4.iad.github.net ([<IP_ADDRESS>]:50813 helo=github-smtp2a-ext-cp1-prd.iad.github.net)
by chi-server32.websitehostserver.net with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256)
(Exim 4.89)
(envelope-from<EMAIL_ADDRESS>id 1droW8-001R9e-Sh
for<EMAIL_ADDRESS>Tue, 12 Sep 2017 11:58:32 -0500
Date: Tue, 12 Sep 2017 09:57:52 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com;
s=pf2014; t=1505235472;
bh=052OR6BKkIUmp0dCD8t4+cBpXWgg0vJA/60EjPxY+Zg=;
h=From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID:
List-Archive:List-Post:List-Unsubscribe:From;
b=NlvLm6JJEOUrpmHlsXgj3aAr1bWxrxWrBCFlfn+esl1IhgjK3Aos7P8fRD8ULWJOw
tZRiF/CFo2vaQmzXByrgQybNggCfzGw1DL16HxuzqsI09bRmGlyEX5szlBQKsGctyW
o7uOBzA+uiDRSYPbDjuHfusFbK4k6wPLtYAKQZdU=
From: Olivier Tassinari<EMAIL_ADDRESS>Reply-To: callemall/material-ui<EMAIL_ADDRESS>To: callemall/material-ui<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Message-ID<EMAIL_ADDRESS>In-Reply-To<EMAIL_ADDRESS>References<EMAIL_ADDRESS>Subject: Re: [callemall/material-ui] [Radio] Radio button group should contain
a 'Legend' property (#7263)
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_59b81210601a8_7b2b3ff777c15c3811278d";
charset=UTF-8
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: oliviertassinari
X-GitHub-Recipient: biomassives
X-GitHub-Reason: subscribed
List-ID: callemall/material-ui <material-ui.callemall.github.com>
List-Archive: https://github.com/callemall/material-ui
List-Post<EMAIL_ADDRESS>List-Unsubscribe<EMAIL_ADDRESS>https://github.com/notifications/unsubscribe/AELU4vUKQyagCyBqwn5pux5J8J7qq5Y5ks5shrgQgaJpZM4OGhZr
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address<EMAIL_ADDRESS>----==_mimepart_59b81210601a8_7b2b3ff777c15c3811278d
Content-Type: text/plain;
charset=UTF-8
Content-Transfer-Encoding: 7bit
I think that we should be resetting the default browser style.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/callemall/material-ui/issues/7263#issuecomment-328916538
----==_mimepart_59b81210601a8_7b2b3ff777c15c3811278d
Content-Type: text/html;
charset=UTF-8
Content-Transfer-Encoding: 7bit
I think that we should be resetting the default browser style.
—You are receiving this because you are subscribed to this thread.Reply to this email directly, view it on GitHub, or mute the thread.

----==_mimepart_59b81210601a8_7b2b3ff777c15c3811278d--


remove kaminari-mongoid gem

I rule and have completed some work on Case Manager that's ready for review!
Since we don't do any mongoid queries anymore, we can strip the mongoid-kaminari gem and just leave regular kaminari.
This pull request makes the following changes:

remove mongoid-kaminari gem

It relates to the following issue #s:

Fixes #2237

For reviewer:

Adjust the title to explain what it does for the notification email to the listserv.
Tag this PR:

feature if it contains a feature, fix, or similar. This is anything that contains a user-facing fix in some way, such as frontend changes, alterations to backend behavior, or bug fixes.
dependencies if it contains library upgrades or similar. This is anything that upgrades any dependency, such as a Gemfile update or npm package upgrade.

If it contains neither, no need to tag this PR.

Codecov Report

Merging #2240 (4bc7b21) into main (c6596a7) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #2240   +/-   ##
=======================================
  Coverage   65.51%   65.51%
=======================================
  Files          93       93
  Lines        2421     2421
=======================================
  Hits         1586     1586
  Misses        835      835

Continue to review full report at Codecov.

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


Add announcement CZI EOSS 6

Adding the announcement for the CZI EOSS 6 award
Draft for Twitter/LinkedIn post:
"Thrilled to share that @scikit_learn has been awarded a CZI-EOSS grant for cycle 6! 🎉 With this funding, we'll enhance and expand tools for predictive model evaluation and inspection. Read all about it here: https://blog.scikit-learn.org/funding/czi-eoss6-announcement/ 📝 A big thank you to @ChanZuckerberg and @WellcomeTrust for their support! #MachineLearning #OpenScience"
Cross-reference:

https://x.com/cziscience/status/1806362078527012924

Reading again, I see that the SLEP is not mentioned. So I added a line on this particular work and the ultimate goal. I think the blog post looks good. I'll merge now and I'll start to make the announcement on the different social media.

Thanks everyone.


Too many prints are slowing our loops.  Commenting out the prints.

Couldn't merge this because I didn't have the team login, but it has been implemented


Existing localizations in Storyboard overwritten

I'm trying to enable BartyCrouch for an existing project that has localized Storyboard files. When running the update interface command with the default configuration, all our existing localized strings are updated with the non localized version.
Do I misunderstand what is meant with "incremental" updates or is there something else going wrong?

With the default configuration, all keys that already have a localized value should not be "made empty", instead the translation should be kept. But if you also use the normalize task, then your keys will be sorted. Also, any keys that don't exist in your base language file will be removed from the translated languages, but this doesn't seem to be your issue at all.
Could you please send over your .bartycrouch.toml configuration file and an excerpt of your Localizable.strings file as well as its location within your project? Maybe this will clarify things.
Also which version of command line tools (swift -version) and BartyCrouch are you using?

Thanks for replying!
.bartycrouch.toml:
[update]
tasks = ["interfaces"]

[update.interfaces]
path = "."
defaultToBase = false
ignoreEmptyStrings = false
unstripped = false

[update.code]
codePath = "."
localizablePath = "."
defaultToKeys = false
additive = true
unstripped = false

[update.transform]
codePath = "."
localizablePath = "."
transformer = "foundation"
supportedLanguageEnumPath = "."
typeName = "BartyCrouch"
translateMethodName = "translate"

[update.normalize]
path = "."
sourceLocale = "en"
harmonizeWithSource = true
sortByKeys = true

[lint]
path = "."
duplicateKeys = true
emptyValues = true

Main.string (localizable strings of Main.storyboard) excerpt:
/* Class = "UITableViewController"; title = "Logs"; ObjectID = "op1-yw-FjI"; */
"op1-yw-FjI.title" = "Logs";

/* Class = "UINavigationItem"; title = "Add Log"; ObjectID = "qex-Fy-jE2"; */
"qex-Fy-jE2.title" = "Voeg log toe";

/* Class = "UILabel"; text = "Title"; ObjectID = "r5v-m6-fj7"; */
"r5v-m6-fj7.text" = "Titel";

/* Class = "UITextField"; placeholder = "Password"; ObjectID = "rZf-GN-agX"; */
"rZf-GN-agX.placeholder" = "Wachtwoord";

/* Class = "UIBarButtonItem"; title = "Item"; ObjectID = "s7H-vZ-ZMg"; */
"s7H-vZ-ZMg.title" = "Item";

If I run bartycrouch, all those localized keys will be reverted to their Base language counterparts.
Location: Project\nl.lproj\Main.strings
BartyCrouch version: Version: 4.0.0
swift version: Apple Swift version 5.0.1 (swiftlang-1<IP_ADDRESS> clang-1<IP_ADDRESS>)

Okay, a few general things that I want to mention:

please make sure to upgrade to the latest BartyCrouch version (4.0.2)
please make sure to explicitly specify all path attributes instead of using .

But other than that everything looks correct. Are you sure that the keys when BartyCrouch overwrites the file are exactly the same? I'm not sure why this is happening, it shouldn't ...
Could you please also add the build script you are executing? Where does your .bartycrouch.yml file lie? Does it lie in the same folder as the Xcode project? Other than that, I'm not sure why this is happening. A Demo project where you can replicate this issue would be very helpful to fix this.

I also have the same issue, when the comment is translated.
If the comment is not translated, the translation is maintained.
https://github.com/aahung/Unshaky

@aahung Thank you for reporting the issue. I just checked out Unshaky, configured BartyCrouch there and can confirm the issue. Will write tests to replicate this within BartyCrouch once I have a little more time and fix it. Could take a week or so though, stay tuned.

Great. It does not block my overflow, take ur time. Thanks for making this. It is a great tool, saving a lot time!

Translated comments indeed seem to trigger it!

I'm putting this on my TODO list now, will report the progress within the next weeks.

This was fixed via #182 and released in 4.2.0 and should be available via Homebrew soon. 🎉


Unable to open file with Import-Excel

HI latelly i have a problem using the import-excell function:
i am getting this wierd error, even on newly created file.

Could you say a bit more about “newly created”

Could you say a bit more about “newly created”

I ment it the way that i am unable to open new empty excel created and saved from withinn the excel not the excel whitch was prewiouselly opened by your awasome lib in past :(

unforchunatelly i canot it is in high secure enviroment and i am unable to get file from there :( could this have something to do with AIP to DLP ?

ok, if you can make a repro of the issue with a sheet that does not have sensitive data I can better troubleshoot.


ZSH integration

This is not an issue per se, but I wrote a small zsh function to integrate up:
zle-upify() {
    buf="$(echo "$BUFFER" | sed 's/[ |]*$//')"
    tmp="$(mktemp)"
    eval "$buf |& up --unsafe-full-throttle -o '$tmp' 2>/dev/null"
    cmd="$(tail -n +2 "$tmp")"
    rm -f "$tmp"
    BUFFER="$BUFFER | $cmd"
    zle end-of-line
}
zle -N zle-upify

bindkey '^U' zle-upify

If you add this to your zshrc, Ctrl+U will run up passing the current commands output, and when you exit up with Ctrl+X, the result will replace current prompt. It's slightly easier than dealing with upN.sh files.
It was quite useful for me, I'm just sharing this so maybe you'd like to put it to README.md or somewhere people can find out.

awesome! thx @utdemir

this is fantastic and makes this up so much more convenient, even. It should really be added to the README for people to find more easily.

I'm glad you liked it @chrisgrieser !
I created a new GitHub project with it: utdemir/zsh-up. So now:

It can be used with ZSH plugin managers like antigen or zplug without having to copy-paste code.
It should be easier to link from the README


Upgrade Webpack peer dependency

Operating System: Windows 10
Node Version: 10.10
NPM Version: 6.4.0
webpack Version: 4.19.0
karma-webpack Version: 3.0.5

Feature Proposal
Upgrade peer dependency to work with Webpack ^4.x.x
When I use karma-webpack with latest versions, I get the warning message in the console:
<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>|| ^3.0.0 but none is installed. You must install peer dependencies yourself.
Feature Use Case
Resolving Webpack dependency makes no warning again.

npm i -D karma-webpack@next


Module's package.json file may make trouble

I made a npm module, and it's package.json file has main property with value index.js. It's common thing, I think.
Also, the module has a index.less file, and with less-plugin-npm-import, I import it in another less file like this:
@import "npm://module_name";

I thought this is alse common thing. But, I can't pass the grunt.
From the error message, it says there's something wrong with module_name/index.js file!

Before post a issue here directly, I try to find out why ... then, I think the answer may be here:
// node_modules/resolve/lib/async.js line147-151
                if (pkg.main) {
                    if (pkg.main === '.' || pkg.main === './'){
                        pkg.main = 'index'
                    }
                    loadAsFile(path.resolve(x, pkg.main), pkg, function (err, m, pkg) {

The resolve will try to load the main file defined in package.json file. So, as in my module's package.json, main is "index.js"...that's my fault?!
Maybe this is not the responsibility of less-plugin-npm-import. If so, I just share my solution here:
Change the "main" property's value from "index.js" to "index"!
PS: thanks for published less-plugin-npm-import, it's very useful!

@luobotang I had a problem like yours.I have installed less-plugin-npm-import in global and in my LESS file I import this module just can not work: @import "npm://brand-colors/path-to-less-file"

Closing as not an issue. (Though it would be an important addition to the docs to mention the plugin looks for package.json specified module entry if no explicit file path given).


FEATURE: Receive and export custom gauge metrics.

Other plugins can add custom gauge metrics by triggering the export_gauge_metric event. By adding the metric through an event, we don't need to add plugin-specific code behind an if statement.

Used by discourse/discourse-antivirus#15


Would like warning if no References and Links

I would like to suggest that a warning be raised if there are no References and Links in the dataset_description. It is easy to forget to include in the relief of getting a dataset to validate.

related: https://github.com/bids-standard/bids-validator/issues/524

My vote is to promote references and links to Recommended.

If the spec is updated, the schema validator will follow.


Is there a way to add a volume in image ?

Image don't allows to have a volume:
my project is a CLI that uses a folder as arg to run. I would like to run produced docker image with a volume to bind to some host folder
Expected behavior:
add some volume parameter when configuring maven/gradle plugin

Hi @laurentleseigneur , thanks for your suggestions! Currently we do not provide configuration for setting the volume, but we'll look into this as a potential feature.

Hey @coollog wanna some help with these? This seems cool.

Hey @GuustavoPaiva , we’d be glad to have your help on this! Let us know if you have any questions. One thing is that this is probably better done as multiple PRs, like one for the jib-core changes, one for the jib-maven-plugin changes, and one for the jib-gradle-plugin changes.

@GuustavoPaiva , let us know if you'd like to handle the jib-maven-plugin/jib-gradle-plugin changes as well!

Hey @coollog I plan to do this by the end of this week, is it fine?

@GuustavoPaiva sure, we welcome your help.

Fixed by #1278. @GuustavoPaiva thanks again for your help!

thanks you all for adding this feature in Jib!


I find it very confusing that tab on a focus row doesn't move you to the next row when at the end. It moves to the terminal panel

Testing #107610

Focus a row
tab through the elements
after being on the tool action the next tab moves you to the terminal tab complete out of the settings editor.

This is by design. Previously it worked this way and was impossible to tab out of the settings editor. Now it works more similarly to other editors as a tab target and doesn't keep your cursor forever.


Compilation error with context bounds

Hello there!
Compilation of the following code will fail
import monocle.Lens
import monocle.macros.GenLens

trait Foo[T]
trait Bar[T]

case class A[T: Foo](s: A.S[T]) {
  private val lens: Lens[A.S[T], Bar[T]] = GenLens[A.S[T]](_.bar)
}

object A {
  case class S[T: Foo](bar: Bar[T])
}

in Scala 3 with the following error
[error] 8 |  private val lens: Lens[A.S[T], Bar[T]] = GenLens[A.S[T]](_.bar)
[error]   |                                           ^^^^^^^^^^^^^^^^^^^^^^
[error]   |Exception occurred while executing macro expansion.
[error]   |java.lang.Exception: Expected an expression. This is a partially applied Term. Try eta-expanding the term first.

and in Scala 2.13 with
[error] could not find implicit value for evidence parameter of type Foo[T]
[error]   private val lens: Lens[A.S[T], Bar[T]] = GenLens[A.S[T]](_.bar)
[error]                                                           ^

Interestingly, the last version that appears to work is 1.5.1-cats on Scala 2.11 (but not on Scala 2.12.)

I had a look into the issue in Scala 2.13 and as far as I can see the issue is located in the lens's modifyF method because it has a context bound for cats.Functor. Due to macro magic, the Functor evidence is named like it were the first evidence in the source file, i.e. like the evidence for Foo of the enclosing class A, so the evidence for Foo is shadowed and hence unavailable in modifyF's function body where it is needed for copy.
That means one workaround for the issue in Scala 2.13 is putting another class with a context bound above the case class to rename the evidences below it, like this:
import monocle.Lens
import monocle.macros.GenLens

trait Foo[T]
trait Bar[T]

private class IncrementAllEvidencesBelow[T: Foo]()

case class A[T: Foo](s: A.S[T]) {
  private val lens: Lens[A.S[T], Bar[T]] = GenLens[A.S[T]](_.bar)
}

object A {
  case class S[T: Foo](bar: Bar[T])
}

Thanks for investigating. Do you think it will solve the problem if we change https://github.com/optics-dev/Monocle/blob/master/macro/src/main/scala-2.x/monocle/macros/internal/Macro.scala#L100
from:
override def modifyF[$F[_]: _root_.cats.Functor](f: $aTpe => $F[$bTpe])(s: $sTpe): $F[$tTpe] =
          _root_.cats.Functor[$F].map(f(s.$fieldMethod))(a => s.copy($field = a))

to:
override def modifyF[$F[_[](f: $aTpe => $F[$bTpe])(s: $sTpe)(implicit evFunctor: _root_.cats.Functor[F]): $F[$tTpe] =
          _root_.cats.Functor[$F].map(f(s.$fieldMethod))(a => s.copy($field = a))

I suggest using a freshName too, to make a shadowing conflict less likely. I created a (naive) PR accordingly.

Good call, I completely forgot about freshName. Do you want me to cut a release with this fix?

Thanks for the quick merge! A release for this fix is not needed from my end.
I'm also trying to look into the issue in Scala 3.


Translation Helper with underscore function support

[x] Added or updated tests
[x] Documented user facing changes
[x] Updated CHANGELOG.md

Resolves #1227
Changes
The __() translation helper behaves very similar to trans() except when calling them without arguments. The TransExtension has been extended to also use the mixed type when an argument is supplied for the __() helper, like trans().
Breaking changes
None.

Very nice work, Niek!

Hi,
Thank you for this.
But looks like this could be simplified further with conditional return types. So can you do these changes:

You can delete the TransExtension class, it's test, and the mention from extension.neon
Then you can add the stubs for trans and __ to https://github.com/nunomaduro/larastan/blob/ab0cca9384605d5af0ac4170230849113b8344c5/stubs/Helpers.stub For example for trans return type can be @return ($key is null ? \Illuminate\Contracts\Translation\Translator : mixed) Similar for __
And for the tests, you can add a new file to tests/Type/data directory. You can check the other tests for how to test it. And don't forget to add the file to the list in GeneralTypeTest

If this is too confusing or too much to do, no problem, just let me know and I can do it 😊

I'm having trouble implementing this, getting these errors:
Implementation in stubs/Helpers.stub
/**
 * Translate the given message.
 *
 * @param  string|null  $key
 * @param  array<string, string>  $replace
 * @param  string|null  $locale
 * @return ($key is null ? \Illuminate\Contracts\Translation\Translator : mixed)
 */
function trans($key = null, $replace = [], $locale = null)
{
    if (is_null($key)) {
        return app('translator');
    }

    return app('translator')->get($key, $replace, $locale);
}

Tests are failing:
{
    "totals": {
        "errors": 0,
        "file_errors": 1
    },
    "files": {
        "\/home\/niek\/coding\/larastan\/src\/..\/stubs\/Helpers.stub": {
            "errors": 1,
            "messages": [
                {
                    "message": "Function trans() has invalid return type Illuminate\\Contracts\\Translation\\Translator.",
                    "line": 143,
                    "ignorable": false
                }
            ]
        }
    },
    "errors": []
}

I see! Stubs should contain all referenced classes.
Please add namespace Illuminate\Contracts\Translation; interface Translator {} in Contracts/Translation.php
interface Translator

Perfect. Thank you!


Email template - When drag email subject data it shows message

Describe the bug

when we select all text in email subject and drag outside it shows message
same thing is happening with email template also

https://www.berrycast.com/conversations/efa2ddd0-a01f-5396-b4b7-5e79a4eb8db9


Debug picker: consider to show a gear icon to configure config

Compare with tasks:

I wonder why debug does not have this action:

With the new quick access, this is trivial to add and I would only add it there since we go with it soon. Here is how tasks does it, I literally just need the code to configure a debug config:
https://github.com/microsoft/vscode/blob/cb361ac3a4d9a4fee8443690cdf98efd4f4af626/src/vs/workbench/contrib/tasks/browser/tasksQuickAccess.ts#L128-L136
Challenge is there seems to be 2 entries in debug quick open:

ILaunch
config { launch: ILaunch, name: string, presentation?: IConfigPresentation }

OpenConfigFile would have to add an argument to open on a specific name here
So that opening config files opens on the correct location.
Not sure how tasks does it, and if they can open on the exact line number. Because without the line number the experience is not that neat.
And you would just use launch.openConfigFIle if it is just an ILaunch, or launch.openConfigFile(name) if there is a name
For now opening to PRs. If nobody does it I can look into it in a couple of weeks.

@isidorn opened https://github.com/microsoft/vscode/pull/92382. This was actually easier than I thought. Let me know why openConfigFile would not focus on the launch I picked, I would probably expect that. Otherwise seems to work fine.
To try it out you can do F1 > Quick Access > Debug

Commented on the PR, thanks a lot for creating it.

via https://github.com/microsoft/vscode/commit/b8c1023dd8114b8821c28ce558634fe8c0f5d04d


Fix #15678: attribute is not defined

Q
A

Is bugfix?
yes

New feature?
no

Breaks BC?
no

Tests pass?
yes

Fixed issues
#15678

Please add a line for changelog.

Merged. Thank you!


Skyrim VR not showing up on headset

I tried to get ALVR to work with my oculus go and skyrim vr, but it doesn't show up on the headset, only on my computer. This doesn't happen with any other games besides doom vfr, it works fine with games like beat saber and others that I don't even have the controllers for.

Have absolutely same problem for two days now (first time trying stream skyrim vr). Though works with other games.

Have you tried Room setup? It's may be caused by height of your head. Put 150cm(or whatever you like) in height from floor.
And enable "Display VR View" on SteamVR and make sure game scene is correctly rendered.

I've made these steps, steamVR room is shown, but as soon as i start skyrimVR the picture in helmet changes from steamVR room to dark gray space of alvr (same as white when connection asked for, but dark gray and with window with loading animation) and nothing happens. I hear sounds of started game, see the game on computer but headset doesnt show it.

Can you provide screenshot?
Try "Apply offset" on Other tab. Put the values like -1.5 or 1.5 on second text box (which mean height offset) and press Save.

Thank you, polygraphene, for your patience and help.
I solved problem by changing nvidia settings for Skyrim VR game in Nvidia Inspector - skyrim needs nvidia control panel action to force usage of right GPU (the problem is common for skyrim, but absent in other games). But in some new windows 10 versions there is no such control panel available at all. So whoever also has this problem and can not fix it by assigning Nvidia gpu through control panel (common solution in internet) because there is no control panel in OS or game just wont start from it - check the Nexusmods site in section for Skyrim Special Edition for "Possible Dark Face Fix - Player (NVidia only)" solution which also fixes SkyrimVR broken video connection between computer and Oculus Go headset through ALVR.


TextExtra in KryptonForm when using KryptonRibbon

Hello everybody,
I'm working on program that uses the KryptonToolkit and the KryptonRibbon.
I've got an issue with the TextExtra in the KryptonForm when using KryptonRibbon on it.
This issue is not present without the KryptonRibbon.
This issue is also present in the repository ComponentFactory/Krypton.git

OS: Win 10 1809 (17763.292)
Have you any solutions for this issue?
Best regards

Transferred to 5.470


CSS refresh then reload

I'm having a bit of a problem when saving css files. The file quickly gets reloaded in the browser, then a second of so later, the whole browser refreshes.
I like the css update, and would happily keep that without the subsequent reload.
This is my current rule:
guard 'livereload' do
	extensions = [:css, :js, :html, :png, :gif, :jpg, :jpeg]
	watch(%r{templates/.+\.(#{extensions * '|'})})
end

I've found apply_css_live: false and that means that the page just refreshes which is fine, but I kind of like the speed of the live css application too :) Perhaps I can have two rules, one for css that doesn't trigger a full refresh, and one for the rest?

I think you can handle that with 2 rules:
guard 'livereload', {apply_css_live: true} do
    extensions = [:css, :js, :html, :png, :gif, :jpg, :jpeg]
    watch(%r{templates/.+\.(#{extensions * '|'})})
end

guard 'livereload', {apply_css_live: false} do
    extensions = [:js, :html, :png, :gif, :jpg, :jpeg]
    watch(%r{templates/.+\.(#{extensions * '|'})})
end

Does this help?

Thanks @e2, I tried that but it didn't work as expected. I then noticed that the regex was too permissive and was detecting a change to files like main.css.map. I put an end-of-string constraint into the regex and it works like a charm now with just the one rule:
guard 'livereload', apply_css_live: true do
	extensions = [:css, :js, :html, :png, :gif, :jpg, :jpeg]
	watch(%r{templates/.+\.(#{extensions * '|'})\z})
end

Thanks! I added a test, fixed the template and merged to master.

You're welcome :) Glad to be of some help. I assume the \z is the better approach vs $? Is it only ever receiving one path at a time?

Yes, the watch is matched against all files individually (out of the batch of changed files).
The "\z" and "$" make no difference, unless people have newlines in their file names (unlikely).
If you have any suggestions, feel free to open issues with ideas. I'm sometimes too deep into these projects, so it's easy for me to miss the obvious.
Tweaks like these seem small, but they actually save people a lot of time and frustration - and that's a big thing.

Thanks @e2, that makes sense to me. My template developer is much happier with the performance of not having to refresh the whole page now :)
Thanks also for your feedback. It's great to hear these things make a difference for others :)


Use symlink tree with next.js to trick it into thinking we don't use node_modules for first party stuff.

TODO: need to remove the symlinked stuff from the node_modules depset!
or do some other fuckery I havent worked out yet.

i think here actually i can make a local link from node_modules/monorepo to monorepo/


app/meson.build:59:4: ERROR: C shared or static library 'avcodec-58' not found

I get error on command 'make -f ./Makefile.CrossWindows '
developer@developer:~/scrcpy$ make -f ./Makefile.CrossWindows
./gradlew clean

BUILD SUCCESSFUL in 2s
2 actionable tasks: 2 executed
rm -rf "build-server" "build-win32" "build-win64" \
           "build-win32-noconsole" "build-win64-noconsole" "dist"
[ -d "build-server" ] || ( mkdir "build-server" && \
        meson "build-server" \
                --buildtype release -Dcompile_app=false )
The Meson build system
Version: 0.55.3
Source dir: /home/developer/scrcpy
Build dir: /home/developer/scrcpy/build-server
Build type: native build
Project name: scrcpy
Project version: 1.16
C compiler for the host machine: cc (gcc 10.2.0 "cc (Ubuntu 10.2.0-13ubuntu1) 10.2.0")
C linker for the host machine: cc ld.bfd 2.35.1
Host machine cpu family: x86_64
Host machine cpu: x86_64
Program ./scripts/build-wrapper.sh found: YES
Build targets in project: 2

Found ninja-1.10.0 at /bin/ninja
ninja -C "build-server"
ninja: Entering directory `build-server'
[0/1] Generating scrcpy-server with a custom command

BUILD SUCCESSFUL in 12s
26 actionable tasks: 26 executed
make -C prebuilt-deps prepare-win32
make[1]: Entering directory '/home/developer/scrcpy/prebuilt-deps'
SDL2-2.0.12: found
ffmpeg-4.3.1-win32-shared: not found
ffmpeg-4.3.1-win32-shared.zip: found
ffmpeg-4.3.1-win32-shared.zip: verifying checksum...
ffmpeg-4.3.1-win32-shared.zip: FAILED
sha256sum: WARNING: 1 computed checksum did NOT match
make[1]: *** [Makefile:13: prepare-ffmpeg-shared-win32] Error 1
make[1]: Leaving directory '/home/developer/scrcpy/prebuilt-deps'
make: [Makefile.CrossWindows:51: prepare-deps-win32] Error 2 (ignored)
[ -d "build-win32" ] || ( mkdir "build-win32" && \
        meson "build-win32" \
                --cross-file cross_win32.txt \
                --buildtype release --strip -Db_lto=true \
                -Dcrossbuild_windows=true \
                -Dcompile_server=false \
                -Dportable=true )
The Meson build system
Version: 0.55.3
Source dir: /home/developer/scrcpy
Build dir: /home/developer/scrcpy/build-win32
Build type: cross build
Project name: scrcpy
Project version: 1.16
C compiler for the build machine: cc (gcc 10.2.0 "cc (Ubuntu 10.2.0-13ubuntu1) 10.2.0")
C linker for the build machine: cc ld.bfd 2.35.1
C compiler for the host machine: /usr/bin/i686-w64-mingw32-gcc (gcc 9.3.0 "i686-w64-mingw32-gcc (GCC) 9.3-win32 20200320")
C linker for the host machine: /usr/bin/i686-w64-mingw32-gcc ld.bfd 2.34
Build machine cpu family: x86_64
Build machine cpu: x86_64
Host machine cpu family: x86
Host machine cpu: i686
Target machine cpu family: x86
Target machine cpu: i686
Library SDL2 found: YES
Library SDL2main found: YES

app/meson.build:59:4: ERROR: C shared or static library 'avcodec-58' not found

A full log can be found at /home/developer/scrcpy/build-win32/meson-logs/meson-log.txt
make: *** [Makefile.CrossWindows:54: build-win32] Error 1

Help please

Probably related to #1753.
ffmpeg-4.3.1-win32-shared.zip: verifying checksum...
ffmpeg-4.3.1-win32-shared.zip: FAILED
sha256sum: WARNING: 1 computed checksum did NOT match
make[1]: *** [Makefile:13: prepare-ffmpeg-shared-win32] Error 1

Where did you download ffmpeg-4.3.1-win32-shared.zip from?

ffmpeg is installed. This is not enough?
developer@developer:~$ sudo apt install ffmpeg libsdl2-2.0-0 adb
[sudo] password for developer:
Reading package lists... Done
Building dependency tree
Reading state information... Done
adb is already the newest version (1:8.1.0+r23-8).
ffmpeg is already the newest version (7:4.3.1-4ubuntu1).
libsdl2-2.0-0 is already the newest version (2.0.12+dfsg1-4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Well, you are cross compiling windows build. You can not use linux shared library for linking.

Thank you very much


syncset controller: Restore reconcile duration metric

This was (accidentally, we think?) removed via 70c7ae2e6e52ef493d6b6a487ca1d8c1aac6f927 in #437

/lgtm

@dgoodwin might want :eyes: since you set up the original metrics via #446.

/hold

The syncset controller should almost certainly be adding metrics.
/hold cancel

/retest

Nice catch, thanks @2uasimojo


ckeditor-wordcount-plugin npm packge version update

https://www.npmjs.com/package/ckeditor-wordcount-plugin
Is this npm package is based on this repository? If so is it possible to update the npm packge to the latest master version? Thank you for your answer in advance!

done!

Thank you so much! I'll close this then.


ROS2 Foxy Binary Installation Incomplete?

I just finished walking through the binary installation of ros2_foxy, and the basics seem to be working just fine.  I can run:

ros2 run demo_nodes_cpp talker
ros2 run demo_nodes_py listener

But when I run a command like: ros2 node list
I get the following error:
Failed to load entry point 'list': [WinError 193] %1 is not a valid Win32 application
Traceback (most recent call last):
File "C:\dev\ros2_foxy\Scripts\ros2-script.py", line 11, in
load_entry_point('ros2cli==0.9.5', 'console_scripts', 'ros2')()
File "C:\dev\ros2_foxy\Lib\site-packages\ros2cli\cli.py", line 39, in main
add_subparsers_on_demand(
File "C:\dev\ros2_foxy\Lib\site-packages\ros2cli\command_init_.py", line 249, in add_subparsers_on_demand
extension.add_arguments(
File "C:\dev\ros2_foxy\Lib\site-packages\ros2node\command\node.py", line 25, in add_arguments
add_subparsers_on_demand(
File "C:\dev\ros2_foxy\Lib\site-packages\ros2cli\command_init_.py", line 236, in add_subparsers_on_demand
extension = command_extensions[name]
KeyError: 'list'
Environment information:

OS version: Windows 10 2004 (OS Build 19041.264)
Chocolatey Versions:

Chocolatey v0.10.15
asio 1.12.1
bullet 2.89.0
chocolatey 0.10.15
chocolatey-core.extension <IP_ADDRESS>
chocolatey-windowsupdate.extension 1.0.4
cmake 3.17.3
cmake.install 3.17.3
cunit 2.1.3
eigen 3.3.4
graphviz <IP_ADDRESS>90211
KB2919355 1.0.20160915
KB2919442 1.0.20160915
KB2999226 1.0.20181019
KB3033929 1.0.5
KB3035131 1.0.3
log4cxx 0.10.0
python 3.8.3
python3 3.8.3
tinyxml-usestl 2.6.2
tinyxml2 6.0.0
vcredist140 14.26.28720.3
vcredist2013 12.0.40660.20180427
vcredist2015 14.0.24215.20170201

@stwolfe Hi, thanks for your reporting. Can you share what the instructions you are following for ROS 2 installation?

@seanyen Thanks for the quick response.  Here is the link I was following...
https://index.ros.org/doc/ros2/Installation/Foxy/Windows-Install-Binary/

And just to add a little color here.  All of the cli commands do the same thing:
ros2 node list
ros2 topic list
ros2 service list
ros2 action list
From what I can tell in trying to debug it is in some LoadLibrary call, but i can't be sure what it is actually trying to load.

@stwolfe Based on the error messages, it is most likely you are missing some dependencies or mixing the 32-bit Python with the 64-bit binaries. You can identify what's the Python.exe invoked here and use python -c "import sys; print(sys.version)" to see if it is a 32-bit one or 64-bit one.
In additions, our team hosts ROS 2 Eloquent build as Chocolatey package. This is an alternative way to install ROS 2 on Windows too.

will there be a foxy chocolately package released in the near future?

Hi @HorvathDawson ,
Yes, we are working on it.

@seanyen @ooeygui
I did finally get the install of ROS2 Foxy working on my system.  It was a combination of things, but basically following the script here: https://index.ros.org/doc/ros2/Installation/Foxy/.  That is after cleaning up almost the entire system and starting over.
Is there a way to get a notification when your chocolatey package is ready?
Also I tried to get the ros-dotnet package building with my ROS2 Foxy install that was working, but that failed too.  Is there any "official" .NET Bindings for ROS2?

We are contributing to https://github.com/ros2-dotnet/ros2_dotnet. ROS2.net currently doesn't support Foxy.
When the Foxy builds are ready, we'll post a notification to https://discourse.ros.org/.

Closing it. The Foxy release was out.


Chart is really short in some cases

https://rrelyea.github.io/paxlovid/?provider=Desert-View-Hospital-Alliance&zip=89048

my guess is that this was caused by the legend wrapping to 2 lines. This provider no longer exists, so it is hard to test now.
I just removed allotted from all charts, so my guess this is fixed.


Fliptru

Source name
Fliptru HQs
Source link
https://fliptru.com.br/
Source language
Português (BR)
Other details
Pode conter NSFW +18
Acknowledgements

[X] I have checked that the extension does not already exist by searching the extension listing and verified it does not appear there.
[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a meaningful title with the source name.
[X] I will fill out all of the requested information in this form.

Gostaria muito que tivesse essa extensão!


Add CLOB and BLOB to Oracle typesystem

Describe your feature request
Got "not implemented: hahaha Clob" when trying to query a table with column of type CLOB....
Thanks for your effort!

Hi @wKollendorf , thanks for the report! We will add the support for these types. Sorry for the inconvenience.

Hi @wKollendorf I saw you added these types in your local fork? Do you want to submit a PR for this?

Hi @wKollendorf , thanks for the PR. We have merged it and released newest alpha version: 0.3.1a1, which should be available when this workflow is done: https://github.com/sfu-db/connector-x/actions/runs/2322874507


webvr: Cannot read property 'isAnimating' of null

The webvr examples don't render and throw the following error:
Uncaught TypeError: Cannot read property 'isAnimating' of null
    at WebGLRenderer.animationLoop (VM562 three.js:13866)

note: I don't have a VR device to do any testing
https://htmlpreview.github.io/?https://github.com/semleti/three.ts/blob/master/examples/webvr_cubes.html
https://htmlpreview.github.io/?https://github.com/semleti/three.ts/blob/master/examples/webvr_daydream.html
https://htmlpreview.github.io/?https://github.com/semleti/three.ts/blob/master/examples/webvr_gearvr.html
https://htmlpreview.github.io/?https://github.com/semleti/three.ts/blob/master/examples/webvr_panorama.html
https://htmlpreview.github.io/?https://github.com/semleti/three.ts/blob/master/examples/webvr_rollercoaster.html
https://htmlpreview.github.io/?https://github.com/semleti/three.ts/blob/master/examples/webvr_sandbox.html
https://htmlpreview.github.io/?https://github.com/semleti/three.ts/blob/master/examples/webvr_video.html
https://htmlpreview.github.io/?https://github.com/semleti/three.ts/blob/master/examples/webvr_vive.html
https://htmlpreview.github.io/?https://github.com/semleti/three.ts/blob/master/examples/webvr_vive_dragging.html
https://htmlpreview.github.io/?https://github.com/semleti/three.ts/blob/master/examples/webvr_vive_paint.html
https://htmlpreview.github.io/?https://github.com/semleti/three.ts/blob/master/examples/webvr_vive_sculpt.html

Solved.
'this' out of scope for WebGLRenderer.animationLoop .


print() is not working as expected for blank and new line character

Godot version: 3.2.1
OS/device including version: Win 10
Issue description: print() is not working as expected for blank and new line character
Steps to reproduce:
Create a New Godot Project and paste below code
Code:
func _ready():
    print("print blank line:")
    print("")
    print("--------")
    print("print new line character:")
    print("\n")
    print("print 2 new lines character:")
    print("\n\n")
    print("--------")

Output:
print blank line:
--------
print new line character:

print 2 new lines character:

--------

Bugs:
blank doesn't output newline -> expected is it should print a blank line
\n gives 2 new lines -> expected is it should print a single New Line
\n\n gives 3 new lines -> expected is it should print a 2 New Lines
Minimal reproduction project: New Godot Project
Test.zip

\n and \n\n are expected, print always adds a newline. It works like e.g. println in Java. Although docs seem to not mention this.
As for blank line, this might be intended for some reason.

In that case there is 1 bug when you try to print blank
In java blank [System.out.println("");] gives a newline
whereas in godot [printl("")] doesn't output a newline

GDScript is not Java, therefore the fact that it differs from it is not a bug.

I think it makes sense for print("") to print a blank line. It's expected behavior in all other languages I know of.
This seems to already apply to console output, but it doesn't apply to the editor's Output log.
extends SceneTree

func _init():
	print("")
	print("")
	print("hi")
	print("")
	print("hi2")

❯ godot -s t.gd
Godot Engine v3.2.1.stable.official - https://godotengine.org
OpenGL ES 3.0 Renderer: Mesa DRI Intel(R) Haswell Mobile

hi

hi2


[CSV-304] Accessors for header/trailer comments

Add accessors for header comments (before the header row)
and trailer comments (after the last record)
Also add javadoc and tests
See https://issues.apache.org/jira/browse/CSV-304

I noticed that github is parsing the Javadoc annotation @since as a username. I apologize to the owner of that account.

Is the intent to allow comments at the start and end of a file or before and after each record?

The former. I'll explain my thinking, please correct me if I've got it wrong!
; Comment 0
A,B
; Comment 1
1,1
; Comment 2
2,2
; Comment 3

The comments attach to the following line so Comments 1 & 2 can currently be extracted from the corresponding CSVRecords and Comment 3 can never be accessed. Comment 0 is a special case. If we ask CSVParser to generate the column headings from the first record, it can't be accessed, but otherwise it's attached to "A,B" which is just a normal data record.
My intention was to allow access to Comment 0 via getHeaderComment (only in the case of generated column names) and Comment 3 via getTrailerComment (always).
I'll get onto the other issues too as they're mostly just formatting.


docker 1.6.2: System error: accessing a corrupted shared library while start new container

Hi, I got the exception below when trying to start a new container on a system that already had some running containers:
root@iZ25ascko3yZ:/var/lib/docker# docker run -it ubuntu /bin/bash
accessing a corrupted shared library
FATA[0000] Error response from daemon: Cannot start container 518652250d5617048f9c2876634b4c083fc9937823f554b35685a30c1eed3bfe: [8] System error: accessing a corrupted shared library
I'm using devicemapper as the backend storage, here is my docker version and info, let me now if any suggestions or workaround:
docker version
Client version: 1.6.2
Client API version: 1.18
Go version (client): go1.2.1
Git commit (client): 7c8fca2
OS/Arch (client): linux/amd64
Server version: 1.6.2
Server API version: 1.18
Go version (server): go1.2.1
Git commit (server): 7c8fca2
OS/Arch (server): linux/amd64

docker info
Storage Driver: devicemapper
 Pool Name: docker-202:17-1359873-pool
 Pool Blocksize: 65.54 kB
 Backing Filesystem: extfs
 Data file: /dev/loop4
 Metadata file: /dev/loop5
 Data Space Used: 2.469 GB
 Data Space Total: 107.4 GB
 Data Space Available: 102.9 GB
 Metadata Space Used: 5.612 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.142 GB
 Udev Sync Supported: true
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.77 (2012-10-15)
Execution Driver: native-0.2
Kernel Version: 3.18.0-031800-generic
Operating System: Ubuntu 14.04.2 LTS
CPUs: 4
Total Memory: 7.796 GiB
Name: iZ25ascko3yZ
ID: IW2E:IM27:KNG2:GSSL:XIQG:HC6H:JN4I:ZSLP:L7PO:YCON:TPHB:MJ6W

Thanks.

Hi!
If you are reporting a new issue, PLEASE make sure that does not have any duplicates already open.
We would like to take this time to remind you of the information we need to debug the problem you are seeing. This is an automated response so if this ticket is not about a bug, do not fret.
If you fail to provide this information within 7 days, we will close this because we cannot debug your issue. We can reopen whenever the information is provided.
Thank you.
Please see:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#reporting-other-issues
Description of problem:

`docker version`:

`docker info`:

`uname -a`:

Environment details (AWS, VirtualBox, physical, etc.):

How reproducible:

Steps to Reproduce:
1.
2.
3.

Actual Results:

Expected Results:

Additional info:

#ENEEDMOREINFO

Hi,  see my detail information below:
Description of problem:
Run into the exceptions below while starting a new container on a system that already had some running containers:
root@iZ25ascko3yZ:/var/lib/docker# docker run -it ubuntu /bin/bash
accessing a corrupted shared library
FATA[0000] Error response from daemon: Cannot start container 518652250d5617048f9c2876634b4c083fc9937823f554b35685a30c1eed3bfe: [8] System error: accessing a corrupted shared library

docker version:
Client version: 1.6.2
Client API version: 1.18
Go version (client): go1.2.1
Git commit (client): 7c8fca2
OS/Arch (client): linux/amd64
Server version: 1.6.2
Server API version: 1.18
Go version (server): go1.2.1
Git commit (server): 7c8fca2
OS/Arch (server): linux/amd64

docker info:
Client version: 1.6.2
Client API version: 1.18
Go version (client): go1.2.1
Git commit (client): 7c8fca2
OS/Arch (client): linux/amd64
Server version: 1.6.2
Server API version: 1.18
Go version (server): go1.2.1
Git commit (server): 7c8fca2
OS/Arch (server): linux/amd64
root@iZ25va7drfmZ:~# docker info
Containers: 112
Images: 178
Storage Driver: devicemapper
 Pool Name: docker-202:17-6275073-pool
 Pool Blocksize: 65.54 kB
 Backing Filesystem: extfs
 Data file: /dev/loop0
 Metadata file: /dev/loop1
 Data Space Used: 3.468 GB
 Data Space Total: 107.4 GB
 Data Space Available: 99.95 GB
 Metadata Space Used: 9.585 MB
 Metadata Space Total: 2.147 GB
 Metadata Space Available: 2.138 GB
 Udev Sync Supported: true
 Data loop file: /var/lib/docker/devicemapper/devicemapper/data
 Metadata loop file: /var/lib/docker/devicemapper/devicemapper/metadata
 Library Version: 1.02.77 (2012-10-15)
Execution Driver: native-0.2
Kernel Version: 3.13.0-32-generic
Operating System: Ubuntu 14.04.2 LTS
CPUs: 4
Total Memory: 7.797 GiB
Name: iZ25va7drfmZ
ID: 6EIB:GWCL:JMQY:O5NP:2I6A:SMCP:ZCC3:XFXF:WKQO:4COK:RCTZ:RKKK

uname -a:
Linux iZ25va7drfmZ 3.13.0-32-generic #57-Ubuntu SMP Tue Jul 15 03:51:08 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

Environment details (AWS, VirtualBox, physical, etc.):
Physical machine
How reproducible:
Steps to Reproduce:

Start some containers first, and memory on the host will be in low status:
KiB Mem:   8175580 total,  7934192 used,   241388 free,   468984 buffers

Then try to create a new container, like "docker run -d tomcat"

Then you'll see the exception above

Actual Results:
System error: accessing a corrupted shared library
Expected Results:
The container should be created normally
Additional info:

Could you help take a look at this issue? thanks!

I noticed the first comment mentions a kernel 3.18, and the second a kernel 3.13; are those different machines or did you switch kernels?

Hi thaJeztah,
Yes, I tried to upgrade the kernel version from 3.13 to 3.18 to see if this DM issue can be fixed. I also clear /var/lib/docker directory after upgrade, but seems it didn't work after just upgrade the kernel.
Thanks!

I'm going to close this as it is very old, and there's nothing in the data so far which points to a Docker issue. Sorry if you're still encountering the problem: feel free to ping me and I'll reopen if you're still experiencing this with newer Docker versions.


ESM + CommonJS single code source

Right now the implementation is duplicated between index.js and rubico.js. This was my monkeypatch to support both CommonJS and ESM. I need help to remove this duplicate and still support both types of exports.
My current thoughts on this are to look towards babel. There is also the esm module on npm, but I want to stay dependency-free. I am willing to add to dev-dependencies, however. I am not sure if esm would just be a dev depedency as I haven't looked into it that far.

Is this still an issue?

I'm resolving this issue currently, will be the next step after the _internal refactor https://github.com/a-synchronous/rubico/issues/153

This is done with https://github.com/a-synchronous/rubico/commit/28128c58f243c351415e4b6d18c7c37b71f79262


Add snyk.io integration

Add the snyk.io to our Travis implementation, so that we easily scan our code for security problems.
The organization is already set up: https://app.snyk.io/org/kohlstechnology

snyk.io does not currently support Go Modules: https://support.snyk.io/hc/en-us/articles/360000911957-Language-support


Add Random Sufffix to Link

After reading #2 and the associated ycombinator link, it seemed like the gyfcat form would be a good middle ground, so this pull request adds a random suffix from a small list of animals such as "DogHamsterGerbil" to the end of the url.  This list can easily be switched to some sort of config file to lengthen it or not, depending on how much randomness is expected.

this is not too much to generate a random path? :thinking:
please tell what you think of this idea; https://github.com/claudiodangelis/qr-filetransfer/issues/2#issuecomment-375730261

That idea is definitely less work, but I personally liked the idea of giving users the option of being able to access with other devices if they so choose, and a randomized string is harder to remember than "DogCatParrot".  All up to what the maintainer thinks is the expected use case, I just figured I'd send it in in case it's useful.

now i got it, makes sense generate a "friendly" url so the user can open wherever they want.

Considering that the life span of the URL is really short, I don't think we should focus on things that are easy to remember, but rather things that are easy to type, that's why I think that a random alphanumerical path of 4 characters would be enough to:

make the computed URL unguessable (the server listens on a random port which changes at each run)
make the URL easy to type in case of missing/failing QR decoding

Thanks to both for spending time on this, I really appreciate your help.

I had a chance to come back to this and apply your thoughts, so now it creates a random alphanumerical 4 character string to append on the end.  Lmk your thoughts

Strconv actually lets you use a-z+0-9 in conversion, so this has been fixed to provide suffixes with 36 possibilities for each char.

Also added a couple small tests so the repo can move to being fully tested

Thanks for your help @I-Dont-Remember. A few comments:

Let's fix this:

$ go test
# github.com/claudiodangelis/qr-filetransfer
./util_test.go:12:3: undefined: assert.Regexpf
FAIL	github.com/claudiodangelis/qr-filetransfer [build failed]

Regexp should be used instead of Regexpf, which is undefined (maybe you are confusing it with NotRegexpf!).

Let's remove placeholders:

Test_getAddress, Test_findIP
Honestly I don't see the point of having functions placeholders, I would rather add those a comment to this thread about tests and wait for someone to take on them.
Also, please do not add more tests to this pull request whose subject is the random suffix, or changes get harder to review!
Thanks again for your help on this

@I-Dont-Remember, oh, for some reasons the go test  command was failing and complaining about the undefined function. Will check that later.
Also, I have another comment: I just figured out that these tests will fail on Windows (I will leave an inline comment in the diff). Maybe we should get rid of tests altogether and start over with a new PR and discuss the details in the related thread. What do you say?
Thanks again for contributing!

Makes sense,  switched it over to a new pull request, #62  we can use for test discussion.

Thanks, just one more thing then we can merge it to master: the word "suffix" sounds misleading in this context, I think it should be called "path" or "url path". I left a couple inline comments. What do you think?
Thanks for moving tests to the other PR, I will review now.


Registering Sophia Antipolis for GDCR'17

Hi,
like last year, we plan to host the GDCR in our campus, a joint effort between the local software craftmanship community and the University of Nice.

Welcome to GDCR17! 🎉


Login with session id of outbound message

It's possible get data from salesforce only with session id of outbound message?

@guilhermemvo sorry but this is not supported by my client: Outbound Messages rely on SOAP and my client only supports REST. Also, this client relies on OAuth authentication but Outbound Messages do not.
FYI: there might be other technical issues with Outbound Messages but I a have no experience with them.


App Service Environment with ELB and SNAT

For an ASE with an exernal load balancer - thus a static public IP , what are the maximum number of ports for SNAT.
The documentation listed here :
(https://docs.microsoft.com/en-us/azure/load-balancer/load-balancer-outbound-connections)
states that for 1-50 Instances there are 1024 ports , soon as you go higher , the ports are reduced.
So my question is :
Can I safely assume that for an ASE with an ELB and one static public IP - the number of ports for SNAT would be 1024 given that the ASE only contains 1-50 instances , as soon as the ASE scales out past 51 instances , the number of ports would be reduced ?
As the ASE only has one static public IP - the ports would always be limited to the table as presented in the document, unless I create another ASE with a new static public IP ?
Please clarify as the documentation on App Service Environments are not clear on this and most only refer to an ASE with an ILB.
Thanks
Edited: Added doc details.

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

ID: 7e31ca36-9aa0-f429-f2fd-65ba2758c359
Version Independent ID: e201f645-18c4-f420-167c-6431d114ef5b
Content: Create an External App Service environment - Azure
Content Source: articles/app-service/environment/create-external-ase.md
Service: app-service
GitHub Login: @ccompy
Microsoft Alias: ccompy

@leroibeukes, Thanks for sharing your valuable feedback! Could you please also share the App Service Environments document that you're referring to and any specific section in the doc that you think requires more clarity?

Hi
This one : https://docs.microsoft.com/en-us/azure/app-service/environment/create-external-ase
It's outdated and not very detailed - V1 has long gone - V2 is the new one and should be properly documented.
My question relates to an ASE V2 with external VIP - Need to know how the SNAT/PAT works.
Thank you !
Le Roi

@leroibeukes, Thanks for sharing additional details. I have assigned the issue to the content author to review further and update the document as appropriate.

Hi Leroi, you assumption is correct for ASEv2. We have since launched ASEv3. With ASEv3 you initially have the same ports available as ASEv2, but you can add a NAT gateway to the subnet and boost up to 1 million ports (16 IPs). Let us know if you have further questions.
#please-close


[A11y] 1.1.1 Non-Text Content – Map Name Not Meaningful

When navigating the site with screen readers, the map is announced as 'Map'. As this item is required to be part of the focus order, due to having controls for interaction, the accessible name should be clear on the map's functionality - even if the user cannot see it.
It is our recommendation that the accessible name is update to be meaningful, such as 'Map showing a heat map of corona virus cases in the uk'
This does not comply with WCAG Level A 2.1:
1.1.1 Non-Text Content - https://www.w3.org/WAI/WCAG21/Understanding/non-text-content.html
Steps to Recreate:

Navigate to URL with screen reader enabled
Listen to page overview announced by screen reader
Observe issue

This has been observed on the following pages:
Coronavirus (COVID-19) cases in the UK
Environment:
Windows 10 – Internet Explorer 11, JAWS 2020
Windows 10 - Firefox, NVDA
macOS 10.14  - VoiceOver
This issue is known to occur on:
Believed to be global
Reproduction rate:
100% - Consistently reproducible. Occurs every time that it is attempted.
Supporting material:
Screenshot/Video
Version:
https://coronavirus.data.gov.uk/
3.Minor Impact on Functionality

 [A11y] 1.1.1 Non-Text Content – Map Name Not Meaningful

Fixed in #142, with thanks to @richardTowers for the contribution.


How i can uplaod yout bot in my server ?

Hello !
I would like to uplaod and use your bot in my server.
Can you have an installation guide or somone else who can help me ?
Thanks,
Loic

Hey Loic,
If you just want the bot on your server, you can follow this link which will invite the one that I am hosting. (I can give support in my support server)
If you wish to host it yourself, you'll need to download the project files, compile them into a jar, set up a database with the correct schema, then you'll need to get API keys for Transport for London, World of Warcraft, RuneScape and maybe others that I can't remember off the top of my head. These are then passed into the program via command line. Furthermore, you'd also need to setup a bot account with Discord and then add your key from that too.
However, since this is GitHub, you can also just remove the stuff you don't want if you wanna skip the hoops but at that point it'd be easy to start from scratch :P
I hope this helps.


Provide condition and metrics for Manifests stuck in Deleting state due to DefaultCR Warning

Description
Since the separation of Manifest state from Module state we had multiple occasions where SRE were alerted about Manifests being stuck in deletion. The reason for being stuck in Deleting state is that the related ModuleCR is in Warning state indicating that the end user is required to perform cleanups before progressing with the deletion.
While we don't want to introduce a dedicate state for this, we want to give the possibility to filter for this situation in alerting and when looking at the Manifest.

Acceptance Criteria

[ ] When ManifestCR.Status.State is Deleting
[ ] And ModuleCR.Status.State is Warning
[ ] Then ManifestCR.Status.Conditions includes

     - lastTransitionTime: <time>
       message: "Module CR is in Warning state"
       observedGeneration: <gen>
       reason: "Warning"
       status: "True"
       type: "ModuleCRWarning"

[ ] Then metric lifecycle_mgr_module_condition{module_name="<>", kyma_name="<>", condition="moduleCRWarning"} is written with value 1
[ ] ManifestCR is deleted
[ ] Then lifecycle_mgr_module_condition{module_name="<>", kyma_name="<>", condition="moduleCRWarning"} is written with value 0

Feature Testing
No response
Testing approach
No response
Attachments

touch point in KLM is probably: https://github.com/kyma-project/lifecycle-manager/blob/main/internal/declarative/v2/reconciler.go#L485-L509

Can it happen that ModuleCR transitions to another state than warning?

Once this is implemented, please let SRE know in issue 5941 that they can adapt their alerts.