Support OpenLDAP 2.4 configuration.

It seems that all the necessary steps are being taken on debian platforms to setup OpenLDAP to have an ocl-style config directory in /etc/ldap/slapd.d: https://github.com/opscode-cookbooks/openldap/blob/master/recipes/server.rb#L84
However, the defaults file for the init script isn't setup to point there.
Fix this template to actually do the right thing.

OpenLDAP significantly changes how configuration of an OpenLDAP server is handled.
More detail here: http://www.openldap.org/doc/admin24/slapdconf2.html
The short version is that the slapd.conf configuration file is being deprecated, and instead, all the configuration for slapd will come from an LDIF-backed LDAP database (LDAP configuring an LDAP server.... how meta).
With this new scheme, the running configuration of the database may be changed on the fly. Changes will be saved to the LDIF back (/etc/ldap/slapd.d, for example), but not reflected in the slapd.conf file.
This is a problem with the current state of the openldap::master recipe, because as the online configuration changes over time, if any change is made to slapd.conf, it will attempt to "convert" the config into /etc/ldap/slapd.d, but merging in the changes, potentially leading to an un-restart'able database.
I propose we make a few changes:

Add some attributes to branch the configuration behavior depending on the package version.
If greater than 2.4:
-- Update the init script defaults options to use slapd.d (as this issue started to do)
-- Either:
--- Explicitly not support online configuration changes to cn=config in conjunction with this cookbook. Switch execute[slapd-config-convert] to also empty out the destination directory before converting.
--- Include a chef_gem like net-ldap and start applying attributes to the running system by using LDAP directly.

Personally, given the level of effort, I would probably select the option of explicitly not supporting online configuration changes.
However, in the long run, this will be the OpenLDAP default and we will have to integrate a chef-level LDAP client to configure the server at some point.

I'd like to tackle this as part of the rewrite of this cookbook.  My first goal is to remove all the client auth setup from the cookbook since that doesn't really have anything to do with openldap other than the LDAP part.  After that's complete I'm going to investigate writing LWRPs to handle more robust server installs.

This one has been open for a while but I'll give an update on the state of things and what we can do from here.
Background: I managed one of the largest OpenLDAP clusters in higher education and personally did the conversion from 2.3 -> 2.4 so strong opinions abound.

The tacit support in the cookbook cor cn=config up until 3.0.0 was fundamentally broken as the init scripts still pointed at the slapd.conf

We've removed that entirely since it never really worked and has significant issues regarding future runs. We've been on OpenLDAP 2.4 for 7 years, both administrators and distros still use slapd.conf because it's fundamentally easier to deal with in an automated fashion. We've explicitly stopped supporting slapd.d/cn=config entirely and we're also not going to worry much about 2.3 because as stated earlier, 2.4 has been out for a bit.
If we want to look at properly implementing cn=config then we should take a look at an existing implementation such as https://github.com/threatstack/ts-ldap which makes use of net-ldap. We'll keep this as a feature request and happily review PRs for said functionality but currently we only support slapd.conf for configuration.

+1 on your proposed path forward, @cheeseplus.
I think having very explicit textual configuration makes a lot more sense for configuration management than to support online configuration changes, which opaquely live in a database.
Calling out this choice in the README seems like the right thing to do.


TextVectorization returns 'int64' vs 'float32' in TF 2.7 / nightly + Training simple unigram/bigram models much slower than in 2.15

Issue type
Performance
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
source
TensorFlow version
2.7 / nightly
Custom code
No
OS platform and distribution
Ubuntu (Colab) 22.04
Mobile device
No response
Python version
3.10.12
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
12.2
GPU model and memory
Nvidia T4
Current behavior?
Hi there,
I'm running into issues when proofreading some teaching materials based on Chollet's Deep Learning With Python.
Running this Colab notebook, (which is chapter 11, first part, based on his repo, but fleshed out for teaching, this should be runnable out of the box) is much slower in the current versions of TensorFlow (2.17, or nightly), than in 2.15. I am unsure as to where this comes from, as the nets used in this are just fully-connected layers on unigrams/bigrams (XLA compilation seems to play a role, although that seems a lot). The slowness is particularly striking during the evaluate() step, where the XLA acceleration happening after the second epoch of training does not happen. I'm wondering if there's something obvious that's wrong in the code, or in the update...
Also, I notice that the TextVectorization layer seems to be returning int64 in TF 2.17 and nightly, as opposed to float32 previously. I did not find any mention of this in the documentation. Is this the desired behaviour?
Standalone code to reproduce the issue
https://drive.google.com/file/d/130cVhEsJT6J-z6f180I3S6DbOb5W8kAa/view?usp=sharing

Relevant log output
No response

Hi @jchwenger ,
Please post this issue on keras-team/keras repo. as this issue is more related to keras
Thank you!

Thanks @Venkat6871, I will!


bug: Simulations happen in real time

I am setting up a protocol where I need to mix a sample for 30 min. Tests without the time restriction work fine but it is cumbersome that when the real case scenario is needed (elapsed < 30*60) the simulation of the protocol on the app takes 30 mins to run.
Is there a way to speed up simulations? or what is the recommended approach for a case like this?
The relevant part of the protocol looks like this:
    start_time = time.time()
    end_time = time.time()
    elapsed = end_time - start_time
    total_cycles= 0
    pipette.move_to(sample_bot)
    while(elapsed < (30*60)):
        total_cycles += 1
        end_time = time.time()
        elapsed = end_time - start_time
        pipette.aspirate(volume=mix_vol, location=sample_bot, rate =0.5)
        for i in range(repetitions):
            pipette.dispense(volume=mix_vol-1, location=sample_bot, rate =0.5)
            pipette.aspirate(volume=mix_vol-1, location=sample_bot, rate =0.5)
        pipette.dispense(volume=mix_vol, location=sample_bot, rate =0.5)

As an appendix to the issue. The real problem of this is not that is cumbersome but that (maybe due to a timeout lock) the simulation never succeeds and actually blocks the communication between the app and the robot. So the protocol is impossible to run.

@open3dgenome I would not recommend a busy while loop for this; like you said it's going to lock all sorts of stuff up.
Are you able to use ProtocolContext.delay for this? The delay will be skipped during simulation and only occur during run.
Something to keep in mind when using time.time() in Python protocols: the protocol is executed twice independently: Once for simulation and then once again during run. The App UI is populated via the results of simulation, so if you try to log out the results of time calls (perhaps via ProtocolContext.comment, the logs you see in the app will not reflect what actually happens during the run, but the run will still function with the proper delays

Hi @mcous, thanks for your answer. It clears things up.
Using the delay is a good solution for the current protocol I am developing, but it is not precise.
How would you implement a loop that would last for a given period of time when using libraries such as time.time() is not possible?

Using the delay is a good solution for the current protocol I am developing, but it is not precise.

Could you elaborate on what you mean by this? ProtocolContext.delay simply waits for an asyncio.sleep to complete before proceeding, but skips the check during run. It takes a float, so it should wait as precisely as you tell it to

How would you implement a loop that would last for a given period of time when using libraries such as time.time() is not possible?

I might be able to give a more specific answer if I understood what sort of time-based (rather than volume or repetition number based) flow you were attempting to implement, but generally you can continue to use time.time() as long as you wrap any calls in a check to ProtocolContext.is_simulating to ensure that you don't do any busy waits during simulation.
This will certainly result in an incorrect run log display in the app because it's not (yet) set up to handle a discrepancy between simulation and run.
I'm going to close this ticket because the simulation system is functioning as expected, but feel free to continue posting in this thread and I (or one of my colleagues) will do our best to answer!

@mcous Is there a way to make the opposite happen? In particular, is there a way to ensure that all calls to asyncio.sleep in delay as well as in the implementations of the various modules - do block for the whole time, all while simulating using an opentrons.simulate.get_protocol_api("2.7")?


// in case of '%' make sure it's encoded

I am not sure but but does this line (https://github.com/johndyer/mediaelement/blob/master/build/mediaelement-and-player.js#L1244) leads to this?
<embed width="100%25" height="270" [...]>

Anyway - thats what the script generates at some point (in my case). The %25 for the people who dont know means % when url-encoded.

@Fuzzyma Is this still an issue?

Yes ofc - the code was never fixed.
Here is a new link:
https://github.com/johndyer/mediaelement/blob/402c35d25666d09a1acd259491b8446f165eb4fb/build/mediaelement-and-player.js#L1312-L1313
I dont know why one would think about encoding % - makes no sense to me

@Fuzzyma Does this causes wrong width and/or height in your player? I'm not sure if it's meant to be encoded because of the Flash player and they way it processes all its variables. In this link explain some about the nature of this issue: https://www.drupal.org/node/2537318

It generates code like this from the first post.
However: I am not aware of all changes made to this lib and cant setup an example so fast.
Maybe I will come back to this later...

Closing this issue since no answer has been posted in more than 2 weeks. If you'd like to reopen this, let us know. Thanks!


Update several minor things from opendistro to opensearch

Description
Update several minor things from opendistro to opensearch
Issues Resolved
https://github.com/opensearch-project/anomaly-detection/issues/40
Check List

[ Y ] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #57 (41daa10) into main (cf7fd84) will decrease coverage by 0.12%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main      #57      +/-   ##
============================================
- Coverage     79.32%   79.19%   -0.13%
- Complexity     2687     2690       +3
============================================
  Files           243      243
  Lines         11123    11123
  Branches       1012     1012
============================================
- Hits           8823     8809      -14
- Misses         1882     1906      +24
+ Partials        418      408      -10

Flag
Coverage Δ
Complexity Δ

plugin
79.19% <ø> (-0.13%)
2690.00 <ø> (+3.00)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ
Complexity Δ

.../java/org/opensearch/ad/AnomalyDetectorPlugin.java
95.38% <ø> (ø)
10.00 <0.00> (ø)

...rg/opensearch/ad/constant/CommonErrorMessages.java
90.00% <ø> (ø)
1.00 <0.00> (ø)

...port/SearchAnomalyDetectorInfoTransportAction.java
54.54% <0.00%> (-9.10%)
4.00% <0.00%> (ø%)

.../java/org/opensearch/ad/model/DetectorProfile.java
29.62% <0.00%> (-8.34%)
17.00% <0.00%> (-2.00%)

...earch/ad/transport/GetAnomalyDetectorResponse.java
69.04% <0.00%> (-5.96%)
8.00% <0.00%> (-2.00%)

...ain/java/org/opensearch/ad/task/ADTaskManager.java
73.21% <0.00%> (+0.22%)
82.00% <0.00%> (+1.00%)

...opensearch/ad/indices/AnomalyDetectionIndices.java
51.72% <0.00%> (+0.31%)
45.00% <0.00%> (+1.00%)

src/main/java/org/opensearch/ad/model/ADTask.java
98.12% <0.00%> (+2.81%)
68.00% <0.00%> (+4.00%)

.../main/java/org/opensearch/ad/cluster/HashRing.java
84.21% <0.00%> (+5.26%)
11.00% <0.00%> (+1.00%)


Fix link to example sources in k3s blog post

i think you'll need to approve the CI run in Netlify if you want to merge this.

Thanks for fixing this @mraerino !


Download progress

Is it possible to get a download progress event of some sort?
I'm using electron-builder auto updater, which is using Squirrel.Mac under the hood, and I cannot get the download progress, because apparently Squirrel does not provide it.

Some clarification: electron-updater wraps official bundled auto-updater on macOS to get rid of special server requirements. Alongside other features.

+1

+1

+1

+1

+1

+1

Please use reactions.
electron-builder auto-updater supports progress events — it will be released in 2 weeks. Stay tuned :)

will you share with the rest of us the implementation, please? :)

