Add modal dialogs for window/application closure

Description

This PR adds dialogs with confirmation of the close window. To simplify the life of the power user the confirmation could be done using the same shortcut again.
Type of change

[ ] Bug-fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

References

close #4626
How has this been tested?

[ ] example: the test suite for my feature covers cases x, y, and z
[ ] example: all tests pass with my change
[ ] example: I check if my changes works with both PySide and PyQt backends
as there are small differences between the two Qt bindings.

Final checklist:

[ ] My PR is the minimum possible work for the desired functionality
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] If I included new strings, I have used trans. to make them localizable.
For more information see our translations guide.

Let's get this merged assuming CI passes!

Hmm, I don't understand, are you saying that performing the action twice can have unintended side effects? (i.e. closing a browser/some other application)

Hmm, I don't understand, are you saying that performing the action twice can have unintended side effects? (

When you close the window, it closes only the napari window but quit close also QApplication itself.

Did anyone know how to translate shortcuts text for MacOS users? I think that there should be something like this in the napari codebase and I do not need to implement it from scratch.

@jni I hadn't even thought of making this configurable - totally agree that would be better.
@Czaki the welcome widget implements something like this, possibly taking it from Qt directory... haven't dug into it but here is a link to an example https://github.com/napari/napari/blob/5d46dda1410823c97a89e75691a9cb176a9f4739/napari/_qt/widgets/qt_welcome.py#L56

if you decide to go with making this a preference @Czaki let's convert this to draft :)

if you decide to go with making this a preference @Czaki let's convert this to draft :)

it was already implemented in c09f04e

@jni If you could check trans._ calls. I'm not sure if I should set deferred (currently not).

@Czaki could you add a couple of screenshots of how this looks? Thanks

@goanpeca
On ubuntu 21.10

Thanks @Czaki. This might look weird on OSX for dark themes (dark question mark) so maybe we want (on another PR?) create QMessageBox methods that use the icons that match the style of napari UI.

Thanks @Czaki. This might look weird on OSX for dark themes (dark question mark) so maybe we want (on another PR?) create QMessageBox methods that use the icons that match the style of napari UI.

Maybe it will be nice to generally overwrite Qt icons to match napari style. But It should be separate PR.

Please open an issue @Czaki so we remember to work on it

Somehow I missed this one.  And now it's driving me nuts :joy:
I see that a preference was added, which I definitely love, cause I almost never want this to show up...  But the preference doesn't seem to be working for me.

I'm getting notified all the time.  @Czaki?

