Implement a GC

There is no GC in Irmin (we just use git gc for now). This needs to be fixed if we want to version control everything. Moreover, we need to understand which hooks need to be exposed by the storage backend so we can register the hooks that we need to have a high-performance GC.
See mirage/irmin#71 and http://lists.xenproject.org/archives/html/mirageos-devel/2015-10/msg00040.html

@kayceesrk you expressed interest about that. You are still very welcome to have a look at it :-)

Yes. I was looking at this a few weeks ago, and I am still interested in doing this. I did have a few questions regarding this:

How/when do objects become unreachable in a typical git workflow?
What is the root set for the GC? Given that the data structures are persistent (I am imagining merge-queues for simplicitly and the fact that I understand how they work), there is always a way to reach objects in the past by checking out a previous commit.
In the case of persistent data structures, references are embedded in the object in an AO store. How does the GC distinguish between values and references?

It would help to have an example of a scenario where objects become unreachable.

I think there are various level of complexity for that task.

GC is done off-line, blobs do not contain pointers to other objects and roots are the Git references. Basically, it amounts of running git gc on process start (pretty easy) or re-implement something similar in Irmin (a bit more involved, especially if we are interested in the pack compression but doable)

GC is done online, blobs do not contain pointers to other objects and roots are the Git references and temporary branches. Very similar to what described above, just need to be careful with locking -- also need to register temporary roots with the temporary (anonymous) branches.

GC is done online, blobs can contain pointers to other objects and roots are the Git references and temporary branches. This need a change in Irmin datamodel, so probably API breakage and I suspect a bigger impact.

We need to ship 1. pretty soon, but I'll be interested to have PoC for 2. as well. 3. needs design discussion about API changes for Blobs.

Unreachability is usually done when people rebase/delete a branch.


Example of how to use for Rasterizer for offline rendering

I'd like to use the SoftwareRenderer to create a png image of an STL file, and I'm lacking an example of how to do this. Preferably without SDL but in pure C++ only.

Hey, this is out of the scope of this project and isn't really actively maintained. Cheers.


HTML5 Builds failing to preload

When compiling my HaxeFlixel project to html5 using lime, the preloader gets stuck here when I click on the html5 file. I am aware that it will work when I use the lime run html5 command in the root, but I want to deploy the app to a website and I don't want users to run into this issue.
Does anyone have a solution?
Source code is here if you need it.

Try pressing ctrl+shift+I (or right-click → inspect) to open the developer tools. The console tab will probably have an error message with more details.
Odds are, the problem is due to security restrictions preventing you from accessing your asset files. lime run gets around this by starting an HTTP server, serving all the files at once as a website would do. If you want to test without lime run, you can use Python to start a server manually.

Odds are, the problem is due to security restrictions preventing you from accessing your asset files.

Yeah, Lime/OpenFL pretty much always needs to be run from a server. You can't open the .html file from your hard drive because web browsers are really strict about accessing local files (images, etc.) and things. Back in the day, there wasn't much difference between local vs server, but at some point, browser vendors really locked things down for local files.

I want to deploy the app to a website and I don't want users to run into this issue.

It sounds like you'll be deploying to a server, so you shouldn't run into this issue.


Try v1.2.3 of fast-safe-stringify

This module currently points to a fork @bengourley/fast-safe-stringify which had a previously unmerged bug fix. The latest 1.x version of the original repo now appears to have fixed the bug.
https://github.com/davidmarkclements/fast-safe-stringify

Closed by https://github.com/bugsnag/bugsnag-js/commit/c9687f136a9b5c75471e7d6a87e2fee17334f93b


A collection declared as a prop introduces errors.

