Support for dialog interruption hooks

Motivation
Scenario A
We have a Twilio bot that asks the user to submit some information once per day. It's not mandatory, so users don't always reply. The next day, they'll get another (identical) request via startConversationWithUser.
We're using dialogs, so yesterday's open question is interrupted by the new dialog, and when the new dialog is completed, botkit automatically resumes the old one. The problem is that the old dialog is asking the exact same question, it's just a day old.
We don't want the old dialog to be resumed in this case.
Scenario B
We have both daily and weekly reminders. The daily reminder asks the user "yes/no" if they met their weekly goal. The weekly reminder allows the user to change their weekly goal.
If the user doesn't reply to the daily reminder for a while, then it's interrupted by the weekly reminder, then they change their goal, then resume the original daily reminder, the question will be out of date.
We want to update a conversation variable before resuming the daily reminder dialog so the question is fresh.
Possible solutions
Any one of the following would help tremendously. I'd love to hear feedback on whether they'd be welcome as PRs (and whether they'd be feasible, if you have thoughts on that).

A hook for onInterruptDialog(newDialogId)

This could be used to cancel the old dialog as soon as the new dialog is triggered

A hook for onResumeInterruptedDialog(fromDialogId)

This could be used to cancel the dialog if it has the same ID as the one that just ended, or check for updated info

A method for findOpenDialog(user/phone, dialogId)

This could be used to check if there's already an existing dialog and cancel it
Could be specific to the Twilio adapter if needed

Other workarounds
We've considered these possibilities and would rather not use them, if possible.

Add business logic on our server to behave differently if we know there's an old dialog still open

This would mean we need to track user state across a large array of possible dialogs; perhaps we could read the persisted state in the botkit database (we're using the postgres adapter)
Are there public botkit methods available to read this data in a meaningful way? This seems hacky and not a best practice
This seems related to the findOpenDialog solution above

Use simple conversations instead of dialogs

This doesn't help us because we do want the interrupt/resume logic, just not if the dialog IDs are identical. There are other, different dialogs that can interrupt the daily dialog and that's perfectly fine

Cheers!

I would recommend using the technique described below to find any active dialog, then cancel it before beginning the new one:
https://github.com/howdyai/botkit/issues/1781

I believe you can check bot.context.activeDialog immediately after spawning the bot instance that you'd otherwise use to begin the new dialog.

I may be misunderstanding; with the following code:
const bot = await controller.spawn();
// Point A
await bot.startConversationWithUser(phone);
// Point B

At point A there shouldn't be enough context for the bot to know if there's an active dialog (because the bot doesn't know who the user is yet) and at point B the conversation has already been started.
I tried pausing the debugger at point A and bot.context is undefined. I haven't been able to find any member vars named activeDialog. It's possible that controller.conversationState or controller.dialogSet.dialogState could have something useful, but that seems hacky. I'm probably misunderstanding something?

In your scenario, you actually would check that attribute at point B.
The call to startConversationWithUser is setting up the context.  It doesn't actually begin the new dialog.

Ah thanks, you're right -- but still no luck. I paused the debugger at "point B" above and the same things are undefined. No activeDialog. Here's a debugger screenshot for a bit more context:

Is this expected?

Despite the above issue, I got a hacky workaround successfully canceling all dialogs only if the most recent one is duplicated:
const bot = await controller.spawn();
await bot.startConversationWithUser(phone);

// Hack: First cancel all existing dialogs with this user
// if the current one has the same ID as the one that's beginning.
//
// TODO: Only cancel the one that's duplicated (I don't know of a method for this).
const stack = bot._config.dialogContext.stack;
const isDuplicateDialog = !isEmpty(stack) && last(stack).id.startsWith(dialogId);
if (isDuplicateDialog) {
  await bot.cancelAllDialogs();
}

await bot.beginDialog(dialogId);

So we return to the problem of needing to find and cancel a single dialog (instead of all dialogs like above). It would be simple if bot.context.activeDialog were defined, but I can't seem to access that in my situation.
Notes:

Based on this search it looks like DialogContext sometimes contains activeDialog but not in this case; it's undefined
Using replaceDialog instead of beginDialog nearly works, but there's a bug I've run into before where it weirdly receives a duplicate message instead of replacing the dialog. I'll report that separately.

[not stale]

Update: I've renamed the issue "interruption hooks" instead of "deduplication" and added a second scenario to the description. A hook on resuming an interrupted dialog would make these situations trivial to deal with.
As a reminder, there's still an open question above about why activeDialog is undefined. Looking forward to your thoughts!

OK! Finally reconnecting with this and hopefully will resolve.
FIRST, I apologize that my initial suggestion was incorrect. The actual location of the activeDialog field is, as you discovered, on the dialogContext.  So the current best method of accessing this is:
bot.getConfig('dialogContext').activeDialog
It should always be set if a dialog is active.

A few thoughts:

I will add a bot.activeDialog member, that returns the active dialog
I will add a bot.hasActiveDialog function that returns true or false
I will add a isDialogActive(id) that will return whether or not the specified dialog is anywherE in the stack, since the activeDialog may actually be a prompt called from the dialog you care about
I will add a .endActiveDialog that will ... end only the active dialog

@cooperka above changes will be in next release. I hope they solve this issue for you. We can follow on with those interruption hooks that sound like a good idea too! PR definitely welcome.

Thanks for the new features @benbrown! The official getActiveDialog and isDialogActive APIs will help make my partial workaround for Scenario A easier; it's nice to use official APIs instead of digging into the _config object.
Scenario B is still unsolved at this point, but I understand an onResumeInterruptedDialog hook is more work. We don't the funding to do that work ourselves right now but I will submit a PR if funding ever comes through.
Do you plan to leave this issue open in case someone else wants to tackle hooks?

@cooperka yes we can leave it open and will continue to investigate how to achieve onResumeInterruptedDialog or something like that.

@cooperka this new features are now in 4.8!
I'd love to schedule a time to chat with you about the new hooks you want. Are you in the community slack?

Yes I am, @cooperka there too (I just updated the username, it didn't exist before). I'm flexible this week if you want to DM me.

[not stale]


leddisplay documentation

The leddisplay library is part of the TcMenu documentation. We should either remove it from the docs or move this library into the TcMenu organization.
https://github.com/davetcc/leddisplay

agreed let's just remove, it is a legacy library that is not used often

Removed in e16fe8ad10a32649a12d2ba7200df1ed35bca158.


Consoles freezes while reading an image.

System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): Ubuntu 16.04
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): v1.2.0-5-g435cdfc 1.2.1
Python version:  3.6.2 |Continuum Analytics, Inc.| (default, Jul 20 2017, 13:51:32)  GCC 4.4.7
Bazel version (if compiling from source):
CUDA/cuDNN version: 5.1
GPU model and memory: GTX-1050 4GB

Describe the problem
Consoles freezes while reading an image.
Source code / logs
import tensorflow as tf
image_filename = "/home/kaiyin/PycharmProjects/tensorflow-for-machine-intelligence/images/chapter-05-object-recognition-and-classification/working-with-images/test-input-image.jpg"
filename_queue = tf.train.string_input_producer(tf.train.match_filenames_once(image_filename))
image_reader = tf.WholeFileReader()
_, image_file = image_reader.read(filename_queue)
image = tf.image.decode_jpeg(image_file)
sess = tf.InteractiveSession()
sess.run(image)

Also tried the non-interactive session:
import tensorflow as tf
with tf.Session() as sess:
    image_filename = "/home/kaiyin/PycharmProjects/tensorflow-for-machine-intelligence/images/chapter-05-object-recognition-and-classification/working-with-images/test-input-image.jpg"
    filename_queue = tf.train.string_input_producer(tf.train.match_filenames_once(image_filename))
    image_reader = tf.WholeFileReader()
    _, image_file = image_reader.read(filename_queue)
    image = tf.image.decode_jpeg(image_file)
    sess.run(image)

Error:
2017-08-01 17:39:36.997011: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.1 instructions, but these are available on your machine and could speed up CPU computations.
2017-08-01 17:39:36.997023: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use SSE4.2 instructions, but these are available on your machine and could speed up CPU computations.
2017-08-01 17:39:36.997026: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX instructions, but these are available on your machine and could speed up CPU computations.
2017-08-01 17:39:36.997028: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX2 instructions, but these are available on your machine and could speed up CPU computations.
2017-08-01 17:39:36.997031: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use FMA instructions, but these are available on your machine and could speed up CPU computations.
2017-08-01 17:39:37.078504: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:893] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2017-08-01 17:39:37.078697: I tensorflow/core/common_runtime/gpu/gpu_device.cc:940] Found device 0 with properties:
name: GeForce GTX 1050
major: 6 minor: 1 memoryClockRate (GHz) 1.493
pciBusID 0000:01:00.0
Total memory: 3.95GiB
Free memory: 1.84GiB
2017-08-01 17:39:37.078705: I tensorflow/core/common_runtime/gpu/gpu_device.cc:961] DMA: 0
2017-08-01 17:39:37.078708: I tensorflow/core/common_runtime/gpu/gpu_device.cc:971] 0:   Y
2017-08-01 17:39:37.078715: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Creating TensorFlow device (/gpu:0) -> (device: 0, name: GeForce GTX 1050, pci bus id: 0000:01:00.0)

After showing the message above, the console is not responsive any more.

This might be better suited to stackoverflow (you didn't start queue runners)

@kindlychung  @yaroslavvb
Hi, i met the same issue in Win7x64, when i read an image,
import tensorflow as tf
image_filename = "./1.jpg"
filename_queue = tf.train.string_input_producer(
    tf.train.match_filenames_once(image_filename)
)
image_reader = tf.WholeFileReader()
_, image_file = image_reader.read(filename_queue)
image = tf.image.decode_jpeg(image_file)
sess=tf.InteractiveSession()
print(sess.run(image))

The console show the log:
>py imgload.py
Tensor("ReaderReadV2:1", shape=(), dtype=string)
2018-05-18 10:03:39.221544: I C:\tf_jenkins\workspace\tf-nightly-windows\M\windo
ws\PY\36\tensorflow\core\platform\cpu_feature_guard.cc:140] Your CPU supports in
structions that this TensorFlow binary was not compiled to use: AVX2

The console has no responsive any more.

@kindlychung
it seems the code can resloved the issue, but i donnot know why.
the code
filename_queue = tf.train.string_input_producer(tf.train.match_filenames_once(image_filename))

change to
filename_queue = tf.train.string_input_producer([image_filename])


updated test project dependency packages

Updated UI test projects to latest version

Merging as the change related to UI projects.


