ImageDataGenerator and RAM consumption

Hello!
I'm trying to use ImageDataGenerator in two ways (flow_from_directory and flow), but in both ways I'm getting a MemoryError (even if batch size = 1). It's very strange, because without ImageDataGenerator my PC (52 Gb RAM, 8 i7 CPU) works fine with batch size = 10 (each picture is 352*480). Is there a problem in ImageDataGenerator, or I'm making something wrong?
flow_from_directory variant:
https://github.com/Daemon2017/Brumm-Net/blob/flow_from_directory/train.py

Using TensorFlow backend.
Number of X and Y in train is the same. Work continues!
Number of X and Y in test is the same. Work continues!
Start training? (y or n): y
Building model...
Model ready!
Training...
Found 367 images belonging to 1 classes.
Found 367 images belonging to 1 classes.
Traceback (most recent call last):
File "train.py", line 177, in
train()
File "train.py", line 80, in train
train_generator = zip(train_image_generator, train_mask_generator)
File "/usr/local/lib/python2.7/dist-packages/keras/preprocessing/image.py", line 1026, in next
batch_x = np.zeros((current_batch_size,) + self.image_shape, dtype=K.floatx())
MemoryError

flow variant:
https://github.com/Daemon2017/Brumm-Net/blob/flow/train.py

Using TensorFlow backend.
Number of X and Y in train is the same. Work continues!
Number of X and Y in test is the same. Work continues!
Start training? (y or n): y
Building model...
Model ready!
Training...
Generating training batch 0
Preparing training file: #0, raw name: 0001TP_006690_raw.jpg, mask name: 0001TP_006690_mask.jpg
Traceback (most recent call last):
File "train.py", line 227, in
train()
File "train.py", line 172, in train
model.fit_generator(generator=batch_generator(),
File "train.py", line 107, in batch_generator
train_generator = zip(x_train, y_train)
File "/usr/local/lib/python2.7/dist-packages/keras/preprocessing/image.py", line 814, in next
x = self.image_data_generator.random_transform(x.astype(K.floatx()))
MemoryError

No augmentation variant:
https://github.com/Daemon2017/Brumm-Net/blob/master/train.py

Could you give your keras version and/or validate that it happens on master as well please?

Hello, Dref360!
Yes, no problem - here is the resul of pip list (Keras and TF are up to date):

backports.weakref (1.0rc1)
bleach (1.5.0)
boto (2.38.0)
chardet (2.3.0)
crcmod (1.7)
cycler (0.10.0)
decorator (4.1.2)
Django (1.11.4)
funcsigs (1.0.2)
functools32 (3.2.3.post2)
google-compute-engine (2.4.1)
h5py (2.7.0)
html5lib (0.9999999)
image (1.5.11)
Keras (2.0.8)
Markdown (2.6.9)
matplotlib (2.0.2)
mock (2.0.0)
networkx (1.11)
numpy (1.13.1)
olefile (0.44)
opencv (1.0.1)
opencv-python (<IP_ADDRESS>)
pbr (3.1.1)
Pillow (4.2.1)
pip (9.0.1)
protobuf (3.4.0)
pyparsing (2.2.0)
python-dateutil (2.6.1)
pytz (2017.2)
PyWavelets (0.5.2)
PyYAML (3.12)
requests (2.9.1)
scikit-image (0.13.0)
scipy (0.19.1)
setuptools (36.4.0)
six (1.10.0)
subprocess32 (3.2.7)
tensorflow (1.3.0)
tensorflow-tensorboard (0.1.6)
Theano (0.9.0)
urllib3 (1.13.1)
Werkzeug (0.12.2)
wheel (0.30.0)

The issue seems to be with the zip that you do in both cases zip(x_train, y_train).
Iterator are not zippable. This is definitely a bug, I'll look into it.

Thank you!
I don't know if something prevents iterator from being zippable, but, as I see in example, it's possible:
train_generator = zip(image_generator, mask_generator)
https://keras.io/preprocessing/image/
If in flow version I'm replacing

return train_generator
with
yield train_generator
I'm getting error:
Epoch 1/10
Generating training batch 0
Preparing training file: #0, raw name: 0001TP_006690_raw.jpg, mask name: 0001TP_006690_mask.jpg
Exception in thread Thread-2:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/usr/local/lib/python2.7/dist-packages/keras/utils/data_utils.py", line 568, in data_generator_task
generator_output = next(self._generator)
File "train.py", line 107, in batch_generator
train_generator = zip(x_train, y_train)
File "/usr/local/lib/python2.7/dist-packages/keras/preprocessing/image.py", line 814, in next
x = self.image_data_generator.random_transform(x.astype(K.floatx()))
MemoryError
Traceback (most recent call last):
File "train.py", line 227, in
train()
File "train.py", line 179, in train
callbacks=[tbCallBack, WeightsSaver(model, 1)])
File "/usr/local/lib/python2.7/dist-packages/keras/legacy/interfaces.py", line 87, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/training.py", line 2011, in fit_generator
generator_output = next(output_generator)
StopIteration

Will the keras-transform work with Model class API?

For the example, try with izip in python2? zip are not lazily evaluated in python2, but they are in python3
keras-transform is just some wrapper functions around a keras.utils.Sequence to do data augmentation. it would work just like a generator and everything is handled by keras.

Yes, I'm using Python 2. zip in P3 works like izip in P2, isn't it?
I've added

from itertools import izip

and replaced zip with izip.
The result for flow_from_directory variant is very strange:

Using TensorFlow backend.
Number of X and Y in train is the same. Work continues!
Number of X and Y in test is the same. Work continues!
Start training? (y or n): y
Building model...
Model ready!
Training...
Found 367 images belonging to 1 classes.
Found 367 images belonging to 1 classes.
Found 233 images belonging to 1 classes.
Found 233 images belonging to 1 classes.
Traceback (most recent call last):
File "train.py", line 179, in
train()
File "train.py", line 131, in train
callbacks=[tbCallBack, WeightsSaver(model, 1)])
File "/usr/local/lib/python2.7/dist-packages/keras/legacy/interfaces.py", line 87, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/training.py", line 1936, in fit_generator
raise ValueError('When using a generator for validation data, '
ValueError: When using a generator for validation data, you must specify a value for validation_steps.
https://github.com/Daemon2017/Brumm-Net/blob/flow_from_directory/train.py

The result for flow variant is strange too:

Using TensorFlow backend.
Number of X and Y in train is the same. Work continues!
Number of X and Y in test is the same. Work continues!
Start training? (y or n): y
Building model...
Model ready!
Training...
2017-09-14 11:44:10.429839: 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-09-14 11:44:10.429902: 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-09-14 11:44:10.429909: 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-09-14 11:44:10.429914: 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-09-14 11:44:10.429920: W tensorflow/core/platform/cpu_feature_guard.cc:45] The TensorFlow library wasn't compiled to use AVX512F instructions, but these are available on your machine and could speed up CPU computations.
2017-09-14 11:44:10.429925: 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.
Epoch 1/10
Generating training batch 0
Preparing training file: #0, raw name: 0001TP_006690_raw.jpg, mask name: 0001TP_006690_mask.jpg
Start is 0, end is 1
Training batch 0 generated!
Generating training batch 0
Preparing training file: #0, raw name: 0001TP_006720_raw.jpg, mask name: 0001TP_006720_mask.jpg
Start is 1, end is 2
Training batch 0 generated!
Traceback (most recent call last):
File "train.py", line 229, in
train()
File "train.py", line 181, in train
callbacks=[tbCallBack, WeightsSaver(model, 1)])
File "/usr/local/lib/python2.7/dist-packages/keras/legacy/interfaces.py", line 87, in wrapper
return func(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/keras/engine/training.py", line 2017, in fit_generator
str(generator_output))
ValueError: Output of generator should be a tuple (x, y, sample_weight) or (x, y). Found: <itertools.izip object at 0x7fcfcba0d908>
https://github.com/Daemon2017/Brumm-Net/blob/flow/train.py

It looks like the easiest way to solve my problems is to rewrite code on Python 3, but I really do not want to do this...
Thank you! Now I'm understand - I was confused by word Sequence and it seemed to me that we are talking about Sequence/Model API's of Keras :)) Waiting for guide!


Fix the metric and log reports for the dryrun gateway config

Please provide a description of this PR:
Fix https://github.com/istio/istio/issues/28372

@hanxiaop: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
9d869b75a7927635f8d0678b212b9d80ccd4daaa
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hanxiaop: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
55e604e64277019e1f0c674e0df4457ec30b7fc8
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@hanxiaop: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
55e604e64277019e1f0c674e0df4457ec30b7fc8
link
true
/test lint

gencheck_istio
55e604e64277019e1f0c674e0df4457ec30b7fc8
link
true
/test gencheck

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


feat: support Struct as a Launch input type

TL;DR
This adds support for our Struct input type, which is essentially just a Protobuf.Struct object. Users will enter this value as a JSON object string, which will then be parsed and converted to a Protobuf.Struct object using the appropriate types for resulting values.
Type

[ ] Bug Fix
[x] Feature
[ ] Plugin

Are all requirements met?

[x] Code completed
[ ] Smoke tested
[x] Unit tests added
[ ] Code documentation added
[ ] Any pending items have an associated Issue

Complete description

Added inputHelper code for converting between a JSON object string and a Struct Literal.
Updated code for type support to allow Structs.
Added a component for entering a Struct value, which is similar to a Collection in that it is a multi-line string input.
Added test cases, which involved some refactoring of the unit tests to correctly format the input values and expected outputs.
Added a simple wrapper for JSON.stringify to ensure consistent formatting (2 spaces) and updated relevant code to use that instead of JSON.stringify directly

Tracking Issue
https://github.com/lyft/flyte/issues/22
Follow-up issue
NA

Codecov Report

Merging #113 into master will increase coverage by 0.21%.
The diff coverage is 83.89%.

@@            Coverage Diff             @@
##           master     #113      +/-   ##
==========================================
+ Coverage   70.37%   70.59%   +0.21%
==========================================
  Files         384      387       +3
  Lines        6404     6516     +112
  Branches     1017     1044      +27
==========================================
+ Hits         4507     4600      +93
- Misses       1897     1916      +19

Impacted Files
Coverage Δ

...omponents/Launch/LaunchForm/inputHelpers/struct.ts
77.77% <77.77%> (ø)

src/components/Launch/LaunchForm/StructInput.tsx
91.66% <91.66%> (ø)

src/common/utils.ts
90.74% <100.00%> (+0.35%)
:arrow_up:

.../components/Launch/LaunchForm/LaunchFormInputs.tsx
85.36% <100.00%> (+1.15%)
:arrow_up:

...onents/Launch/LaunchForm/inputHelpers/constants.ts
100.00% <100.00%> (ø)