https://github.com/atom/atom/issues/9164

For the +1 out there, here's the reason why @develar made his comment so you have some context: https://github.com/dear-github/dear-github

@biroplane https://github.com/electron-userland/electron-builder/issues/1167#issuecomment-306252864

If you for some reasons don't use electron-builder — electron-updater can be used standalone, but you will need to generate sha512 field in the update info file. This requirement can be relaxed. Feed url in the electron-updater it is url to dir, where channel update info file is expected (latest channel by default). e.g. feed url https://example.com -> https://example.com/latest-mac.yml file will requested (in case of generic provider).
I decided to not implement this logic on the native side, but in userland, because in this case user can use standard electron net API and customize behaviour (auth, redirect, proxy and so on).

+·

+1

Thank you @develar, I find this problem for a long time, thank you have to fix the problem。https://github.com/electron-userland/electron-builder/tree/master/packages/electron-updater


compatiable with ie9

when i am using ie9, it show error 'Unable to get undefined or null referenced attributes "add" '

The support is for IE10 +.  Just look at the documentation. thanks.


MAJIN.fr

Hi, this is our pull request for our minecraft server called "Majin", thanks !

{
    "id": "majin",
    "name": "Majin.fr",
    "addresses": [
        "majin.fr",
        "beta.majin.fr"
    ],
    "primaryAddress": "majin.fr",
    "minecraftVersions": [
        "1.8"
    ],
    "primaryMinecraftVersion": "1.8",
    "primaryRegion": "EU",
    "website": "https://www.majin.fr",
    "store": "https://store.majin.fr",
    "socials": {
        "twitter": "MajinNetwork",
        "discord": "https://www.discord.gg/majin"
    }
}

Please re-fork the repo and add your server information as proposed changes.
For example: #540
Additional information is available in the README if needed.


Colors disappear after a window is opened->closed

This might be due to some missing configuration but I go through this scenario

Open a file (colors on the statusline are present)

Open vertical netrw (colors disappear)

Close netrw (colors are still gone)

This was due to having set the colorscheme like that in my vimrc:
autocmd BufEnter * colorscheme gruvbox
no problems with colorscheme gruvbox


Network plug

I think this may need the network plug as when I attempt to rip my BD's, it fails to complete and cannot download any updates to decrypt BD's.

The snap includes the network plug and is released to stable now.


Enhancement: Deterministic Module Configuration

Add a configure() to each EOM Middleware Module
Update documentation to show how to configure the EOM Middleware
Update tests to properly configure the EOM Middleware
Updated EOM Middleware for consistency in layout
Updated the logging.conf-sample to have a valid configuration
Updated the eom.conf-sample for the logging configuration

Closes #64

:+1:


Document  Application.ScreenUpdating = True - this needs to be reset when opening/creating a new workbook

@nodrogl , is this a problem with the application functionality or with the documentation? I suspect you are referencing an application issue but haven't provided enough information to confidently make that determination. Could you elaborate?

@nodrogl Please open a new issue if you find any bugs in our documentation. Otherwise, if you need to ask questions about your code, you can try Stack Overflow. Often, the community of developers can answer your questions faster than we can!
Stack Overflow for VBA questions
Stack Overflow for Word developer questions


Incompatible with swift-argument-parser v1.0.0+

PostgresClientKit has a dependency on BlueSocket which, in turn, has a dependency on swift-argument-parser.  Currently, BlueSocket requires swift-argument-parser v0.4.1..<1.0.0.  This is a problem, because swift-argument-parser is currently at v1.1.3.
(Split from #41, which explores the bigger question of PostgresClientKit moving from BlueSocket/BlueSSLService to swift-nio.)

See BlueSocket issue #214.

In BlueSocket v2.0.3, the library product is no longer dependent on swift-argument-parser.
PostgresClientKit v1.4.4 updates its Package.resolved to BlueSocket v2.0.3.


Side bar icons view needs a scoll

Issue Type: Feature Request
The side sidebar icons view that contaions icons like file, git, extensions and the likes is currently overflowing the view.
Maybe you should add a scrol.
VS Code version: Code 1.30.1 (dea8705087adb1b5e5ae1d9123278e178656186a, 2018-12-18T18:05:00.654Z)
OS version: Darwin x64 17.7.0

@barakimam They are moved into ... menu if they overflow. Please check if they are.

They are not. I will upload screenshots tomorrow.

SUre

@sandy081 this is the screenshot when it is not maximised on macOS

This is the screenshot when it is maximized.

@barakimam Can I have the list of extensions you have installed?

This issue has been fixed in v1.31.0.
The version introduces an ellipsis ... which onclick unfolds the remaining extensions.
You may now close this issue.
cc: @sandy081


Switch Example

Super grateful for the work you've done so far on this!
I have lights up and running with HomeKit based on your example, though the connection process feels pretty slow and unreliable. I'm trying to get a simple switch working with zero luck and I wondered if you might have some insight.
I've tried something like this with both an on/off switch and a generic switch. At best the accessory will show up in HomeKit with the message "This accessory is not curerretly supported by the Home app".
  {
    generic_switch::config_t switch_config_a;
    switch_config_a.switch_cluster.current_position=0;
    switch_config_a.switch_cluster.number_of_positions=2;
    endpoint_t *switch_endpoint_a = generic_switch::create(node, &switch_config_a, ENDPOINT_FLAG_NONE, NULL);

    switch_endpoint_id_a = endpoint::get_id(switch_endpoint_a);
  }

Any ideas? It feels like I'm missing some obvious step.

Hey! Thank you for feedback!
Unfortunately I don't have Apple's hub to be able to test HomeKit, however I'm supposed to get update for my Google Nest soon so hopefully I would be able to reproduce these issues. I have tested connecting my ESP with CHIPTool only and I haven't noticed slow / unreliable connection, but I will keep an eye on this issue.
Regarding switch I would begin with testing it using CHIPTool -- official Matter tool for testing commisioning and controlling Matter devices - if it won't work there then most probably something is wrong with config.
Also I looked at esp-matter examples and could not find usage of generic_switch. The only example that I found is usage of on_off_switch there: https://github.com/espressif/esp-matter/blob/main/examples/light_switch/main/app_main.cpp. Maybe you can compare your config with this one? Also, recently I came across some graphics showing available device types in Apple's Home app - I don't know how reliable this source is but anyway will post it there.OnOffSwitch should work:

In next few days I will try to provide some more examples, including switch, tested with CHIPTool and (hopefully, if my Nest finally gets preview update) Google ecosystem.

Thanks for the quick response!
The generic switch type is confusing. I had seen some threads on other matter repos about on/off being used explicitly for lighting and generic being more general purpose, but I really can't find much more info about it. Given that the above chart doesn't even show the generic type, I'll go back to testing with on/off.
I wasn't having much luck with CHIPTool during initial testing, but I'll give that another shot, too. Thanks!

I have a Philips Hue bridge, which enables Matter in beta. The dimmer switch is exposed to HomeKit via Matter and is working fine. According to developers, it is a "generic switch" cluster. So it definitely should be possible

I did a bit more testing with an on/off switch without much luck, so I went back to a separate install of esp-idf and esp-matter to flash the light_switch example and had the same problem.
I posted an issue at espressif/esp-matter#98.

Today I was able to add generic_switch to Google Home but I could not control it via app - it was only showing current state of switch. I have also tried controlling it via Google Nest, but is an information that "Touch controls are limited right now, but you can still use voice to interact with this device".

Closing, because it's a Matter controller related problem


Private keys for accounts in genesis.json

Where we can locate private keys for the accounts created through genesis.json

Create account  through genesis.json ？
Account is created by  geth account new， then  update the address to genesis.json.

Private keys generated automatically from genesis.json can be found under <NODE_NAME_DIR>/qdata/keystore folder. The path is slightly different in Dev and non Dev networks, but should be able to find under qdata/keystore directory.


matomo.php is always appended to trackerUrl (branch 1.x)

The same issue (#24) has been solved on main branch, but is still present on branch 1.x,

Hi @traycold, do you think you can provide a PR please?
You may cherry-pick bd93470e478e4e90d15ded5f7c15e981de481cd8

created PR #39 (I just verified compilation and tests are ok, but did not test real code in my app)


Add Amazon clone website

Hey @dev-AshishRanjan , hope you are doing well. Would you please assign me this issue under hacktoberfest2023.

@ilhamansari
some people may also be working on this repo, but not on this issue
so please pull before push, to avoid any merge conflits (in any files) 👍🏽
steps :

made changes
commit
pull : git pull origin dev
push

okay sure @dev-AshishRanjan


#42 Add ESLint support with grunt-eslint [WIP]

In reference to #42 (and https://github.com/phase2/grunt-drupal-tasks/issues/42#issuecomment-64136831), this is what ESLint support might look like. The included .eslintrc is from https://www.drupal.org/node/1955232.
Note that these example settings may not be the "best" for validating JS in the context of what grunt-drupal-tasks is trying to provide. They are agreed upon for D8, but whether or not they should be the suggested defaults for all Drupal projects is probably up for debate.

This issue needs

Updates to the D8 rules
D7 rules
Incorporation of eslint task into validate task.
Test coverage to at least demonstrate the successful operation of eslint as implemented

Pulled this work into a branch in this repo to resolve the merge conflict and make some updates.
This work will continue in #160.


Page margins in mobile mode

Dear Zhe,
First of all, the theme is so minimal and excellent, i'd like to thank you for it.
I've noticed that when looking at the webpage from a mobile phone, the left padding is zero sized, thus the menu is gone and the left border is gone as well.
Could you please advise if this is intended, and what would be the best approach to improve this?
Thank you.
Timofei

Hi Timofei,
Thank you for the comment.
I'm gonna take some time to look into this issue.
Zhe

Same here. I'm not much of a designer, so if you'd have an answer to this, it would be most appreciated! Thanks!

I just checked: it's the body margin in slim.css, which is set to zero. Removing that will fix it.

Hi @bodiam ,
Neat fix. Thanks.

I'm closing this issue. Thanks! 😄


Fix commenting issue

There was an issue with the comments on Lines 730-757. I've fixed this issue for future tess-point updates :)

Thanks.  I broke my own code!  Learn me to commit without testing.  Poor form on my part.

Still broken with some whitespace.  I will update another fix.

It happens to everyone! Thanks for fixing it so quickly :)

It appears to be fixed in v0.3.5 update with pip.  Let me know if stil having problems.


Breadcrumbs fixes

@davidmeirlevy I discussed our implementation with @talkor and he says we do not assume projects that use swimm-ui also use vue-router. So I changed it to an anchor link instead.
Also I removed the hover when there's no link, and polished the docs a bit.

If you're using a regular anchor, it will refresh the page on navigate.

If you're using a regular anchor, it will refresh the page on navigate.

@talkor this is a good point. Could you tell me again please, what is the expectation here exactly?


Visualization Tools - Future Enhancements (t-shirt)

Placeholder - XL

Closing, as this was a placeholder card for grant forecasting purposes.


regression enable pipelineX test cases

Proposed changes
This reverts commit 901ee7a8d3339e90745bbbc0174b49ab6a1c52b0.

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


GA Documentation enhancement suggestion

The GA documentation states that you should uninstall the old SharePoint generator first and then install the new GA release.
After re-installing the generator i still had the previous version.
This problem can be solved in two ways:
Solution 1: Clear npm package cache
npm cache clean

Solution 2: append @latest
npm install -g @microsoft/generator-simplestyle@latest

I used solution 1 to solve the problem but before that I always installed the generator from local cache.

Thanks Stefan.  I've updated the page accordingly.


URL X-Ray

This would display the actual destination of the link.

Ref: Conversation #7120 / Lostroads


schema-ast should pull deprecation notices about enums

Is your feature request related to a problem? Please describe.
If the origin schema has deprecated members of enums (e.g. below), then it should be reflected in the generated schema.
enum BasicOpportunityPositionType {
  CONTRACT @deprecated(reason: "Use LONG_TERM and SHORT_TERM instead.")
  FULL_TIME @deprecated(reason: "Use LONG_TERM and SHORT_TERM instead.")
  INTERNSHIP @deprecated(reason: "Use LONG_TERM and SHORT_TERM instead.")
  LONG_TERM
  PART_TIME @deprecated(reason: "Use LONG_TERM and SHORT_TERM instead.")
  SHORT_TERM
}

Currently, deprecations are not reflected in the schema:
enum BasicOpportunityPositionType {
  CONTRACT
  FULL_TIME
  INTERNSHIP
  LONG_TERM
  PART_TIME
  SHORT_TERM
}

This issue can be replicated in the website playground:

Hi @gajus and a-guerrero and thank you for the report
Sorry but I'm not adding a lot here but just labeling it according to our new Contribution Guide and issue flow.
It seems already got into stage 1 thanks to your reproduction! Thank you for that!
Now in order to advance to stage 2 we'll need a failing test, would be great if someone could help progress the issues through the stages.
Thank you and sorry that this comment is not a complete solution (yet).


Format Elixir cells

I think it would be very convenient to have a means of formatting elixir code cells in the notebook.

Any kind of formatting is complicated because of operational transforms. If you have multiple people changing the cells at the same and then you rewrite everything, it will definitely cause havroc. We do format on save though. :)