add jwt generator service and integrate with system manager

Fixes #218

Few modifications required:
1: The comopse file images should point to the images we build
2: extend this to 1-doc as well

What's the outpcome when logging in using: :10000/api/docs login procedure?

🥀 This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 10 days.

🍂 This PR was closed because it has been stalled for 10 days with no activity.

@melkodary is the login problem still there?

@giobart I will look into this next week. However if it's urgent, I would suggest that someone would takeover.

Ok no problem keep me posted, if you're too busy just unassign yourself from the issue :)

@giobart, I Retested it, and it seems to work fine now. One thing, though, is I have never created a workflow for publishing the image before. Could you review what I did there?


JNKS-269: Use the generated bundle-plugins.txt file while building the image

Now that the bundle-plugins.txt is correctly generated and checked using CI, this PRs enables its strict usage while building the images.

/close

/reopen

AWS Terraform flakes
/retest

/retest
/assign @gabemontero

/label docs-approved
no docs impact

/retitle JNKS-269 Use the generated bundle-plugins.txt file while building the image

/retitle JNKS-269: Use the generated bundle-plugins.txt file while building the image

/assign @jitendar-singh
to apply the qe approved label, where he may
want to make any adjustments to smoke tests or perform any manual testing

/retitle JNKS-269: Use the generated bundle-plugins.txt file while building the image

hey @akram looking at https://gcsweb-ci.apps.ci.l2s4.p1.openshiftapps.com/gcs/origin-ci-test/pr-logs/pull/openshift_jenkins/1384/pull-ci-openshift-jenkins-master-images/1489174802982768640/artifacts/build-logs/jenkins.log though the net result I'm sure is usually going to be the same, the way the curent script currently works, it is still downloading dependencies from inspecting the pom.xml of the
For example:
2022-02-03T09:43:33.794397523Z Downloading dependency plugin branch-api version 2.0.11 that has yet to be installed
I think to truly "lock in", we need a new variant on the install plugins script that does not examine dependencies, and just downloads what is in the list.
So we then use the existing script to generate the bundle-plugins.txt file .... essentially we've taken our snapshot,
and then in the Dockerfiles we call a new script that just installs what is in the file.
It might be as simple as augmenting the existing script so that if it is called with the correct parameter, it bypasses the call to resolveDependencies here at https://github.com/openshift/jenkins/blob/master/2/contrib/jenkins/install-plugins.sh#L190
Give that a go and let's see what happens.

@gabemontero let's try to do it in a second step. Once, the whole chained has been proved enough to not hiding some corner cases we can remove this additional check.
In the meanwhile, we can add it in the story as another task. wdyt ?

Here it is https://issues.redhat.com/browse/JKNS-270 .
I kept it unassigned, as it can also be a first issue task for someone who wants to become familiar with that parts; as fixing it touches ci and plugin dependencies

Technically, we are locking right now.  This is ensure by ci/prow/jenkins-check-plugins-supply-chain-change. Just as you are mentioning, the build of the image is however re-calculating the plugins dependencies.
In case of a difference, the make plugins-list job would fail preventing to merge something different.

/lgtm

@gabemontero Technically, we are locking right now. This is ensured by ci/prow/jenkins-check-plugins-supply-chain-change. Just as you are mentioning, the build of the image is however re-calculating the plugins dependencies. In case of a difference, the make plugins-list job would fail preventing to merge something different.

Ah forgot  that validation you recently added would catch this.  Yeah OK I'd still like to discussion the task vs. story and making sure JNKS-270 gets properly groomed in the next appropriate team meeting, but yeah I'm good with this getting lgtm'ed
If you have not already @akram move JNKS-269 to qe review on the board and let's get @jitendar-singh to review and decide what if anything else is needed for him to apply the qe approved label.

/assign @jitendar-singh
Jitendar can you please add the qe-approved label ?

/label qe-approved


Snowplow CLI: remove unnecessary files from assembled jars

jar tf snowplow-emr-etl-runner shows some unnecessary files are being included in the jar, like the spec directory.

Warbler has a config option for this: https://github.com/jruby/warbler/blob/master/lib/warbler/config.rb#L45


More tests for Index, tighten up dir minus method

This broke because of the removed export. I'll rebase and fix.

Yes my fault on that. I direct pushed a fix to that issue and restarted the Travis builds.

OK should be good to go

This is why you don't direct push and always open a PR! 😛

Haha fair! I’ll do that more often from now on, especially when we have
other PRs open.
On Thu, Jul 25, 2019 at 11:40 AM Katharine Hyatt<EMAIL_ADDRESS>wrote:

This is why you don't direct push and always open a PR! 😛
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/ITensor/ITensors.jl/pull/24?email_source=notifications&email_token=AAHJ3RNMIIO7LA3KFKPYC5LQBHCPZA5CNFSM4IG3WTNKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2Z3ZTQ#issuecomment-515095758,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAHJ3RN4BAYZ3KMJWKKJWKDQBHCPZANCNFSM4IG3WTNA
.

--
-=Miles Stoudenmire=-
<EMAIL_ADDRESS><EMAIL_ADDRESS>http://itensor.org/miles/

Codecov Report

Merging #24 into master will increase coverage by 0.13%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #24      +/-   ##
==========================================
+ Coverage   73.49%   73.62%   +0.13%
==========================================
  Files          26       26
  Lines        2056     2055       -1
==========================================
+ Hits         1511     1513       +2
+ Misses        545      542       -3

Impacted Files
Coverage Δ

src/index.jl
92.15% <100%> (+7.54%)
:arrow_up:

src/decomp.jl
80.53% <0%> (-0.89%)
:arrow_down:

Continue to review full report at Codecov.

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


Not compatible with wagtail 2.0

This module is specifying django<=1.11, which is incompatible with Wagtail 2.0

Commit  03deb98  pins the requirements to wagtail & django 1.x
Extra changes would be needed for wagtail 2 compatability

I created a pull request:
https://github.com/JamesRamm/wagtailmath/pull/6

I created a pull request:
https://github.com/JamesRamm/wagtailmath/pull/6

Is this going to happen anytime soon?  I really don't want to go back to an insure version of Django or Wagtail.

Is this going to happen any time soon? I don't really want to go back to an insecure version of Django or Wagtail given how many sites are being exploited or hacked these days.

Well, my patch was merged, so it should work fine with latest Django and Wagtail below 2.13.  That version broke something and more fixes are required.

I have made a 1.2.0 release on pypi

Ah, @zelenij I have just seen your comment that it is broken with wagtail >= 2.13.
Would anyone be up to making a PR just to pin the version of wagtail to >2, <=2.13?
That would warrant a release 1.2.1. With 1.2.0 you are going to end up installing the latest version of Wagtail.

I've opened #12 to add support for Wagtail 5.2+


Adding standard recommended way to add storage to a running VNM

If we want the VNM to serve as an actual working environment, users  might need to add extra FAST storage midway (especially in the case that the VNM is running on the cloud, and users might request for extra storage only when they need it). From what I've read online, there isn't really a proper way to add storage to a running container, not even if I pause and then restart it (and nothing can be mounted on the host directory that is linked to /vnm either, as the container won't "see" it).
@stebo85 @aswinnarayanan Do you know of a proper way to add storage to a running container, which will be easy enough for users? If yes, we might add it as an option.
(of course that a network FS can be mounted into the container, but that is too slow for some applications, even if the host of the container is the server. Also, some applications don't work well with network FS)

Hi @civier.
Docker bind mounts have a propagation setting called rshared
rshared allows a docker mount to contain nested mount points.
The nested mount points can be added and removed while the container is running, and the container will see the changes and be able to read-write to it.
https://docs.docker.com/storage/bind-mounts/#configure-bind-propagation
One catch is that, the source for the docker bind mount needs to itself be a mount, it can't just be a directory containing a bunch of other mounts, otherwise the container won't see the changes.
There is a simple workaround for this, we just do a bind mount on the host system from one directory to another, and use that target for the vnm source.
This may need a Linux host through, so may be limited to Linux desktops, WSL, or Linux cloud
For example:.
Create two directories on a Linux host called /host_mounts and /vnm_mounts
Then mount --bind /host_mounts /vnm_mounts
Now run vnm as docker ... --mount type=bind,source=/vnm_mounts,target=/vnm,bind-propagation=rshared ...
Any new storage mounted to /host_mounts will be dynamically accessible from a running vnm container

Dear @dean-taylor,
This is Oren Civier from ARCOS. As I mentioned in the meeting, we are facing much more trivial things, like adding storage on-the-fly to a running container. Above is a Github post that Aswin (from UQ) wrote me with a possible (very awkward) solution. Are there better solutions out there at the moment? Notice that we simply run the container within a NECTAR instance, very simple, without any extra stuff around. All we want is for the running container to be able to see additional storage that is added to the NECTAR instance.
You're welcome to post directly here and contribute to the Github discussion. This is the issues panel of the NeuroDesk/VNM project.
All the best,
Oren

Hi @civier. Did you try the method outlined and did it work? Were there any issues?
I think you mentioned it this was for a cloud installation, so guessing it is a Linux host.

For example:.
Create two directories on a Linux host called /host_mounts and /vnm_mounts
Then mount --bind /host_mounts /vnm_mounts
Now run vnm as docker ... --mount type=bind,source=/vnm_mounts,target=/vnm,bind-propagation=rshared ...
Any new storage mounted to /host_mounts will be dynamically accessible from a running vnm container

Closing, because currently out of scope as this is a docker issue we can’t solve right now


Missing dependency on packaging

On MacOS I get from showinfm/system/linux.py:17
ModuleNotFoundError: No module named 'packaging'

Installing that module manually fixes the issue.

Thanks for the bug report.


Error: Callback was already called & circular dependency

I followed the tutorial and try to run npm start, I get a bunch of warnings, then assembly code and then something that looks like compiled js.
(13272 lines not going to post here)v
The errors are
(node:2777365) Warning: Accessing non-existent property 'INVALID_ALT_NUMBER' of module exports inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)
(node:2777365) Warning: Accessing non-existent property 'INVALID_ALT_NUMBER' of module exports inside circular dependency
(node:2777365) Warning: Accessing non-existent property 'INVALID_ALT_NUMBER' of module exports inside circular dependency
(node:2777365) Warning: Accessing non-existent property 'INVALID_ALT_NUMBER' of module exports inside circular dependency

Error: Callback was already called.
    at /home/user/dev/tutorial-aragon/node_modules/merkle-patricia-tree/node_modules/async/lib/async.js:43:36
    at WriteStream.<anonymous> (/home/user/dev/tutorial-aragon/node_modules/merkle-patricia-tree/node_modules/async/lib/async.js:358:17)
    at WriteStream.emit (node:events:365:28)
    at WriteStream.destroy (/home/user/dev/tutorial-aragon/node_modules/level-ws/level-ws.js:140:8)
    at finish (node:interval/streams/writable:726:14)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

Os: manjaro openbox
npm: 7.11.2
Could it have something to do with the following warnings that my language server puts out:
in buidler-hooks.js:
14: File is a CommonJS module; it may be converted to an ES6 module
everywhere where I try to use the @aragon modules
Could not find a declaration file for module '@aragon/
Did the tutorial twice with same outcome each time

Was using the wrong node version. Node should be version 12.


Transaction submission protocol (node-to-node)

This adds the node-to-node transaction submission protocol. This is based in part on a previous design implemented by Marcin.
The new version is designed for full pipelining (for performance) and to support what the higher level transaction relaying logic needs to do. In particular it will enable forwarding dependent transactions in
order. To do this without stalling we need to be able to request transactions out of order, but still limiting the amount of state that both peers need to track.
This patch inclues:

types
pipelined client
server
codec
direct connect check
example client & servers
tests

~Also adds a local tx submission protocol for the node -> client case.~ (This was done in a spearate PR)
The higher level relaying logic remains to do.
This supersedes PR #329.

maxUnacked is a protocol constant on which the client and the server must agree, we can add it to NodeToNodeVersionData and make the client and server agree on it during handshake.

maxUnacked is a protocol constant on which the client and the server must agree, we can add it to NodeToNodeVersionData and make the client and server agree on it during handshake.

Yeah it can either be fixed, or be a negotiated param.

I think I have now addressed all the review comments.


Bumped to dotnet Docker images to 2.1

These are the correct docker images, but it doesnt seem to be working. Maybe these images are broken in some way.

I found the solution in this thread: https://github.com/dotnet/coreclr/issues/13542 but I'm not sure if this is a change of behaviour or something for my app. I will try with a basic example later.

thanks @dave-hillier!


PARQUET-1090: Add max row group length option, fix int32 overflow

Also fixed a race condition on googletest_ep.

+1 LGTM


Autocomplete for setTagColour and changeTheme buggy

@lithiumlkid There's a bug with the setTagColour and changeTheme commands.
Pressed tab but it turns red.

Same for the changeTheme command.

It does not remove the parameters when i press tab again.

@lithiumlkid have this issue being resolved? I'm not sure what's the cause of it.


use react-is in pretty-format

Summary
Use react-is instead of manual element type checks in pretty-format.
Fixes #7895

Test plan
Existing tests should suffice, as there is no functionality change.

@Prabhakar-17 seems like 3 tests in packages/pretty-format/src/__tests__/react.test.tsx is failing - could you take a look?

You can look at #8058 for how to fix it 🙂

@SimenB Finally all checks have passed and fixed the CI as well :)
Please take a look. Thanks