...aunch/LaunchForm/inputHelpers/getHelperForInput.ts
100.00% <100.00%> (ø)

...ch/LaunchForm/inputHelpers/test/structTestCases.ts
100.00% <100.00%> (ø)

...s/Launch/LaunchForm/inputHelpers/test/testCases.ts
100.00% <100.00%> (ø)

...components/Launch/LaunchForm/inputHelpers/utils.ts
86.66% <100.00%> (+0.30%)
:arrow_up:

src/components/common/DumpJSON.tsx
66.66% <100.00%> (+6.66%)
:arrow_up:

... and 3 more

Continue to review full report at Codecov.

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

:tada: This PR is included in version 0.17.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Move content of jobs repo to this repo.

To make life easier, does it make sense to move the contents of the /jobs/ repo to this repository?
Why are we keeping it all separate? I feel like it just introduces a lot of complexities that we could easily avoid.
Benefits to moving things here:

One site to rule them all
Can switch to using netlify, which actually lets us use a bunch more things as far as gems goes in jekyll, and also is easy to use letsencrypt, and would let use use test and staging branches (:O)
Clear where to file issues for a website thing
Don't have to do weird things to keep the CSS and layouts the same across pages.

Down sides:

everything is in one repository

I think the benefits outweigh the downsides, just for sake of simplicity and cost of maintenance. Thoughts?

I think we absolutely should move ALL content is not strictly "job" postings
from that repo here.
I think we should keep Jobs repo as it's own instance for these reasons:

Interested parties can "subscribe" to just repo and get notification emails
We can delegate permissions / access should we ever want to
Keeps the size of the webiste repo smaller. Imagine we have thousands of job file as some point?

As for netlify & letsencrypt, we'll have to move all our repos into this one
to get that benefit (events, resources, etc...). However, we could also
build the site from a server (and use real letsencrypt).

Separate Job repo has its own benefits. We should not move all the contents to this website repo.
Agree completely with Brennan.

To address your specific concerns @bnvk:

I feel like that's what RSS feeds are for, but instead we're having people rely on closed source and non-standard notification system that is GitHub's notifications that doesn't integrate with outside feeds and also, again, isn't very designer friendly (are designers watching their GitHub notifications?)
I don't really see this happening, and if it does we can break it out again. But I honestly don't see why we would ever limit who can edit what on the website - that seems counter the way this organization is run.
This a non-issue to me. A) we're a long, long way from a thousand job files and b) I prefer a simple architecture with lots of files over a complex one that is harder to grok. If we do reach a thousand jobs we should probably consider a dedicated hosting platform.

As for your comment about moving all repos here - yeah, that's kind of what I'm getting at. Everything that is on our website should be part of our website.

I feel like that's what RSS feeds are for

RSS is one method of publishing / subscribing content. It's not ideal (who uses
RSS feed readers these days?), but we need to build more methods.
Github (notifications) are far from ideal. I'm all for exploring moving away
from GitHub and/or designing + engineering more customized notifications, but
that takes certain skills + enough time to dedicate. Currently, you and I are
the only ones really working on the site. I'm not sure if that's because:

Lack of interest
Lack of required skills
The process and dev setup is too messy or complicated

Regardless, we should definitely work on 3. which informs rest of your points.

I don't really see this happening, and if it does we can break it out again

If we move away from Github (or stay, but customize more) we should use
better utilize git-hooks, if everything is in one repo, we loose granularity

I honestly don't see why we would ever limit who can edit what on the website

Reasons: newcomers who get added to the Github org might not know what jobs are
ok to accept "sounds like open source, but is really closed source" or the
technical aspects of editing the markdown files correctly.

This a non-issue to me. A) we're a long, long way from a thousand job
files

25% of the 77 jobs have been posted since Jan, 2017 (since the web-form added).
What if we add scrappers to auto-add design jobs from FOSSjobs.net? I can see
faster growth

b) I prefer a simple architecture with lots of files over a complex one that is harder to grok.

Totally agree we should always strive for simple, but are "single folders nested
inside a parent folder" so complex to grok? Granted, developing locally seems a
bit different from how Github pages treats Jekyll sites. That might be causing
confusion / issues as it's not clearly outlined in a "developing OSD website".

If we do reach a thousand jobs we should probably consider a dedicated hosting
platform.

Such as?

Everything that is on our website should be part of our website.

Hrm. I think I pretty strongly disagree as then we get no separation of content
/ subscription / organizing with our current platform (github).
What's the complexity at present and to what user persona are you most thinking
about? The biggest thing I'm noticing is "discussion oriented people" and our
structure being messy. In which case, I think we probably do need a dedicated
platform / place for discussion only vs. adding content to the site folks.

Remark:

25% of the 77 jobs have been posted since Jan, 2017 (since the web-form added).
What if we add scrappers to auto-add design jobs from FOSSjobs.net? I can see faster growth

If we do reach a thousand jobs we should probably consider a dedicated hosting platform.

…which makes me wonder why we don't just encourage people to use FOSSjobs?
If we have a different scope (I assume Fossjobs is about longer term and payed ) we should tell people what we focus on.

but are "single folders nested inside a parent folder" so complex to grok? Granted, developing locally seems a bit different from how Github pages treats Jekyll sites. That might be causing confusion / issues as it's not clearly outlined in a "developing OSD website".

That's exactly my point. I don't develop the website as nested folders, do you? I would prefer it if we did move to nested folders, all within this repo. The current set up doesn't automatically work with "single nested inside a parent folder" unless you explicitly set it up this way. And if that's the case I was never told how to do that. If I'm editing the website I have to remember that there's styles in the jobs repo that directly affect the job repo. This isn't clear cause and effect.

Such as? (re: hosting platform)

We probably want an actual database at that point. A static site just wouldn't cut it. I mean, right now we're hacking together a solution and we're probably putting more effort into it than a simple CRUD framework would grant us, all so we don't have to pay hosting costs. And then there's what @jdittrich suggests. Why not just merge with FOSSJobs? I'm not sure whether /jobs/ being "our most successful aspect" is a good reason.

I think I pretty strongly disagree as then we get no separation of content
/ subscription / organizing with our current platform (github).

The separation of content is in how the data is stored and the folders organized.
I guess I'm overall worried that we're relying too much on GitHub. It's starting to feel like everything we do is a hack around making our website work better with GitHub. You're right, the only people who are editing the site are you and I, and I wonder if that's because of the inherent blocker that is how our website is set up.

You're right, the only people who are editing the site are you and I, and I wonder if that's because of the inherent blocker that is how our website is set up.

This would be hard to prove. But, anecdotally, I find the amount of issues and set up confusing enough to discourage me from helping. (I don't know if this comment helps, but I figured my perspective as someone who would like to, but doesn't, would normally be the kind of voice that you wouldn't hear due to the organizational issues I'm talking about).

…which makes me wonder why we don't just encourage people to use FOSSjobs?

Because we're a community of designers focused on design work?

So I just updated our README to reference the helper scripts I created to make
things easier
https://github.com/opensourcedesign/opensourcedesign.github.io/tree/master/scripts
But upon testing with @pdurbin and verifying on the dev server I setup:
https://dev.opensourcedesign.net
This is a bit funky / harder than it should be to get jobs and events
working. Give me a few days to tweak things before I conceded to move both
over here.

You're right, the only people who are editing the site are you and I, and I wonder if that's because of the inherent blocker that is how our website is set up.

In my case, it's just lack of time. There are things I wouldn't be able to do (I am not a developer), but I know enough to fix small issues. Right now I am swamped though. Sorry that you guys have to  carry all the work at the moment :(

Why not just merge with FOSSJobs?

A bit of history might help here. When we organised the first open source design devroom at FOSDEM, tons of developers approached us to ask where to advertise the need for design contributions. This is what prompted the jobs board. I am not opposed to merge with FOSSJobs, but we will have to do a bit of a communications campaign because maintainers don't seem to perceive it as a place to invite / request / encourage design contributions. It seems mainly focused on paid development jobs.
So the need for a place to bring together open source projects and designers still exists, and that's the gap we are trying to fill.

@belenbarrospena

Why not just merge with FOSSJobs?
A bit of history might help here […]

thanks.

I guess I'm overall worried that we're relying too much on GitHub.
It's starting to feel like everything we do is a hack around making our website work better with GitHub.

That might be indeed a core issue of much of the discussions lately around Website, Jobs, Discussions.

What if we add scrappers to auto-add design jobs from FOSSjobs.net?

They don't have nearly as many design jobs as we do.
I'm all for cross-posting jobs, but that doesn't mean our specific board shouldn't exist. We also want to build other things like a directory of designers.
Just putting all the content wr have into another platform and getting rid of it is shortselling what we achieved and also what we want to build in the future.
On the separate point I agree though that consolidating into fewer repos is good. But please let's keep the discussion focused.


[Bug]: Streaming chunks works locally but not in production

Description
I have essentially the same issue than https://github.com/vercel/ai/issues/215, which is solved by disabling proxy buffering in nginx. Coolify is however not using Nginx, so how could we handle that issue?
Minimal Reproduction (if possible, example repository)
https://github.com/vercel/ai/tree/main/examples/next-openai
Exception or Error
No response
Version
v4.0.0-beta.331
Cloud?

[ ] Yes
[X] No

Fixed it by disabling gzip compession:


Added contrbutors OG image using genratemetadata

Description
Pull request for feature enhancements of contributor's OG image showcasing their merged PRs, reviewed PRs, and feed updates, akin to the highlight section. Additionally, it incorporates the contributor's GitHub image, GitHub username, and description as per their profile. The Open-Graph image also includes the organization logo.
Enhancement #127
Here are some examples of how it looks

@rithviknishad Please review this pr and let's close the issue

https://vercel.com/docs/functions/og-image-generation/og-image-examples#using-tailwind-css---experimental

Sure I will do it,
I used that but I dropp the idea because of its still experimental,

@rithviknishad, your requested changes have been implemented:

Changed logo.webp to logo.jpg and created a symlink for this.
Moved Roboto-Bold.ttf to the public directory since Google Font is not supported at the edge time.
Converted all possible CSS to Tailwind CSS in the OG route. However, please note that Tailwind CSS is experimental in og-images, so some styling remains in normal CSS.
Added metadataBase: new URL(env.NEXT_PUBLIC_META_URL) in the layout.tsx file to address the mentioned error.

Let me know if there's anything else you need!

@dgparmar14 I assume whats happening is it is getting pre-rendered and so those files wouldn't be served until the build is completed and output is served right?
Have you tried importing the font from next/fonts instead? We could also disable pre-renders for this maybe.

@dgparmar14 I assume whats happening is it is getting pre-rendered and so those files wouldn't be served until the build is completed and output is served right?
Have you tried importing the font from next/fonts instead? We could also disable pre-renders for this maybe.

Yes I tried but it doesn't work at the edge time
And above error is because of first need to merge pr of data repo.

@dgparmar14 I assume whats happening is it is getting pre-rendered and so those files wouldn't be served until the build is completed and output is served right?
Have you tried importing the font from next/fonts instead? We could also disable pre-renders for this maybe.

Yes I tried but it doesn't work at the edge time
And above error is because of first need to merge pr of data repo.
and i also run build locally and it is run perfectly fine with my changes.

Reviewed the data-repo PR. Also it'd be great if you could mention related PR's from data-repo in this PR's body itself. It's nice to keep track of related PRs documented in the PR body.

and i also run build locally and it is run perfectly fine with my changes

Are you sure it's working locally? Not sure if I'm doing something wrong... I did checkout the data-repo to the one you've made and tried running this branch with it and getting the following errors upon visiting the profile of a contributor. Also getting 404 page not found for all contributors.

and i also run build locally and it is run perfectly fine with my changes

Are you sure it's working locally? Not sure if I'm doing something wrong... I did checkout the data-repo to the one you've made and tried running this branch with it and getting the following errors upon visiting the profile of a contributor. Also getting 404 page not found for all contributors.

Sure, I will look out in the evening after exam


大神就是我的楷模

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Thanks for the appreciation :heart:


Question: How to export properties of shared case classes

I am trying to share a case class between server and client. I am using upickle on both ends. The objects and their data are nicely available on both ends.
shared class
case class Foo(var id : Long,var title: Description)

However i need to export the fields of the case class on the client side. I could add the @ExportAll annotation, but that means pulling in the scalajs libraries on the server project.
Is there perhaps a better way of exposing the members id and title to the javascript.
tx.,

First: questions are best asked on StackOverflow. GitHub Issues are for, well, issues. It would be great if you could re-ask your question on SO. But anyhow, let me answer already.
The right way to export things to JavaScript is to use the @JSExportAll annotation. You cannot, and should not, pull the Scala.js libraries on the server project, though. For this use case, we have a dedicated JVM artifact, scalajs-stubs, which you can add to your JVM project like this:
libraryDependencies += "org.scala-js" %% "scalajs-stubs" % scalaJSVersion % "provided"

As a "provided" dependency, it will not be present at runtime. But it will allow you to compile the JVM project even though it references JSExportAll.
See also the ScalaDoc of scalajs-stubs.

Sorry and thanks :)
Posted the Q and A on SO as a reference for other developers
http://stackoverflow.com/questions/28413266/how-to-export-properties-of-shared-case-classes/28413267#28413267