I think if you have a collection and a prop by the same name, a fatal error should be thrown when one tries to override the other. My code only works as a collection..
module.exports = BaseModel.extend({
  props: {
    clientid: 'number'
    // , events: 'object'
  }
  , collections: { events: NE }

@pgilad recently did just this.  https://github.com/AmpersandJS/ampersand-state/pull/192.  looks like the &-model deps just need to be bumped to<EMAIL_ADDRESS>

ampersand-state has been bumped, therefore closing this one.


Uncaught TypeError: Cannot read property 'appendChild' of null

I dont know what I'm doing wrong I followed the example and I'm getting :
Uncaught TypeError: Cannot read property 'appendChild' of null

On the Hub I put :
CrossStorageHub.init([
   {origin: /:\/\/(www\.)?mysite.com\/something\/myapp?     my.tabName=01rf0000000D4nF#!\/dashboard$/, allow: ['get', 'set', 'del']}
]);

And for the Client I put:
var storage = new CrossStorageClient('https://mysite.com/something/myapp?my.tabName=01rf0000000D4nF#!/dashboard');
    var setKeys = function () {
      return storage.set('newUserData', 'foo', 9000)
      .then(function() {
        return storage.get('key2', 'bar');
      });
    };
    storage.onConnect()
    .then(setKeys)
    .then(function() {
      return storage.get('key1');
    }).then(function(res) {
      console.log(res); // 'foo'
    })['catch'](function(err) {
      console.log(err);
    });

Its not showing the last bit of code but I got it right from the example

Is there a chance the HTML page for the client doesn't have a body element?

Yeah, I'm using "ng-view" (AngularJS), so basically everything is being dynamically added

Hm, so are you saying there isn't a body element? If not, can you add one? Or delay the client's initialization to when the body becomes available?
The only instance of appendChild in the code is here: https://github.com/zendesk/cross-storage/blob/06b3d83e6eff40333617e17764f6fabbf70d7857/dist/client.js#L371 Which specifically requires that a body element exist on which to append an iframe.

ill try the delay

var storage = new CrossStorageClient('https://mysite.com/something/myapp?my.tabName=01rf0000000D4nF#!/dashboard');
    var setKeys = function () {
      return storage.set('newUserData', 'foo', 9000) // 9 second delay
      .then(function() {
        return storage.get('key2', 'bar');
      });

I tried that still get the same error

I mean delaying the initialization of CrossStorageClient. Like the following:
var delay = 2000;
var url = 'https://mysite.com/something/myapp?my.tabName=01rf0000000D4nF#!/dashboard';

setTimeout(function() {
  var storage = new CrossStorageClient(url);
  var setKeys = function() {
    return storage.set('newUserData', 'foo', 9000)
    .then(function() {
      return storage.get('key2', 'bar');
    });
  };

  storage.onConnect()
  .then(setKeys)
  .then(function() {
    return storage.get('key1');
  }).then(function(res) {
    console.log(res); // 'foo'
  })['catch'](function(err) {
    console.log(err);
  });
}, delay);

Presumably, there'd be some sort of promise, hook, or callback that would indicate that the body is loaded. If not, you could poll, which is a bit less ideal:
var bodyLoaded = new Promise(function(resolve, reject) {
  var pollDelay = 100;
  var poll = setInterval(function() {
    if (!window.document.body) return;

    clearInterval(poll);
    resolve();
  }, pollDelay);
});

bodyLoaded().then(function() {
  var url = 'https://mysite.com/something/myapp?my.tabName=01rf0000000D4nF#!/dashboard';
  var storage = new CrossStorageClient(url);
  var setKeys = function() {
    return storage.set('newUserData', 'foo', 9000)
    .then(function() {
      return storage.get('key2', 'bar');
    });
  };

  storage.onConnect()
  .then(setKeys)
  .then(function() {
    return storage.get('key1');
  }).then(function(res) {
    console.log(res); // 'foo'
  })['catch'](function(err) {
    console.log(err);
  });
});

thanks i figured it out i was calling the crossStorage function before i even defined angularjs, but it works as expected. Thanks for your help!!

np! Glad it worked :)

putting my code into jquery $(document).ready solve the problem for me


Disable "dir" for file search on Windows

As a workaround for the issues we see.

Pushed via https://github.com/Microsoft/vscode/pull/11293

Verifier: best to use a tool like process monitor to see that on Windows we do not spawn a dir command when doing file search.

Verifying...

Verified. However opened: https://github.com/Microsoft/vscode/issues/11461


make error: "Matrix3f" is undefined

The error is related to Eigen I think, and I change the common_types.h by
#include <external/eigen3.4/Eigen/Eigen>
but it still doesn't work. Hope for some help, thanks.

Switching to gcc-7 solved this problem for me.

Switching to gcc-7 solved this problem for me.

Thanks a lot! @JenningsL This issue is solved and gcc-6 is suitable for me.
make is done but new error occurs when I run ./surfelwarp_app,  logs as below:
/3d/code/surfelwarp/core/render/Renderer.cpp:17: The graphic pipeline is not correctly initialized
It is due to glfwInit() failure. I have no idea what happen. Hope for helps again.

Switching to gcc-7 solved this problem for me.

Thanks a lot! @JenningsL This issue is solved and gcc-6 is suitable for me.
make is done but new error occurs when I run ./surfelwarp_app, logs as below:
/3d/code/surfelwarp/core/render/Renderer.cpp:17: The graphic pipeline is not correctly initialized
It is due to glfwInit() failure. I have no idea what happens. Hope for help again.

Switching to gcc-7 solved this problem for me.

Thanks a lot! @JenningsL This issue is solved and gcc-6 is suitable for me.
make is done but new error occurs when I run ./surfelwarp_app, logs as below:
/3d/code/surfelwarp/core/render/Renderer.cpp:17: The graphic pipeline is not correctly initialized
It is due to glfwInit() failure. I have no idea what happens. Hope for help again.

You can try a simpler GLFW applications, for instance this one on its website to see if you can call glfwInit correctly and create a window.
BTW, what's your GPU and driver version?

You can try a simpler GLFW applications, for instance this one on its website to see if you can call glfwInit correctly and create a window.
BTW, what's your GPU and driver version?

Hi, thank you for the reply. I use 2080ti and cuda 10.

I tried to compile this repo on two different computers and I get the same error.
Computer 1: NVIDIA 20800 ti, CUDA 10.2, Ubuntu 16.04
Computer 2: NVIDIA GEFORCE GTX 950M, Cuda 9.0, Ubuntu 16.04

If you are using CUDA 10, switching to gcc-7 like @JenningsL suggested indeed works.


Timeout expired when creating table for the first time

Describe this problem
Error Occurred When Creating the Table for the first time:
{"code":500,"message":"Failed to handle request, err:Failed to execute interpreter, query:CREATE TABLE `demo4` ( `the_datetime` timestamp NOT NULL, `ext_props` string, `factor` string TAG, `gmt_create` timestamp, `gmt_modified` timestamp, `is_dfd_del` bigint, `period` string TAG, `symbol` string TAG, `value` double, TIMESTAMP KEY(the_datetime)) ENGINE=Analytic WITH(arena_block_size='1024', compaction_strategy='default', compression='ZSTD', enable_ttl='false', num_rows_per_row_group='8192', segment_duration='', storage_format='COLUMNAR', ttl='7d', update_mode='OVERWRITE', write_buffer_size='335544320'), err:Failed to execute create table, err:Failed to create table by table manipulator, err:Failed to create table, msg:failed to create table by meta client, req:CreateTableRequest { schema_name: \"public\", name: \"demo4\", encoded_schema: [0, 10, 10, 10, 4, 116, 115, 105, 100, 16, 5, 32, 1, 10, 18, 10, 12, 116, 104, 101, 95, 100, 97, 116, 101, 116, 105, 109, 101, 16, 1, 32, 2, 10, 17, 10, 9, 101, 120, 116, 95, 112, 114, 111, 112, 115, 16, 4, 24, 1, 32, 3, 10, 16, 10, 6, 102, 97, 99, 116, 111, 114, 16, 4, 24, 1, 32, 4, 40, 1, 10, 18, 10, 10, 103, 109, 116, 95, 99, 114, 101, 97, 116, 101, 16, 1, 24, 1, 32, 5, 10, 20, 10, 12, 103, 109, 116, 95, 109, 111, 100, 105, 102, 105, 101, 100, 16, 1, 24, 1, 32, 6, 10, 18, 10, 10, 105, 115, 95, 100, 102, 100, 95, 100, 101, 108, 16, 7, 24, 1, 32, 7, 10, 16, 10, 6, 112, 101, 114, 105, 111, 100, 16, 4, 24, 1, 32, 8, 40, 1, 10, 16, 10, 6, 115, 121, 109, 98, 111, 108, 16, 4, 24, 1, 32, 9, 40, 1, 10, 13, 10, 5, 118, 97, 108, 117, 101, 16, 2, 24, 1, 32, 10, 16, 1, 24, 2, 34, 2, 1, 2], engine: \"Analytic\", create_if_not_exist: false, options: {\"write_buffer_size\": \"335544320\", \"arena_block_size\": \"1024\", \"enable_ttl\": \"false\", \"update_mode\": \"OVERWRITE\", \"ttl\": \"7d\", \"segment_duration\": \"\", \"compression\": \"ZSTD\", \"compaction_strategy\": \"default\", \"num_rows_per_row_group\": \"8192\", \"storage_format\": \"COLUMNAR\"}, partition_table_info: None }, err:Failed to alloc table id, err:status: Cancelled, message: \"Timeout expired\", details: [], metadata: MetadataMap { headers: {} }"}

Steps to reproduce
My env is:
shard_num: 512
wal: Oceanbase
storage: Aliyun Oss
version info:
CeresDB Version: 1.0.0-alpha02
Git branch: main
Git commit: 9e06dcc
Build: 2023-02-24T09:49:37.459728854+00:00

Steps to reproduce the error:

I install and init cluster;
Create a table

curl --location --request POST 'http://<IP_ADDRESS>:5000/sql' \
-d'
CREATE TABLE `MMM_demo` (
    `name` string TAG,
    `value` double NOT NULL,
    `t` timestamp NOT NULL,
    timestamp KEY (t))
ENGINE=Analytic
  with
(enable_ttl="false")
'

Expected behavior
Create table successfully.
Additional Information
No response

This failure seems caused by CeresMeta, @ZuLiangWang can help troubleshoot this problem.


Smart broadcast_to matcher

Hi,
PR regarding https://github.com/palkan/action-cable-testing/issues/9.
What do you think?

Oh wait, I thought of a better way to do it. Gonna push soon

@TheSmartnik LGTM 👍
Let's add a scenario to features/matchers/have_broadcasted_matcher.feature and a change log entry.

@palkan Done

I don't have much experience with cucumber though and  was interested why are you using cucumber here? What advantages over regular rspec/minitest testing does it give here?

I don't have much experience with cucumber though and was interested why are you using cucumber here? What advantages over regular rspec/minitest testing does it give here?

Good question) The only reason I'm using cucumber here is to be compatible with rspec-* development style (in order to make it easier to merge this into rspec-rails later). And they use it to build relish docs.

Good question) The only reason I'm using cucumber here is to be compatible with rspec-* development style (in order to make it easier to merge this into rspec-rails later). And they use it to build relish docs.

Oh, cool. Thanks for explaining 😄

@palkan All good now

Thanks, @TheSmartnik!
I gonna release as soon as I implement the same functionality for Minitest assertions.


Stopping/starting postgresql service

Is your feature request related to a problem? Please describe
The current implementation of systemd.service is unable to stop postgresql (at least in my case). The reason is that the postgresql.service service has status active (exited) and hence pyinfra thinks the service is stopped already.
Describe the solution you'd like
Some possible solutions:

have the possibility of "force" run a command, so that in this case it will stop the service regardless of the status.
have ad-hoc operations in the postgresql operations to start/stop the service.

Happy to help if you think this may be useful.

@giuppep this sounds like a bug in the server.SystemdSstatus fact, I think anything active (exited) should be considered running. Will take this opportunity to look at all the statues systemd might use as well.

Fixed this in https://github.com/Fizzadar/pyinfra/commit/a54ac6f07849054ccf35700771d6e15186a80e33; now released in v1.4.1!

Looks like it's working fine now. Thanks a lot for fixing 😃
(By the way, great job on the library, I really like it! 😉 )


Creating our own model to do the imprinting weight

Hello,
I try to create the model to do the imprinted weight, the model through quantization-aware training and compiler. However, Regardless of using  tf.keras.layers.LayerNormalization、tf.math.l2_normalize、tf.keras.backend.l2_normalize, edge TPU raised the Error: must have L2norm or RuntimeError: The last 5 operators should be L2Norm, Con2d, Mul, Reshape and Softmax when we are using imprinting_learning.py.
Which function do we have to use is able to lead us to run the imprinting_learning.py successfully?
Thanks

Hi, sorry not sure if I understand the query correctly, did you get a chance to check here? Creating a model is a little outside of our support scope and it is advised that you checkout this paper


[Fix] Add return in Promise 'then' callback

return null in Promise then callback to suppress Bluebird warning.
Though this is not required by ES6 Promise specification, this repo should comply to Bluebird best practice unless using it. Otherwise redundant log is printed out into console in development, which is annoying and have nothing to do with hypernova or its users:

Documents
From Bluebird: http://bluebirdjs.com/docs/warning-explanations.html#warning-a-promise-was-created-in-a-handler-but-was-not-returned-from-it

If you know what you're doing and don't want to silence all warnings, you can create runaway promises without causing this warning by returning e.g. null:

getUser().then(function(user) {
    // Perform this in the "background" and don't care about its result at all
    saveAnalytics(user);
    // return a non-undefined value to signal that we didn't forget to return
    return null;
});

@ljharb Thank you for reviewing.
@goatslacker I would appreciate if you take time to review this PR 🙏

@kenju would you mind rebasing on the command line, so there's no merge commits in the PR?

@ljharb Sure I did ( also squashed first commit, which was just returning null, into one commit).

So we don't change the semantics can we just return undefined from each?

@goatslacker the warning is because the promises being created are being thrown away - the best practice is to let every promise be consumed by something. Is there a problem with returning a promise here?


Error when send message

shubham@shubham-Vostro-2520:~/Desktop/tg/yowsup$ python3 send.py
Traceback (most recent call last):
File "send.py", line 4, in
client.send_message(phone_to,"hello")
File "/home/shubham/Desktop/tg/tg/lib/python3.5/site-packages/whatsapp.py", line 153, in send_message
self._send_message(to, message)
File "/home/shubham/Desktop/tg/tg/lib/python3.5/site-packages/whatsapp.py", line 148, in _send_message
self.stack.loop()
File "/home/shubham/Desktop/tg/yowsup/yowsup/stacks/yowstack.py", line 196, in loop
asyncore.loop(*args, **kwargs)
File "/usr/lib/python3.5/asyncore.py", line 203, in loop
poll_fun(timeout, map)
File "/usr/lib/python3.5/asyncore.py", line 150, in poll
read(obj)
File "/usr/lib/python3.5/asyncore.py", line 87, in read
obj.handle_error()
File "/usr/lib/python3.5/asyncore.py", line 83, in read
obj.handle_read_event()
File "/usr/lib/python3.5/asyncore.py", line 423, in handle_read_event
self.handle_read()
File "/home/shubham/Desktop/tg/yowsup/yowsup/layers/network/layer.py", line 102, in handle_read
self.receive(data)
File "/home/shubham/Desktop/tg/yowsup/yowsup/layers/network/layer.py", line 110, in receive
self.toUpper(data)
File "/home/shubham/Desktop/tg/yowsup/yowsup/layers/init.py", line 79, in toUpper
self.__upper.receive(data)
File "/home/shubham/Desktop/tg/yowsup/yowsup/layers/stanzaregulator/layer.py", line 29, in receive
self.processReceived()
File "/home/shubham/Desktop/tg/yowsup/yowsup/layers/stanzaregulator/layer.py", line 49, in processReceived
self.toUpper(oneMessageData)
File "/home/shubham/Desktop/tg/yowsup/yowsup/layers/init.py", line 79, in toUpper
self.__upper.receive(data)
File "/home/shubham/Desktop/tg/yowsup/yowsup/layers/auth/layer_crypt.py", line 65, in receive
self.toUpper(payload)
File "/home/shubham/Desktop/tg/yowsup/yowsup/layers/init.py", line 79, in toUpper
self.__upper.receive(data)
File "/home/shubham/Desktop/tg/yowsup/yowsup/layers/coder/layer.py", line 35, in receive
self.toUpper(node)
File "/home/shubham/Desktop/tg/yowsup/yowsup/layers/init.py", line 79, in toUpper
self.__upper.receive(data)
File "/home/shubham/Desktop/tg/yowsup/yowsup/layers/logger/layer.py", line 14, in receive
self.toUpper(data)
File "/home/shubham/Desktop/tg/yowsup/yowsup/layers/init.py", line 79, in toUpper
self.__upper.receive(data)
File "/home/shubham/Desktop/tg/yowsup/yowsup/layers/init.py", line 194, in receive
s.receive(data)
File "/home/shubham/Desktop/tg/yowsup/yowsup/layers/init.py", line 130, in receive
recv(node)
File "/home/shubham/Desktop/tg/yowsup/yowsup/layers/auth/layer_authentication.py", line 81, in handleFailure
raise AuthError(nodeEntity.getReason())
yowsup.layers.auth.autherror.AuthError: not-authorized

I solve the error and script is running without error but message is not received

How did you solve this error?

this error is automatically solved and my number is banned by whatsapp.

I got this error when my number was registered again  and I was using old passoword.
Also If you are using the number nowhere else , chances are that it might be blocked.
Try registering again , you'll know your number's status.


mat-sidenav-container breaks site using safari on macbook (not macbook pro)

Bug, feature request, or proposal:
Bug
By removing overflow: hidden we see the expected behaviour.
What is the expected behavior?
Site should be scrollable/visible
What is the current behavior?
https://material.angular.io/ is not scrollable
What are the steps to reproduce?
Go to https://material.angular.io with safari on a Macbook.
What is the use-case or motivation for changing an existing behavior?
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Is there anything else we should know?
Also on our own site the content in mat-sidenav-container is collapsed.
We have verified this problem on 2 separate Macbooks.

It's working absolutely fine in my Macbook @mackelito

@isurendrasingh so scrolling works on https://material.angular.io when using safari on a Macbook for you? This is strange.. tested on a 3:rd this weekend and got the same result..?

@isurendrasingh what version of safari are you using?

@mmalerba have been able to verify this issue? Or I'm just crazy? 😄

I am not able to reproduce on my macbook. Are you using an older version of Safari? Could you try the dev site as well? Also try clearing your browser cache, the cache settings were messed up at one point so some people have an outdated cached version of the site


:help vim9-scopes is outdated

Steps to reproduce
The section under :h vim9-scopes needs to be updated since it's no longer possible to write def scriptname#function(). Doing so gives the error:
E1263: cannot use name with # in Vim9 script, use export instead

What is the point of keeping the prefix s: for functions or variables? I personally don't see an advantage. Removing it (or forcing it) will make all plugins look more consistent. There is already an inconsistency in Vim's runtime. See for example s:LoadFTPlugin() and SetSyn(name: string).
And out of curiosity, why doesn't the file ftplugin.vim contain any vim9script declaration at the top of the file. The first few lines use the old legacy vimscript syntax, whereas the def function the new syntax. In my option, that's a little bit confusing. Why not just vim9script the entire script? Similar for menu.vim and synmenu.vim.
Version of Vim
8.2.4333

Fixed in 9da17d7.


Implement Lazy elements in VDOM

This is a first draft for the lazy handling in the VDOM. Implementation should be fully working in the JS SPA, but should be debugged for server components.
How it works?
Lazy nodes are implemented by leveraging on the DOM. Every time a lazy node has to be created, a lazy property is set on the node, containing the params used to generate the VDOM subtree, as well as its function and the timestamp at which the subtree has been generated (more on that later).  A check is done on the parameters, by comparing them one by one. If it ends up by not needing to repaint the lazy node, then the real DOM node will be kept, and skipped in the render. If it's needed to repaint, then the lazy function will be executed, and the node replaced.
Why using a Timestamp?
The timestamp is there to distinguish an edge case in the VDOM. Let's illustrate it:
pub fn view_item(content) {
  element.fragment([
    html.div([], [html.text(content)]),
    html.div([], [html.text(content)]),
  ])
}

pub fn view() {
  html.div([], [
    element.lazy1("Bonjour", view_item),
    element.lazy1("Bonjour", view_item),
    element.lazy1("Monde!", view_item),
  ])
}

In such cases, and because there's multiple fragment, the generated HTML should be:

Bonjour

Bonjour

Bonjour

Bonjour

Monde

Monde

When repaint the first lazy1 here, there's no way to determine how much from the previous render should be skipped. We could compare the params, but here, the 4 first nodes will have the same functions and the same params. After a rerender, we'll end up with a DOM like this:

Bonjour

Bonjour

Bonjour

Bonjour

Bonjour

Bonjour

Monde

Monde

Because the 4 first nodes will be considered as the first lazy (and skipped), and the second lazy will be compared to nothing, and thus new nodes will be added. To catch this bug, a timestamp is added to every nodes in a lazy rendering. This means we are now able to distinguish the nodes added in the render, and so skip the exact number of nodes from the previous fragment.
The HTML is similar to:

Bonjour

Bonjour

Bonjour

Bonjour

Monde

Monde

So we can only compare the timestamp, and we can completely skip the params comparison!
By the way, it does not have to be a timestamp, but only a guaranteed unique integer. Time is guaranteed to be monotonically growing over time, thanks to performance.now. Random ints could be simple generated on BEAM, by using erlang:unique_integer.

No use for this I think. I'll keep changes in case someone uses them one day, but I highly doubt about it. Idea with custom-components feels way better.


Open Ticket with AMAZON.NUMBER

I have the following doubt, it is possible to pass numbers to a stream using AMAZON.NUMBER using Flask-Ask.
For example.
Me: "Open a new ticket
Alexa: "Please, speak the 4 digits of your license plate and wait"
Then I need to store in a variable these 4 digits and pass it on to a Webservice Rest to identify the login name of the client, email and phone.
Me: "I'm having problems printing"
Alexa: Do you want a new print request? Yes or no.
Me: Yes
Alexa: Your request has been successfully registered!

If their are always four digits, use AMAZON.FOUR_DIGIT_NUMBER
https://developer.amazon.com/public/solutions/alexa/alexa-skills-kit/docs/built-in-intent-ref/slot-type-reference#four_digit_number
Otherwise, you can create muliple utterances that chain utterances together
{number}, {number}, and {number}
{number}, {number}, {number}, and {number}
{number}, {number}, {number}, {number}, and {number}

I have a question, I need an intention for each user on my system or I can review what the user said to Alexa, for example:
ID of Jerson is 1801
Bruno's ID is 1933
Please, speak the 4 digits of your license plate and wait"
var id=1801

These questions are really outside the scope of Flask-Ask, but you should use AMAZON.US_FIRST_NAME (or your specific locale if it provides one)

OK. Through the 4 digits that I can find the user login, would it be possible to pass the 4 digits to a variable in python and then question what it wants? Would I have to create intentions for each user number or is it possible to go over the 4 unintentional digits?


General arduino port of TFLite-micro?

Hi all!  I'm working my way through the "TinyML" O'Reilly book (by Pete and Daniel).  I already own a couple of modern arduinos (a Adafruit Bluefruit Sense feather, and Adafruit ESP32-S2 Feather), and I'm surprised that TFLite only works on a single specific Arduino (the Nano 33 BLE Sense).
The front page of the project cheerfully suggests that TFLiteshould "work on any arm-m4-cortex" device (like my Bluefruit Sense), but after a couple of hours I gave up trying to get the "hello world" sine-wave example to compile in the IDE for my feather.  I commented out the #ifdef test that looks for the specific 33 BLE model, but like so many others, got lost in a maze of min() and max() being defined too many times.
So I'm asking:  is anyone working on a more generalized m4-cortex port?  Perhaps one that doesn't support all the custom sensor hardware for the 33 BLE Sense device, but is simply guaranteed to be able to do nothing but run the TF Interpreter?

@sussman I also would like to know how to port tFlite-micro to any of the hundreds of microcontrollers that could probably do TinyML. Years ago I used to have a very simple way to do it, but that has been deprecated. The breaking point used to be logging debug info. Has that changed?
All of the single page Arduino examples on this repository folder used to run on multiple devices. (I was mainly using the then new  Arduino PortentaH7).   The main part of my code was a bunch of if statements that chose the correct output method for the device. Can someone suggest a way to include this method in the new version of tFlite-micro?  My very bad solution was to download an old version of tflite-micro that I had changed slightly. I would prefer to run a new version of tflite-micro. Any suggestions for a fix.
@rkuester  @mansnils
Here is what used to work

// Start Debug.cc information    ----------------------------------------------------------

 #if  defined (CORE_CM7)   || defined (CORE_CM4)  || defined (TEENSYDUINO) ||  defined (ARDUINO_NANO33BLE) ||  defined (YOUR_BOARD1) // CORE_CM7 is for the PortentaH7 outer core

    // do obsoletely nothing the default works

 // Note:  NANO_33_BLE deprecated as MBED of 1.30, new name: ARDUINO_NANO33BLE
 // Note:  CORE_CM4 MBED of 1.30, moved above
 #elif   defined (NANO_33_BLE)   ||  defined (YOUR_BOARD2)  // CORE_CM4 is for the PortentaH7 inner core

     #define DEBUG_SERIAL_OBJECT (Serial)

     extern "C" void DebugLog(const char* s) {
        static bool is_initialized = false;
        if (!is_initialized) {
           DEBUG_SERIAL_OBJECT.begin(9600);
           is_initialized = true;
        }
        DEBUG_SERIAL_OBJECT.print(s);
     }

 #elif defined (__SAM3X8E__)  ||  defined (YOUR_BOARD3) // Arduino UNO style boards

     #define DEBUG_SERIAL_OBJECT (SerialUSB)

     extern "C" void DebugLog(const char* s) {
        static bool is_initialized = false;
        if (!is_initialized) {
           DEBUG_SERIAL_OBJECT.begin(9600);
           is_initialized = true;
        }
        DEBUG_SERIAL_OBJECT.print(s);
     }
 #elif defined (SEEED_XIAO_M0)  ||  defined (YOUR_BOARD4) // The new $5 USD Seeeduino XIAO board

     #define CFG_TUSB_DEBUG

 #else
   // don't do any debugging until you figure out your board

   extern "C" void DebugLog(const char* s) {
     // Do not log debug info
   }
 #endif

/*
 * nano_33_iot.build.board=SAMD_NANO_33_IOT  // have not got it working yet
 *
*/

// End Debug.cc information    ----------------------------------------------------------

This 2021 comment by @advaitjain  seems to address this issue, https://github.com/tensorflow/tflite-micro/issues/407#issuecomment-898660589   and for Arduinos the solution seems to be this repo
https://github.com/tensorflow/tflite-micro-arduino-examples
but that repo has not been supported for a while.  Back to the original questions, is there an easy way to port TFlite-micro to other microcontrollers, like my list of if statements above?
P.S. Why did I leave tFlite-micro 3 years ago, because edgeimpulse.com made it all so easy and pure tFlite-micro was not needed. I would now like to get back to tFlite-micro because my needs and microcontrollers have changed.
@petewarden

So this is very interesting on the tflite-micro-arduino-examples" for the Nano33BleSense  using the Tensorflow library
Note: Which loads as Arduino_TensorFlowLite  as if it is a library written by Arduino.
https://github.com/tensorflow/tflite-micro-arduino-examples/blob/76052fc778fb3638667d69886503733653550bfc/src/peripherals/peripherals.h#L34
In the file at
https://github.com/tensorflow/tflite-micro-arduino-examples/src/peripherals/peripherals.h
#if defined(ARDUINO_ARDUINO_NANO33BLE)
#include <cstdint>

#include "button.h"
#include "led.h"
#include "ws_wm8960_audio_hat_nrf52840.h"

#define AUDIO_DEVICE_WS_WM8960_AUDIO_HAT \
  &peripherals::WS_WM8960_AudioHat_NRF52840::Instance()

namespace peripherals {

constexpr PinName kI2S_BIT_CLK = P0_27;   // D9
constexpr PinName kI2S_LR_CLK = P1_2;     // D10
constexpr PinName kI2S_DATA_IN = P1_12;   // D3
constexpr PinName kI2S_DATA_OUT = P1_11;  // D2
constexpr uint32_t kI2S_IRQ_PRIORITY = 7;

constexpr uint32_t kI2C_CLOCK = 100000;

constexpr pin_size_t kBUTTON_GPIO = D8;

constexpr pin_size_t kLED_DEFAULT_GPIO = D13;

}  // namespace peripherals

#else  // ARDUINO_ARDUINO_NANO33BLE
#error "unsupported board"

#endif  // ARDUINO_ARDUINO_NANO33BLE

I think this is still an important issue.

Six weeks later:  Is this project maintained anymore?   Anyone looking at issues?  Or is there perhaps a mailing list?

Hi all! I'm working my way through the "TinyML" O'Reilly book (by Pete and Daniel). I already own a couple of modern arduinos (a Adafruit Bluefruit Sense feather, and Adafruit ESP32-S2 Feather), and I'm surprised that TFLite only works on a single specific Arduino (the Nano 33 BLE Sense).
The front page of the project cheerfully suggests that TFLiteshould "work on any arm-m4-cortex" device (like my Bluefruit Sense), but after a couple of hours I gave up trying to get the "hello world" sine-wave example to compile in the IDE for my feather. I commented out the #ifdef test that looks for the specific 33 BLE model, but like so many others, got lost in a maze of min() and max() being defined too many times.
So I'm asking: is anyone working on a more generalized m4-cortex port? Perhaps one that doesn't support all the custom sensor hardware for the 33 BLE Sense device, but is simply guaranteed to be able to do nothing but run the TF Interpreter?

I see no reason why this shouldn't work, even if it only uses reference kernels. However, as I mentioned on #2229, we're not actively maintaining the arduino examples repository. Could you give more specifics about how you're building the project and what issue you're seeing?

@sussman I also would like to know how to port tFlite-micro to any of the hundreds of microcontrollers that could probably do TinyML. Years ago I used to have a very simple way to do it, but that has been deprecated. The breaking point used to be logging debug info. Has that changed?

Yes, this changed not too long ago in PR #2073, which pushed the responsibility of print formatting onto the platform implementation. The signature for DebugLog now includes format args:
external "C" void DebugLog(const char* format, va_list args);

If your platform doesn't have any print formatting, you can also use the eyalroz_printf library like we do on the bluepill platform.

So, after spending a few hours trying (unsuccessfully) build a project using
https://github.com/tensorflow/tflite-micro-arduino-examples (the official library)
I found this fork
https://github.com/spaziochirale/Chirale_TensorFlowLite
which seems to be maintained. Compiled and run without issues on ESP-EYE (ESP32).
Just leaving it here for someone to find if struggling with official abandoned library.

Hey thanks, I'll give it a try when I have time!


rest: HTTP OPTIONS calls are fetching resources.

It seams like an HTTP OPTIONS call will fetch resources if you do an OPTIONS call against a nested resource. E.g.:
http OPTIONS :8080/parents/123/children

Will result in a Find call against resource parents for items with ID 123. This does not seam like the right behavior.

One question is if the Handler for index should handle options requests at all, or if we should have a completely different options handler. This would allow for OPTIONS requests to bypass authentication for instance.
We found a good order of middelware to be:

Authenticate user token and set user in context if succesfull. Call next handler either way.
Access log middleware
CORS handler, pass through OPTIONS requests.
OPTION handler for a resource.Index
Require login barrier -- only pass through if authenticated.
API handler for the same resource.Index


[Support Topic Request]

Support Topic Request
Fill out each section to describe a request for a new article on a support topic.
The hpc-support repo is a public repository; secrets should not be discussed here.
Description:
A short description of the topic.
Related to:
Links to relevant tickets in Remedyforce, or discussions in Slack, or discussions in Teams.
Existing resources:
Links to any existing articles, for example on Confluence or the UCL Research Computing Documentation, that partially satisfy this request. There may be none.
Recommendation: (optional)
If no article exists for this issue in Confluence or the UCL Research Computing Documentation, a new page should be created in the hpc-support wiki on Github.
If an article does exist in Confluence or the UCL Research Computing Documentation that completely covers the topic, comment on this issue with a link to the article and close the issue.
If it is not clear whether an article exists that completely covers this topic, discuss in the comments to determine whether a new page should be written or whether the existing documentation is sufficient.

This was simply a demonstration of the new issue template.


Upgrading cluster minor version from cloud console for provisioned cluster resulting in sync error

Rancher version:
Rancher - v2.9-9755233b8141e854d4546cf56d3be350320b409d-head & v2.10.0-alpha7
gke-operator: v1.9.4-rc.1 & gke-operator:v1.10.0-rc.2
Cluster Type: Downstream GKE cluster
Steps:

Provision a GKE cluster with k8s minor version less than highest supported minor version.
Upgrade version of cluster from GKE side

Describe the bug:
Upgrading cluster version from cloud console for Rancher provisioned cluster resulting in sync error.
However the behavior is not reproducible each time.
gkeConfig:
    autopilotConfig: {}
    clusterAddons:
      horizontalPodAutoscaling: true
      httpLoadBalancing: true
    clusterIpv4Cidr: <IP_ADDRESS>/14
    clusterName: auto-gke-cpinjani-hp-ci-wnlgd
    description: ''
    enableKubernetesAlpha: false
    googleCredentialSecret: cattle-global-data:cc-9tckr
    imported: false
    ipAllocationPolicy:
      clusterIpv4CidrBlock: <IP_ADDRESS>/14
      clusterSecondaryRangeName: gke-auto-gke-cpinjani-hp-ci-wnlgd-pods-b422a26f
      servicesIpv4CidrBlock: <REDACTED>
      useIpAliases: true
    kubernetesVersion: 1.30.5-gke.1699000
    labels:
      testfilenumber: line59_sync_provisioning_test
    locations:
      - asia-south2-c
    loggingService: logging.googleapis.com/kubernetes
    maintenanceWindow: ''
    masterAuthorizedNetworks: {}
    monitoringService: monitoring.googleapis.com/kubernetes
    network: <REDACTED>
    networkPolicyEnabled: false
    nodePools:
      - autoscaling: {}
        config:
          diskSizeGb: 50
          diskType: pd-standard
          imageType: COS_CONTAINERD
          machineType: n1-standard-2
          serviceAccount: default
        initialNodeCount: 1
        management:
          autoRepair: true
          autoUpgrade: true
        maxPodsConstraint: 110
        name: np
        version: 1.30.5-gke.1699000
    privateClusterConfig: {}
    projectID: <REDACTED>
    region: ''
    subnetwork: <REDACTED>
    zone: asia-south2-c

Screenshots

A similar issue has been reported in the past: https://github.com/rancher/rancher/issues/40983
Also noticed that the GKE error occurs when downgrading to an earlier minor version, see https://cloud.google.com/kubernetes-engine/docs/how-to/upgrading-a-cluster#downgrading-limitations

For clusters managed by Rancher users, should use Rancher UI as management tool, otherwise we will have always problem in which direction we should sync configuration data.
For me this issue is invalid.

Validation passed on GKE nightly chart

Validation passed on gke-operator:v1.10.1-rc.1 as well.


Unable to live migrate when a background job is running inside container.

Running on ubuntu 16.04
sudo lxc info lxd-cnt-1071
Name: lxd-cnt-1071
Architecture: x86_64
Created: 2016/06/17 18:52 UTC
Status: Running
Type: persistent
Profiles: default
Pid: 13994
Ips:
eth0:	inet	<IP_ADDRESS>	vethE6BH4L
eth0:	inet6	fe80::216:3eff:fedb:be32	vethE6BH4L
lo:	inet	<IP_ADDRESS>
lo:	inet6	::1
Resources:
Processes: 20
Disk usage:
root: 643.95MB
Memory usage:
Memory (current): 15.69MB
Memory (peak): 38.77MB
Network usage:
eth0:
Bytes received: 2.78kB
Bytes sent: 1.01kB
Packets received: 18
Packets sent: 10
lo:
Bytes received: 288 bytes
Bytes sent: 288 bytes
Packets received: 4
Packets sent: 4
Steps to reproduce :
sudo lxc exec lxd-cnt-101 bash
root@lxd-cnt-1071:~# yes >& /dev/null &
[1] 368
root@lxd-cnt-1071:~# exit
Terminal hangs up as posted in the previous issue. #2133
Live migration fails as below
sudo lxc move lxd-cnt-1071 r520-51.es2.int:
error: Error transferring container data: checkpoint failed:
(00.110657) Error (namespaces.c:256): Can't dump nested cgroup namespace for 14567
(00.110659) Error (namespaces.c:502): Can't make cgroup id
(00.113373) Error (util.c:670): exited, status=1
(00.115782) Error (util.c:670): exited, status=1
(00.115893) Error (cr-dump.c:1600): Dumping FAILED.

This is a CRIU bug which should instead be reported at https://launchpad.net/ubuntu/+source/criu/+filebug
This also sounds familiar so it could be that someone already filed it there. You can check the current list at https://launchpad.net/ubuntu/+source/criu/+bugs


Implement stubbed Transform path apis

CGPathCreateCopyByTransformingPath
CGPathCreateMutableCopyByTransformingPath

These APIs are already marked interoperable and in use by CGContext in CGContextAddPath. This was implemented to resolve the failures in transforms and CGPath in pull request #1550.

There is a TODO in https://github.com/Microsoft/WinObjC/blob/develop/Frameworks/CoreGraphics/CGContext.mm#L1100.  Lets remove that then.

Closing.  will deal with this separately. @DHowett-MSFT hopefully we can address this in you PR.


Colorize @names based on type of identifier

From https://github.com/subconsciousnetwork/subconscious/issues/609:

We have up to three names for a user:

our petname for them
their profile nickname
their relative address to us

These could be colorized by case to help with visual parsing:

petname: purple (accent)
nickname: pink/blue
address: grey

Capturing petname system design requirements in #615


Overlapping character and word boxes

Hello, we are using the Tesseract 4.1.1 package and have noticed an issue: occasionally some character bounding boxes are overlapping (see below image), especially on skewed documents.

Switching to words fixes the character issue (we can approximate character boxes based on the word box), however word boxes are also occasionally overlapping (happens most often when there is a longer word followed by a smaller).

We are using ResultIterator.TryGetBoundingBox(IteratorLevel, out Rect). This seems like a bug in the library. Do you know what might cause the issue?

That’s an undesirable behavior of the tesseract library, not the C# wrapper.  You should report it to them.

Ok, thanks! I'll report it to them


Updated code only prompts the Question section

Some of the screenshots are attached as a visual.

This is a bug and can be fixed with adding a function that would initialize the app.
Example:
questions()
// getting user input
.then((answers) => {
// Use user feedback for... whatever!!
})
.catch((error) => {
if (error.isTtyError) {
// Prompt couldn't be rendered in the current environment
} else {
// Something else went wrong
}
});

Brackets were missing and so node.js read the questions as a one big object rather than separate object. Debugged by adding the missing brackets.
Code is fully functioning now and can generate a ReadMe file.
Just need to add conditions so the user won't be inputting random things like I did


DCOS-11957: Add redirect after destroying a service

This PR adds a delayed redirect after a service got destroyed via the ServiceDestroyModal.
We have to delay the redirect because Router redirects faster than our code manages to close the modal which results in the Modal inviting you to destroy the root / group as well.

run unit tests

L👀ks good!

🥗  All test pass locally and the test failure is unrelated to the introduced changes.


Updating amadeus address

Including Mainnet address

We add the Mainnet Amadeus address and change the Kovan address.

Hello Tom,
The Amadeus Relayer will not behave like a decentralized exchage. Our idea
is to be used by dApps, implementing the Reserve Manager strategy. We don't
consider that the endpoint "/ordebook" will be used in our usage scenarios.
Is that mandatory to the registry?
Regarding Mainnet, we are in the final testing phase and we will announce
the launch on Mainnet in a few weeks.
On Sun, Jul 15, 2018 at 2:22 PM, Tom Schmidt<EMAIL_ADDRESS>wrote:

Hey @fabiocesso https://github.com/fabiocesso -- thanks for updating
your info! Looks like the /orderbook endpoint isn't work for me (
https://github.com/0xProject/standard-relayer-api/blob/
master/http/v0.md#get-v0orderbook). Are you looking into implementing
this at some point?
Also, ETA for mainnet launch? :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/0xProject/0x-relayer-registry/pull/20#issuecomment-405105344,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ae-j7646HcZB38wxqci2lknpsgQmafU2ks5uG3pzgaJpZM4VOKSD
.

Ah right! I forgot -- makes sense. Merged :)