@tlambert03 In this PR confirmation is controlled only for close window (ctrl+w), Not for close application (ctrl+q).
Until settings are global (see #4697) I prefer to not allow disable confirmation on close app.

Until settings are global (see https://github.com/napari/napari/issues/4697) I prefer to not allow disable confirmation on close app.

argg... this is awful :joy:

yeah, that doesn't look like something that's going to be implemented any time soon.... but this is definitely immediately annoying.  There's a preference right there saying please don't confirm on close... and yet it's confirming on close.  I'd really like a way to achieve the previous behavior please

We had a discussion abotu this in a community meeting, and it seemed that the general consensus was that it was reasonable for ctrl-w to have the shortcut, but ctrl-q to be sticky, particularly because when other stuff is on the same qt app (e.g: jupyter plots and such, as far as I understood) it will close those as well. I think @LCObus chipped in as well about this?

I can definitely understand the desire to have a confirmation, no argument there, but there has to be a way to opt out of it.   I opened #4700 ... If anyone wants to create an additional preference to differentiate between cmdQ and cmdW, that's fine... but either way, there needs to be a way to quit without the pop up every time

Could you point example where Ctrl+W is not enough but having confirmation for ctrl+q is annoing?

Could you point example where Ctrl+W is not enough but having confirmation for ctrl+q is annoing?

every time i use napari?  It's the same reason @jni mentioned above: muscle memory.  But really, this is just a perfect candidate for a preference, and I see no reason why it shouldn't be configurable.

Actually there is an issue I just found an also missed. Closing on the X of the title bar is not prompting a dialog, and that is a bug since Cmd/Ctrl+Q should be identical in pressing the close button of the application.

It is also weird to have 2 separate preferences, so if the notebook case is the issue for not having CmdQ do the same thing, is there a way to tell napari running inside a notebook and act accordingly?

For me, it is not weird. Close window impact only the current viewer. Close app impact all open viewers in the current session and also other qt windows.

Close window impact only the current viewer. Close app impact all open viewers in the current session and also other qt windows.

Close window if there is only a single viewer is equivalent to quitting app, so they are connected depending on context.


Make .builder/ls/thread.p multi-byte safe

Hi Gilles,
Can you adjust thread.p (.builder/ls/thread.p) to fix below errors when running the AVM with the -checkdbe startup parameter?
This parameter is used to ensure all string related functions specify the meaning for length parameters (e.g. bytes or characters).
[24/09/09@14:22:58.213+0200] P-031548 T-015980 1 4GL -- ** Function SUBSTRING requires "CHARACTER", "RAW", "COLUMN" or "FIXED" for double-byte or multi-byte(UTF8) languages. (3623)
[24/09/09@14:22:58.219+0200] P-031548 T-015980 1 4GL --     Warning at line 1. (2411)
[24/09/09@14:22:58.230+0200] P-031548 T-015980 1 4GL -- ** Function SUBSTRING requires "CHARACTER", "RAW", "COLUMN" or "FIXED" for double-byte or multi-byte(UTF8) languages. (3623)
[24/09/09@14:22:58.230+0200] P-031548 T-015980 1 4GL --    <path_to_project>\.builder\ls\thread.p Warning at line 247. (2411)
[24/09/09@14:22:58.244+0200] P-031548 T-015980 1 4GL -- ** LENGTH requires "CHARACTER","RAW" or "COLUMN" for double-byte or multi-byte(UTF8) languages. (3619)
[24/09/09@14:22:58.244+0200] P-031548 T-015980 1 4GL --    <path_to_project>\.builder\ls\thread.p Warning at line 248. (2411)
[24/09/09@14:22:58.245+0200] P-031548 T-015980 1 4GL -- ** Function SUBSTRING requires "CHARACTER", "RAW", "COLUMN" or "FIXED" for double-byte or multi-byte(UTF8) languages. (3623)
[24/09/09@14:22:58.245+0200] P-031548 T-015980 1 4GL --    <path_to_project>\.builder\ls\thread.p Warning at line 248. (2411)
[24/09/09@14:22:58.245+0200] P-031548 T-015980 1 4GL -- ** Function SUBSTRING requires "CHARACTER", "RAW", "COLUMN" or "FIXED" for double-byte or multi-byte(UTF8) languages. (3623)
[24/09/09@14:22:58.245+0200] P-031548 T-015980 1 4GL --    <path_to_project>\.builder\ls\thread.p Warning at line 270. (2411)
[24/09/09@14:22:58.246+0200] P-031548 T-015980 1 4GL -- ** Function SUBSTRING requires "CHARACTER", "RAW", "COLUMN" or "FIXED" for double-byte or multi-byte(UTF8) languages. (3623)
[24/09/09@14:22:58.246+0200] P-031548 T-015980 1 4GL --    <path_to_project>\.builder\ls\thread.p Warning at line 270. (2411)
[24/09/09@14:22:58.249+0200] P-031548 T-015980 1 4GL -- ** Function SUBSTRING requires "CHARACTER", "RAW", "COLUMN" or "FIXED" for double-byte or multi-byte(UTF8) languages. (3623)
[24/09/09@14:22:58.249+0200] P-031548 T-015980 1 4GL --    <path_to_project>\.builder\ls\thread.p Warning at line 366. (2411)
[24/09/09@14:22:58.249+0200] P-031548 T-015980 1 4GL -- ** Function SUBSTRING requires "CHARACTER", "RAW", "COLUMN" or "FIXED" for double-byte or multi-byte(UTF8) languages. (3623)
[24/09/09@14:22:58.250+0200] P-031548 T-015980 1 4GL --    <path_to_project>\.builder\ls\thread.p Warning at line 383. (2411)
[24/09/09@14:22:58.250+0200] P-031548 T-015980 1 4GL -- ** Function SUBSTRING requires "CHARACTER", "RAW", "COLUMN" or "FIXED" for double-byte or multi-byte(UTF8) languages. (3623)
[24/09/09@14:22:58.250+0200] P-031548 T-015980 1 4GL --    <path_to_project>\.builder\ls\thread.p Warning at line 384. (2411)

Thanks,
Lieven

Fixed, will be available in next pre-release

Already part of the latest prereleases


(1password) Fix OPW4 stream not pushed

Description
This fixes an issue where a manual package used by an automatic update script is not pushed to the Community Repository.
Motivation and Context
We want to be able to push fix versions of 1password package that have been moved to the manual directory.
How Has this Been Tested?
Limited testing. Run

.\update_all.ps1 1password -ForcedPackages '1password\OPW4'
Ensure that the 1password4 nupkg package was copied to the 1password directory.

Screenshot (if appropriate, usually isn't needed):
Types of changes

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Migrated package (a package has been migrated from another repository)

Checklist:

[x] My code follows the code style of this repository.
[ ] My change requires a change to documentation (this usually means the notes in the description of a package).
[ ] I have updated the documentation accordingly (this usually means the notes in the description of a package).
[ ] I have updated the package description and it is less than 4000 characters.
[x] All files are up to date with the latest Contributing Guidelines
[ ] The added/modified package passed install/uninstall in the Chocolatey Test Environment(https://github.com/chocolatey-community/chocolatey-test-environment/). Note that we don't support the use of any other environment.
[x] The changes only affect a single package (not including meta package).

That package is feeling more and more automated as we go. :)

That is the intention, to have manual packages that we still can automate when needed to provide 1password package fixes.


An issue occurs when I customize font-size.

There is an error that results in priority when customizing the naming of the font size.
Normal

tailwind-styled-components Tag
Normal Tag
Result

Customize

tailwind-styled-components Tag
Normal Tag

Result
tailwind.config.js

Does anyone have the same issue as this?

I have the same problem, were you able to solve it?

I have the same problem, were you able to solve it?

Not yet. I just solved that temporarily by giving className outside the tag and only giving text effects.

It seems to me that it might be a tailwind merge problem, but I'm not entirely sure. 🤔

It seems to me that it might be a tailwind-merge problem, but I'm not entirely sure. 🤔

Oh, Thanks :) I'll be check this out.
tailwind-merge

@Wisesaturn Please, check it

any news on that?
@Wisesaturn Did you solve the problem?

No, I'm just going on with it.

해당버그는 다음과 같을때 발생합니다.
// tailwind.config.js
const px0_10 = { ...Array.from(Array(11)).map((_, i) => `${i}px`) };
const px0_100 = { ...Array.from(Array(101)).map((_, i) => `${i}px`) };
const px0_200 = { ...Array.from(Array(201)).map((_, i) => `${i}px`) };
const px0_400 = { ...Array.from(Array(401)).map((_, i) => `${i}px`) };

/** @type {import('tailwindcss').Config} */
module.exports = {
  content: [
    "./src/components/**/*.{js,ts,jsx,tsx}",
    "./src/routers/**/*.{js,ts,jsx,tsx}",
    "./src/icons/**/*.{js,ts,jsx,tsx}",
  ],
  theme: {
    extend: {
      fontFamily: {
        pretendard: ["Pretendard"],
        poppins: ["Poppins"],
      },
      borderWidth: px0_10,
      fontSize: px0_100,
      lineHeight: px0_100,
      minWidth: px0_200,
      minHeight: px0_200,
      spacing: px0_200,
      padding: px0_400,
    },
  },
  plugins: [],
};

// When text is repeatedly entered, only the last text-[white] value is applied.
const Text = tw.p`text-28 text-[white]`;

// When writing like this, only text-28 value is applied.
const OtherText = tw.p`text-[white] text-28`;

Maybe, is there a solution?

The bug occurs when:
// tailwind.config.js
const px0_10 = { ...Array.from(Array(11)).map((_, i) => `${i}px`) };
const px0_100 = { ...Array.from(Array(101)).map((_, i) => `${i}px`) };
const px0_200 = { ...Array.from(Array(201)).map((_, i) => `${i}px`) };
const px0_400 = { ...Array.from(Array(401)).map((_, i) => `${i}px`) };

/** @type {import('tailwindcss').Config} */
module.exports = {
  content: [
    "./src/components/**/*.{js,ts,jsx,tsx}",
    "./src/routers/**/*.{js,ts,jsx,tsx}",
    "./src/icons/**/*.{js,ts,jsx,tsx}",
  ],
  theme: {
    extend: {
      fontFamily: {
        pretendard: ["Pretendard"],
        poppins: ["Poppins"],
      },
      borderWidth: px0_10,
      fontSize: px0_100,
      lineHeight: px0_100,
      minWidth: px0_200,
      minHeight: px0_200,
      spacing: px0_200,
      padding: px0_400,
    },
  },
  plugins: [],
};

// When text is repeatedly entered, only the last text-[white] value is applied.
const Text = tw.p`text-28 text-[white]`;

// When writing like this, only text-28 value is applied.
const OtherText = tw.p`text-[white] text-28`;

// When writing like this, Both text-[white] and text-[28px] are applied.
const OtherText = tw.p`text-[white] text-[28px]`;

Maybe, is there a solution?

It's a bit of a hassle, but I think it's a good way

@Wisesaturn hmm.. Do you think so?
The issue has not been resolved yet, so I hope someone can suggest a way to solve it.


Add Speech to text notebook 211

This notebook does not follow the contribution guide. Please review the guide. We need things like a header/title and layout the is similar to other notebooks.
A few other points:

there should be a way to preview the audio clip by pressing play (should be doable with ipython)
audio input type is too strict, need to be more flexible (more context below)
can .ogg or other formats be supported?
please do not use acronyms like CTC in headings
please follow case style for headers and sub headings that matches other notebooks

Is there any way for us to take ANY .wav file and make sure it meets these requirements? (Without adding additional dependencies to the requirements.txt?)
assert sample_width == 2, "Only 16-bit WAV PCM supported"
assert compression_type == 'NONE', "Only linear PCM WAV files supported"
assert channel_num == 1, "Only mono WAV PCM supported"
assert sampling_rate == 16000, "Only 16 KHz audio supported"

librosa seems to have the ability to load OGG and MP3. Can we use it for this? https://librosa.org/doc/main/generated/librosa.load.html

@Debskij
Please replace the .wav sample file with edge_to_cloud.ogg (in the .zip file below). Then it is good to merge.
edge_to_cloud.zip

Thanks @Debskij this notebook looks great! I love the visualizations, and it is really nice that you can play the audio.
I will review later, but for now, can you change the model download/check if the model is already downloaded to the same as 209 (and also use pathlib)? I actually ran into an issue because the folder did exist, but the model did not.
Also please rebase/merge with main. I'm planning to merge 209 soon, so you could wait for that - though it should only be an easy-to-fix README conflict after that.
Can you also add a note to https://github.com/openvinotoolkit/openvino_notebooks/wiki/Ubuntu about the soundfile installation? What happens if you do not have the soundfile lib installed - will there be a clear error message?

@Debskij please clear the outputs from Jupyter cells and commit clean version.

@helena-intel I'm fine with merging this tomorrow, as long as you are

Just for fun, I tried transcribing a CSPAN video (public domain) to see how long it would take. This is a 17 minute video and the model was able to process on my laptop's Tiger Lake CPU in 40s and only 2s on iGPU. https://youtu.be/Wp-WiNXH6hI
This is the output. I'm impressed.
cspan.txt


Running tests from command line just hangs when selenium launches browser

I'm able to run some simple qunit tests in the browser.  However, when I run with the django test command, selenium launches a chrome window, and it just hangs.  When I CTRL-C out of the tests, I see the error: URLError: <urlopen error [Errno 61] Connection refused>.
test command:
python manage.py test --with-django-qunit app_name.tests.qunit.test_case
hangs on URL:
http://app_name.local:8081/qunit/test/?class=app_name.tests.qunit.test_case.QUnitIntroTestCase
I run other selenium tests and they work great.
Any ideas?

Closing this as unverifiable, let me know if anybody is still having trouble with this.


Automate Plex Library Creation

Let's use the Plex API to automate our library creation.
https://forums.plex.tv/discussion/156885/create-plex-libraries-programmatically
This will be important so we can do things like pass the correct library ID to the upload scripts so they can tell Plex to update the correct library on completion.

closed by acf75c5c548534ea1ea351d0876023875ae50076


Missing Dark/Light Mode on Webpage

🎮 feature Request
Hello @Durgesh4993
I noticed that the webpage currently lacks support for dark and light modes. Adding dark and light modes would allow users to choose the theme that best suits their needs. I propose adding a toggle button or menu option that allows users to switch between dark and light modes seamlessly. Kindly assign me this issue.
Thank You!
Point down the features
Display transition (dark/light)
Select program in which you are contributing
GSSoc'24
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

i would like to work on this issue please assign it to me

My name is Kavya B S and I'm a participant in the GIRL Script Summer of Code (GSSOC) program this year. I'm interested in contributing to the GameSphere project under GSSOC.
As this web page lacks the dark and light mode feature. It would be great if we add it soon.
I've been following GameSphere for a while now and I'm impressed with the idea.
To effectively contribute to the project, I'd be grateful if you could grant me contributor access to the repository on GitHub. This would allow me to submit pull requests with my code contributions.
I'm eager to learn and contribute to Gamesphere.
Please let me know if you require any further information from me. Thank you for your time and consideration.

@harshitsaxena214 @KavyaBS123 Please raise any other issue,  i'll assign you
If you have any doubt you can directly send message on our discord (https://discord.gg/rZb46cCMmK), we have created seprate chennals for all projects...
Thank you :)


removed elasticsearch and fluentd-gcp pods from master

I had added the elasticsearch and fluentd-gcp pods to master about 3 weeks ago in preparation to extract logs from master component pods.
But a decision has yet to be made on how we are doing to do log extraction from master pods.
Also, these logging pods need kube-proxy to work.
Till a final decision is made on log extraction from master component pods, I am removing elasticsearch and fluentd-gcp pods from master.

LGTM


how do i use the features get from wav2vec in wav2letter++

hi, i train the wav2vec, and get the model parameters, then, how do i use the xx.pt to train wav2letter, for i want see the result of asr

i save the result for kaldi data and training my asr model rather than wav2letter++ model

@leixiaoning can you provide some details about this please? thank you.

@leixiaoning did you figure it out? Because I too am stuck at the same point. Two questions in fact,:

What are the task wavs in PYTHONPATH /path/to/fairseq python scripts/wav2vec_featurize.py --input /path/to/task/waves --output /path/to/output
--model /model/path/checkpoint_best.pt --split train valid test ?
How are train, valid test fed to wav2letter++ ? and what is their output format

I have trained wav2vec and extracted embeddings after training for downstream task ... how can i feed these embedding to train any acoustic model like deepspeech2 ???

Can anybody help a bit here. We are kind of stuck! After extracting the embeddings from the downstream data, how do we now provide them to wav2letter++ ? There is not any documnetation available for that.
@alexeib @myleott

I tried to train the speech model (deepspeech2) on Librispeech using context representations (C) extracted from Pre-trained wav2vec model provided in Repo but model is not converging.
@alexeib any help on this??
did you guys changed the architecture of the model to make it working or you achieved state of the art result by just replacing Spectogram by context representation and using same architecture shown in (deepspeech2 or wave2letter ) paper ??

Hi @rajeevbaalwan !
Can you please share how did you incorporated these embeddings in the DeepSpeech2 model.
I have been struggling with it since a long time.
Thanks in advance!

I am needing advice on this topic. Thanks

@rajeevbaalwan @alexeib
can anybody elaborate on this please?

@leixiaoning @marcosmacedo check the issues of wav2letter. https://github.com/facebookresearch/wav2letter/issues/436
@maltium has a fork that accepts hdf5 as input https://github.com/maltium/wav2letter/tree/feature/loading-from-hdf5

sorry i just saw this. we just replaced spectrogram features in wav2letter with the wav2vec ones. you can extract the features as shown in the examples doc and feed it into any asr system youd like and it will work (e.g. we have tried bi-lstms also)

@alexeib could you share your wav2letter hyperparams and lr please?


feat: adding github social link

PR Checklist

[x] Addresses an existing open issue: fixes #285
[x] That issue was marked as status: accepting prs
[x] Steps in CONTRIBUTING.md were taken

Overview

GitHub social link added to footer of site 🥳

I see someone else made a PR for this. Closing!


Question : How to add all recipients pubkeys in one command ?

Is there a command allowing one to add all recipients pubkeys (.gpg-keys/*) in one command ?
For example :
gopass recipients importall

Thanks

In #204 we implemented a variant of this. This change makes gopass recipients load any missing keys.

Yeah thanks :smile:
Love to see the pace of this project.
I plan to take some time to learn golang and contribute soon enough :wink:


Add hashicorp's logutils style log level controlling to logrus

Refer: https://github.com/hashicorp/logutils
logutils implements a writer interface using which you can embed log levels inside golang's native log calls. This way you can do:
log.Println("[WARN] This is a warning")

to log a warning. You can set the log level and control which logs will be displayed.
Logrus also provides similar ability to plug into golang's native log package but logged all messages as "info". I needed both log level control and hooks for my use case. This PR implements logutils style log message formatting in logrus. So you can do:
logrus_logger := logrus.StandardLogger().Writer()
log.SetOutput(logrus_logger)
log.Println("This is a regular log line")
log.Println("[DEBUG] This is a debug line")
log.Println("[INFO] This is an info line")
log.Println("[WARN] This is a warning")
log.Println("[ERROR] This is an error")

and the output will be shown as:
INFO[0000] 2017/03/31 12:55:02 This is a regular log line
INFO[0000] 2017/03/31 12:55:02 [INFO] This is an info line
WARN[0000] 2017/03/31 12:55:02 [WARN] This is a warning
ERRO[0000] 2017/03/31 12:55:02 [ERROR] This is an error

PANIC and FATAL log levels work too.

A use case broke. Fixing.

They can be combined right now w/o any patches: https://play.golang.org/p/31VAy3ExpC9
Also, in order to clean up older PRs and issues (this PR is > 2 years old), I'm going to close this PR.


user.registration.transactional.md Spelling Correction

Just a spelling error I noticed while skimming the code.

Thank you for the fix! However, we reevaluated this project and decided to abandon Sails rewrite it in Express. Stay tuned for https://github.com/DoSomething/blink

Or, actually, I'll just turn off tests and merge this one.


Organizing core tests

#79
Tests were split into 6 groups:

events
foundations (basic tests)
patterns (this may change in the future)
serialization
traversals
util

Now all tests extend BaseSpec
Recommended here.
The current TestHelper became an object inside a trait that returns the shared mixtures for all tests.
Subsequent fixtures are going to be implemented as functions.
Recommended here.

@gcgbarbosa can you please merge master into this branch?

@marcovzla done.

Can you change the note in CHANGES.md from Added to Changed please?

Thanks!


multi_gpu error

Hi,
I've tried to run the multi_gpu program to parallelize a convolution neural network that is based on U-Net. I am trying to parallelize on a g2.8xlarge to take advantage of the 4 GPUs.
Anyways, when trying to run the code I got an error. Below are both the full error, as well as the function used to define the model/call the multi_gpu function (make_parallel). The part that calls make_parallel is pretty much at the very end of the script/this post.
This may be super simple but I have no experience with tf and am just starting with keras. Any suggestions would be greatly appreciated.
Thanks,
Anthony.
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-20-b2175f08a7a9> in <module>()
----> 1 modelTest = get_unet()
      2 print(modelTest.summary())

<ipython-input-18-7318b7dd3672> in get_unet()
     40
     41     model = Model(input=inputs, output=conv10)
---> 42     model = make_parallel(model,3)
     43     model.compile(optimizer=Adam(lr=1e-5), loss=dice_coef_loss, metrics=[dice_coef])
     44

/vol/programs/keras-extras/utils/multi_gpu.pyc in make_parallel(model, gpu_count)
     29                     inputs.append(slice_n)
     30
---> 31                 outputs = model(inputs)
     32
     33                 if not isinstance(outputs, list):

/home/ubuntu/miniconda/lib/python2.7/site-packages/Keras-1.0.4-py2.7.egg/keras/engine/topology.pyc in __call__(self, x, mask)
    483         if inbound_layers:
    484             # this will call layer.build() if necessary
--> 485             self.add_inbound_node(inbound_layers, node_indices, tensor_indices)
    486             input_added = True
    487

/home/ubuntu/miniconda/lib/python2.7/site-packages/Keras-1.0.4-py2.7.egg/keras/engine/topology.pyc in add_inbound_node(self, inbound_layers, node_indices, tensor_indices)
    541         # creating the node automatically updates self.inbound_nodes
    542         # as well as outbound_nodes on inbound layers.
--> 543         Node.create_node(self, inbound_layers, node_indices, tensor_indices)
    544
    545     def get_output_shape_for(self, input_shape):

/home/ubuntu/miniconda/lib/python2.7/site-packages/Keras-1.0.4-py2.7.egg/keras/engine/topology.pyc in create_node(cls, outbound_layer, inbound_layers, node_indices, tensor_indices)
    146
    147         if len(input_tensors) == 1:
--> 148             output_tensors = to_list(outbound_layer.call(input_tensors[0], mask=input_masks[0]))
    149             output_masks = to_list(outbound_layer.compute_mask(input_tensors[0], input_masks[0]))
    150             # TODO: try to auto-infer shape if exception is raised by get_output_shape_for

/home/ubuntu/miniconda/lib/python2.7/site-packages/Keras-1.0.4-py2.7.egg/keras/engine/topology.pyc in call(self, input, mask)
   1920             return self._output_tensor_cache[cache_key]
   1921         else:
-> 1922             output_tensors, output_masks, output_shapes = self.run_internal_graph(inputs, masks)
   1923             return output_tensors
   1924

/home/ubuntu/miniconda/lib/python2.7/site-packages/Keras-1.0.4-py2.7.egg/keras/engine/topology.pyc in run_internal_graph(self, inputs, masks)
   2062                     if len(computed_data) == 1:
   2063                         computed_tensor, computed_mask = computed_data[0]
-> 2064                         output_tensors = to_list(layer.call(computed_tensor, computed_mask))
   2065                         output_masks = to_list(layer.compute_mask(computed_tensor, computed_mask))
   2066                         computed_tensors = [computed_tensor]

/home/ubuntu/miniconda/lib/python2.7/site-packages/Keras-1.0.4-py2.7.egg/keras/layers/convolutional.pyc in call(self, x, mask)
   1062     def call(self, x, mask=None):
   1063         return K.resize_images(x, self.size[0], self.size[1],
-> 1064                                self.dim_ordering)
   1065
   1066     def get_config(self):

/home/ubuntu/miniconda/lib/python2.7/site-packages/Keras-1.0.4-py2.7.egg/keras/backend/tensorflow_backend.pyc in resize_images(X, height_factor, width_factor, dim_ordering)
    506         X = tf.image.resize_nearest_neighbor(X, new_shape)
    507         X = permute_dimensions(X, [0, 3, 1, 2])
--> 508         X.set_shape((None, None, original_shape[2] * height_factor, original_shape[3] * width_factor))
    509         return X
    510     elif dim_ordering == 'tf':

TypeError: unsupported operand type(s) for *: 'NoneType' and 'int'

def get_unet():
    inputs = Input((1, img_rows, img_cols))
    conv1 = Convolution2D(32, 3, 3, activation='relu', border_mode='same')(inputs)
    conv1 = Convolution2D(32, 3, 3, activation='relu', border_mode='same')(conv1)
    pool1 = MaxPooling2D(pool_size=(2, 2))(conv1)

    conv2 = Convolution2D(64, 3, 3, activation='relu', border_mode='same')(pool1)
    conv2 = Convolution2D(64, 3, 3, activation='relu', border_mode='same')(conv2)
    pool2 = MaxPooling2D(pool_size=(2, 2))(conv2)

    conv3 = Convolution2D(128, 3, 3, activation='relu', border_mode='same')(pool2)
    conv3 = Convolution2D(128, 3, 3, activation='relu', border_mode='same')(conv3)
    pool3 = MaxPooling2D(pool_size=(2, 2))(conv3)

    conv4 = Convolution2D(256, 3, 3, activation='relu', border_mode='same')(pool3)
    conv4 = Convolution2D(256, 3, 3, activation='relu', border_mode='same')(conv4)
    pool4 = MaxPooling2D(pool_size=(2, 2))(conv4)

    conv5 = Convolution2D(512, 3, 3, activation='relu', border_mode='same')(pool4)
    conv5 = Convolution2D(512, 3, 3, activation='relu', border_mode='same')(conv5)

    up6 = merge([UpSampling2D(size=(2, 2))(conv5), conv4], mode='concat', concat_axis=1)

    conv6 = Convolution2D(256, 3, 3, activation='relu', border_mode='same')(up6)
    conv6 = Convolution2D(256, 3, 3, activation='relu', border_mode='same')(conv6)

    up7 = merge([UpSampling2D(size=(2, 2))(conv6), conv3], mode='concat', concat_axis=1)
    conv7 = Convolution2D(128, 3, 3, activation='relu', border_mode='same')(up7)
    conv7 = Convolution2D(128, 3, 3, activation='relu', border_mode='same')(conv7)

    up8 = merge([UpSampling2D(size=(2, 2))(conv7), conv2], mode='concat', concat_axis=1)
    conv8 = Convolution2D(64, 3, 3, activation='relu', border_mode='same')(up8)
    conv8 = Convolution2D(64, 3, 3, activation='relu', border_mode='same')(conv8)

    up9 = merge([UpSampling2D(size=(2, 2))(conv8), conv1], mode='concat', concat_axis=1)
    conv9 = Convolution2D(32, 3, 3, activation='relu', border_mode='same')(up9)
    conv9 = Convolution2D(32, 3, 3, activation='relu', border_mode='same')(conv9)

    conv10 = Convolution2D(1, 1, 1, activation='sigmoid')(conv9)

    model = Model(input=inputs, output=conv10)
    model = make_parallel(model,3)

    model.compile(optimizer=Adam(lr=1e-5), loss=dice_coef_loss, metrics=[dice_coef])

    return model

+1 same problem here @gattia did you solve it in the end?

@jakubLangr I actually didn't. My solution ended up being to use a p2.xlarge. They are a bit more expensive, but if you use spot instances you can get them for an average of about 0.14$/hr, or at least that's been my experience for the last month or so.

Ah, thanks. If you take a look at this PR, it gives me lots of warnings, but
it feels like it is a step closer.
Fixing data shape problem by beeva-enriqueotero · Pull Request #10 ·
kuza55/keras-extras It fixes #8 and probably #2 Regards github.com
I then just struggle to get Keras to properly work. I think it allocates GPU
memory correctly (but it also could have been due to other things I was running
at the time), but it does not seem to use them and it gives me about ~100 of
these warnings:WARNING:tensorflow:Tried to colocate
gradients/tower_0_4/sequential_5/batch_normalization_15/moments/sufficient_statistics/count_grad/Rank
with an op
tower_0_4/sequential_5/batch_normalization_15/moments/sufficient_statistics/count
that had a different device: /device:CPU:0 vs /device:GPU:0. Ignoring colocation
property.
Can post the whole error if that helps.
Either way, it works afterwards but still only uses 1 GPU.
On Sun, Apr 2, 2017 11:32 PM, Anthony<EMAIL_ADDRESS>wrote:
@jakubLangr  I actually didn't. My solution ended up being to use a p2.xlarge.
They are a bit more expensive, but if you use spot instances you can get them
for an average of about 0.14$/hr, or at least that's been my experience for the
last month or so.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Oh and when I remove the batch normalization (which seemed to be the problem),
I still fail to use multiple GPUs as judging by nvidia-smi output, but it does
seem I actually allocate memory (at least for some time).
On Sun, Apr 2, 2017 11:47 PM, Jakub Langr<EMAIL_ADDRESS>wrote:
Ah, thanks. If you take a look at this PR, it gives me lots of warnings, but it
feels like it is a step closer.
Fixing data shape problem by beeva-enriqueotero · Pull Request #10 ·
kuza55/keras-extras It fixes #8 and probably #2 Regards github.com
I then just struggle to get Keras to properly work. I think it allocates GPU
memory correctly (but it also could have been due to other things I was running
at the time), but it does not seem to use them and it gives me about ~100 of
these warnings:WARNING:tensorflow:Tried to colocate
gradients/tower_0_4/sequential_5/batch_normalization_15/moments/sufficient_statistics/count_grad/Rank
with an op
tower_0_4/sequential_5/batch_normalization_15/moments/sufficient_statistics/count
that had a different device: /device:CPU:0 vs /device:GPU:0. Ignoring colocation
property.
Can post the whole error if that helps.
Either way, it works afterwards but still only uses 1 GPU.
On Sun, Apr 2, 2017 11:32 PM, Anthony<EMAIL_ADDRESS>wrote:
@jakubLangr  I actually didn't. My solution ended up being to use a p2.xlarge.
They are a bit more expensive, but if you use spot instances you can get them
for an average of about 0.14$/hr, or at least that's been my experience for the
last month or so.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Sorry, I dont really have time to look into this and have not been using the multi-gpu at the moment. I think that eventually when Keras is integrated into tensorflow that distributed training will be relatively easy.
I will report back if I do get around to looking into this.
Anthony.

Any update on this? I am seeing a similar behavior.


Update README.md

The image extension was incorrect and was not displayed, so I fixed it.　jpg to png

Thank you!!


targetQuerySelector example

I'm trying to animate a group of elements in such a way
that they will slidedown one by one when coming to viewport.
In velocity i can do this:
$(".box").velocity "transition.slideDownIn",    stagger: 250,   drag: true,   duration: 2000, ......
see: https://codepen.io/icebob/pen/NPwXaX
If I understand correctly this can be achieved with targetQuerySelector ?
If so, can you please point me to an example
Thanks

If all the elements are added to the VelocityTransitionGroup at once then you don’t need targetQuerySelector, just stagger.
This is shown in the “Add 5 Rows” part of the demo: https://github.com/twitter-fabric/velocity-react/blob/master/demo/examples/scrolling-group.jsx
Also note that targetQuerySelector is only for VelocityComponent, not VelocityTransitionGroup.


[RESOLVED] Interface eth0(): High error rate (>2 for 5m)

Problem started at 10:15:29 on 2023.05.31
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Operational data: errors in: 1, errors out: 0
Original problem ID: 22995
Event details in Zabbix: http://<IP_ADDRESS>/tr_events.php?triggerid=23483&eventid=22995

Problem has been resolved in 3m 0s at 10:18:29 on 2023.05.31
Problem name: Interface eth0(): High error rate (>2 for 5m)
Host: S100-Primario
Severity: Warning
Original problem ID: 22995


Preview formulas

Compile btex with everything as prelude and the formula as text, turning off KaTeX.
Extract the generated code
Use MathJax to render that

See KaTeX/KaTeX#375

Actually KaTeX generated tags all fall within the constraints, but the styling requires css which would be filtered.


Remove local diff generation

It hasn't worked out well. Because the head and base branch can diverge
by more than the shallow clone depth local diff generation often fails
on larger busy repositories. Using local diffs would require cloning the
entire history which is far too slow compared to the network requests to
fetch changes from github. While fetching changes from Github can be
slow it is generally faster than cloning multi GB repositories.

Codecov Report

Merging #323 into master will increase coverage by 0.15%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #323      +/-   ##
==========================================
+ Coverage   90.88%   91.03%   +0.15%
==========================================
  Files          48       48
  Lines        3028     3013      -15
==========================================
- Hits         2752     2743       -9
+ Misses        276      270       -6

Impacted Files
Coverage Δ

lintreview/git.py
84.14% <ø> (-0.65%)
:arrow_down:

lintreview/processor.py
96.82% <ø> (+8.09%)
:arrow_up:

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 c87479a...33ad7d3. Read the comment docs.


Integer control param on Android causes invalid OpenGraph property

In JavaScript, call showShareSheet with the following control params:
{
  $og_image_height: 400,
  $og_image_width: 400,
  $og_image_url: "<redacted>",
  // and other properties ...
}

On Android, number 400 will be converted to 400.0 in the meta tags when Facebook scrapes the link:

(Screenshot from Facebook Sharing Debugger)
"400.0" is invalid OpenGraph tag and it will cause problems such as missing App Links information.
This bug doesn't occur on iOS.

Hello,
This has been fixed. It will be deployed soon.
Thanks


ajax killing session

Laravel Version
10.4.1
PHP Version
8.1.4
Database Driver & Version
No response
Description
I have three different auth guards.. two are working fine with ajax .. but one guard is killing session on ajax ..
I am using sessions with database .. It works well with sessions driver == file ..  I have spent three days on this ..tried everything .. also for this guard It is not saving user_id in sessions table .. Please help .. I have tried everything on internet..
Steps To Reproduce
I have a guard named employee ..
there are two other merchant and reseller ..
but employee is killing session on ajax request

Hey there,
Unfortunately we don't support this version of the library anymore. Please check out our support policy on which versions we are currently supporting. Can you please try to upgrade to the latest version and see if your problem persists? If so, please open up a new issue and we'll help you out.
Thanks!


Add Logitech Options Software

Added Logitech Options software (for MX Master mouse)
as a Cask. This software depends on OSX >= 10.8 and
requires a reboot after installation and uninstallation
to operate properly.

Didn't have Cask updated to the latest version locally when I built my logitech-options cask. Updated, merged into my working branch and re-pushed to my fork.

Can you please squash the merge commit.

Squashed/pushed

Thank you for the contribution. It was merged directly as 12749acf40c6226982ae0adfcb8480925e279c32 to keep commit history cleaner. Your contribution is still credited to you.


Power Platform Admin Planning

Hi Team,
I have imported Power Platform Administration Planning solution successfully and imported the sample admin task excel data as well in the Admin Tasks App. But when i try to open Power Platform Administration Planning and provide the environment URL of COE toolkit in Org URL screen, am getting the below error after the import.
Error
pcat_admintasks
Microsoft SQL: A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
Could you please help us on this issue. please

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

ID: 42fc4c59-a28b-803c-5415-6299814abaa5
Version Independent ID: 42fc4c59-a28b-803c-5415-6299814abaa5
Content: Set up the Power Platform administration planning component - Power Platform
Content Source: power-platform/guidance/coe/setup-admin-tasks-component.md
Service: power-platform
Sub-service: guidance
GitHub Login: @stjeffer
Microsoft Alias: stjeffer

Thanks for your comment, @lokeshkscb. This issue has been assigned to the doc author for review.

Please check that the URL is correct, the error is stating the connection can't be created because it can't be found - we often see this when the link is copied with whitespace.


0.4.3 doesn't work?

Manual installation
Got following error
File "build/bdist.linux-armv7l/egg/steem/steem.py", line 632
**s,
^
SyntaxError: invalid syntax
Installed with pip3
Run piston
~/.local/bin $ ./piston
Traceback (most recent call last):
File "./piston", line 7, in
from piston.main import main
File "/home/pi/.local/lib/python3.4/site-packages/piston/main.py", line 11, in
from steem.storage import configStorage as config
File "/home/pi/.local/lib/python3.4/site-packages/steem/init.py", line 1, in
from .steem import Steem
File "/home/pi/.local/lib/python3.4/site-packages/steem/steem.py", line 632
**s,
^
SyntaxError: invalid syntax
What's wrong?

weird .. it is not invalid syntax for python 3.5.2 in linux .. I will see what caused this for you.
The relevant code isn't as I would like it to be anyways :)

He is using an old 3.4 version.
@oflyhigh I'd recommend against using an OS version of Python. By using virtualenv or a distribution like Anaconda you can separate OS space and user space and ensure that everything just works without the ability to break OS stuff.

The code is a bit weird, but not technically invalid:
In [4]: foo = {'1': 1}

In [5]: def bar(*args, **kwargs):
   ...:     print(kwargs)
   ...:

In [6]: bar(**foo, baz=2)
{'baz': 2, '1': 1}

I use Python 3.4.2, it doesn't work with above example, I'll try to install Python 3.5.
And I think it should be better to be compatible with the old version:)
Thank you all.

Try Anaconda. I could not praise it enough.

Thank you, Python3.5 works OK for me.
BTW:
The follow code style worked with Python 3.4.2
So， could you change the code in steem.py in this way?
foo = {'1': 1}

def bar(*args, **kwargs):
        print(kwargs)

bar(baz=2, **foo)

I updated the code which hopefully resolves the issue .. would you please try the develop branch?


Fix mixin errors

This PR
This PR fixes the mixin errors with the BackpackUtilsMixin. The mixin seems to be working correctly when I tested in a production MultiMC instance. However, something seems to be preventing the backpack from being put back on the player. Instead the backpack currently just appears back in the player's inventory upon respawning.

I seem to have fixed it. You can check out the new code. But I find that placing the backpack on the ground and picking it up again does not restore the enchantment. I need to try and fix it again.

I'm pretty sure that's a problem with Traveler's Backpack because that happens for the other soulbound enchantments too.

I have an idea: If there is soulbound enchantment, add a nbt to the block entity when placing it, and automatically enchant the dropped item stack when digging out or picking it up.


How to identify different sections (and modes)?

Section multiplexing is an important task/function for media server. It isn't clear how to identify different sections from the spec. I have taken a glance on libavtransport/connection.c, looks like it use some special designed url. It doesn't included or referenced by the spec.
RTMP has tcUrl (rtmp://host:port/app/instance) in stream, SRT has streamid
https://haivision.github.io/srt-rfc/draft-sharabayko-srt.html#section-<IP_ADDRESS>
If avtransport protocol doesn't intend to include in-band section identifier, some suggestions on out-of-band identifier will be helpful for  interoperation.

Off topic question (will be deleted after): have you  got my email with vc-6 specification? I’m afraid it may went to the spam directory.

I simply hadn't considered this yet. RIST did not have any ID either until recently (TR-06-3:2022, and only in the advanced profile).

SRT and RIST both originate from the broadcasting industry, with not much consideration for internet application scenarios.

I've added a 128-bit sender UUID field, as well as a 32-bit session_id field. The idea is that session_id will increment once every time the sender opens a stream, helping receivers figure out if a stream was cut out. The sender UUID field will be used for access control: https://cyanreg.github.io/avtransport/#session-start-packets-sender_uuid

UUID is efficient to handle. However, it's not very flexible when deal with millions of sends.

Tunneling multiple streams over the same singlecast UDP or UDP-Lite connection (host+port) is not allowed. Instead, QUIC should be used instead, which natively supports this, or Multicast groups. An exception to this are bidirectional streams, where a single UDP singlecast connection supports both an input and an output stream.

I have taken a glance on libavtransport/connection.c, looks like it use some special designed url. It doesn't included or referenced by the spec.

I've added this to the specifications. Previously, it was in the readme: https://cyanreg.github.io/avtransport/#uri-scheme

Not very flexible? I don't get it. The only advantage a URL has over an identifier is a destination. Does the receiver need to know its own address to route packets better?

With millions of sends and thundreds of servers, generate, maintain and check UUID needs some careful handling. With URL, it's easy to keep it unique, and do some check first against a designed rules, without the need to access a central control. And URL works better with proxy, I think.

Could you explain the architecture you're thinking of?

I'm planning to check some media server implementation like nginx-rtmp or srs, but didn't got the time yet.


List variations of similar PII (SSN, Social Security Number)

What:
List variations of similar PII (SSN, Social Security Number)
Why:
We want to understand how much variance there is and if we need to do some standardization. It could effect how we build search (fuzzy search, multiple search terms, etc.)
How:
Just list out the variations somewhere readable.
Acceptance:
Review with team, be prepared to present to partners.

@brianrfox did some early research on the variance found in the PIAs.


fix: add explicit node-fetch dependency

What/Why/How?
Fixes #1260
Reference
Testing
Screenshots (optional)
Check yourself

[ ] Code is linted
[ ] Tested with redoc/reference-docs/workflows (internal)
[ ] All new/updated code is covered with tests

Security

[x] Security impact of change has been considered
[x] Code follows company security practices and guidelines

Hi! Could you add a patch changeset?

Done thanks!

Thanks all! when do we expect a new version to be released? would unblock me :)

Thank you for contributing, @billytrend-cohere 🎉
I'd like to make the release today. Waiting for approvals.

Released


[Script]: BMI calculator gui

Aim
This is a simple BMI (Body Mass Index) calculator implemented in Python using a Graphical User Interface (GUI) with Tkinter.
Details
Tkinter: This is the standard Python GUI library used to create the graphical interface for the BMI calculator.
It will calculate bmi of person.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

Go Ahead @Swapnil-2503

please assign me this issue as i have already created the PR #2171


Rename traits

There is currently a naming convention on traits that they are supposed to start with something like Is or Has. We should get rid of it

With has  there shouldn't be any problems. But with is, if we just remove them there will be a name collision between the concrete instantiation and the trait.

Fwiw, naming the trait and the struct the same thing isn't the worst. You could always partially or fully qualify the trait. For example, math::traits::Field, which is fine as you likely only use the trait in one place per file. You can also do a renaming import: use math::traits::Field as FieldTrait. Both are fine for clarity's sake and avoids awkward naming conventions.

Fwiw, naming the trait and the struct the same thing isn't the worst.
You could always partially or fully qualify the trait. For example, math::traits::Field, which is fine as you likely only use the trait in one place per file.
You can also do a renaming import: use math::traits::Field as FieldTrait.
Both are fine for clarity's sake and avoid awkward naming conventions.

I agree with this, we should take a similar approach.

The naming convention we used is: "Nouns only for structs". Every name that is not a noun is allowed for a trait. For example adjectives, verbs, or things like "IsSomething" are all allowed. The "Is" or "Has" prefix is not mandatory, but we found it more declarative in some cases, specially when you see variable types:  where F: IsField.
In my opinion it would be good if we have some kind of naming convention, it doesn't have to be this one necessarily.

The naming convention we used is: "Nouns only for structs". Every name that is not a noun is allowed for a trait. For example adjectives, verbs, or things like "IsSomething" are all allowed. The "Is" or "Has" prefix is not mandatory, but we found it more declarative in some cases, specially when you see variable types:  where F: IsField.
In my opinion it would be good if we have some kind of naming convention, it doesn't have to be this one necessarily.

I think the "Is" or "Has" or any prefix for that matter feels very un-rust-like. I feel in my rust experience most libraries would prefer to pub mod trait and qualify the trait or import rename.


Crash in RQ backend when listing large directories

The server crashes in certain conditions when using the RQ backend and listing the contents of very large directories. The issue does not manifest when the server is run standalone, but when running through node.js as a shared library there is a crash. To reproduce:

Create a directory in DAM with 1,500 files
Mount the server and browse to the directory
Observe the crash

The root cause of the issue is that the RQ backend tree's list method is using function recursion to iterate all the files in a directory. With large directories this leads to a large number of recursions, which causes a stack overflow.
I will be submitting a pull request that refactors the offending code so it doesn't use recursion.

Has this been included in a release?

Has this been included in a release?

@oxygen yes: https://github.com/adobe/node-smb-server/releases/tag/v0.10.28


PHP class variables

I see that you can document variables in a function or in a class. Is there a way to have docblockr automatically add @var documentation for class variables to the class's documentation when I press /** and enter?

Not sure if there is a configuration for it... if there is, it should be documented in the README. Closing this in an attempted to clean up the issue tracker.


Only getting ??? for UTF-8 text

Im using Android with Kotlin and fuelAndroid/Gson/Coroutines.
httpPost response gives me:
???
instead of
ไทย
Thats what the InputStreamReader gives me so its not a Gson problem.
The InputStreamReader says ist UTF-8.
I tested the server with ARC where the response was fine.
In the FuelManager baseHeaders I set "Content-Type" to "application/json; charset=utf-8"

According to the specs, default encoding of application/json is UTF-8. What is ARC?
Sent with GitHawk

Sorry, Advanced REST client, a tool like postman.

Hmm, I use this regularly when interacting with lots of Japanese characters and it works perfectly fine. I believe it should be the same with Thai character.
Could you please help us by posting some snippet of code to demonstrate the problem? If the API is accessible, then it would be awesome!

I used the same API in another project, where its still working fine.
So I removed coroutines and switched back to the same version: 2.0.1.
Still not working, if im not missing something its the exact same code now.
Is there something else that could have changed this?

Sorry, 100% my bad. Was a server issue after all.


Linked Contact Us on Navbar to Footer

Related Issue

Contact us on navbar wasn't linked to that on footer

Fixes: #75
Describe the changes you've made
I added a function to allow scrolling to contact us on footer when 'contact us' on navbar is clicked.
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] My changes generate no new warnings.

Screenshot

@all-contributors please add @KarishmaVanwari  for bug


Prevent auto-restart to VMs even when there is a change

some changes force a restart to the vm randomly
like for example if you change the disk size, sometimes the provider triggers a restart and sometimes it put it as a pending change for the VM
we would like to request to allow or prevent proxmox from restarting the vms even if there is a change that requires a restart,

If you've got a couple of scenarios where it's running restarts vs putting in a pending change might be worth debugging it and putting in a PR? This project has a lot of open issues and this issue is too vague for anyone to really dig into apart from you.

some changes force a restart to the vm randomly
Certainly won't be random.

I faced it again, and somehow I did not see your reply.
we face it randomly when we increase the non-root disk size, sometimes VMs won't restart and sometimes they do.
It would be nice to notify the user on the terraform plan that this change will cause a VM restart, and if there is a way to prevent such an action even if it is required.


acs-engine scaling failed with error [segmentation violation code=0x1 addr=0x8 pc=0x11aa9be]

Is this a request for help?:
Yes

Is this an ISSUE or FEATURE REQUEST? (choose one):ISSUE

What version of acs-engine?:0.18.9
Orchestrator and version (e.g. Kubernetes, DC/OS, Swarm)
Kubernetes (1.9.8)
What happened:
[36mINFO[0m[0000] validating...
[36mINFO[0m[0001] Name suffix: %s 15892004
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x8 pc=0x11aa9be]
goroutine 1 [running]:
github.com/Azure/acs-engine/cmd.(*scaleCmd).run(0xc420386000, 0xc42037c6c0, 0xc42035f320, 0x0, 0x12, 0x0, 0x0)
/Users/jackfrancis/work/src/github.com/Azure/acs-engine/cmd/scale.go:224 +0x38e
github.com/Azure/acs-engine/cmd.newScaleCmd.func1(0xc42037c6c0, 0xc42035f320, 0x0, 0x12, 0x0, 0x0)
/Users/jackfrancis/work/src/github.com/Azure/acs-engine/cmd/scale.go:69 +0x52
github.com/Azure/acs-engine/vendor/github.com/spf13/cobra.(*Command).execute(0xc42037c6c0, 0xc42035f200, 0x12, 0x12, 0xc42037c6c0, 0xc42035f200)
/Users/jackfrancis/work/src/github.com/Azure/acs-engine/vendor/github.com/spf13/cobra/command.go:647 +0x3f1
github.com/Azure/acs-engine/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xc42032f8c0, 0xc42037c6c0, 0xc42037c480, 0xc42037c240)
/Users/jackfrancis/work/src/github.com/Azure/acs-engine/vendor/github.com/spf13/cobra/command.go:726 +0x2fe
github.com/Azure/acs-engine/vendor/github.com/spf13/cobra.(*Command).Execute(0xc42032f8c0, 0xc42000c018, 0x0)
/Users/jackfrancis/work/src/github.com/Azure/acs-engine/vendor/github.com/spf13/cobra/command.go:685 +0x2b
main.main()
/Users/jackfrancis/work/src/github.com/Azure/acs-engine/main.go:12 +0x74
What you expected to happen:
Correct scaling of the cluster
How to reproduce it (as minimally and precisely as possible):
/root/deploy/acs-engine/acs-engine scale --auth-method client_secret --client-id $AZURE_CLIENT_ID --client-secret $AZURE_CLIENT_SECRET --subscription-id $AZURE_SUBSCRIPTION_ID --resource-group $AZURE_RESOURCEGROUP --location westeurope --deployment-dir tmpDir --new-node-count $NODE_COUNT --master-FQDN $AZURE_RESOURCEGROUP.westeurope.cloudapp.azure.com
Anything else we need to know:

Hi @saromba, could share you cluster configuration json (after removing secrets)? Did you manually change anything in the generated azuredeploy.json before deploying?

Here's similar issue https://github.com/Azure/acs-engine/issues/2649 that was fixed a while ago in case that helps.

Hi @CecileRobertMichon: Which file do you need? There are many files during the provisioning.
How is it called?

@saromba apimodel.json but make sure you remove all secrets

@CecileRobertMichon
Hi, something new here?
Regards,
saromba

@saromba no update yet, I wasn't able to repro and then went on vacation. I'll try to give it another look this week. Did you by any chance scale or upgrade your cluster previously? Or was this cluster in its original state when you attempted to scale?

Hi @CecileRobertMichon,
we fixed that ourselves, scaling is now possible again...
See that "vmTags stuff" -> Cmd/scale.go_
ndexToVM := make(map[int]string)
if sc.agentPool.IsAvailabilitySets() {
   for vmsListPage, err := sc.client.ListVirtualMachines(ctx, sc.resourceGroupName);     vmsListPage.NotDone(); err = vmsListPage.Next() {
  if err != nil {
     return errors.Wrap(err, "failed to get vms in the resource group")
  } else if len(vmsListPage.Values()) < 1 {
     return errors.New("The provided resource group does not contain any vms")
  }
  for _, vm := range vmsListPage.Values() {
     vmTags := vm.Tags
     poolName := *vmTags["poolName"]
     nameSuffix := *vmTags["resourceNameSuffix"]

     //Changed to string contains for the nameSuffix as the Windows Agent Pools use only a substring of the first 5 characters of the entire nameSuffix
     if err != nil || !strings.EqualFold(poolName, sc.agentPoolToScale) || !strings.Contains(sc.nameSuffix, nameSuffix) {
        continue
     }

     osPublisher := vm.StorageProfile.ImageReference.Publisher
     if osPublisher != nil && strings.EqualFold(*osPublisher, "MicrosoftWindowsServer") {

}
} else {
   for vmssListPage, err := sc.client.ListVirtualMachineScaleSets(ctx, sc.resourceGroupName); vmssListPage.NotDone(); vmssListPage.Next() {
  if err != nil {
     return errors.Wrap(err, "failed to get vmss list in the resource group")
  }
  for _, vmss := range vmssListPage.Values() {
     vmTags := vmss.Tags
     poolName := *vmTags["poolName"]
     nameSuffix := *vmTags["resourceNameSuffix"]

     //Changed to string contains for the nameSuffix as the Windows Agent Pools use only a substring of the first 5 characters of the entire nameSuffix
     if err != nil || !strings.EqualFold(poolName, sc.agentPoolToScale) || !strings.Contains(sc.nameSuffix, nameSuffix) {
        continue

Regards,
saromba

Hi @saromba, I'm glad to hear that you are unblocked. Was the root cause that the VM tags were missing? How can we fix this so that others don't run into the same issue?

@CecileRobertMichon Based on @saromba's comment, I cheched our VM tags and found both poolName and resourceNameSuffix present.

@ryanlovett can you please share your apimodel and exact steps you took so I can try and repro?

We had manually added a non-cluster VM to the resource group and this VM did not have those tags. I just manually added them and acs-engine hasn't crashed yet.
I think scale.go should check for whether the poolName and resourceNameSuffix tags exist before trying to reference them. I know nothing about go, otherwise I'd create a PR.

@ryanlovett agreed, we have an issue tracking this problem at https://github.com/Azure/acs-engine/issues/3663. I will close this one.

Great, thanks!


Add go.mod

Thought I'd add this to make the project compatible with go modules. This fixes an issue with build where go get fails. Now the build should (in theory) only fail if tests don't pass.

Ran go mod tidy -go=1.17
Ref: https://golang.org/doc/go1.17#go-command

Pinging @piazzamp


[RFE] Mock events using the Twitch CLI tool

Is your feature request related to a problem? Please describe.
When I trigger a mock event using the Twitch CLI tool
twitch-cli.exe event trigger subscribe -t 265345534 -F http://localhost:8080/teswh/event

I get a [401] Request Sent response. It would be great if this application could handle mock events coming from the CLI tool.
Describe the solution you'd like
[200] Success for all mock events coming from the CLI tool, which are currently:

subscribe
unsubscribe
gift
cheer
transaction
add-reward
update-reward
remove-reward
add-redemption
update-redemption

Describe alternatives you've considered
If there is no way to integrate the Twitch CLI tool, tesjs-specific commands to mock events for the CLI would be very helpful.

This is definitely a good idea.  I'll look into this soon

This is definitely a good idea.  I'll look into this soon

There are two req.header attributes that can be used to detect the CLI:
'user-agent': 'twitch-cli/0.1.0',
'twitch-eventsub-subscription-version': 'test'

So the verify() method could simply be extended to scan for these attributes. But since they could easily be faked and I could not find any header signature attributes I stopped to submit a PR. Any other ideas?

There are two req.header attributes that can be used to detect the CLI:
'user-agent': 'twitch-cli/0.1.0',
'twitch-eventsub-subscription-version': 'test'

So the verify() method could simply be extended to scan for these attributes. But since they could easily be faked and I could not find any header signature attributes I stopped to submit a PR. Any other ideas?

Yeah, it is tough to allow things through based on headers alone.  I would assume that using the CLI to mock events would be only used for testing in development, so maybe including a development (or something similar) flag in the TESjs config could be the workaround for this problem?  That way TESjs will only accept requests with those headers in 'development' mode and ignore them when not in development mode?
This is one option, I'm going to play around with the CLI some soon as well and see if I come up with any other ideas.

Yeah, it is tough to allow things through based on headers alone.  I would assume that using the CLI to mock events would be only used for testing in development, so maybe including a development (or something similar) flag in the TESjs config could be the workaround for this problem?  That way TESjs will only accept requests with those headers in 'development' mode and ignore them when not in development mode?
This is one option, I'm going to play around with the CLI some soon as well and see if I come up with any other ideas.

EDIT:
One thing you may want to try as well, is including your secret when mocking an event in the CLI using the -s flag.  This would make your command look something like this:

EDIT:
One thing you may want to try as well, is including your secret when mocking an event in the CLI using the -s flag.  This would make your command look something like this:

Gonna close this as there hasn't been any updates for a while.  While I do think adding functionality to TESjs that would trigger events through the CLI would be nice, it seems a bit impractical to me to include in the library (and also adds a dependency for the end-user).  However, I will be adding this as part of the TESjs test suite as part of #36.  This will not change how TESjs works but will hopefully give it a more realistic/robust set of tests.
All of that said, testing using the CLI should work given the command input is correct (this will be verified when work on #36 is complete).  If you want to test your own application, I would suggest making a script that runs the Twitch CLI so you don't have to run commands manually each time you want to test.


Fix TypedData parsing for null values and BigIntegers

Describe your changes
Return Felt.ZERO when value of field is null
Convert string to BigInteger instead of Long
Linked issues
Closes https://github.com/software-mansion/starknet-jvm/issues/251
Breaking changes

[ ] This issue contains breaking changes

Codecov Report
Patch coverage: 66.66% and project coverage change: +2.38 :tada:

Comparison is base (fc01d67) 70.24% compared to head (e8a0164) 72.62%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #252      +/-   ##
==========================================
+ Coverage   70.24%   72.62%   +2.38%
==========================================
  Files          60       60
  Lines        1791     1797       +6
  Branches      136      139       +3
==========================================
+ Hits         1258     1305      +47
+ Misses        493      448      -45
- Partials       40       44       +4

Impacted Files
Coverage Δ

.../kotlin/com/swmansion/starknet/data/types/Event.kt
44.73% <0.00%> (+13.15%)
:arrow_up:

...in/kotlin/com/swmansion/starknet/data/TypedData.kt
91.02% <33.33%> (-2.40%)
:arrow_down:

...izers/GatewayGetBlockTransactionCountSerializer.kt
75.00% <66.66%> (+41.66%)
:arrow_up:

...swmansion/starknet/provider/rpc/JsonRpcProvider.kt
87.84% <100.00%> (+1.32%)
:arrow_up:

... and 3 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


REQ: Tab for country cases per capita (million)

User P. Tuffy recommends:
_ Great application - loving it!
When looking at cases by country, there are currently tabs to view cases, deaths and mortality rate as a function of time (per day). I would request or recommend to add "cases per capita (million)" to these tabs._

See #409


Update global-dist-under-the-hood.md

changing a typo from "moajority" to "majority"

@rocavalc : Thanks for your contribution! The author(s) have been notified to review your proposed change. @elioda

Looks good; merging. Thanks for the typo fix @rocavalc.


docs: minor documentation changes

Hello @ORKO06!
Luckily I don't see those parts in the latest react.dev, which makes this PR outdated.
Let me close this, but you can create new PRs for other open issues if you still would like to contribute.
Thank you!


Icon request: Enom

URL of the site or app (required): https://www.enom.com/
Logo resources for the icon (optional, but recommended):

Here you go!
https://github.com/aegis-icons/aegis-icons/blob/master/PNG/Enom.png

Thank you!


Add Social Preview to GitHub Settings

Description
We currently have the default unfurl GH thing happening and it should be better, so let's do that.
See https://github.com/infinitered/nsfwjs/settings for an example

Added via settings


not detecting all nearby devices

i have 2 device Samsung galaxy a30 and there are Bluetooth Low Energy supported
and i can't find him when used react-native-ble-plx manager.startDeviceScan
and i have 2 laptops
first laptop windows 10 just i find id and  the device name is shown as null and when Restart Bluetooth the addres bluetooth is changed
seconde laptop macbook pro and i can't find id or any thing
and this is my code
export const App = () => {
      const manager = new BleManager();

      manager.startDeviceScan(null, { scanMode: 2, }, (error, device) => {
          if (error) {
              console.log('error', error)
              return
          }

          if (device !== null) {
                console.log(device)
          }
      }
  }

i had edit my android/app/src/main/AndroidManifest.xml

i used

 "react": "16.13.1",
 "react-native": "0.63.3",
 "react-native-ble-plx": "^2.0.1",

Hello,
This is not a bug. Not all devices are advertising themselves. They can change advertised MAC addresses. They may not advertise their names.
Best regards


[Consistency] Add Repo name + author to more options actionsheet

@BasThomas You mean on Repo screen more option button?

Yep!
Sent with GitHawk


Remove VERIFY_DEPLOYMENT_USER

@jugnu-appveen

Closing this PR since the recently merged ENV changes is causing merge conflicts

Closing this PR since the recently merged ENV changes is causing merge conflicts


Add is_virtual and virtual support for Nutanix AHV

Prior to this change facter returned:
$ facter is_virtual
false
$ facter virtual
physical

After this change facter returns:
$ facter is_virtual
true
$ facter virtual
ahv

Systems running on Nutanix AHV are correctly recognized now.

Can one of the admins verify this patch?

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

@h0tw1r3 could you give it a look? It would be very helpful to have it in the code and I think puppetlabs/phoenix is no longer active.

@eman-koch I'm not on the team, and I'm definitely not familiar with Nutanix AHV.
General feedback:
Seems to be missing some things. The only file modified is a windows resolver.  The virtual fact uses virt-what under the hood.
I would also expect a hypervisor fact, see some examples here: https://github.com/puppetlabs/facter/tree/main/lib/facter/facts/linux/hypervisors
Don't forget to add spec tests!

I also see this bug on Windows VMs running on Nutanix AHV with Puppet 8.3.1, facter 4.5.1, PE 2023.5.0.
@h0tw1r3 this is a fix for facter running on Windows only, not Linux, so virt-what isn't applicable. These facts are already correct for Linux VMs running under Nutanix AHV, but they are incorrect for Windows VMs on Nutanix AHV. The hypervisors fact is already correctly reported as kvm on Windows (Nutanix AHV is really just a rebranded KVM).
Looks like AHV should be added to some tests though.

Seems like this might have gotten lost somehow in the conversion from C++ to Ruby: #1817.

I rebased this on current main and added a test in #2692.

This commit was merged in the linked PR so closing this one.


appending .json to urls

rails controller actions that respond to both html and json require a .json appended to the end of the url to signify that a json response is expected.
addressing this by adding a 'trailingJson' option for the new JsonApi constructor is straightforward and I can add a PR, but is there something wrong w/ this approach?

i addressed this by making json the default for my routes


CI: fix free-disk-space task

ensure package lists are up to date
remove all jre components

Yeah, just noticed...

Cherry-picked the second patch into meta-iot2050, and that seems to work for now.


Bootstrap a Golang REST API Project

As a part of our ongoing development efforts, we need to bootstrap a new project written in Golang. The core functionality of this project will be a REST API.
Here are the specific tasks that need to be addressed:
Project Initialization: Set up the initial project structure using Go modules. The structure should follow best practices for Golang project organization. Provide a clear README.md with instructions for cloning, installing dependencies, and running the project.
Dependency Management: Define the necessary dependencies for the project. This includes any libraries needed for creating the REST API, such as net/http or any other preferred frameworks like Gin or Echo. Configure these dependencies in the go.mod file.
Configuration of REST Endpoints: Set up a basic REST API structure in the main.go file. This should include at least one example each of a GET, POST, PUT, and DELETE request handler. These endpoints should return dummy data for now.
Testing: Create a basic unit test case for the REST endpoints using Go's built-in testing package.

If you desire, I can generate an illustrative framework using the Command Line Interface (CLI) I am currently developing, which we can either utilize as is or commence our project from it.

I am leveraging popular libraries such as Gin, Wire, Errors and so on.


[Error] ERROR:  value "1672295751103" is out of range for type integer

Describe the bug
Viewing logs on attached tmux on Nostream v1.14.0 I see the following error:

ERROR:  value "1672295751103" is out of range for type integer
db              | 2022-12-29 06:36:05.620 UTC [153356] ERROR:  value "1672295751103" is out of range for type integer
db              | 2022-12-29 06:36:05.620 UTC [153356] CONTEXT:  portal "C_75670" parameter $2 = '...'
db              | 2022-12-29 06:36:05.620 UTC [153356] STATEMENT:  select * from "events" where "event_kind" in ($1) and "event_created_at" >= $2 order by "event_created_at" asc

To Reproduce
Not sure of the steps to reproduce but I wanted to report it for reference/documentation purpose.
Screenshots

System (please complete the following information):

OS: Ubuntu
Platform: Docker
Version: 1.14.0

Logs

db              | 2022-12-29 06:36:05.620 UTC [153356] ERROR:  value "1672295751103" is out of range for type integer
db              | 2022-12-29 06:36:05.620 UTC [153356] CONTEXT:  portal "C_75670" parameter $2 = '...'
db              | 2022-12-29 06:36:05.620 UTC [153356] STATEMENT:  select * from "events" where "event_kind" in ($1) and "event_created_at" >= $2 order by "event_created_at" asc
nostr-ts-relay  | unable to handle message error: value "1672295751103" is out of range for type integer
nostr-ts-relay  |     at Parser.parseErrorMessage (/app/node_modules/pg-protocol/dist/parser.js:287:98)
nostr-ts-relay  |     at Parser.handlePacket (/app/node_modules/pg-protocol/dist/parser.js:126:29)
nostr-ts-relay  |     at Parser.parse (/app/node_modules/pg-protocol/dist/parser.js:39:38)
nostr-ts-relay  |     at Socket. (/app/node_modules/pg-protocol/dist/index.js:11:42)
nostr-ts-relay  |     at Socket.emit (node:events:513:28)
nostr-ts-relay  |     at addChunk (node:internal/streams/readable:324:12)
nostr-ts-relay  |     at readableAddChunk (node:internal/streams/readable:297:9)
nostr-ts-relay  |     at Readable.push (node:internal/streams/readable:234:10)
nostr-ts-relay  |     at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
nostr-ts-relay  |   length: 153,
nostr-ts-relay  |   severity: 'ERROR',
nostr-ts-relay  |   code: '22003',
nostr-ts-relay  |   detail: undefined,
nostr-ts-relay  |   hint: undefined,
nostr-ts-relay  |   position: undefined,
nostr-ts-relay  |   internalPosition: undefined,
nostr-ts-relay  |   internalQuery: undefined,
nostr-ts-relay  |   where: portal "C_75670" parameter $2 = '...',
nostr-ts-relay  |   schema: undefined,
nostr-ts-relay  |   table: undefined,
nostr-ts-relay  |   column: undefined,
nostr-ts-relay  |   dataType: undefined,
nostr-ts-relay  |   constraint: undefined,
nostr-ts-relay  |   file: 'numutils.c',
nostr-ts-relay  |   line: '226',
nostr-ts-relay  |   routine: 'pg_strtoint32'
nostr-ts-relay  | }
db              | 2022-12-29 06:37:51.686 UTC [27] LOG:  checkpoint starting: time
db              | 2022-12-29 06:37:55.416 UTC [27] LOG:  checkpoint complete: wrote 38 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=3.720 s, sync=0.003 s, total=3.731 s;
sync files=11, longest=0.002 s, average=0.001 s; distance=205 kB, estimate=322 kB
db              | 2022-12-29 06:39:30.395 UTC [176656] ERROR:  value "1672281570251" is out of range for type integer
db              | 2022-12-29 06:39:30.395 UTC [176656] CONTEXT:  portal "C_76081" parameter $2 = '...'
db              | 2022-12-29 06:39:30.395 UTC [176656] STATEMENT:  select * from "events" where "event_kind" in ($1) and "event_created_at" >= $2 order by "event_created_at" asc
nostr-ts-relay  | unable to handle message error: value "1672281570251" is out of range for type integer
nostr-ts-relay  |     at Parser.parseErrorMessage (/app/node_modules/pg-protocol/dist/parser.js:287:98)
nostr-ts-relay  |     at Parser.handlePacket (/app/node_modules/pg-protocol/dist/parser.js:126:29)
nostr-ts-relay  |     at Parser.parse (/app/node_modules/pg-protocol/dist/parser.js:39:38)
nostr-ts-relay  |     at Socket. (/app/node_modules/pg-protocol/dist/index.js:11:42)
nostr-ts-relay  |     at Socket.emit (node:events:513:28)
nostr-ts-relay  |     at addChunk (node:internal/streams/readable:324:12)
nostr-ts-relay  |     at readableAddChunk (node:internal/streams/readable:297:9)
nostr-ts-relay  |     at Readable.push (node:internal/streams/readable:234:10)
nostr-ts-relay  |     at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
nostr-ts-relay  |   length: 153,
nostr-ts-relay  |   severity: 'ERROR',
nostr-ts-relay  |   code: '22003',
nostr-ts-relay  |   detail: undefined,
nostr-ts-relay  |   hint: undefined,
nostr-ts-relay  |   position: undefined,
nostr-ts-relay  |   internalPosition: undefined,
nostr-ts-relay  |   internalQuery: undefined,
nostr-ts-relay  |   where: portal "C_76081" parameter $2 = '...',
nostr-ts-relay  |   schema: undefined,
nostr-ts-relay  |   table: undefined,
nostr-ts-relay  |   column: undefined,
nostr-ts-relay  |   dataType: undefined,
nostr-ts-relay  |   constraint: undefined,
nostr-ts-relay  |   file: 'numutils.c',
nostr-ts-relay  |   line: '226',
nostr-ts-relay  |   routine: 'pg_strtoint32'
nostr-ts-relay  | }
db              | 2022-12-29 06:42:51.466 UTC [27] LOG:  checkpoint starting: time

Thanks for the report @Sakhalinfox !


fix error when filter value not found in items set

It’s my first time contributing to a public repo so let me know if anything needs to be corrected. I added a test to explain the specific usecase covered.
This pr is adding the possibility of having a non existing value in the filters. We want to have a predefined set of filters, but also having the possibility that the filtered data (items) will sometimes not include one of the options.
example: possible filters for categories would be comedy, drama or thriller by default, but the related items would only contains comedy or drama categories. Added a fallback to an empty FastBitset when needed, so it would not break.
Let me know if any changes are necessary and thanks for the lib!

Actually, this is correct when conjoncture:true.
But when false, ItemsJS applies the OR operator between filter values, so a non-existing value should just be ignored.
I added both tests with different conjunctions to ensure we apply the proper behaviour.
WDYT ?

Looks great to me! Merging now.

Released new version https://github.com/itemsapi/itemsjs/releases/tag/v2.1.22

awesome, thanks for your help 🙏


Added MIT license

Coverage remained the same at 82.318% when pulling 785e42647de8eee3959c215aaa97cfa1119f54fe on dev into 58943a1e43122f53c57806153c8480d715b98b37 on master.


Unsupervised learning missing content

Mix 【open-machine-learning-jupyter-book\ml-advanced\unsupervised-learning-pca-and-clustering.md】 and 【D:\2023\machine-learning\open-machine -learning-jupyter-book\ml-advanced\unsupervised-learning.md】
Change _toc
So that the chapter 【https://press.ocademy.cc/ml-advanced/unsupervised- learning.html】 displays instructional content and visualizations (i.e., embedded html)


ol.interaction.Modify does not work well with map rotation

Hey there, we have an issue regarding the modify interaction. After drawing some ol.geom.Point(s) on the map, we wanted them to be modifiable via user interaction. The problem is, that when the map has a specific rotation, the size of the created box  src/ol/interaction/modify.js#L707 varies: http://d.pr/i/NPsV (used rotation e.g. map.getView().setRotation(0.78)).
We figured out that if the box is created from 4 points instead of only two, the box size is closer to the desired state. This box also varies in size and the highlighting / detection of the modifiable point does not match yet: http://d.pr/i/mPSr
  var upperLeft = map.getCoordinateFromPixel(
    [pixel[0] - this.pixelTolerance_, pixel[1] + this.pixelTolerance_]);
  var lowerLeft = map.getCoordinateFromPixel(
    [pixel[0] - this.pixelTolerance_, pixel[1] - this.pixelTolerance_]);
  var upperRight = map.getCoordinateFromPixel(
    [pixel[0] + this.pixelTolerance_, pixel[1] + this.pixelTolerance_]);
  var lowerRight = map.getCoordinateFromPixel(
    [pixel[0] + this.pixelTolerance_, pixel[1] - this.pixelTolerance_]);

  var box = ol.extent.boundingExtent([upperLeft, upperRight, lowerRight, lowerLeft]);

This behaviour can be tested with every modify example from http://openlayers.org/en/latest/examples/?q=modify (make sure the rotation is set to (e.g) 0.78).

#6064 implement the suggestion from above, though with less code.


Sentry v8 with Nextjs 14.2.1

closed because of https://github.com/getsentry/sentry-javascript-examples/pull/22


Multiple issues with StackedBarChart

Using the example from the README I've found multiple problems with the StackedBarChart.

chartConfig: backgroundColor doesn't do anything.  No matter what color I set it to it just renders black.  To get a solid color background I have to set the backgroundGradientFrom and backgroundGradientTo properties to the same value.
withHorizontalLabels and withVerticalLabels seem to be reversed.  I would expect withHorizontalLabels to hide/show the labels along the X-axis and withVerticalLabels to hide/show the labels along the Y-axis, but they do the opposite.
chartConfig: 'decimalPlaces` doesn't do anything.  The labels always show with 2 decimal places, no matter what value I place in this property.
showLegend property doesn't do anything.  The legend is always visible, no matter what value you put in this property.

I found out if I set an empty array in the legend attribute then it's fine: legend: []

My main problem right now is with the decimalPlaces being ignored.

@pjanaya managed to remove the decimal places from the horizontal label?

@pjanaya managed to remove the decimal places from the horizontal label?

Well, yeah... The issue is in the code. At some point, they updated the other charts to react to decimalPlaces but they didn't update the StackedBarChart.

@pjanaya I couldn't, I looked in the code, I want to remove the decimals from BarChat, because I want to show whole days, can you explain how?

@pjanaya I couldn't, I looked in the code, I want to remove the decimals from BarChat, because I want to show whole days, can you explain how?

I think the issue was related to the open PR #330.

My main problem right now is with the decimalPlaces being ignored.

Not sure why but in case of StackedBarChart there's a prop called decimalPlaces which controls the number of digits that are shown in Y-Axis offsets so to hide decimal part all you have to do is
<StackedBarChart
    data={data}
    ...
    decimalPlaces={0}
/>


WASM Core definitions are not extracted

While studying back references (#346), I discovered we're not extracting any definition from the wasm-core spec, which seems to be using an ad-hoc editing tool before casting it to W3C format through automated conversion to bikeshed, but losing all notion of defnitions in the process (from a quick glance)

https://github.com/w3c/sphinx-to-tr is relevant to this


Indian Content Providers

Could you please consider adding the following websites to the list of providers for this app?

iBomma: This site offers content in the Telugu language from India.
MovierulzHD: This website features content in all Indian languages.

Thank you for your consideration.

sure !

Please this would  be the best thing ever!!!

Pls add 😊

I get this error and problem in the Android TV and Android mobile versions. Please add more providers for Flixclusive, thanks. In English and Latin Spanish

FlixHQ provider is not working properly

FlixHQ provider is not working properly

Yeah. They changed it again, sigh

Sudo-Flix
SuperStream
Also these providers do not work on some movies and series like FlixHQ provider

@Doctor2023 will be posting updated commits soon for FlixHQ. but please open up a new issue on this repo
Thanks for the heads up brother!

I get this error and problem in the Android TV and Android mobile versions. Please add more providers for Flixclusive, thanks. In English and Latin Spanish

The same happens to me friend

I get this error and problem in the Android TV and Android mobile versions. Please add more providers for Flixclusive, thanks. In English and Latin Spanish

The same happens to me friend

I get this error and problem in the Android TV and Android mobile versions. Please add more providers for Flixclusive, thanks. In English and Latin Spanish

The same happens to me friend

Ok, I understand you, we have the same problem.

@rhenwinch

That error is completely another issue #10 and not related to this issue. Please refer to that

Provider stremio problem  errors  app Flixclusive

Provider stremio problem errors app Flixclusive

Provider stremio problem errors app Flixclusive

I can't add stremio addons

Provider stremio problem errors app Flixclusive version beta stremio provider

@popcorn2024ok @Doctor2023 can you restart the app and let it auto-update Stremio. The issue might be fixed now.
If there are any more provider issues, please don't clog the thread up and open a new issue on this repository: https://github.com/Flixclusive/flx-providers
Thanks!

The message appeared again trying to put the stremio addons, I already put restart

I don't get the Stremio video servers when I put on a movie or series app Flixclusive app

provider FlixHQ is under maintenance
on Flixclusive

Hello @rhenwinch

I have problems with the stremio links the videos of all the movies and series do not appear

I have problems with the stremio links the videos of all the movies and series do not appear
Stremio No links found

Did you say what stremio addon you're using?

I have problems with the stremio links the videos of all the movies and series do not appear
Stremio No links found

Did you say what stremio addon you're using?

I'm using torrentio Annatar thepiratebay  jackettio peerflix

You can't use torrent addons without a debrid subscription. Media3 doesn't have torrent support yet.
Try using other open-source addons that provide direct url of the shows/movies instead of just the info hash.

Closing this as someone had recommended the same providers on the flx-providers repo


Support for getting mDns name

Will be cool to get mDns of each IP with the result.
mDns / NSD / DNS-SD / Bonjour.

Can you please look into this package and see if we can get anything from this package multicast_dns

I didn't manage to find our desired function in this package, so I have opened an issue for that
https://github.com/flutter/flutter/issues/96755

My bed, nsd does not belong here.

We can get IP from mDNS name so this one will also be good for us
https://github.com/flutter/flutter/issues/97210

I have created pr for finding mdns on the network, but this feature is limited to finding only srv records that are on the list.
This will not find all mdns devices on the network and is not efficient but this is currently our only option for dart native.
I have added in the code link to the feature request of that in multicast_dns.
For our new and coming network_tools_flutter implementation we will override this method and will call a function that is flutters only and better implemented from nsd package or other package.

Cool pr got merged.
Will close this issue not :D


Parse error with comment in object literal

Strange error for this code:

Looks like a parser bug.
Comments are tokenised and then some should be stored in the AST for hover information etc.
I think your example, is something like
class X {
    // comment 1
    // comment 2
    x() {}
}

I think at moment there are two problems:

Comments other than ones that are /** ... */ are attempted to be stored in the AST (it should skip over // some of the time)
It currently works using WithComment<PropertyKey>, which expects one comment. The parsing for it should collapse multiple comments into one

Will take a look when I have some free time. Or expose the option where the parser skips comments

Given a few lines below there is a async function, which it currently doesn't work in Ezno. It might be a while before you can check that file.


Link to Microsoft Store not working

In the file: windows-driver-docs/windows-driver-docs-pr/debugger/debugger-download-tools.md
the link to download WinDbg Preview goes to a 503 site.
Link should be this: https://apps.microsoft.com/store/detail/windbg-preview/9PGJGD53TN86

Hi @DirkFedermann,
Thank you for reporting this. I've updated the link. I appreciate your help making the docs better.
Thanks!
~ Mark


Version 2.0 returning wrong byte array using raw.sqlite3_value_blob from function parameter

Hello there,
I have a function created with a callback that previously was working fine but after the update to version 2.0 the function sqlite3_value_blob used to get the byte array from the parameters returns a wrong byte array.
Function declaration:
raw.sqlite3_create_function(Database, "functionname", 1, null, handledelegate_function);
And this is the delegate function:
void handledelegate_function(sqlite3_context ctx, object user_data, sqlite3_value[] args) {       byte[] byteArrayParameter = raw.sqlite3_value_blob(args[0]).ToArray(); }
Also, tested it using a different kind of parameter like int and it worked, just getting a blob isn't working.
Am I doing something wrong here or might be an actual issue of the new version?
For now, I downgraded to 1.14 and it's working as expected.
Thanks,
Cheers

I probably need to investigate further.
When you say the byte array is "wrong", could you be more specific?  Like, how is it wrong?

Is the sqlite3_value passed to that function actually a BLOB?
If by chance you could send a small self-contained sample that reproduces the problem, that would be super-helpful.

Yes, I confirmed that the values are actually a BLOBs. Also, to test I change the expected parameter to be a text and then use the hex function to pass the BLOB and got the expected data.
This is an example of what is expected:
30 20 00 00 7a 6f f8 00 2a 00 4b 84
And this is what I'm actually getting (in each call):
00 00 00 00 00 00 00 00 16 00 01 00
This is an example of how the function is called:
INSERT OR IGNORE INTO table_name (     value1   , value2 ) SELECT    value1  , myFunction(value1) FROM temp_table

BTW, this is a Xamarin app and happens in both platforms android and ios

Yeah, it looks like you found a bug.  Not fixed yet, but there is now a test case that reproduces it.  I'm guessing the problem is something simple.

This fix will be in 2.0.1, probably sometime in the next week or so.  I'll close this issue when 2.0.1 is released.

Great! will keep an eye when the update is ready to upgrade.
Thanks.

This should be fixed in 2.0.1, which has been pushed up to nuget.org.


What are the max dates for RunStartedAfter and RunStartedBefore?

How far back does ADF v2 keep run data for?  e.g. can Get-AzureRmDataFactoryV2PipelineRun be used to query for a full year's worth of runs?

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

ID: bf124c4c-3ba1-57ed-3679-8539f2a311fc
Version Independent ID: 4b32b092-c4ad-74aa-58d3-75449d87d306
Content: Programmatically monitor an Azure data factory | Microsoft Docs
Content Source: articles/data-factory/monitor-programmatically.md
Service: data-factory
GitHub Login: @douglaslMS
Microsoft Alias: douglasl

If the PipelineRunId is not specified, then it shows information about all runs for the specified pipeline that happened between the values of
LastUpdatedAfter and LastUpdatedBefore.
Help Output:
PS Azure:> help Get-AzureRmDataFactoryV2PipelineRun
NAME
Get-AzureRmDataFactoryV2PipelineRun
SYNOPSIS
Gets information about pipeline runs.
SYNTAX
Get-AzureRmDataFactoryV2PipelineRun [-DataFactory]  [-PipelineRunId]  [-DefaultProfile ] []
Get-AzureRmDataFactoryV2PipelineRun [-DataFactory] <PSDataFactory> [-LastUpdatedAfter] <DateTime> [-LastUpdatedBefore] <DateTime> [[-PipelineName] <String>]
[-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]

Get-AzureRmDataFactoryV2PipelineRun [-ResourceGroupName] <String> [-DataFactoryName] <String> [-PipelineRunId] <String> [-DefaultProfile <IAzureContextContainer>]
[<CommonParameters>]

Get-AzureRmDataFactoryV2PipelineRun [-ResourceGroupName] <String> [-DataFactoryName] <String> [-LastUpdatedAfter] <DateTime> [-LastUpdatedBefore] <DateTime>
[[-PipelineName] <String>] [-DefaultProfile <IAzureContextContainer>] [<CommonParameters>]

DESCRIPTION
The Get-AzureRmDataFactoryV2PipelineRun command returns information about runs for the specified pipeline. If PipelineRunId is specified, it shows details for the
run with that ID. If the PipelineRunId is not specified, then it shows information about all runs for the specified pipeline that happened between the values of
LastUpdatedAfter and LastUpdatedBefore.
RELATED LINKS
Online Version: https://docs.microsoft.com/en-us/powershell/module/azurerm.datafactories/get-azurermdatafactoryv2pipelinerun
Invoke-AzureRmDataFactoryV2Pipeline
Get-AzureRmDataFactoryV2ActivityRun
REMARKS
To see the examples, type: "get-help Get-AzureRmDataFactoryV2PipelineRun -examples".
For more information, type: "get-help Get-AzureRmDataFactoryV2PipelineRun -detailed".
For technical information, type: "get-help Get-AzureRmDataFactoryV2PipelineRun -full".
For online help, type: "get-help Get-AzureRmDataFactoryV2PipelineRun -online"
Azure:\
Some more comprehensive information regarding the various options you have for programmatically monitoring Data Factory:
https://docs.microsoft.com/en-us/azure/data-factory/monitor-programmatically

@Mike-Ubezzi-MSFT Thanks for the info! Is there a limitation on how far back "all runs for the specified pipeline" goes? The original question from @JoNevi was, "How far back does ADF v2 keep run data for? e.g. can Get-AzureRmDataFactoryV2PipelineRun be used to query for a full year's worth of runs?"

@douglaslMS I have this question out to the product help group (ADF v2 Help) but have not heard back as of yet.

The end user is looking for additional content in regard to data retention for pipeline run activity and running the Get-AzureRmDataFactoryV2PipelineRun cmdlet against that historical data. It would be helpful to detail the capabilities when looking to access historical run data programmatically.

@JoNevi I've received the following information from the ADF product team. I hope this answers your question:
There are no max dates for RunStartedAfter or RunStartedBefore - that is, the API returns a 200 OK response. However, on the ADF side, ADF only stores pipeline runs up to 45 days.
For example, if you query RunStartedAfter: 3/13/2017 to RunStartedBefore: 3/13/2018, the API doesn't return an error, but  only returns pipeline runs from the last 45 days.
If you want to persist pipeline runs and have data past 45 days, you have to persist that data through your own storage account, and route it using Azure Monitor.

#in-process

@JoNevi I am adding the information that I received to the page Programmatically monitor an Azure data factory. The updated page will be published later today. Thank you for helping us get this info into the docs.

#please-close


Does your Machine's Fan Go crazy every time you forget the lazydocker running ?

My fan does not really going crazy, but I observe a constant cpu usage of a round 7% (on a Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz) by lazydocker as well, even if everything else is idling (no containers are running). So I also suspect, that lazydocker does more than necessary.

My fan does not really going crazy, but I observe a constant cpu usage of a round 7% (on a Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz) by lazydocker as well, even if everything else is idling (no containers are running). So I also suspect, that lazydocker does more than necessary.

I can't confirm the fan going crazy (there's so much stuff going on on my work machine), but the CPU usage is constantly hovering around 10% even, just by starting lazydocker and not interacting with it and having no docker containers running (only "exit"ed once shown):

When I shutdown Docker for Desktop completely and leave lazydocker running, it seems to consume 2/3% of CPU (can't start lazydocker when Docker for Desktop isn't running).

I can't confirm the fan going crazy (there's so much stuff going on on my work machine), but the CPU usage is constantly hovering around 10% even, just by starting lazydocker and not interacting with it and having no docker containers running (only "exit"ed once shown):

When I shutdown Docker for Desktop completely and leave lazydocker running, it seems to consume 2/3% of CPU (can't start lazydocker when Docker for Desktop isn't running).

Darn, forgot my specs 😅 MacBook Pro (16-inch, 2019) 2,4 GHz 8-Core Intel Core i9

Darn, forgot my specs 😅 MacBook Pro (16-inch, 2019) 2,4 GHz 8-Core Intel Core i9

I'm seeing around 2.5% cpu use on a i5 with no actual containers running.

I'm seeing around 2.5% cpu use on a i5 with no actual containers running.

I was seeing high CPU load on a machine I left lazydocker running on overnight. I thought it was from the Elasticsearch service but htop showed lazydocker with consistently high CPU usage. Load dropped instantly after killing the process.
I'm a big fan of this tool so would love to figure out where the high CPU usage is coming from.
Wonder if it has to do with log outputs.

I also find my fan goes a bit crazy sometimes, though my prior debugging efforts proved useless. Happy to accept a PR taking a stab at the problem

The latest release should fix this issue: https://github.com/jesseduffield/lazydocker/releases/tag/v0.17.1
I'll close this off but let me know if the issue persists and I'll reopen