@josevalim I would like to add my 2 cents here :-)

The conflict problem is not really related to livebook - it's more about team cooperation. Firstly usually 2 people should not edit same cell and such situation should be nothing more than edge case.

Obviously it does not mean we should not do anything about it. However we can do it simple (or maybe I do not see something?) … Just store in memory original cell and after save broadcast a message to all users editing this cell.

With this we can add something like simple alert notifying that cell was changed (optionally show extra data like author and content of changes) and give a user to decision if we want to for example:

Reload original content (maybe with simple diff like on git merge conflict?)
Overwrite changed cell
Cancel editing

I believe that the rest is about making internal organization decisions in team. One or two times people can simply cancel editing cell and that's completely fine. However if that would happen more often then team should do something about its organization.
Also I believe that's not really a problem of formatting, but about any kind of content conflict. I think that for 2 or more editing users we should have a forked git project and push changes to a separate branches, so we avoid all conflict problems.

Maybe in future we could have some kind of simple git support in livebook? If current livebook directory (in UI) is within a git project then maybe we should consider adding option to change/create branch and an option to automatically push changes on save?

@Eiji7 the point is that we support multiple users editing the same cell. We resolve conflicts using Operational Transformation, so the changes come independently, but eventually every user gets to the same state and they edits don't interfere with each other (unless the users actually edit the same word, in which case it's not a synchronization conflict, but semantic one).
We want the changes to always come from the users, rather than the server. An important fact is, that whenever a remote change comes, the local undo/redo stack is cleared (there are reasons for this). So even if we submitted cell changes from the server, the user's undo stack would become empty (even if there's just one user).
Also formatting cell content itself is problematic as an operation, because it's a cut-all-paste-all operation which is not friendly for conflict resolution.

ok, makes sense

If I would like to clean up the code in the cell by formatting. Is there an easy way I can reset the notebook to the state as saved in the file?

The tricky part is really different users in the same cell, even when loading from file. However, formatting is such a useful feature to have, especially for learning purposes, which seems a pity to give up on it because of a small use case. Maybe we could have a format button and disable it if two users have the same cell focused? If we can’t do at the cell granularity, we can disable it when there are two users in the notebook?

Maybe we could have a format button and disable it if two users have the same cell focused?

Alternatively, we could block/not accept all user input on format.

Alternatively, we could block/not accept all user input on format till the format process is done.

This is complicated because all of the actions are happening concurrently across different users, so any kind of locking is non trivial.

I think that the feature is only available in single user-mode is a perfect trade-off. If it's per cell even better. Love the product BTW! This is so amazing for prototyping initial product features (especially working with external API's!). Also non-mutability makes this even better, because that always got me in trouble when I was using notebooks in python (for data science).


Nested variant groups don't generate correctly

Hi there 👋
when I try to use nested variant groups, Windi CSS doesn't seem to generate the correct classes.
Example:

When I try it out in the doc's interactive example, it works correctly: https://windicss.org/features/variant-groups.html
I'm using vite-plugin-windicss and windicss, both on the latest version (1.3.0 and 3.1.7).
It might be possible that I have overlooked some config setting... But any help would be much appreciated!

You could try with

See Windi Play.

Yup, that's what I ended up doing. But I think it'd still be nicer, if you could nest the variant groups like I showed above, in case you wanna handle multiple cases.
For example:

/cc @antfu are variant groups something we handle in vite-plugin-windicss or in core?

Still relevant
Playground


Make module qualifier lowercase.

Hope I'm not getting ahead of myself, but the previous test files all had correct spellings of their module qualifiers, so this looked like an innocent mistake :)

Ah, thanks for watching out! I think in this case, because of the use sieve::* above, the sieve:: is implied. The Sieve you see there is a type, of which primes_up_to is an associated function.
... However we may even consider just putting primes_up_to as a bare function, since there's not that much reason to have a type with only one associated function and no methods or anything else.
You can see the evolution of the (very recently-added) problem in #97 and it appears there may be more work to do here. What would you say @IanWhitney ? And @peap ?