in case I have a case class of the form
case class Foo(var id : Long,var title: Seq[String])
i.e. it contains a sequence of data, is there any setting to be exported as js.Array ?

@georgeorfanidi

Questions are best asked on StackOverflow. GitHub Issues are for, well, issues.

Please post your question on SO.

in case I have a case class of the form case class Foo(var id : Long,var title: Seq[String]) i.e. it contains a sequence of data, is there any setting to be exported as js.Array ?

I'm sure you found a solution by now ;) but for anyone else reading this for the first time here is an excellent blog that discusses how to work around Scala types not exported, like Seq or Option:
https://pavkin.ru/how-to-make-an-idiomatic-javascript-library-with-scala-js/


Bug: Can't resize window using the top border

Description
When holding the window with the mouse to shrink or expand it vertically, the window is not resized and only moves.
Horizontal can be resized normally.
Steps To Reproduce
Grab and move the horizontal part of the window
Steps to fix
Let Files adjust the window freely
Files Version
Version: <IP_ADDRESS> OS Version: 10.0.19045.2364
Windows Version
Windows 10 Pro 22H2
Relevant Assets/Logs
https://user-images.githubusercontent.com/110039366/209162812-3f6a110e-2c28-489a-a99b-3816f5c626e7.mp4

Seems to be an issue with the drag area as it works to resize from the bottom of the window.

Resizing works on the top only on the minimize, maximize and close buttons

@Poker-sang is this solvable with the drag regions helper or is this a WinAppSdk issue?

@yaira2 Both. I just tested it.
Actually, it could be resized vertically, but the resize border on the top is too thin to hold.
If we SetTitleBar instead of my helper then we can make a thick resize border at the top of window (just like the Horizontal ones). But the top of the TabView cannot be grabbed any more.
In fact. This issue is caused by ExtendsContentIntoTitleBar. There are two properties, They are:
AppWindow.ExtendsContentIntoTitleBar
Window.ExtendsContentIntoTitleBar
When we use Window.ExtendsContentIntoTitleBar, we should write:
<SolidColorBrush x:Key="WindowCaptionBackground">Transparent</SolidColorBrush>
<SolidColorBrush x:Key="WindowCaptionBackgroundDisabled">Transparent</SolidColorBrush>

window.ExtendsContentIntoTitleBar = true;
window.SetTitleBar(titleBar);

It looks like:

green represents drag zone
red represents resize border

It has:
Normal resize border, but not long enough to cover the top of the window.
Small close, maximize, minimize buttons.
Toolbar below the title bar.

When we use AppWindow.ExtendsContentIntoTitleBar, we should write:
appWindow.ExtendsContentIntoTitleBar = true;
appWindow.SetDragRectangles(rects);
appWindow.TitleBar.ButtonBackgroundColor = Colors.Transparent;
appWindow.TitleBar.ButtonInactiveBackgroundColor = Colors.Transparent;
appWindow.TitleBar.ButtonHoverBackgroundColor = ((SolidColorBrush)App.Resources["SystemControlBackgroundBaseLowBrush"]).Color;
appWindow.TitleBar.ButtonForegroundColor = ((SolidColorBrush)App.Resources["SystemControlForegroundBaseHighBrush"]).Color;

It looks like:

It has:

Thin resize border, and has normal length.
Normal close, maximize, minimize buttons.
Toolbar in the title bar.

If we use both:
It looks like:

It has:

Both of the resize borders above, behaves just like File Explorer
All of the buttons above (I don`t know how to fix it).
Toolbar below the title bar.

BTW, I prefer to use Window.ExtendsContentIntoTitleBar, what do you think?

This issue is fixed in the development branch and will be included in the next release.


Adjust logic on step complete on page reload

Closes #456

What I did

How to test

Checklist

[x] Make sure your changes are tested (stories and/or unit, integration, or end-to-end tests).
[x] Make sure to add/update documentation regarding your changes.
[x] You are NOT deprecating/removing a feature.

:tada: This PR is included in version 4.8.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Use on Windows causes app to not run

Hi,
I know windows 8 is not supported but for windows 8 I'm getting this error which causes the device to load as a blank white screen and the app to not respond.
my cordova build shows this as the error and I think the keyboard plugin is the issue for windows 8
The thread 0xae0 has exited with code 259 (0x103).
Error::Plugin not allowed in config.xml. Keyboard
The thread 0xc94 has exited with code 259 (0x103).

]

That error just indicates that the plugin wasn't loaded. It's not the cause for your issue.

Ok .. yes, probably. Ofcourse, accessing cordova.plugins.Keyboard within javascript failed after that, causing my app to not initialize properly. I had to do a if  (cordova.plugins && cordova.plugins.Keyboard) around that block.

hi, i resolved my error.
That error was a red herring and the real error was an issue with the version of angular I had, had a routing bug.


Install command creates a wego-system Namespace

Describe the bug
The gitops install command creates a wego-system Namespace on the target cluster into which it installs the Weave GitOps components.  That namespace should be names gitops-system instead.
Environment

gitops: v0.4.0
kubernetes:  1.20.6

[x] k3s - v1.20.6+k3s1

Browser + version: N/A

Affects versions
To Reproduce
Steps to reproduce the behavior:

install Weave GitOps on any cluster using the gitops install command
run kubectl get ns
observe at the wego-system Namespace exists and the gitops-system namespace does not.
experience sadness

Expected behavior
The wego binary has been renamed to the gitops binary so the namespace it creates for the GitOps components it installs should also be renamed from wego-system to gitops-system.

@sbernheim thank you for sharing that this is confusing.
Whilst the CLI is called gitops the project is WEave GitOps and our directory structure goes under .weave-gitops rather than just gitops.
If you weren't previously aware that the binary was called wego, do you still feel you would find this confusing?
We are currently investigating changes to better support existing Flux installations which may (or may not) change our default namespace, and having this feedback is useful.

I do understand the history, but if we're going to rename the binary from wego to gitops, we should also rename the Namespace it creates within the cluster.  If I remember correctly, there was some messaging a while back to de-emphasize use of "WeGo" as a nickname for Weave GitOps, and this change would also align with that intention.  Hopefully it's not hard-coded or something and this would be a minor change.
Naming the root configs and/or manifests directory .weave-gitops is a reasonable choice.  The namespace could also be weave-gitops instead of gitops-system - or really any other reasonable name that moves away from the wego nickname AFAIC.
I really thought forgetting to change the Namespace name along with the binary was an oversight, and I don't want us to get stuck in a bike-shedding spiral.  If you have a considered reason for keeping the name as wego-system go ahead and close this issue without further debate.  I will not be offended.


predb.ovh

predb.ovh do not exist anymore.

@SteffenLoges there is https://predb.club/, was that already considered?
Seems to be the successor for predb.ovh and has the same API, although the example from https://github.com/SteffenLoges/atus/blob/e8eb6a311b5e896ab40f1025caed6d5a4c9252f4/backend/predb/external.go#L17 doesn't seem to work, maybe there was data loss:
https://predb.club/api/v1/?q="Heat.1995.GERMAN.DL.2160P.UHD.BLURAY.X265-WATCHABLE"

Looks promising, but is missing a ton of releases. I was considering implementing predb.net, but I just started a new job and really don't have much spare time. I will try to look into it this weekend, no promises though. Feel free to create a PR :)


Update swift2xcode7 branch

Version 1.4.1 compatibility with Xcode 7. Perhaps we can get this branch published as a pre-release target such as 1.4.1-beta?

Great! I added some comments after giving it a quick look.
I'll look at it some more later, and doing a pre-release shouldn't be a problem :)

Thanks for the feedback, this pod is great. Looks like the tests will continue failing until this issue is resolved: https://github.com/travis-ci/travis-ci/issues/4055.

Just added a PR for this branch. This solves the latest errors introduced in Xcode 7.0 GM.
https://github.com/mikaoj/BSImagePicker/pull/43

Any updates on merging this Pr? cc @mikaoj, @hkal

Sorry for the delay, been busy both at work and at home


Multi-target tracking

Can this be used for multi-target tracking?

I also concern this problem. Do you have an answer?

没有哦 @sunsiyang2015


TODO: Add support for dropping DBs

@vot I can handle this

Hi @Dikaeinstein,
First of all thanks for offering help :)
So the idea I had in mind for this is the following:

implementing dropDatabase in mongo driver
add lib/drop.js and bind it in cli.js and index.js

If you run dbclone drop --host x --name x it should simply drop the selected database (or indicate that db doesn't exist).
Does this make enough sense?

@vot Sorry for the late reply, I think the explanation is clear enough. I will reach out to you if I need more context or face blockers.

No problem @Dikaeinstein, all help is appreciated regardless of timing. Happy Hacktoberfest! :)

@vot The PR for drop database is up. Review and merge, if you consider it good enough. Feedback is always welcomed.

@Dikaeinstein PR reviewed and merged :)


[RFC] Storing directories as Artifacts + Postgres Fixes

This set of commits allows for storing directories as an Artifact and implements the functionality of being transparently uploaded and retrieved from a database.
Items to note:

Upon uploading artifacts to the database the directory will be compressed and stored as a .tar.gz file.
Upon retrieving the filepath of a directory artifact the .tar.gz file will be extracted to a temporary location with the prefix 'wa_' before returning the new file path. It is currently left to the user to delete the folder once they are finished with it.
The naming scheme for the SysfsExtractor instrument artifacts is currently in the form <path>(stage) for example /sys/devices/system/cpu(before).

Do we need the is_dir parameter for add_artifact? Can we not simply test os.path.isdir() when creating the actual Artifact object?

Upon retrieving the filepath of a directory artifact the .tar.gz file will be extracted to a temporary location with the prefix 'wa_' before returning the new file path. It is currently left to the user to delete the folder once they are finished with it.

I'm not sure I understand the logic here. Should it not return the path to the extracted directory structure?

Do we need the is_dir parameter for add_artifact? Can we not simply test os.path.isdir() when creating the actual Artifact object?

Good point that would be a nicer way of doing things, the only issue I can see is that the Artifact only knows its relative path,  so will need to think if there is an easy way of doing this.

I'm not sure I understand the logic here. Should it not return the path to the extracted directory structure?

Yes sorry that should say the new file path of the extracted directory. The actual .tar.gz file is read directly from the database when invoked via get_artifact_path() and the file itself is not stored on the host machine.

the only issue I can see is that the Artifact only knows its relative path, so will need to think if there is an easy way of doing this.

Yeah, good point. That will need to be done here: https://github.com/ARM-software/workload-automation/blob/master/wa/framework/output.py#L148
So Output.add_artifact() doesn't need is_dir, but Result.add_artifiact() does.


Ubuntu slow to start and missing DNS configs

Your Windows build number:  Microsoft Windows [Version 10.0.17134.407]

What you're doing and what's happening:  After recent run of Windows update (followed by reboot), starting Ubuntu (18.04) takes a long time, and when started, all DNS queries fail. After some digging I found that /run/resolvconf/resolv.conf is missing, adding my own custom /etc/resolv.conf with nameservers solves the issue until next reboot. (The symlink /etc/resolv.conf pointing at /run/resolvconf/resolv.conf is recreated on every boot)
I tried to reproduce the issue by forcing Ubuntu to reboot with sudo touch /var/run/reboot-required, but then Ubuntu failed to start at all. Had to reboot whole PC. Logs are included later.

What's wrong / what should be happening instead: DNS settings from Windows should be present in Ubuntu

Logs from first reproduction, where I used sudo touch /var/run/reboot-required and starting failed.
lxcore detailed logs failed.zip
Logs from second reproduction, where I rebooted the PC first
lxcore detailed logs slow but successful.zip

Actually the file /run/resolvconf/resolv.conf is not needed anymore.


[1016] Binary String With Substrings Representing 1 To N

Codecov Report

Merging #67 (ef7fb71) into master (3660083) will increase coverage by 0.1%.
The diff coverage is 100.0%.

:exclamation: Current head ef7fb71 differs from pull request most recent head edb0bcf. Consider uploading reports for the commit edb0bcf to get more accurate results

Impacted Files
Coverage Δ

...nary_string_with_substrings_representing_1_to_n.rs
100.0% <100.0%> (ø)

@mergefyio quequ


Move and link to FAQ

Hey, I just made a Pull Request!

:heavy_check_mark: Checklist

[ ] All tests are passing yarn test
[ ] Screenshots attached (for UI changes)
[ ] Relevant documentation updated
[ ] Prettier run on changed files
[ ] Tests added for new functionality
[ ] CODEOWNERS updated (for new stuff)
[ ] Regression tests added for bug fixes

:shipit:


Update file_util.py

Since the timeout is not settled by eeschema_do regardless you type in with  --wait_start   or   --time_out_scale  I need to increase this number in my virtual machine (LUbuntu 20.10) as a kind of quick & dirty BUG fix.
I work with Oracle Virtual Box and write to my Windows based file system via shared folder feature of VirtualBox.  Therefore you need time to write and read back ;-)
Best would be to put the --time_out_scale in cfg-Array ? Did not really go too much into the depth of this code ..sorry.

Hi @jaessy77 !
You are right, the scale wasn't applied to the wait_for_file_created_by_process function.
The 9cca08928ec912862559d5dbab0540f1d0747974 commit fixes it.
Could you check if you can solve your problem using the time-out scale and this patch?

I assume the fix is working. Report an issue if it isn't so.


HiFi Wireframe Updates

Updates to be made to the prototype: https://xd.adobe.com/view/c103c998-65ff-432a-b1f9-c586ebbceafa-9450/
https://app.zenhub.com/files/287570343/5540260d-66c6-48cc-9048-35cb98110efb/download

@vishnunavuluri here are the updated ECMPS-EPA-Responsive-QA Linearity V1.3 WFs with the updates as requested on 4/8/22.
Shared Xd Link: https://xd.adobe.com/view/c103c998-65ff-432a-b1f9-c586ebbceafa-9450/


why?

What happened to the world?

What you know you can't explain, but you feel it.  You don't know what it is, but it's there, like a splinter in your mind, driving you mad...

I know why you're here. I know what you've been doing... why you hardly sleep, why you live alone, and why night after night, you sit by your computer.

It's the question that drives us. It's the question that brought you here. You know the question, just as I did.

What you know you can't explain, but you feel it.  You don't know what it is, but it's there, like a splinter in your mind, driving you mad...

I know why you're here. I know what you've been doing... why you hardly sleep, why you live alone, and why night after night, you sit by your computer.

It's the question that drives us. It's the question that brought you here. You know the question, just as I did.

 They're all geniuses


v3.11.5

Pass slp address in example for /slp/transactions/{tokenId}/{address}

Passing in a cash address returns an empty array
curl -X GET "https://rest.bitcoin.com/v2/slp/transactions/495322b37d6b2eae81f045eda612b95870a0c2b6069c58f70cf8ef4e6a9fd43a/qrhvcy5xlegs858fjqf8ssl6a4f7wpstaqlsy4gusz" -H "accept: */*"

[]

Passing in an slp address returns data
curl -X GET "https://rest.bitcoin.com/v2/slp/transactions/495322b37d6b2eae81f045eda612b95870a0c2b6069c58f70cf8ef4e6a9fd43a/simpleledger:qrhvcy5xlegs858fjqf8ssl6a4f7wpstaqnt0wauwu" -H "accept: */*"

[
  {
    "txid": "27e27170b546f05b2af69d6eddff8834038facf5d81302e9e562df09a5c4445f",
    "tokenDetails": {
      "valid": true,
      "detail": {
        "decimals": 2,
        "tokenIdHex": "495322b37d6b2eae81f045eda612b95870a0c2b6069c58f70cf8ef4e6a9fd43a",
        "transactionType": "SEND",
        "versionType": 1,
        "documentUri"<EMAIL_ADDRESS>        "documentSha256Hex": null,
        "symbol": "SLPJS",
        "name": "Awesome SLPJS README Token",
        "txnBatonVout": null,
        "txnContainsBaton": false,
        "outputs": [
          {
            "address": "simpleledger:qzejshtfw82gthydl8xm9sesexfdzya6qgf25y5vly",
            "amount": "25"
          },
          {
            "address": "simpleledger:qq5qr7hvpjxjlct00ye7m2swejnc2k9enuaedc5y69",
            "amount": "77"
          }
        ]
      },
      "invalidReason": null,
      "schema_version": 71
    }
  },
...

Pull Request Test Coverage Report for Build 2458

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 70.93%

Totals

Change from base Build 2454:
0.0%

Covered Lines:
2193

Relevant Lines:
2890

💛  - Coveralls


[Backend] Tag source_file_changes with the type of change given by git log

Closes https://github.com/visevol/Cscope/issues/94
Categorize type of change in RepositorySyncService
Update the RepositorySyncService to set the category column on each
source_file_changes rows it creates to the type of change returned by
git log.
Change that creates a file are tagged with the create category.
Change that modifies a file are tagged with the modify category.
Change that deletes a file are tagged with the delete category.

It looks like when we query on the ledger of changes, it's fine:
Repository.first.source_files.find_by(filepath: "Rakefile").commits.on_changes_ledger
> 1


SB2 Volume buttons not working

Running  4.18.8-1-surface and have no volume buttons working. They did work when I was using jakedays kernel on Ubuntu 18.04 (4.17.3 I think).
If you need further logs just tell me.

Like your other issue, I think this is an issue with the newer versions of jakeday's kernel, not necessarily something that's wrong with my patching utility itself. I'll mark this as a potential bug for now, but I won't promise any immediate fixes.

Can be closed, fixed as of https://github.com/jakeday/linux-surface/pull/252.


Add import capabilities

Thanks for your PR.  I held off on implementing imports because I felt like they should use a specific import path instead of the current working directory  (see #1 ).  It seemed more secure and probably more convenient.  What's your perspective?

Import can be done using absolute path (I use it with a folder shared between multiple users)
Users can also import their own custom jsonnet objects (avoiding having multiple cells in notebook and easy-sharing of common objects between multiple users)

Could you add some unit tests, please?


Update index.pug

Could you make the light mode button white? ty

In the future we plan to do this with cookies.


Declaring variables inside functions, which are contained in namespaces, produces not working code.

In provided example I wanted to show some motivation for such a construction.
In my scenario I do not want to put G and H on the same level as PotentiallyComplicatedProcedure, because they do not share the same type as all the other functions in FunctionsThatSatisfyCommonType namespace. They are some simpler, ad-hoc functions.
export namespace FunctionsThatSatisfyCommonType {
  export function PotentiallyComplicatedProcedure(a: number, b: number) {

    const someConstant = 5;

    const G = (x: number) => {
      return x * someConstant;
    };

    const H = (x: number) => {
      return x + someConstant;
    }

    return a > 0 ? G(H(b)) : H(G(b));
  }
}

Above code transpiles to:
require("lualib_bundle")
local exports = exports or {}
local FunctionsThatSatisfyCommonType = FunctionsThatSatisfyCommonType or {}
do
    local function PotentiallyComplicatedProcedure(a,b)
        local someConstant = 5;
        local G = function(x)
            return x*someConstant
        end
;
        local H = function(x)
            return x+someConstant
        end
;
        return __TS__Ternary(a>0, function() return G(H(b)) end, function() return H(G(b)) end)
        FunctionsThatSatisfyCommonType.someConstant = someConstant
        FunctionsThatSatisfyCommonType.G = G
        FunctionsThatSatisfyCommonType.H = H
    end
    exports.FunctionsThatSatisfyCommonType.PotentiallyComplicatedProcedure = PotentiallyComplicatedProcedure
    FunctionsThatSatisfyCommonType.PotentiallyComplicatedProcedure = PotentiallyComplicatedProcedure
end
exports.FunctionsThatSatisfyCommonType = FunctionsThatSatisfyCommonType
return exports

Consider lines which (unfortunately) happen to be after return and before end closing the function's body.

I believe this is related to #209 which is already fixed in the latest version.

Indeed, thank you, I should check for new releases more often.


UX Researcher: Creating User Interview Questions + Interview Script

Creating the interview questions that should cover and provide some data for the following research topics:

User roles + team mgt (#294)
(Approval) workflows (#296)
Content creation (#301)
Editing content (#295)

Content types (understanding/navigating to content types) (#297)
Alerts + notifications (#300)
First time experience on the CMS (#341)
Searching for content (#299)

Feature: Create interview questions + interview script for user interviews
  As a UX researcher
  I want to create a clear research plan with clear research questions I want answered
  So that I can create interview questions that will get me the data I need

  Scenario: Craft interview questions
      Given that I will have created research questions and a research plan
      And that I will be using those assets to guide my interviews
     Then I will create interview questions that will help us gather the data we need to help answer the questions we have about our users

 Scenario: Craft interview script for interviewees
      Given that I will have created a large list of interview questions to use
      And that I will be interviewing people from many differing roles
     Then I will create interview scripts for each interviewee comprised of interview questions that make sense for that user's role

Research Interview Questions + Script

[x] Create interview questions (https://ibm.box.com/s/i7jpsm9wayrh5t6pzfok7hlzwd1nculq)
[ ] Create interview script for Allen
[ ] Create interview script for Jeremy
[ ] Create interview script for Lecia (may separate this out for next sprint)

@mkiang3051: I'm moving this to new stories to discuss at grooming tomorrow.

@joshkimmell Ok. I've also moved a couple other stories back to new stories as well.

@ineedsubstance
I added a scenario to this story about crafting an interview script for Jeremy and Allen (it may look very similar, but I may move questions around a bit and we'll learn from interviewing them about what we may need to tweak)

I had added the Interview Script scenario to this yesterday but hadn't had time to do it today. I don't foresee the interview scripts for Allen and Jeremy differing too much from my raw list of interview questions... I could potentially close this and just create a new story for the interview scripts for this upcoming sprint.

@joshkimmell Feel free to review the interview questions and comment before I go about creating the actual scripts for interviewing Jeremy and Allen


Missing results within edit distance in fuzzy search

Hello,
the issue https://github.com/olivernn/lunr.js/issues/375 seems to be still occurring in some cases. Fuzzy search, even with stemming disabled, misses some words within the given edit distance. In particular, it seems to miss terms that are equal to the search term plus a suffix as long as the maximum edit distance.
In other words, searching for abc~2 correctly matches abcx, but misses abcxx. Searching for abc~3 correctly matches abcx and abcxx, but misses abcxxx.
Here is a fiddle reproducing the issue on Lunr v3.2.5 (latest release at the moment of posting): https://jsfiddle.net/3ajf72Ly/1/
I know that https://github.com/olivernn/lunr.js/pull/382 addressed this already, and it did fix some cases, but not all.
This is also visible from the expansion of lunr.TokenSet.fromFuzzyString("abc", 2).toArray(), where abc** is missing:
**abc, **bc, **c, *a*bc, *a*c, *ab, *ab*, *ab*c, *abc, *abc*,
*ac, *acb, *b, *b*, *b*c, *bac, *bc, *bc*, *c, *cb, a*, a**, a**bc,
a**c, a*b, a*b*, a*b*c, a*bc, a*bc*, a*c, a*c*, a*cb, ab, ab*,
ab**, ab**c, ab*c, ab*c*, abc, abc*, ac, ac*, ac*b, acb, acb*, b,
b*, b*ac, b*c, ba, ba*, ba*c, bac, bac*, bc, bc*, bca

Thanks again for the great library!

That's annoying! Thanks for reporting, I'll put together some tests and then figure out how to get a fix out.

Thanks a lot! Here is one simple test reproducing it: https://github.com/lucaong/lunr.js/commit/24f4223ab2915566dac09e4b4979d8780a597761
I can send a PR if you wish, but for now it would only include the test, as I did not get the time to delve into the code and devise a fix yet.

Thanks, yeah I had something similar as a test too.
I've got something that fixes that exact bug, but I'm convinced there are other bugs in that code with a similar fix, I'm just trying to find the right test to expose it.
If you look at the changes from the previous diff the fix is to unconditionally add a final frame to the stack. That same pattern is in every other fuzzy operation (insertion, deletion, substitution etc). Indeed, it is the same fix in a different location that fixes what you've reported.
Of course, I could be completely wrong, I'm having a hard time trying to wrap my head around that code at the moment!
I'll spend a bit more time trying to understand the bug in a wider context, otherwise I'll put out a patch in the next couple of days with the more specific fix to unblock you.

Hi @olivernn
Yes I understand. No need to rush for a fix, better to take the due time to properly figure it out.
There is one way I could maybe help. When working on this kind of algorithmic code, where it’s easy to overlook corner cases, I often find it useful to have one or two property based tests, where I assert some invariant on many examples of randomly generated data.
I could help writing one such test for the fuzzy search if that is useful. I have something like that on my own full text search library, and it helped me discover a number of cases: https://github.com/lucaong/minisearch/blob/master/src/SearchableMap/SearchableMap.test.js#L256
I probably won’t make it this weekend, but I might have some time soon if it’s useful.

I've just pushed a fix for this in 2.3.6. Thanks again for taking the time to investigate and report the bug!


Cellrank - CytoTRACE Kernel with Harmony results

Hi, I would like to know what would happen if I pass a harmony-corrected PCA matrix X_pca_harmony to scvelo.pp.moments()? Is that allowed?

@xiandxing, CytoTRACE is run on the actual GEX data, not a latent representation; we use first-order moment imputation to address data sparsity - you can read about it in greater detail in the CellRank 2 preprint. PCA representations are already dense, i.e., there is no need for smoothing.


Fionnuala

Hello everyone! Please use this checklist over the next few weeks as you go through your health data science journey :tada:.

Week 2: Your first repository

[x] 1. Install GitHub desktop and connect it to your GitHub account
[x] 2. Create a public repository and add a readme file
[x] 3. Publish the repository to GitHub
[x] 4. Add a new file in your local repository, commit the file addition, and push it to the remote repository on GitHub
[x] 5. Modify the new file (or the Readme file), commit the change, and push it to the remote repository on GitHub
[x] 6. Comment on this issue with a link to your repository

Week 4: Rmarkdown

[x] 1. Create a new public repository on GitHub Desktop and add a readme file. T
[x] 2. Publish the repository to GitHub
[x] 3. Open RStudio and create a new project in an existing directory (the directory of your repository)
[x] 4. Download the file "R_Rstudio_Rmarkdown.Rmd" from the week 4 "Practical: R markdown" section on MyAberdeen and save it in your project
[x] 5. Work through the Rmarkdown file, remembering to commit and push your changes to the remote repository on GitHub
[ ] 6. Optional: if you have questions you'd like to discuss with your group members, create issues on GitHub and let them know
[x] 7. Comment on this issue with a link to your new repository

Week 5: Practical: reading data in R

[x] 1. Create a new public repository on GitHub Desktop and add a readme file. This will be the main repository for the R material from this course, so give it a good name :smiley:
[x] 2. Publish the repository to GitHub
[x] 3. Open RStudio and create a new project in an existing directory (the directory of your repository)
[x] 4. Create an appropriate folder structure according to the good coding practices discussed in week 5
[x] 5. Download the data files and Rmarkdown file from the week 5 "Practical: reading data in R" section on MyAberdeen and save them in the appropriate folders in your project
[x] 6. Work through the Rmarkdown file, remembering to commit and push your changes to the remote repository on GitHub
[ ] 7. Optional: if you have questions you'd like to discuss with your collaborators, create issues on GitHub and let them know
[x] 8. Comment on this issue with a link to your new repository

Week 6-10: Your project
Now that you have become familiar with GitHub, you can start using it to prepare your report, and get help and feedback from your group members.

[ ] Comment on this issue with a link to your report repository

I think I have completed the week 2 activity; here is the link to my repository.

Well done!

I think I have done the week 4 practical. Here is the link to my repository https://github.com/fuhNOOLuh/wK4-TRYING-TO-KNIT

I think I have done the week 5 practical. Here is the link to my repository https://github.com/fuhNOOLuh/Wk5


Incident Async Banner

#Context
The incident was called out after a user flagged a different state between different touch point of the design system product for the banner component.
We'll need to investigate how our delivery process led to this in order to not repeat this outcome to the best of our abilities

Channel : incident-2024-07-03-async-figma-and-code-for-banner-component
Incident documentation : https://docs.google.com/document/d/1IMlqRAraCMU6e_AziPKg2m6d71xadt67g04DIb77tF0/edit#heading=h.gjdgxs

Acceptance criteria

[ ] Complete the incident documentation with description of event, impact and chronology
[ ] Schedule and run a retro to understand the incident
[ ] Identify action item needed from the incident retro and add the needed on into the backlog
[ ] Close the incident

Follow up with @adorayi and @ClementineHahn. Also consider new incident for side nav out of sync.

The banner component was removed from our we documentation. This is not an active incident anymore


Vue Content-Security Policy

I need to figure out how to get Vue to work properly without needing unsafe-inline in the CSP config.
This might be useful: https://github.com/rails/webpacker/blob/master/docs/props.md

I'm going to call this a lost cause for now.


Standardise files with files in sous-chefs/repo-management

Signed-off-by: Dan Webb<EMAIL_ADDRESS>

Released as: 7.1.3


Build a choropleth with the latest quarter median house prices

But for some reason there's some suburbs missing

Ah got it - when there are no sales, then doesn't show up in the graph.

Some different styles:
open-street-map

carto-darkmatter

stamen-terrain

stamen-toner

white-bg

Some color schemes
YlOrRd

Reds

OrRd

Oranges

I like this combo for now:

This number range I feel gives us the most information

Enough such that those who are interested in learning more can look into it themselves.


Session share

Issue

close #508

Overview (Required)

Implement the sharing function.

Links

Screenshot

Before
After

Fixed dangerous issues and resolved conflicts. Please review again. 🙏


[ExitSpec]: Make first line diagnostics as short summary

Coverage increased (+0.009%) to 53.033% when pulling d5b814a67d78d748399994d990a14703d0eb8776 on yqwang/launcher-dev into da49dd3a7789593d0b5cb376ca8421dce55b13c5 on errorspec.


Question: How is this intended to be used?

I'm curious how this generator is meant to be used.  Is it meant to provide a head start for the boilerplate needed to work with something like Prisma tRPC Generator?
I just wanted to clarify, since this will overwrite anything defined in the shield every time it's generated.  This would obviously overwrite any rule customization that's been done.  Is this meant be copy-pasted elsewhere for use in the application?
Thanks!

It's as you described, for now at least. We can improve this further. I don't like how rules get removed after each generation, so maybe we could do something about soon.


Enable support for Pandas where method for CharSpan and TokenSpan Arrays

Test currently skipped at: TestPandasMethods.test_where_series

@BryanCutler do you have an estimate of how difficult this task will be?

Not really, I didn't dig too deep into the test error yet. Will try to do so and update here.


S3 store failing when used with IAM

I have been trying to configure this gem with IAM profiles. As per instructions in the README, I have set up my dragonfly.rb like so:
datastore :s3,
      use_iam_profile: true,
      bucket_name: ENV['S3_BUCKET']

(Removed the access key and the secret.)
But in the production, I get the following error:
[fog][WARNING] Unable to fetch credentials: Connection refused - connect(2) for <IP_ADDRESS>:80 (Errno::ECONNREFUSED)
  ArgumentError (Missing required arguments: aws_access_key_id, aws_secret_access_key):

Am I doing this right?

You would need to own the particular EC2 instance to use IAM in that way (automatic authorisation to other AWS services).
I am using IAM to restrict a Dragonfly-specific AWS user to a specific S3 bucket - :access_key_id and :secret_access_key are still required to authorise the user.

Then we need to update the README correct? It states this:
:use_iam_profile      # boolean - if true, no need for access_key_id or secret_access_key


SimplifiedIfReturnFixer - handle statement in loop without braces

closes https://github.com/FriendsOfPHP/PHP-CS-Fixer/issues/6230

Coverage increased (+0.0003%) to 93.171% when pulling 9743b6f318d222933334fc14a059180e3ae56018 on SpacePossum:master_bug_6230 into b0a9fcac80336ac7c3854419d315570d72b5347b on FriendsOfPHP:master.


fix(plugin-legacy): fix to use the browserslist configuration (fix #2476)

Description
fix https://github.com/vitejs/vite/issues/2476
This PR is from closed PR #2627.
When no targets options with @vite/legacy-plugin and if exists "the field of browserslist in package.json" or ".browserslistrc", use it as @babel/preset-env targets.

Additional context

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[ ] Ideally, include relevant tests that fail without this PR but pass with it.

When to fix it?

@naifen00
Maybe, I think CI failing is not my problem... (other PR also fail some checks)
so I don't have any idea to fix this.
@Niputi
could you help me?
And have you made any progress? on this PR?

Closing as #11318 was merged.


feat: Repeat operations for add/change/delete.

TODO: Repeat deletions, unit test stuff.
Feels like there's a cleaner way to parse the user input than the scuffed nil stuff I have right now. Although at the very least it's isolated in the get_char function :thinking:

Another issue that has come up is the idea of deleting multiple surrounds. If we do ds3), but the buffer only has ((hello)), should the delete function no-op or do a "best-effort" and try to delete as many as possible?

The case (foo) cursor_here (bar) is so cursed with ds2b---I want to avoid mutating the buffer until everything is found so change_surround can highlight everything properly, but finding the next possible surrounding pair to delete while ignoring already found pairs seems incredibly hard, if not impossible. If only I didn't implement reverse search.... :sob:


Prototype rows

I've found myself using the following trick to keep a datasource looking clean and aligned:
@count,@template,@template-back,image
0,"templates/card.html","templates/trick-back.html","none"
1,"^","^","{{ images/card-leader-front.png copy-only }}"
3,"^","^","{{ images/card-trick-front-2-ollie.png copy-only }}"
2,"^","^","{{ images/card-trick-front-2-ollie-alternate.png copy-only }}"
5,"^","^","{{ images/card-trick-front-2-shuv-it.png copy-only }}"
2,"^","^","{{ images/card-trick-front-3-kickflip.png copy-only }}"
0,"templates/card.html","templates/action-back.html","none"
4,"^","^","{{ images/card-action-front-1-focus.png copy-only }}"
4,"^","^","{{ images/card-action-front-2-psyche.png copy-only }}"
2,"^","^","{{ images/card-action-front-3-first-try.png copy-only }}"

As opposed to (the more "correct" version)
@count,@template,@template-back,image
1,"templates/card.html","templates/trick-back.html","{{ images/card-leader-front.png copy-only }}"
3,"^","^","{{ images/card-trick-front-2-ollie.png copy-only }}"
2,"^","^","{{ images/card-trick-front-2-ollie-alternate.png copy-only }}"
5,"^","^","{{ images/card-trick-front-2-shuv-it.png copy-only }}"
2,"^","^","{{ images/card-trick-front-3-kickflip.png copy-only }}"
4,"templates/card.html","templates/action-back.html","{{ images/card-action-front-1-focus.png copy-only }}"
4,"^","^","{{ images/card-action-front-2-psyche.png copy-only }}"
2,"^","^","{{ images/card-action-front-3-first-try.png copy-only }}"

The first one looks neat and well-aligned. The second one has some rows looking mis-aligned, thought they are completely correct.
The trick is to make rows that are skipped because of their @count of 0. However, these rows are still registered, so they work like a sort of sub-header, which specify template paths used by the following section of cards. This helps keep every "real row" aligned and similar looking.
Maybe this should become an actual feature? As in, instead of specifying the count of 0, which seems weird, you can specify some other character that makes sense in this context. Making it a dedicated feature would also allow for some specific handling of this case.

Further, this could be used to enhance auto-template generation. For example, each custom column could specify the type of content it holds. So instead of having to analyze and figure out whether a column contains body text, a title or a value number, it would all be explicitly defined.
For example:
@count,@template,art,rank,name,text
0,"templates/card.html","image","number-value","string-title","string-body"
5,^,"{{ art/guard.png copy-only }}",1,"Guard","Name a non-**{{ name }}** card and choose another player.  If that player has that card, he or she is out of the round."
2,^,"",2,"Priest","Look at another player's hand."


Different RDS values when comparing AWS Cost Explorer and Optscale Cost Explorer

I compared the costs of services obtained from AWS Cost Explorer and Cost Explorer from OptsCale. And the value obtained by Cost Explorer from OptsCale was $1200 higher compared to the value obtained from AWS Cost Explorer. I tried to see what could have happened (values in different services, a bug, error in counting, etc) but I didn't find any answer.
Attached is an Excel file showing the daily comparison of the values obtained and the total for each platform. The biggest difference is in the comparison of the RDS service, which is higher in the OptsCal Cost Explorer analysis of more than $800 compared to the AWS Cost Explorer.
analyze cost optscale aws cost explorer.xlsx

Hello,
Yes, the VPC cost is within the difference threshold ($4.23 difference between AWS Cost Explorer analysis and Optscale Cost Explorer).
On reservations, we haven't really looked into the issue of RDS instance reservations in depth. However, even if, after analysis, the cost of RDS is the same in both AWS Cost Explorer and Optscale's Cost Explorer, there are other services that give a slightly high difference, for example, in CLOUDFRONT ($83.33 difference between platforms), S3 ($59.18 difference between platforms), ES - OpenSearch ($55.41 difference between platforms), among others. Is this difference considered normal in the cost analysis between the two platforms?

Hello,
I made a deep analysis on the cost difference.
Some point:

optscale do not take in charge "Enterprise Discount (EDP)"
Do to also take properly in charge credit/refund

Based on the optscale API /raw_expenses I made a external script using a rewrite version of this parser:
https://github.com/hystax/optscale/blob/52ca25d758ce2bc9e0bb4c38f539d79a4d6d5351/diworker/diworker/importers/aws.py#L565
As:
def clean_expenses_for_resource(resource_id, expenses, ):
    clean_expenses = {}

    edp = "YOUR EDP VALUE: Eg 0.05"

    for e in expenses:
        start_date = _datetime_from_expense(e, 'lineItem/UsageStartDate')
        end_date = _datetime_from_expense(e, 'lineItem/UsageEndDate')

        # end date may point to the 00:00 on the next day,
        # so to avoid confusion removing one second
        end_date -= timedelta(seconds=1)
        days = (end_date - start_date).days + 1

        for d in range(days):
            date = start_date + timedelta(days=d)
            day = date.replace(hour=0, minute=0, second=0, microsecond=0).timestamp()
            if day in clean_expenses:
                if 'discount/EdpDiscount' in e and 'lineItem/BlendedCost' in e:
                    clean_expenses[day]['discount'] += float(e['lineItem/BlendedCost']) * edp / days
                    clean_expenses[day]['cost'] += float(e['lineItem/BlendedCost']) / days
                else:
                    clean_expenses[day]['cost'] += float(e['cost']) / days
            else:

                if 'discount/EdpDiscount' in e and 'lineItem/BlendedCost' in e:
                    discount = float(e['lineItem/BlendedCost']) * edp / days
                    cost = float(e['lineItem/BlendedCost']) / days
                else:
                    discount = 0.0
                    cost = float(e['cost']) / days

                clean_expenses[day] = {
                    'discount': discount,
                    'date': day,
                    'cost': cost,
                    'resource_id': resource_id,
                    'cloud_account_id': e['cloud_account_id']
                }

    return clean_expenses

Parsed on ~10k ressources (little bit everything) with 20+ accounts on a entire month, I got a result accurate close of 100%.
Some cents differences on few accounts vs cost explorer.
@sd-hystax @HugoDCileiro

Secondly TVA is billed per day within Optscale. (total tva / days)
On AWS cost explorer, the first day of the month.

Hi, how you define your EDP value @tguisep? How I get this information.

It's linked to the contract of your organization with AWS.
0.05 = 5%

I would have to add that function developed inside this file like optscale/diworker/diworker/importers/aws.py or I need to do some other modification. @tguisep

Yes, it will be optimal to apply discount there, because diworker aggregates costs from raw expenses and puts them into expenses table in clickhouse, which is widely used for other aggregations. You can hardcode it for your private usage, but for proper implementation discount value should be property of cloud account.

@jakelima18 I didn't make fix on the current Optscale code, I made my own external expense parser based on Opscale code/API (kind of BI module).
I'm waiting for a official proper implementation, because as notified by @maxb-hystax , implementing this fix on the code is optimal but on my side I do not have enough knowledge on the global code to do it properly and understand all the potentials impact linked to this change.
But, even if the values reported by Opscale are not perfectly sames than the AWS billing, it's accurate enough to give good idea on the spends.


#493 - embed charts in web apps

when you share a chart, an HTML code snippet is shown which can be used/copied into a web page to embed the chart. the embed chart URL is of the form:
http://<pixiedust_gateway_host>:<pixiedust_gateway_port>/embed/<chart_id>/<width>/<height>

@DTAIEB this update adds a new column to the CHART table which means existing deployments will need to destroy or update the table. not sure how best to achieve this or if it is not a concern at this time since it is not yet widely deployed.

@vabarbosa changing the schema of the charts table is not a concern, but it looks like you added the rendererid attribute to compute the width and height. Is that right? I think this approach is brittle as there are other type of charts like googlemaps and mapbox, plus there could be custom renderers that we don't know about.
Maybe we can figure out the size needed during chart publishing itself and pass it as parameters?

@DTAIEB embed code and copy to clipboard added to share/show chart html


Fix/issue 697

Minor fix for removing regions.

Thanks! but your PR still had some unneeded code. But thank you for the hint!


pypi release

hi,

[x] i've released a version to PYPI https://pypi.org/project/unreal-script-editor/
[x] create PR with PIP install isntructions https://github.com/leixingyu/unrealScriptEditor/pull/8
[x] we already have a github workflow in the repo for automated release
[ ] can you accept the invite for the PYPI project?
[ ] can we set up a secret on this github repo for future releases?
[ ] (optional step) to stay consistent with the PYPI project and PEP naming convention, we could rename the github repo to unreal-script-editor
[ ] (optional step) if you want help with future updates in this repo you could make me a maintainer for the github repo.

I've setup the pypi part, what step should I follow to make you the maintainer?

you can add people and choose their role, in the github settings of your project


How to add AppInsights taget as an additional target

Hi!
I using dotnet core console application with NLog.
I have console and file targets already, I want to integrate the Appinsights target in Nlog.config
I tried some links but Cannot see the log in AppInsights
my tagets
<variable name="format" value="[${date:format=dd-MM-yyyy HH\:mm\:ss.fff K}] [${level:uppercase=true}] [Thread Id: ${threadid}] [${message} ${exception}]" />
<variable name="logsDir" value="${basedir}Logs" />
<target xsi:type="File" name="file"
		        fileName="${logsDir}/Test.log"
		        archiveFileName="${logsDir}/Test.Archive.{#}.log"
		        archiveAboveSize="20971520"
		        archiveNumbering="Date"
		        archiveDateFormat="dd-MM-yyyy_HH.mm.ss.fff"
		        archiveOldFileOnStartup="false"
		        concurrentWrites="true"
		        keepFileOpen="false"
		        layout="${var:format}" />
		<target xsi:type="Console" name="console"
		        layout="${var:format}" />

How Can I add appinsights target here But I want to send AppInsights Key from application (programmatically )

See here
https://github.com/microsoft/ApplicationInsights-dotnet-logging#nlog
Please follow these instructions.

I assume your question has been answered, if not, please let us know!

See here
https://github.com/microsoft/ApplicationInsights-dotnet-logging#nlog
Please follow these instructions.

Hi @304NotModified  Thank you for the response.
with key value in config it is working fine
but I wanted to give the key from outside
with the given example it is not working fine.
TelemetryConfiguration.Active.InstrumentationKey = "Your_Resource_Key"; - This is Deprecated So I used
https://github.com/microsoft/ApplicationInsights-dotnet/issues/1152 This way
I also followed
ApplicationInsightsTarget appInsightsTarget = LogManager.Configuration.FindTargetByName<ApplicationInsightsTarget>(APP_INSIGHTS_TARGET);
appInsightsTarget.InstrumentationKey = appInsightsKey;
LogManager.ReconfigExistingLoggers();

But still it is not taking the value.
Any clue from your side ?

HI @304NotModified @snakefoot  I followed this approach
https://github.com/microsoft/ApplicationInsights-dotnet/issues/1688
I set Environment variable for the process with the given key and value
and now it is working fine.
Do you see this is a better approach or any suggestions from your side ?

The ${environment}-layout is just one option. There are many ways available for reading settings. Ex:

${gdc} - Allows you to assign variable from code, that is loaded by NLog Target (just make sure to assign the variable before loading NLog.config)
${configsetting} - Reading from appsetting.json on NetCore
${appsetting} - Reading from app.config on NetFramework.

Thank you @snakefoot for the information.


improve unicode support

updated DecodeOctal function to operate with runes instead of bytes. previously it returned error on any not printable symbol that applies to every unicode symbol
updated PostgreSQL data coder/decoder. now it uses info from the ColumnEncryptionSetting and always encodes into hex/octal format if destination type is not specified as text. Acra expects bytea/blob type on database side and default dest type is binary. Postgresql's bytea type expects hex/octal string, it doesn't work with escaped strings E''
updated integration tests to use unicode strings

Checklist

[x] Change is covered by automated tests
[x] The coding guidelines are followed
[x] Public API has proper documentation in the Acra documentation site or has PR on documentation repository
with new changes
[x] CHANGELOG.md is updated (in case of notable or breaking changes)
[x] CHANGELOG_DEV.md is updated
[x] Benchmark results are attached (if applicable)
[x] Example projects and code samples are up-to-date (in case of API changes)

Unfortunately, I removed using unicode strings from the integration tests due to MySQL driver is outdated and works incorrectly with utf8 charset and need to be updated. I plan to do it in the separate PR. I already tested the freshest mysql-connector-python 8.1.0 and it looks like fixed a lot of problems (encodings, hardcoded TLSv1, conversion to python types) but now it correctly handles binary types and charset sent from the server. So, we need to merge our fixes in #662 to not hack tests with decoding bytearray type to string)
So lets do it in separate PR after merging #662


correct link to abapGit repository

Thanks for the contribution. You will be able to see the change on SAP Help Portal after the next content update.

https://people.sap.com/gregor.wolf


‘’caffe.LayerParameter" has no field named "roi_pooling_param".

root@e510bcce8f01:/userhome/bottom_up_attention/tools# python my_demo.py
/userhome/bottom_up_attention/tools
/userhome/bottom_up_attention
[libprotobuf ERROR google/protobuf/text_format.cc:274] Error parsing text-format caffe.NetParameter: 6390:21: Message type "caffe.LayerParameter" has no field named "roi_pooling_param".
WARNING: Logging before InitGoogleLogging() is written to STDERR
F0424 14:47:43.704047  9455 upgrade_proto.cpp:90] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: models/vg/ResNet-101/faster_rcnn_end2end_final/test.prototxt
*** Check failure stack trace: ***
Aborted (core dumped)
I meet this problem when running demo,can anyone help me,thank you!

Did you solve it?

You need to make caffe in faster-rcnn banch

You need to make caffe in faster-rcnn branch

i meet the same problem, did you slove it?


MacVlan driver does not appear in plugin list (docker info)

According to the 1.12.0 RCX release notes,

MacVlan driver is out of experimental

The driver is indeed available and worksas described in the docs, e.g.
root@e45c52a3083f:~# docker network  create  -d macvlan --subnet=<IP_ADDRESS>/24 --gateway=<IP_ADDRESS> -o parent=eth0.50 macvlan50
933b762feb5d11bf31f7dd89e1e91f79f7741f558ebdfd899a30302f1520a5a8
root@e45c52a3083f:~# docker network ls --filter type=custom
NETWORK ID          NAME                DRIVER              SCOPE
933b762feb5d        macvlan50           macvlan             local
root@e45c52a3083f:~# docker --version
Docker version 1.12.0-dev, build cf8f2a5

But I would expect the driver to appear in the plugins section of docker info:
root@e45c52a3083f:~# docker info
[snip]
Plugins:
 Volume: local
 Network: overlay null host bridge
[snip]

expected:
Network: overlay null host bridge macvlan
actual
Network: overlay null host bridge

This is important for me because the bash completion for docker network create -d grabs the available drivers from docker info. Therefore, the driver is missing in that context.

Thanks @albers! This seems to be the same issue as https://github.com/docker/docker/issues/23619
basically the plugin only shows if it's actually in use by a network, so;
docker info
...
Plugins:
 Volume: local
 Network: null overlay bridge host
...

But after a network is created using that driver, it shows up in docker info;
docker network  create  -d macvlan --subnet=<IP_ADDRESS>/24 --gateway=<IP_ADDRESS> -o parent=eth0.50 macvlan50

docker info

...
Plugins:
 Volume: local
 Network: macvlan overlay null bridge host
...

But after a network is created using that driver, it shows up in docker info

Ah, you're right, I just checked this. Is this how it should work or is it a bug?

@albers It's as designed... but not ideal.
The new plugin system should handle this.

OK, then I will manually add macvlan to bash completion until the new plugin management is available.

@cpuguy83 Thanks for clarifying.

I am going to close this as it seems resolved, and work on the new plugin system is continuing.


Explicitly prohibit definition of Accept and Content-Type as headers

These two headers are controlled separately, using content. It doesn't make sense to allow people to explicitly define those as headers as well. It can lead to confusion, conflicts, and just hell for tools to support.

Is there an argument for extending this to Authorization too, as that is handled by securitySchemes? Or do we acknowledge that not every scheme which uses an Authorization header is covered by the specification?

I suggest headers should be ignored rather than prohibited, when a specific OAS mechanism exists as an alternative


server configuration for advice

Summary
SUMMARY_GOES_HERE
My company now install the kong api gateway. Select the postgres for database and install openresty for web platform.There is  two server for  database with  a master and  a slave. There is 3 server for a cluster which will install kong api gateway application.
now can you give a detail  of the servers for advice.
Additional Details & Logs

Kong version ($ kong version)
Kong debug-level startup logs ($ kong start --vv)
Kong error logs (<KONG_PREFIX>/logs/error.log)
Kong configuration (registered APIs/Plugins & configuration file)
Operating System

seems like a typical enterprise question to me, see https://www.mashape.com/enterprise/

what i want to ask is the type of cpu and the memory of the database server。
and more,can you give a good advice of the tool of lua devloping


biparental, endothoracic (logical-conflict)

This pull request was generated by the 'mq' tool

/trunk merge


Preview rendered documents

While it doesn't require for small documents it would be very helpful when writing the large ones. I'm not sure yet how to interact with it -  should I put a button on Header or just make a shortcut for it.

Done in 0.6.0


[BUG] rename nodeSelector to masterNodeSelector

What is your environment(Kubernetes version, Fluid version, etc.)
Describe the bug
Currently, we want to deploy master to specific node by using nodeSelector. I suggest to change it to masterNodeSelector which will not mislead the user.
nodeSelector:
                  additionalProperties:
                    type: string
                  description: NodeSelector is a selector which must be true for the
                    master to fit on a node
                  type: object

What you expect to happen:
How to reproduce it
Additional Information

Any progress?


prove: Add support for undoing cached proofs

Cached proof are meant for wallets to be able to keep track of their own
utxos. Wallets must be able to reorg back blocks which means that the
cached proofs need to support undoing.
The Undo function mimics that of the Bitcoin Core wallet where the
reorging of a block where a spend occured doesn't automatically re-add
back the spent utxo. That must be done separately.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

263 of 277 (94.95%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.4%) to 82.745%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

prove.go
232
246
94.31%

Totals

Change from base Build<PHONE_NUMBER>:
1.4%

Covered Lines:
2297

Relevant Lines:
2776

💛  - Coveralls


Tx is in it's own children

Bug description
In the children list the own hash is listed
https://explorer.iota.org/mainnet/transaction/VHJQQVGUOVCMNVDQDS9DVXHFCWWFMYIXOZBRDWGXKFYLNVYXBRJQJPMT9TKP9FKJXQCRD9PSHLKDA9999

Fixed https://github.com/iotaledger/explorer/commit/0ce6776ff133d91bdc80b23bbc9679df8bbfb588


[bug]New Version information comes up repeatedly even though I've changed to a newer version

I have the latest version of the software, but the new version of INFORMATION keeps showing up repeatedly. Is there a cause for this?
[Use Version 3.0.0]

[Added] I updated the extension and it is now fixed.


Preserve chart settings when re-running query

Great work on this tool, it has a lot of potential to help with ad-hoc querying with the charting functionality.
It would be great if the "View as Chart" feature could remember the chart settings when re-running a query. Currently if you Run the query, configure a chart, then re-run, it will reset the chart settings to default.

Need both preserved setting for the same query; and also the below.
Templates (basic settings for charts, so when I am running 5 different queries in a notebook in a row, I don’t have to configure that chart 5 times)
(Thanks to Ben Weissman for the suggestion too :))

Repro. Run sql query, show chart, config chart with Use first column as row label, rerun query and result reverts to table and chart config change is gone. Thus, have to toggle chart on again and have to config chart again.

Repro. Run sql query, show chart, config chart with Use first column as row label, rerun query and result reverts to table and chart config change is gone. Thus, have to toggle chart on again and have to config chart again.

Seem to be similar issue to #14179 (<- for notebook)


Feed cannot be added in iOS app

Hello,
First of all thanks for the great work on the iOS app!
I am not able to add the feed https://ledrenche.ouest-france.fr/feed/ in the iOS app (version 6.0.2 Build 610 - iOS 15.0.2) whereas the feed is displayed correctly in my browser (Firefox with Want my RSS extension).
The error message is: The feed couldn't be found and can't be added..
Is it a known bug?
Thank you in advance!

What kind of account are you using to sync with?

None. I try to add the feed in a folder which is in the category "On my iPhone".

It will add the feed if you remove the trailing slash.

I'm sorry but it didn't work even without the trailing slash. (You meant ˋhttps://ledrenche.ouest-france.fr/feed` right?)