Thanks!
On Mon, Jul 16, 2018 at 10:13 PM, Tom Schmidt<EMAIL_ADDRESS>wrote:

Merged #20 https://github.com/0xProject/0x-relayer-registry/pull/20.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/0xProject/0x-relayer-registry/pull/20#event-1736573143,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Ae-j78vBkL5xuaVLHtieO3hchib4H7ioks5uHToggaJpZM4VOKSD
.


A Ngen driver applicable both for serial and MPI

A NGen.cpp version for both serial and MPI using Remote Nexus
Additions

Removals

Changes

NGen.cpp

Testing

Tested the RemoteNexus using MPI
Run ngen test in serial mode
Run ngen in parallel mode

Screenshots
Notes

Todos

Checklist

[ x] PR has an informative and human-readable title
[ x] Changes are limited to a single goal (no scope creep)
[ x] Code can be automatically merged (no conflicts)
[ x] Code follows project standards (link if applicable)
[ ] Passes all existing automated tests
[ x] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future todos are captured in comments
[ ] Project documentation has been updated (including the "Unreleased" section of the CHANGELOG)
[ ] Reviewers requested with the Reviewers tool :arrow_right:

Testing checklist (automated report can be put here)

Target Environment support

[ x] Linux

Hold for updates to remote nexus impementations.