(Edit: My personal gut reaction is to remove the impl Sieve { } and just have primes_up_to be a top-level function, but let's discuss for a bit!)

Ah, I see. I thought I might be missing something! Thanks for pointing that out, and I see it in the example file now.
I've been working through the exercises from the beginning, so I'm not sure which pattern is more common, but I agree with you that a single top-level function makes sense here.

This API definitely reflects my OO background. I find the idea of bare functions very odd. But maybe that's just an OO thing and bare functions are totally normal in a systems language.
When we were discussing this before I took a inspiration from Primal, which seems to be the main crate for dealing with primes (slow_primes, which I've seen used a lot now points to Primal).
Primal's sieve API looks like:
// find the primes up to this upper bound
let sieve = primal::Sieve::new(hi as usize);

Our API did originally use the new function, but we dropped it. Since we're no longer creating Struct instances, maybe we no longer need the struct at all.
If we do drop the Struct, then our tests look like this, right?
assert_eq!([2,3,5,7], sieve::primes_up_to(10));

This API definitely reflects my OO background. I find the idea of bare functions very odd. But maybe that's just an OO thing and bare functions are totally normal in a systems language.

Ooh I think this is a good discussion point, to see why some languages have it some way and some languages another. We can talk about why it seems odd to have bare functions. One answer I might have is "they clutter up the global namespace". C tends to deal with the problem by manually prefixing the function name, so we might get things like list_prepend and list_get. Here every module gets its own namespace, so even if we have a queue::prepend and a list::prepend there wouldn't be a risk of collision.
We can see that Primal does indeed have some functions that would get called like primal::is_prime(0). On the other hand, I imagine they also have a primal::Sieve::new because they have some methods on a Sieve that presumably use some cached result (it even also supports sieve.is_prime(0)). For our uses it's not so clear that we need caching or something of the sort.

If we do drop the Struct, then our tests look like this, right?
assert_eq!([2,3,5,7], sieve::primes_up_to(10));

yup.

I think I'm fine with either approach. I don't think the Struct provides anything useful here, so we can drop it and use a bare module method.


OutOfMemory

I wrote a program that calculates 1875000 int on CPU/GPU with your library every second, I pass this via [GLOBAL].
You forgot to add Free for GCHandle somewhere, which causes the memory to overflow, after 20 minutes and 10GB of used memory, the program crashes due to OutOfMemory

If you need my code:

Kernel:

Thanks for the sample code. I will have a look next week.
Regards,
Deepak
On Sat, Jul 9, 2022 at 9:29 AM Yotic @.***> wrote:

If you need my code:
[image: image]
https://user-images.githubusercontent.com/55879406/178083243-054a4389-112e-4986-beac-1307d99a2ab3.png
Kernel:
[image: image]
https://user-images.githubusercontent.com/55879406/178083251-21734282-7ba7-4bd1-b22e-c7e2fbbe59f6.png
—
Reply to this email directly, view it on GitHub
https://github.com/deepakkumar1984/Amplifier.NET/issues/20#issuecomment-1179435201,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQJAKOPHS2YMW6VAATAQZLVTC6HPANCNFSM53COFYEA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Regards,
Deepak

Hello, how are you?

How are things with this error?

@MrYotic Can you please send your code in a file? I am making mistakes with your code. It will be easy if you send me in a file

Good, https://dropmefiles.com/TCBa9 - Net 6.0
Calculate is part with GPU Calculating

I was able to solve this problem, the memory leak is completely gone.
For the most part, it was not in your library, but in my code. So, every iteration I created a new big array, but because somewhere in your code there was a reference to this array, the GC could not clear it, so a bunch of large ones accumulated array. I think this can be solved through the library, so that other people do not have such an error in the future.
As exapmple bad code with memory leak:
while(true)
{
    int[] args = new int[1750000];
    kernel.Exec(args);
}

As exapmple bad code without memory leak:
int[] args;
while(true)
{
    args = new int[1750000];
    kernel.Exec(args);
}

Thanks mate for the confirmation
On Tue, Aug 16, 2022 at 9:04 PM Yotic @.***> wrote:

I was able to solve this problem, the memory leak is completely gone.
For the most part, it was not in your library, but in my code. So, every
iteration I created a new big array, but because somewhere in your code
there was a reference to this array, the GC could not clear it, so a bunch
of large ones accumulated array. I think this can be solved through the
library, so that other people do not have such an error in the future.
As exapmple bad code with memory leak:
while(true)
{
int[] args = new int[1750000];
kernel.Exec(args);
}
As exapmple bad code without memory leak:
int[] args;
while(true)
{
args = new int[1750000];
kernel.Exec(args);
}
—
Reply to this email directly, view it on GitHub
https://github.com/deepakkumar1984/Amplifier.NET/issues/20#issuecomment-1216513847,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABQJAKL35GV23Q6I7SQED5DVZN4E3ANCNFSM53COFYEA
.
You are receiving this because you commented.Message ID:
@.***>

--
Regards,
Deepak


Updated CI Landing Page Tile Link

Harness Developer Pull Request
Thanks for helping us make the Developer Hub better. The PR will be looked at
by the maintainers.
What Type of PR is This?

[x] Issue
[ ] Feature
[ ] Maintenance/Chore

If tied to an Issue, list the Issue(s) here:

Issue(s)

House Keeping
Some items to keep track of. Screen shots of changes are optional but would help the maintainers review quicker.

[x] Tested Locally
[x] Optional Screen Shoot.

Preview environment: https://hdh.pr.harness.io/null

Preview environment: https://hdh.pr.harness.io/pr-943


Feature/heartbeat

Description
Fixes #127
Add description here.
Dependencies affected:

None

Checklist before merging

[X] Properly labeled PR
[X] Licensing statement added to new files
[X] Downstream dependencies have been addressed
[X] Corresponding changes to the documentation have been made
[X] Issue is linked under the development section

What is the impact on the current data flow? Will RT-STPS try to process canary heartbeat files? If so, what expected errors might happen? How should we communicate/handle these for the end user?

What is the impact on the current data flow? Will RT-STPS try to process canary heartbeat files?

The BLOBs created by this look the same as those created by the existing canary thus they have "canary" in the name. Will the processor attempt to process existing canary BLOBs? If so can we configure the processor to log and skip these?


Nested arrays produce invalid binary data error

Describe the bug
Can't add record to table because connection drops immediately
If data already in the table binary data error appears selecting whole table with query or in the explorer
To Reproduce
try add following record to table
{ geometry: { type: 'Polygon', coordinates: [[[36.77269829083, 55.66466213383], [36.77269384177, 55.6513182831], [36.8068593987, 55.65131451768], [36.8068593987, 55.66466213383], [36.77269829083, 55.66466213383]]] }, properties: {}, type: 'Feature' }

connection drops (some warning appears in record editor but it hides)
its totally valid data you can add with cli
If you add it with cli and then select it with SELECT * FROM table or SELECT geometry FROM table in surrealist
even then select table in explorer binary data error appears
No errors in surreal cli
I assume something wrong with nested array parsing because selecting individual fields or even  SELECT VALUE geometry.coordinates FROM table works fine
Expected behavior
record added to table
select works properly
Environment:
Version: 2.1.5
Flags: feature_flags: false, models_view: true, apidocs_view: true, themes: false, newsfeed: true, database_version_check: true, highlight_tool: false, surreal_compat: v1, changelog: auto

Hey @u5er1ame, this is an issue with polygons. It should be solved once 2.0.0 is released

This will be fixed in the next SurrealDB 2.0 compatible release 🙂


[Thoughts] We should consider the output of the .add method

Right now, the '.add' method does not return anyything, but prints after success.
For some reason this seems to almost be async, when I submit three and print the output I get
None
None
None
Sucessfully saved ... Total chunks count: ...
Sucessfully saved ... Total chunks count: ...
Sucessfully saved ... Total chunks count: ...

but that's not the point.
I just think it should be up to the user whether they want to print the results or not.
If you ask me, it should return, return document, metadata, number_of_chunks. (that's not what the variables are called right now).
Then the user could print their own success message if they wanted to.
This would also allow to process the number of chunks if they have a use case for that.
Just a thought though.

Also, the already exists in the database should raise an Error I think. For the same reason: Let the user decide how to handle it.
Let's say you have a daily task to embed a sitemap with 1000 pages. You might not want to see the 999 that are the same as they were yesterday.
I know this sort-of breaks compatibility though.

Also: the way I see it, self.collection.count() returns the total count, it makes more sense to return the count of the added item here.

@cachho : feel free to close this issue, if all addressed here.

@cachho : feel free to close this issue, if all addressed here.

Not addressed, it still uses print instead of logging.

@cachho : we plan to return the id of the source in add function.
If user wants to see what's happening in the add function, can use dry_run flag. (tracking in #399 ).
Closing this. Feel free to reopen if I am missing something.

We still haven't decided if we want to stick to printing the success message.


EiffelActivityFinished verdicts

There's still an open issue as to what to call the different types of failure in EiffelActivityFinishedEvent (see the event description for details). Thoughts on this?

Merged as #9.


Unable to install catai onto an ARM development board

Describe the bug
The installation of the package fails part-way. Node does not find an entrypoint in the ~/catai/models directory, which suggests that something goes haywire in the installation machinery. I'm trying to test out the performance of the small 3B version of StableLM on an Odroid N2+ development board using CatAI.
-> % npm install -g catai
npm ERR! code 1
npm ERR! path /home/alarm/.nvm/versions/node/v20.6.0/lib/node_modules/catai
npm ERR! command failed
npm ERR! command sh -c node ./dist/cli/cli.js postinstall
npm ERR! CatAI Migrated to v0.3.13
npm ERR! node:internal/process/promises:289
npm ERR!             triggerUncaughtException(err, true /* fromPromise */);
npm ERR!             ^
npm ERR!
npm ERR! [Error: ENOENT: no such file or directory, scandir '/home/alarm/catai/models'] {
npm ERR!   errno: -2,
npm ERR!   code: 'ENOENT',
npm ERR!   syscall: 'scandir',
npm ERR!   path: '/home/alarm/catai/models'
npm ERR! }
npm ERR!
npm ERR! Node.js v20.6.0

The provided error message, CatAI Migrated to v0.3.13, is not of particular help to me.
Could you explain in more detail what this error message is about? 🙂
Screenshots
N/A
Desktop (please complete the following information):

OS
Arch Linux ARM (Linux cinedroid 5.10.2-6-ARCH #1 SMP PREEMPT Mon Dec 28 21:22:54 AST 2020 aarch64 GNU/Linux)
Browser
N/A
CatAI version [e.g. 0.3.10] (catai --version)
Latest release version on NPM, I guess.
Node.js version [e.g 19] (node --version)
18 and 20

It is an error related to the migration process between older versions of CatAI.
I will fix it in the next version (there is no point to migrate if it is a fresh install), for now you can install an older version and upgrade.
npm i -g catai@0
catai update

The last release should fix that issue, try to run catai update again :)


[cmocka] build failure

Host Environment

OS: MacOS
Compiler: revision

To Reproduce
Steps to reproduce the behavior:

./vcpkg install cmocka
Use cmocka via the instructions.
Makefiles on OSX are no longer resolving the full path to the lib.

Link to comment here
Failure logs
make[2]: *** No rule to make target `/lib/libcmocka-static.a', needed by
Additional context
Add any other context about the problem here, such as what you have already tried to resolve the issue.

@danewalton I'm so sorry; can you try out the fix in #12196?


Where to download “cnn_data“?

Output of 'strings libarm_compute.so | grep arm_compute_version': v18.05
Platform: arm64-v8a NXP i.MX8QMMEK
Operating System: Linux imx8qmmek 4.14.62-imx_4.14.y+gef7acf9 built by Yocto

Problem description:
Hi All,
We are running the validation code in ARM compute library. For LeNet and AlexNet testing cases, a cnn_data directory is used, but we can't find whre it is. Could you please tell me where I can download it or how to generate it from Caffe or TF models. Many thanks in advance！

Best Regards,
Frank

Hi Frank,
We don't provide the weights because the files are too large, you need to generate them from the Caffe / TF models.
There are some instructions about how to do that in the documentation

Hi Anthony,
 Thank you for your reply. Yes, I have got these weight and bias npy files by the script. But how to generate cat.npy used in the Alexnet validation code? Thank you!

Best Regards,
Frank

Hi Anthony,
 Thanks for your reply, Yes, we have We have downloaded the caffe model from http://dl.caffe.berkeleyvision.org/bvlc_alexnet.caffemodel. and used that script to generate the weight and bias npy file. Also we generate a "cat.npy" with NCHW layout . Then the validation "'NEON/SYSTEM_TESTS/AlexNet" can run, but the result is not expected. We got 669, but the expected labels result is 281. I don't know what the label 669 mean. Could you please tell me how to get the meaning to each label number of this caffe model? Thank you.

Best Regards,
Frank

Closing this issue. Reopen if needed.


chore: Add back tests

What is done?

The tests that were broken are added back.
What is missing?

How to detect hang in cuda_stream.sync()?
Prevent a bound node from allreduce to be bound again.
Check inputs are tensors.
Update comments.
Update PR docs.
Any missing (important) test cases?

Checks

[ ] I've signed off every commit(by using the -s flag, i.e., git commit -s) in this PR.
[ ] I've run scripts/format.sh to lint the changes in this PR.
[ ] I've included any doc changes needed for https://docs.ray.io/en/master/.

[ ] I've added any new APIs to the API Reference. For example, if I added a
method in Tune, I've added it in doc/source/tune/api/ under the
corresponding .rst file.

[ ] I've made sure the tests are passing. Note that there might be a few flaky tests, see the recent failures at https://flakey-tests.ray.io/
Testing Strategy

[ ] Unit tests
[ ] Release tests
[ ] This PR is not tested :(

LGTM.


Project scheduled trigger doesn't have destination_environment_id populated

Octopus version
2024.2.6366
Octoterra version
latest
What happened
This is the tf generated for a project trigger
  space_id    = "${trimspace(var.octopus_space_id)}"
  name        = "Deploy to Development (APAC)"
  description = ""
  timezone    = "E. Australia Standard Time"
  is_disabled = true
  project_id  = "${octopusdeploy_project.project_octopub___audits___yaml.id}"
  tenant_ids  = []

  deploy_new_release_action {
    destination_environment_id = ""
  }

  once_daily_schedule {
    start_time   = "2024-04-29T06:15:00"
    days_of_week = ["Monday", "Tuesday", "Wednesday", "Thursday", "Friday"]
  }
}

Octoterra log output
n/a
Reproduction steps
Runbook that generated the tf: https://demo.octopus.app/app#/Spaces-178/projects/octopub-yaml-serializer/operations/runbooks/Runbooks-7736/overview
More Information
No response

This was fixed with https://github.com/OctopusSolutionsEngineering/OctopusTerraformExport/issues/24.
Note however projects with scheduled triggers that reference a channel will need a new channel created in the project. This is because there is no way to lookup the default channel created with a new project. See the discussion here for more details.


How to stop SyncService on Android app?

SyncService usage large memory. How to disable it. I only use remote notification for user click and open the app.

@ntnamag The Android profiler will show that SyncService uses the same amount of memory as your application, however, this is a bit misleading. The SyncService isn't actually using this much memory - it simply shows that it is using the same amount of memory as the application itself.
In reality the sync service doesn't use much memory.
I would suggest troubleshooting your own application to release unneeded assets when the application goes into the background state. Here is a good article to troubleshoot high memory usage.
I am closing this issue due to inactivity and a complete lack of details. If you are still encountering this issue please feel free to reply with more details and I will reopen the issue.


Upgrade HF Datasets Library for Flava Example

Summary:
Updated Hugging Face datasets library version in examples/flava. The older version can no longer interface with the HF online API and therefore cannot pull requested datasets.
Test plan:
I created a new conda env and built the dependencies using the new requirement. From there I ran the flava train.py script where it successfully pulled the Imagenet dataset as it's supposed to do and successfully started training.

Codecov Report
Base: 93.45% // Head: 93.45% // No change to project coverage :thumbsup:

Coverage data is based on head (ed8eee7) compared to base (0e140d8).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #362   +/-   ##
=======================================
  Coverage   93.45%   93.45%
=======================================
  Files          54       54
  Lines        3256     3256
=======================================
  Hits         3043     3043
  Misses        213      213

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 at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Should we automate collation of i18n assets + integrate with Smartling?

i suspect that many teams will forgo the choice to internationalize properly given the choice to skip it. given the ability to automate this process, i think it should be a part of the publishing flow that at least collates the relevant information to submit to an API-based service like Smartling
due to the immutability of releases, this step may need to happen well ahead of publishing time. i'd be willing to make create releases that are mutable but where an entity we control retains update authority for the sole purpose of reconciling internationalization updates automatically with releases

Closing as out of scope for now. Will re-integrate into deliverables if desired by partners.


No FindBSON.cmake found

issue  is still there for me ,
tried on two systems (mac and ubuntu), but there is really no such files to search.
from the description of the issue #36 :
"The source folder for the mongocxx driver has a folder called "cmake" which contains FindLibBSON.cmake and FindLibMongoC.cmake files"
but really this folder doesn't contain cmake subfolder
https://github.com/mongodb/mongo-cxx-driver/tree/master/src
there are subfolder inside, but these ones aso don't contain FindBSON.cmake

@amigo421 were you able to solve this? I am also facing this issue

no, seems wrong cmake script in mangrove project, need to fix this manually


Lint

Due to popular demand I have opened another lint PR. https://github.com/sindresorhus/refined-github/pull/3412#discussion_r4658459222
I changed the select.all's to (almost) always be an array. Its easier to read IMHO and gives the ability to add comments.

Can you also fix the capitalization here? https://github.com/sindresorhus/onetime/issues/12

@fregante you can merge. I am going on vacation for a week starting tomorrow. and will have very limited access

Enjoy!

Thanks!


Did you evaluate performance of other approaches?

hey, just found this crate and it was the first time I'd seen this data structure, but instantly thought, hey, that would work great in certain places. I noticed in the code that retrieving by key is just a simple linear search of a vec. I was curious if you had evaluated the performance of alternative approaches. The obvious one that comes to mind is two maps, each the inverse of the other. Inserts would definitely be slower, but lookup is probably faster. If you haven't looked into this, no worries. Thanks.

I did evaluate the performance of other approaches as "probably better". I still've optimising this crate at the back of my mind.

@jonathanstrong This guy did it as you described.


how to monitor seaweedfs

hi @chrislusf
If I use seaweedfs，how could I monitor it ，and how to use  monitor api。

Hello @jeromeheng bet way is to create a service (Ubuntu 16.04), an upstart job(14.04) or anything in windows(service), to start and stop seaweedFS, and select a place where are you going to save the all log files, which will be created while service/job..
In upstart job all the logs are in var/logs/upstart/ something..
The very last step is to get these logs into use, we are using sumoCollector for this,
You simply signup on Sumo Logic and then install its sumoCollector to your OS, and in the configuration of that collector, give the path of your log files, That way you can have all those logs files showing in sumoLogic, then you do many many things on that data,
for example, searching a specific vacuum, a request, or you can even schedule a search that if this comes in logs "abc" then send me email. like that..
There are many more ways, in case you want help or ask am all ears..

Or you can monitor your ports if you want the most minimal monitoring..
using nagios, uptime robot or any other tool, just monitor the filer port, master port or any other port you want to monitor.

@ijunaid8989
thanks
By the way ，how to start&stop seaweedfs cluster，just like start-all.sh& stop-all.sh about hbase and so on。

Sorry I have no idea about cluster.
@chrislufs may have an answer to that.

@chrislusf
how to start & stop  quickly ?

@jeromeheng The best way is to add
Upstart job if you are using Ubuntu 14.04
Service if you are on higher version of ubuntu
or on windows.
the best way is to create a service for it to start and stop it in a manner, this way you can also see the logs in a specific directory.

Are there plans to support a Prometheus Exporter for Monitoring?

Pull Requests are welcome.
On Sun, Aug 13, 2017 at 8:15 AM, phal0r<EMAIL_ADDRESS>wrote:

Are there plans to support a Prometheus Exporter for Monitoring?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/chrislusf/seaweedfs/issues/534#issuecomment-322047943,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABeL71UAYEhTPASJKMNxpo6WCBsUZ5rqks5sXxMAgaJpZM4OYOb7
.

we crawl weed rest api by  collectd + python scripts for metirces,  and  graphite + grafana  as monitor dashboard

install telegraf
see https://github.com/influxdata/telegraf/tree/master/plugins/inputs/httpjson
see https://github.com/influxdata/telegraf/tree/master/plugins/outputs/prometheus_client
see https://github.com/chrislusf/seaweedfs/wiki/Master-Server-API#check-system-status
send native seaweedfs metrics to prometheus with telegraf

p.s. grafana dashboards for seaweedfs are awesome!
you don't need especial exporters because there are no interface for them in seaweedfs. i think they could slow seaweedfs down. just take statistics from http json.

and so on.

@lastsky this is very helpful! Thanks!
btw: why there are so many volumes?

@lastsky Can you share your grafana dashboard? It looks pretty nice.

@lastsky Your dashboard is awesome, will you share it ?

We were working on some integrations with seaweedfs and I'm afraid only 10% metrics is actually available from seaweedfs, other 90% we wrote for app. So my dashboard will be actually useless without production code.
I will think about how to implement clean install with ansible and deploy standart dashboard to grafana. But now this moment I actually have no answer. Sorry for late response, that's because I have no answer.

(it's 1/10 of all dashboard, looks really poor)

see https://github.com/chrislusf/seaweedfs/wiki/System-Metrics

Hi, I read your answers, but I didn't implement Grafana+Prometheus to monitor seaweedfs, is there another way?


PostgreSQL CONSTRAINT display bug

HI!
I have a table with constraints in a PostgreSQL database.
In DBeaver I can't see the details of the constraints. I only see this at the table's DDL tab:
CONSTRAINT ck_xxx CHECK (col1,col2)
In the constraint properties view I see the owner, the affected columns.
But I can't see anywhere the conditions of the constraints.
PgAdmin III (the official client for Postgre) shows the exact constraint definition:
ALTER TABLE yyy
    ADD CONSTRAINT ck_xxx CHECK (col1= (-1) AND col2 IS NULL ...);

Please fix this bug!
I'm using DBeaver 3.6.7 win 64 bit CE
Thanks,
zsom

Copied from the old forum http://dbeaver.jkiss.org/forum/viewtopic.php?f=2&t=3042

Please post a valid SQL snippet (CREATE TABLE with columns/constraints).

CREATE TABLE test2
(
  id integer NOT NULL,
  aaa integer,
  bbb character(100),
  CONSTRAINT test2_pk PRIMARY KEY (id),
  CONSTRAINT test2_check_1 CHECK (aaa > 100)
)

This insert will succeed:
INSERT INTO test2 (id, aaa, bbb) VALUES (1,200, '1')
This insert will fail (what is right):
INSERT INTO test2 (id, aaa, bbb) VALUES (2,99, '1')
Nor the DDL of the table, neither the constraint details don't show the condition of the constraint. See this screenshots:

Now I'm using the latest version: 3.6.8

Thanks for details.
Will be fixed in the next version.


Introducing vulnerability: CVE-2023-36414 (Azure Identity SDK Remote Code Execution Vulnerability) while using Storage.Queue binding

Similar to ServiceBus issue
The Whitesource scan on the couple of our projects reports an issue
This is because of a Azure.Identity.dll v.1.7.x in ...\bin\Debug\net6.0\.azurefunctions folder.
It seems it is drugged there as a transient dependency for Microsoft.Azure.WebJobs.Extensions.Storage.Queues.dll 5.1.3.
It happens when we use QueueTrigger on Azure Function.
Here is a project that reproduces an issue.
AzureIdenityWhitesourceIssue.zip
To reproduce it:
build solution
open the solution folder in File Explorer
open path ..\bin\Debug\net6.0.azurefunctions
watch the file causing Whtesource to complain

@LenaVinogradov

This exact issue is occurring with some of my applications too. It seems the reference to Azure.Identity is coming from the Azure Functions runtime and there is no way for us to really impact that version unless we change the Microsoft.Azure.Functions.Worker version. I believe the most updated version of Microsoft.Azure.Functions.Worker library, 1.20.0, references 1.7 of Azure.Identity which is vulnerable and causes our MEND scan to report this. Are there any plan on remedying this with a new version of the Functions.Worker?

We have this issue too. We use veracode to scan our code, and it's finding this .dll as a vulnerability in our application because of this. Would appreciate if this could be fixed. Thanks

This exact issue is occurring with some of my applications too. It seems the reference to Azure.Identity is coming from the Azure Functions runtime and there is no way for us to really impact that version unless we change the Microsoft.Azure.Functions.Worker version. I believe the most updated version of Microsoft.Azure.Functions.Worker library, 1.20.0, references 1.7 of Azure.Identity which is vulnerable and causes our MEND scan to report this. Are there any plan on remedying this with a new version of the Functions.Worker?

We have this issue in our reference to the azure functions runtime too. We use veracode to scan our code, and it's finding this .dll as a vulnerability in our application because of this.

Removing security related report.
All issues have been addressed. For guidance on how to report similar issues in the future, please see https://github.com/Azure/azure-functions-dotnet-worker/security/policy
Thank you.


VSCode slow in scrolling

VSCode Version: 1.2.1
OS Version: el capitan

Steps to Reproduce:

Slow while scrolling your source code

@euclimauro Is this happening for you with any file content, or only a specific file? Would you mind doing a CPU profile so we can find out where time is spent. Here is me doing it:

F1 -> Developer: Toggle Developer Tools
Go to Profiles tab
Start a new profile
Scroll around
Stop the profile
Save it and attach it here

Date: Thu, 16 Jun 2016 01:22:45 -0700
From<EMAIL_ADDRESS>To<EMAIL_ADDRESS>CC<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [Microsoft/vscode] VSCode slow in scrolling (#7726)
@euclimauro Is this happening for you with any file content, or only a specific file? Would you mind doing a CPU profile so we can find out where time is spent. Here is me doing it:
F1 -> Developer: Toggle Developer Tools
Go to Profiles tab
Start a new profile
Scroll around
Stop the profile
Save it and attach it here
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@euclimauro  Something might have went wrong, did you try to attach a CPU profile at https://github.com/Microsoft/vscode/issues/7726

CPU-20160629T160103.cpuprofile.zip

@euclimauro Thank you! It looks like most of the time is spent in painting, before a lot of time is spent in painting, a lot of time (44ms) is spent in deltaDecorations, so my initial thought is that you might have a file that has a high number of decorations (probably in the multiple thousands range).
Is it possible you open a file with a lot of errors and warnings, or perhaps you have an extension installed that adds a lot of decorations to the editor?

@euclimauro Do you have a laptop with a touchscreen?

@euclimauro  we just updated Electron again, was wondering if that helps you: http://code.visualstudio.com/Download#insiders

No answer => closing


Update QC cutoffs for samples to include when building trees and run stringent only

From: "Laurent, Louise"
Date: Friday, September 24, 2021 at 5:15 PM
Subject: Re: Should sample qc criteria for tree-building and/or variant/epidemiology usability be updated?
As noted by Amanda, the "overall_fail" column takes into account the N-metric, which adds a substantial layer of stringency. My reasoning is this:
•	for return of results into the medical record, we want to be very stringent (so use "overall_fail").
•	for building trees, we can afford to be less stringent (so use "any_fail") and it may be of benefit to include more samples.
Louise


Make a workaround for the cssstyle package.

Currently, one of the devDependencies is my fork of the cssstyle package. (More information here: https://github.com/jsakas/CSSStyleDeclaration/issues/63).
This is not an optimal solution, plus it breaks npm audit, as it's not published to npm.
The new approach overwrites the Number prototype by adding toLowerCase and split methods for the tests, as they break on them specifically.

Fix for CSSStyleDeclaration in https://github.com/jsakas/CSSStyleDeclaration/pull/52 was merged and released as 1.0.0: https://github.com/jsakas/CSSStyleDeclaration/releases/tag/v1.0.0
@jansiegel Maybe we should revert this workaround? :broken_heart:


TS2503: Cannot find namespace 'Sanity'

Using the same approach as in README:
interface Props {
  book: Sanity.Default.Schema.Book; // no import needed. just use it
}

I do the same in my code but it doesn't give me proper types:
const url = `https://${this.projectId}.api.sanity.io/v2021-10-21/data/query/${this.dataset}?query=${QUERY}`;

// fetch the content
const result = await fetch(url)
  .then((res) => res.json())
  .then(({ result }: { result: Sanity.Default.Schema.Adventure[] }) => {
    const firstAdventure = result[0];
    console.log(firstAdventure.adventureCode); // Intellisense doesn't show the type
    console.log(firstAdventure.contactNumberDestination); // nor here
    return result;
  });

return result;
}

moreover, ESlint complains to the Sanity namespace being not found:

Are there any TS config changes needed to be done additionally to recognise the Sanity namespace?

Hi @goodwin64!
The Sanity namespace is added by @sanity-codegen/types, and then augmented by the types generated by the codegen (adding your namespace and your types).
So I would say that you need to make sure that:

@sanity-codegen/types is installed as dev dependency (or at least present by some other dependency)
the file with the generated types is included by your tsconfig.json

Hope that helps!
(full disclaimer: I also have problems with certain typings, as stated here https://github.com/ricokahler/sanity-codegen/issues/298)

Heyyy @ochicf! Thanks for the reply!
We've made it a slightly different way eventually - moved our types to GraphQL schema so we just need to update it there (needed by arch req-s).
But yeah, compared to how easy it was to setup a Sanity client and fill in the content, the type-gen process feels a bit raw.

Closing as not relevant but feel free to reopen later/link other issues here.


Update ACME challenge link

Closes #63

First of all big THANK YOU to you, @paolodina !
I've got a big week at work, but on the surface I don't see any issues with this. I'll make some time later this week to sit down and get this worked on 😄

Closing in favor of #65 , please be sure next time to update the same branch in the PR when you rebase or update after a review. I just happened to notice your proper commit in your develop branch before I went and cut my own commit.

@urda I didn't mean to cause that trouble. Apologies.

@paolodina No worries! I wanted to make sure your work got in! Contributions are ALWAYS welcome for review!
I pulled your commit, and I'm working on adding it to develop. 😄


Add a README File in the Examples Directory

Description:
Currently, the examples directory does not contain a README file. This is important when people search for examples. We should add a README file with explanations for each example. Should consider adding README for each example as well.

Closing as this is now complete.


MODRS-16 - Remote storage backend requests do not work

Additional PR to PR#16 with ModuleDescriptor changes.

@siarhei-charniak @VitaliiZahoruiko I'm going to merge this PR without your approval because it was discussed with architect and changes are pretty simple.

@siarhei-charniak @VitaliiZahoruiko I'm going to merge this PR without your approval because it was discussed with architect and changes are pretty simple.


about "break" in train.py

train.py line:133,what the meaning about "break"??

Sorry about that. I used for the debugging purpose and accidentally added to the commit. I just fixed the code, so please check.


Keep GitHub Actions up to date with GitHub's Dependabot

Autogenerates pull requests like

#1660

https://docs.github.com/en/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot
https://docs.github.com/en/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem

Description
Please include a summary of the change and which issue is fixed. Please also
include relevant motivation and context.
Fixes # (issue)
Checklist:

[ ] I have added the relevant tests for this change.
[ ] I have added an item to the Pending section of docs/changes.rst.

@matthiask

Autogenerated the pull request:

jazzband/django-debug-toolbar#1885


Pass followlinks as embed params to requests

This PR builds on https://github.com/DSpace/dspace-angular/pull/578 and makes use of REST PR https://github.com/DSpace/DSpace/pull/2670
Every time followLink('linkName') is used in a  findById or findByHref method on a DataService, this PR will add that linkName as an embed GET param to the link.
That way the REST API can embed it in the original response, and by the time those links are actually retrieved in the UI, the result will already be cached.
If the REST API doesn't recognize the embed param it will be ignored.
Multiple embed params can be combined in the same request.
Nested followlinks will result embed params with slashes
e.g. followLink('owningCollection', … followLink('logo')) will turn in to ?embed=owningCollection/logo
You can set an optional parameter shouldEmbed to false on a followLink if you would like to disable this behavior, but by default it will be enabled.

This can be rebased now that #578 is merged, to make it easier to review.

Merging, as corresponding REST API PR https://github.com/DSpace/DSpace/pull/2670 was just merged & deployed to the REST API demo site.


Include a simple members data file and select drop down to select a member.

Created member.js that contains a variable members that holds a JSON string (rather than using a JSON file so that you don't have to run this sketch with a server to load the JSON file). The JSON string contains an array of member objects that have 2 properties name and `random. I have filled in the first two members, myself and Hunter Parks who received a number at the end of the last live stream where Dan introduced this project.
Added a script tag for member.js in index.html to load it prior to the sketch. Sorry my VS Code reformatted the HTML making the diff output look like a lot more has changed.
Then in sketch.js I have loaded the members into memberArray variable then used a select drop down to allow a user to select a member, this will then put their random number in the random number input field, allowing the user to them click generate.
YouTube Coding Train members who have been given a number can add to their details to members.js
This is my first attempt at a pull request. So if this is incorrect or doesn't match the requirement, I will not be disappointed if it's rejected 😄 but more than happy to make any changes if required.
Thanks
Dan

Thank you @dg1234uk this is a great start! I might end up using a different solution but this is exactly what I proposed starting with. Will merge and we'll see how it goes! @all-contributors add @dg1234uk for code!

Thank you @dg1234uk this is a great start! I might end up using a different solution but this is exactly what I proposed starting with. Will merge and we'll see how it goes! @all-contributors add @dg1234uk for code!


Update harbor ui build to 1.4.0

Update harbor ui builder to latest(1.4.0) to fix ui bugs.

Coverage decreased (-0.02%) to 64.479% when pulling 13e162cce9d481916463198be6ee301be6c019f5 on wy65701436:release-1.5.0-builder into bbd78fd9cf09498aff02307030026a890606cb70 on vmware:release-1.5.0.


Fix api-swagger-ui workflow trigger

Motivation
Fix the api-swagger-ui workflow trigger.
Description
Change the GitHub Actions workflow to modify the release type to "created." This change addresses an issue where the previous release type, "published," did not pick up the release created by the release.yaml gh-action.

bors merge

bors merge


couldn't search flatpak in gnome software --- Fedora 38 Silverblue

host computer: Fedora Silverblue
rpm-ostree install xrdp

client computer: Windows 10 mstsc
When login, open GNOME "software", search "any flatpak", no result. Menu "Software repositories" has no flathub repo.
Is this problem caused by  SELinux right?

Does it work on the machine console?

yes, I can run flatpak app on console.
Gnome "show app" can also show the flatpak app, I can run it .

More info.

On the console the log includes this line which is missing from an xrdp session:-
10:39:27:046 GsPluginFlatpak successfully set up flatpak-system-default

There's nothing else to indicate why this should be the case.

This also appears to affect F38 workstation.

Interesting, maybe this is a gnome-software issue ,not fedora

I have little doubt it's GNOME related!
Now I can reproduce this on standard Fedora (which I understand reasonably well), I'll try to spend a bit more time on it next week. I can't guarantee a fix though.

It's looking polkit related now, despite the lack of logging.
I'm out of time today. More tomorrow.

This is an interesting one.
On an xrdp session you should get prompts to allow access for some of the update operations. That doesn't seem to be happening, so there's something not quite right about the interaction between gnome-software, systemd --user and the polkit authentication agent.
That said, the problem as stated can be fixed by

Creating the file /etc/polkit-1/rules.d/50-xrdp-local.rules with the following contents:-

polkit.addRule(function(action, subject) {
    if (subject.isInGroup("xrdp-local")) {
        switch(action.id) {
            case "org.freedesktop.Flatpak.appstream-update":
            case "org.freedesktop.packagekit.trigger-offline-update":
            case "org.freedesktop.packagekit.system-sources-refresh":
                return "yes";
        }
    }
});

Creating the group xrdp-local, and adding your xrdp user(s) to it:-

$ sudo groupadd xrdp-local
$ sudo usermod -aG xrdp-local testuser

The polkit actions above should be using auth_admin for an xrdp session (e.g.):-
 pkaction --verbose --action-id org.freedesktop.Flatpak.appstream-update
org.freedesktop.Flatpak.appstream-update:
   . . .
  implicit any:      auth_admin
  . . .
  implicit active:   yes

I've changed them to be implicit for a user in the xrdp-local group.
Do you want to try that @m666m ?

That's great! Everything is ok!
I can searh and open flatpaks in Gnome Software now!
And I have learned another strange knowledge besides SELinux  :D

Is there anything else that hasn't been set up?
I installed a flatpak software that prompts for a password 7 times...

Great, thank you for your help

Have a look at this script:-
https://github.com/matt335672/pk-local
It should help you see what's going on, and any additional changes you might want to make.

I installed the script and tested it, but no issues were found. Thank you very much for your patient help.
Because I plan to replace Windows operating system with Fedora for all my computers at home (including PCs and everyone's laptops), your help has given me great confidence. Thank you, Matt!

Glad it's worked out for you.


Terraform provider

Overview of feature request
We currently support Terraform for Radius Recipes, and we’ve heard consistently from customers that this is a key enabler for them and eases adoption of Radius. However, we do not have a Terraform Provider, which means we only support Radius resource definitions using Bicep.
This feature request is to enable deeper Terraform integration in the form of a Terraform Provider that allows users to define resources using Terraform IaC.
Acceptance criteria
Create a Terraform Provider such that users may define their resources using Terraform IaC (in addition to the currently supported Bicep definitions).
Additional context

AB#10804

will track this in the roadmap


Disable new lines between imports (including function import)

Disables blank lines in imports: blank_line_between_import_groups

Yes, that grouping is indeed very annoying. Thanks! :)


File is created for whatever command line option flag is given.

When this line is executed,
https://github.com/access-ci-org/ipf/blob/9cbf94e3c4f9447fe76f60f18db1157534343b89/ipf/etc/ipf/init.d/ipf-WORKFLOW#L52
a new file named -d is created in the local directory.

I have traced it down to this line:
https://github.com/access-ci-org/ipf/blob/9cbf94e3c4f9447fe76f60f18db1157534343b89/ipf/catalog.py#L24
but not sure where to go from there.

Following the install from repo method (defined in https://github.com/access-ci-org/ipf/blob/CTT-304/aloftus/backwards_compatable/QUICKSTART.md), I have validated that whatever command line flag I pass will create a file by that name. For example, if I pass the long option name --daemon instead of the short option name, the file created will be named --daemon. I have even passed an invalid command line option such as -k and a file will be created with that name.

I believe I have solved this with the commit in the github-issue-16 branch.
The issue is that pre_populate_position.py (which is a convenience script for setting up the workflow where IPF monitors the SLURM slumctl log) was being imported as a module when catalog.py was doing "import ipf" to use pkgutil to walk the modules that IPF provides.  However, python will run the module when imported, so pre_populate_position.py was being run.  The solution was to put pre_populate_position's code inside a "def main():" and add a "if name == 'main':
main()" so that the code is not run when imported, only when invoked as a script.
See https://stackoverflow.com/questions/6523791/why-is-python-running-my-module-when-i-import-it-and-how-do-i-stop-it

@ericblau Can this issue be closed?

Yep, this issue is complete.


AF-212 allow zat new --iframe-only

:bread:
/cc @zendesk/vegemite
This shouldn't be released until ZAS has also been bumped in this gem, otherwise it will be possible to create apps that don't pass validation or run in zat server without modification.
References

Jira link: https://zendesk.atlassian.net/browse/AF-212

tests will be red until ZAS is released but @zendesk/vegemite can I get a review?

:+1: other than https://github.com/zendesk/zendesk_apps_tools/pull/112#discussion_r50367435

:+1: for when we're ready to release

@adammw @danielbreves :haircut: one more commit

:+1:


connection refused on tails

i have installed sparrow on tails as per this tutorial
https://sovrnbitcoiner.com/sparrow-wallet-and-tails/
however when i try to to connect i get an error saying 'Connection failed: Connect Error (Connection refused)'
this is when trying to connect to a public server such as bitcoin.lukechilds.co or any other of the available options. when i hit Test Connection i get an error
'Could not connect:
Connection refused'
i am not very tech literate, so any help would be much appreciated
thanks!

Tails requires all connections to go through Tor, so it is better to connect to a public server running as a hidden service on Tor. A community member runs a server here you can try (configure as a Private Electrum server in Server Preferences):

rqcbvkan255wranepdrxqzwq2wexy6dpzpltsc7rir4epkz7itufwvqd.onion, Port 50021 for TCP and 50022 for SSL.

If you are concerned enough about privacy to be using Tails, definitely consider running your own node.

Hi,
I'm getting the same message 'Connection failed: Connect Error (Connection refused)' whilst trying to connect to private electrum server. Oddly it wasn't happening previously and nothing has changed. I can ssh into the node perfectly fine.
Thanks for any help at all!

Tails requires all connections to go through Tor, so it is better to connect to a public server running as a hidden service on Tor. A community member runs a server here you can try (configure as a Private Electrum server in Server Preferences):

rqcbvkan255wranepdrxqzwq2wexy6dpzpltsc7rir4epkz7itufwvqd.onion, Port 50021 for TCP and 50022 for SSL.

If you are concerned enough about privacy to be using Tails, definitely consider running your own node.

this server also gives me a similar error
Could not connect:
Could not setup Tor
how do i go about setting up my own node?

In Sparrow, make sure you have enabled the Use Proxy toggle, and set the Proxy URL to <IP_ADDRESS> and the port to 9050.
Tails starts a Tor proxy externally when you connect it to the internet.

In Sparrow, make sure you have enabled the Use Proxy toggle, and set the Proxy URL to <IP_ADDRESS> and the port to 9050.

The guide linked above has now been updated with this information.

hi craig, sorry to be a bother but i am having connection issues again. i was connecting fine a few weeks ago but now cannot connect
i have tried using the private server details
rqcbvkan255wranepdrxqzwq2wexy6dpzpltsc7rir4epkz7itufwvqd.onion, Port 50021 for TCP and 50022 for SSL.
with Proxy URL <IP_ADDRESS> and the port 9050
and usually get the following error

Could not connect:
SOCKS: Host unreachable. Check if the proxy server is running.

if i connect just to public server with proxy toggled, it will occasionally connect and show a yellow toggle in the bottom right to indicate connection, but wallet transactions never load and funds cannot be sent
any help is greatly appreciated!

currently i am able to connect via public server blockstream.info with proxy toggled, transactions have loaded.
but again, it is inconsitent and i cannot figure out why it has connected this time and not others

Can successfully connect to some public nodes.
Cant connect to the local core node running inside tails. Any idea what might help? Tried with cookie or with rpcuser/pass both send back refused to connect. Tried with/without proxy.


Feature requests - 3ds Max exporter

Hello,
Here are 2 small features that could be usefull with the exporter :

Add an option to not export material of a mesh
I know I can remove the material of the object before export but sometimes is just nice to have that option.
Add the exporter version in the window title (I don t ask for a check update but at least knowing the current version would be nice)

Hello!
I did not see the use case for 1. You can remove it either in JS as you mentioned or in 3dsmax
For 2, this is a good idea.

Hello,
Sometimes I don't want to export materials from the objects since I will need to do them in javascript.
So it's just datas I don't need.
Maybe I miss some info on how to export all kinds of materials from 3ds max.
For example, I don t know if it s possible to export from max an object with a PBR material. So I create it in JS after the export.

not possible yet. the js option is my recomm dation so far

Yes, that's what I thought. So having the ability to discard materials on export makes sense now. Don t you think ?

I would prefer adding support for PBR:)

Hey there, good job on the plug-in!
I have a question concerning the skin wrap modifier. Is it possible to export say a shirt that is skin wrapped on top of a body with multiple morph targets so that when we play with morph targets the shirt is deforming accordingly? Could that be implemented in babylonjs?

Duplicate with #2193


Fix or Disable flaky auth unit test

There have been two travis failures in the last week with this failure:
Failing tests:
-[FIRUserTests testlinkEmailProviderAlreadyLinkedError]
** TEST FAILED **
Please fix or disable.
Full log at https://travis-ci.org/firebase/firebase-ios-sdk/builds/292271483

There's nothing obvious wrong with the test, so will monitor for reoccurrences for a few weeks and then close if nothing.

@protocol86 This test failure happened again today. Does the timeout need to be increased?

Just got a similar failure - 	-[FIRUserTests testlinkEmailAndRetrieveDataSuccess]
at https://travis-ci.org/firebase/firebase-ios-sdk/builds/305919150


OAK-9612 Convert ReadOnlyBuilder's exceptions into RepositoryExcept…

…ions

@mreutegg I added additional test coverage and changed the exception as indicated.

@mreutegg / @anchela:  I don't have enough karma/permissions to merge this PR, can you do it for me?


docker-compose with network alias / DNS override

I have a container in a docker-compose setup that replaces a well-known server (which is hard-coded in a dependency) to provide a "mock" server instead.
Now the only way to do this is using network aliases:
networks:
  test:

services:
  external-server-mock:
    ...
    networks:
      test:
        aliases:
          - official.host.org

So, how can I "attach" the test execution to the network so that its DNS resolution correctly points to the desired mock container?

Hi @enote-kane, I'm not entirely sure what you mean. The alias official.host.org is only available within the test network. Unless your test execution is also a Docker container running inside the test network, DNS resolution won't work. Are you asking whether it's possible to dynamically attach a container to an existing network?

Hi @cristianrgreco, thanx for you time
Essentially, my problem is: my application → calls 3rd party library → requests https://official.host.org:443/...
The application I currently have is a NestJS application that is being tested with Jest, but now as you mention it, the better idea is probably running the application itself in a Docker container on the same network and then just testing via API.
The mapped host/port doesn't work in my scenario, apparently, since the server host + port I am mocking really is hard-coded elsewhere and I really would like to refrain from runtime patching.


Papers: add published papers to repository

Adds the published papers to our repostiory.
Removes some unnecessary files.
Updates everything to work with Agda 2.6.0

I want to get this in ASAP so I can update the paper to point to this repository for the artifacts.

Looks fine to me.  We could just add the PDFs and any artefacts, but I come from the era when storage space was at a premium.
In fact, I see that these just contain the source.  Should we add PDFs to simplify things for people who just want to read things without having to build them?
Also, i see that the submission guidelines (https://www.cs.nott.ac.uk/~pszgmh/mpc19.html#submission) say
"The proceedings of MPC 2019 will be published in the Lecture Notes in Computer Science (LNCS) series, as with all previous instances of the conference. Authors of accepted papers will be expected to transfer copyright to Springer for this purpose."
Are we sure that it's OK to publish the final version here?
I also have a vague feeling that I once saw something about IOHK wanting to retain ownership of publications, but I may be imagining that.  I'll see if I can find anything about that.

I think there is a distinction between the final submitted version and the publisher's own version. The authors often have greater freedom with the former. I cannot find the LNCS rules though.
Thank you for doing this.
Will this pull request allow me to give a stable link to the latex source (a.k.a. the literate agda program)?

We could just add the PDFs and any artefacts, but I come from the era when storage space was at a premium.

Checking in the PDFs probably takes more space. Besides, I don't believe in checking in generated files ;)

Should we add PDFs to simplify things for people who just want to read things without having to build them?

We can add links to hydra.
I agree with James that we should be fine with publishing them, they're just like preprints.

Will this pull request allow me to give a stable link to the latex source (a.k.a. the literate agda program)?

Yes, that's what I'm planning to do. You can take the github link at a particular commit, which should be stable and also reflect the published version.

Okay, I'll do pinning later, but I want to get the submission updated asap.


project status ?

Is this project still deprecated ? cause zf-console it's not the answer.

Is this project still deprecated ?

Yes: https://docs.zendframework.com/zend-mvc-console/intro/#deprecated

cause zf-console it's not the answer.

Reasons?

my app has multiple module that split to multiple vendor, each module might have console app. and have might have a lot of console route. I dont see how you can do it with zf-console. one index.php that later route to different controller is much better approach instead of multiple bin.
zf-console cannot create controller using factory , but service might be possible.
no clear docs how to inject container ( service manager ) to handler.

most of app should be able to handle both web and cli at the same time. If I have to split  web app and console app, the config will be hell.
what I think is zf-console seems to only focus in console app only.

Yes, zf-console only focuses on console applications, as does symfony/console (our other recommendation for console tooling).
Our experience maintaining the console tooling is that it is far too complex and has far too many edge cases where it can fail. Additionally, mixing MVC and console paradigms simply doesn't work, which tends to lead to code duplication that you would end up having with any console-specific tooling anyways.
We have found, however, that it's relatively trivial to bootstrap in a way similar to zend-mvc whereby all modules and services are initialized, giving you access to those services for purposes of your console tooling; you can, in fact, pull console-specific zf-console commands or symfony/console commands from the container and attach them to a console application runner. One approach I've seen in the wild had classes that were used to populate a symfony/console application with commands.
Because there are other and better approaches, and because handling mvc <-> console integration is so error prone, this package remains deprecated, and we have no plans to continue supporting it long-term.


Support ordering direction

Description
Add support for flag --order-direction

QueryOptions must have support for sorting direction property.
Field name could be SortDirection or OrderDirection or Order.
Possible values are: "asc", "desc"
Default value is "desc"

This issue was moved to issues2markdown/docs#3


Support CloudMonitoring v3 since v2 has been deprecated.

Based on the cloud API reference:
https://cloud.google.com/monitoring/docs/apis

@shinfan according to the Discovery APIs, v2beta2 is the current version. Because these files are generated from the Discovery API, we can't update to v3 until it happens in discovery.


Don't send back users or starred users

Temporary fix for dockstore/dockstore#3662 .  Additional webservice fix is preferable

Being super-paranoid here, double-check that this doesn't wipe out workflow versions, starred users, or users? (ideally, there are tests already?)
Link to additional ticket for webservice follow-up

We actually wiped out the workflowversions before (so I didn't change anything there).  As for the starred users and users, tools already wipes that out, i guess we forgot to do the same for workflows.  The Cypress tests would definitely error out of the users were actually wiped out.  Looking at the webservice code, the only thing it updates is default paths.


Filtering with saved searches

Hi,
I'm using Kibana 6.5.4 and installed the plugin according to the instructions. Then I wanted to add a visualisation and copied and pasted your code into my js file.  But in my web app the Kibana dashboard continues saying "This dashboard is empty. Let’s fill it up!".
Do you have any ideas what I might have done wrong?
Thanks!

Alright, I got it working. Didn't have anything to do with the plugin. I just made the mistake of calling the function on page load.
However, I have another question: is it possible to automatically include filters (e.g. saved searches), so I can see the visualisation only on the subset of data which matches the filter?

Meanwhile you can't


Add log when allocate nodecidr failure

If user enconter an error when ipam allocate nodecidr failure where. It hang at log
required IPv4 pod CIDR not present in node resource
like this issue: https://github.com/cilium/cilium/issues/12956
I think it should return a error and show it to the user.
[Edit] See also related PR for IPAM: https://github.com/cilium/ipam/pull/1

@aanm Yes. Because I write a incorrect subnodemask(cluster pool=<IP_ADDRESS>/16, subnodemask should be 26, but I was config as 64). It cause cidrpodset try to allocate a nil cidr without any error.
Than ipam on  ciliumnodes.cilium.io  was add a nil ipaddress pool by the cilium operator from here
https://github.com/cilium/cilium/blob/28d9889795e41026bf5ecd29c069f7b73bdd20f5/pkg/ipam/allocator/podcidr/podcidr.go#L852

@konghui that makes more sense. Please squash all commits together and sign-off your commits.

@konghui that makes more sense. Please squash all commits together and sign-off your commit as explained here #13299 (comment)

done

@konghui can you take a look at the failures? Thanks!

I am sorry about too late to update the code. Now I have update it.

test-me-please


What's the recommended way to handle HTTP errors on form submission?

Is there a best practise when using this library?
I'm trying to get a 401 to show a warning to the user that their user/pass is wrong.

@OmgImAlexis  the library is independent of how you want to send the data through HTTP.
You can use @submit="handleSubmit"
function handleSubmit(values) {
   try {
      const res = await axios.post('<yourEndpointUrl>', values );
   } catch(error) {
       // Check if error is 401
   }
}


Change popularity to awareness

The notion of "popularity" is confusing. What we really mean is "awareness" so use that term or something that means something similar.

Hmm, on further thought, I think "popularity" is ok. Leave it.


Add initial docs folder to portuguese

Add initial docs folder to Portuguese
@jcjesus, could you please review?
Thanks

/assign @jcjesus

/lgtm

/approved


[WIP] Add support for Glm

Blocked by https://github.com/huggingface/transformers/issues/35021

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


docker build not possible

docker build is not possible - in code we see a lot of internal ips like <IP_ADDRESS>:5000
https://github.com/neuvector/neuvector/search?q=<IP_ADDRESS>
https://github.com/neuvector/neuvector/blob/main/Makefile#L3_L4
https://github.com/neuvector/neuvector/blob/main/build/Dockerfile.all#L2
https://github.com/neuvector/neuvector/blob/main/build/Dockerfile.controller#L2
https://github.com/neuvector/neuvector/blob/main/build/Dockerfile.ctrlenf#L1

Self build is not supported yet and will be supported in the future. Using #24 to follow up the issue.

Duplicate of #24


Stabilize tests on PSI

Our current tests that are executed against PSI are quite unstable.
The whole purpose of running tests on PSI was to make it more stable and faster than Prow tests.
The last successful run that I can see was a week ago. It failed 32 times in a row.
https://prow.ci.openshift.org/job-history/gs/origin-ci-test/pr-logs/directory/pull-ci-openshift-odo-master-v4.6-e2e-4x-psi?buildId=
A few reasons for failures are here?

Failing tests on PSI - Failed Error: ImagePullBackOff #4454
Failing tests on PSI - timeout on internal image registry #4458

But I'm sure that there will be many more different errors in logs.
But as a minimal thing, we need to fix all those connection errors.

Issues related to Failing test on PSI:

component push throws error of waited 4m0s but couldn't find running pod matching selector https://github.com/openshift/odo/issues/2877

For failing tests on PSI - Failed Error: ImagePullBackOff #4454 I ran it locally agains the PSI cluster and it passed. Debugging to try to figure out why this is unstable

Closing as the related 2 issues. We will keep an eye on stability and reopen if needed once the required scripts for CI are merged


Incorrect Doc in Python API locator.evaluate_all

locator.evaluate_all(expression, **kwargs)
It should change to elements.evaluate_all(...).
Does this place use bot to generate doc? If not, I can do the PR to change the docs.
https://github.com/microsoft/playwright.dev/blob/3ef1153190791e7e6664a9f142b7282323f9646f/python/docs/api/class-locator.mdx?plain=1#L440-L451

The source is located here: https://github.com/microsoft/playwright/blob/795730f6655e652796d98d3e032ca34a7fa6adfa/docs/src/api/class-locator.md?plain=1#L442-L443
Thanks!


sed --in-place isn’t posix compatible

https://github.com/standardebooks/web/blob/241242749097fdecd64a9164f050ba689e25030c/www/contribute/producing-an-ebook-step-by-step.php#L118
Unfortunately switching from perl to sed has broken macOS compatibility, as --in-place is a GNU thing. Short of requiring mac users to brew install gnu-sed there don’t seem many clean options (see https://stackoverflow.com/questions/5694228/sed-in-place-flag-that-works-both-on-mac-bsd-and-linux).
What was the rationale for switching in the first place?

For consistency, since sed --in-place was used elsewhere in the guide but perl wasn't. But it looks like most of those have been replaced with interactive-replace so if you want to replace all of the instances of sed with perl then go for it.