Yeah, but without the trailing space.

Very strange that it worked for you whereas it didn't for me.
The value I tried:

https://ledrenche.ouest-france.fr/feed (without trailing space)
https://ledrenche.ouest-france.fr/feed/

The same error is reported for each of them.

@vincode-io any idea what I could try to solve my problem?
Would reinstalling the app help?
Thanks in advance!

The only thing I can think of is that the server is redirecting you based on your locale or language settings. If you set your locale and language on your iPhone to US English are you able to add it then?
This is a real long shot, but I'm grasping at straws here. I've been able to add that feed multiple times without problem on the exact same version of NNW that you are using.

Thanks for the new suggestion but it didn't help to set region and language to US English...
Is there a way to turn on debug logs or something similar to get more information about the error?

Have you tried the new 6.1 Beta yet? Maybe it will help. Again, I am just grasping at straws here.
We don't have any way to capture that kind of info via logs at this time.

Thanks again to keep on trying to fix my problem!
I installed 6.1 beta but I was still not able to add the feed.
Then I deleted the app completely (with all its data), reinstalled the 6.1 beta but still no luck 🙁
I will try on other devices and I will post back here.
(By the way it was not easy to find the Test Flight link to install the beta: I used a link in an old blog post (from September). Maybe you should add the Test Flight link to subscribe to beta versions in the Readme of this repository as people checking the source code are usually also interested in installing beta versions 😉)

