Decide what is the right behavior when creating "invalid" filters.

Some of the functions to create filters can produce non-sensical filters, for example, you can call bigtable::Filter::Latest(-1).  Most likely that fails on the server side (does it? the proto documentation does not say), so maybe we should check in the client side and raise an exception.
One could argue that it is Okay though, the function did as requested, it is beyond's the client library's ability to check if your filters are semantically sensible.
Even if we decide to allow such filters to be created, we should document the effect of setting up filters with strange values.
This is a dependency for #30.

@sduskis any thoughts on what should we do when the filter builders are given semantically invalid data?
@sduskis or @mbrukman I cannot find documentation about what is the  behavior in the server when given semantically invalid values to a filter, specifically:

cells_per_column_limit_filter with n  <  0
cells_per_row_limit_filter with n < 0
cells_per_row_offset_filter with n < 0

I think the following filters simply match (or should match) nothing, and going to assume that.

value_range_filter with end < start
timestamp_range_filter with end < start
column_range_filter with end_qualifier < start_qualifier.

Is there a good place to enter these as bugs to the proto documentation?

@sduskis, @garye or @DanielMahu would be best-positioned to answer the question in this comment.

For what is worth, I wrote integration tests to check how the server behaves, so far I have found:

cells_per_column_limit_filter with n < 0: server rejects the request with `grpc::StatusCode::INVALID_ARUMENT.
cells_per_row_limit_filter with n < 0: server rejects the request with `grpc::StatusCode::INVALID_ARGUMENT.
cells_per_row_offset_filter with n < 0: server rejects the request with `grpc::StatusCode::INVALID_ARGUMENT.
row_sample_filter with probability outside the (0.0, 1.0) range is rejected with grpc::StatusCode::INVALID_ARGUMENT.  The documentation says that the allowed range is [0.0, 1.0]` for what is worth.

I still do not know where to file bugs against the protos.  It seems wrong to file an issue against the client libraries.  Thoughts?

@coryan wrote:

any thoughts on what should we do when the filter builders are given semantically invalid data?

I'm all for providing error messages sooner rather than later (so giving good feedback on invalid arguments) — just getting INVALID_ARGUMENT is much later, and I'm not sure if it comes with a good error message that says what's wrong and how to fix it.
However, I consider it a "nice to have" and not a critical feature, so don't prioritize it higher than core functionality (i.e., MVP client).
Also, I'm curious what @sduskis, @garye, @DanielMahu, and @igorbernstein2 think.

I still do not know where to file bugs against the protos. It seems wrong to file an issue against the client libraries. Thoughts?

File a bug internally (I'll contact you with more details) or just send a CL to update the proto comments; once updated internally (authoritative source), the proto files will be synced to GitHub.

I have created #148 for a post-MVP enhancement, we can close it with wontfix if we think it is a bad idea later.  I am going to document what happens with invalid filter values (in the bigtable/client/filters.h header), and then close this bug.


Snort wipes mutes

client initiating action
client receiving or observing action (or lack thereof)
timestamp
https://github.com/nostrability/nostrability/issues/47#issuecomment-2200215417
what happens
Snort wipes mutes
suggestion

Kieran advised code is in, pending merge / refresh

@karnagebitcoin lmk if you test this one in ~30 minutes


Extension type expression evaluation error when from closure parameter

Repro below (I could not find a way to remove more code than this).
import 'dart:typed_data';

void main() {
  var b = B(0);
  var list = [b];
  b.value2;
  list.forEach((b) {
    print(b.value2);
  });
}

extension type A._(Uint8List i) {
  A(int i) : this._(Uint8List.fromList([i]));

  int get value => i.elementAt(0);
}

extension type B._(A i) implements A {
  B(int i) : this._(A(i));

  bool get value2 => i.value == 0;
}

Steps:

In the above code, place a breakpoint on line 6 (b.value2) and line 8 (inside the closure)
Debug and add to watch b.value2
On the first break, you'll see true as the result (as expected).
On the second break, this is the output for expression evaluation:

Unhandled exception:
NoSuchMethodError: Class 'int' has no instance method 'elementAt'.
Receiver:<PHONE_NUMBER>20
Tried calling: elementAt(0)
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:38:5)
#1      A.value (package:bug/bug.dart:15:22)
#2      B.value2 (package:bug/bug.dart:21:24)
#3      Eval ()
#4      main.<anonymous closure> (package:bug/bug.dart:8:13)
#5      List.forEach (dart:core-patch/growable_array.dart:417:8)
#6      main (package:bug/bug.dart:7:8)
#7      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297:19)
#8      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)

CC @DanTup

Also, if you place a breakpoint on line 21 (bool get value2 => i.value == 0) and evaluate i.value you get that it is not defined. I think this is related to the problem.
evaluateInFrame: (113) Expression compilation error
org-dartlang-debug:synthetic_debug_expression:1:1: Error: The getter 'i' isn't defined for the class '_Uint8List'.
 - '_Uint8List' is from 'dart:typed_data'.
Try correcting the name to the name of an existing getter, or defining a getter or field named 'i'.
i.value
^

If you add to A the implementation:
extension type A._(Uint8List i) implements Uint8List {

When you evaluate on elementAt(0) (no i) at that line you get no errors. Maybe something like this is not being handled by the VM?

cc @bkonyi

One more thing that I'm not sure it is related but it seems that this has lots of related problems:
Change B implementation for the following and add a breakpoint on the call for foo.
extension type B._(A i) implements A {
  factory B(int i) {
    foo();
    return B._(A(i));
  }

  static void foo() {}

  bool get value2 => i.value == 0;
}

When you evaluate foo you get:
evaluateInFrame: (113) Expression compilation error
org-dartlang-debug:synthetic_debug_expression:1:1: Error: Method not found: 'foo'.
foo()
^^^

If foo was a top level function with the same implementation you'd get null as a response.

One last thing (I think 🙃) I noticed this when trying to hover a getter I had defined (like value/value2 above). I'm not sure if fixing the evaluation will fix the hover as well (it shows the same as when not debugging - the base identification), but just to be explicit that is not working.

Thanks for the detailed report @FMorschel! Having a reproduction case is extremely helpful!
FYI @johnniwinther @jensjoha, I think this might be a CFE issue?

Given that it happens when attempting to display a hover, I'm fairly sure it's an analyzer issue (either only or also).

Given that it happens when attempting to display a hover, I'm fairly sure it's an analyzer issue (either only or also).

@bwilkerson, I'm not sure I was clear enough (or I'm not aware of how it works). This is the hover output when not debugging:

This is the hover output when debugging of b:

This is the hover output when debugging of b.value2:

I was expecting to see true on this last one (since this is what is printed on the console with print).

When not debugging, the analysis server provides the hover. When you are debugging, VS Code extracts the expression under the mouse and sends it to the debugger for evaluation. Based on the screenshot above, I suspect that when that fails, VS Code falls back to using the language-server hover.
So I think the issue here is in the debugger, not correctly evaluating b.value2 and that issue might be causing the analyzer's hover to be shown (whereas if the evaluation didn't fail, it would instead show the result of the evaluation, true).

@bkonyi while there is some inconsistency on the CFE side (the line 21 thing in https://github.com/dart-lang/sdk/issues/56911#issuecomment-2420045201 --- this is caused by being paused on the getter, not inside it, making the CFE side not find the #this as being an extension type --- stepping in to it and it works as expected. I'll (try to) fix that on the CFE side) --- I do believe this is mainly a VM issue.
It seems to me the CFE compiles the right thing correctly and sends it to the VM. The VM then somehow passes an int instead of a thing of the correct type (Uint8List) when actually calling the expression (despite correctly telling the CFE that b is a Uint8List).
I can even crash the VM by asking to compile something else:
$ p b.value2
Unhandled exception:
NoSuchMethodError: Class 'int' has no instance method 'elementAt'.
Receiver:<PHONE_NUMBER>2104
Tried calling: elementAt(0)
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:38:5)
#1      A.value (issue_56911.dart:15:22)
#2      B.value2 (issue_56911.dart:21:24)
#3      Eval ()
#4      main.<anonymous closure> (issue_56911.dart:8:13)
[...]

$ p () {b.value2;}()
Internal error: ServerRpcException(Bad state: The client closed with pending request "evaluateInFrame".)
[...]