Thanks @Prabhakar-17!

Thanks @SimenB for the patience and the help. This is my first successful PR, looking forward to having many more :)


The validation dataset size should not be too large ?

If the validation dataset has n samples with is_query=True and is_gallery=True,  in compute_metrics function, it will compute a nxn distance matrix, whose computation are memory-consuming and time-consuming. In my case, the validation dataset has 2w samples, the process seems to get stuck for many minutes when validating.  So the validation dataset size should not be too large ?

You are right about the idea of the n x n matrix. The biggest dataset that we use in our research is Stanford Online Products, which has 60k images in test, so, it produces 60k x 60k matrix.

If you have a custom dataset, I may recommend you split the test set into queries and galleries without overlapping, it will reduce computational cost.

There is an advanced option: use kNN instead of explicitly calculating n x n matrix. Like in the Using a trained model for retrieval example. But this approach is not implemented in EmbeddingMetrics (we simply create a distances matrix there). So, you need to modify the existing library code or propose your own implementation for the metrics.

If you have a custom dataset, I may recommend you split the test set into queries and galleries without overlapping, it will reduce computational cost.

That is good advice.


Add support for using translate in specific connection

Support for using translate in specific connection added
fix #150

Hi @MortezaPoussaneh ! Thank you for contributing!


Add schedule to run enforce community memberships

Add schedule to run 'enforce_community_memberships' every 15 minutes.
closes #1335

[ x] Formatted my code by running isort . && black . in app/backend
[ x] Added tests for any new code or added a regression test if fixing a bug
[  ] All tests pass
[x ] Run the backend locally and it works
[ x] Added migrations if there are any database changes, rebased onto develop if necessary for linear migration history

For some reason test_db.py on the method pg_dump(), even before adding the migration. I don't really get what is going on there, and it seems not obviously related to the code here.
Do you @aapeliv have an idea what is happening there? Other branches still work, so doesn't seem to be an issue related to unpinned dependencies. For reference: https://gitlab.com/couchers/couchers/-/jobs/1321192120.

For some reason test_db.py on the method pg_dump(), even before adding the migration. I don't really get what is going on there, and it seems not obviously related to the code here.
Do you @aapeliv have an idea what is happening there? Other branches still work, so doesn't seem to be an issue related to unpinned dependencies. For reference: https://gitlab.com/couchers/couchers/-/jobs/1321192120.

Nevermind, seems to work now for reasons I don't understand :)

For some reason test_db.py on the method pg_dump(), even before adding the migration. I don't really get what is going on there, and it seems not obviously related to the code here.

Was this locally or in CI? Which job on gitlab?

For some reason test_db.py on the method pg_dump(), even before adding the migration. I don't really get what is going on there, and it seems not obviously related to the code here.

Was this locally or in CI? Which job on gitlab?

Broke both locally and in CI. Maybe had something to do with inserting a job with an enum value that didn't exist in the DB?


typo in virtual env dir

Coverage remained the same at 6.452% when pulling 100c5a7cdbcece86aa883a29529d77b4c377ec3f on intellij into 874095788ac87e4be2e5a930dbac7da1bba43168 on master.


Cannot Clone Date/Time Fields from Lead to Opportunity

This is a great tool!  Thanks for building it!
I'm having an issue attempting to clone a number of custom fields from the Lead entity to the Opportunity entity.  When I choose "lead" as the Source Entity all of my custom fields appear in the fields list.  When I then choose "opportunity" as the Target Entity all of my custom Date and Time fields disappear from the fields list.  If I choose "account" as the Target Entity all of my custom Date and Time fields remain visible.  Therefore it appears that your plugin cannot create Date and Time fields on the Opportunity entity.
Can you please help me with this?

Hi there,
thanks for the kind words.
I'm glad that you found the cause, that would have been my first guess as well.
Kind Regards,
Florian


Enable Swift-DocC plugin for generating docs

I'm going to be going through things and updating our API docs and articles to work cleanly with DocC.  First step is to make it easier to build and view the docs.
With this, you can build and view the docs for a single part of our project with:
% swift package --disable-sandbox preview-documentation --target SwiftProtobuf

This should also work for --target protoc-gen-swift, --target SwiftProtobufPluginLibrary, and --target Conformance.

I guess I'm also sorta think of #1154 and #1032, should we start linking to other things and maybe dropping the jazzy info in the repo?

This uses exactly the same tools as xcodebuild docbuild and should produce identical results.  The only difference is that it will work on non-Apple platforms.
I don't think we're ready to drop Jazzy support just yet.  I plan to spend some time over the next few weeks trying to clean up and improve the DocC docs.

I plan to spend some time over the next few weeks trying to clean up and improve the DocC docs.

Great!  You might want to self assign those two issues then to let folks know things are being worked on.


Add test case for JacksonHandler

Code classes that need to develop unit tests:

cn.hippo4j.common.toolkit.JacksonHandler

Please refer to the manual for the first contribution: guide
Unit test development refers to the following two examples:

cn.hippo4j.core.executor.DynamicThreadPoolExecutorTest
cn.hippo4j.core.executor.ExtensibleThreadPoolExecutorTest

Please assign it to me.

Please assign it to me.

@lucca-suen Welcome


Feature: Multiple scheduler files

As title states, ability to use multiple scheduler files. Perhaps look for a schedule folder and load everything in it as schedule tasks?
p.s. I have tried looking for some time on SO and in the Issues here if it is supported but to no avail - apologies if it does.

I'm interested in this too. Our config/schedule.rb is over 500 lines long.
I tried the naive approach of requireing code from a separate file but it doesn't work.

I've found this workaround works for now: http://stackoverflow.com/a/16385259/119822

know this is an ongoing but we've used the option -i to solve this problem.

@cba7 @andyw8 @benlangfeld
So is this still an issue with the proposed workaround?
Similar techniques are also used when splitting large Gemfile or routes.rb with no problems.
We can implement something like
# config/schedule.rb
# ...
# Load reporting schedules
import "config/schedule/reporting_schedule"

# or just (assuming some default dir to read from)
import "reporting_schedule"

but this is not much simpler than
# config/schedule.rb
# ...
# Load reporting schedules
instance_eval(File.read('reporting_schedule.rb'), 'reporting_schedule.rb')

Maybe just a note to README would be enough?


Added ISortInTab

Re-open this for 1.15. The lowest version is for modification and future versions are mirrors.


Feature request: option to not insert empty line when wrapping line that exactly hits limit