I tested on another iPhone running on iOS 15.0.1 with NetNewsWire 6.0.2 and I got the same error as on my phone. This iPhone is configured with French as language and France as region so maybe it is related to locale as you guessed since it works on your phone.
But it is very strange that it doesn't work with French locale as it is a French-only feed.

Language and region don't seem to be the problem. I changed them to French/France and was able to still subscribe to the feed.
You mentioned that you might be browsing the code. Are you a developer? If so, can you snoop the http requests using Proxyman, Charles, or some other kind of http monitor? That could tell us what we are getting back from the server. It might be blocking you based on IP or something.

@thombet Did you ever get a solution to your problem?

Nope. Just tried again with 6.1 build 6104 and there is still the problem on my phone.
I didn't take the time to try what you suggested in your last comment.

Are you still seeing this bug?

Yes.
I tried again with version 6.1.1 (build 6114) and iOS 15.4.1 and the same error appears.

Would you go into Terminal, copy-and-paste the following, then hit return…
curl -I https://ledrenche.ouest-france.fr/feed/
…then reply here with what it says?
(The above command gets the HTTP response header from the server for that feed.)

This is the response:
HTTP/1.1 301 Moved Permanently
Server: nginx
Date: Thu, 09 Mar 2023 23:18:45 GMT
Content-Type: text/html
Content-Length: 162
Connection: keep-alive
Location: https://ledrenche.fr/feed/