and in the terminal I now have this:
===== CRASH =====
si_signo=Segmentation fault(11), si_code=SEGV_MAPERR(1), si_addr=0x7db000ab1
version=3.7.0-edge (main) (Unknown timestamp) on "linux_x64"
pid=3315045, thread=3315072, isolate_group=main(0x55e1d5495ff0), isolate=main(0x55e1d5491130)
os=linux, arch=x64, comp=no, sim=no
isolate_instructions=55e1bc32d160, vm_instructions=55e1bc32d160
fp=7f38a8c7a6c0, sp=7f38a8c7a6b0, pc=55e1bc5dba34
  pc 0x000055e1bc5dba34 fp 0x00007f38a8c7a6c0 dart::StackFrameIterator::NextFrame+0xb4
  pc 0x000055e1bc5dcdbd fp 0x00007f38a8c7a9d0 dart::StackTraceUtils::CollectFrames+0x97d
  pc 0x000055e1bc48b013 fp 0x00007f38a8c7aa40 dart::CurrentStackTrace+0xb3
  pc 0x000055e1bc4e79d3 fp 0x00007f38a8c7ac20 dart::ThrowExceptionHelper+0x313
  pc 0x000055e1bc4e76b9 fp 0x00007f38a8c7ac40 dart::Exceptions::Throw+0x29
  pc 0x000055e1bc5b89e6 fp 0x00007f38a8c7b170 dart::DRT_Throw+0xa6
  pc 0x00007f38ab502f73 fp 0x00007f38a8c7b1b0 Unknown symbol
  pc 0x00007f38ab508426 fp 0x00007f38a8c7b1e0 Unknown symbol
  pc 0x00007f38aa228f88 fp 0x00007f38a8c7b210 Unknown symbol
  pc 0x00007f38aa22876c fp 0x00007f38a8c7b250 Unknown symbol
  pc 0x00007f38aa228141 fp 0x00007f38a8c7b288 Unknown symbol
  pc 0x00007f38aa22806a fp 0x00007f38a8c7b2b8 Unknown symbol
  pc 0x00007f38aa232255 fp 0x00007f38a8c7b2e8 Unknown symbol
  pc 0x00007f38aa232185 fp 0x00007f38a8c7b320 Unknown symbol
  pc 0x00007f38ab503426 fp 0x00007f38a8c7b390 Unknown symbol
  pc 0x000055e1bc4d4b55 fp 0x00007f38a8c7b3f0 dart::DartEntry::InvokeFunction+0x165
  pc 0x000055e1bc541a0f fp 0x00007f38a8c7b770 dart::Instance::EvaluateCompiledExpression+0x3cf
  pc 0x000055e1bc4d98ee fp 0x00007f38a8c7b7f0 dart::ActivationFrame::EvaluateCompiledExpression+0x12e
  pc 0x000055e1bc5cdec1 fp 0x00007f38a8c7b870 dart::EvaluateCompiledExpression+0x291
  pc 0x000055e1bc5c4142 fp 0x00007f38a8c7be70 dart::Service::InvokeMethod+0x512
  pc 0x000055e1bc5c44b1 fp 0x00007f38a8c7be90 dart::Service::HandleIsolateMessage+0x11
  pc 0x000055e1bc4f3ad7 fp 0x00007f38a8c7c420 dart::IsolateMessageHandler::HandleMessage+0x1f7
  pc 0x000055e1bc5167aa fp 0x00007f38a8c7c490 dart::MessageHandler::HandleMessages+0x12a
  pc 0x000055e1bc516935 fp 0x00007f38a8c7c4d0 dart::MessageHandler::HandleOOBMessages+0x45
  pc 0x000055e1bc7c437a fp 0x00007f38a8c7c560 Dart_HandleServiceMessages+0x11a
  pc 0x000055e1bc4f834d fp 0x00007f38a8c7c5b0 dart::Isolate::PauseEventHandler+0xad
  pc 0x000055e1bc4d78a5 fp 0x00007f38a8c7c750 dart::Debugger::Pause+0xf5
  pc 0x000055e1bc4dfce2 fp 0x00007f38a8c7c890 dart::Debugger::SignalPausedEvent+0xb2
  pc 0x000055e1bc4e0404 fp 0x00007f38a8c7cd40 dart::Debugger::PauseBreakpoint+0x364
  pc 0x000055e1bc5b8e3d fp 0x00007f38a8c7d330 dart::DRT_BreakpointRuntimeHandler+0x12d
  pc 0x00007f38ab502f73 fp 0x00007f38a8c7d370 Unknown symbol
  pc 0x00007f38ab503e71 fp 0x00007f38a8c7d3a0 Unknown symbol
  pc 0x00007f38aa2236af fp 0x00007f38a8c7d3d0 Unknown symbol
  pc 0x00007f38aa228412 fp 0x00007f38a8c7d428 Unknown symbol
  pc 0x00007f38aa2235e4 fp 0x00007f38a8c7d470 Unknown symbol
  pc 0x00007f38aa22617b fp 0x00007f38a8c7d498 Unknown symbol
  pc 0x00007f38aa2260b4 fp 0x00007f38a8c7d4f8 Unknown symbol
  pc 0x00007f38aa224d5e fp 0x00007f38a8c7d538 Unknown symbol
  pc 0x00007f38aa224a87 fp 0x00007f38a8c7d5a0 Unknown symbol
  pc 0x00007f38aa224310 fp 0x00007f38a8c7d5f8 Unknown symbol
  pc 0x00007f38ab503426 fp 0x00007f38a8c7d670 Unknown symbol
  pc 0x000055e1bc4d4b55 fp 0x00007f38a8c7d6d0 dart::DartEntry::InvokeFunction+0x165
  pc 0x000055e1bc4d6473 fp 0x00007f38a8c7d710 dart::DartLibraryCalls::HandleMessage+0x123
  pc 0x000055e1bc4f3ba4 fp 0x00007f38a8c7dca0 dart::IsolateMessageHandler::HandleMessage+0x2c4
  pc 0x000055e1bc5167aa fp 0x00007f38a8c7dd10 dart::MessageHandler::HandleMessages+0x12a
  pc 0x000055e1bc516baf fp 0x00007f38a8c7dd60 dart::MessageHandler::TaskCallback+0x1ff
  pc 0x000055e1bc5ec397 fp 0x00007f38a8c7dde0 dart::ThreadPool::WorkerLoop+0x127
  pc 0x000055e1bc5ec5f2 fp 0x00007f38a8c7de10 dart::ThreadPool::Worker::Main+0x72
  pc 0x000055e1bc59e8c9 fp 0x00007f38a8c7ded0 dart::ThreadStart+0xd9
-- End of DumpStackTrace
  pc 0x0000000000000000 fp 0x00007f38a8c7b1b0 sp 0x0000000000000000 [Stub] CallToRuntime
  pc 0x00007f38ab508426 fp 0x00007f38a8c7b1e0 sp 0x00007f38a8c7b1c0 [Stub] Throw
  pc 0x00007f38aa228f88 fp 0x00007f38a8c7b210 sp 0x00007f38a8c7b1f0 [Unoptimized] Object.noSuchMethod
  pc 0x00007f38aa22876c fp 0x00007f38a8c7b250 sp 0x00007f38a8c7b220 [Unoptimized]<EMAIL_ADDRESS>  pc 0x00007f38aa228141 fp 0x00007f38a8c7b288 sp 0x00007f38a8c7b260 [Unoptimized] A|get#value
  pc 0x00007f38aa22806a fp 0x00007f38a8c7b2b8 sp 0x00007f38a8c7b298 [Unoptimized] B|get#value2
  pc 0x00007f38aa232255 fp 0x00007f38a8c7b2e8 sp 0x00007f38a8c7b2c8 [Unoptimized] :Eval.<anonymous closure>
  pc 0x00007f38aa232185 fp 0x00007f38a8c7b320 sp 0x00007f38a8c7b2f8 [Unoptimized] :Eval
  pc 0x00007f38ab503426 fp 0x00007f38a8c7b390 sp 0x00007f38a8c7b330 [Stub] InvokeDartCode
Segmentation fault

I added these logging statements:
#if !defined(PRODUCT)
    for (intptr_t i = 0; i < eval_function.NumParameters(); ++i) {
      OS::PrintErr(
          "parameter_names[%ld]: %s\n", i,
          String::Handle(eval_function.ParameterNameAt(i)).ToCString());
      OS::PrintErr(
          "parameter_types[%ld]: %s\n", i,
          AbstractType::Handle(eval_function.ParameterTypeAt(i)).NameCString());
    }
    for (intptr_t i = 0; i < arguments.Length(); ++i) {
      OS::PrintErr("arguments[%ld]: address: %p, type: %s\n", i,
                   arguments.At(i).untag(),
                   Object::Handle(arguments.At(i)).JSONType());
    }
#endif  // !defined(PRODUCT)

under this line:
https://github.com/dart-lang/sdk/blob/75e6a748f7ca5f36ebb6c82a96e97714962ffa88/runtime/vm/object.cc#L4953
and then followed the reproduction steps in the issue description, and the output was:
> b.value2
parameter_names[0]: b
parameter_types[0]: Uint8List
parameter_names[1]: list
parameter_types[1]: List<Uint8List>
arguments[0]: address: 0x7f49cfdab598, type: TypedData
arguments[1]: address: 0x7f49cfdaef68, type: GrowableObjectArray
true
> b.value2
parameter_names[0]: b
parameter_types[0]: Uint8List
parameter_names[1]: list
parameter_types[1]: List<Uint8List>
arguments[0]: address: 0x7f49cfdab598, type: TypedData
Unhandled exception:
NoSuchMethodError: Class 'int' has no instance method 'elementAt'.
Receiver:<PHONE_NUMBER>7576
Tried calling: elementAt(0)
#0      Object.noSuchMethod (dart:core-patch/object_patch.dart:38:5)
#1      A.value (file:///usr/local/google/home/derekx/programming/dart-sdk/sdk/local_test_files/test_extension_types.dart:15:22)
#2      B.value2 (file:///usr/local/google/home/derekx/programming/dart-sdk/sdk/local_test_files/test_extension_types.dart:21:24)
#3      Eval ()
#4      main.<anonymous closure> (file:///usr/local/google/home/derekx/programming/dart-sdk/sdk/local_test_files/test_extension_types.dart:8:13)
#5      List.forEach (dart:core-patch/growable_array.dart:417:8)
#6      main (file:///usr/local/google/home/derekx/programming/dart-sdk/sdk/local_test_files/test_extension_types.dart:7:8)
#7      _delayEntrypointInvocation.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:297:19)
#8      _RawReceivePort._handleMessage (dart:isolate-patch/isolate_patch.dart:184:12)

The only noteworthy observation is that the VM isn't supplying an argument for list when calling eval_function when the program is paused at the second breakpoint. I'm not sure if that's what's causing the problem. I'll have to look into this more.

I'd say that the throwing one (i.e. the second evaluation) only being given 1 argument instead of 2 is pretty noteworthy?

I believe that this goes back to https://github.com/dart-lang/sdk/issues/53996#issuecomment-1822897466.  I added this logging statement:
OS::PrintErr("%s\n", js->ToCString());

