text:
Css selector helper not works?

When i try to enable selector helpers:
Uncaught TypeError:
Cannot read property 'contentWindow' of undefined(anonymous function)
@ debug.js:162n.event.dispatch
@ jquery.min.js:3r.handle
@ jquery.min.js:3
  $("#J-enable-css-selector-helper").on('click', function() {
    _this.clear();
    $("#tab-web iframe")[0].contentWindow.postMessage({ <--------------------------------
      type: 'enable_css_selector_helper'
    }, '*');
    _this.enable();
  });

what browser you are using?

@binux hi, i understood how it works: only after "run" click.
I try to run css selector on newly created project - and error occurs.

authors: Bogdaan binux

repo: binux/pyspider


text:
WIP: Add portals to qiita

This is a lot of work, and will require many steps. The general goal is to have portals be a seamless backend thing that users of the system will never see. This means that all queries that require portal types will seamlessly add a "where portal_type_id = ?????" and act as if everything returned is what is available in the database, along with other considerations. The full list of changes is as follows:

[ ] Add portal types to analyses (PR #1256)
[ ] Move portal types out of study table and into join table, since one study can be in multiple portals (PR #1256)
[ ] Create portal manipulation scripts for qiita_db (PR #1256)
[ ] Create portal manipulation scripts for qiita_ware
[ ] Create portal manipulation interface for qiita_pet
[ ] Make all functions of objects work in queues (PR #1262)
[ ] Update analysis object to be portal aware
[ ] Update study object to be portal aware
[ ] Update search object to be portal aware
[ ] Update user object to be portal aware
[ ] Add branding ability to qiita_pet (PR #1275)
[ ] Add a note to the changelog
[ ] Add documentation on how to create and maintain a new portal.
[ ] Add the default analysis on user creation

I don’t understand this comment: the whole point is that users will see different branding, and perhaps have access to different functionality, depending on the portal?

On Jun 16, 2015, at 4:18 PM, Joshua Shorenstein notifications@github.com wrote:
This is a lot of work, and will require many steps. The general goal is to have portals be a seamless backend thing that users of the system will never see. This means that all queries that require portal types will seamlessly add a "where portal_type_id = ?????" and act as if everything returned is what is available in the database, along with other considerations. The full list of changes is as follows:
[ ] Add portal types to analyses
[ ] Move portal types out of study table and into join table, since one study can be in multiple portals
[ ] Create portal manipulation scripts for qiita_db
[ ] Create portal manipulation scripts for qiita_ware
[ ] Create portal manipulation interface for qiita_pet
[ ] Update analysis object to be portal-aware
[ ] Update study object to be portal aware
[ ] Update search object to be portal-aware
[ ] Add branding ability to qiita_pet
You can view, comment on, or merge this pull request online at:
https://github.com/biocore/qiita/pull/1266 https://github.com/biocore/qiita/pull/1266
Commit Summary
change for merge message
File Changes
M qiita_db/support_files/patches/13.sql https://github.com/biocore/qiita/pull/1266/files#diff-0 (1)
Patch Links:
https://github.com/biocore/qiita/pull/1266.patch https://github.com/biocore/qiita/pull/1266.patch
https://github.com/biocore/qiita/pull/1266.diff https://github.com/biocore/qiita/pull/1266.diff
—
Reply to this email directly or view it on GitHub https://github.com/biocore/qiita/pull/1266.

Correct. In discussing how this will work, we decided that it would be best if, to the users, the qiita_db objects acted as if they had access to the entire database regardless of what they actually have access to, essentially walling off access at below the qiita_db object level. This means calling Study.get_by_status() or User.available_studies will automatically limit what is available based on portal, without the user explicitly doing anything regarding portals.
This is going to require retooling a lot of the objects, as well as the interface. After it is implemented, though, changing portals should be as easy as changing the portal name in the setting file and everything else will be automatic and walled off safely.

Ok thanks for the explanation.
On Jun 16, 2015, at 7:03 PM, Joshua Shorenstein notifications@github.com
wrote:
Correct. In discussing how this will work, we decided that it would be best
if, to the users, the qiita_db objects acted as if they had access to the
entire database regardless of what they actually have access to,
essentially walling off access at below the qiita_db object level. This
means calling Study.get_by_status() or User.available_studies will
automatically limit what is available based on portal, without the user
explicitly doing anything regarding portals.
This is going to require retooling a lot of the objects, as well as the
interface. After it is implemented, though, changing portals should be as
easy as changing the portal name in the setting file and everything else
will be automatic and walled off safely.
—
Reply to this email directly or view it on GitHub
https://github.com/biocore/qiita/pull/1266#issuecomment-112622917.

@squirrelo Please do not check the items in the list until the code is actually merged on this branch. I unchecked it and added the PR # next to them. If those numbers are not correct, please correct. If you want to mark that you're working on them, please just add your name next to the item.

I just added another bullet point 'Add documentation on how to create and maintain a new portal.'.

How is  Add the default analysis on user creation not part of Update user object to be portal aware?

It is part, but taking into account that you're doing partial changes I want to make sure that everything is changed... Again, the way you're proposing doing the changes is a way of adding a lot of bugs. What you should have done is not modify any of the other files until you don't want to completely change them.

@squirrelo There is a merge conflict in here, you probably want to solve it before continuing working on this. Since this is a special case, I would suggest that in order to resolve the merge conflicts, you should do a PR against this branch, so we can check that the merge conflicts have been correctly fixed. Does this make sense?

Just wanted to add a comment in here. Note that there is not a problem on merging this into master once is ready even #1262 is not merged. We can't deploy multiple portals if #1262 is not finished, but that shouldn't block this PR as right now we only have one portal.

All items in the list of things to do now have pull requests in, so please review quickly so we can get this merged into master and start working on Transactions for these object changes.

We now need 3 devs on this PR to review and merge as soon as possible so the transition into transactions can go as smooth as possible, can we get 3 volunteers? I'll have a look later today.

:+1: just tried this out and it looks very good!

Agree, tested several possibilities and looks great! :+1:

I tried multiple things in here and everything worked!

source: gharchive/pull-request

authors: ElDeveloper antgonza josenavas rob-knight squirrelo

repo: biocore/qiita

license_type: permissive

license_source: github-api


text:
[Cell-level metadata] Add file upload details modal

Description

Details
URL to issue
https://github.com/orgs/hms-dbmi-cellenics/projects/4/views/1?pane=issue&itemId=37470061
https://github.com/orgs/hms-dbmi-cellenics/projects/4/views/1?pane=issue&itemId=37478077
Link to staging deployment URL (or set N/A)
N/A
Links to any PRs or resources related to this PR

Integration test branch
master

Merge checklist
Your changes will be ready for merging after all of the steps below have been completed.

Code updates
Have best practices and ongoing refactors being observed in this PR

[ ] Migrated any selector / reducer used to the new format.
[ ] All new dependency licenses have been checked for compatibility.

Manual/unit testing

[ ] Tested changes using InfraMock locally or no tests required for change, e.g. Kubernetes chart updates.
[ ] Validated that current unit tests for code work as expected and are sufficient for code coverage or no unit tests required for change, e.g. documentation update.
[ ] Unit tests written or no unit tests required for change, e.g. documentation update.

Integration testing
You must check the box below to run integration tests on the latest commit on your PR branch.
Integration tests have to pass before the PR can be merged. Without checking the box, your PR
will not pass the required status checks for merging.

[ ] Started end-to-end tests on the latest commit.

Documentation updates

[ ] Relevant Github READMEs updated or no GitHub README updates required.
[ ] Relevant Wiki pages created/updated or no Wiki updates required.

Optional

[ ] Staging environment is unstaged before merging.
[ ] Photo of a cute animal attached to this PR.

Codecov Report
Attention: 14 lines in your changes are missing coverage. Please review.

Comparison is base (e2fd3d2) 89.91% compared to head (04f75b2) 89.62%.
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #19      +/-   ##
==========================================
- Coverage   89.91%   89.62%   -0.29%
==========================================
  Files         166      166
  Lines        3578     3596      +18
  Branches      395      395
==========================================
+ Hits         3217     3223       +6
- Misses        339      351      +12
  Partials       22       22

Files
Coverage Δ

src/api.v2/routes/cellLevel.js
50.00% <0.00%> (-10.00%)
:arrow_down:

src/api.v2/model/CellLevelMetaToExperiment.js
50.00% <0.00%> (-21.43%)
:arrow_down:

src/api.v2/model/CellLevelMeta.js
76.47% <42.85%> (-23.53%)
:arrow_down:

src/api.v2/controllers/cellLevelMetaController.js
40.00% <33.33%> (+0.71%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

authors: StefanBabukov codecov-commenter

repo: biomage-org/api

license: MIT


text:
📎 Implement useConsistentArrayApis

Description
This rule will include following unicorn apis:
prefer-array-find
prefer-array-flat-map
prefer-array-index-of
prefer-array-some
prefer-at
For now I am not planning on providing any options to turn of any of them of individually.
Since there are a lot of rules I am gonna start with prefer-array-index and then I implement other rules later.

Note: useFlatMap already exists.
Also it seems you missed prefer-array-flat.
I am the one that proposed merging all these rules. However, I expected some discussions about this before opening a task and implementing it.
I first suggested merging these rules to avoid the multiplication of API rules.
However, users might want to disable some specific APIs, especially APIs that are not yet supported by their target (e.g., `Array#at'). If we had access to the ECMAScript target, we could disable unsupported APIs. However, this might be the first rule to do so. Do we want it? Could other rules benefit of it?
Maybe it is better to keep them separated? This will ease migration.
Also we should come up with a consistent naming convention for such rules. Is useConsistentStringFunctions (#2817) similar to this rule? If yes, then should we consider useConsistentArrayFunctions or renaming useConsistentStringFunctions to useConsistentStringApis?

I think these rules should be separated. They would be more portable and easy to configure.

About naming consistency, I prefer the Functions instead of Apis.

I thought about a third option: Methods.

That list has a lot of rules, so documenting and implementing them should be easier as separate rule each.
Semantically I see appeal on merging them together, though proposed ruleSets if we ever need them might be better here.
So if we agree, I can close this issue and start implementing each rule separately?

I wonder if we should reconsider the separation of rules in #2817

Usually rules should do one single job, and do it well.
If they happen to do multiple jobs, we should split them

Looking in isolation as per my previous comment keeping useConsistentStringFunctions together seems fine, however given context of this issue, to be consistent it should prob be split. By splitting them we can also add new String function rules easier in a future.

Usually rules should do one single job, and do it well.
If they happen to do multiple jobs, we should split them.
Should this be documented somewhere and maybe even useConsistentArrayApis given as example?

In any case I am closing this issue. Will open new one for each array rule.

source: gharchive/issue

authors: Conaclos ematipico minht11

repo: biomejs/biome


text:
ci: add renovate to monitor dependencies

Summary
This PR adds renovate to the repository. It adds four groups to monitor:

github actions
rust crates
website
npm packages

For Rust crates, syn and quote are ignored for now.
It will open PRs every Monday at 9AM GMT and it will tag the teams @biomejs/core-contributors  and @biomejs/maintainers

Test Plan
Merge it. It will create a new issue with the label "Dashboard". That issue can't be closed.

looks good! is there any way to make it bump all npm deps in the repo at once? to avoid duplicated dependencies with different versions

Yes, with just a group, and match all the packages we need to monitor


text:
geo is not searchable

add mapping to gst

As I see it we have some options:

Have an internal list of the valid db options and check it upfront request

This can be created the first time the users uses the tool and use a cached version of it from that moment if hardcoding is not an option.
This will also allow the usage of a string metric algorithm for suggestions in case the db is not found.

Identify conflictive cases and create the specific mapping for them.

This is a simple and fast solution. But won't protect the user from misspells.

Do the request but if the following object is  returned bail out and notify the user:

{
  "header": {
    "type": "esearch",
    "version": "0.3"
  },
  "esearchresult": {
    "ERROR": "Invalid db name specified: dst"
  }
}

The check can be done here bionode-ncbi.js#L523 skipping the retry loop.
An internal list of valid dbs can be present for suggestions as in the first case

In my opinion the last option is the most suitable. @bmpvieira If you agree I'll create a pull request to solve it. Do you have any other idea?

I think we should go with the first option, check if db is valid and if not present list of valid ones (hardcoded in an internal config file in JSON or YAML format).
Here's one retrieved from the select box on NCBI website (not sure if all work with eutils/biondo-ncbi):
"gquery","All Databases"
"assembly","Assembly"
"bioproject","BioProject"
"biosample","BioSample"
"biosystems","BioSystems"
"books","Books"
"clinvar","ClinVar"
"clone","Clone"
"cdd","Conserved Domains"
"gap","dbGaP"
"dbvar","dbVar"
"nucest","EST"
"gene","Gene"
"genome","Genome"
"gds","GEO DataSets"
"geoprofiles","GEO Profiles"
"nucgss","GSS"
"gtr","GTR"
"homologene","HomoloGene"
"medgen","MedGen"
"mesh,"MeSH"
"ncbisearch","NCBI Web Site"
"nlmcatalog","NLM Catalog"
"nuccore","Nucleotide"
"omim","OMIM"
"pmc","PMC"
"popset","PopSet"
"probe","Probe"
"protein","Protein"
"proteinclusters","Protein Clusters"
"pcassay","PubChem BioAssay"
"pccompound","PubChem Compound"
"pcsubstance","PubChem Substance
"pubmed,"PubMed"
"pubmedhealth","PubMed Health"
"snp","SNP"
"sparcle","Sparcle"
"sra","SRA"
"structure","Structure"
"taxonomy","Taxonomy"
"toolkit","ToolKit"
"toolkitall","ToolKitAll"
"toolkitbook","ToolKitBook"
"toolkitbookgh","ToolKitBookgh"
"unigene","UniGene"

I'll put some time today into this.

I've kind of solved this at the CLI level by switching to yargs (https://github.com/bionode/bionode-ncbi/pull/32) but I think it would be nice to also have these kind of checks internally in the library. Maybe we could somehow reuse yargs choice definition.

Fixed by #33.  Thanks!

authors: Istar-Eldritch bmpvieira lorenzorietti

repo: bionode/bionode-ncbi

license: mit

license_source: bigquery


text:
Fix bugs

Make cplex 12.7 to work

Implement set_linear_coefficients in scipy_interface

Current coverage is 86.78% (diff: 64.58%)

Merging #56 into devel will decrease coverage by 0.30%

@@              devel        #56   diff @@
==========================================
  Files             8          8
  Lines          2285       2315    +30
  Methods           0          0
  Messages          0          0
  Branches        507        516     +9
==========================================
+ Hits           1990       2009    +19
- Misses          189        198     +9
- Partials        106        108     +2

Powered by Codecov. Last update b06eff8...6fd27c3

closes #53

authors: KristianJensen codecov-io

repo: biosustain/optlang


text:
only linux has libdl

only gdc doesn't link against it by default (b/c of missing shared
library support)

Coverage decreased (-0.002%) to 97.663% when pulling 8f97ad45fb94533be5107b97a6e50325f4dbc56d on MartinNowak:fixup36b8559 into fd0868c69103172490b4ab62708214a9e0ab9379 on biozic:master.

Coverage decreased (-0.002%) to 97.663% when pulling 8f97ad4 on MartinNowak:fixup36b8559 into fd0868c on biozic:master.

Should prolly add a tiny threshold to avoid such false errors.

authors: MartinNowak coveralls


text:
🛑 Bangla Plex API is down

In c195e4d, Bangla Plex API (https://banglaplexapi.bymirrorx.eu.org/popular/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Bangla Plex API is back up in 3c4576a after 2 minutes.


text:
load_CB_speeches: suggestion to add column with institution

As suggested by a LinkedIn user:

+1 It would be quite useful for filtering speeches!

authors: dkgaraujo paluigi

repo: bis-med-it/gingado


text:
Warning message

this is so annoying, the warning message keep spamming my terminal. it happend when scanning. some time it pop up when i want to limit some device. it can still be used but it so annoying.I wish I could get rid of it.
(Main) >>> scan
0% |                                | 0/256WARNING: Mac address to reach destination not found. Using broadcast.
WARNING: Mac address to reach destination not found. Using broadcast.
WARNING: more Mac address to reach destination not found. Using broadcast.
0% |▏                               | 1/256WARNING: Mac address to reach destination not found. Using broadcast.
WARNING: Mac address to reach destination not found. Using broadcast.
WARNING: more Mac address to reach destination not found. Using broadcast.
38% |███████████▋                   | 96/256WARNING: Mac address to reach destination not found. Using broadcast.
WARNING: Mac address to reach destination not found. Using broadcast.
WARNING: more Mac address to reach destination not found. Using broadcast.
100% |██████████████████████████████| 256/256
OK   2 hosts discovered.

i have this issue as well, i think it's after the new system update, if you solve it plz write in this blog

i have this issue as well, i think it's after the new system update, if you solve it plz write in this blog

Same, it's happened to me after updating my Arch Linux

Me too on ubuntu 21.04
"(Main) >>> WARNING: Mac address to reach destination not found. Using broadcast"
"(Main) >>> WARNING: Mac address to reach destination not found. Using broadcast"
"(Main) >>> WARNING: Mac address to reach destination not found. Using broadcast"

Same here. Please let me know if someone finds a fix for this!

I believe I've fixed this in PR #112 by setting the scapy logging level to error

@TollyThaWally Pardon me for being daft here. How do I exactly make use of this fix? How do I like apply it?

@TollyThaWally I replaced the code you uploaded with the code in the scan.py but still the error warning continues. Can you guide if you fixed it maybe I did some mistake.

@Arcane-Cube You can modify the file yourself, it's only 2 additional lines which need to be inserted. You can view them and where they go in the "files changed" section of the PR.
@Richie1330 When you change the script you will have to run sudo python3 setup.py install again in order to apply the changes.

@TollyThaWally  Thanks man it worked and the warning error is gone:)

@bitbrute can you apply the PR of @TollyThaWally ? It resolve the issue :-)

It is not working and i did the same... I still get these annoying Warnings.

/usr/lib/python3.10/site-packages/evillimiter/networking/scan.py
import logging
logging.getLogger("scapy.runtime").setLevel(logging.ERROR)

$ cd /usr/lib/python3.10/site-packages/evillimiter && sudo touch setup.py && sudo python3 setup.py install

I believe I've fixed this in PR #112 by setting the scapy logging level to error

Pardon me for being new here. which line and file should be edited

/usr/lib/python3.10/site-packages/evillimiter/networking/scan.py
import logging
logging.getLogger("scapy.runtime").setLevel(logging.ERROR)

$ cd /usr/lib/python3.10/site-packages/evillimiter && sudo touch setup.py && sudo python3 setup.py install

It's work in my case. But I think actually the message doesn't afffect the process.

im having this problem with evillimiter how do l fix this
WARNING: Mac address to reach destination not found. Using broadcast.
WARNING: more Mac address to reach destination not found. Using broadcast.

Has anyone found this error

/usr/lib/python3.10/site-packages/evillimiter/networking/scan.py
import logging
logging.getLogger("scapy.runtime").setLevel(logging.ERROR)

$ cd /usr/lib/python3.10/site-packages/evillimiter && sudo touch setup.py && sudo python3 setup.py install

Sorry for the inconvenience, I'm new to this, and I don't understand, what should I do exactly? step by step, is there a video that explains how to fix it?

@darknir14
Open this file from any text editor or from the terminal with this command:
sudo nano /usr/lib/python3.10/site-packages/evillimiter/networking/scan.py
then add those two lines in the file:
import logging
logging.getLogger("scapy.runtime").setLevel(logging.ERROR)

and type this command in the terminal
 cd /usr/lib/python3.10/site-packages/evillimiter && sudo touch setup.py && sudo python3 setup.py install

limiter/networking/scan.py

hello, I've searching for the scan.py but I can't found it, can you tell me where the scan.py?

limiter/networking/scan.py

hello, I've searching for the scan.py but I can't found it, can you tell me where the scan.py?

type 'locate scan.py' to get the directory in which it is installed

try to install the scapy by typing command on terminal: sudo apt install scapy
or typing command : sudo apt install python3-scapy
both are the same. Thanks :D

Easy enough that this Command can solve it :
apt install scapy

limiter/networking/scan.py

hello, I've searching for the scan.py but I can't found it, can you tell me where the scan.py?

type 'locate scan.py' to get the directory in which it is installed

Everytime i try to go to the directory it says permission denied, im fairly new so ive just been tossing sudo out there and nuns working.

limiter/networking/scan.py

hello, I've searching for the scan.py but I can't found it, can you tell me where the scan.py?

type 'locate scan.py' to get the directory in which it is installed

Everytime i try to go to the directory it says permission denied, im fairly new so ive just been tossing sudo out there and nuns working.

Also ive tried typing what everyone else suggests and I get a return of no such file or directory exists

authors: Arcane-Cube Callmematt69 DontKnows Dreamer-coder7 Ibrokhim1006 Ifeanyidurham KarimOsama99 MR-Diamond Richie1330 TixYwat TollyThaWally Wegito aldinnasrunm darknir14 gingerbread-gg mega-bots meimeik moghaazi xXPerditorXx

repo: bitbrute/evillimiter


text:
Chat

https://discord.com/channels/856694458388054026/1160085878903930920/1242161263577010276

 Development Support, Jimoh - May 2024

Closing this PR:
Reason:
It is not required to have a Chat-only version for Masterbots, nor to change the development flow as originally established. It is not also aligned with the [roduct design hence, these changes won't go but the effort is being taken into consideration.
cc - @sheriffjimoh @merivercap

authors: AndlerRL sheriffjimoh

repo: bitcashorg/masterbots


text:
Start with a pre-synced chain

with $$$

I think we will need this (or something like it) for Tabconf, especially if transaction creation is apart of any of the attacks. Adding the tabconf milestone.

tx_flood will still spread out the coins over time

I don't think this is true with how tx_flood is currently written. It looks like tx flood assumes the node is itself a miner, generates some random addresses for the node itself and then sends to itself.

We can also do that manually

Also fine with a manual script for pre-generating coins just for Tabconf if a pre-synced chain will take too long to get working. In general, I'm trying to find two birds one stone opportunities where if something is a) generally good for warnet and b) solves a problem for Tabconf, I'd prefer that over a custom script only useful for Tabconf. But if pre-synced chains is not the right approach or will take too long, then I can open an issue for manually populating tanks for warnet.

It spreads out the coins output-wise, but you are correct it's a self-send.
IIRC correctly (my mind is hazy), I checked out the regtest code from a pre-mined chain and it's ... actually just the first node doing a quick pre-mine of it's own, then adding the privkeys to nodes 0-3. No actual, pre-mined chain (as it fixed datadir) is going on. Will try and find the code again in a bit to double-check

Here it is. I do like how they mine first blocks in the past to get out of IBD quicker (we should do that!)
https://github.com/bitcoin/bitcoin/blob/0533e652355a68a2c52fb1524a8033bbb5bfa837/test/functional/test_framework/test_framework.py#L823-L895

Nice! Seems like we could port the _initialize_chain code, where a single node (controlled by us, e.g., the signet miner) starts with a pre-initialised chain, distributes the coins between N nodes and spits out M private keys. Those private keys can then be given to each of the tanks. This way, tanks come online, do IBD up to 199 blocks, and already have private keys loaded into their wallets (passed as a config argument). This would be slightly manual in that we need to run the initialisation step first and then pass the private key arguments to each of the tanks, but feels like we could easily automate in the future.

I don't think this is true with how tx_flood is currently written. It looks like tx flood assumes the node is itself a miner, generates some random addresses for the node itself and then sends to itself.

It spreads out the coins output-wise, but you are correct it's a self-send.

No, the logic is:

create a big empty list of addresses
for each node, create wallet (just so happens to be called "miner") generate addresses and add them to the list
in one thread per node, in an endless loop, check the node wallet balance and if there is any money there, send a tx to random addresses from that big list

So I think we can close this?

SO this can start at any point and will only send txs from nodes that have a wallet balance. even if there is only one miner, the money will eventually be spread out to everyone

I see, thanks for the explanation. I didn't look at the code for ensure_miner and assumed it was doing something more sophisticated. Also wasn't apparent to me that new addresses keep filling up self.addrs from all nodes.
TBH, still not convinced this is a good idea for seeding the network since I don't have an intuition on how long this takes to actually ensure every node has a sufficient amount of coins, and also seems hard to guarantee everyone has a similar sized amount. I'd be worried about a scenario where Team A gets way more utxos than Team B , so then Team B needs a top up at some point while team A gets to keep attacking. I also think we should avoid "we'll just manually do X" as much as possible, because this will make actually running warnet on the day of a nightmare. I also think we should be prepared for a catastrophic failure where we need to restart the cluster. If the only way to get everyone UTXOS is us manually doing a bunch the day transactions or waiting for tx_flood to fairly distribute coins, a restart is not gonna be pleasant.
I'd recommend we pursue the _initialize_chain route and perhaps time box it to a few days. If it doesn't work, we can use the tx_flood method or write a manual script. Happy to take a crack at this myself.

What would be the difference between that and what we have?

What would be the difference between that and what we have?

https://github.com/bitcoin-dev-project/warnet/issues/466#issuecomment-2324802706

What would be the difference between that and what we have?

#466 (comment)

So currently with miner_std:

Start all nodes
Mine mature blocks on all of them
They both recieve coins and sync at the same time

In #466 (comment):

Mine first
Sync next
Hand out keys last

What's the material difference I'm missing?

Mine mature blocks on all of them

this doesn't work for Tabconf if we a) limit access to generate commands for players or b) have a working signet. The whole idea of a presynced chain is that the UTXO set can be deterministically handed out to players without requiring players to be miners.

Mine mature blocks on all of them

this doesn't work for Tabconf if we a) limit access to generate commands for players or b) have a working signet. The whole idea of a presynced chain is that the UTXO set can be deterministically handed out to players without requiring players to be miners.

My question was about how -- in the absence of a backported signet, or limiting generate access -- the premined chain solution differs from the current solution in miner_std.
Naturally if we have either of those solutions then this whole discussion is moot, and we still don't need a premined chain, as we can just distribute funds/blocks at will.

Right, what's missing from this issue is some pre-conversation in the warnet chat where we were discussing whether or not to just use tx_flood/mining_std for distributing coins for Tabconf. As I've laid out here https://github.com/bitcoin-dev-project/warnet/issues/466#issuecomment-2326913937, I don't think either of those are viable options:

mining_std requires everyone to be a miner
tx_flood would take an indeterminate amount of time to distribute coins and no guarantees around distributing coins evenly

I think we should build towards having a signet miner, and in that case yes, we can write a manual script just for Tabconf for manually distributing coins. Personally, I still see value in have a pre-mined chain with coins pre-allocated as this allows for better reproducibility. If your argument is "we don't need this for Tabconf," great, let's remove the milestone and leave the issue open. If your argument is "we don't need pre-mined chains for warnet at all," I disagree.

I'm going to run a 100-tank warnet in GKE today with one miner and tx_flood and monitor block count and wallet balance over time, that should give us at least a little something to go on.

After 5 minutes, all 100 tanks have at least 4 BTC, scenarios initiated with minimal options:
(.venv) --> warnet run scenarios/tx_flood.py
(.venv) --> warnet run scenarios/miner_std.py --interval 5 --mature

100 tank graph looks like this x100:
nodes:
- connect:
  - tank-0001
  - tank-0017
  - tank-0018
  - tank-0023
  - tank-0027
  - tank-0079
  - tank-0035
  - tank-0089
  image:
    tag: '27.0'
  metricsExport: true
  metrics: balance=getbalance() blocks=getblockcount()
  name: tank-0000

After 10 minutes, every tank has at least 23 BTC. WARNET IS AWESOME!

the image mine as well also have a bitcoin.conf with the challenge, and then it mine as well also be deployed to every tank instead of IBD, I'm not sure what the drawback of that would be, the image should cache on the first install anyway

started https://github.com/bitcoin-dev-project/warnet/pull/555 as a POC, was pleasantly surprised at how simple it was and how its almost entirely a change to the helm chart templates (i.e., no extra docker images to manage).
The tricky bit is where to store the files externally, but if we following the url structure of https://storage/<signetchallenge>/blocks.tar.gz, doesn't really matter where it lives.
In the PR, I also include the wallets dir, so a clever person could get the url, unzip and get the wallet file. But for this, we can just add a passphrase to the wallet and the passphrase can be in a secret config when starting the signet miner.
Would love to hear if anyone disagrees with this approach, otherwise I'll try to finish it up tomorrow with docs and an end to end example.

Closed by #555

authors: josibake pinheadmz willcl-ark

repo: bitcoin-dev-project/warnet


text:
Policy option to autoblock/ban peers that aren't relaying the blockchain, and mask user agent until peer is trusted.

I've noticed my node has many peers which aren't actually nodes and consume connection slots.
Many node operators have no interest in subsidizing blockchain hosting for peers that don't return the favor.
Additionally, such peers tend to have no direct value as they tend to not relay transactions.
Sometimes peers are malicious crawlers (as in the recent Classic DDoS scripts), or just actors indexing nodes for their own private gain without returning anything to the network.
IMO we should have the option to "raise the bar" with respect to these peers.
Here are some possible policy settings:
Policy 1: If a peer is not white-listed and doesn't advertise NETWORK, it is disconnected immediately
Policy 1a: If a peer is advertises NETWORK and is not white-listed, request $NUMBER random known block headers, if any of these fail the peer is disconnected immediately, if this succeeds the peer is white-listed for $POLICY time.
Policy 1b: If a peer is advertises NETWORK and is not white-listed, request a random known block, if this fails the peer is disconnected immediately. If a peer succeeds the peer is white-listed for $POLICY time.
Policy 2: If a transaction is sent, and a peer does not request it or store it in its mempool, disconnect the peer immediately.  After the peer requests the transaction, periodically request the transaction from the peer to confirm it is relaying the transaction until the transaction is confirmed.  If the peer evicts the transaction and is not re-requesting the transaction when re-advertised, disconnect the peer as it is providing no value.
Policy 3: If a peer is not white-listed, reply with the same user-agent as the peer.  Once the peer is white-listed, upon re-connect verack responds with the "true" user-agent; alternately a newer verack2 message might be appropriate to disclose the user agent.
*Note: implementation details are just ideas on this one, but the intent is to not reveal the user-agent until the peer is trusted"

No opinion on this, but I'll mention that most peers with NETWORK not set are SPV wallets.

The only thing that such a change will accomplish is that those peers you don't like will start lying about having certain services or having a certain name.
What you suggest is not possible.

It is possible though - they have to provide proof in terms of blocks and headers.  Perfect is the enemy of the good, and this raises the difficulty of malicious actors.

authors: christophebiocca optimiz3 zander

repo: bitcoinclassic/bitcoinclassic


text:
Add get_tip_hash API call

This PR adds support for getting the BlockHash of the current blockchain tip.
While this is currently not strictly necessary for LDK integration, it might be nice to have in the future.

@tnull , is it not better to have a method for getting the block hash given a particular block height? I think it will provide a more general API. This is what we currently do here: https://github.com/bitcoindevkit/bdk/blob/master/src/blockchain/esplora/reqwest.rs#L121

@tnull , is it not better to have a method for getting the block hash given a particular block height? I think it will provide a more general API. This is what we currently do here: https://github.com/bitcoindevkit/bdk/blob/master/src/blockchain/esplora/reqwest.rs#L121

Well already have that API, but it may have some drawbacks in certain scenarios: as it is currently implemented, it requires to make two requests (one to get current tip height, one to get the hash), and could even be a bit race-y (i.e., when we make the second call, the block height could just have increased so we don't get the tip, but tip-1).
Generally I think EsploraClient should strive to implement all of Esplora's API methods, allowing a user to pick-and-choose what's required. What of these methods then should be used by/exposed through BDK is a different discussion.

authors: tnull vladimirfomene

repo: bitcoindevkit/rust-esplora-client


text:
Fixups from SF workshop

0.2 notebook ‘secp251k1’ typo
1.1 solutions issue with set() requiring True/false
1.1.3 exercise corrected  d vs x mixup in the problem and solution code
1.1.4 exercise corrected  d vs x mixup in the problem and solution code
2.1.12 add negated check to solution
2.1.12 exercise was already filled in, removed solution pieces
2.2.5 correct privatekey wrong variable name
2.3.3 checkigadd spelling
2.3 “CHECKSIGADD tapscript descriptors” section keys need to be in []
3.1 multsig spelling

Looks good to me. Thanks @bitschmidty !

authors: bitschmidty jnewbery

repo: bitcoinops/taproot-workshop


text:
Enable source maps for minified js files

We're using build web compiler 2022 to minify js results of typescript compiler in the following areas:
1- src/Tooling/Bit.Tooling.Templates/TodoTemplate/Web/wwwroot/scripts
2- src/Client/Web/Playground/Bit.Client.Web.BlazorUI.Playground/Web/Scripts/app.ts
3- src/Client/Web/Bit.Client.Web.BlazorUI/Scripts/bit.blazorui.ts
The toolings current configuration generates no source map for the minified file which results into poor developer experience while debugging our typescript codes

this issue is not valid anymore

authors: msynk ysmoradi

repo: bitfoundation/bitplatform


text:
UI issue on splash screen.

This image is very pixelated and not good quality.

Hexa 2.0 on the splash screen video and the high quality image @summikhan11

Specs: https://xd.adobe.com/view/0aef8043-d951-4d0a-9a97-b7b2e16ffdbc-5fbc/

@summikhan11 - we also need a video with 2.0

https://user-images.githubusercontent.com/85475736/125735577-d0de528d-fd41-49a7-aad2-a7596a3137e0.mp4

Verified this issue on dev app v1.8.5(325)

repo: bithyve/hexa


text:
Internet modal on splash screen.

-The internet modal is still coming on the splash screen.

It should never come before the login screen

@cakesoft-swati , I have tried to re-produce, could not reproduce.
could you please check ?, if it's reproducible please share steps (if any)

Not able to reproduce this.


text:
The future of synchronous XHR use in can.view?

Please see ticket 11013 on the jQuery bugtracker; http://bugs.jquery.com/ticket/11013
Synchronous jQuery.ajax requests are to be deprecated starting jQuery 1.8 and one can assume they will be removed altogether in some future version.
As far as I can tell, the only real use case for synchronous XHR in can.view is in facilitating 'partial views' that can synchronously output their rendered HTML into the master view template. This seems like a hack though. Wouldn't it be better to make the EJS view engine recognize the can.Deferred interface and postpone the final array join operation on the component results until all encountered deferreds have resolved?
Interestingly enough, this would also enable you to have arbitrarily nested levels of deferred properties in your model, instead of the current hack (and yes; it definitely is a dirty, dirty hack) which reshapes properties of the data parameter to can.view.render that are can.Deferred into their resolved parameter, but only does so one level deep.

@rjgotten Added for 3.0.

I'm closing this as can.view won't be supported in 3.0 (except for legacy support).
Going forward, template loading will be left to people to do themselves (or using a module loader plugin which we will help create).
For async loading of templates, you can do something like:
var templatePromise = $.get("path/to/template.stache").then(function(text){
  return stache(text)
});

templatePromise.then(function(template){
  return template(data);
});

authors: justinbmeyer rjgotten

repo: bitovi/canjs


text:
Add Support for Zcash with your API

Hello, I am a Zcash user and we are looking for payment providers to help vendors start accepting Zcash.
Have you considered adding Zcash to your accepted coins? Since you already deal with Bitcoin in your API it is not difficult to integrate Zcash since it is based on Bitcoin.
More detailed info here:   https://www.zcashcommunity.com/developers/

Thank you for the suggestion. Competition among cryptocurrencies is important, but we do not have plans to accept Zcash at this time.

authors: mineZcash pieterpoorthuis

repo: bitpay/php-bitpay-client


text:
app-gallery-deploy 1.0.1

What to do if the build fails?
At the moment contributors do not have access to the CI workflow triggered by StepLib PRs. In case of a failed build, we ask for your patience. Maintainers of Bitrise Steplib will sort it out for you or inform you if any further action is needed.
New Pull Request Checklist
Please mark the points which you did / accept.

[x] I will not move an already shared step version's tag to another commit

[x] I read the Step Development Guideline

[x] I have a test for my Step, which can be run with bitrise run test (in the step's repository)

[x] I did run bitrise run audit-this-step (in the step's repository - note, if you don't have this workflow in your bitrise.yml, you can copy it from the step template.)

[x] I read and accept the Abandoned Step policy

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Artur Klamborowski seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.

authors: CLAassistant klamborowski

repo: bitrise-io/bitrise-steplib


text:
KeyError: 'symbol'

Traceback (most recent call last):
File "webservice.py", line 147, in getbalances_mt
result_data = wallet.get_balances(data)
File "./com/morningtech/bts/adapter/wallet.py", line 198, in get_balances
logger.info(acc_int.balances)
File "/usr/lib/python3.4/site-packages/bitshares/account.py", line 94, in balances
for b in balances if int(b["amount"]) > 0
File "/usr/lib/python3.4/site-packages/bitshares/account.py", line 94, in
for b in balances if int(b["amount"]) > 0
File "/usr/lib/python3.4/site-packages/bitshares/amount.py", line 76, in init
self["symbol"] = self["asset"]["symbol"]
File "/usr/lib/python3.4/site-packages/bitshares/blockchainobject.py", line 162, in getitem
return super().getitem(key)
KeyError: 'symbol'
e: 'symbol'
{'code': '400', 'data': '', 'msg': "'symbol'"}
This error occurs when the interface is called many times. What is the reason?

account.balances is a property that contains a list of instances of Amount.
Hence, you'd need to do
b = account.balances
b[0]["asset"]["symbol"]

authors: songxiaoxiao xeroc

repo: bitshares/python-bitshares


text:
mobilenetV1X0.25_pretrain.tar损坏

mobilenetV1X0.25_pretrain.tar这个压缩包损坏了，请问有没有新的可用文件

不影响，直接运行就行。

No, it's good. just rename .tar to .pth.

No, it's good. just rename .tar to .pth.


text:
UP-4443:  Fixed the EntityIdentifier available from PersonAttributesG…

…roupDefinitionImpl;  it was creating unusable EIDs

Looks good!

authors: bjagg drewwills

repo: bjagg/uPortal


text:
Incorrect parse

This array of URLS
["https://www.independent.co.uk/travel/news-and-advi…terdam-rome-venice-warsaw-dubrovnik-a8108096.html", "https://www.ipsf.org.il/?section=20", "https://timesofindia.indiatimes.com/blogs/voices/g…up-for-sustainable-tourism-in-a-post-covid-world/"]
returns this array of strings ["co.uk", "org.il", "indiatimes.com"]
The first two aren't working properly for some reason.

Hi. You should use the { tld: true } option.

https://github.com/bjarneo/extract-domain/issues/10

With the option flag.
➜  extract-domain-test node index.js
[ 'independent.co.uk', 'ipsf.org.il', 'indiatimes.com' ]

Hi. You should use the { tld: true } option.

Perfect, thank you!

authors: bjarneo irasanchez

repo: bjarneo/extract-domain


text:
Bootstrap a new project

When creating a new project today one of the major hurdles is populating a flow.json properly.
Having the ability to specify somethings in flow.json and then have overflow/flowkit just fix the remaining things would be great

creating new accounts on testnet
funding accounts
downloading contracts and specifying correct addresses

This would indeed be very helpful

Create a github-template overflow project
github actions
gomplate for replacing values in files
cli command to start the process and kick off editing the config file

Features:
Create basic NFT with your custom name
Seperate Admin contract
Tests in overflow
cadence-docs
format the code? (is there prettier yet?)

this can be done with flow scaffold

authors: bjartek hichana

repo: bjartek/overflow


text:
Troubles uploading data to jatos

I'm a bit new to jsPsych and web development in general and I may ask a trivial question, but is it possible to use the jatos library inside the experiment file?
The documentation seems to indicate that the only option is to use return at the end of the function containing the experiment to connect with jatos server, but it would be nice to know if it is possible to load the jatos library to handle session related issues by "hand".

I just have discovered that you can access to jatos library if the study is runned in the jatos server.

I have just discovered that the jatos library can be accessed if the studio is running on the jatos server.

That's nice! how did you access the jatos library in the code exactly?

Simply jatos should do – it's a global variable in any experiment run by JATOS :slightly_smiling_face:

I have just discovered that the jatos library can be accessed if the studio is running on the jatos server.

That's nice! how did you access the jatos library in the code exactly?

Hey! Sorry for the delayed response. here you can find a repo were I access the JATOS library.

authors: bjoluc franfrutos wdhub

repo: bjoluc/jspsych-builder


text:
Can't find system glfw3 on Ubuntu 14.10

Using default-features = false I'm getting cannot find -lglfw3 when linking. The libglfw3-dev package installs /usr/lib/x86_64-linux-gnu/libglfw.so. The package conflicts with libglfw-dev (so you can't install both glfw 2 and 3 on ubuntu).
Is there a way to use libglfw.so as a fallback?

glfw brings its own copy of glfw - it doesn't rely on the global version. Is there a particular reason why you don't want it?

The reason is that glfw coming with glfw-rs doesn't work on Windows and I want to be able to work on both systems.
A way to declare default-features = false only on Windows would also work for me ;)

Ah, didn't think of that! I think you might be able to do this with cargo - but I'm not sure... you might have to ask on the #cargo IRC channel.

The issue (I think) is that -lglfw3 changed to lglfw recently on Linux. I noticed this problem (and it has an easy fix), but I'm not sure how recently this change was made and/or if it exists on most distributions.

@jhasse, any update on this? I am running into the same problem.

@bjz, Would we want to do something like this,

Check if user specified a location for GLFW

Found: Link against it
Not found: Look in common locations

Found: Link against it
Not found: Build it ourselves

Check in common locations

Found: Link against it
Not found: build it ourselves

?

authors: HarryLikesCode IcyTesseract ProtectedMode bjz jhasse

repo: bjz/glfw-rs


text:
entry_windows CPU usage

When using entry_windows, all of the examples have very high CPU usage.
Tracking down the cause led me to https://github.com/bkaradzic/bgfx/blob/master/examples/common/entry/entry_windows.cpp#L510:
while(!m_exit) {
    s_xinput.update(m_eventQueue);
    WaitForInputIdle(GetCurrentProcess(), 16);

    while(0 != PeekMessage(&msg, NULL, 0U, 0U, PM_REMOVE)) {
        TranslateMessage(&msg);
        DispatchMessage(&msg);
    }
}

Replacing this with
while(!m_exit) {
    s_xinput.update(m_eventQueue);
    if(WaitForInputIdle(GetCurrentProcess(), 1) == WAIT_FAILED) {
        Sleep(1);
    }

    while(0 != PeekMessage(&msg, NULL, 0U, 0U, PM_REMOVE)) {
        TranslateMessage(&msg);
        DispatchMessage(&msg);
    }
}

solved the issue, so WaitForInputIdle seems to fail rather than actually performing any wait.

The described issue is fixed now, which is great.
This seems to have introduced the side effect that bgfx::frame() can't complete until the newly introduced bgfx::renderFrame() is called in the loop of entry_windows, which causes rendering to block when the window is moved or resized, as DispatchMessage won't complete until the started modal message loop does. Reacting to WM_ENTERSIZEMOVE messages could be used to detect when the modal message loop is entered.
I'm not quite sure whether I should open a new issue for that side effect or if this is intended behaviour.

Try this: bgfx::renderFrame(16)

Tried that, doesn't change the behaviour.
Unless I'm misunderstanding something, bgfx::renderFrame() blocking, which could be fixed with the suggested lower timeout, isn't the problem in this case. Rather, DispatchMessage blocks due to the modal message loop, causing bgfx::renderFrame() not to be called regularly in the main loop anymore.
Because bgfx::renderFrame() isn't called, bgfx::frame() can't complete - I'm not sure if this part is intended, but after calling bgfx::renderFrame() even once from entry_windows, bgfx::frame() can't aquire the render semaphore and complete, until bgfx::renderFrame() is called for the next time.

This change also makes entry::processEvents block when the window is closed, causing all of the examples to keep running forever, even after their window is closed, using entry_windows.

repo: bkaradzic/bgfx


text:
adds GDK Xbox d3d12 compatibility with dxgi wrapper

Requires

GENie PR: https://github.com/bkaradzic/GENie/pull/546
BX PR: https://github.com/bkaradzic/bx/pull/287

Original code by devonsoft.

Closing to replace with cleaned up version.


text:
gentle fadein

I used 2 timeouts, the first one (1ms) is just to wait for the display: block event to make the element appear before we animate its opacity.
The second one is to wait for the animation to finish (200 ms) before we hide it.

issue #4

@xardass Thank you for your first PR, I think so long as the timeouts are being used to time animations they are fine

authors: bkawk xardass

repo: bkawk/SwarmCity-EOS


text:
🛑 VNStat is down

In 1d86ecf, VNStat ($VNSTAT_URL) was down:

HTTP code: 0
Response time: 0 ms

Resolved: VNStat is back up in d8f31bd.


text:
Hotfix/241 better react 15 compat

This fixes an issue where translation is not properly applied when data changes reference changes, ex:
https://codesandbox.io/s/nifty-wilson-xbfl8
It's also slightly better performant since we only call Tree.calculateD3Geometry(nextProps); once.

Ah that was indeed silly with the early returns, thank you for fixing 💯  That syntax works for a single if case for getDerivedState but not for multiple that are not mutually exclusive.

Shipped as v1.15.3 🚀
Thank you again for helping push through this messiness around compat 👍

Np, it's was a team effort :-P

authors: bhgsbatista bkrem


text:
pdbtest: Improve Promise patterns

Excellent article on the Blackberry Dev Blog. :) I took a look at your code, though, and I see a few places for improvement.
First, I think you might not be aware that you can improve your Promise patterns to avoid the "pyramid of doom" (i.e. code marching steadily to the right, until you are a dozen indentation levels deep).
For instance, this code is needlessly pyramid-y. (It's a common mistake folks make with Promises, though!) In general, what you don't want to do is this:
// BAD pyramid code
doSomething().then(function () {
  doSomethingElse().then(function () {
    doAnotherThing().then(function () {
      // etc.
    }).catch(function (err) {
      // handle error
    });
  }).catch(function (err) {
    // handle error
  });
}).catch(function (err) {
  // handle error
});

Instead you can do:
// GOOD pyramid-less code!
doSomething().then(function () {
  return doSomethingElse();
}).then(function () {
  return doAnotherThing();
}).catch(function (err) {
  // handle errors all in one place!
});

Now let's say that you want to handle an error in a particular place. You can simply do:
doSomething().then(function () {
  return doSomethingElse();
}).catch(function (err) {
  // handle some very specific error
  return anotherPromiseOrMaybeAValue();
}).then(function () {
  return doAnotherThing();
}).catch(function (err) {
  // handle errors all in one place!
});

Also, a lot of your error handling seems to be caused by 409s and 404s, which you can now handle more elegantly with the pouchdb-upsert plugin. But it's good to get some promise practice in, so maybe you'll want to catch your own 409s and 404s using the pattern I described above. :)
Great work, looking forward to your next article!

Oh yeah, and the PouchDB guide to async code may help you out here, and the video in that article is a must-watch! :)

Thanks Nolan - I'm not very familiar with the Promise pattern, and I don't think the student who wrote this is either. I really like the improvements to the code though, so I'm going to learn more and see if I can apply it, both here and elsewhere. Particularly I want see how APIs are written to work that way so we can apply it to our Cordova plugins where it makes sense to do so.

authors: nolanlawson timwindsor


text:
[Gally]: master <- dev

Automatically created by Git-Ally

:tada: This PR is included in version 1.10.129 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: blackflux/lambda-example


text:
[Gally]: master <- dev

Automatically created by Git-Ally

:tada: This PR is included in version 2.11.15 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

repo: blackflux/lambda-tdd


text:
[Gally]: master <- dev

Automatically created by Git-Ally

:tada: This PR is included in version 2.1.13 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


text:
Copy the com_object’s properties at instantiation

... and then discard the com_object.
Might require additional property names set in the class.

Todo: study ldapwiki for property names

Todo: study ldapwiki for property names

See http://www.rlmueller.net/Name_Attributes.htm for name attributes

See http://www.rlmueller.net/Name_Attributes.htm for name attributes

And also https://www.manageengine.com/products/ad-manager/help/csv-import-management/active-directory-ldap-attributes.html

And also https://www.manageengine.com/products/ad-manager/help/csv-import-management/active-directory-ldap-attributes.html

repo: blackstream-x/python-com-ad


text:
Tests: instantiate backends

Looked into mocking the actual swiftclient, but that turned out to be very complicated.
Suggesting a fake client for now as shown in the commit.

Thanks!

authors: blacktorn einarf

repo: blacktorn/django-storage-swift


text:
🛑 Hotel Waitz is down

In 6032fc0, Hotel Waitz (https://www.hotel-waitz.de) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Hotel Waitz is back up in 49baa0c.


text:
mean on sqlite column fails

Below is a reproducible example. On a sqlite3 table, sum, min, max methods are working but fails for mean operation. And, I'm unsure as to why it is using dask backend (see the error log). It looks like, dask is used for float conversion, and the error lies there?
And, I believe, this was working fine in earlier version of blaze.
In [63]: cars
Out[63]: 'https://vincentarelbundock.github.io/Rdatasets/csv/datasets/cars.csv'

In [64]: odo.odo(cars, 'sqlite:///test.sqlite3::cars')
Out[64]: Table('cars', MetaData(bind=Engine(sqlite:///test.sqlite3)),
                       Column('Unnamed: 0', BigInteger(), table=<cars>, nullable=False),
                       Column('speed', BigInteger(), table=<cars>, nullable=False),
                       Column('dist', BigInteger(), table=<cars>, nullable=False),
                       schema=None)

In [65]: data = bz.Data('sqlite:///test.sqlite3::cars')

In [66]: data['speed'].sum(), data['speed'].min(), data['speed'].max()
Out[66]: (770, 4, 25)

In [67]: data['speed'].mean()
Out[67]: ---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
d:\apps\anaconda2\lib\site-packages\IPython\core\formatters.pyc in __call__(self, obj)
    695                 type_pprinters=self.type_printers,
    696                 deferred_pprinters=self.deferred_printers)
--> 697             printer.pretty(obj)
    698             printer.flush()
    699             return stream.getvalue()

d:\apps\anaconda2\lib\site-packages\IPython\lib\pretty.pyc in pretty(self, obj)
    381                             if callable(meth):
    382                                 return meth(obj, self, cycle)
--> 383             return _default_pprint(obj, self, cycle)
    384         finally:
    385             self.end_group()

d:\apps\anaconda2\lib\site-packages\IPython\lib\pretty.pyc in _default_pprint(obj, p, cycle)
    501     if _safe_getattr(klass, '__repr__', None) not in _baseclass_reprs:
    502         # A user-provided repr. Find newlines and replace them with p.break_()
--> 503         _repr_pprint(obj, p, cycle)
    504         return
    505     p.begin_group(1, '<')

d:\apps\anaconda2\lib\site-packages\IPython\lib\pretty.pyc in _repr_pprint(obj, p, cycle)
    683     """A pprint that just redirects to the normal repr function."""
    684     # Find newlines and replace them with p.break_()
--> 685     output = repr(obj)
    686     for idx,output_line in enumerate(output.splitlines()):
    687         if idx:

d:\apps\anaconda2\lib\site-packages\blaze\interactive.pyc in expr_repr(expr, n)
    261     # Scalars
    262     if ndim(expr) == 0 and isscalar(expr.dshape):
--> 263         return repr(coerce_scalar(compute(expr), str(expr.dshape)))
    264
    265     # Tables

d:\apps\anaconda2\lib\site-packages\blaze\interactive.pyc in coerce_scalar(result, dshape, odo_kwargs)
    239     coerce_ = partial(coerce_to, x=result, odo_kwargs=odo_kwargs)
    240     if 'float' in dshape:
--> 241         return coerce_(float)
    242     if 'decimal' in dshape:
    243         return coerce_(decimal.Decimal)

d:\apps\anaconda2\lib\site-packages\blaze\interactive.pyc in coerce_to(typ, x, odo_kwargs)
    233         return typ(x)
    234     except TypeError:
--> 235         return odo(x, typ, **(odo_kwargs or {}))
    236
    237

d:\apps\anaconda2\lib\site-packages\odo\odo.pyc in odo(source, target, **kwargs)
     89     odo.append.append      - Add things onto existing things
     90     """
---> 91     return into(target, source, **kwargs)

d:\apps\anaconda2\lib\site-packages\multipledispatch\dispatcher.pyc in __call__(self, *args, **kwargs)
    162             self._cache[types] = func
    163         try:
--> 164             return func(*args, **kwargs)
    165
    166         except MDNotImplementedError:

d:\apps\anaconda2\lib\site-packages\odo\into.pyc in wrapped(*args, **kwargs)
     41             raise TypeError('dshape argument is not an instance of DataShape')
     42         kwargs['dshape'] = dshape
---> 43         return f(*args, **kwargs)
     44     return wrapped
     45

d:\apps\anaconda2\lib\site-packages\odo\into.pyc in into_type(a, b, dshape, **kwargs)
     51         if dshape is None:
     52             dshape = discover(b)
---> 53     return convert(a, b, dshape=dshape, **kwargs)
     54
     55

d:\apps\anaconda2\lib\site-packages\odo\core.pyc in __call__(self, *args, **kwargs)
     42
     43     def __call__(self, *args, **kwargs):
---> 44         return _transform(self.graph, *args, **kwargs)
     45
     46

d:\apps\anaconda2\lib\site-packages\odo\core.pyc in _transform(graph, target, source, excluded_edges, ooc_types, **kwargs)
     58     try:
     59         for (A, B, f) in pth:
---> 60             x = f(x, excluded_edges=excluded_edges, **kwargs)
     61         return x
     62     except NotImplementedError as e:

d:\apps\anaconda2\lib\site-packages\odo\backends\dask.pyc in array_to_dask(x, name, chunks, **kwargs)
     57 def array_to_dask(x, name=None, chunks=None, **kwargs):
     58     if chunks is None:
---> 59         raise ValueError("chunks cannot be None")
     60     return from_array(x, chunks=chunks, name=name,
     61                       **filter_kwargs(from_array, kwargs))

ValueError: chunks cannot be None

In [69]: bz.__version__
Out[69]: u'0.9.0'

In [70]: odo.__version__
Out[70]: u'0.4.0'

Update: Issue persists with master '0.10.0rc4+0.g6961844.dirty' version too.

This is working fine with odo 0.4.2
In [11]: odo.__version__
Out[11]: u'0.4.2'

Closing for now.

repo: blaze/blaze


text:
data elements

Hi I'm using open-interpreter as bigquery client interpreter.
so most of outputs are dataframe, although open-interpreter's output is raw strings,
Any ideas on how to print output using data elements like  st.dataframe?
Additionally, I want to draw chart elements with that data.

it seems possible to make what you are mentioning but the unique way that I see that possible is with a parser to seek a pattern into the answer and replace it with and element like in the video:
https://youtu.be/4sPnOqeUDmk?list=TLGG5KJRkm-s0qYwOTEyMjAyMw
that is within this documentation:
https://docs.streamlit.io/knowledge-base/tutorials/build-conversational-apps

authors: IA-Programming jungdee

repo: blazzbyte/OpenInterpreterUI


text:
airline in conemu - changed colors on page scroll

I have finally got the vim with airline plugin to wok on windows with conemu thanks to this topic: https://github.com/bling/vim-airline/issues/513
Almost everythink is good right now except some problems with colors in the airline when screen is scrolled. Check below gif:

I'm looking forward to find the culprit.
At the beginning result was worse, but I commented everything that was reduntant. In spare time I will check each and every single setting the the vimrc file. But still can't get the airline to hold his colors.
My vimrc: https://gist.github.com/lkurylo/aa947a1ae6d7185aa064

It's been fixed in ConEmu 151025

repo: bling/vim-airline


text:
WIP: Multibox Support

Early draft of multibox support.

Need to find a way for the ArcDps to either handle multiple instances or have it gracefully not start if there is already an instance listening.

Just curious, what is still missing here?

https://discordapp.com/channels/531175899588984842/536970543736291346/715928883400147065

Eh, just one or two to clean up the method used to resnap (it'll show on the first proc at launch until you click into the GW2 window it'll end up being assigned to - doesn't cause any problems, but I can at least make it slightly cleaner).

Working on this now.

Closed in favor of #247

authors: dlamkins greaka

repo: blish-hud/Blish-HUD


text:
refactor: Extract and Reuse Avatar Default Customizations as Shared Constants

Refactor Request
Description
The current implementation includes hardcoded default customizations for Avatars, such as the name and variant. To improve maintainability and consistency, these default customizations should be extracted into a shared constant and reused across the project.
Requirements

Identify all instances where Avatar default customizations (e.g., name, variant) are hardcoded.
Extract these default values into a shared constant file.
Refactor the relevant components to use these shared constants instead of hardcoding the values.

Additional Information

This refactor will help maintain consistency across the application and make future updates to the default customizations easier to manage.

Ensure that the shared constants are well-documented and accessible to all relevant parts of the codebase.

https://github.com/blockful-io/external-resolver-dapp/pull/152:

Possible Solution
Create a shared constants file that includes the default Avatar customizations, such as name and variant. Update all instances in the code where these values are currently hardcoded to reference the new constants.

Nice @eduramme , that is pretty much it
I'd yet suggest to create a const with the multiple Avatar sizes mapping , wdyt?

authors: FrancoAguzzi eduramme

repo: blockful-io/external-resolver-dapp


text:
feat(trace): Add test for function calls

The generated trace from this trace illustrates a problem: lines
containing only function calls (e.g. lines 6, 10, and 11) are skipped in
the currently generated trace.
A follow-up PR will address this problem.
This PR also updated 1_mul/expected_trace.json, because otherwise the
test does not pass (I forgot to update it previously).

What would happen if your function is recursive? Why do not add one test for that too?

Good Q. But I'm taking it one test at a time, and the purpose of adding this one is to fix the bug mentioned in the commit message: there are missing lines at the moment, which is a higher-priority problem than investigating the behavior during recursion (I actually expect that recursion will cause no problems, but I'm afraid to look yet :face_with_peeking_eye:

repo: blocksense-network/noir


text:
Don't set logging settings propagate to parent packages

Currently, the Blockstack client is setting logging settings.
Unfortunately, every package that imports this library then inherits these settings.
For example, if I have a web server that has logging set to DEBUG or INFO, it will be overridden by the less verbose levels of logging that the Blockstack client sets.
We should figure out a way to prevent these logging settings from propagating up to packages that import the Blockstack client.

Actually, this has proven extremely useful at diagnosing problems.

repo: blockstack/blockstack-cli


text:
FF Android issues with custom protocol handlers

probably something not supported by firefox here: https://github.com/blockstack/blockstack.js/blob/master/src/auth/authApp.js#L71
probably our custom protocol detection module https://github.com/larrysalibra/custom-protocol-detection
Will O'Beirne [2:31 PM]
Yeah, I agree it's probably in there. I just can't get this damn remote debugger working argh.
Will O'Beirne [2:49 PM]
@kenliao Looks like Firefox falsely reports that the handler is supported:
openUriUsingFirefox
protocol handler detected```

kenliao [2:54 PM]
ahh
this makes a great case for not using protocol handlers, but instead go directly to browser.blockstack.org and use web extensions to intercept requests

Will O'Beirne [2:55 PM]
Yeah, this is like the third browser I've run into this month that has some jank with protocol detection

Thanks for taking care of this @wbobeirne !

authors: jeffdomke larrysalibra


text:
🛑 Maxthon API is down

In 19c5657, Maxthon API (https://api.maxthon.com) was down:

HTTP code: 500
Response time: 203 ms

Resolved: Maxthon API is back up in b201290 after 50 minutes.

repo: bloodchen/upptime


text:
Make chef-vaulting backward compatible

fix the issue resulting from rechefing the old existed cluster without using C-A-R.sh after pulling in new change to chef vaulting haproxy-stats password.

LGTM. I have tested this and seems to work as expected. This is what I did:

De-Admin all head nodes
Delete existing haproxy vault
Run chef-client on 1st Head node and expect a failure
Change one of the head node to be an admin node
Run chef-client on admin head node (This created vault and made all other head nodes admin on vaulted item)
De-Admin head node again
Run chef-client on all other head nodes

LGTM.

authors: DrRayWang amithkanand

repo: bloomberg/chef-bach


text:
Support for specifying root context of UI

I'm running PowerfulSeal in-cluster and exposing the UI via a Traefik Ingress. If I use / as the ingress path then everything works fine, but I would like to use a different path, e.g. /powerfulseal, as I have multiple applications being served by the same instance of Traefik.
I've tried using a different ingress path and the web app loads in the browser, but no data is shown.
Applications such as Prometheus and Grafana allow a root url to be set to support running behind a reverse proxy/k8s ingress, so something similar would be useful. Presumably, as you already have the --host and --port flags, something like a --root-context flag?

While looking through the code to see how easy it would be to add the above I discovered the --accept-proxy-headers flag, so problem solved! It would be useful if this was documented somewhere though ;)

repo: bloomberg/powerfulseal


text:
Add China East2 region

Azure is building the China East 2nd region, more capability than the original China East.

@810123 @yinghli  Thanks for raise this up. China regions are now supported, please give a try and let me know if you have any questions

repo: blrchen/AzureSpeed


text:
Make swift techspec compliant

Change the permissions of swift logs and swift config files to be in
compliance with the techspec document

Can one of the admins verify this patch?

"ok to test" to accept this pull request for testing
"test this please" for a one time test run
"add to whitelist" to add the author to the whitelist

Just relocate the task and this will be good to test.

ok to test

authors: bbc-jenkins epwn j2sol

repo: blueboxgroup/ursula


text:
New tab page is stuck

The clock and the weather sign is not working.
Reloading the tab returns blank page. Uninstalling and reinstalling the addon didn't help.
Version Info: 3.5.0
Firefox Version: 91.0.1 (64 bit)

I'm sorry for the trouble. Can you open the console and take a screen shot of that once you open a new window? Open the console by right-clicking the screen, select "inspect" and then select the "console" tab.
Also can you please clarify the issue? So when you open firefox and get a new tab, things show fine but then you restart and things a blank? You showed a screenshot with the clock and weather showing, is that what it looks like when it is working or are you missing a background as well?
Thank you.

There was a bug with the new weather widget in the latest update. The issue was due to the source I get the weather data from, that source has fixed the issue now. Next time you load the new tab page try refreshing and it should work now. If you are still having issues then this is probably something else, and if so, please create a new issue here on GitHub.
Thank you all for using CaretTab and for the bug reports!

repo: bluecaret/carettab


text:
Could not find es6 branch to clone

In description there is written the following command to try the new version of the logger:
git clone https://github.com/bluejamesbond/Scribe.js --branch  es6 --single-branch && cd Scribe.js && npm install && npm run babel-node ./examples/simple-server.js
But i get an error saying that there is no branch named es6, so i suppose that is the dev branch instead.

Do you mean this branch? https://github.com/bluejamesbond/Scribe.js/tree/dev

Yup, my points is that the command should be:
git clone https://github.com/bluejamesbond/Scribe.js --branch **dev **--single-branch && cd Scribe.js && npm install && npm run babel-node ./examples/simple-server.js

I updated it as such. Thank you. I'm closing this issue. Please reopen as necessary

authors: bluejamesbond marcosPerezRubio


text:
TRACKING: 0.1.0

Overall

[ ] iso8601 config flag

Utils

[x] Shift Month
[x] Shift Week
[x] Shift Day

RelativeDuration

[ ] Module documentation
[x] Create

[x] RelativeDuration::months
[x] RelativeDuration::weeks
[x] RelativeDuration::days

[x] Read

[x] RelativeDuration::num_months
[x] RelativeDuration::num_weeks
[x] RelativeDuration::num_days

[ ] Add

[x] RelativeDuration to NaiveDate
[x] RelativeDuration to RelativeDuration

[x] Sub (RelativeDuration)
[ ] Div
[ ] Mul
[x] Display
[ ] serde::Serialize (human readable)
[ ] serde::Serialize (iso8601)

Interval

[ ] Display
[ ] serde::Serialize (human readable)
[ ] serde::Serialize (iso8601)

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@f033eff). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #2   +/-   ##
=======================================
  Coverage        ?   59.06%
=======================================
  Files           ?       11
  Lines           ?      579
  Branches        ?        0
=======================================
  Hits            ?      342
  Misses          ?      237
  Partials        ?        0

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

authors: bluemoon codecov-commenter

repo: bluemoon/calends


text:
webrtc don't work

Which version are you using?
v1.X.X and later
Which operating system are you using?

[x] Linux amd64 standard
[ ] Linux amd64 Docker
[ ] Linux arm64 standard
[ ] Linux arm64 Docker
[ ] Linux arm7 standard
[ ] Linux arm7 Docker
[ ] Linux arm6 standard
[ ] Linux arm6 Docker
[ ] Windows amd64 standard
[ ] Windows amd64 Docker (WSL backend)
[ ] macOS amd64 standard
[ ] macOS amd64 Docker
[x] Other (LXC)

Describe the issue
Description
Since version 1.X.X, in the old version of the chrome browser (66 and up to 74), webrtc links (https://external-ip:port/stream) no longer open, the browser cannot log in and, as a result, a black screen is visible. the same problem on phones with the android 9(pie) operating system. It’s not difficult to update the browser on a computer to version 75, but on a phone it’s quite problematic.
in version 0.23.8 everything works fine
log from server
2023/11/01 16:27:36 DEB [WebRTC] [conn X.X.X.X:11470] OPTIONS /path1/whep
2023/11/01 16:27:36 DEB [WebRTC] [conn X.X.X.X:11470] [c->s] OPTIONS /path1/whep?controls=0 HTTP/2.0
Host: external-ip:port
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7
Origin: https://external-ip:port
Referer: https://external-ip:port/path1/?controls=0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36

2023/11/01 16:27:36 DEB [WebRTC] [conn X.X.X.X:11470] [s->c] HTTP/1.1 401 Unauthorized
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: *
Server: mediamtx
Www-Authenticate: Basic realm="mediamtx"

2023/11/01 16:27:38 DEB [WebRTC] [conn X.X.X.X:11470] OPTIONS /path1/whep
2023/11/01 16:27:38 DEB [WebRTC] [conn X.X.X.X:11470] [c->s] OPTIONS /path1/whep?controls=0 HTTP/2.0
Host: external-ip:port
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7
Origin: https://external-ip:port
Referer: https://external-ip:port/path1/?controls=0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36

2023/11/01 16:27:38 DEB [WebRTC] [conn X.X.X.X:11470] [s->c] HTTP/1.1 401 Unauthorized
Access-Control-Allow-Credentials: true
Access-Control-Allow-Origin: *
Server: mediamtx
Www-Authenticate: Basic realm="mediamtx"

2023/11/01 16:27:40 DEB [WebRTC] [conn X.X.X.X:11470] OPTIONS /path1/whep
2023/11/01 16:27:40 DEB [WebRTC] [conn X.X.X.X:11470] [c->s] OPTIONS /path1/whep?controls=0 HTTP/2.0
Host: external-ip:port
Accept: */*
Accept-Encoding: gzip, deflate, br
Accept-Language: ru-RU,ru;q=0.9,en-US;q=0.8,en;q=0.7
Origin: https://external-ip:port
Referer: https://external-ip:port/path1/?controls=0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.181 Safari/537.36

log from android 9
requesting ICE servers
:port/favicon.ico:1 Failed to load resource: the server responded with a status of 404 ()
:port/path1/whep?controls=0:1 Failed to load resource: the server responded with a status of 401 ()
?controls=0:115 error: TypeError: this.pc.addTransceiver is not a function
?controls=0:108 requesting ICE servers
:port/path1/whep?controls=0:1 Failed to load resource: the server responded with a status of 401 ()
?controls=0:115 error: TypeError: this.pc.addTransceiver is not a function
?controls=0:108 requesting ICE servers
?controls=0:110 OPTIONS https://external-ip:port/path1/whep?controls=0 401 ()
start @ ?controls=0:110
restartTimeout.window.setTimeout @ ?controls=0:243
?controls=0:115 error: TypeError: this.pc.addTransceiver is not a function
?controls=0:108 requesting ICE servers
?controls=0:110 OPTIONS https://external-ip:port/path1/whep?controls=0 401 ()
start @ ?controls=0:110
restartTimeout.window.setTimeout @ ?controls=0:243
setTimeout (async)
scheduleRestart @ ?controls=0:241
fetch.then.catch @ ?controls=0:116
Promise.catch (async)
start @ ?controls=0:114
restartTimeout.window.setTimeout @ ?controls=0:243
?controls=0:115 error: TypeError: this.pc.addTransceiver is not a function
?controls=0:108 requesting ICE servers
?controls=0:110 OPTIONS https://external-ip:port/path1/whep?controls=0 401 ()

log from browser on pc
scheduleRestart @ ?controls=0:285
fetch.then.catch @ ?controls=0:158
Promise.catch (async)
start @ ?controls=0:156
restartTimeout.window.setTimeout @ ?controls=0:287
setTimeout (async)
scheduleRestart @ ?controls=0:285
fetch.then.catch @ ?controls=0:158
Promise.catch (async)
start @ ?controls=0:156
restartTimeout.window.setTimeout @ ?controls=0:287
?controls=0:157 error: TypeError: this.pc.addTransceiver is not a function
?controls=0:150 requesting ICE servers
?controls=0:152
start @ ?controls=0:152
restartTimeout.window.setTimeout @ ?controls=0:287
setTimeout (async)
scheduleRestart @ ?controls=0:285
fetch.then.catch @ ?controls=0:158
Promise.catch (async)
start @ ?controls=0:156
restartTimeout.window.setTimeout @ ?controls=0:287
setTimeout (async)
scheduleRestart @ ?controls=0:285
fetch.then.catch @ ?controls=0:158
Promise.catch (async)
start @ ?controls=0:156
restartTimeout.window.setTimeout @ ?controls=0:287
setTimeout (async)
scheduleRestart @ ?controls=0:285
fetch.then.catch @ ?controls=0:158
Promise.catch (async)
start @ ?controls=0:156
restartTimeout.window.setTimeout @ ?controls=0:287
setTimeout (async)
scheduleRestart @ ?controls=0:285
fetch.then.catch @ ?controls=0:158

While examining the code, I discovered that the js part in webrtc_read_index.html had been changed
Describe how to replicate the issue

start the server
publish with rtsp
read with browser(android9 phone or pc)

Did you attach the server logs?

yes / no
Did you attach a network dump?

yes / no

aler9 please help me fix this bug

UPD.
I apologize if I misled you. Swears on the ice server, from updated information.
"error: InvalidStateError: Failed to execute 'addTransceiver' on 'RTCPeerConnection': This operation is only supported in 'unified-plan'. 'unified-plan' will become the default behavior in the future, but it is currently experimental. To try it out, construct the RTCPeerConnection with sdpSemantics:'unified-plan' present in the RTCConfiguration argument.", source: https://external-ip:port/path1/ (116)

Hello, after digging i found out the explanation for this problem. Even though it involves a small number of users, i added the sdpSemantics parameter inside the server in order to support Chrome versions older than M72.

repo: bluenviron/mediamtx


text:
Fixed fsck on overlain root, added oroot=live, enforced that at least 2 zram block devices are created.

Merge my master branch since it fixes a good deal of your problems. The machine-id problem isn't fixed yet (probably won't) since it's an allowed error according to systemd. Also, there's a new mode called oroot=live which allows running root entirely on ram (copies files to ram). Use it only if your ram is large enough to hold your rootfs. That, and some bug fixes (see commit log)

Merge my branch since it allows one to write back to the backing disk with /usr/bin/overlay_flush

repo: bluerider/liveroot


text:
Adopt pydata documentation theme

Description

This PR adopts the PyData theme, as already in use in the ophyd-async and event-model documentation.
The conf.py changes, and the logo, were both taken from the event-model repository.
This also fixes a docs build warning originating from IPython; it seems the "bookmarks" feature has been moved to the "pickleshare" module. To remove the warning I simply added this package to the dev dependencies.
This includes moving of the documentation: There are now "user" and "developer" subdirectories underneath "docs". Each has its own index.rst file, which is referenced by the top level index. Each folder contains its respective documents. All cross-links have been updated where necessary (using absolute paths)
Motivation and Context

Fixes #1694
How Has This Been Tested?

Documentation has been manually built and examined locally to check its behaviour. All pages appear to render correctly in the new theme. See screenshots below.
To test, check out this branch and run "tox -e docs". Then open the file <workspace>/build/html/index.html in a web browser.
NOTE: It seems GitHub Pages has not been configured for this repository as the switcher.json file cannot be found. Someone with the necessary admin powers needs to enable it here: https://github.com/bluesky/bluesky/settings/pages . This should enable the version switcher to work (it currently does not)
Also note that this does NOT solve the issue raised in #1666 - the searching is still broken.

The switcher issue was resolved via the configuration to publish GH Pages from the gh-pages branch (from /) and https://github.com/bluesky/bluesky/actions/runs/8723610109

During review it was noted that the "user" and "developer" subdirectories I added would break hyperlinking. I've re-done it as a flat structure by adding two new index files to the "docs" directory, one for user and one for developer. This should preserve all hyperlinks.

Thanks, @AlexanderWells-diamond!

authors: AlexanderWells-diamond mrakitin

repo: bluesky/bluesky


text:
Slams - default damage

Assumes endurance that will bounce off a hard wall, and no body armour.
Have to change that - e.g. Hulk vs Thing.

Instituted a simulation - only get slammed into Remarkable strength wall for now - still needs Grand Slam checking.

This is done, seems good.

repo: bluetyson/FASERIP-Slugfest


text:
Implement IntoNeighborsDirected for EdgeFiltered(#202)

Hi everyone, I've implemented the trait to address #202 and added a test as well.
Fixes #202

Thanks for this! I have a few small style issues with your impl but otherwise it looks good to me.

Thank you for your feedback. My implementation was adapted from the existing EdgeFilteredNeighbors struct, which also calls filter_map within each .next.
I've tried to manually create an instance of FilterMap up front and get EdgeFilteredNeighborsDirected to take ownership of it, but I get problems with the closure type parameter of FilterMap being unsized.

Thanks for this! I'll merge and push a micro cleanup on top of it

Will this be included in a published release soon?

We are merging breaking changes and can release 0.5 when it is done. It is basically done

authors: bluss jgrund jmcomets kettlebell

repo: bluss/petgraph


text:
Should this project be moved to a GitHub organization?

Maybe this project should be moved to a GitHub organization (and have multiple collaborators/admins) in order to increase the bus factor?

I mean, I don't have anything against this idea, just not sure how it benefits us, as I can add collaborators now as well

authors: bluzi peterhellberg

repo: bluzi/jsonstore


text:
Add Blake to list of names

As mentioned in #1

awesome, thanks!
merged

repo: bluzi/name-db


text:
Editable public_id

#403

一箇所コメントしましたが、全体的にはルックスオーサムです！サイコーです！

これまた今気がついてしまったんですが、編集画面で public_id を空にして保存ボタンを押すとエラーになってしまいますね…！
なぜかというと、現在編集画面では記事編集の URL に public_id を指定しているのですが、これが空になることによって　Rails はどの記事を更新すればいいのかわからなくなるのでした…
2016-03-24T07:23:47.174589+00:00 app[web.1]: ActionView::Template::Error (No route matches {:action=>"show", :controller=>"editor/posts", :id=>""} missing required keys: [:id]):
2016-03-24T07:23:47.174590+00:00 app[web.1]:     1: = bootstrap_form_for [:editor, @post], layout: :horizontal, label_col: 'col-sm-2', control_col: 'col-sm-10' do |f|
2016-03-24T07:23:47.174593+00:00 app[web.1]:     2:   = f.number_field :public_id, help: '未記入の場合、自動的に連番がセットされます。'
2016-03-24T07:23:47.174594+00:00 app[web.1]:     3:   = f.text_field :title
2016-03-24T07:23:47.174595+00:00 app[web.1]:     4:   = f.text_area :body, data: {upload_path: editor_images_url}
2016-03-24T07:23:47.174596+00:00 app[web.1]:   app/views/editor/posts/_form.html.haml:1:in `_app_views_editor_posts__form_html_haml___3923264452574514112_70304884611640'
2016-03-24T07:23:47.174596+00:00 app[web.1]:   app/views/editor/posts/edit.html.haml:3:in `_app_views_editor_posts_edit_html_haml__2230164890022373869_70304884736160'
2016-03-24T07:23:47.174597+00:00 app[web.1]:   app/controllers/editor/posts_controller.rb:34:in `update'

一応 URL に使う値を public_id ではなく id にできれば解決はするのですが、やはりシステムの外側に表示されるのは id ではなく public_id だけに統一されているのが望ましいと思っています。
なので、システムの都合ではあるんですが編集時には public_id が編集不可になっているのが妥当かなと思うのですがいかがでしょう…？

編集画面で public_id を空にして保存ボタンを押すとエラー

あれ、そうなのですね..! 自分のローカル環境だと空にして保存すると連番が付与されるので再現できないのですが、環境によるのでしょうか。。

おお、すみません、再現手順不足でした :sweat_drops:
なにか validation にひっかかる状況(たとえば body を空にするとか)との合わせ技で再現します！

あ、再現できました！他の項目に入力エラーがあると、エラー画面が出ちゃいますね。。

public_id は新規登録時のみ表示するようにしてみました！

:dog: ダフル！

authors: ryota-sasabe tricknotes

repo: bm-sms/daimon-news-multi-tenant


text:
Mica and Some Button SVG Files Can't use in Firefox 117 and Up

Description
I am experiencing the same issue as reported in the link below where the Mica effect is missing and the minimize, maximize, and close buttons for the window are all the default ones instead of using the svg files.
Inferred Cause
I guess it was the new update to change the rules. Maybe it deleted or changed a value -moz-win-borderless-glass.

Reference link: https://github.com/bmFtZQ/edge-frfox/issues/98#issuecomment-1698402407

URL: https://www.mozilla.org/en-US/firefox/117.0/releasenotes/?utm_source=firefox-browser&utm_medium=firefox-desktop&utm_campaign=about-dialog

Reproduce
Buttons
After installing this theme, you will see that.
Mica
See this link: https://github.com/bmFtZQ/edge-frfox#mica-tweak-instructions-windows-11-only
Include screenshot / video recording if possible.
Buttons

Mica

Configuration

Firefox Version: 117.0.1
OS: Microsoft Windows 11 22H2 Build 22621.2215

Buttons Reference source code: https://github.com/bmFtZQ/edge-frfox/blob/main/chrome/icons/icons.css
@media (-moz-windows-compositor),
(-moz-gtk-csd-available) {
  .titlebar-min {
    list-style-image: url("win11-minimize.svg") !important;
  }

  .titlebar-max {
    list-style-image: url("win11-maximize.svg") !important;
  }

  .titlebar-restore {
    list-style-image: url("win11-restore.svg") !important;
  }

  .titlebar-close {
    list-style-image: url("win11-close.svg") !important;
  }

The implementation method of Mica effect is not yet known.

No one at here to see them?
Oh c'mon😅

The window control button icons should work now. Unfortunately Mica does not work in newer versions of Firefox.

Mozilla removed the CSS appearance value (-moz-win-borderless-glass) that this theme used for Mica. This value was designed to be used for the Aero effect on Windows 7, but when using Mica For Everyone, the same value could be used for the Mica effect. Firefox 116 removed support for Windows 7 and 8, so the -moz-win-borderless-glass value was also removed.

Mica has been removed from this theme due to the removal of the appearance values. As of now since there is no way to use Mica in newer versions of Firefox, I will be closing this as not planned.

👌

repo: bmFtZQ/edge-frfox


text:
blasting then voicemail doesn't work if there is an invalid or disconnected number among the volunteers

Describe the bug (or maybe it's an enhancement??)
If one of the volunteers has a disconnected number, blasting then voicemail never goes to voicemail -- it just keeps ringing.
What version are you running?
4.3.1-beta1
Did this happen on prior versions to the one you are running?
Yes, something like this happened also with 4.2.11.
To Reproduce
Steps to reproduce the behavior:

Set up yap for blasting then voicemail.
Add a disconnected or otherwise bad number to the volunteers list.  (To reproduce, I used a recently released Twilio number.)
Call the helpline and ask to talk with a volunteer.

Expected behavior
If one of the numbers is bad, I would expect yap in blast mode to still go to voicemail after the timeout.  Ideally there would be a report also regarding the bad number.
Additional context
The Twilio log for the test helpline number says that the released number was busy; there wasn't an error otherwise. I encountered something similar when trying to bring a new area on to yap.  It turns out the helpline coordinator just copied over the numbers from their old installation but didn't test them.  One of those numbers was bad -- not sure how since I didn't try to debug carefully at the time -- but that one gave an error on the Twilio log (which is how we discovered the problem). Same thing happened -- calls just kept ringing and never went to voicemail.

I was able to reproduce this.  This is an old bug and it deserves to be fixed!

The same issue occurs for any call strategy and anytime you use a number that doesn't exist.

fix coming in 4.3.4

I tried the fix in 4.3.4-beta1, and alas it's still hanging and not sending the call to voicemail when there is a bad number -- at least of a particular kind -- in the volunteer list.  (The number that causes this problem  is a Twilio number that we returned to the pool.)  I'll send you a screenshot similar to the one above, and the laravel log, as a DM.  (It's got my own number in it as well so I won't put it here.)
Then I tried it with the bad number in the screenshot above (212-555-5555) and it did send the call to voicemail.

Ok I’ll test this other use case.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Alan B @.>
Sent: Saturday, May 4, 2024 7:40:31 PM
To: bmlt-enabled/yap @.>
Cc: Danny Gershman @.>; Assign @.>
Subject: Re: [bmlt-enabled/yap] blasting then voicemail doesn't work if there is an invalid or disconnected number among the volunteers (Issue #971)
I tried the fix in 4.3.4-beta1, and alas it's still hanging and not sending the call to voicemail when there is a bad number -- at least of a particular kind -- in the volunteer list. (The number that causes this problem is a Twilio number that we returned to the pool.) I'll send you a screenshot similar to the one above, and the laravel log, as a DM. (It's got my own number in it as well so I won't put it here.)
Then I tried it with the bad number in the screenshot above (212-555-5555) and it did send the call to voicemail.
—
Reply to this email directly, view it on GitHubhttps://github.com/bmlt-enabled/yap/issues/971#issuecomment-2094502534, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAOD3O22EKNFL52A3C7KZ5TZAVWW7AVCNFSM6AAAAABE4OF3O6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUGUYDENJTGQ.
You are receiving this because you were assigned.Message ID: @.***>

figured out what the difference is.  these released numbers return a busy signal, not a failure.

working on a fix now.

Try with 4.3.4-beta2

Working for both numbers now (the one that fails and the one that gives a busy signal).  One thing I did not test is having a volunteer who never answers and who does not have voicemail -- I don't have a number handy with that behavior.  Is that already known to work?

If they don't press 1 after answering it will result in a timeout.

What happens if they never answer?

It times out after whatever the setting is.
Get Outlook for iOShttps://aka.ms/o0ukef

From: Alan B @.>
Sent: Saturday, May 4, 2024 11:11:45 PM
To: bmlt-enabled/yap @.>
Cc: Danny Gershman @.>; Assign @.>
Subject: Re: [bmlt-enabled/yap] blasting then voicemail doesn't work if there is an invalid or disconnected number among the volunteers (Issue #971)
What happens if they never answer?
—
Reply to this email directly, view it on GitHubhttps://github.com/bmlt-enabled/yap/issues/971#issuecomment-2094564530, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAOD3O6ZO62EWZY5YKB6ZTLZAWPPDAVCNFSM6AAAAABE4OF3O6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOJUGU3DINJTGA.
You are receiving this because you were assigned.Message ID: @.***>

repo: bmlt-enabled/yap


text:
Add ability to cycle through layers

Like with #100 add the ability to cycle through the current choice "on top" with regards to layers from our plug-in instead of having to go into the menu of Mirador.

Working on this next.

repo: bodleian/archiox-mirador-plugin


text:
allow to add multiple consul

consul_http_address = {
 "http://consul1:8500",
 "http://consul2:8500",
 "http://consul3:8500",
}

It is going to look something like this in logs.
2019-08-28 16:03:52.439 [1] main/106/consul_watch_autovshard/mycluste consul.lua:296 E> Got bad Consul HTTP response from "http://consul1:8500". Will try another address.
2019-08-28 16:03:52.439 [1] main/106/consul_watch_autovshard/mycluste init.lua:63 E> autovshard: config watch error: /usr/share/tarantool/autovshard/consul.lua:187: consul kv get error: ---
status: 595
reason: Couldn't resolve host name
...

authors: R-omk bofm

repo: bofm/tarantool-autovshard


text:
Arrangement and execution of the meeting for overview of activities performed during development of dynamic systems (issue #908 related)

The goal is to arrange and execute the meeting for overview of activities performed during development of dynamic systems. The following things should be prepared:

[x] scope and schedule of meeting (in one week);

[x] conducting team (in two weeks);

[x] guide or instructions with examples (one week before meeting);

[x] announcement (in Slack and Teams channel) with basic information (conducting persons, date,scope,schedule) (one week before meeting);

[x] exemplary code in Jupyter (link) (one week before meeting).

Meeting has been executed.

repo: bogumilchilinski/dynpy


text:
请问--ip  是否支持同时配置IPv4，IPv6

如果不能，是否能新增--ip6 。多谢

亲 --ip 不支持同时配置IPv4，IPv6呢。这是因为 Debian 安装程序本身不支持呢。
可以通过 cloud-init 配置安装后的网络。
--cidata  ./cidata-example https://github.com/bohanyang/debi/tree/master/cidata-example
在这个目录里面加上 network-config 文件，内容如下。然后通过以上选项指定目录。
甲骨文（DHCP自动配置双栈）
version: 1
config:
  - type: physical
    accept-ra: true
    name: eth0
    mac_address: "aa:aa:aa:aa:aa:aa"
    subnets:
      - type: dhcp

静态IP
version: 1
config:
  - type: physical
    accept-ra: false
    name: eth0
    mac_address: "aa:aa:aa:aa:aa:aa"
    subnets:
      - type: static
        address: "1.1.1.227/23"
        gateway: "1.1.1.1"
      - type: static6
        address: "2000:a:a:a::a/56"
        gateway: "2000:a:a:a::1"
  - type: nameserver
    address: ["8.8.8.8"]

authors: bohanyang jhcn

repo: bohanyang/debi

license: Unlicense


text:
Added safety check for non-positive log axis range

As reported in issue #226, datashader segfaults for a y_range starting at 0 or a negative number.
This PR adds a check for this condition at the Canvas level, which provides a clear error message for cases where the user has explicitly set a y_range or an x_range with such an invalid starting value.
This PR also adds a low-level error check within the Axis itself, to handle the case where the range has been determined automatically based on the data.  In this case, the name and type of the axis are not known, so the message is much more obscure, but there appears to be no simple way around that.  And even an obscure message is better than a segfault!

@jcrist, can you please check the (very short!) diffs and see if you have any objections or suggestions?

Superseded by #228.

repo: bokeh/datashader


text:
Explicitly transform span argument for non-linear normalizations

Right now, the span argument for tf.shade() is only useful for linear transformations, because the specified span values are applied after transformation, by which point the data values can be in some arbitrary range (for eq_hist) or in some non-arbitrary but awkward to specify range (for log, cbrt, etc.).  Now transforms the provided span, where appropriate, and aborts where such transformation is not yet supported.

Looks fine to me!

Looks good to me too, handling the log case correctly definitely seems worthwhile. Need to make sure this is mentioned in the release notes in case someone was using it (e.g. by manually taking the log). Merging.

authors: jbednar jlstevens philippjfr


text:
Secrets manager Update.

Description
This PR adds minimum and complete examples to the module. It also adds all standard template files.
Features/Fixes/Patches/Changes list:
Please check the CHANGELOG.md
Checklists:
PR Owners Checklist:

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?
[x] Have you checked there aren't open Pull Requests of upstream or parallel code that will cause conflicts?
[x] Have you updated the CHANGELOG.md?
[x] Have you updated the README.md(s)?
[x] OWNER: Does your submission pass?

[x] Pre-commit (attach logs/print screen to this PR)
[x] Checkov/terrascan (attach logs/print screen to this PR)
[x] Terraform resources examples build/destroy successfully with Terraform 0.14.11 minimum?

[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your core changes, as applicable?
[x] Have you successfully run tests with your changes locally?

PR Reviewers Checklists?

[ ] Are all your comments/changes resolved?
[ ] Are you happy with the OWNER checklists and additional information provided?
[ ] Does your review tests pass?

[ ] Terraform resources examples build/destroy successfully with Terraform 0.14.11 minimum?

checkov.txt
Checkov logs

repo: boldlink/terraform-aws-secretsmanager