Implementation related to #229


Restore-DbaDatabase - Stop updating input history objects

Type of Change

[x] Bug fix (non-breaking change, fixes #5036 )
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] If new file reference added for test, has is been added to github.com/sqlcollaborative/appveyor-lab ?
[ ] Nunit test is included
[ ] Documentation
[ ] Build system

Changes

Made history objects cloneable
Made types used in history objects cloneable
Switched to cloning history objects

Thanks, Fred. Unfortunately, this went nuts on win7/sql2000 so I will close for now because I assume you will not have time until after 1.0. If you do, please feel free to reopen after testing on win7/sql2000.


Add a page name Gallery

Make a carousel in the gallery page which will display

images
videos

can I work on this?

Yes sure! Assigning to you.

Any updates? @ikabir21


IPTT filter panel and Indicators page: Replace select2 multi-select widget with a bootstrap widget

Affects: IPTT filter panel and Indicators page.
This is the widget we'd like to use: http://davidstutz.de/bootstrap-multiselect/ with an example implementation here that I like: http://www.itidabhoi.org/demo/bootstrap-multiselect-dropdown/.
We need to make sure it is capable of replacing the existing widget in all places where it is currently used. (Only reports we need to worry about is Disaggregation -- the rest are going away very soon.)
Desirable UI refinements