But how does it relate to the iOS app?

The redirect response is not surprising (and is fine). Let’s try it again with the new URL:
curl -I https://ledrenche.fr/feed/

It returns:
HTTP/1.1 403 Forbidden
Date: Fri, 10 Mar 2023 08:04:31 GMT
Content-Type: text/html; charset=iso-8859-1
X-Request-ID: 575963303
Cache-Control: no-cache
Vary: Accept-Encoding
X-CDN-Pop: rbx1
X-CDN-Pop-IP: <IP_ADDRESS>/25
X-Cacheable: Cacheable
Connection: keep-alive

May I ask how the response on my machine may be different than the response on your machine?

When I try that on my Mac, I get:
date: Sat, 11 Mar 2023 04:30:49 GMT
content-type: text/html; charset=iso-8859-1
server: Apache

…but I can also add the feed to NetNewsWire on my Mac! And I can add it to NetNewsWire on iOS.
Here’s my theory: their server is looking at some combination of things — user agent, IP address (maybe determining location), and who knows what else — and is returning a 403 in some cases.
There’s nothing we can do about it — it’s a bug on their end, unfortunately. I wish I could help more!


Alphametics: simplify or split into two exercises

I think the current Alphamatics exercise contains two separate problems.

The original alphametics problem where you have to find letter-number substitutions.
Correctly parse a strings containing arbitrary mathematical formulas, with different operators and correct precedence.