With word wrap on, if a line has the exact minimum length to be wrapped, an empty line is displayed between it and the next line in the file (which isn't what modern GUI editors tend to do).
My suggestion is for an option to disable this behaviour so that the line that has the exact minimum length is not wrapped.
Empty lines being displayed where they shouldn't be breaks structure and grouping made with empty lines. Worse when writing prose in the style of a book (intended paragraphs with only one line break between them, not two).
I tried to edit a clone of micro to do this, but nothing I tried actually removed said blank lines. If it's not a change that fits in micro then some direction on how to do it, plugin or source edit, would be appreciated!

But where will we display the cursor at the end of this line?

which isn't what modern GUI editors tend to do

That's because they are GUI editors, so they usually display the cursor as a thin vertical line "between" characters. Micro is a terminal editor, and terminals usually display the cursor as a thick bar occupying the entire character, and micro has no control over that. So if we want both the line itself and the cursor at the end of it to be visible, and the line itself occupies the entire window width, there is no room for the cursor in that line, so we need an empty line below it, to display the cursor there.

Setting the word wrap limit to be one to the left so that there is a vertical strip for the cursor to sit in would be an acceptable compromise IMHO.

Agreed

Seems to have happened to me without wordwrap just now, 2.0.13

I... actually can't figure out how to implement any solution. I just don't know this codebase. Definitely needing help here. Is there some kind of Lua solution?

this happens in both micro and nano but doesn't happen in vim


pyqt5

when i try to install electron on raspian stretch it tells me i do not have pyqt5, but i have installed it.

Are you sure that you have installed python3-pyqt5 and not python-pyqt5

i used the command sudo apt-get install python3-pyqt5. so im pretty sure i did install it for python 3 but i will double check when i get home.

qt5 may be needed but the pyqt5 symbol does not seem to exist in the context in which the installer uses it . I only saw one way of getting the installation to complete, which is, removing the entry in setup.py in the setup(...) function call, from the install_requires array around line 40:
setup(
    name="Electron Cash",
    version=version.PACKAGE_VERSION,
    install_requires=[
        'pyaes>=0.1a1',
        'ecdsa>=0.9',
        'pbkdf2',
        'requests',
        'qrcode',
        'protobuf',
        'dnspython',
        'jsonrpclib-pelix',
        'PySocks>=1.6.6',
    ],

There seems to be some problem with the pyqt5 symbol itself. There is some part of the environment that omits to define it after installing the debian-level python3-pyqt5 package. This does not look like something an end user would have to hunt down ...


widbatpc: Fix drawing the bar when charging

When displaying the charging indicator, the whole widget moves to the right, now including the charge bar.
Also some minor typos in the readme.

Thanks!


add allowedArchitectures function to filter out unsupported arches

Fixes: #1125
Adding a new allowedArchitectures function to filter out unsupported architectures from manifestlist submissions.
This will unblock users that have arm or other unsupported arches to continue with the submission process of supported architectures.

/retest


Promos 150-159 images

Promo 150-159 images (152-159 missing from site)

Thanks, normally all images should be added with the script, but there was an error the last days.


CircleGraph for simple Circle model graph representation and user interactions

After analysis and some testing with netron source codes,
I think we can secure graph representation of circle model is possible.
This task is to discuss and share the progress of this activity.
To provide;

show circle mode as graph preresentation with same look and feel with netron application
select muitiple nodes with pointing device (like mouse)
get information (node names and ID(index)) of selected nodes
and maybe more...

Previous task: #481 and items to do
TODO solve issues

[x] fix failed to load circle-metadata.json file
[ ] fix vscroll not visible
[ ] ...

TODO first step --> make it just a simple graph view

[x] modify ~css~ to show in color
[x] disable show node properties
[x] revise menu
[ ] fix huge(?) loading time and no response for a while for iv3
[ ] ...

TODO second step --> with selection UI

[x] add css for selected state -> we can reuse exiting red border
[x] click to change selection status
[ ] drag selection -> conflicts with graph panning -> combine with ctrl? alt?
~shift-click~
~shift-drag~
[ ] ...

TODO third step --> save selection information

[ ] ...

TODO forth step

[ ] multiple sub-graph selection ???
[ ] ...

CC @mhs4670go

fix huge(?) loading time and no response for a while for iv3

Status

V3 mode is about 90MB.
converting to Base64, send, recover to Uint8Array takes about 35 seconds with my Linux machine
log shows [Violation] 'load' handler took 631ms and [Violation] 'message' handler took 14113ms

In document https://code.visualstudio.com/api/references/vscode-api of postMessage(message: any),

However if your extension targets vscode 1.57+ in the engines field of its package.json, any ArrayBuffer values that appear in message will be more efficiently transferred to the webview and will also be correctly recreated inside of the webview.

diff --git a/package.json b/package.json
index fbe31a5..584c358 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
   "version": "0.0.1",
   "publisher": "Samsung",
   "engines": {
-    "vscode": "^1.46.0"
+    "vscode": "^1.57.0"
   },
   "categories": [
     "Other"

this gives about 23 seconds

object that came through postMessage is Uint8Array itself so we can use it as-is without the conversion...

this gave about 18 seconds sending in one packet
sending in 10MB package shows similar about 18 seconds

Q) why or how is electron app fast?

experiment

current: const modelData = this._modelToSend.slice(offset, offset + leftLength);
replace with: const modelData = new Uint8Array(this._modelRead.buffer, offset, leftLength);

current: prepare Uint8Aarray with full file conent and use split to make a packet
replace: create Uint8Array packet from segment of buffer
replace takes about 2min 40secs.

experiment
const buffer = Buffer.alloc(sendPacketSize);
fs.readSync(fd, buffer, 0, sendPacketSize, offset);
const modelData = new Uint8Array(buffer);
this._panel.webview.postMessage({

read portion of file not to call Uint8Array.slice()
in index.js, append to array; this._loadedModelData.push(message.responseArray); not to call Uint8Array.set()

result: no difference.

experiment

packet size 10MB -> 2MB

result: takes longer; about 20 secs

sending in 10MB package shows similar about 18 seconds

I am developing on Windows 10 connected to my console only Linux with SSH.
I've tried to open our project in Windows 10 native.
Took about only 2~3 seconds to load Iv3 model.

done for now


remove incorrect dependency on rocm-dkms pkg

The .info/version file belongs to rocm-dkms (or rocm-dkmsX.Y.Z) package which is not required to install ROCm development tools package rocm-dev (or its equivalent rocm-devX.Y.Z) package.
The hipcc checks on .info/version fails when rocm-dkms or its equivalent rocm-dkmsX.Y.Z package is not installed on the system when only development packages are installed using rocm-dev.
FIx looks for .info/version-dev file which is installed as part of rocm-dev or its equivalent rocm-devX.Y.Z package.
(X.Y.Z refers to ROCm release number, 3.5.0 for 3.5, 3.7.0 for 3.7 etc.)

Closing all existing pull requests that have been in this state for over 6 months. In case this pull request is still valid, please rebase your changes against develop branch and resubmit.


Add support for ActiveRecord 6.0

Adds support for Rails 6.0 and adds ruby 2.5 and 2.6 to the build matrix on Travis.

An error occurred while loading spec_helper.
Failure/Error: require 'nulldb_rspec'

NameError:
 uninitialized constant ActiveRecord::ConnectionAdapters::SchemaDumper
 Did you mean?  ActiveRecord::ConnectionAdapters::SchemaCache
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:5:in `<module:ConnectionAdapters>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:4:in `<module:ActiveRecord>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:3:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract_adapter.rb:6:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/active_record/connection_adapters/nulldb_adapter.rb:7:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/nulldb_rspec.rb:1:in `<top (required)>'
# ./spec/spec_helper.rb:1:in `<top (required)>'
# ------------------
# --- Caused by: ---
# LoadError:
#   cannot load such file -- nulldb_rspec
#   ./spec/spec_helper.rb:1:in `<top (required)>'

I am getting this error on your branch tho.
I am not sure, if i set it up incorrectly, or if this is a problem with the branch.

does it happen also for the master branch of the gem on github? or only on my branch?

yes, same error.

Failure/Error: require 'nulldb_rspec'

NameError:
  uninitialized constant ActiveRecord::ConnectionAdapters::SchemaDumper
  Did you mean?  ActiveRecord::ConnectionAdapters::SchemaCache

# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:5:in `<module:ConnectionAdapters>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:4:in `<module:ActiveRecord>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:3:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract_adapter.rb:6:in `require'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract_adapter.rb:6:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/active_record/connection_adapters/nulldb_adapter.rb:7:in `require'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/active_record/connection_adapters/nulldb_adapter.rb:7:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/nulldb_rspec.rb:1:in `require'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/nulldb_rspec.rb:1:in `<top (required)>'
# ./spec/spec_helper.rb:1:in `require'

The build seems to be green meanwhile.
Any chance to see this merged soon?

Is someone able to be a maintainer of this project. You don't need to do too much, just oversee PR's like this and review/merge as needed (you can then review/merge this diff).
Ping me if you're interested and I can add you to the project.
Unfortunately I don't use this project anymore so I have stepped back to facilitate others who are able to maintain it.

I guess i'm not the right person but what about creating a pinned "call for maintainers" issue?

I think we can find a maintainer. Feel free to post an issue and mention people who might be interested, people here are all forking this project (and then others are using this code) so there's already lots of effort to use this code.
I think the main issue is people think they are signing up for work (they aren't). They are probably going to just review one Pull Request every month and it'll be a easy merge or request changes.
Or people are worried they are now responsible (they aren't, those who update the gem need to test, and it's only a test gem anyway).

if you have the permissions, add me and I'll merge and release 😄

[…] it's only a test gem anyway.

We use it in production ;)

I am just waiting on @mnoack to sort it out how we gonna publish the next release to Rubygems. :)

@cabello What's your rubygems email so I can give you permission, also I'll get it done quicker if you can tell me the command to run, from memory it's something like "gem owner nulldb --add youremail"

@mnoack gem owner --add<EMAIL_ADDRESS>nulldb

Done.

Failure/Error: require 'nulldb_rspec'

NameError:
  uninitialized constant ActiveRecord::ConnectionAdapters::SchemaDumper
  Did you mean?  ActiveRecord::ConnectionAdapters::SchemaCache

# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:5:in `<module:ConnectionAdapters>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:4:in `<module:ActiveRecord>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:3:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract_adapter.rb:6:in `require'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract_adapter.rb:6:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/active_record/connection_adapters/nulldb_adapter.rb:7:in `require'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/active_record/connection_adapters/nulldb_adapter.rb:7:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/nulldb_rspec.rb:1:in `require'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/nulldb_rspec.rb:1:in `<top (required)>'
# ./spec/spec_helper.rb:1:in `require'

different trace tho.

@scones  did you manage a workaround?

An error occurred while loading spec_helper.
Failure/Error: require 'nulldb_rspec'

NameError:
 uninitialized constant ActiveRecord::ConnectionAdapters::SchemaDumper
 Did you mean?  ActiveRecord::ConnectionAdapters::SchemaCache
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:5:in `<module:ConnectionAdapters>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:4:in `<module:ActiveRecord>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:3:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract_adapter.rb:6:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/active_record/connection_adapters/nulldb_adapter.rb:7:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/nulldb_rspec.rb:1:in `<top (required)>'
# ./spec/spec_helper.rb:1:in `<top (required)>'
# ------------------
# --- Caused by: ---
# LoadError:
#   cannot load such file -- nulldb_rspec
#   ./spec/spec_helper.rb:1:in `<top (required)>'

I am getting this error on your branch tho.
I am not sure, if i set it up incorrectly, or if this is a problem with the branch.

@scones
I found the reason: https://github.com/nulldb/nulldb/pull/100

Failure/Error: require 'nulldb_rspec'

NameError:
  uninitialized constant ActiveRecord::ConnectionAdapters::SchemaDumper
  Did you mean?  ActiveRecord::ConnectionAdapters::SchemaCache

# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:5:in `<module:ConnectionAdapters>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:4:in `<module:ActiveRecord>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract/schema_dumper.rb:3:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract_adapter.rb:6:in `require'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-6.0.0.rc1/lib/active_record/connection_adapters/abstract_adapter.rb:6:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/active_record/connection_adapters/nulldb_adapter.rb:7:in `require'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/active_record/connection_adapters/nulldb_adapter.rb:7:in `<top (required)>'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/nulldb_rspec.rb:1:in `require'
# /home/scones/.rbenv/versions/2.6.2/gemsets/dsa/gems/activerecord-nulldb-adapter-0.3.9/lib/nulldb_rspec.rb:1:in `<top (required)>'
# ./spec/spec_helper.rb:1:in `require'

different trace tho.

@scones did you manage a workaround?

@thelastinuit no, i uncommented the gem and mocked all Models. so i actually had to set up a test db on my production mysql server to ensure flawless CI/CD. not the best solution, but it works.
but it seems like you found a solution yourself.


Add some animation

skipped

https://thoughtbot.com/blog/css-animation-for-beginners . added bounce in from here in aboutus css


meta init

I ran touch .meta, then needed package.
/Users/thomas/.nvm/versions/node/v7.2.1/lib/node_modules/meta/node_modules/meta-git/bin/meta-git-clone:51
  const projects = meta.projects;
                       ^

TypeError: Cannot read property 'projects' of null
    at exec (/Users/thomas/.nvm/versions/node/v7.2.1/lib/node_modules/meta/node_modules/meta-git/bin/meta-git-clone:51:24)
    at module.exports (/Users/thomas/.nvm/versions/node/v7.2.1/lib/node_modules/meta/node_modules/meta-exec/index.js:54:18)
    at Object.<anonymous> (/Users/thomas/.nvm/versions/node/v7.2.1/lib/node_modules/meta/node_modules/meta-git/bin/meta-git-clone:21:1)
    at Module._compile (module.js:571:32)
    at Object.Module._extensions..js (module.js:580:10)
    at Module.load (module.js:488:32)
    at tryModuleLoad (module.js:447:12)
    at Function.Module._load (module.js:439:3)
    at Module.runMain (module.js:605:10)
    at run (bootstrap_node.js:420:7)

hmm still complains even with
{
  "projects": {}
}

I'm already stuck :(
I have to repos I want to bring in and no clue how to bootstrap .meta even if I manually enter it I don't know how to pull them down 🤔

you need to do a git init in your meta repo. I've got a new plugin https://github.com/mateodelnorte/meta-init that is going to do all this for you in a single command. will be done in a couple days or less.

to get started:

mkdir somedirectory
cd somedirectory
git init
npm init
npm i meta-npm
modify your .meta file to look like the following, if you're making a system of services and sites

{
  "projects": {
    "nycnode-denormalizer": "git@github.com:mateodelnorte/nycnode-denormalizer.git",
    "nycnode-meetup-ingestor": "git@github.com:mateodelnorte/nycnode-meetup-ingestor.git",
    "nycnode-site": "git@github.com:mateodelnorte/nycnode-site.git",
    "nycnode-user-ingestor": "git@github.com:mateodelnorte/nycnode-user-ingestor.git",
    "nycnode-youtube-ingestor": "git@github.com:mateodelnorte/nycnode-youtube-ingestor.git"
  }
}

try something like the following if you're making some composite library (https://github.com/mateodelnorte/meta/blob/master/.meta):
{
  "ignore": [ ".git", ".vagrant", ".vscode", "node_modules" ],
  "projects": {
    "plugins/loop-things": "git@github.com:mateodelnorte/loop-things.git",
    "plugins/meta-docker": "git@github.com:mateodelnorte/meta-docker.git",
    "plugins/meta-exec": "git@github.com:mateodelnorte/meta-exec.git",
    "plugins/meta-git": "git@github.com:mateodelnorte/meta-git.git",
    "plugins/meta-init": "git@github.com:mateodelnorte/meta-init.git",
    "plugins/meta-project": "git@github.com:mateodelnorte/meta-project.git",
    "plugins/meta-npm": "git@github.com:mateodelnorte/meta-npm.git"
  }
}

if you're building a system, your next step will be meta npm install. if you're making a library, your next step will be meta npm link

The best way to understand meta, at the moment, is probably to clone meta and do a meta npm link and you'll see how the magic works.
Clone git@github.com:mateodelnorte/meta.git then cd into it and do ./bin/meta. Then run ./bin/meta npm link then do ./bin/meta and notice what changes.

Thanks @mateodelnorte I still feel like your skipping a step. What is used to get these repositories downloaded?

Once I have the .meta file I can run meta npm install but the repos arent local yet.
Thomass-MBP-2:test-meta thomas$ meta npm install

test-meta:
npm WARN<EMAIL_ADDRESS>No description
npm WARN<EMAIL_ADDRESS>No repository field.
test-meta ✓

monorepo-private@reggi:
monorepo-private@reggi exited with error: Error: spawnSync /bin/sh ENOENT

monorepo-public@reggi:
monorepo-public@reggi exited with error: Error: spawnSync /bin/sh ENOENT

git clone [repoUrl]. make sure you include it in the meta repo's .gitignore.

so, the first time you're creating a meta repo it's a little manual.  the magic comes from when the next person has to meta git clone. it all comes down at once for them.
that said, for adding commands, I created https://github.com/mateodelnorte/meta-project where I'm adding commands for quickly adding child repos, etc.

I think I get it.meta git clone is a really weird idea because the expected behavior I would assume is that it would clone loop git clone [repoUrl] and clone the same repo many times. I guess I'm looking for gits populate but you skipped the step of git clone [repoUrl] repo && cd repo && gits populate by creating meta git clone [repoUrl].

Delete your project. then type meta git clone [projectRepo] and I think you'll be happy with it. ;)
I see your point, though, that if you just pulled master on your meta repo and somebody else added a few child repos, then you'd like something like meta git sync to clone the repositories you don't already have.

meta now includes logic to check to see if projects exist in your .meta file which aren't cloned locally. if detected it will instruct you to run meta git update to clone the missing repos.
eb0fa4c40cc777eadd6eded13772d6f3e6b288db

Thanks for adding meta git update!


Gnome tray icon to big

OS:
Ubuntu 16.10 with Gnome 3.22
Issue Descriptions:
Gnome tray icon to big

This problem affects the previous version of Gnome Ubuntu, too.

There's nothing we can do about this.
I'm not going to ship a tray icon for different distributions of linux, that will simply increase the package size for very little quality gain.  If the flavor of linux wants a certain size of tray icon then it should correctly display larger ones and scale appropriately.


ERR_SPDY_PROTOCOL_ERROR with concurrent requests

Chrome returns ERR_SPDY_PROTOCOL_ERROR when I load an SDCH-enabled URI while another resource is being downloaded in the same session. For example:

I click on a link to a (large) file and Chrome begins downloading;
While it's downloading I reload the webpage or click on a link to another webpage;
Chrome returns ERR_SPDY_PROTOCOL_ERROR.

Requests to resources that are not candidates for SDCH-encoding, such as images, will load just fine. Disabling the sdch_module in the nginx configuration "solves" the issue.
From chrome://net-internals:

[...]
t=9753 [st=138]   +HTTP_TRANSACTION_READ_BODY  [dt=1]
t=9754 [st=139]      HTTP2_STREAM_ERROR
--> description = "SPDY stream closed with status: 6"
--> status = -337
--> stream_id = 67
t=9754 [st=139]   -HTTP_TRANSACTION_READ_BODY
--> net_error = -337 (ERR_SPDY_PROTOCOL_ERROR)
t=9754 [st=139]    FAILED
--> net_error = -337 (ERR_SPDY_PROTOCOL_ERROR)
t=9755 [st=140]    SDCH_DECODING_ERROR
--> net_error = -2 (ERR_FAILED)
--> sdch_problem_code = 95 (PRIOR_TO_DICTIONARY)
t=9755 [st=140] -REQUEST_ALIVE
--> net_error = -337 (ERR_SPDY_PROTOCOL_ERROR)

I have the nginx debug log enabled, but I'm not sure what to look for.

I need more log lines before t=9753 [st=138] +HTTP_TRANSACTION_READ_BODY [dt=1] to investigate it.
PRIOR_TO_DICTIONARY is emitted by SdchFilter destructor when no data was passed to filter. Looks like something else caused closing of the stream.

t=5388 [st=  0] +REQUEST_ALIVE  [dt=294]
t=5388 [st=  0]    DELEGATE_INFO  [dt=29]
                   --> delegate_info = "NavigationResourceThrottle"
t=5417 [st= 29]    URL_REQUEST_DELEGATE  [dt=0]
t=5417 [st= 29]    URL_REQUEST_START_JOB  [dt=0]
                   --> load_flags = 37121 (MAIN_FRAME | MAYBE_USER_GESTURE | VALIDATE_CACHE | VERIFY_EV_CERT)
                   --> method = "GET"
                   --> priority = "HIGHEST"
                   --> url = "https://www.example.com"
t=5417 [st= 29]   +URL_REQUEST_START_JOB  [dt=179]
                   --> load_flags = 37121 (MAIN_FRAME | MAYBE_USER_GESTURE | VALIDATE_CACHE | VERIFY_EV_CERT)
                   --> method = "GET"
                   --> priority = "HIGHEST"
                   --> url = "https://www.example.com"
t=5417 [st= 29]      URL_REQUEST_DELEGATE  [dt=0]
t=5417 [st= 29]      HTTP_CACHE_GET_BACKEND  [dt=0]
t=5417 [st= 29]      HTTP_CACHE_OPEN_ENTRY  [dt=1]
                     --> net_error = -2 (ERR_FAILED)
t=5418 [st= 30]      HTTP_CACHE_CREATE_ENTRY  [dt=0]
t=5418 [st= 30]      HTTP_CACHE_ADD_TO_ENTRY  [dt=0]
t=5418 [st= 30]      URL_REQUEST_DELEGATE  [dt=0]
t=5418 [st= 30]     +HTTP_STREAM_REQUEST  [dt=0]
t=5418 [st= 30]        HTTP_STREAM_REQUEST_STARTED_JOB
                       --> source_dependency = 250587 (HTTP_STREAM_JOB)
t=5418 [st= 30]        HTTP_STREAM_REQUEST_BOUND_TO_JOB
                       --> source_dependency = 250587 (HTTP_STREAM_JOB)
t=5418 [st= 30]     -HTTP_STREAM_REQUEST
t=5418 [st= 30]     +HTTP_TRANSACTION_SEND_REQUEST  [dt=0]
t=5418 [st= 30]        HTTP_TRANSACTION_HTTP2_SEND_REQUEST_HEADERS
                       --> :authority: www.example.com
                           :method: GET
                           :path: /
                           :scheme: https
                           accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8
                           accept-encoding: gzip, deflate, sdch, br
                           accept-language: en-US,en;q=0.8
                           avail-dictionary: s4sOwtgj
                           cache-control: max-age=0
                           cookie: [381 bytes were stripped]
                           referer: https://www.example.com
                           upgrade-insecure-requests: 1
                           user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
t=5418 [st= 30]     -HTTP_TRANSACTION_SEND_REQUEST
t=5418 [st= 30]     +HTTP_TRANSACTION_READ_HEADERS  [dt=178]
t=5596 [st=208]        HTTP_TRANSACTION_READ_RESPONSE_HEADERS
                       --> HTTP/1.1 200
                           status: 200
                           date: Sat, 17 Sep 2016 22:51:25 GMT
                           content-type: text/html; charset=UTF-8
                           expires: -1
                           cache-control: no-store, no-cache, must-revalidate
                           pragma: no-cache
                           content-encoding: sdch
                           content-encoding: br
                           vary: Accept-Encoding, Avail-Dictionary
t=5596 [st=208]     -HTTP_TRANSACTION_READ_HEADERS
t=5596 [st=208]      HTTP_CACHE_WRITE_INFO  [dt=0]
t=5596 [st=208]      URL_REQUEST_DELEGATE  [dt=0]
t=5596 [st=208]      URL_REQUEST_FILTERS_SET
                     --> filters = "FILTER_TYPE_BROTLI,FILTER_TYPE_SDCH"
t=5596 [st=208]   -URL_REQUEST_START_JOB
t=5596 [st=208]   +URL_REQUEST_DELEGATE  [dt=1]
t=5596 [st=208]      DELEGATE_INFO  [dt=0]
                     --> delegate_info = "NavigationResourceThrottle"
t=5597 [st=209]   -URL_REQUEST_DELEGATE
t=5597 [st=209]   +HTTP_TRANSACTION_READ_BODY  [dt=84]
t=5681 [st=293]      HTTP2_STREAM_ERROR
                     --> description = "SPDY stream closed with status: 6"
                     --> status = -337
                     --> stream_id = 1505
t=5681 [st=293]   -HTTP_TRANSACTION_READ_BODY
                   --> net_error = -337 (ERR_SPDY_PROTOCOL_ERROR)
t=5681 [st=293]    FAILED
                   --> net_error = -337 (ERR_SPDY_PROTOCOL_ERROR)
t=5682 [st=294]    SDCH_DECODING_ERROR
                   --> net_error = -2 (ERR_FAILED)
                   --> sdch_problem_code = 95 (PRIOR_TO_DICTIONARY)
t=5682 [st=294] -REQUEST_ALIVE
                 --> net_error = -337 (ERR_SPDY_PROTOCOL_ERROR)

Can you try to disable mod_brotli? Just to make sure that is not
inter-filter breakage?
On Sun, 18 Sep 2016, 08:55 redburn<EMAIL_ADDRESS>wrote:

t=5388 [st=  0] +REQUEST_ALIVE  [dt=294]
t=5388 [st=  0]    DELEGATE_INFO  [dt=29]
--> delegate_info = "NavigationResourceThrottle"
t=5417 [st= 29]    URL_REQUEST_DELEGATE  [dt=0]
t=5417 [st= 29]    URL_REQUEST_START_JOB  [dt=0]
--> load_flags = 37121 (MAIN_FRAME | MAYBE_USER_GESTURE | VALIDATE_CACHE | VERIFY_EV_CERT)
--> method = "GET"
--> priority = "HIGHEST"
--> url = "https://www.example.com"
t=5417 [st= 29]   +URL_REQUEST_START_JOB  [dt=179]
--> load_flags = 37121 (MAIN_FRAME | MAYBE_USER_GESTURE | VALIDATE_CACHE | VERIFY_EV_CERT)
--> method = "GET"
--> priority = "HIGHEST"
--> url = "https://www.example.com"
t=5417 [st= 29]      URL_REQUEST_DELEGATE  [dt=0]
t=5417 [st= 29]      HTTP_CACHE_GET_BACKEND  [dt=0]
t=5417 [st= 29]      HTTP_CACHE_OPEN_ENTRY  [dt=1]
--> net_error = -2 (ERR_FAILED)
t=5418 [st= 30]      HTTP_CACHE_CREATE_ENTRY  [dt=0]
t=5418 [st= 30]      HTTP_CACHE_ADD_TO_ENTRY  [dt=0]
t=5418 [st= 30]      URL_REQUEST_DELEGATE  [dt=0]
t=5418 [st= 30]     +HTTP_STREAM_REQUEST  [dt=0]
t=5418 [st= 30]        HTTP_STREAM_REQUEST_STARTED_JOB
--> source_dependency = 250587 (HTTP_STREAM_JOB)
t=5418 [st= 30]        HTTP_STREAM_REQUEST_BOUND_TO_JOB
--> source_dependency = 250587 (HTTP_STREAM_JOB)
t=5418 [st= 30]     -HTTP_STREAM_REQUEST
t=5418 [st= 30]     +HTTP_TRANSACTION_SEND_REQUEST  [dt=0]
t=5418 [st= 30]        HTTP_TRANSACTION_HTTP2_SEND_REQUEST_HEADERS
--> :authority: www.example.com
:method: GET
:path: /
:scheme: https
accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,/;q=0.8
accept-encoding: gzip, deflate, sdch, br
accept-language: en-US,en;q=0.8
avail-dictionary: s4sOwtgj
cache-control: max-age=0
cookie: [381 bytes were stripped]
referer: https://www.example.com
upgrade-insecure-requests: 1
user-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
t=5418 [st= 30]     -HTTP_TRANSACTION_SEND_REQUEST
t=5418 [st= 30]     +HTTP_TRANSACTION_READ_HEADERS  [dt=178]
t=5596 [st=208]        HTTP_TRANSACTION_READ_RESPONSE_HEADERS
--> HTTP/1.1 200
status: 200
date: Sat, 17 Sep 2016 22:51:25 GMT
content-type: text/html; charset=UTF-8
expires: -1
cache-control: no-store, no-cache, must-revalidate
pragma: no-cache
content-encoding: sdch
content-encoding: br
vary: Accept-Encoding, Avail-Dictionary
t=5596 [st=208]     -HTTP_TRANSACTION_READ_HEADERS
t=5596 [st=208]      HTTP_CACHE_WRITE_INFO  [dt=0]
t=5596 [st=208]      URL_REQUEST_DELEGATE  [dt=0]
t=5596 [st=208]      URL_REQUEST_FILTERS_SET
--> filters = "FILTER_TYPE_BROTLI,FILTER_TYPE_SDCH"
t=5596 [st=208]   -URL_REQUEST_START_JOB
t=5596 [st=208]   +URL_REQUEST_DELEGATE  [dt=1]
t=5596 [st=208]      DELEGATE_INFO  [dt=0]
--> delegate_info = "NavigationResourceThrottle"
t=5597 [st=209]   -URL_REQUEST_DELEGATE
t=5597 [st=209]   +HTTP_TRANSACTION_READ_BODY  [dt=84]
t=5681 [st=293]      HTTP2_STREAM_ERROR
--> description = "SPDY stream closed with status: 6"
--> status = -337
--> stream_id = 1505
t=5681 [st=293]   -HTTP_TRANSACTION_READ_BODY
--> net_error = -337 (ERR_SPDY_PROTOCOL_ERROR)
t=5681 [st=293]    FAILED
--> net_error = -337 (ERR_SPDY_PROTOCOL_ERROR)
t=5682 [st=294]    SDCH_DECODING_ERROR
--> net_error = -2 (ERR_FAILED)
--> sdch_problem_code = 95 (PRIOR_TO_DICTIONARY)
t=5682 [st=294] -REQUEST_ALIVE
--> net_error = -337 (ERR_SPDY_PROTOCOL_ERROR)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/yandex/sdch_module/issues/8#issuecomment-247813104,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABSkfuK1dx0WLFKpkyOeNkKIEqj5fOPks5qrG_IgaJpZM4J7h5g
.

Same result with mod_brotli disabled. Also tried disabling gzip (though I applied the patch).

Sometimes, it isn't an error from the server side. I've encountered this type of error several times before and in most cases, it was a fault from my computer.
I think this tutorial might help you to fix ERR_SPDY_PROTOCOL_ERROR.

When you can toggle the behavior by enabling/disabling the sdch_module, it's not a "computer" issue.

Have you tried last revision of the module?

I have, yes. #7 is fixed, but this issue remains.

May I see the chrome://net-internals#sdch ?

Anything in particular? I'm attaching a screenshot of the main SDCH panel (domain changed to example.com).

Can anyone who uses the sdch_module reproduce this issue? Basically, you download a large file from the server and try to open an SDCH-encoded resource while the browser is still downloading that file. I serve a lot of large files, and this means users cannot continue browsing the site while downloading.

I've found the bug.
Will back w/patch soon.

I believe the issue has been fixed.
Could you please confirm it is in your environment?

Confirmed! Sorry for the delay, and thanks for fixing the issue.


Feature/animated-gap

Hi Romain,
I've added an AnimatedGap and SliverAnimatedGap so that we can transition smoothly between extent values, can be useful since we see more and more Flutter apps running on different platforms that imply Responsiveness.

@MattisBrizard @letsar Hi guys!
It' really great feature for this package, why is this PR stuck?


nixos: Add new_kernel_no_zfs image variants

Description of changes
With these changes, we should have the a new_kernel iso and SD image pair building on the dot at each kernel upgrade. In turn, this will allow us to publish and publicize the images. This would help with new hardware, be it x86_64 or aarch64.
The implementation I think is not that objectionable. The only way to properly fix this would be to rewrite how supportedFilesystems works, and use an attrset with true/false values to allow overriding values. Once we pour values in a list, in the NixOS modules system, it is impossible to take them back out. If you have an alternative workable solution, feel free to submit it.
The overlay here shouldn't cause any issues for evaluation time, as this is an extremely leafy eval; it affects strictly only the two newly added outputs.
Workaround for:

#189184
#161296

Obsoletes:

#59863
#204773

I'm probably missing some.
Alternative approach
I still believe the approach in this comment is the best for the future:

https://github.com/NixOS/nixpkgs/pull/59863#issuecomment-932789533

We're gaining too many discrete disk images. It would be best if we could describe features for the disk image and join by the logical feature names, rather than making a new file to eval.
Future related work

Adding the jobs to tested
Publishing the images

Things done
I only instantiated the aarch64-linux image. Instantiation here is sufficient since the problem is we can't even attempt to build images with the newer kernels. Compare the following:
 $ nix-instantiate ./nixos/release.nix -A sd_image_new_kernel.aarch64-linux
trace: warning: system.stateVersion is not set, defaulting to 23.05. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion.
error: Package ‘zfs-kernel-2.1.7-6.1’ in /Users/samuel/tmp/nixpkgs/feature-new_kernel-no-zfs/pkgs/os-specific/linux/zfs/default.nix:196 is marked as broken, refusing to evaluate.
...
(use '--show-trace' to show detailed location information)

 $ nix-instantiate ./nixos/release.nix -A sd_image_new_kernel_no_zfs.aarch64-linux
trace: warning: system.stateVersion is not set, defaulting to 23.05. Read why this matters on https://nixos.org/manual/nixos/stable/options.html#opt-system.stateVersion.
warning: you did not specify '--add-root'; the result might be removed by the garbage collector
/nix/store/bkzij6b8l8prspr90awmdxfmp0nr2k34-nixos-sd-image-23.05pre130979.gfedcba-aarch64-linux.img.drv

I did build the x86_64 iso image, but it's not really needed to build it. What was needed was to verify zfs support is not present.

Built on platform(s)

[x] x86_64-linux
[x] aarch64-linux (kinda)
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Yes please. Also will need a channel-scripts change so these get copied to the usual spot on the CDN.

Yes please. Also will need a channel-scripts change so these get copied to the usual spot on the CDN.

Yes. Just to be clear this is listed under future related work as publishing the images.

For reference, history of the current new-kernel ISO not evaluating for long periods of time: https://hydra.nixos.org/job/nixos/trunk-combined/nixos.iso_minimal_new_kernel.x86_64-linux/all
I like this.  I just wonder... in periods when ZFS does evaluate (and those seem not rare above), it would seem more "economical" to only alias to iso_minimal_new_kernel instead of building additional one, meaning no ZFS guaranteed.  (ISOs are relatively expensive for S3 and building on the farm.)
But I certainly don't want such a nit to block this.

I like this. I just wonder... in periods when ZFS does evaluate (and those seem not rare above), it would seem more "economical" to only alias to iso_minimal_new_kernel instead of building additional one, meaning no ZFS guaranteed. (ISOs are relatively expensive for S3 and building on the farm.)

For posterity, that option was discussed in a NixOS dev chatroom at some point in the past, and was deemed undesirable. The problem is having the feature set of the iso flip and flop (ir)regularly. The published isos should be predictable in their feature set.
Here I decided to do the least objectionable change and only add new builds, but we could also remove the new_kernel+zfs variant from the job set. This can be done later too, if wanted.

No arguments against, merging... If there's anything let's discuss in a revert/change PR then I guess.


Installing on Phoenix 1.3?

In Phoenix 1.3, application in mix.exs looks like this:
def application do
    [
      mod: {MyApp.Application, []},
      extra_applications: [:logger, :runtime_tools, :ssl]
    ]
 end

Would this be the correct way to add ex_trello?
def application do
    [
      mod: {MyApp.Application, []},
      extra_applications: [:ex_trello, :logger, :runtime_tools, :ssl]
    ]
 end

+1


file vendors.js don't exists in chunksMap

macos 10.13.4
node v8.9.4

error occurred after run npm run dev

已提代码，你更新一下试试


Add blog page to the website

fix: #228
First look for the page

Hey @Harshit7492 please review my PR.

Well done @shubhagarwal1


Benchmark

https://github.com/roblabla/ProtoDef/issues/26
(based on #23 )

I think it's ready. It gives us some clues into whether changes make protodef slower or faster.


Add missing host & fixed number of hosts available

The original section said:
There are three different hosts:
.NET WebApplication Host
.NET Generic Host
ASP.NET Core Web Host
The .NET Minimal Host is recommended and used in all the ASP.NET Core templates.
Notice a 4th host, ".NET Minimal Host" is discussed under the list. I added it to the bulleted list.
The strart setence said "There are three different hosts:" but the number three is wrong (the correct number is four) but I made the setence agnostic to the number of hosts in case a 5ht, 6th or 7th host is added. The new setence is "The different hosts include:" which works for 50 or 100 or 1000 hosts.

The  .NET WebApplication Host is the new minimal host.

The .NET WebApplication Host is the new minimal host.

Rick... I can kill the PR and create a new PR to fix the paragraph below. Basically where it says "Minimum host" it should be called ".NET WebApplication Host"?
I'm not offended if you reject my current PR. I make a lot of fixes (lord knows why) and I want to get the documentation right.

@softwarepronto please review

I defer to PU management on naming and coverage of Minimal API tech. I had some questions/concerns at the time it came out, but none of them were germane to my Blazor responsibilities, so I didn't ask.


HTTP Error 404 on specific YouTube videos

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.09.10. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.09.10

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[x] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
youtube-dl -v https://www.youtube.com/watch?v=ZvccY97SZX0
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', 'https://www.youtube.com/watch?v=ZvccY97SZX0']
[debug] Encodings: locale cp1252, fs utf-8, out utf-8, pref cp1252
[debug] youtube-dl version 2018.09.10
[debug] Python version 3.6.5 (CPython) - Windows-10-10.0.17134-SP0
[debug] exe versions: ffmpeg N-91801-gad9b4ecc26, ffprobe N-91801-gad9b4ecc26
[debug] Proxy map: {}
[youtube] ZvccY97SZX0: Downloading webpage
[youtube] ZvccY97SZX0: Downloading video info webpage
[youtube] {22} signature length 41.40, html5 player vflHei2l6
[youtube] {43} signature length 41.40, html5 player vflHei2l6
[youtube] {18} signature length 41.40, html5 player vflHei2l6
[youtube] {36} signature length 41.40, html5 player vflHei2l6
[youtube] {17} signature length 41.40, html5 player vflHei2l6
[youtube] ZvccY97SZX0: Downloading MPD manifest
[debug] Default format spec: bestvideo+bestaudio/best
[debug] Invoking downloader on 'https://r5---sn-qxo7rn7l.googlevideo.com/videoplayback/id/66f71c63ded2657d/itag/135/source/yt_otf/requiressl/yes/mv/m/mm/31,29/ms/au,rdu/mn/sn-qxo7rn7l,sn-qxoedn7z/pl/23/initcwndbps/1338750/ei/uE6XW4COL4O2kwbUpYawAg/ratebypass/yes/mime/video%2Fmp4/otfp/1/otf/1/lmt/1518827742245318/fvip/5/mt/1536642698/disable_polymer/true/ip/<IP_ADDRESS>/ipbits/0/expire/1536664344/sparams/ip,ipbits,expire,id,itag,source,requiressl,mv,mm,ms,mn,pl,initcwndbps,ei,ratebypass,mime,otfp,otf,lmt/signature/209AB837CDAE64A7380E86BC929387FC8751FCC7.90EDED7DF057272194F110B6268CF13385D1AA27/key/dg_yt0/'
[dashsegments] Total fragments: 19
[download] Destination: Trumpet off-ZvccY97SZX0.f135.mp4
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 1 (attempt 1 of 10)...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 1 (attempt 2 of 10)...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 1 (attempt 3 of 10)...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 1 (attempt 4 of 10)...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 1 (attempt 5 of 10)...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 1 (attempt 6 of 10)...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 1 (attempt 7 of 10)...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 1 (attempt 8 of 10)...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 1 (attempt 9 of 10)...
[download] Got server HTTP error: HTTP Error 404: Not Found. Retrying fragment 1 (attempt 10 of 10)...
ERROR: giving up after 10 fragment retries
  File "c:\python\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "c:\python\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "C:\Python\Scripts\youtube-dl.exe\__main__.py", line 9, in <module>
    sys.exit(main())
  File "c:\python\lib\site-packages\youtube_dl\__init__.py", line 472, in main
    _real_main(argv)
  File "c:\python\lib\site-packages\youtube_dl\__init__.py", line 462, in _real_main
    retcode = ydl.download(all_urls)
  File "c:\python\lib\site-packages\youtube_dl\YoutubeDL.py", line 2001, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "c:\python\lib\site-packages\youtube_dl\YoutubeDL.py", line 803, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "c:\python\lib\site-packages\youtube_dl\YoutubeDL.py", line 857, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "c:\python\lib\site-packages\youtube_dl\YoutubeDL.py", line 1635, in process_video_result
    self.process_info(new_info)
  File "c:\python\lib\site-packages\youtube_dl\YoutubeDL.py", line 1902, in process_info
    partial_success = dl(fname, new_info)
  File "c:\python\lib\site-packages\youtube_dl\YoutubeDL.py", line 1847, in dl
    return fd.download(name, info)
  File "c:\python\lib\site-packages\youtube_dl\downloader\common.py", line 364, in download
    return self.real_download(filename, info_dict)
  File "c:\python\lib\site-packages\youtube_dl\downloader\dash.py", line 75, in real_download
    self.report_error('giving up after %s fragment retries' % fragment_retries)
  File "c:\python\lib\site-packages\youtube_dl\downloader\common.py", line 165, in report_error
    self.ydl.report_error(*args, **kargs)
  File "c:\python\lib\site-packages\youtube_dl\YoutubeDL.py", line 620, in report_error
    self.trouble(error_message, tb)
  File "c:\python\lib\site-packages\youtube_dl\YoutubeDL.py", line 582, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())
...
<end of log>

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
Downloading a few specific videos from YouTube results in "Got server HTTP error: HTTP Error 404: Not Found." on fragment 1. It happens consistently for the same few videos, I have verified that it plays fine in browser and that other videos download correctly. Here is one of the videos that isn't downloading: https://www.youtube.com/watch?v=ZvccY97SZX0

Server side youtube issue. Select another format.

Server side youtube issue. Select another format.

Excuse my ignorance, but what do you mean by this?
I am encountering this issue on a whole load of YouTube videos so I would like to know what the solution is

youtube-dl -F https://www.youtube.com/watch?v=ZvccY97SZX0 that should lists available format. Then try the following:
youtube-dl -f FORMAT_CODE_FROM_ABOVE https://www.youtube.com/watch?v=ZvccY97SZX0
you can also do youtube-dl -f best https://www.youtube.com/watch?v=ZvccY97SZX0
hope that helps. try the various format code and see which one works.

@prabak Sweet, that works! Thank you

Can we get a proper fix for this? It happens on select videos and it never fixes itself. Clearly this is not intended behavior. The intended behavior should be to download a stream that actually works. If Youtube is sending out wrong info about the streams leading to a 404, that does not make it a server side Youtube issue. That's just how Youtube works then. Since Youtube doesn't intend to have its videos downloadable, and there is no documented API of theirs saying anything about how things should be, all we can do is observe how things are.
It may be lazy programming on their side, but "just manually select the stream you want" is not an adequate solution, because this does not cover the archival of entire channels. Am I expected to download each single video that doesn't work (it's not like youtube-dl gives me an error logfile of videos that failed either) manually like this?
Things being the way they are now, effectively archiving channels results in missing videos. How can this be the intended result? The correct result would be to have the software realize "ok, 404, clearly this stream does NOT exist" and fall back to the next best stream. You can't claim server side error unless there is some documentation about how the server is supposed to behave and there is none. So right now the argument here is basically "I don't like the way Youtube is programmed, so I am not going to adapt to it".


Fix for 1132: Component HTML template not updated when saved

Short description of what this resolves:
HTML template of components is not updated by ionic serve after saving the file.
When a module is shared among multiple modules, e.g., a components module, the component template is present in multiple bundle files, so the template should be replaced in all bundle files.
Changes proposed in this pull request:
Instead of only replacing the template in the first matching bundle file, replace it in all matched bundle files. So removing the break fixes this.
Fixes: #1132

May also fix https://github.com/ionic-team/ionic-app-scripts/issues/1491

I think the community would appreciate if somebody could review & merge this PR. This seems to be a problem for a lot of users (including me)

ping @dwieeb


returnKeyType is not updating after state has changed

Description
I want to use the returnKeyType prop of the TextInput with a state, however, the keyboard is setting the return key type to the previous value.
I found an issue reporting the same thing but it was closed: #23362
Version
0.69.2
Output of npx react-native info
System:
OS: macOS 12.6
CPU: (8) x64 Apple M1 Pro
Memory: 36.23 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 14.20.1 - ~/.nvm/versions/node/v14.20.1/bin/node
Yarn: Not Found
npm: 6.14.17 - ~/.nvm/versions/node/v14.20.1/bin/npm
Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.3 - /Users/rodrigoeidelvein/.rvm/gems/ruby-2.7.6/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
Android SDK: Not Found
IDEs:
Android Studio: 2021.2 AI-212.5712.43.2112.8609683
Xcode: 14.0.1/14A400 - /usr/bin/xcodebuild
Languages:
Java: 11.0.15 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.0.0 => 18.0.0
react-native: 0.69.2 => 0.69.2
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Steps to reproduce

Open the snack
Select the first input
Click on next until the last input (you can see that the text shows "done", but the return key type is "next" on the keyboard
Focus other input (It'll show the "done" return key type, but the actual state is "next")

Snack, code example, screenshot, or link to a repository
https://snack.expo.dev/NrNOoauGz

We are currently facing the same issue on v.0.69.7.
Our use case is TextInput used for search. We want to have a "done" returnKeyType when no text has been inputted in the field, and "search" returnKeyType when text.length > 0.


Add trailing option to editor.renderWhitespace

Please add an option to editor.renderWhitespace that has a similar effect to the existing boundary option, but only renders whitespace on the trailing (right) side.
And for symmetry, maybe a leading option too, for the left side?

Bump. I'd like this feature too

I agree. "editor.renderWhitespace": "boundary" renders inner whitespace which I don't like.
Languages relying on indentation get unnecessarily cluttered. Look at how VSCode renders the following Haskell code snippet (CTRL+F ·· to highlight):
lcp :: Eq a => [a] -> [a] -> [a]
lcp [] _··= []
lcp _··[] = []
lcp (x : xs) (y : ys) | x == y····= x : lcp xs ys
······················| otherwise = []

What I would like is the following:
lcp :: Eq a => [a] -> [a] -> [a]
lcp [] _  = []
lcp _  [] = []
lcp (x : xs) (y : ys) | x == y    = x : lcp xs ys
······················| otherwise = []

We can achieve this behavior in other IDEs like IntelliJ by toggling leading/inner/trailing whitespace individually:


Set container's env when it's started by means of modifying a url string

Hi,
I changed a url string according to this. Is it possible to set container's env (like .withEnv)? Or it would be nice if that would be possible to set env in testcontainers.properties.

Hi @yerzhant,
If you need some advanced customization of the database container, we recommend instantiating the container objects manually and applying the modifications:
https://www.testcontainers.org/modules/databases/jdbc/#database-container-objects

@bsideup Thanks for the reply.


Disabled animation when sharing via SMS

Addresses issue: iOS Keyboard doesn't appear onSMS activation with multiple numbers
https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin/issues/405

I take your work for it 😄  👍


Asset not loaded: assets.atlas

If this is set to true:
private static boolean rebuildAtlas = true;
The TexturePacker runs every time and sometimes causes an error in eclipse that forces you to refresh before running the game.

This isn't really a bug.  Its just the way it works.  You always need to manually refresh the android project if you add an asset.  When the TexturerPacker rebuilds the atlas the android project is not automatically refreshed and still thinks the atlas file is the same as the old one.  There might be a way to create a run tool that auto refreshes the android project.  I have never looked into it before.

All I'm saying is it would save time to not have to refresh and change the rebuild option. I tried to use packer.processIfModified to no success.


Notifications for delayed entry

I’m not sure if this is supposed to work or not, but I don’t get any notifications for delayed entry. I only get notifications when it’s armed and disarmed. Is there any way to set it up to get notifications when the alarm goes into delayed entry? I’ve had problems where a motion sensor trips the delayed entry but I don’t hear or realize it’s going off until the alarm siren triggers. These notifications can be set up in the Ring app, but would be so much more useful if they came through HomeKit. Having a notification would be a huge help.

@cantchooseaname8 thanks for the request.  I'm not sure that everyone would want notifications for every entry delay, since that would mean a notification every time they entered their home and the alarm was on away mode.  I can definitely see the upside though, and I will look into adding a configuration option that would allow you to choose if entry delay sets HomeKit to "Alarming".

@dgreif thanks so much for the quick reply. A configurable option to have notifications when entry delay is triggered either from away or home mode would be amazing. Thanks so much for all your work on this plugin and sharing it with everyone!

@cantchooseaname8 I added an alarmOnEntryDelay option in v1.5.0.  This will actually work really well for me as well since I have mine set up for auto arm/disarm on leave/arrive.  I've had a lot of instances of visitors setting off the alarm when I'm not home.  Thanks again for the request!

@dgreif wow that was fast! I’ll take a look and test this out tomorrow. Thank you so much!

I was just able to test it out. The notifications popped up perfectly. The status in HomeKit showed “Triggered” and this is where I ran into a problem. When I went to change the status to “Off”, it was already highlighted and wouldn’t let me turn the alarm off. I had to use the keypad. Is that how it is supposed to work in HomeKit? Maybe a triggered alarm can’t be turned off in HomeKit? Just want to make sure I didn’t mess something up. Thanks!

I ran into the same issue while testing it out. Unfortunately it’s a
limitation of HomeKit that I have no control over. The best solution that I
found was to click on Away (or Home) and then Off. Glad to hear it’s
working otherwise.
On Mon, Mar 18, 2019 at 8:33 PM cantchooseaname8<EMAIL_ADDRESS>wrote:

I was just able to test it out. The notifications popped up perfectly. The
status in HomeKit showed “Triggered” and this is where I ran into a
problem. When I went to change the status to “Off”, it was already
highlighted and wouldn’t let me turn the alarm off. I had to use the
keypad. Is that how it is supposed to work in HomeKit? Maybe a triggered
alarm can’t be turned off in HomeKit? Just want to make sure I didn’t mess
something up. Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dgreif/ring-alarm/issues/20#issuecomment-474185429,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AC4tevgnyR5MP0wOgpWvA0A9B_MpT66jks5vYFqQgaJpZM4b4sOp
.

Got it. Hopefully HomeKit will improve with this in the next iOS release. Thanks again.


Update CommandersCall.Client to modern framework

CommandersCall.Client (originally, CommandersCall.UI) was going to target Windows Phone. Since the demise of that platform, we need to target a different one (eg. MAUI, Blazor, etc).

Hmm, this is a great question... Blazor is essentially (even Blazor for MAUI) a PWA. We could do that but we'd need to use a web forward framework like Phaser or something like that. I'll dig into different options!

Just looked at Phaser. That looks like a really neat framework.


Dendrite support

It would be nice to have official support for Dendrite as well as Synapse, including migrating from the dendrite builtin media store to MMR.
Probably not a high priority before Dendrite reaches 1.0, but once it does, it would be very nice to have, especially considering Dendrite will have a migration path from Synapse to Dendrite in the future

This has been broken out to the following tasks:

[ ] https://github.com/turt2live/matrix-media-repo/issues/496
[ ] https://github.com/turt2live/matrix-media-repo/issues/497
[ ] https://github.com/turt2live/matrix-media-repo/issues/498
[ ] https://github.com/turt2live/matrix-media-repo/issues/499

To consider this issue "done", all but #498 need to be complete for Synapse parity.


Broken JSON

The example Appointment resource on this page
https://nhsconnect.github.io/FHIR-A2SI-APPOINTMENTS-API/book_an_appointment.html  has a few errors:
The contained [] is repeated, whereas there should be one contained [] with two objects in it.
There's a missing comma after "required" 5 lines from the bottom.
There's an extra comma after "use": "home" (about halfway down.

i can see that this example has been removed from the 1.0.4. spec but I've had a go at fixing what was in 1.0.3. If you are happy with this let me know.
Appointment-example.txt

I can see that the examples for the Appointment resource have been corrected at https://nhsconnect.github.io/NHS-Scheduling-API/appointment.html so will close this.


API to download data on demand

It would be very useful if we can install and use the plbenchmarks package without having to download the complete data set. Having points in the API that download the data on demand would be required to accomplish this.

See #46, but ideally this API could also target a specific revision of the data where required.

I love the MDAnalysisData-like API that @IAlibay mentions in #16 as an inspiration for this API.
Hosting the datasets elsewhere may mean that some cleverness is required to curate the consistent set of DOIs or individual dataset versions that are considered "a benchmark set release" people can compare against in the literature, as @richardjgowers points out.