I'd like to use the includeSelectAllOption function.
Can the menu be styled to look more similar to our standard dropdown? Specifically -- text is left aligned while arrow is right-aligned.
Use #3366cc for checkboxes in selected state.
Use #0645ad for the row color when an item is selected.
Is it possible to have long options (such as long program names) wrap at some point, instead of stretching out the widget until it's huge?

Where to deploy the widget of awesome?
In addition to replacing the multi-select drop-down menus currently used at the top of the home page, Program Indicators page, etc... Let's also take a look at replacing multi-select functions within our forms. For example, on the Indicators Setup form, we use several different flavors of multi-select. Can we replace some or all of these with the widget of awesome?

@sanjuroj & @mahmoodkhan: There’s a block in base.html called extra_js_in_header but it seems to contain libraries that might need to be applied universally. (Every template I could find that overrides the base block includes at least leaflet.js)
I've been loathe to get into template structure so not sure what my question here is, other than what is the intent of extra_js_in_header?

Also todo:

[ ] Find all instances of multiselect/select2 and standardize on this widget
[ ] Fix the reset button on filters (e.g. IPTT)

@axoplasm For Winterhawks, we do not need to find all instances of multiselect/select2 and standardize on this widget. I've broken that out into a new ticket and assigned it to the Spillover project. #343

I'm not sure what last issue is above (Check out the issue where all filters in the bottom section open and close when you click Apply) — is this a browser flash before the multiselect “appears”?
I also welcome some thinking about what exactly “reset” should do on this screen. RN I'm thinking it should remove (actually “select all”) the filters in the light gray area

To answer my own question: we have determined that clicking “reset” will return the filter panel to the state that produced the current data display. This is exactly the same as refreshing the page.

@axoplasm One remaining issue related to the Site filter. Sites are associated with indicators by way of the Results form; when you are adding results, you can select one or more sites in which the data was collected. This means that a single indicator can have multiple sites associated with it. Here's what that looks like:

Right now, indicators with multiple sites are only returned if you check off all the sites associated with it. We need it to return indicators as long as any of its associated sites are checked.

I can make the “Site” field into a multiselect if we want. I’m worried about playing whack-a-mole with multiselects though.
As for the filtering problem, this sounds like something that needs to be fixed in the view. Maybe a job for @mahmoodkhan or @sanjuroj ?

Looks like it's already multi-select with check boxes. Maybe it is just a filtering issue -- if you're not able to pull the kinds of results we need when users pick more than one site.

Everything but the filter are ready for testing

I added task #364 to track the non-UI-related issue related to the results returned by the site filter, so that we can close this ticket.


Improve UI