Solving the second part correctly requires different knowledge and most likely take longer to solve for most people. I guess in a dynamic language you can do this part through eval trickery, but that is not elegant and not available for less-dynamic languages.
I can see people creating a partial parser or hardcode patterns that will satisfy all the test-cases and stop there, that would send the message that the goal of tests is to pass them and don't care about the general problem.
I see the following solutions:

Simplify the exercise to only use addition, this makes parsing puzzles much more easier. Then possibly split the formula parser into its own exercise without the alphametics part.
Create a separate "formula parser" exercise and make it clear that it should be solved before and extended for the alphametics puzzle.

This problem was briefly mentioned by @Insti in another not related issue: https://github.com/exercism/x-common/issues/273#issuecomment-226616740

I'd like to see Alphametics transformed into a Pure Alphametics version that only uses addition.
I don't care so much about the formula parser portion, but that does make a nice separate problem.

Hooray, thanks @ijanos :heart:


[Tooltip] Fix some new issues

Closes #12131
Solve the scrollbar width issue raised in #12154
Fix the double tooltip issue raised in #12154
Closes #12154

@oliviertassinari sorry for being somewhat off topic, but I'd really like to get a build with the tooltip fix in. What is the process for these fixes to end up in a pre-release/stable version on this project?


operator: fix rbac for openshift

Signed-off-by: Nandor Kracser<EMAIL_ADDRESS>

Q
A

Bug fix?
yes

New feature?
yes

API breaks?
no

Deprecations?
no

Related tickets
fixes (partially) #705

License
Apache 2.0

What's in this PR?

Setting finalizers on deployments has to be enabled for creating the vault-monitor-service by the operator (its owner is the vault-operator deployment itself.
Why?

Additional context

So because I own so much we are going to make 5 sets and one master set that say where every thing is at every set has is back up on the blockchain as well privately as we coin stock stakes tokens companies owne AI U [ GO ] MAKE IT SO TRIPPLE BIOMETRIC LOCKS


Document contradicts itself in successive paragraphs

"The Office extensions for the .NET Framework 4 or later are not installed with Office,..."
Next paragraph":
"The Office extensions for the .NET Framework 4 are installed with Office."

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

ID: 33168414-e535-551c-b501-3f9884b1281b
Version Independent ID: 869b29bd-ac4f-107f-0da8-5d1cb7b25a3f
Content: Visual Studio Tools for Office runtime installation scenarios - Visual Studio
Content Source: docs/vsto/visual-studio-tools-for-office-runtime-installation-scenarios.md
Product: visual-studio-dev15
GitHub Login: @TerryGLee
Microsoft Alias: tglee

@rich-newman Thanks for letting us know; this is in the queue to be addressed.

I believe the reason for the difference in the two paragraphs is one is covering the runtime when installed with Visual Studio and one when it is installed with Office.   @rich-newman does that make sense?

@John-Hart That may be the intention but it isn't really what it says, is it?  I actually think the confusion is that some combinations of various versions of .NET Framework 4 and versions of Office do install the extensions and others don't, although I'm not sure.  This page is meant to be explaining that.  At the least those two paragraphs are very confusing.

Thanks @rich-newman  for the feedback.  We'll work on making it a little clearer.

This has been fixed, really well given how complicated it is.  Thanks.


open source backup_nhg_test.

Co-authored-by: Brandon Stoll<EMAIL_ADDRESS>

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 60.202%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
596

Relevant Lines:
990

💛  - Coveralls