under this line:
https://github.com/dart-lang/sdk/blob/be7a40dd78655709cb512a9758437d90182c2f42/runtime/vm/service.cc#L3275
and if I try to evaluate b.value2 when paused at print(b.value2) within the closure, the VM outputs
{"jsonrpc":"2.0", "result":{"param_names":["b"],"param_types":["dart:typed_data","_Uint8List","1","0"],"type_params_names":[],"type_params_bounds":[],"type_params_defaults":[],"libraryUri":"file:\/\/\/usr\/local\/google\/home\/derekx\/programming\/dart-sdk\/sdk\/local_test_files\/test_extension_types.dart","method":"<anonymous closure>","tokenPos":179,"scriptUri":"file:\/\/\/usr\/local\/google\/home\/derekx\/programming\/dart-sdk\/sdk\/local_test_files\/test_extension_types.dart","isStatic":true

So this is one of those cases that Alex mentioned in the linked comment where the problem is that "VM currently doesn't have information about variables inside closures which were not captured."

A thing that I have completely missed - and maybe it's in the comments above and I'm just missing it - is that the CFE is told that there is 1 known variable (b), but the CFE generates an expression that takes 2 (b and list). This seems to be what causes this whole thing. I'm fixing it in https://dart-review.googlesource.com/c/sdk/+/400120.


INCR clears TTL

From the Redis docs:

EXPIRE key seconds
Available since 1.0.0.
Time complexity: O(1)
Set a timeout on key. After the timeout has expired, the key will automatically be deleted. A key with an associated timeout is often said to be volatile in Redis terminology.
The timeout will only be cleared by commands that delete or overwrite the contents of the key, including DEL, SET, GETSET and all the *STORE commands. This means that all the operations that conceptually alter the value stored at the key without replacing it with a new one will leave the timeout untouched. For instance, incrementing the value of a key with INCR, pushing a new value into a list with LPUSH, or altering the field value of a hash with HSET are all operations that will leave the timeout untouched.

Nevertheless, my tests are failing...
        redis = RedisServer.newRedisServer();  // bind to a random port
        redis.start();
        jedis = new Jedis(redis.getHost(), redis.getBindPort());
        jedis.set(REDIS_KEY, "1");
        jedis.expire(REDIS_KEY, REMAINING_TTL);
        assertEquals(REMAINING_TTL, jedis.ttl(REDIS_KEY)); // OK
        jedis.incr(REDIS_KEY);
        assertEquals(REMAINING_TTL, jedis.ttl(REDIS_KEY)); // Got -1

Am I misunderstanding something?

Hmmm let me look into this. Might be a bug in the library.


Azure Firewall is not multi-homed

The drawing makes sense to me. But in fact, the Azure Firewall is not multi-homed, which the picture asume. People I talk to are thereby confused with this picture. It should be clear to people the Azure Firewall has a single interface. Otherwise step 1 to 2 on the right example does not make sense.
[Enter feedback here]

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

ID: 07b33cf5-3747-59b6-29b4-9aa076a6d271
Version Independent ID: ddd15c52-275e-68e6-513e-07d42292b059
Content: Integrate Azure Firewall with Azure Standard Load Balancer
Content Source: articles/firewall/integrate-lb.md
Service: firewall
GitHub Login: @vhorne
Microsoft Alias: victorh

@wbplomp Thanks for the feedback. can you give an example of why the picture makes you assume that this firewall is multi-homed?
I have assigned the issue to the content author to evaluate and update as appropriate.

@wbplomp
The diagram depicts the case where the firewall has a public IP address (depicted as "PiP" in the diagram) and a private IP address (depicted as "Private IP" in the diagram. So you can consider that as "multihomed".

#please-close


fix: invoker length assertion

When len(invoker) == 1, like how it's being set in the line right before the assertion, it will fail.

Duplicate of #216


turborepo Bun bug

Verify canary release

[ ] I verified that the issue exists in the latest Turborepo canary release.

Link to code that reproduces this issue
https://github.com/willin/svelte-turbo/tree/ecc1a62e82fead8b8970a5abc33e30e172dae6a2
What package manager are you using / does the bug impact?
bun
What operating system are you using?
Mac
Which canary version will you have in your reproduction?
1.11.1
Describe the Bug
cloud not install deps on cloudflare pages. with cmd bun install --frozen-lockfile
logs:
box; border-radius: 0px; color: rgb(217, 217, 217); display: block; font-size: 12px; margin: 0px; overflow: auto; padding: 16px 32px; width: 1262px; background-color: rgb(29, 29, 29); border-width: 0px 0px 1px; border-style: solid; border-color: rgb(61, 61, 61) rgb(61, 61, 61) rgb(49, 49, 49); border-image: initial; font-family: monaco, courier, monospace; height: 500px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial;">
16:45:09.206 | Cloning repository...
-- | --
16:45:10.278 | From https://github.com/willin/svelte-turbo
16:45:10.279 | * branch            ecc1a62e82fead8b8970a5abc33e30e172dae6a2 -> FETCH_HEAD
16:45:10.279 |
16:45:10.381 | HEAD is now at ecc1a62 chore: :wrench: project config
16:45:10.382 |
16:45:10.494 |
16:45:10.527 | Success: Finished cloning repository files
16:45:12.671 | Detected the following tools from environment: bun@latest, <EMAIL_ADDRESS>16:45:12.672 | Installing bun latest
16:45:13.126 | Downloading Bun v1.0.15...
16:45:14.059 | Archive:  /tmp/asdf-bun.W9uf/bun.zip
16:45:14.868 | inflating: /opt/buildhome/.asdf/downloads/bun/1.0.15/bun
16:45:14.947 | Installing Bun v1.0.15...
16:45:15.083 | Bun v1.0.15 is installed successfully!
16:45:15.819 | Installing project dependencies: bun install --frozen-lockfile
16:45:16.122 | bun install v1.0.15 (b3bdf22e)
16:45:16.126 | error: lockfile had changes, but lockfile is frozen
16:45:16.131 | Error: Exit with error code: 1
16:45:16.132 | at ChildProcess.<anonymous> (/snapshot/dist/run-build.js)
16:45:16.132 | at Object.onceWrapper (node:events:652:26)
16:45:16.132 | at ChildProcess.emit (node:events:537:28)
16:45:16.133 | at ChildProcess._handle.onexit (node:internal/child_process:291:12)
16:45:16.140 | Failed: build command exited with code: 1
16:45:16.997 | Failed: error occurred while running build command

Expected Behavior
works
To Reproduce
on local:
❯ bun install
[0.03ms] ".env.local"
bun install v1.0.15 (b3bdf22e)
 + @svelte-dev/auth@workspace:packages/auth
 + @svelte-dev/auth-afdian@workspace:packages/auth-afdian
 + @svelte-dev/auth-github@workspace:packages/auth-github
 + @svelte-dev/auth-oauth2@workspace:packages/auth-oauth2
 + @svelte-dev/auth-sso@workspace:packages/auth-sso
 + @svelte-dev/session@workspace:packages/session
 + web@workspace:apps/web
 + @svelte-dev/eslint-config@workspace:packages/eslint-config
husky - Git hooks installed

 8 packages installed [10.62s]
❯ bun install --frozen-lockfile
[0.03ms] ".env.local"
bun install v1.0.15 (b3bdf22e)
error: lockfile had changes, but lockfile is frozen

Additional context
No response

As best I can tell, this is a bun issue, not Turborepo. You can file a bun issue here. If I uninstall turbo from your repository, the lockfile issue remains.
I was able to remove the lockfile entirely and regenerate it, and then rerunning bun i --frozen-lockfile worked locally.


Re-design: Card detailed view

Re-design discussions:

#126 For the home page and the activity feed
#94 For the board general view
[current] For the card detailed view

This thread is about the re-design of the card detailed view.
I don't have a lot of ideas to improve the design of Trello. We obviously need to adapt member avatars and card labels design to be consistent with the board, but that is noting significant.
A presentation that could be interesting is to open cards in a (large) sidebar on sufficiently large screen instead of using an overlay window. With this panel a user would be able to change to current detailed card with a single click, having the detailed card and the general board in the same spited screen. This would be similar two panels email clients, one for the list of emails and one for the detailed message of the currently selected email, allowing you to switch to another email in a single click. On smaller screen, we definitely want to use all the screen space for the current card, probably with an overlay window like in Trello.
Any other idea?

I noticed that the comments in the card detailed view are stacked from bottom to top, which makes it difficult to read it in a chronological order.
What about ordering the comments from top to bottom ?


Remove (presumably) unused bootstrap classes

In the compiled css, there are about 1600 references to .mi- prefixed classes. This class doesn't seem to appear anywhere in the source other than the compiled CSS.
Any chance we could track this down and prevent it from being compiled into the stylesheet?
Start: https://github.com/JDRF/design-system/blob/master/dist/css/design-system.css#L1
End: https://github.com/JDRF/design-system/blob/master/dist/css/design-system.css#L2426

This extends to the .col classes as well:
Start: https://github.com/JDRF/design-system/blob/master/dist/css/design-system.css#L3145
End: https://github.com/JDRF/design-system/blob/master/dist/css/design-system.css#L3728

The .mi- classes are from the material icons styles. We're not using all of the icons on the DS itself although for a JDRF site, they may be using them. Since the DS is meant as a visual guide, I agree it'd make sense to remove what we don't need. May need to brainstorm a bit with @fuhton though about approaching it since we're currently copying over the material icons from node_modules and then merging that into the final file. Unless you have some suggestions @magnificode?
Here's the gulp task where the material icons and Bootstrap overwrites are being merged: https://github.com/JDRF/design-system/blob/master/tasks/styles.js

The col classes are being pulled from Bootstrap. We are making use of the grid but only in the examples on the gh-pages branch.

Ah, I see now, it's Monday, and when I view-source'd the site I looked for .col :facepalm:
As far as the .mi bit, this may be a bit heavy handed but I know there are some node modules that can run through your compiled CSS and remove unused classes (https://github.com/ben-eb/gulp-uncss)
Perhaps this issue will be solved inherently if we implement a fix for #2. Utilizing SVG instead of the icon-font itself will grant us the ability to not have to import the stylesheet at all.

After discussing further with @fuhton, we decided that we'd need the entire grid as well as all material icons. The final design system file is meant for JDRF's vendors to grab and use in their projects so it needs to have all the custom/Bootstrap components listed on the demo (gh-pages).


Complete v1 Chinese translation

We have somebody working on this one now.

We have somebody working on this one now.


During handling of exception, another exception occurred:

I am receiving the following error:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connectionpool.py", line 603, in urlopen
chunked=chunked)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connectionpool.py", line 344, in _make_request
self._validate_conn(conn)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connectionpool.py", line 843, in validate_conn
conn.connect()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connection.py", line 350, in connect
ssl_context=context)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/util/ssl.py", line 355, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 412, in wrap_socket
session=session
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 853, in _create
self.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 1117, in do_handshake
self._sslobj.do_handshake()
OSError: [Errno 0] Error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/requests/adapters.py", line 449, in send
timeout=timeout
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connectionpool.py", line 641, in urlopen
_stacktrace=sys.exc_info()[2])
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/util/retry.py", line 368, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/packages/six.py", line 685, in reraise
raise value.with_traceback(tb)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connectionpool.py", line 603, in urlopen
chunked=chunked)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connectionpool.py", line 344, in _make_request
self._validate_conn(conn)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connectionpool.py", line 843, in validate_conn
conn.connect()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connection.py", line 350, in connect
ssl_context=context)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/util/ssl.py", line 355, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 412, in wrap_socket
session=session
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 853, in _create
self.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 1117, in do_handshake
self._sslobj.do_handshake()
urllib3.exceptions.ProtocolError: ('Connection aborted.', OSError(0, 'Error'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "munin.py", line 841, in getAnyRun
response = requests.get(URL_ANYRUN % sha256, proxies=PROXY)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/requests/api.py", line 75, in get
return request('get', url, params=params, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/requests/api.py", line 60, in request
return session.request(method=method, url=url, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/requests/sessions.py", line 533, in request
resp = self.send(prep, **send_kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/requests/sessions.py", line 646, in send
r = adapter.send(request, **kwargs)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/requests/adapters.py", line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', OSError(0, 'Error'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "munin.py", line 1544, in
processLines(lines, resultFile, args.nocsv, args.debug)
File "munin.py", line 245, in processLines
info, cooldown_time = processLine(line, debug)
File "munin.py", line 191, in processLine
ar_info = getAnyRun(info['sha256'])
File "munin.py", line 847, in getAnyRun
print("Error while accessing AnyRun: %s" % response.content)
UnboundLocalError: local variable 'response' referenced before assignment

Looks like an SSL Error.
Try to update your local Python installation.
Alternatively: Do you use a proxy Server that does SSL interception?
On Thu 16. May 2019 at 20:34, Walter Gray<EMAIL_ADDRESS>wrote:

I am receiving the following error:
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connectionpool.py",
line 603, in urlopen
chunked=chunked)
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connectionpool.py",
line 344, in _make_request
self._validate_conn(conn)
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connectionpool.py",
line 843, in
validate_conn conn.connect() File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connection.py",
line 350, in connect ssl_context=context) File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/util/ssl.py",
line 355, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py",
line 412, in wrap_socket
session=session
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py",
line 853, in _create
self.do_handshake()
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py",
line 1117, in do_handshake
self._sslobj.do_handshake()
OSError: [Errno 0] Error
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/requests/adapters.py",
line 449, in send
timeout=timeout
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connectionpool.py",
line 641, in urlopen
_stacktrace=sys.exc_info()[2])
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/util/retry.py",
line 368, in increment
raise six.reraise(type(error), error, _stacktrace)
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/packages/six.py",
line 685, in reraise
raise value.with_traceback(tb)
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connectionpool.py",
line 603, in urlopen
chunked=chunked)
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connectionpool.py",
line 344, in _make_request
self._validate_conn(conn)
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connectionpool.py",
line 843, in
validate_conn conn.connect() File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/connection.py",
line 350, in connect ssl_context=context) File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/urllib3/util/ssl.py",
line 355, in ssl_wrap_socket
return context.wrap_socket(sock, server_hostname=server_hostname)
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py",
line 412, in wrap_socket
session=session
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py",
line 853, in _create
self.do_handshake()
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py",
line 1117, in do_handshake
self._sslobj.do_handshake()
urllib3.exceptions.ProtocolError: ('Connection aborted.', OSError(0,
'Error'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "munin.py", line 841, in getAnyRun
response = requests.get(URL_ANYRUN % sha256, proxies=PROXY)
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/requests/api.py",
line 75, in get
return request('get', url, params=params, **kwargs)
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/requests/api.py",
line 60, in request
return session.request(method=method, url=url, **kwargs)
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/requests/sessions.py",
line 533, in request
resp = self.send(prep, **send_kwargs)
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/requests/sessions.py",
line 646, in send
r = adapter.send(request, **kwargs)
File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/requests/adapters.py",
line 498, in send
raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', OSError(0,
'Error'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "munin.py", line 1544, in
processLines(lines, resultFile, args.nocsv, args.debug)
File "munin.py", line 245, in processLines
info, cooldown_time = processLine(line, debug)
File "munin.py", line 191, in processLine
ar_info = getAnyRun(info['sha256'])
File "munin.py", line 847, in getAnyRun
print("Error while accessing AnyRun: %s" % response.content)
UnboundLocalError: local variable 'response' referenced before assignment
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/Neo23x0/munin/issues/19?email_source=notifications&email_token=AAVYFJGUVZ42OWGGHBFFCM3PVWSLFA5CNFSM4HNPECZ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4GUHWNUQ,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAVYFJEUJN2SBYD5ODZNTULPVWSLFANCNFSM4HNPECZQ
.

--
Florian Roth
Key material (Keybase, S/MIME, PGP, Threema):
https://keybase.pub/johngalt/

I have the same error too, and I am struggling with it

Connection errors. Likely SSL related. Maybe a SSL interception.
Not munin related.


Chrome Browser working with "50 Bots Extension"

Current Issue of 5.3.17 Wednesday, May 3, 2017
Currently trying to get Chrome Browser to work with the "50 Bots Extension" on the Github Repository Code page Agario 50 Bots Extension. If you could put any problems you have down in the comments about the loading of this Extension. This would be appreciated!

How do I run this? I loaded the extension into chrome but when I go to agar.io nothing happens! Is there some type of key I need to press to activate it? I've tried all the keys and nothing is happening!


RedHat R Install with no Internet Access

Hi there!
Looking to install arrow via R but running into some issues.
The RedHat 7.6 server is behind a firewall with no external internet access. Think that might relevant in this situation.
The arrow packages have been installed via internal repo so should be available. I don't think they are being picked up by the R.
[root@rminer-dev library]# yum list installed 'ar*' 'par*'
Installed Packages
arrow-devel.x86_64                                                   0.17.0-1.el7                                             @arrow
arrow-glib-devel.x86_64                                              0.17.0-1.el7                                             @arrow
arrow-glib-libs.x86_64                                               0.17.0-1.el7                                             @arrow
arrow-libs.x86_64                                                    0.17.0-1.el7                                             @arrow
parquet-devel.x86_64                                                 0.17.0-1.el7                                             @arrow
parquet-glib-devel.x86_64                                            0.17.0-1.el7                                             @arrow
parquet-glib-libs.x86_64                                             0.17.0-1.el7                                             @arrow
parquet-libs.x86_64                                                  0.17.0-1.el7                                             @arrow

When I install via our internal repo in R I am getting the following error.
I added the following flag for verbose logging.
export ARROW_R_DEV=true
-sh-4.2$ R

R version 3.6.0 (2019-04-26) -- "Planting of a Tree"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-redhat-linux-gnu (64-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> install.packages("/data/software/r_packages/arrow_0.17.0.tar.gz", lib="/usr/lib64/R/library")
inferring 'repos = NULL' from 'pkgs'
* installing *source* package ‘arrow’ ...
** package ‘arrow’ successfully unpacked and MD5 sums checked
** using staged installation
*** Generating code with data-raw/codegen.R
Fatal error: cannot open file 'data-raw/codegen.R': No such file or directory
trying URL 'https://dl.bintray.com/ursalabs/arrow-r/libarrow/src/arrow-0.17.0.zip'
Error in download.file(from_url, to_file, quiet = quietly) :
  cannot open URL 'https://dl.bintray.com/ursalabs/arrow-r/libarrow/src/arrow-0.17.0.zip'
trying URL 'https://www.apache.org/dyn/closer.lua?action=download&filename=arrow/arrow-0.17.0/apache-arrow-0.17.0.tar.gz'
^C
Execution halted
./configure: line 132: cd: libarrow/arrow-0.17.0/lib: No such file or directory
PKG_CFLAGS=-I/tmp/RtmpYUUPaA/R.INSTALL1092b73ddc984/arrow/libarrow/arrow-0.17.0/include  -DARROW_R_WITH_ARROW
PKG_LIBS=-L/tmp/RtmpYUUPaA/R.INSTALL1092b73ddc984/arrow/libarrow/arrow-0.17.0/lib -larrow_dataset -lparquet -larrow
** libs
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I/tmp/RtmpYUUPaA/R.INSTALL1092b73ddc984/arrow/libarrow/arrow-0.17.0/include  -DARROW_R_WITH_ARROW -I"/usr/lib64/R/library/Rcpp/include" -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c array.cpp -o array.o
In file included from array.cpp:18:0:
./arrow_types.h:203:31: fatal error: arrow/dataset/api.h: No such file or directory
 #include <arrow/dataset/api.h>
                               ^
compilation terminated.
make: *** [array.o] Error 1
ERROR: compilation failed for package ‘arrow’
* removing ‘/usr/lib64/R/library/arrow’
* restoring previous ‘/usr/lib64/R/library/arrow’
Warning message:
In install.packages("/data/software/r_packages/arrow_0.17.0.tar.gz",  :
  installation of package ‘/data/software/r_packages/arrow_0.17.0.tar.gz’ had non-zero exit status

So it is not finding the Linux dependencies and is going off to try and download then from internet?
I have also tried installing with following enviornment variables with no luck.
export LIBARROW_MINIMAL=false
export NOT_CRAN=true

Any suggestions would be greatly appreciated. I have a feeling I might be missing something.
The following gives a similar message
export LIBARROW_BUILD=false
> install.packages("/data/software/r_packages/arrow_0.17.0.tar.gz", lib="/usr/lib64/R/library")
inferring 'repos = NULL' from 'pkgs'
* installing *source* package ‘arrow’ ...
** package ‘arrow’ successfully unpacked and MD5 sums checked
** using staged installation
*** Generating code with data-raw/codegen.R
Fatal error: cannot open file 'data-raw/codegen.R': No such file or directory
*** Proceeding without C++ dependencies
./configure: line 132: cd: libarrow/arrow-0.17.0/lib: No such file or directory
PKG_CFLAGS=-I/tmp/RtmpIZM0Fn/R.INSTALL112a67397e15d/arrow/libarrow/arrow-0.17.0/include  -DARROW_R_WITH_ARROW
PKG_LIBS=-L/tmp/RtmpIZM0Fn/R.INSTALL112a67397e15d/arrow/libarrow/arrow-0.17.0/lib -larrow_dataset -lparquet -larrow
** libs
g++ -m64 -std=gnu++11 -I"/usr/include/R" -DNDEBUG -I/tmp/RtmpIZM0Fn/R.INSTALL112a67397e15d/arrow/libarrow/arrow-0.17.0/include  -DARROW_R_WITH_ARROW -I"/usr/lib64/R/library/Rcpp/include" -I/usr/local/include  -fpic  -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches   -m64 -mtune=generic  -c array.cpp -o array.o
In file included from array.cpp:18:0:
./arrow_types.h:203:31: fatal error: arrow/dataset/api.h: No such file or directory
 #include <arrow/dataset/api.h>
                               ^
compilation terminated.
make: *** [array.o] Error 1
ERROR: compilation failed for package ‘arrow’
* removing ‘/usr/lib64/R/library/arrow’
* restoring previous ‘/usr/lib64/R/library/arrow’
Warning message:
In install.packages("/data/software/r_packages/arrow_0.17.0.tar.gz",  :
  installation of package ‘/data/software/r_packages/arrow_0.17.0.tar.gz’ had non-zero exit status

What does pkg-config --version return? (cf. https://github.com/apache/arrow/blob/master/r/configure#L71)
If you don't have pkg-config installed, try installing it. If you do, I'm not sure why the installed system packages aren't being picked up, but you can try setting PKG_CONFIG_PATH explicitly. Or set LIB_DIR and INCLUDE_DIR to point to them. See http://arrow.apache.org/docs/r/articles/install.html#using-a-local-arrow-c-build.

Hi Neal,
Was already installed. Please see below.
-sh-4.2$ pkg-config --version
0.27.1

Not super familar with how pkg-config works. Looks like it is pointing to here
-sh-4.2$ which pkg-config
/usr/bin/pkg-config

Arrow does appear to be installed. So I need to make sure either pkg-config is pointing to search /usr/include or else setting when installing R using LIB_DIR and INCLUDE_DIR?

Closing for https://issues.apache.org/jira/browse/ARROW-8624


Update datasource.html

This patch is temporary and will be superseded when we update the reference pages. @jz-huang @LGraber @Kovner
This patch updates DataSourceInterfaces.ts  - adding a note to explain that refreshAsync() should not be used to automatically refresh the viz, and that doing so on Tableau Online might result in the removal of the extension.

It is fine as is, but you might consider this small change:
"are subject to removal from Tableau Online" -> "are subject to being blocked by the Tableau Online administrator"

@johnDance  Good suggestion. I like that.  I'll update the GitLab request as well.

🚢 it! Do you have permissions to do the merge?

@johnDance - Yes. Thanks. I'll merge this update to dev.


How to download and setup DNS 2020 dataset?

The data downloaded using https://github.com/microsoft/DNS-Challenge/blob/master/download-dns-challenge-1.sh seems like corrupted.

How to download and setup properly?
What's the size of this dataset?

Check the 2020 branch of this repo:)


documentation

what do i need to include in the license

Usually, you don't need to add anything to the standard licenses. However, few licenses have options to add the year, name of the owners, etc, inside the document. You can simply edit those in a license.

Did you complete this part?

Include License means just keep in the documentation saying that we are adapting Apache 2.0 license @LinxuanHu


Add constructor to MutByteBuf

Strictly speaking, this is redundant because you could always use ByteBuf::mut_with_capacity, but I still think this is worth adding because it's possible to use MutByteBuf without using ByteBuf at all. Having to go through ByteBuf to construct a MutByteBuf is a bit weird in these cases (and also not obvious from looking at the MutByteBuf docs).

I would be ok but I think that with_capacity. It may be worth getting rid of ByteBuf::mut_with_capacity.

Ok, I'll change the name an remove mut_with_capacity. I mostly went with new for consistency with the constructor for RingBuf.

RingBuf probably should be changed too... I am also trying to match Rust's std.

Ok, I've amended my commit.

Thanks! I added this here 38abb8074b87f226c32213ebb1bee7752b43278c


[Feature]: Support for generating html charts

What is the purpose of the change
Support for generating html charts  and fix #128 #129
Related issues/PRs
Related issues: #74
Related issues: #128
Related issues: #129
Brief change log
Checklist

[x] I have read the Contributing Guidelines on pull requests.
[x] I have explained the need for this PR and the problem it solves
[x] I have explained the changes or the new features added to this PR
[x] I have added tests corresponding to this change
[x] I have updated the documentation to reflect this change
[x] I have verified that this change is backward compatible
[x] If this is a code change: I have written unit tests to fully verify the new behavior.

LGTM


Would be possible to sustain a note?

When I play a note it will fade over time, but sometimes I want a note to be sustained more than what it does by default.
I looked at the source and I saw some references to sustain, though I could not find out how to tweak this parameter when I play sonud.
Could you help me to find a way to tell to tsf for how long I want to sustain a note?

You can probably use a control change. https://nickfever.com/music/midi-cc-list

@filipworksdev how I can use that? do you have an example?

I remembered this comment https://github.com/schellingb/TinySoundFont/issues/56#issuecomment-817839274
And it worked perfectly


cli from config file

we're growing alot of parameters on run, would be nice to specify via config file, also could save a look up if we add account id as optional there.

Can this piggy-back on or at least align with Amazon's CLI config?
http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html

I'm thinking specifically of http://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html#cli-config-files ... but maybe we already support ~/.aws/credentials?

It looks like credentials is used, but not config?
Steps

Make an ~/.aws/config file with content [default]\nregion=us-west-2.
Run custodian run -c custodian.yml -s . --profile=default.

Expected
See us-west-2 in the log output.
Actual
See us-east-1 in the log output.

Hehe ... my report is a dupe of https://github.com/capitalone/cloud-custodian/issues/711, which is getting fixed in https://github.com/capitalone/cloud-custodian/pull/758! 👍

So ... how about a new section in ~/.aws/config rather than a separate file? E.g.:
[default]
region=us-west-2

[custodian]
output-dir=~/.custodian

also could save a look up if we add account id as optional there

Does this refer to credentials? I think we or maybe boto already support pulling creds from ~/.aws/{credentials,config}?

we'll be supporting other providers, we don't want to use a file owned by a different program, and we already have a config file.


Add kubernetes-vault chart

This packages the deployment found in boostport/kubernetes-vault into a helm chart.
Also, this is my first attempt at submitting any charts or changes here (or in the Kubernetes community at large), so any feedback, help, or advice is greatly appreciated.
I did my best to follow the requirements laid out in the style guides and used the Consul chart as a model for most of this. One thing I was unable to do or figure out the best approach for was with requiring users to supply the Vault URL and AppRole token, breaking the simple "this runs with defaults" guideline. I'd particularly welcome any guidance there.

Also, I submitted my CLA a couple of hours ago. Hopefully it went through (or will go through).

[Interestingly, I've just pushed a vault to https://github.com/kubernetes/charts/pull/1397 ]

Synergy!

Kubernetes-vault was the missing piece for us to programmatically issue Vault tokens to our applications in k8s pods. Boostport also had a Vault deployment that you might find as a useful reference for your Vault chart.

Bumping for visibility

I'll take a look at this!

Any progress on this @lachie83?

@bbriggs None as of yet because I'm trying to review the whole stack.... consul, vault, kubernetes-vault

No worries, thanks for taking a look. Ready to make adjustments whenever you get the review going.

I would love to see this... make all of my dreams come true :) Thanks @bbriggs for doing this!

@dmccaffery We're currently running this chart in prod. If you'd like to try it out and provide any feedback, use my branch and deploy this from your local Helm. So far it's working great for us.

@bbriggs Thank you so much for this chart! 😄
A small nit, could you update the default image version to 0.4.8? There was some internal refactoring, but the external API is still the same.
Also, I think the default imageTag here https://github.com/kubernetes/charts/pull/1396/files#diff-7748195ee40bbae462cac7b2e9fdc7cdR29 should be 0.4.8 as there is no 0.7.5 yet.
Other than that, I think this looks really great!

I can do that, thanks!

Fixed. Bumping for review.

Friendly ping @lachie83

Thanks, I'll get to work on this today!

I'm trying to figure out here what constitutes "standard" labels. I used the links you gave me as a guide initially, and then you requested changes from that. When I looked in stable, few (if any) of the charts had labeling that matched what you requested.
Is there a gold standard somewhere I can reference for what constitutes what labels go where?

Best practices evolve over time. The links I posted reflect our current best practices. Of course, there are older charts that e. g. have different labels. Don't take those as reference.

any progress here?

Hey, I got pulled away the last two weeks but I'll have the updated labels in within the next few hours. New helm installed, I'll regenerate the skeleton and transfer everything over.

Looks good except for the Chart.yaml. Please add back all the information that got lost.

/ok-to-test

OK, you need to fix the values.yaml and the config table in the readme.

Not sure what to do with this one: W0909 22:40:34.774] E0909 22:40:34.773861     105 portforward.go:212] Unable to create listener: Error listen tcp6 [::1]:42661: bind: cannot assign requested address

Don't worry about this message. It's normal. The problem is that the image could not be pulled due to an incorrect tag.

/retest

Thanks for getting this one through @bbriggs and @unguiculus !

Phew! We made it!


Preview window “wraps” line ending with ANSI color code by adding an extra blank line

[x] I have read through the manual page (man fzf)
[x] I have the latest version of fzf
[x] I have searched through the existing issues

Info

OS

[x] Linux
[ ] Mac OS X
[ ] Windows
[ ] Etc.

Shell

[x] bash
[ ] zsh
[ ] fish

Problem / Steps to reproduce
If I execute
echo | fzf --preview-window wrap --preview 'printf $"\e[7m%s\e[0m" title; printf "─%.0s" $(seq 1 "$((FZF_PREVIEW_COLUMNS - 5))"); echo; echo something'

I get first ‘title’ in inverse colours, then an horizontal line that exactly fills the rest of the preview width.  As expected, on the immediate next line is the content ‘something’.
If I reverse the order of the printf statements, so that the ANSI colour code is at the end, an unwanted empty line appears between the “title” row and the “content” row.  This happens only when wrapping.
echo | fzf --preview-window wrap --preview 'printf "─%.0s" $(seq 1 "$((FZF_PREVIEW_COLUMNS - 5))"); printf $"\e[7m%s\e[0m" title; echo; echo something'

This seems to be somewhat the reverse of issue #2346, so maybe it was introduced when solving the latter.

Thanks for the report. It should be fixed. Let me know if you see any other problems. Thanks.


Is possible to provide support for Proxy-Wasm

Proxy-Wasm is a wasm plug-in specification that can be used in new generation gateways such as Envoy and Nginx/OpenResty.
I think it is more in line with the development direction of the project. Is possible to provide API support for it
Proxy-Wasm Spec
Nginx Wasm Runtime
Envoy Wasm http filter example

Hi, I think I am going to wait for a clarification on https://github.com/proxy-wasm/spec/issues/3 to take a decision on this. KoWasm plan to leverage Wasm Component Model and WASI Preview 2+ asap  possible, so I would like to be sure the technical direction of Proxy Wasm is consistent with that.


Laravel 5.1 (Old 302)

In gitlab by @A-Lawrence on Aug 31, 2015, 01:07
Consider the idea of upgrading to Laravel 5.0.
We'd need to invest time moving our code from PSR-0 to PSR-4.

In gitlab by @A-Lawrence on Aug 31, 2015, 01:11
Once TS is done, then it can probably go to the WSFG for testing.
ALawrence66 - 2015-08-13T17:46:43.687796+00:00

In gitlab by @A-Lawrence on Aug 31, 2015, 01:11
Only thing left to do is convert the namespaces and check TeamSpeak and then other console commands.
NFarrington - 2015-08-13T16:33:07.488020+00:00


New version: Mattermost.MattermostDesktop version 5.8.1

Pull request has been created with komac v2.2.1 :rocket:
Microsoft Reviewers: Open in CodeFlow

Hi @PckgrBot,
This manifest adds Apps and Features entries that aren't present in previous PR versions. These entries should be added to the previous versions, or removed from this version.
(Automated response - build 885.)


Fix muted messages in a stream not rendered if moved to be unmuted when narrowed to the message stream.

If a muted message for the currently rendered message list is moved
to a non muted topic, it was not rendered if it is part of
_all_items and not _items due to it being previously muted.
We fix it by removing all the moved messages from the list and
added them back which allows us filter the messages for muting again.
This overall reduces the amount of rerender calls too since we
are now guaranteed to only call it once now.
Fixes https://github.com/zulip/zulip/issues/31977

Nice, merged, thanks @amanagr!


String.slice is broken on strings with multi-byte Unicode characters

The JavaScript implementing String.slice is not Unicode-enabled. It uses .slice, which is a byte-array operator.
SSCCE: https://ellie-app.com/3bs5VffDGP2a1
module Main exposing (main)

import Browser
import Html exposing (Html, text)

view : () -> Html ()
view _ =
    text <| String.dropLeft 1 "🙈🙉🙊"

main : Program () () ()
main =
    Browser.sandbox
        { init = ()
        , view = view
        , update = \_ m -> m
        }

This displays "�🙉🙊", not "🙉🙊", as expected.
A fix that works at https://github.com/elm/core/blob/1.0.0/src/Elm/Kernel/String.js#L151 is:
var _String_slice = F3(function(start, end, str) {
    return Array.from(str).slice(start, end).join('');
});

Note that I haven't actually tested that against an Elm program, but I did test the returned expression in a JS debugger. It has the problem that it makes a full copy of the string into an array. There is probably a way to do this without allocating any memory except the returned string.
String.left, String.right, String.dropLeft, and String.dropRight all call String.slice, so they're all broken.
This bug was also in 0.18 (https://github.com/elm-lang/core/blob/5.1.1/src/Native/String.js#L89)
Thanks to @stephenreddek in Elm Slack for finding this.

This affects slice, left, right, dropLeft, dropRight.
While 0.18 also used slice in the same manner, I believe that it is important to treat surrogate pairs consistently between all String functions. I ran into this issue when upgrading teepark/elmoji. It uses uncons to move through a list and look for matches to known emojis. Later, it calls dropLeft with the number of characters that it counted in the emoji match. This now causes an issue because uncons will see "🖖" as 1 character and dropLeft will treat it like 2.
For now, there are multiple Elm-only fixes such as using uncons n times or using List.drop after calling String.toList and finally using String.fromList.

I am no longer convinced that this is a bug. Nothing forces a String to contain well-formed UTF-8. It's just a sequence of bytes. I use it that way in CustomElement.FileListener in billstclair/elm-custom-element, and am glad for that feature.
The String documentation says that "Strings are not lists of characters." This is pretty obvious from the String.fromList example.
> String.length <| String.fromList ['🙈','🙉','🙊']

I believe strongly that this is not a bug. String should be just a byte array, and if there is need for character-aware functions they should be done separately.

I think the choice here is up to the language design. I think one of the important mentions is that operations on strings is not consistent. Unfortunately, the behavior as it is seems to bind Elm to the underlying JavaScript nuances with string handling.
It’s unfortunate that one might need to use a string type to represent bytes. Perhaps the work going on with elm in the binary space can allow strings to represent Unicode characters rather than 8 bit chunks.

I think it's worthwhile to look at the Elixir implementation of strings. This conference talk is pretty enlightening: https://youtu.be/zZxBL-lV9uA

Or, for those who prefer text: https://elixir-lang.org/getting-started/binaries-strings-and-char-lists.html
In Lisp, a string is a sequence of characters. A character is one unicode code point. Representations vary, but the lisp I use stores 64 bits per character by default. Lots of wasted space, but in these days of multi-gigabyte RAM, I haven't noticed a problem.
I'm now thinking that this is best fixed by documentation, just letting people know that a string is a sequence of bytes, and that those bytes are interpreted as UTF-8 when read or printed, but that other operations work just on the bytes.

One important thing to note is that often it's not enough to just consider each Unicode character as a separate character, but you need to include any combining characters following the base character and consider those as a single unit.
For example a string with "a" (U+0061) followed by "`" (U+0300) is shown as single character "à" while it is actually two Unicode characters and three bytes in UTF-8 format.

More information here: http://unicode.org/faq/char_combmark.html

Computing the length or position of a "character" in a Unicode string can be a little complicated, as there are four different approaches to doing so, plus the potential confusion caused by combining characters. The correct choice of which counting method to use depends on what is being counted and what the count or position is used for.

So since this is such a complex topic, I personally prefer the solution used e.g. in PHP where string is just a sequence of bytes and nothing more. (Now PHP does have additional functions for handling multibyte characters, and Elm could also add either new type or new functions for some use cases, but I think that base string should be just bytes.)

Just a note: Elm/JavaScript strings are not byte arrays as said in some previous comments but arrays of UTF-16 code units.


Window is not defined

Hi, I am using this package on my new nextjs project but getting this error
ReferenceError: window is not defined
at Object. (/Users/darren/Desktop/food-spin/node_modules/.pnpm/react-custom-roulette@1.4.1_react-dom@18.2.0_react@18.2.0/node_modules/react-custom-roulette/dist/bundle.js:1:238).
I guess this is because this package is trying to access window in server side but not in client side. May I know how to handle this?

Problem is resolved after adding useEffect

Hi, how do you solved the issue? @Darrenwwk

Hi, how do you solved the issue? @Darrenwwk

use dynamic from nextJs to import the package and close the server side rendering


Can BufferFormatter and StringFormatter be combined?

The formatters have changed quite a bit. BufferFormatter became ArrayFormatter (https://github.com/dotnet/corefxlab/commit/579f5d27b1b91a689d2f2eb09b39bbfe69f4d8c2#diff-89da374db4a73e3bb2cba59f80588ec4).
In the past (around the time of this issue) we had the following formatters which implemented IFormatter, which became ITextOutput here https://github.com/dotnet/corefxlab/commit/0b053478f31debe327bc7f2f9fc488d420997f07#diff-89da374db4a73e3bb2cba59f80588ec4, and eventually became IBufferWriter<byte>:
https://github.com/dotnet/corefxlab/blob/83b5b055f44403cf1baeff6471279e6de0bd3232/src/System.Text.Formatting/src/System/Text/Formatting/BufferFormatter.cs#L5
https://github.com/dotnet/corefxlab/blob/83b5b055f44403cf1baeff6471279e6de0bd3232/src/System.Text.Formatting/src/System/Text/Formatting/StringFormatter.cs#L8
Does the question still hold for ArrayFormatter and StringFormatter today?


os-acme-client | Bug logging level not set correctly

Important notices
Before you add a new report, we ask you kindly to acknowledge the following:

[X] I have read the contributing guide lines at https://github.com/opnsense/plugins/blob/master/CONTRIBUTING.md
[X] I have searched the existing issues, open and closed, and I'm convinced that mine is new.
[X] The title contains the plugin to which this issue belongs

Describe the bug
The GUI ACME log level setting doesn't work properly. Opnsense is not passing the right --syslog number when I set logging to "debug 3". The log shows that opnsense passed --syslog 7 but 7 is only debug level 1. It should be --syslog 9 for debug 3, --syslog 8 for debug 2, and --syslog 7 for debug 1. See line number 133 in acme.sh
To Reproduce
Steps to reproduce the behavior:

Set ACME log level to debug 3
Run request
Look at command that was run in log file and see that it's --syslog 7

Expected behavior
The command should show that param was set to --syslog 9
Environment
OPNsense 24.1.6-amd64
ACME 4.2

Opened pull: https://github.com/opnsense/plugins/pull/3936


Model per instance model-mesh by default

Now model load only on one instance, and lazy loading on another pods, when reauest has come.
Can we modify internal modelmesh parameters for default loading model on all ServingRuntime instances?

@fsatka -- ModelMesh was designed to optimize resource utilization. Why would you want to load additional instances of the same model/predictor/ISVC on all serving runtime pods regardless of inference request traffic? Just for testing purposes?


Allow Dynamic Channel Subscriptions

Add functionality requested in [Feature] Ability to add and remove subscriptions on the fly https://github.com/dougdellolio/coinbasepro-csharp/issues/129

Note sure why but Git marked the change to  (channelTypes == null || !channelTypes.Any()) as a conflict so you'll have to resolve it.


Added more hashed parameters to list for Snapchat Conversions API (Actions)

Proposed changes
This PR adds more parameters to the list of hashed parameters for Snapchat Conversions API (Actions).
Merge timing
Should only be merged after https://github.com/segmentio/action-destinations/pull/1546 is merged, as it is responsible for adding these optional parameters.
Related issues (optional)
https://github.com/segmentio/action-destinations/pull/1546

Hi @sebashine-branly - as this has been open for a few months with no action, I'm going to close this for now. I'm still watching the corresponding PR in the action-destinations repo, and will reopen/merge this PR if that gets merged.


GitReleaseManager milestone should use SemVersion

Currently a pre-release will close major release
https://github.com/cake-build/cake/blob/94eab0d93a8f8de2492243e1a1b9a62337df81e0/build/version.cake#L46

Fixed with https://github.com/cake-build/cake/pull/2964


Add RCS resources

What does this PR do?
Add Revision Control System (RCS) resources.
For resources
Description
Add two resources:

RCS — A System for Version Control — The paper where the original author of RCS describes RCS.
RCS Handbook — A book that shows how to use RCS.

Why is this valuable (or not)?
RCS Handbook is particularly valuable because it goes far beyond the man pages and the short tutorials found on various websites. For example, the book teaches about branching, merging, and managing software projects.
How do we know it's really free?
These texts are made available on the Purdue RCS Homepage.
For book lists, is it a book? For course lists, is it a course? etc.
One paper and one book.
Checklist:

[x] Read our contributing guidelines
[x] Search for duplicates.
[x] Include author(s) and platform where appropriate.
[x] Put lists in alphabetical order, correct spacing.
[x] Add needed indications (PDF, access notes, under construction)

If is a version control system, remember reorganize via #5526

What do you think, @cwfoo ? (You were tied for sixth for most F-P-B contributions in 2021!)

@eshellman

It's not our goal to document 40 year old software "primarily of historical interest". Wikipedia has a good article on it. RCS is not worth a section of its own as far as I can tell. If there were a book on it we would include it in our CVS section, if we even had a CVS section. or our "history of software" section if we had that.

I occasionally use RCS myself, but I completely understand that RCS is widely considered obsolete these days (it was long ago removed from the base system of the BSDs). In any case, the "books" submitted in this pull request can easily be found through the most obvious webpages:

https://www.gnu.org/software/rcs/
https://www.cs.purdue.edu/homes/trinkle/RCS/

Thank you for the suggestion; it is appreciated even if not accepted!

This pull request can now be closed. This pull request can be revisited in the future when there are more appropriate sections in the book lists.

(You were tied for sixth for most F-P-B contributions in 2021!)

This is most surprising. :laughing: Only 7 commits!


Task Output Cache should consider task path an input

Two tasks with same inputs but different behavior produce same cache keys.
Expected Behavior
Different tasks should always produce different cache keys
Current Behavior
have three (similar) tasks defined in DSL that are generating the same cache key:
Cache key for task ':au-V4:au-V4-service:generateHdbDbScripts' is 7176956a4eaa4c8841d85152bf237895
Cache key for task ':au-V4:au-V4-service:generateOracleDbScripts' is 7176956a4eaa4c8841d85152bf237895
Cache key for task ':au-V4:au-V4-service:generateOracleXeDbScripts' is 7176956a4eaa4c8841d85152bf237895
Context
problem was fixed by:
inputs.property('taskpath', path)

Thanks @vydra for reporting this bug. Different tasks should always have different build cache keys, there's no need to track the task path for that (nor would it be a sufficiently complete solution). The fix for this will be released as part of Gradle 4.0.

Agreed about using the task path. I did that initially to get something that worked, later used another input property that would be unique and accurate/consistent for all environments. But, even that still seemed arbitrary.
--
Michael Ondrejko

On May 15, 2017, at 4:43 PM, Lóránt Pintér<EMAIL_ADDRESS>wrote:
Thanks @vydra for reporting this bug. Different tasks should always have different build cache keys, there's no need to track the task path for that (nor would it be a sufficiently complete solution). The fix for this will be released as part of Gradle 4.0.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Support for pdfpc overlays (override page numbers)

I use both this template, and since more recently, https://pdfpc.github.io/ for a keynote-style app with speaker notes support
One feature of pdfpc that I haven't used yet are Overlays: pdfpc tries to identify slides that are transitions between themselves (e.g.: a typical bullet list where every new slide reveals a new item). It tries to infer this by looking at the page number, and then the speaker view handles this accordingly (e.g.: showing the speaker notes for that bullet list on all those slides)
Would it be possible to somehow override the current page number counter in a way that plays nicely with this? e.g.: tell a given slide that it should not increment the number

oh silly me. I just dove into the latest version. it seems #uncover already handles exactly what I want?

I invite you to read this page in the book:
https://andreaskroepelin.github.io/typst-slides/book/dynamic.html
For a bullet list, this would be a convenient option:
#line-by-line[
  - abc
  - def
  - ghi
]


Nothing is shown in the tagbar window in md file

Hi, I'm trying to find out why it suddenly not working for any .md file
when I first installed it, it can work normally, however it can not show anything now. I do configure .vimrc like README page.
I use macvim and i installed these related plugs.
Plug 'majutsushi/tagbar'
Plug 'jszakmeister/markdown2ctags'
Plug 'xolox/vim-misc'
Plug 'xolox/vim-easytags'

I tried markdown2ctags -f - test.md. and got the following information.
!_TAG_FILE_ENCODING	utf-8	//
!_TAG_FILE_FORMAT	2	//
!_TAG_FILE_SORTED	1	//
Dec 7, 2020, 1:55 PM	/Users/ryan/Desktop/test.md	/^#### Dec 7, 2020, 1:55 PM$/;"	s	line:10	section:test
Dec 7, 2020, kkk12:35 AM	/Users/ryan/Desktop/test.md	/^#### Dec 7, 2020, kkk12:35 AM$/;"	s	line:2	section:test
test	/Users/ryan/Desktop/test.md	/^### test$/;"	s	line:1

I really can't realize what is going wrong

Hi, I'm trying to find out why it suddenly not working for any .md file
when I first installed it, it can work normally, however it can not show anything now. I do configure .vimrc like README page.

Can you show me your tagbar configuration?

Plug 'jszakmeister/markdown2ctags'

markdown2ctags is not a vim plugin.  It's best to pip install it and make sure it's on your path, and configure tagbar to use the pip install'd version.

I tried markdown2ctags -f - test.md. and got the following information.
!_TAG_FILE_ENCODING	utf-8	//
!_TAG_FILE_FORMAT	2	//
!_TAG_FILE_SORTED	1	//
Dec 7, 2020, 1:55 PM	/Users/ryan/Desktop/test.md	/^#### Dec 7, 2020, 1:55 PM$/;"	s	line:10	section:test
Dec 7, 2020, kkk12:35 AM	/Users/ryan/Desktop/test.md	/^#### Dec 7, 2020, kkk12:35 AM$/;"	s	line:2	section:test
test	/Users/ryan/Desktop/test.md	/^### test$/;"	s	line:1

So this says markdown2ctags is working.  What system are you on?  My guess is if you're calling the script directly via the plugin folder, python might not be available (a lot of distros having been heading towards one with a number--python2 or python3).  I haven't switched my script yet because I work with some older systems where it'd be a nuisance to tweak things, but perhaps it's time if you're running into this problem.
The other issue might be a configuration issue.  I haven't really changed anything there, except to get a bit smarter about handling unicode issue.  But the above works, so the tool is fine.  It's likely configuration or how it's being invoked.

Hi there, I appreciate to your reply
I have tried to restore my whole system and it doesn't work either.
My system is Mac OS 11, python version is Python 2.7.16,
Should I try to use pip install it next step? I am looking forward to your reply
my tagbar configeration likes that
let g:tagbar_type_markdown = {
    \ 'ctagstype': 'markdown',
    \ 'ctagsbin' : '~/.vim/plugged/markdown2ctags/markdown2ctags.py',
    \ 'ctagsargs' : '-f - --sort=yes --sro=»',
    \ 'kinds' : [
        \ 's:sections',
        \ 'i:images'
    \ ],
    \ 'sro' : '»',
    \ 'kind2scope' : {
        \ 's' : 'section',
    \ },
    \ 'sort': 0,
\ }


updated package.json

updated package gulp-mocha-phantomjs from 0.11.0 to 0.12.1
Npm link :  https://www.npmjs.com/package/gulp-mocha-phantomjs
Repository link : https://github.com/mrhooray/gulp-mocha-phantomjs/releases

Coverage remained the same at 98.611% when pulling 47dd8537923e6532380b8963a077f5d05972d6f0 on EsrefDurna:master into 5c4bc717ecb864e044f6689c4334378e8420563b on power-assert-js:master.

Updating devDependencies is good. Thanks!

thank you!


Rename "button_release" signal to "button_released" in ARVRController

One of the proposed renames from https://github.com/godotengine/godot/issues/16863

Well, closed - better if @BastiaanOlij do it himself..


doc: describe pname

Motivation for this change
Addresses a common papercut https://discourse.nixos.org/t/the-papercut-thread-post-your-small-annoyances-confusions-here/3100/65?u=jtojnar
This was missed in https://github.com/NixOS/nixpkgs/pull/49398
Things done

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

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

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

This pull request has been mentioned on Nix community. There might be relevant details there:
https://discourse.nixos.org/t/the-papercut-thread-post-your-small-annoyances-confusions-here/3100/86


Issue in Setting the Precision

Could the docs about setting the precision be updated to make it very clear that mp is an object in the mpmath module, and does not refer to the module itself (from import mpmath as mp)? At least two separate times I have attempted to increase the precision in my code by setting mpmath.dps = 100 (not necessarily that value), thought I succeeded, and then only later realized that my results were all using the default dps of 15.
I don't know if it's possible given how Python handles assignment and all, but it would be even better if the library itself would issue a warning if mpmath.dps and the like were assigned to.

There was a previous issue about this which even lead to a PEP proposal but it ultimately got rejected:
https://peps.python.org/pep-0726/

It has been a common problem; see https://github.com/mpmath/mpmath/issues/657
In mpmath 1.4.0, you'll get an error if you try to set mpmath.dps:
In [1]: import mpmath

In [2]: mpmath.__version__
Out[2]: '1.4.0a1'

In [3]: mpmath.dps = 200
---------------------------------------------------------------------------
AttributeError                            Traceback (most recent call last)
Cell In[3], line 1
----> 1 mpmath.dps = 200

File ~/py3.12.4/lib/python3.12/site-packages/mpmath/__init__.py:449, in _MPMathModule._helper(self, prop, *args)
    448 def _helper(self, *args, prop=''):
--> 449     raise AttributeError("cannot set '{name}' on 'mpmath'. Did you mean to "
    450                          "set '{name}' on 'mpmath.mp'?".format(name=prop))

AttributeError: cannot set 'dps' on 'mpmath'. Did you mean to set 'dps' on 'mpmath.mp'?

Cool, I'm running 1.3.0 now, so I'm glad it's been fixed in the next version. Closing this, then, since it was already discussed extensively in the issue you linked.

On another hand, it's a recurring issue and I've no idea when 1.4 will be released (some issues I can't address without @fredrik-johansson).
Maybe it worth to release a 1.3.1 with bugfix for this issue?

some issues I can't address

Which issues?
Do they need to be addressed in 1.4?

Which issues?

#709 at least

Do they need to be addressed in 1.4?

Well, site should be updated to point on new stable release.  Ideally, it's good to do for a bugfix release too, especially if it will include documentation fixes.  But that's less severe.

Ok, it seems there are no big fans of this idea, closing.


Implement Addressable v1beta1 to use URL.

Fixes: https://github.com/knative/pkg/issues/395
/hold

/lgtm

/hold cancel
No real opposition on the issue, so removing the hold\ here


Fix intellisense popping up in the wrong spot when first typing in a …

…cell
For #8009
updateWidgetPosition can get called too soon. If it does try again.

Codecov Report

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

@@            Coverage Diff             @@
##           master    #8018      +/-   ##
==========================================
- Coverage   59.26%   58.88%   -0.38%
==========================================
  Files         499      499
  Lines       22413    22413
  Branches     3597     3592       -5
==========================================
- Hits        13284    13199      -85
- Misses       8300     8377      +77
- Partials      829      837       +8

Impacted Files
Coverage Δ

src/client/testing/serviceRegistry.ts
48.64% <0%> (-46.85%)
:arrow_down:

src/client/testing/codeLenses/main.ts
44.44% <0%> (-33.34%)
:arrow_down:

...t/datascience/jupyter/jupyterDataRateLimitError.ts
66.66% <0%> (-33.34%)
:arrow_down:

src/client/formatters/serviceRegistry.ts
75% <0%> (-25%)
:arrow_down:

src/client/common/utils/platform.ts
64.7% <0%> (-23.53%)
:arrow_down:

src/client/common/utils/icons.ts
83.33% <0%> (-16.67%)
:arrow_down:

src/client/api.ts
78.57% <0%> (-14.29%)
:arrow_down:

src/client/datascience/cellFactory.ts
75.86% <0%> (-13.8%)
:arrow_down:

src/client/providers/providerUtilities.ts
83.33% <0%> (-5.56%)
:arrow_down:

src/client/common/platform/pathUtils.ts
66.66% <0%> (-5.56%)
:arrow_down:

... and 8 more

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 5c1d2bc...c3d9fa8. Read the comment docs.


Introduce the mock test base

This is a reopen of PR https://github.com/Azure/azure-sdk-for-net/pull/22445
All SDK Contribution checklist:
This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] Please open PR in Draft mode if it is:

Work in progress or not intended to be merged.
Encountering multiple pipeline failures and working on fixes.

[ ] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[ ] I have read the contribution guidelines.
[ ] The pull request does not introduce breaking changes.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[ ] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code. (Track 2 only)
[ ] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK. Please double check nuget.org current release version.

Additional management plane SDK specific contribution checklist:
Note: Only applies to Microsoft.Azure.Management.[RP] or Azure.ResourceManager.[RP]

[ ] Include updated management metadata.
[ ] Update AzureRP.props to add/remove version info to maintain up to date API versions.

Management plane SDK Troubleshooting

If this is very first SDK for a services and you are adding new service folders directly under /SDK, please add new service label and/or contact assigned reviewer.

If the check fails at the Verify Code Generation step, please ensure:

Do not modify any code in generated folders.
Do not selectively include/remove generated files in the PR.
Do use generate.ps1/cmd to generate this PR instead of calling autorest directly.
Please pay attention to the @microsoft.csharp version output after running generate.ps1. If it is lower than current released version (2.3.82), please run it again as it should pull down the latest version.

Note: We have recently updated the PSH module called by generate.ps1 to emit additional data. This would help reduce/eliminate the Code Verification check error. Please run following command:
  `dotnet msbuild eng/mgmt.proj /t:Util /p:UtilityName=InstallPsModules`

Old outstanding PR cleanup
Please note:
If PRs (including draft) has been out for more than 60 days and there are no responses from our query or followups, they will be closed to maintain a concise list for our reviewers.

Hey @m-nash I have resolved the comments, could you please take a look again?
BTW the CI failure is due to some glitch of downloading, not issues in the code


Can't open the developer tool

Why can't I open the developer tool and unable to open right-click menu to call out the devtools. Is that any shortcut keys?

CTRL+SHIFT+H

CTRL+SHIFT+H


Could not find com.android.tools.build:gradle:3.2.1 with plugin v.0.4.7

FAILURE: Build failed with an exception.

* What went wrong:
A problem occurred configuring project ':app'.
> Could not resolve all artifacts for configuration ':app:classpath'.
   > Could not find com.android.tools.build:gradle:3.2.1.
     Searched in the following locations:
       - https://plugins.gradle.org/m2/com/android/tools/build/gradle/3.2.1/gradle-3.2.1.pom
       - https://plugins.gradle.org/m2/com/android/tools/build/gradle/3.2.1/gradle-3.2.1.jar
     Required by:
         project :app > com.gladed.androidgitversion:com.gladed.androidgitversion.gradle.plugin:0.4.7 > gradle.plugin.com.gladed.gradle.androidgitversion:gradle-android-git-version:0.4.7

It fails on command line (CI) but works with no problems when building in Android Studio

So Android Studio seems to use one another (internal) repository when resolving dependencies for plugins
Attempting to resolve component for com.android.tools.build:gradle:3.2.1
using repositories [maven, Gradle Central Plugin Repository]

where maven points to some local (file system) repository bundled with Android Studio (on Mac it is /Applications/Android Studio X.Y.app/Contents/gradle/m2repository - where X.Y is the version of AS)
While when building from command line (./gradlew ...) it uses Gradle Central Plugin Repository only
Attempting to resolve component for com.android.tools.build:gradle:3.2.1
using repositories [Gradle Central Plugin Repository]

and it cannot find the dependency there.
There're two solutions:

Do not use plugins DSL in build.gradle, so do it "old-school way"

In app/build.gradle use:
buildscript {
    repositories {
        gradlePluginPortal()
        google()
    }
    dependencies {
        classpath "gradle.plugin.com.gladed.gradle.androidgitversion:gradle-android-git-version:0.4.7"
    }
}
...
apply plugin: "com.gladed.androidgitversion"
...

Use plugins DSL and configure repositories

In app/build.gradle use:
plugins {
    id 'com.gladed.androidgitversion' version '0.4.7'
}
...

and in settings.gradle (in root) put at the top
pluginManagement {
    repositories {
        gradlePluginPortal()
        google()
    }
}
 ...

Fixed in 0.4.9: https://plugins.gradle.org/plugin/com.gladed.androidgitversion


svc_export.py error

python svc_export.py --config "configs/base.yaml" --checkpoint_path "chkpt/김 동률/***.pt"
/Users/workstation/Music/whisper-vits-svc/whisper-vits-svc/lib/python3.8/site-packages/torch/nn/utils/weight_norm.py:30: UserWarning: torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm.
warnings.warn("torch.nn.utils.weight_norm is deprecated in favor of torch.nn.utils.parametrizations.weight_norm.")
Traceback (most recent call last):
File "svc_export.py", line 68, in
main(args)
File "svc_export.py", line 56, in main
load_model(args.checkpoint_path, model)
File "svc_export.py", line 11, in load_model
assert os.path.isfile(checkpoint_path)
AssertionError

***.pt should be a real model path, like chkpt/sovits5.0/sovits5.0_0500.pt

but i have multiple models such as sovits5.0_0025.pt, sovits5.0_0050.pt, sovits5.0_0075.pt

choose big number


ParameterizedTypeImpl cannot be cast to class java.lang.Class

I have the following controller:
public interface IndividualProviderController extends GraphQLQueryResolver, GraphQLMutationResolver {

    String NAME = "individualProviderController";

    ResponseEntity<IndividualProviderResponseDtoDefinition> findByCode(@Nonnull final String individualProviderCode);

and I have this SchemaParser:
    @Bean
    public SchemaParser defaultGraphQLSchemaProvider(@Qualifier(IndividualProviderController.NAME) IndividualProviderController individualProviderController) {
        return SchemaParser.newParser().file("graphql/individualProvider.graphqls").resolvers(individualProviderController).build();
    }

but when I start my application I get this error:
Caused by: java.lang.ClassCastException: class com.coxautodev.graphql.tools.ParameterizedTypeImpl cannot be cast to class java.lang.Class (com.coxautodev.graphql.tools.ParameterizedTypeImpl is in unnamed module of loader 'app'; java.lang.Class is in module java.base of loader 'bootstrap')
	at com.coxautodev.graphql.tools.TypeClassMatcher.match(TypeClassMatcher.kt:81)
	at com.coxautodev.graphql.tools.TypeClassMatcher.match$default(TypeClassMatcher.kt:32)
	at com.coxautodev.graphql.tools.TypeClassMatcher.match(TypeClassMatcher.kt:75)
	at com.coxautodev.graphql.tools.TypeClassMatcher.match(TypeClassMatcher.kt:28)
	at com.coxautodev.graphql.tools.SchemaClassScanner.scanResolverInfoForPotentialMatches(SchemaClassScanner.kt:268)

and indeed on line 81 in TypeClassMatcher the realType is of type ResponseEntity which is ParameterizedTypeImpl

I’m facing the same issue after upgrading from 5.9.0 to 6.0.1

This is a question for graphql-java-tools, not spring boot.
What is your idea with the ResponseEntity here? Because that's not used in graphl-spring-boot. You should just return the object directly instead.

My guess is if you remove the ResponseEntity and just return the class directly it will work. Feel free to re-open if you still run into a problem.


Remove common eslint warnings from jest.js

There are many common eslint warnings that trigger on jest.js, this diff removes them.
There are a few errors in which methods allow chaining of the jest object and this diff addresses those errors by changing the return type from void to JestObjectType.

Hey! Thanks for the PR... I don't really understand what you mean by "common eslint warnings"... you mean in this repository? Since we don't enforce any strict eslint rules here?

Right, not this repository (since there is no eslint configured) but the one I'm importing it into. These are pretty straightforward warnings and fixing them makes things much more readable, so I figured no one would mind.

From: Patrick Stapfer<EMAIL_ADDRESS>Sent: Monday, December 5, 2016 8:47:54 AM
To: flowtype/flow-typed
Cc: Alan; Author
Subject: Re: [flowtype/flow-typed] Remove common eslint warnings from jest.js (#507)
Hey! Thanks for the PR... I don't really understand what you mean by "common eslint warnings"... you mean in this repository? Since we don't enforce any strict eslint rules here?

You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/flowtype/flow-typed/pull/507#issuecomment-264907121, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AAAD8QuF9b-M2MogXZr2sUKUOG6SJlCAks5rFEA6gaJpZM4LCUd9.

The thing is, we don't want to force any eslint rules onto the user... what might work for you, not necessarily will work for others... maybe you can put your flow-typed/npm directory in your .eslintignore? That would effectively fix your workflow I think

I would be happy to merge the jest bug tho!

I agree, trying to conform to certain eslint rules in this repository is a little silly, but if you look at the diff I think you'll agree the JS file is much more readable now, as it previously had inconsistent semicolons, really long lines, etc. And if you agree, why not accept the changes as a general readability improvement? :)
If you don't agree I'd be happy to move the method chaining fix into a separate pull request. Just let me know!

I just want to discourage people committing style changes mixed with feature changes, since the diff noise is too high and I cannot see which feature is actually being changed :-) .... will need to revisit this again on my desktop

Could you add some type tests for jest showing the usage of your changes? (chaining and such)? :-)

I just want to discourage people committing style changes mixed with feature changes, since the diff noise is too high and I cannot see which feature is actually being changed :-)

The pull request is split into multiple commits, all of which do very specific things. If you'd prefer I'd be happy to split each commit up into a separate pull request, just let me know.

Could you add some type tests for jest showing the usage of your changes? (chaining and such)? :-)

Absolutely. Added https://github.com/flowtype/flow-typed/pull/507/commits/afd945bf220740415becd7fb5b2401d66ee4147f with some tests that failed before my changes but now succeed.

Thanks for your help :-)
@cpojer did the review here, so also thanks for that!


Add CI Testing

I've always liked how http://github.com/geerlingguy tests his ansible roles, so I added tests the same way here. I'm hoping this can be an example of how we can do it, then we can apply to all our roles.
Ticket:
https://github.com/Islandora-CLAW/CLAW/issues/794

This tests:

Does a syntax lint
Runs the playbook inside a docker container for appropriate OS
Re-runs the playbook to make sure nothing changed

This doesn't mean that the playbook actually properly installs whatever its supposed to install, just that it doesn't error out in the process of running the playbook. In practice though, I think it will be better then nothing.

@jonathangreen 👍 nice work, this is exactly what we need for all these roles and for claw-playbook proper.
I'll hold here for 24 hours in case @dannylamb or @Natkeeran have anything to say. But otherwise I think we should add this to all the repos in Islandora-Devops.

Forked it out of paranoia: https://gist.github.com/dannylamb/c57a00786bf5f90883678ad3dc1a2183


Request for Live Channels

Hello Bro,
All your Addon for Tamilyogi and TamilBlasters are mind-blowing.
If possible can you please create an Addon for the live channels using the below site?
https://netlivetv.xyz/
Note: They update their links for jiotv and zee5 every one day.
Thanks in Advance.

Hi @naveenland4 this is great idea. I wonder if there any other sources as well? Like vijay tv, sun tv etc

as of now i dont foresee any website have them. Will keep you posted. You may either generate a .m3u file using github action or an addon using streamio. But addon for iptv in stremio is not that much user friendly. :-)

I saw you worked on some m3u project. Can you contribute on that part?

they stopped working https://netlivetv.xyz/


[FLINK-15380][scala-shell]. Unable to set number of TM and number of Slot for MiniCluster in Scala shell

What is the purpose of the change
User often do testing in local mode(especially in flink scala shell), but for now in scala shell it is uanble to set number of TM and number of Slot, that means we always get 1 TM with 1 slot which is usually doesn't work for streaming job.  This PR is a straightforward fix for this issue.
Brief change log
This PR just set number of TM and slot per TM in MiniClusterConfiguration before creating MiniCluster.
Verifying this change
(Please pick either of the following options)
Verify it manually in scala shell.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not documented)

@aljoscha @kl0u @TisonKun Could you help review it ? It would be nice to merge it in 1.10 as well.

@flinkbot run travis

@flinkbot run azure

Looks good, @TisonKun do you want to go ahead and merge on master and release-1.10?

OK. Merging...