Having both (sign in and sign up) buttons matters if you have other login besides socials.
Skeletons matter for people on slow connection (even devs, to make sure the UI doesn't look broken).

TODO: Port this to the new repo

It looked like it was already there - at least the SignIn & SignOut buttons
are
On Wed, Nov 1, 2023 at 1:30 PM Michal Srb @.***> wrote:

TODO: Port this to the new repo
—
Reply to this email directly, view it on GitHub
https://github.com/get-convex/template-nextjs-clerk-shadcn/pull/2#issuecomment-1789631535,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACZQWZTB6SUY27P6ITQQMLYCKWNHAVCNFSM6AAAAAA6UARGISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOBZGYZTCNJTGU
.
You are receiving this because you modified the open/close state.Message
ID: @.***
com>

You are right, I was planning on iterating on this more, but accidentally put it on main.


Vintage Microphone isn't networked for clients.

As client it applied no debuffs and didn't play any sound - host could still use as normal and appeared correctly for client.
Not yet tested without other mods installed.

I think I fixed it with 3f4d05d60a9faefd4112aa8ad0b99c1087567c1b. Comment if this happens again


[core] Update the release script

[ ] I have followed (at least) the PR section of the contributing guide.

Closing in favor of https://github.com/mui/material-ui/pull/33951


.zshrc is not sourced correctly because of symlinks

When I set dotDir = ".config/zsh";, the .zshrc won't load anymore. I tracked it down to the following: source .zshrc doesn't work for some reason depending on the location of the directory it is in. So sourcing ~/.zshrc works, but ~/.config/zsh/.zshrc/ doesn't.
What I mean with "doesn't work": I mainly tested for aliases and custom functions. Things like themes and plugins seem to work nevertheless.

After some further testing, sourcing .zshrc doesn't fully work depending on the symlink chain that points to the file and the name of the file that is sourced:

~/.zshrc -> /nix/store/home-manager-files/.zshrc -> /nix/store/hm_.zshrc doesn't work
~/.zshrc -> /nix/store/hm_.zshrc works
~/.zshrc2 -> /nix/store/home-manager-files/.zshrc -> /nix/store/hm_.zshrc works (!)

I think this may be caused by #1088

I also have dotDir = ".config/zsh"; in my personal config, with custom aliases and function and it works as it should.
Note that if you change dotDir parameter, you don't really need ~/.zshrc or, rather, it should be here instead: ~/.config/zsh/.zshrc. You should only have ~/.zshenv file in your home directory with the content that looks similar to this:
source $HOME/.config/zsh/.zshenv

The rest of zsh configuration should reside in ~/.config/zsh


PowerToys Run fails to focus on the input box when it is first activated after a reboot

Microsoft PowerToys version
0.49.1
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce

reboot
use shortcut to activate PowerToys Run
the cursor does not focus on the input box

✔ Expected Behavior
Automatically set cursor to the input box when PowerToys Run is activated for the first time after the system reboot.
❌ Actual Behavior
The cursor is not set to the input box.
Other Software
No response

Duplicate of #13643
Possible workaround https://github.com/microsoft/PowerToys/issues/13643#issuecomment-969610996


Incorrect assumptions regarding file paths

Describe the bug
There's a lot of incorrect assumptions regarding file paths. Like obtaining the location of the vendor directory.
Check for Streams\Core\Addon\AddonCollection for example:
public function core()
{
    return $this->filter(
        function (Addon $addon) {
            return Str::startsWith($addon->path, base_path('vendor'));
        }
    );
}

Expected behavior
It should resolve the vendor directory by obtaining it from the root composer configuration:
public function core()
{
    return $this->filter(
        function (Addon $addon) {
            $composerConfig = json_decode(File::get(base_path('composer.json')), true);
            $vendorDir      = Arr::get($composerConfig, 'config.vendor-dir', base_path('vendor'));
            return Str::startsWith($addon->path, base_path('vendor'));
        }
    );
}

Right?

StreamsServiceProvider
line 121
            base_path('vendor/streams/core/resources/public')

Agreed! Could you put that into the core config by chance? @RobinRadic


Markdownify Phobos

$(D word) -> word

Done with: https://github.com/wilzbach/dscanner-fix/blob/master/d_code_markdown.d
Continuation of the first experiment in https://github.com/dlang/phobos/pull/5970
Replacement of #5801
CC @andralex
(the script doesn't replace everything, it doesn't try to deal with a few tricky instances. They can be manually looked afterwords. D_PARAM isn't touched either)

@JackStouffer rebased though I guess this will easily run into a conflict again...

@wilzbach Rebase and then ping me on slack, and then I'll merge.

Thanks! & rebased.

jenkins is still failing due to https://github.com/dlang/ci/issues/190

DAutoTest shows a lot of diffs, but the diffs reveal that previously the HTML was really broken in some places - text was outright missing. Was a macro previously accidentally undefined? @wilzbach Any idea what happened there?

DAutoTest shows a lot of diffs, but the diffs reveal that previously the HTML was really broken in some places

-> https://github.com/dlang/dlang.org/pull/2326


Dingo\Api\Exception\Handler breaks some Response logic in Laravel

For example, I have session middleware \Illuminate\Session\Middleware\StartSession enabled for route, which controller action throws an UnauthorizedHttpException.
In this case session cookie is missed in response.
This behaviour exists because in Dingo\Api\Routing\Router#dispatch an exception handler creates new Response, $response = $this->exception->handle($exception);  ignoring previous responses chain and its headers (cookies).
If an Exception occurs in regular Laravel controller action with session middleware enabled, session cookie is not missed.

Hm, this is a tough one, mainly because the initial $response you see from the $this->adapter->dispatch() call doesn't actually exist in the catch block, because an exception has been thrown.
All middleware should be terminated correctly so assuming your session data is written prior to the exception being thrown it will be saved to the session once the session middleware is terminated. If you're not seeing this behaviour then make sure you've updated.
I've just tested this and session data is still written correctly.
Also, you shouldn't really be saving state in an API anyway, so sessions shouldn't be an issue. An API is meant to be stateless.

I've just tested this and session data is still written correctly.

Yes, it is, session data written correctly on disk, but session cookie is not sent to the user, because it is missed in response.
This behaviour exists only for first time call to the session handled action, when session cookie is not set yet (for example, first call to the login action, which throws 401).
And here is an inconsistency - session data is written to disk/database, but session cookie is not sent in response.
As I wrote before, when regular Laravel controller throws some exception, session cookie is not missed and correctly sent within error response.

An API is meant to be stateless
I understand it, but in real world it is not always can be done.

Hm, this is a tough one, mainly because the initial $response you see from the $this->adapter->dispatch() call doesn't actually exist in the catch block, because an exception has been thrown.

No, it is exists, because an exception thrown after $response variable is set.
Anyway, I have some workaround for this, making a call to some unprotected and not throwable action for get session cookie before do some other API actions.


deployment: add docker compose down command in Makefile.

Description: Add a target to Makefile to stop all containers.

i'm not sure if using stop -> docker compose down is more appropriate compared to using stop -> docker compose stop and down -> docker compose down. please feel free to adjust according to community consensus and norms.

@iFurySt you'll need to sign your commits, see: https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits
Then run
git reset $(git merge-base main $(git branch --show-current))
^it undos all your commits and adds it to you local changes
then
git commit -S -m "your message"

@iFurySt you'll need to sign your commits

done.

Merging this


obs proof esp for the sake of cinematic videos or video guides

is it possible to make the esp obs proof ? i use spt to make quest guide videos and do some cinematic stuff, would be nice to not have to switch it on / off if we are gonna do a recording or take a clip. is this possible ?

hi yup the keybinds do work just thought for QOL would be nice if it was just fully hidden, was searching a bit about it and only found snippets of information i don't understand unfortunately, i think it relates to making the esp on an overlay instead. anyways if its not possible its all good, this is a good resource anyway , good job on it!.


call cursor() from job callback does not trigger CursorMoved

Sourcing the following script will not trigger CursorMoved even though the cursor moved.  Pressing <C-L> aftewards will immediately trigger CursorMoved.  Related #4069, #4074.
function! Out(...)
    call cursor(9, 7)
endfunction

let opts = { 'out_cb': function('Out') }
let job = job_start('cat', opts)
let chan = job_getchannel(job)
call ch_sendraw(chan, "something\n")

au CursorMoved * echo 'cursor moved' | sleep 100m

I should clarify that the first time the script is sourced it does work, but subsequent times it does not, which is more apparent with a modified example:
To reproduce:

source using :so %
move the cursor
source again
observe no CursorMoved.
press <C-L>.

function! Out(...)
    call cursor(9, 12)
endfunction

if !exists('job')
	let opts = { 'out_cb': function('Out') }
	let job = job_start('cat', opts)
	let chan = job_getchannel(job)
endif
call ch_sendraw(chan, "something\n")

augroup test
	au!
	au CursorMoved * echo 'cursor moved' | sleep 300m
augroup END


About environment variables

I read a lot of posts/issues about using environment variables in Ionic2, but anyone conclusive, what is best way to use environment variables ?

Please ask questions like that in the Ionic forum
https://forum.ionicframework.com

Hello! Thanks for opening an issue with us! As this seems like more of a support question I will urge that you ask this question on our forum or on our slack channel. Thanks for using Ionic!


Implement TreeNavigator and add unit tests.

Implement a StepNavigator based on the steps being a Tree and next and previous steps are computed by moving amongst the leaves.
Add unit tests for the new StepNavigator.
Add a getResult() method to TaskResult for convenience.

This got a little out of order and confusing. PR #9 actually contains all of these changes, except the testing code is organized the way I want it to be. Ignoring this one, and merging that one should do the trick.


Change command lines as serial.

What's the purpose of this change?

What's the purpose of this change?

To fix this issue

Please add eng doc.

Please add eng doc.

Done.

Please add eng doc.

Done.

Miss ExperimentConfig.rst

Please add eng doc.

Done.

Miss ExperimentConfig.rst

Done.


Add a page for whale-watching

More towns/places to visit:

Loremvik
Ipsumvatn
Kerbalstead (sheep capital?)
See and do:

whale watching?
horse riding?
stargazing?

I'm scaling this back to whale-watching instead of a generic "more pages" thing.


Is there any way to write file to SD card from flutter app?

Would you please tell me is there any way to write file to SD card from flutter app? I am currently writing an app that should have a feature about modify files of SD card (removable storage). But I couldn't figure out any way to implement this feature.

Hi @ZhFahim,
There's a similar open issue describing your case and I see that you've commented there, 40504.
Please follow-up there for updates.
Closing this as duplicate.


Draft: Check translations

I working for check translations... actully export is (too much nontraslated strings :-/) :
{
  "not_used": [
    "{0} {0} {0} Contributors, please add your names/usernames separated by comas (for credit purposes)",
    "Add",
    "Available updates",
    "Enable Scoop",
    "Run as administrator",
    "There are two main reasons to not run WingetUI as administrator:\n The first one is that the Scoop package manager might cause problems with some commands when ran with administrator rights.\n The second one is that running WingetUI as administrator means that any package that you download will be ran as administrator (and this is not safe).\n Remeber that if you need to install a specific package as administrator, you can always right-click the item -> Install/Update/Uninstall as administrator.",
    "Uninstall selected package",
    "WingetUI version {0}"
  ],
  "not_translated": [
    "{0} aborted",
    "{0} packages were found",
    "{0} package was found",
    "Cache was reset successfully!",
    "Do you really want to uninstall {0} packages?",
    "Instance {0} responded, quitting...",
    "It looks like you ran WingetUI as administrator, which is not recommended. You can still use the program, but we highly recommend not running WingetUI with administrator privileges. Click on \"{showDetails}\" to see why.",
    "Restart your PC to finish installation",
    "The checksum of the installer does not coincide with the expected value, and the authenticity of the installer can't be verified. If you trust the publisher, {0} the package again skipping the hash check.",
    "The installer has an invalid checksum",
    "There are two main reasons to not run WingetUI as administrator:n The first one is that the Scoop package manager might cause problems with some commands when ran with administrator rights.n The second one is that running WingetUI as administrator means that any package that you download will be ran as administrator (and this is not safe).n Remeber that if you need to install a specific package as administrator, you can always right-click the item -> Install/Update/Uninstall as administrator.",
    "We could not {action} {package}. Please try again later. Click on \"{showDetails}\" to get the logs from the uninstaller.",
    "We could not load detailed information about this package, because it was found in any of your package sources",
    "WingetUI",
    "WingetUI - About Qt6"
  ]
}

@marticliment

Those that include "{showDetails}", they can be found without the backslashes in Tolgee.

Those that include "{showDetails}", they can be found without the backslashes in Tolgee.

Sorry, but my script works fine, "all" not_translated are relevant, you can check manualy.

P.D. There's actually an utility on /scripts that will check the code for unused strings.

This script is trying to find just the strings without the quotes and braces, so it can find line "Available updates" in code cause we have line "Available updates: {0}, not finished yet..." (so it's just a substring of actual line), and first one is not used actually (so as all the others that @panther7 mentioned), his script is good. I was working on fixes for your script but then found this PR =)

Created new scripts via #926.


Affidea-Romania Missing jobs on "peviitor"

ENVIRONMENT: production
URL: https://peviitor.ro
Browser: Chrome
Device: Laptop
OS: Windows 10
STEPS TO REPRODUCE:

Open the url https://scrapers.peviitor.ro/src/affidearomania/index.html
2.Check job number

EXPECTED RESULTS:
The jobs number is displayed correctly according to https://affidearomania.recruitee.com/
ACTUAL RESULTS:
The jobs number is "0"
FAILED ..\tests\Test_API_Suite\test_affidearomania.py::test_affidearomania_title_api - AssertionError: Scraper is not grabbing any job titles
Attachments:

Fixed can you retest?

is ok now


Non-english language

For some reasons, the website serves a non english language (like russia or spanish) to the browser which breaks my code

just use selectors based on reliable selectors like class names, ids and attributes

just use selectors based on reliable attributes like class names, ids and etc
no, i can't really do that. i'm making an AI recaptcha solver, the text on the recaptcha is in some random language which breaks my code. before applying the stealth it's in english so it is because of the stealth.


Scrap backward compatibility of deprecated Operator.run() method

#276 already spoiled plugin backward compatibility

👍  Let's ensure that we can do future changes without breaking backwards compatibility by getting evolvable operator interfaces into place so that we don't have to make method signature changes like in #276.

👍


Class reopening across multiple files yields different runtime result

I have a weird issue with class reopening across multiple files that when required, yields a different runtime result. I might have abused the type system a bit... but here goes.
I can't reproduce this in a small implementation, so to reproduce you'll have to clone the code I'm actually working on. It's not super large and mostly repetetive.
To clone the gist:
git clone https://gist.github.com/4e18d9d8183d2b68ba3b140ceaa5e93f.git class-reopening-bug && cd $_

Direct link: https://gist.github.com/Svenskunganka/4e18d9d8183d2b68ba3b140ceaa5e93f
The files of most importance is 1.cr and 2.cr, and here's the diff between them:
diff --git a/1.cr b/2.cr
index 55da586..6b94d9c 100644
--- a/1.cr
+++ b/2.cr
@@ -1,4 +1,5 @@
 require "./audio"
+require "./archive"

 class Filetype
   def self.match(slice : Bytes) : (self.class | Nil)

I only require another file in 2.cr, but the runtime result is different:
crystal run 1.cr yields is an audio while crystal run 2.cr yields other. Two different code paths is depending on if I require a secondary file or not:
1.cr runs this code path:
case filetype
when Filetype::Audio.class
  puts "is an audio" # <-- this code path is run
else
  puts "other"
end

while 2.cr runs this code path:
case filetype
when Filetype::Audio.class
  puts "is an audio"
else
  puts "other" # <-- this code path is run
end

This is no longer reproducible in Crystal 1.6.1
$ crystal run 1.cr
Filetype::Audio::Midi returned Filetype::Audio::Midi
Filetype::Audio returned Filetype::Audio::Midi
is an audio
$ crystal run 2.cr
Filetype::Audio::Midi returned Filetype::Audio::Midi
Filetype::Audio returned Filetype::Audio::Midi
is an audio

Run for 1.cr
Run for 2.cr


When adding account it switches to another (older one)

When I add an account, I now switch to a seemingly random older account. I used to switch to the account that was just created. This looks like an issue that may only happen with a large number of keys on the account. Tested with over 100 keys.

tested on both Firefox and Brave

Thanks for the report. By over 100 keys, do you mean accounts within the same wallet?
Any chance you could attach a video recording your screen when this happens for us to see the exact behavior?

Can confirm, I noticed this earlier

I have not been able to consistently reproduce but I have seen it very often by now. I think especially when I have not used the extension for some time. Or after an update. The first login will have this issue. Once logged in, locking and logging in again is usually no issue. For example now I have restarted the browser several times to login again and no issue.
It happens on this screen after verify password, it will cycle through the additional message(s) "a bit more time" and the circle on the button will keep turning forever.

@314159265359879 @kyranjamie have either of you seen this recently?

I have not seen this since the report.

I retested this now and I cannot reproduce so closing this off. When I create a new account the wallet correctly renders that account.


slot not working for labelText in RadioButton

https://github.com/carbon-design-system/carbon-components-svelte/blob/abfc472c82d7331d96dfdff504aeb8d9864cc9d2/src/RadioButton/RadioButton.svelte#L70
I believe this line should be similar to the RadioButtonGroup in order for slot to work
{#if labelText || $$slots.labelText}

Released in v042.3


Use correct sign for feed in time series

Resolves #69

Looks good to me overall.
Only one question:
Why do we need two tests in PowerPlantConverterSpec? When I look into the tests it is doing the same thing irrespective of a reactive power presence. Or did I miss something?

There is at least a difference in the converted input model. The test ensures, that the rated power factor and the reactive power characteristic is adapted accordingly. Tbh, I can't remember right now, why the time series does not hold any reactive power. I think it was because the provided profile for a power plant only provides active power as well and I wanted to introduce as less assumptions as possible.
But you point out a good thing here. We could add a feature, that (on request) augments the reactive power based on the known power factor.


Completely removing external/endian

Removing remaining external/endian entries from CMake scripts. This
made some external builds using the exported targets fail.

LGTM


fix: correct changelog and compat matrix for 1.1 release

Which problem is this PR solving?
Short description of the changes
OTLP exporters have been moved back to experimental therefore the corresponding breaking change will be in 0.28.0.
Corrected compat matrix as SDK 1.0 uses API 1.0 and SDK 1.1 use API 1.1.
Type of change

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Checklist:

[ ] Followed the style guidelines of this project
[ ] Unit tests have been added
[ ] Documentation has been updated

I don't see the changelog modified in this PR. Do you have unpushed local commits?

I don't see the changelog modified in this PR. Do you have unpushed local commits?

nope, just forgot to adapt it.


create project structure

docs, src, test directory and files created

docs, src, test directory and files created


fix: Loading class `com.mysql.jdbc.Driver'. This is deprecated.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Thanks a lot for your contribution! I'll merge it after you signed the SLA


[BUG] :bug: void field on object should not be added in ldap

if a group is created with a description "" then sugoi should not try to create an attribute description on the ldap for this group

#632


/ui/ endpoint no longer available in Connexion 2.0

Description
Connexion 2.0 seems to hide the /ui/ endpoint.
After upgrading from connexion 1.5.3 to connexion 2.0.0, I am no longer to see the SWAGGER interface in /ui/. I've tried both my own code and an example project
Expected behaviour
The swagger interface should show
Actual behaviour
404 error
Steps to reproduce
Run the sqlalchemy example, exactly as directed in the readme
Additional info:

python --version: Python 3.6.1
pip show connexion | grep "^Version\:": 2.0.0

You need to install with `connexion[swagger-ui]' now as it no longer includes Swagger UI by default. See https://github.com/hjacobs/connexion-example/pull/11 as example.

I've updated the release notes to include this information.
Thanks for taking the time to file this ticket. If you're curious about the history of this issue, you can ead up on the discussion in #406 .

Trying to do pip install connexion[swagger-ui] gets

connexion 2.0.1 does not provide the extra 'swagger-ui'

@BLooperZ's hint was fundamental for Heroku. Besides, connexion[swagger-ui] uses version 0.0.2 of the bundle, while swagger_ui_bundle is at version 0.0.5.


Automatic commit: Move 'abap-environment-ips' from QA to Production

Hi Michael, have done the changes and pushed again.
Thanks and Regards
Ulrike


ClientError: An error occurred (EntityAlreadyExists) when calling the UploadServerCertificate operation

I am getting the following error when attempting to run (after previously uploading a cert):
root@21cd5fad0b71:/# letsencrypt --text --agree-tos -a letsencrypt-s3front:auth --letsencrypt-s3front:auth-s3-bucket $S3_BUCKET -i letsencrypt-s3front:installer --letsencrypt-s3front:installer-cf-distribution-id $CLOUDFRONT_DISTRIBUTION_ID -c /etc/letsencrypt/cli.ini
An unexpected error occurred:
ClientError: An error occurred (EntityAlreadyExists) when calling the UploadServerCertificate operation: The Server Certificate with name le-www.example.com-new already exists.
Please see the logfiles in /var/log/letsencrypt for more details.

IMPORTANT NOTES:
 - Congratulations! Your certificate and chain have been saved at
   /etc/letsencrypt/live/www.example.com/fullchain.pem.
   Your cert will expire on 2016-04-01. To obtain a new version of the
   certificate in the future, simply run Let's Encrypt again.

Am I supposed to manually remove the old cert before running this again?

Nevermind, I think I see what happened, I previously failed to rename an old cert per: https://github.com/dlapiduz/letsencrypt-s3front/blob/master/letsencrypt_s3front/installer.py#L97-L101
I'll clean this up manually.


Several warnings on Attached Layout

I just installed semantic-ui-react to do some tests and maybe implement in an ongoing project. Right off the bat I get plenty of warnings just copying and pasting the sample code given in "attached content" layout section. It seems to work ok, but here are some of the warnings:
Warning: Failed prop type: Invalid prop attachedsupplied toMessage.
Warning: Unknown prop verticalAllign on <table> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
Warning: validateDOMNesting(...): <th> cannot appear as a child of <thead>. See AdminPanel > TableHeader > thead > TableHeaderCell > TableCell > th.
Warning: Unknown prop verticalAllign on <table> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop

Please fill our issue template.

We've misspelled verticalAllign in the example. Align should not have 2 Ls.  I wonder why we aren't seeing these prop warnings locally though?

We also have <Message attached='top' /> in the example, but the prop type is:
    attached: PropTypes.oneOfType([
      PropTypes.bool,
      PropTypes.oneOf(['bottom']),
    ]),

We should arguably accept top as a valid value for symmetry.


Correct usage of iter to comply with generel rule

Signed-off-by: xhzhf<EMAIL_ADDRESS>For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Description:In general, if there is no special condition, iter shoule be added at same line with 'for'
Risk Level:Low
Testing:
Docs Changes:
Release Notes:
[Optional Fixes #Issue]
[Optional Deprecated:]

Please merge master to pick up https://github.com/envoyproxy/envoy/pull/7090


Error when attempting to output kube_config_raw

Error: Output refers to sensitive values
│
│   on .terraform/modules/kubernetes/output.tf line 32:
│   32: output "kube_config_raw" {
│
│ Expressions used in outputs can only refer to sensitive values if the sensitive attribute is true.

should azurerm_kubernetes_cluster.aks.kube_admin_config_raw be assigned to a variable with a sensitive attribute before being outputted?

The error suggests it's a bug/oversight in our code here. This output resource should have sensitive = true. At least that's what the error is saying (the sensitive argument is supported not only in input variables, but also in outputs).

yeah, we need a sensitive attribute in this output.

v4.2.1
https://github.com/Azure-Terraform/terraform-azurerm-kubernetes/pull/82


CU-86drpncjw - Refactor example_tests/test_htlc.py to use BoaConstructor

Refactored example_tests/test_htlc.py files to use BoaTestCase in place of BoaTest for unit testing.

Task linked: CU-86drpncjw Refactor example_tests/test_htlc.py to use BoaConstructor

coverage: 91.949% (-0.005%) from 91.954%
when pulling 80723f4e312572df2b8fdb345f9eca80f613f518 on CU-86drpncjw
into 61ec86cb8499f15232bcf3169ef3da0ed4206103 on development.


Users can get signed up twice

I think it's pretty harmless, but if multiple moderators approve a signup before the bot checks, then the user will get signed up multiple times, as in this post. Needs a check to make sure sign ups can't happen multiple times.

Just confirmed this doesn't cause a database corruption, so isn't urgent to fix but still a nice to have 🤷♀


UI only support show max of 20 packages (Edge and Chrome browsers)

Describe the bug
open http://localhost:5000/
expect to see all 133 packages
To Reproduce
Steps to reproduce the behavior:

Using this version of BaGet v0.3.0-preview2

Expected behavior
Expected to see all packages that are in BaGet
C:\Users\jcoburn\Downloads\BaGet3.1.1\packages
Additional context
Only see 20 using various filters.  also only see 20 when no filter applied.

Hi, this hasn't implemented yet and is tracked by https://github.com/loic-sharma/BaGet/issues/412. For now, you should be able to see all the results on Visual Studio. I have a fix for the UI here https://github.com/loic-sharma/BaGet/pull/437, please let me know what you think!
I'll close this off as a duplicate of  https://github.com/loic-sharma/BaGet/issues/412


Binding update is 'greedy'

Configuration background: For each domain I host there are four primary bindings. These four bindings allow the website owner to then easily choose between www and non-www with a URL rewrite.

domain.tld :80
domain.tld :443
www.domain.tld :80
www.domain.tld :443

However the binding update in this program is greedy with how it updates the certificates to be used.
Say you run the letsencrypt and select domain.tld - it does its thing and comes back with the certificate which it then adds to both the domain.tld and www.domain.tld bindings.
You then run the letsencrypt the second time for www.domain.tld - it does its thing and comes back with the certificate which it then adds to the domain.tld and www.domain.tld bindings.
You end up with one working and one not. This is only an issue because currently the client only supports a 1-to-1 mapping certificate to domain. If the certificate generated supported both domain.tld and www.domain.tld you would be able to have a single certificate for both bindings and all would be fine.
However this brings into question that the program would be forcing the configuration of the web server and there may be a need to maintain separate certificates for both domain.tld and www.domain.tld. So in any case I beleiev that this is a bug that needs to be fixed.

Clarification:
Say you run the letsencrypt and select domain.tld - it does its thing and comes back with the certificate which it then adds to both the domain.tld:443 and www.domain.tld:443 bindings.
You then run the letsencrypt the second time for www.domain.tld - it does its thing and comes back with the certificate which it then adds to the domain.tld:443 and www.domain.tld:443 bindings.

I'm only adding or updating a single binding as far as I know.
See the ConfigureBinding method here: https://github.com/Lone-Coder/letsencrypt-win-simple/blob/master/letsencrypt-win-simple/Program.cs

That one is me, looks like although the code is only updating a single binding because multiple bindings were using the self signed certificate they were all updated.
This will be solved by the SAN issue however so not a biggie.

Actually I'm going to re-open this as the behavior does need to be changed somehow. Watch this for explanation.
http://screencast-o-matic.com/watch/coXbY7hFfF

Very peculiar. Thanks for the solid repro in the screencast.
On Tue, Nov 17, 2015 at 1:54 PM, Sitting-Duc<EMAIL_ADDRESS>wrote:

Actually I'm going to re-open this as the behavior does need to be changed
somehow. Watch this for explanation.
http://screencast-o-matic.com/watch/coXbY7hFfF
—
Reply to this email directly or view it on GitHub
https://github.com/Lone-Coder/letsencrypt-win-simple/issues/5#issuecomment-157503450
.

Try adding the bindings manually in IIS to see if IIS does the same
behavior for some reason. Also, try checking the "Require Server Name
Identification" to see if that changes it. Does it also do it when you go
thru reverse order?
Might be related to this:
http://blogs.msdn.com/b/varunm/archive/2013/06/18/bind-multiple-sites-on-same-ip-address-and-port-in-ssl.aspx
On Tue, Nov 17, 2015 at 2:12 PM, Bryan Livingston<EMAIL_ADDRESS>
wrote:

Very peculiar. Thanks for the solid repro in the screencast.
On Tue, Nov 17, 2015 at 1:54 PM, Sitting-Duc<EMAIL_ADDRESS>wrote:

Actually I'm going to re-open this as the behavior does need to be
changed somehow. Watch this for explanation.
http://screencast-o-matic.com/watch/coXbY7hFfF
—
Reply to this email directly or view it on GitHub
https://github.com/Lone-Coder/letsencrypt-win-simple/issues/5#issuecomment-157503450
.

this is the exact issue im experiencing. i had to resort to create a new site for the www and non www version of the site. the one site i have using "any available" and the other im binding to the servers IP. does meen that i cant add any more certs for the other project running on the server :(

Just curious to see if there's a solution to this yet - I have absolutely no way of getting both with and without www working. I also tried creating a new site, but that won't work either - when setting the appropriate certificate for the one, IIS insists on changing that of the other one as well.
Adding the actual domains to applicationHost.config doesn't help either - as in

and

for the 2 s

I just went through and tested the latest source code on a Server 2012 R2 box, and I don't see it happening. I did a patch for some IP binding configuration yesterday in #62 so maybe that fixed it.
Could you try compiling from source and let me know if you still see the issue?

Hmm...I just installed v1.7 today. I suppose that's not in there yet..

Yep, that change isn't in v 1.7. There will probably be a release soon, but not sure when as there are still some important bugs to try to fix first.
If you need some guidance compiling it take a look at https://github.com/Lone-Coder/letsencrypt-win-simple/wiki/How-to-Compile-From-Source-Code

I'll have to install VS first - new PC... ;-) But thanks for the link, I'll definitely look into that!

Version 1.8 has been released and should fix this for you.

Thanks, but alas...still not success.
I removed the existing certificates in IIS, I removed the https-bindings in my website, and requested a new certificate. A new https-binding was added, but it's still only valid for the www-version - the non-www-version still says "This Connection is Untrusted"

If I request a second certificate for the non-www version and try to add that to the website, IIS says "This binding is already used by a product other that IIS" and a warning that it may overwrite existing vertificates. If I click Okay, it's the other way around - non-www works fine, www is untrusted.

What OS and IIS version are you on?
Also, can you upload some screenshots or a screencast showing what it is doing?

I use Windows Web server 2008 with IIS 6.1 build 7601: SP1.
Earlier I was able to add a second https-binding, but right now I can't anymore. See screenshot where it was still there...

Ok, that's why.
Server 2008 & 2008 R2 do not support having multiple SSL certificates on the same IP address. IIS 8 + support SNI (Server name Indication) allowing you to have multiple HTTPS certificates on the same IP address.
If you want to have SSL for multiple sites with multiple domains with IIS 6 - IIS 7.5 all binded to the same IP address your choices are to either generate a SAN certificate (to be supported soon) for all domains you host up to a maximum of 100 domains (that's the max Let's Encrypt will currently support), or to upgrade to IIS 8 +.
Another option is a wildcard SSL certificate, but that only works for subdomains and Let's Encrypt has said they will not support wildcard certs.

Oh, snap - that explains it. Odd that my ISP pre-installed an old version of IIS, but at least I know now why it won't work.
Thanks so very much for your time, Robert!

No problem, I decided to create a wiki page about it so hopefully that will help anyone else having the same problem.

I have an alpha version of SAN support for multiple sites or an entire server SAN cert uploaded.
See https://github.com/Lone-Coder/letsencrypt-win-simple/issues/84#issuecomment-180962329 for details.


Build fails due to removal of Python2.7

gcloud auth requires Python2.7 so the build fails as follows:
0.11s$ gcloud auth activate-service-account --key-file gcp-credentials.json
pyenv: python2: command not found
The `python2' command exists in these Python versions:
  2.7.15
The command "gcloud auth activate-service-account --key-file gcp-credentials.json" failed and exited with 127 during .

Fixed as part of #222


Core: check for -mcx16 flag

The Swift runtime requires the CMPXCHG16B ISA extension on x86. This is controlled by the -mcx16 flag when targeting the CPU baseline that we use. Add a check and pass along the flag to repair the build.

@swift-ci please test

@swift-ci please smoke test

@swift-ci please smoke test


Uploading to PYPI

Now there is support for jupyterlab3 and it is available as a python package is there a plan to upload it to PYPI?

Packaged and uploaded to PYPI.

Hi @kartheekgottipati, thank you for the suggestion. Could you please transfer the PyPI package to me so that I can set-up automated publish script (assuming that the maintainers here agree, CC @jupytercalpoly).

Hi @kartheekgottipati, thank you for the suggestion. Could you please transfer the PyPI package to me so that I can set-up automated publish script (assuming that the maintainers here agree, CC @jupytercalpoly).

Do you have PYPI user id?

https://pypi.org/user/krassowski/

Invited. Once you accept the invite i will remove owner role.

Thank you, I got.


Experimental sdk-trace module

Here is an experimental sdk-trace module fully written in Scala.
Most of the design decisions were based on the Java implementation, and some can be reconsidered.
Currently, there is only InMemoryExporter but it's enough to run tests on Scala Native and ScalaJS platforms.
I've copy-pasted the TracerSuite from Java module and all tests pass.
All other cases work as expected:

Propagation of a trace context downstream (via W3CTraceContextPropagator)
Joining an external span (via W3CTraceContextPropagator)
Tracing scope manipulations: explicit parent, root, default propagation
Propagation of a context information (via PasstroughPropagator)

Current scope:

[x] Decide the visibility of the SDK classes: private, private[trace], etc
[x] Add tests
[x] Add docs
[x] Simplify API that was influenced by Java implementation
[x] Add trace state parser to  W3CTraceContextPropagator
[x] Unify core and sdk API. e.g. sdk should use TextMapPropagator from core

Next steps:

[x] Add more propagators
[x] Implement otlp gRPC and HTTP exporters
[x] Consider an autoloading tool: creating a tracer provider based on the env variables, etc

Almost all changes from this branch exist in the main branch.


Fix Conflicts with main branch

Nalin-2005/develop conflicts with Nalin-2005/main. Created a commit in README.md and fix the conflict. Now everything on develop branch is even with main branch and creating a pull request from develop to main will add the readme changes to main branch.
From now on the development can go on the development branch it self without any conflictions with the main branch.

Wouldn't it be better if I just delete the develop branch and then re create it 😂😂

That also works as same this, this is your project you can choose to do it if you wish to :+1:

Kon itni mehanat kare 😂😂 I'm merging it


Rearrange GLM class

custom GLM class so that we have more scikit-learn flavor on how to train and predict from the data. - update example notebook file

This has conflict and too many changes apply. Therefore, I will close this pull-request for now.


Reason test not performed

Value set name and values are "COVID-19 Specimen Type" instead of covid19-reason-test-not-performed

Extension Covid19SpecimenType not used


BUG : Funky behaviour in photo editor (of GridField ?)

Just noticed this: the thumbnail and the version presented when Edit clicked are different ! I am using a GridField with GridFieldConfig_RecordEditor.

It corrects itself upon page refresh..don't have time to look into this so just noting it here. I've also noticed strange behaviour with file sync.

Sorry....periods in file names in addition to the one separating basename from extension seems to be the culprit. Closing.

@spiritlevel no need to apologize - extra periods in file names are valid so if that is causing this bug I think we should fix it. Are you able to provide steps to reproduce, including version numbers?

Hey @jonom .... Oh, I thought I saw a conversation about how extra periods in filenames were not allowed...and it seemed my problem went away when I eliminated them! Also, I had a period in the folder name (see above screenshot "St."). I'll try to reproduce. The above screenshot was in version 3.3.
File syncing did a few odd things too. One was that it wouldn't detect a folder that was in assets. Another is that it deleted a non-empty folder in assets, which is a bit worrisome. Also, in the GridField CMS table, I sometimes wasn't able to delete photos. To get past this strange behaviour, I started from scratch by manually removing the folders and photos from assets, re-syncing files in the CMS, and re-uploading the photos.

I think periods should be avoided in directory names but I don't think they're illegal - SilverStripe seems to get confused by them though: https://github.com/silverstripe/silverstripe-framework/issues/4746


Variable function calls

phpdcd doesn't know when methods are used anonymously because it's obviously impossible to know that via static analysis.
So take this example:
function doAction ($action, $data)
{
    switch ($action)
    {
        case "new":
            $method = "insertData";
            break;
        case "save":
            $method = "updateData";
            break;
    }
    call_user_func ($method, $data);
}

Both insertData and updateData will be reported as dead code, because there's simply no way to predict all possible values for $method without some sort of list.
Unless you're human, that is.
What if we could define some matching rules (ie: via regex) that would match the resulting strings as "usages"?
For example:
$config['anynomousUsagesMatch'] = array (
    'doAction' => '/\$method => \"(.*?)\"/',
);

This would restrict the matching to be done inside the doAction function (because we don't want to match all the code), and those matches would be handled as code usages.
Does this make any sense to you? Sounds too hackish?
Personally, I'd love to have some similar feature. It could be useful handling anonymous function calling that otherwise couldn't be detected.

I lost interest in this project a long time ago, mostly due to the limitations of its implementation. Today I added a note that this project is no longer maintained to its documentation and closed all open tickets. Feel free to continue to work on this in a fork.


Nukie plushie is contraband

Prolly shouldnt be considering it spawns in the captains locker

Already listed in #31047


Hash history type appends multiple #'s to url on initial load and refresh

Describe the bug
When using the hash history type, I've noticed that upon the initial page load and subsequent refreshes, multiple # hash symbols are being appended to the URL.
Your Example Website or App
https://stackblitz.com/edit/vitejs-vite-zho5z8?file=src%2Fmain.tsx&terminal=dev
Steps to Reproduce the Bug or Issue

Go to this Stackblitz and press 'Open in new tab' (so that you can inspect the url).
Notice that the hash is added twice: <url>/##/
Refresh the page. Notice that /#/#/ is appended to the url: <url>/##/#/#/.
#/#/ is appended on susequent refreshes.

Expected behavior
As a user I expected the url to have a single hash and that the matched about route is displayed, but this is not the case.
Screenshots or Videos
https://github.com/TanStack/router/assets/487182/455463e7-9c03-4d0b-8664-f68a6e3092c1
Platform

OS: macOS
Browser: Firefox
Version: 117.0.1

Additional context
No response

I'm in the same boat.  It looks like the hashHistory is broken.  It's adding %23/ at the end of the URL.
http://...../ng#%23/

Looks like it started happening with 0.0.1-beta.186

the hashRouter is just using the browserRouter, but with custom getHref and createHref functions. but i can't quite make heads or tails of it.
what really stands out to me is the hashRouter is already removing its # symbol in getHref, but parseLocation seems to be expecting a hash?

Removing the hash
"Parsing" the location
But expecting a hash in the custom href string?

there's the nested ternary and -1 checks in parseLocation that make me think the hashRouter is trying to support query params as well? it seems like a lot of work to avoid using window.location directly, but i really don't have the full context on this one.
there's a previous fix for extra hashes that might be relevant

Still happening with the latest release (0.0.1-beta.198)

Yepp I can also confirm this issue here. It completed broke the router for Electron. (Since only HashRouter works on Electron, and it is broken)

@tannerlinsley have you had time to check this issue?

I also have this issue

Just pushed a fix!