text:
Installation of Blockstack 19.0.0 includes a blockstack-18.3.0-rc1.tgz file

Installing blockstack 19.0.0 comes with a blockstack-18.3.0-rc1.tgz file.  Was confusing to me when I listed the module contents.
npm ls shows the right version.
We should remove the confusing tgz file.
$ ls -al node_modules/blockstack/
total 6328
drwxr-xr-x   23 manthony  wheel      736 Mar  8 11:38 .
drwxr-xr-x  148 manthony  wheel     4736 Mar  8 11:38 ..
-rw-r--r--    1 manthony  wheel      200 Oct 26  1985 .babelrc
drwxr-xr-x    3 manthony  wheel       96 Mar  8 11:38 .circleci
-rw-r--r--    1 manthony  wheel      118 Oct 26  1985 .eslintignore
-rw-r--r--    1 manthony  wheel     1395 Oct 26  1985 .eslintrc
-rw-r--r--    1 manthony  wheel      242 Oct 26  1985 .flowconfig
drwxr-xr-x   17 manthony  wheel      544 Mar  8 11:38 .nyc_output
-rw-r--r--    1 manthony  wheel     8353 Oct 26  1985 CHANGELOG.md
-rw-r--r--    1 manthony  wheel     2137 Oct 26  1985 CONTRIBUTING.md
-rw-r--r--    1 manthony  wheel     1082 Oct 26  1985 LICENSE
-rw-r--r--    1 manthony  wheel     3746 Oct 26  1985 README.md
-rw-r--r--    1 manthony  wheel  2412148 Oct 26  1985 blockstack-18.3.0-rc1.tgz
-rw-r--r--    1 manthony  wheel      889 Oct 26  1985 bower.json
drwxr-xr-x    4 manthony  wheel      128 Mar  8 11:38 dist
drwxr-xr-x    4 manthony  wheel      128 Mar  8 11:38 docs
-rw-r--r--    1 manthony  wheel     4545 Oct 26  1985 docs-button.png
-rw-r--r--    1 manthony  wheel   761104 Oct 26  1985 docs.json
-rw-r--r--    1 manthony  wheel      686 Oct 26  1985 documentation.yml
drwxr-xr-x    3 manthony  wheel       96 Mar  8 11:38 flow-typed
drwxr-xr-x   18 manthony  wheel      576 Mar  8 11:38 lib
-rw-r--r--    1 manthony  wheel     5274 Mar  8 11:38 package.json
drwxr-xr-x    7 manthony  wheel      224 Mar  8 11:38 tests

$ npm ls blockstack
/private/tmp
└── blockstack@19.0.0

This should be fix in v19.1.0

@yknl  yo blockstack gave me this 5 minutes ago. that's what we use to build the initial hello world
manthony at booboo in /tmp/test-download/node_modules/blockstack
$ ls
CHANGELOG.md              bower.json                docs.json                 package.json
LICENSE                   dist                      documentation.yml         tests
README.md                 docs                      flow-typed
blockstack-18.3.0-rc1.tgz docs-button.png           lib

I don't see this file anymore in the latest versions. The app generator should have been updated as well.

authors: moxiegirl yknl


text:
Was this page helpful? section improvements

Align the edges with the content
Icons draw too much attention because they're too large. Should be 28px instead of 42px
Icons missing background, attached svgs!

Happy.svg

@jasperjansz these are react components, the background is missing only on accident when I was making it work with dark mode. Could you design a dark mode version of the faces I can use? Thanks!

source: gharchive/issue

authors: aulneau jasperjansz

license_type: permissive

license_source: github-api


text:
recuperacion de token

There is a possibility of recovering this transfer that you do without the memo for not knowing how to transfer
99,00 STX
SP34FXH035DMS7BDZCHF17Q0P0QXPT713BZZGBER4
SP1P72Z3704VMT3DMHPP2CB8TGQWGDBHD3RPR9GZS
0xf6a911512fd3c55afd8e85a91864db0d75fb529d582369d469b4f7dbe4dc96bf
0.00018 STX
#15805
Hace 19 horas
0xa847f231c4261882fa4f737b6d14f2c3bb3ef17de3a70a52b0033b929499cce3

This is a transaction to Binance, without a memo. That means they can not automatically credit it to your account but you can contact them with these details and I am sure they can sort it out for you. Nobody here can do anything about it though.
This issue can be closed.

repo: blockstack/explorer

license: MIT


text:
Integrate identity, latest transaction and assets into home modal

See screen design
Identity

If the user hasn't set a username for the currently selected address, the address is shown (needs design)
If user has set a username, the username shows primarily with the address secondarily (needs design)
In both cases, there are options to both copy the address to clipboard and visit the address page on the Explorer (needs design)

Latest transaction

If the user hasn't had a transaction within the past 48 hours, this section is hidden entirely
If they've had one or more transaction within the past 48 hours, the latest is shown in this section. The image, ticker and name should be set as defaults for any of the tokens involved in the transaction.
The amount listed should be positive if the token was received and negative if sent.
NFTs should show "1" or "-1" whereas FTs should show the exact amount transferred.

Tokens (fungible tokens)

If the user has no tokens, they should be directed to buy STX with link to CoinMarketCap (see design)
If the user has one or more tokens, they should be listed with default image, ticker and name values

Collectibles (non-fungible tokens)

If the user has no collectibles, they should simply see "You don't own any collectibles" message.
If the user has one or more collectibles, they should be listed with default image, ticker and name values and no value on the right (since they're all implicitly "1")

@jasperjansz it appears the identity area of the home modal needs some small updates here?

@hstove what's the best way to test multiple assets in the UI here?

@hstove what's the best way to test multiple assets in the UI here?

repo: blockstack/ux


text:
Upgrade JMXTrans

JMXTrans community cookbook points to an older version (2012) of  JMXTrans software to install. We need to use the latest version of the software which can fix some of the stats data issues seen in Graphite. Also it will help us get support from the JMXTrans community.

Version 2.0 of the jmxtrans-cookbook is available for testing. The default recipe does the install from the tar.gz file published by the jmxtrans project and install_ubuntu uses the deb package. Also included is remove-ver1 to remove jmxtrans installed using the previous version of the cookbook.

Fixed as part of PR #556.

repo: bloomberg/chef-bach

license_source: bigquery


text:
feat: extract statetest models/structs to standalone crate

Closes: #1787

Cool! lgtm with one nit.

Done! Ci green.

source: gharchive/pull-request

repo: bluealloy/revm


text:
Add rails env to Airbrake

Airbrake.configure do |config|
  config.host                = 'http://errors.blueberry.cz'
  config.project_id          = -1
  config.project_key         = 'API_KEY'
  config.environment         = Rails.env
  config.ignore_environments = %w(development test)
end

https://github.com/airbrake/airbrake-ruby#blacklist_keys

authors: Ceda mmagnusek

license: mit


text:
Keystone ldap

Updates added for deploying openldap, setting up password policies, and configuring keystone. By default openldap is not deployed, it needs to be enabled explicitly.

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

repo: blueboxgroup/ursula


text:
wip: experimental CentOS support

demo: ursula --vagrant envs/example/allinone-centos site.yml
this is just enough to get nova, glance, keystone, neutron seemingly fuctioning
correctly on CentOS.
have disabled heat, lbaas, etc.  also disabling logging/monitoring/etc.

retest

retest

retest


text:
doc(readme): Matrix chat room

Add a chat room for discussions

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


text:
update index.html

new ui design

That's the lamest "hacking" attempt I've ever seen.

repo: blueimp/jQuery-File-Upload


text:
last line when textFormat="formatted"

Hello,
The last line is automatically justified when using textFormat="formatted". I've seen in another issue here that you suggest to use the JustifiedSpan. The problem with that is I cannot know in advance how long the last line will be, and the span must consist of the entire line (so setting it just to the last character/word won't help). When using textFormat="plain" it works well. I've attached 2 screenshots, so you can see the difference.
Please let me know if there's something I got wrong. If you have any idea of how to solve it, I would be extremely thankful.
Goni
   |

@gkrishnan

+1

any update??

authors: CompositionCloud bluejamesbond ericmguimaraes zuraba

repo: bluejamesbond/TextJustify-Android


text:
enforce selectedRoles

selectedRoles isn't really useful until we get choice-driven config variation modelling, but we should make sure that it works as expected for now so that things don't break when config choices are implemented.
We do have validation that any selected role has a role configuration in the kdapp. What we don't have is awareness in the cluster setup that only selected roles should be paid attention to.

Hi @joel-bluedata , I am new to open source. Could I please take it up and start working?

authors: Pushkal-G joel-bluedata


text:
Failed compiling release 1.1.6 with TDM-gcc

However , 1.1.4 works well when compiled with TDM-gcc . What should I do to fix this?
Compile 1.1.6

Compile 1.1.4

error message:
C:/ProgramEnv/gcc/bin/../lib/gcc/x86_64-w64-mingw32/10.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: C:\Users\ADMINI~1\AppData\Local\Temp\cc0NVBNz.o:main.cpp:(.text+0x41076): undefined reference to `fread_s'
collect2.exe: error: ld returned 1 exit status

You are right. On windows I assume you are using MSVC compiler, so fopen_s is used instead of f_open.
你是对的，在windows上我假设你使用 MSVC 编译器，因此打开文件的函数是 fopen_s，该函数在其他编译器上不起作用。

I've pushed a fix for this issue. It should work now.
我推送了此 issue 的一个修复，他应该有用。

authors: XingZhe-Li blueloveTH

repo: blueloveTH/pocketpy


text:
Allow translation in mods

Since Terraria will have full translation starting from 1.3.5, it will be great if tModLoader supports a similar pattern and make the switch of language the same way as the vanilla one.
Thanks!

I see as why jopo added the 'Far in Future' label. This will be quite a large undertaking and not to mention, this is actually already possible for mods, but with their own implementation.

Resolved with the recent updates to 1.3.5 (from 57418dd6a3e7abbc472dc0403e5ef415f80124fe to 00240dafc313bf708947a7719ba7d7d1d55a4d7a)

authors: Jofairden Kimi-Arthur bluemagic123


text:
[Needs confirmation] GPS origin should be wrapped

This forum post found that setting the GPS origin in the Water Linked DVL interface with a -220 longitude didn't work.
@Williangalvani suspects that it may require a value between -180 to 180. If confirmed, this package should wrap the value before displaying to the user and/or before sending to the autopilot to ensure correct functionality.

Longitude wrapping added in #11

repo: bluerobotics/BlueOS-Water-Linked-DVL


text:
Fix caret jumps for web composer

Fixes https://github.com/bluesky-social/social-app/issues/1300
Fixes caret jumping to the end when inserting an emoji in the middle of the post using our picker
Fixes caret jumping to the end when blurring out of the composer and focusing it back again (maybe controversial)

See https://github.com/bluesky-social/social-app/issues/1300#issuecomment-1705753534 for an explanation. TLDR:

We shouldn't be jumping the caret when the user picks an emoji. They might be in the middle of the post anyway.
We should not be reading mutable .length in order to "jump" the caret to the end — it appears that our text editing library does not guarantee whether the new value is flushed yet by the time onFocus fires.

Although we could have fixed that by using focus('end') instead of focus().setTextSelection(...), we probably shouldn't be jumping the caret to the end at all on focus anyway — since it's not what you actually want e.g. when inserting an emoji in the middle of the text. So I removed that line altogether unless we have some motivation to keep it. I haven't found a case where it's needed yet.

This might need a review from someone familiar with #1241 and #1254.

This needs more work. @ansh pointed out that we need to jump the cursor to the end when the user opens the composer on somebody else's profile. This is because we want to place it after the mention.

This needs more work. @ansh pointed out that we need to jump the cursor to the end when the user opens the composer on somebody else's profile. This is because we want to place it after the mention.

Pushed another commit. This ensures that if we press Compose on someone's profile, the cursor will appear after the handle.

repo: bluesky-social/social-app


text:
add types for desktopFixedHeight to List

Let's stop requiring @ts-ignore for this prop in our List implementation

Oh, actually need to look closer. In Views.web.tsx it's typed as boolean | number

I never implemented it for web actually. I think it's maybe used for native?

I'm not sure what it's really supposed to be doing. I think feeds use it.

Yea, the FlatList_INTERNAL takes both, but that makes the prop name a little confusing. I'll have to look through later to see why it gets used on native or if it even does.
I see that desktopFixedHeightOffset is a prop for Feed, but it never gets used either as far as I can tell?

Will leave number as well for now, but made a note to revisit this and remove number if possible. Seems fine, though want to give it a more solid pass before assuming that's true.

authors: gaearon haileyok


text:
Factor out bluesky-tiled-plugins package

This creates a second Python package in the databroker repository, bluesky-tiled-plugins, with the "special client" objects BlueskyRun, BlueskyEventStream, and CatalogOfBlueskyRuns, as well as the custom query objects PartialUID, ScanID, and TimeRange. Quoting the README:

For a user wishing to connect to a running Tiled server and access Bluesky data,
this package, along with its dependency tiled[client], is all they need.

The databroker package is only required if the user wants to use the legacy
databroker.Broker API.

This means it is no longer necessary to install databroker in the client environment unless they have legacy databroker.Broker code.
To be clear, the server environment still needs databroker.mongo_normalized, the Tiled Adapter for MongoDB with Bluesky document collections.

This is a backward-compatible change. Databroker now has a dependency on bluesky-tiled-plugins and has shim modules that expose the moved objects at the original locations within the databroker package.
Closes #812

I have registered the publish-pypi.yml workflow in this repository as a "pending" trusted publisher such that merge this PR should create the bluesky-tiled-plugins package on PyPI.

repo: bluesky/databroker


text:
TYPO should be lower case to be consistent with others in this module

Somehow, this missed testing.  A long time ago.
    tetramm = TetrAMM("8idTetra:QUAD1:", name="tetramm")
    for axis in "x y".split():
        for attr_name in "offset offset_calc scale".split():
            getattr(tetramm, f"position_{attr_name}_{axis}").kind = "config"
AttributeError: position_scale_y

We can get by without this change (which might break existing usage) with:
    for attr_name in tetramm.component_names:
        attr = getattr(tetramm, attr_name)
        if attr_name.startswith("current_"):
            for ch_name in attr.component_names:
                getattr(attr, ch_name).kind = "config"
        elif attr_name.startswith("position_"):
            attr.kind = "config"

But for sure, all these components need to be kind="config".

repo: bluesky/ophyd


text:
🛑 Skytalks SSL Website (v6) is down

In 3a82c3e, Skytalks SSL Website (v6) (https://skytalks.info) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Skytalks SSL Website (v6) is back up in 4f8f558 after 15 minutes.

repo: bluknight/skytalks-monitor


text:
検索

記事を検索したいニーズがありそう
実装案

LIKE検索で済ませる（遅いけどお手軽）
全文検索エンジンを使う（速いけど運用が複雑になる）

記事のタイトル、本文、著者情報 (?) から検索

一致した位置は出なくてもいいような気はするけど出たら嬉しい

検索した結果、記事のタイトル一覧が並んでいればそれで ok

固定ページは対象外

本文は Markdown を HTML としてレンダーした結果のテキスト部分から検索する

HTMLへの変換結果はDBに入れても良いのでは、と思いました。
変換部分のロジックをちょいちょい変えるなら、今のままでいいけど、一旦決まったらほとんど変えない気がするので、変換結果をカラムに入れておいた方が便利なのでは？と思いました。

#288 のpull requestで基本機能について対応しました。
主な対応内容は以下です。

[x] 記事のタイトル、本文、関係者から検索
[x] 記事のタイトルを表示
[x] 関係者で絞り込み
[x] 公開後に公開停止した記事が検索で引っかかってしまわないようにする https://github.com/bm-sms/daimon-news-multi-tenant/pull/288/files#r54970392

別PRで進める:

[ ] テキスト抽出（マークダウンの記号で引っかからないようにする）
[ ] https://github.com/bm-sms/daimon-news-multi-tenant/pull/288#discussion_r54832043
[ ] 著者情報検索のレビュー対応（著者情報フルネームの順位を改善）

[ ] https://github.com/bm-sms/daimon-news-multi-tenant/commit/c15ca8bc8211a61f25b223838cb623390e6ebba2#commitcomment-16527154

[ ] 著者情報検索のレビュー対応（著者情報の重み付け改善）

[ ] https://github.com/bm-sms/daimon-news-multi-tenant/commit/c15ca8bc8211a61f25b223838cb623390e6ebba2#commitcomment-16557270

[ ] strong parameterでpermitするの減らす？ https://github.com/bm-sms/daimon-news-multi-tenant/pull/288#discussion_r55311282
[ ] 検索結果のページネーションは不要？ https://github.com/bm-sms/daimon-news-multi-tenant/pull/288#issuecomment-193617934
[ ] 検索結果ページでは検索ボックスはサイドバーではなく検索結果のところに表示？ https://github.com/bm-sms/daimon-news-multi-tenant/pull/288#issuecomment-193616616
[ ] 検索後に検索ボックスが空になってしまう
[ ] サムネイルを表示する
[ ] 検索結果をスコア順に並べる（今はARのモデルにマッピングするときに順序が失われるので、ひとまず最新日付順にしている）

issue を見落しそうなので、残タスクは別issueに切り出した。

authors: mtsmfm myokoym okkez tricknotes

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


text:
Change status code description from 'warn' to 'warning'.

For compatibility with alerta dashboard (http://alerta.io) this change is needed as status 'warn' it treats as 'unknown'.
http://nagios.sourceforge.net/docs/3_0/pluginapi.html also describes it as 'WARNING', not 'WARN'.

Thanks for doing this! I didn't realize I'd made this mistake :-)

authors: bmhatfield ealekseev

repo: bmhatfield/riemann-sumd


text:
Adds kind field and ability to create Microshift ISO

PR is complete:

generates an iso using os-builder
uses redfish api to boot it into a system

@bn222 this script is currently working consistently. I have tested it out. After investigation, I figured out that the issue I was running into was a space problem which is why the build was failing. PTAL. I will clean up the style checks and address your comments to get this into CDA. I have also included a small microshift.yml which I used to test my configuration on CDA.

Please make sure that the linter checks pass while I take a look.

@bn222 @wizhaoredhat PTAL I have addressed all the comments

A lot better than your previous drafts, Good Job. Please keep in mind modular/readable/reusable code!

A lot better than your previous drafts, Good Job. Please keep in mind modular/readable/reusable code! I would add more commentary to explain things better.

Added some more comments to my functions

@bn222 PTAL

I've tested the PR. It works but it has two more issues.

The cleanup uses composer-cli but it is installed later so there is a mistake in the ordering
Your code returns before the installation completes making it difficult to use this in automation since there is no way to tell when it's really done.

https://github.com/bn222/cluster-deployment-automation/blob/main/clustersConfig.py#L103
This is where I expect the kubeconfig to be

https://github.com/bn222/cluster-deployment-automation/blob/main/clustersConfig.py#L103
This is where I expect the kubeconfig to be
@vrindle @bn222
This is a bit more nuanced since it is possible to have multiple kubeconfigs. We might need to change it such that it is a folder of kubeconfigs or we can concatenate into one file

wdym multiple kubeconfigs? 1 kubeconfig per cluster, I would assume.

wdym multiple kubeconfigs? 1 kubeconfig per cluster, I would assume.

Current schema:
clusters:
  - name: "microshift-cluster"
    kind: "microshift"
    kubeconfig: "/root/kubeconfig.whichclusterdoibelong"`
    masters:
    - name: "m1"
      type: "physical"
      node: "m1"
      ip: "10.19.128.15"
      bmc_ip: "10.19.128.16"
      bmc_user: "root"
      bmc_password: "calvin"
      - name: "m2"
      type: "physical"
      node: "m2"
      ip: "10.19.128.17"
      bmc_ip: "10.19.128.18"
      bmc_user: "root"
      bmc_password: "calvin"

I expect:
clusters:
  - name: "microshift-cluster"
    kind: "microshift"
    kubeconfig: "/root/kubeconfig.1"`
    masters:
    - name: "m1"
      type: "physical"
      node: "m1"
      ip: "10.19.128.15"
      bmc_ip: "10.19.128.16"
      bmc_user: "root"
      bmc_password: "calvin"
  - name: "microshift-cluster"
    kind: "microshift"
    kubeconfig: "/root/kubeconfig.2"`
    masters:
    - name: "m1"
      type: "physical"
      node: "m1"
      ip: "10.19.128.17"
      bmc_ip: "10.19.128.18"
      bmc_user: "root"
      bmc_password: "calvin"

assert len(masters) == 1 or not microshift

I expect:
clusters:
  - name: "microshift-cluster1"
    kind: "microshift"
    kubeconfig: "/root/kubeconfig.1"`
    masters:
    - name: "m1"
      type: "physical"
      node: "m1"
      ip: "10.19.128.15"
      bmc_ip: "10.19.128.16"
      bmc_user: "root"
      bmc_password: "calvin"
  - name: "microshift-cluster2"
    kind: "microshift"
    kubeconfig: "/root/kubeconfig.2"`
    masters:
    - name: "m1"
      type: "physical"
      node: "m1"
      ip: "10.19.128.17"
      bmc_ip: "10.19.128.18"
      bmc_user: "root"
      bmc_password: "calvin"

assert len(masters) == 1 or not microshift

Ah I see, ok with that scheme then it should be ok.

assert len(masters) == 1 or not microshift

@wizhaoredhat @bn222 With the way that this code is currently implemented we check to see if kind microshift we want len(masters) == 1 so I believe that this should be in line with the schema that was presented.

authors: bn222 vrindle wizhaoredhat


text:
Possible bug in start/stop routines

Played with "echo" demo, as found on "Getting started" page (using stable branch with debug symbols).
All runs smoothly, however when I run this demo under valgrind and ^C it, the following errors are reported:
==7444== Memcheck, a memory error detector
==7444== Copyright (C) 2002-2015, and GNU GPL'd, by Julian Seward et al.
==7444== Using Valgrind-3.12.0.SVN and LibVEX; rerun with -h for copyright info
==7444== Command: ./a.out
==7444==
* Listening on port 3000
Server is running 1 worker X 1 thread, press ^C to stop
* 7444 is running.
^C==7444== Invalid read of size 4
==7444==    at 0x12115D: defer_perform_in_fork (defer.c:394)
==7444==    by 0x112DD6: facil_run (facil.c:1069)
==7444==    by 0x1105A8: main (e2.c:53)
==7444==  Address 0x5404cc0 is 0 bytes after a block of size 0 alloc'd
==7444==    at 0x4C2DBC5: calloc (vg_replace_malloc.c:711)
==7444==    by 0x121022: defer_perform_in_fork (defer.c:363)
==7444==    by 0x112DD6: facil_run (facil.c:1069)
==7444==    by 0x1105A8: main (e2.c:53)
==7444==
==7444== Invalid read of size 4
==7444==    at 0x121196: defer_perform_in_fork (defer.c:397)
==7444==    by 0x112DD6: facil_run (facil.c:1069)
==7444==    by 0x1105A8: main (e2.c:53)
==7444==  Address 0x5404cc0 is 0 bytes after a block of size 0 alloc'd
==7444==    at 0x4C2DBC5: calloc (vg_replace_malloc.c:711)
==7444==    by 0x121022: defer_perform_in_fork (defer.c:363)
==7444==    by 0x112DD6: facil_run (facil.c:1069)
==7444==    by 0x1105A8: main (e2.c:53)
==7444==
* 7444 cleanning up.
* (7444) Stopped listening on port 3000

   ---  Completed Shutdown  ---

Probably there is an error there and you should have a look.

I have looked over the defer.c's defer_perform_in_fork, and for me it seems, that the main culprit is defer.c:382

pids_count++;

This makes the loop under 'finish:' to fall over the allocated memory, deleting this line fixes the valgrind error.
Hope this helps :)

Thanks 🙏🏻 🎉👍🏻👏🏻👏🏻
I re-read that piece of code and I have no idea what that line was doing there... 😂 I guess it was a leftover from a previous implementation.
Thank you very much for spotting it. 👍🏻

Thank you for your work :)
Out of curiosity, why do you use hand-written spinlocks, and not mutexes?

You're welcome :-)

why do you use hand-written spinlocks, and not mutexes?

It's a combination of performance testing and my own foolishness.
When I started the project, some of my design choices were a bit foolish and resulted in higher lock contention. Some of the lock contention issues couldn't be avoided (i.e. the defer library's queue access).
The original locking used mutexes and I noticed that mutexes were slower than I would like them to be. Something about the rescheduling mechanism was taking a long time to wake the threads up. Conditional variables weren't any better...
I tested it against spin locks using stdatomic.h . The spinlocks were noticeably faster for the defer queue (where contention can't be avoided).
But stdatomic.h wasn't available on Linux 14.04 (I was deploying on Heroku) so I just ended up writing the thing myself.

authors: boazsegev cdkrot


text:
Update README.md

Added new Section called Other Resources which contains SQL Tutorials and Interview questions Free resources...
Please let me know if any changes required.
Thank you!

Thank you but I think that this is not needed at the moment!

authors: CodeForHunger bobbyiliev

repo: bobbyiliev/introduction-to-sql


text:
Missing Getting Started with Johnny Five and JY MCU Bluetooth Serial Port Module

I was unable to locate this article https://github.com/rwaldron/johnny-five/wiki/Getting-Started-with-Johnny-Five-and-JY-MCU-Bluetooth-Serial-Port-Module or anything talking about the JY-MCU module. Not sure if this was by design. If not, how can I help to get it up there?
Also - Great job to everyone contributing to this project. This is an excellent resource and it's much appreciated.

It's here: http://johnny-five.io/api/
Currently, those links go back to the repo, but I plan on doing a formal migration in very near future

That works for me! Thank you for your help.

Awesome :)

authors: bmf rwaldron


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

The goal is to schedule the meeting in Teams calendar on 2024.09.10 at 20:30.

Meeting scheduled.

repo: bogumilchilinski/dynpy


text:
electron-prebuilt is deprecated

Following this blog: https://medium.com/developers-writing/building-a-desktop-application-with-electron-204203eeb658
$ npm install --save-dev electron-prebuilt
npm WARN deprecated electron-prebuilt@1.4.13: electron-prebuilt has been renamed to electron. For more details, see http://electron.atom.io/blog/2016/08/16/npm-install-electron

@bojzi I will work around errors as long as I can and report issues here. If you are not interested in further issues regarding the blog or you are not going to fix them anyway, just let me know to save me that work. Thanks.

Anyone alive here around?

repo: bojzi/sound-machine-electron-guide


text:
Philippjfr/register kernel 2

fixes #10
supercedes #21

I'm pointing out that this PR causes us to expose the Jupyter kernel to viewers of a push_notebook plot. This should be revisited in the future.


text:
Ruby 3.x support

Summary
Ruby 3.x has been out for more than 2 years now, so I was surprised when I went to run jets new today and couldn't because there's no support for modern Ruby versions. 😞
I understand priorities need to be balanced when maintaining a project of this size, but it feels like it's time to bump this one up the list a little if it isn't already on top 😊  Thanks for helping build and maintain this awesome library. I'm excited to see it continue to push Ruby forward in the serverless age.

Main reason Ruby 3 is not support yet is because AWS Lambda doesn’t support it yet. It’s a bummer.

RE: Thanks for helping build and maintain this awesome library. I'm excited to see it continue to push Ruby forward in the serverless age.

Thanks for the kind words.

Main reason Ruby 3 is not support yet is because AWS Lambda doesn’t support it yet. It’s a bummer.

RE: Thanks for helping build and maintain this awesome library. I'm excited to see it continue to push Ruby forward in the serverless age.

Thanks for the kind words.

Thanks for the quick response @tongueroo! Apologies, I did not realize lambda doesn't support 3.x yet 😅  Hopefully this closed issue can serve as an answer to future folks who have this same question at least. 🙏🏻

Seems like this could probably be re-opened with the recent news of container base image support of Ruby 3.2 in Lambda: https://github.com/aws/aws-lambda-base-images/issues/54#issuecomment-1486974882

@Jengah Got me excited. Sadly, its only for the lambda container base image. It's not yet rolled out to AWS Lambda itself officially.  The AWS console still shows Ruby 2.7 only.

I checked 2 regions: us-east-1 and us-west-2. Seems like AWS is getting closer ready. Guessing they updated the lambda container image in preparation for it.  Will look at adding 3.2 support once it's officially released.
Also, saw that AWS also released python 3.1 recently. So Ruby 3.2 hopefully is close 🤞

Sorry for the false excitement. As the comment mentions the AWS managed framework runtime should be available within 90 days of the announcement, with 2.7 support lasting 6 months past the General Availability release of the Ruby 3.2 runtime for some roadway to get migrated.
I was more pointing out that preliminary testing could be done using a the supported base container as a custom runtime, but the official managed runtime should be out in the next 60 days or so and may not be worth the effort.

Awesome. Appreciate the heads up!

Done in https://github.com/boltops-tools/jets/pull/654 🎉 Blog Post: Jets v4 Release: Ruby 3.2 Support

Looks like AWS is ghost-testing Ruby 3.2 support for AWS Lambda. Ruby 3.2 does not show up in the AWS console, but you're able to deploy with the Ruby 3.2 runtime via CloudFormation. Was able to deploy a jets v4 app with ruby 3.2 successfully without the use of custom runtime. 🎉

authors: Jengah jhunschejones tongueroo

repo: boltops-tools/jets


text:
Fix #100 bird identify or plugin unexpected error must be reported

Fix #100 bird identify or plugin unexpected error must be reported

Coverage after merging identify-500-must-be-reported into main will be77.96%
Coverage Report for Changed FilesFileStmtsBranchesFuncsLinesUncovered Linessrc/services   PluginsCommonService.js66.02%72%50%66.51%100–101, 110–123, 132–135, 154, 159, 161–164, 191, 196, 200–201, 207–209, 38–40, 46, 46–59, 63–66, 69–73, 76–81, 84–89, 92–99


text:
Support annotations / properties for components / sboms

As you know, CDX and SPDX use different to tag/label/annotate components.
SPDX uses Annotations for adding additional data to SPDX Element, SPDX2.x has Document and Package/snippet/file... level annotations. While SPDX3 uses flat Annotations list with ref to and SPDX element.
CDX 1.x has Property, which is a narrowed-down version of annotations introduced in CDX 1.5.
I've looked over past work for conversions, which yielded:
https://github.com/spdx/cdx2spdx/blob/08ec34f11b15dd747410d13c1fc4d11645a20a4b/src/main/java/org/spdx/cdx2spdx/CycloneSpdxConverter.java#L565C60-L565C60
As I figured, they used the opinionated way to convert Properties to Annotations in SPDX (this is a CDX2SPDX tool), forcing Properties as Annotations related to the package/file/document/etc.
Since we have the luxury of having it both ways, we should add Annotations to Nodes and the Bom(document); we should also structure annotation so it could easily convert from/to property.
When unserializing SPDX: we do not have "Properties," only annotations. We would need to support Node-level properties. The problem is that we won't have a way to know how to parse "key" "value" unless. We can default to "annotation1", "annotation2" etc., with the value from "statement."
When serializing SPDX: if we'd have a specific "key" [if we pulled it from CDX] we would encode it alongside the value into a statement ("key=value") and add protobom as the annotator.
When serializing CDX we have no issues when serializing to annotations (document level) and properties (from annotations with properties)
When we unserialize, we simply load document level as global annotation and properties (as node-level annotation).
Wdyt?

I have opened an issue for SPDX3 at https://github.com/spdx/spdx-3-model/issues/477. It appears that name could be a suitable source for "key", and storing it would enable lossless conversion from SPDX to CDX and vice versa.
SPDX->CDX->SPDX
annotation -> document annotation (cdx1.5 only) / node annotations as properties rebuilding the entire Element as properties list, using the Name prop value as "key" and statement as "value"
"properties": [
        {
          "name": "annotator",
          "value": "annotator value"
        },
       {
          "name": "comment",
          "value": "comment value"
        },

       {
          "name": "annotationType",
          "value": "other"
        },
        {
          "name": "annotationDate",
          "value": "...."
        }
      ]

Going back to SPDX would include rebuilding the annotation object from those props.
There is an edge case where multiple annotations refer to the same key. To handle this, property names need to be scoped and prefixed either by index (in SPDX 2.x) or by SPDXID in SPDX 3.0.

Ah this is a common hack that abuses both standards a little bit. Properties in CDX  != Annotations in SPDX. There is really no equivalent between them, it was one of the points raised during discussions between the SPDX/CDX compatibility talks and CDX offer to add annotations to their spec.
My understanding is that annotations were devised as a way to comment on the document while properties are a way to capture additional data. So, in the purest sense, I would not store them in the same place, but since it is a hack that people use frequently I'd support that as an option at the conversion layer.

Ah awesome, reviewing the 1.5 spec annotations are now in:
https://cyclonedx.org/docs/1.5/json/#annotations_items_bom-ref

Yup, the issue with SPDX is the lack of key-value structure that can properly capture data. In the spdx-3 thread I referenced, Im in contact with maintainers about adding a new properties field to Annotation to avoid abusing statement value for kv store. That would make conversation easier going forward.
Basically, SPDX annotation could be translated to CDX1.5 annotations with the exception of signature, and ofc since CDX annotation does not contain properties and has a separate field for that. we could safely assume that ANY document-level annotation is either CDX Annotation or CDX Properties, making all other annotations (element annotation) convert into CDX component properties

Not sure why this is completed. reopening.

authors: manifestori puerco

repo: bom-squad/protobom


text:
🛑 Segunda Cia Bomberos is down

In edd0b79, Segunda Cia Bomberos (https://2da.cl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Segunda Cia Bomberos is back up in aecad0a.

repo: bomberosalas/status


text:
🛑 Segunda Cia Bomberos is down

In 7297278, Segunda Cia Bomberos (https://2da.cl) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Segunda Cia Bomberos is back up in c8aa505 after 6 minutes.


text:
Update the documentation with the changes required for "Redesign the eventing library to support multiple Streams and Consumers"

Hey @corcoja , can you please take a look and update the necessary documentation part of the changes done in #255 ?
You can create a new branch from useboomerang.io repo for this change.

Hey @morarucostel! Do you want me to update the boomerang-io/lib.eventing repo docs, the documentation on useboomerang.io website or both?

Hey @corcoja , I believe both of them should be updated to reflect the latest.
The action with higher priority, imo is the useboomerang.io one.

authors: corcoja morarucostel

repo: boomerang-io/roadmap


text:
Sending very large strings over websockets using Beast

I am trying to send a very large string (strlen 50,000) over websockets using beast.
std::string ss1 = some_function(); net::mutable_buffer  cb0(&ss1[0], size(s1)); //size(s1) > - 45,000
I was not facing any issues if the size is less than 4096.
I am facing an issue while converting string to buffer.
accessing unallocated memory error arises when converting to buffer
I traced the error back to boost/asio/buffer.hpp file
memcpy function (line 2179) ;- then to
template <typename TargetIterator, typename SourceIterator> std::size_t buffer_copy(one_buffer, multiple_buffers,     TargetIterator target_begin, TargetIterator,     SourceIterator source_begin, SourceIterator source_end,     std::size_t max_bytes_to_copy       = (std::numeric_limits<std::size_t>::max)()) ASIO_NOEXCEPTr fun(line 2201 )
I am adding the whole sample code that I used
`//
// Copyright (c) 2016-2017 Vinnie Falco (vinnie dot falco at gmail dot com)
//
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
//
// Official repository: https://github.com/boostorg/beast
//
//------------------------------------------------------------------------------
//
// Example: WebSocket client, asynchronous
//
//------------------------------------------------------------------------------
#include <boost/beast/core.hpp>
#include <boost/beast/websocket.hpp>
#include <boost/asio/connect.hpp>
#include <boost/asio/ip/tcp.hpp>
#include
#include
#include
#include
#include
#include
using namespace std;
using tcp = boost::asio::ip::tcp;               // from <boost/asio/ip/tcp.hpp>
namespace websocket = boost::beast::websocket;  // from <boost/beast/websocket.hpp>
//------------------------------------------------------------------------------
std::string read_data(){
//read data from a file
string line;
string rline;
ifstream myfile ("examples.txt");
if (myfile.is_open())
{
while ( getline (myfile,line) )
{
cout << line << '\n';
rline = rline + rline;
}
myfile.close();
}
else cout << "Unable to open file";
return rline;
}
// Report a failure
void
fail(boost::system::error_code ec, char const* what)
{
std::cerr << what << ": " << ec.message() << "\n";
}
// Sends a WebSocket message and prints the response
class session : public std::enable_shared_from_this
{
tcp::resolver resolver_;
websocket::streamtcp::socket ws_;
boost::beast::multi_buffer buffer_;
std::string host_;
std::string text_;
public:
// Resolver and socket require an io_context
explicit
session(boost::asio::io_context& ioc)
: resolver_(ioc)
, ws_(ioc)
{
}
// Start the asynchronous operation
void
run(
    char const* host,
    char const* port,
    char const* text)
{
    // Save these for later
    host_ = host;
    text_ = text;

    // Look up the domain name
    resolver_.async_resolve(
        host,
        port,
        std::bind(
            &session::on_resolve,
            shared_from_this(),
            std::placeholders::_1,
            std::placeholders::_2));
}

void
on_resolve(
    boost::system::error_code ec,
    tcp::resolver::results_type results)
{
    if(ec)
        return fail(ec, "resolve");

    // Make the connection on the IP address we get from a lookup
    boost::asio::async_connect(
        ws_.next_layer(),
        results.begin(),
        results.end(),
        std::bind(
            &session::on_connect,
            shared_from_this(),
            std::placeholders::_1));
}

void
on_connect(boost::system::error_code ec)
{
    if(ec)
        return fail(ec, "connect");

    // Perform the websocket handshake
    ws_.async_handshake(host_, "/",
        std::bind(
            &session::on_handshake,
            shared_from_this(),
            std::placeholders::_1));
}

void
on_handshake(boost::system::error_code ec)
{
    if(ec)
        return fail(ec, "handshake");

    // Send the message
    ws_.async_write(
        boost::asio::buffer(text_),
        std::bind(
            &session::on_write,
            shared_from_this(),
            std::placeholders::_1,
            std::placeholders::_2));
}

void
on_write(
    boost::system::error_code ec,
    std::size_t bytes_transferred)
{
    boost::ignore_unused(bytes_transferred);

    if(ec)
        return fail(ec, "write");

    // Read a message into our buffer
    ws_.async_read(
        buffer_,
        std::bind(
            &session::on_read,
            shared_from_this(),
            std::placeholders::_1,
            std::placeholders::_2));
}

void
on_read(
    boost::system::error_code ec,
    std::size_t bytes_transferred)
{
    boost::ignore_unused(bytes_transferred);

    if(ec)
        return fail(ec, "read");
	else{
		std::string ss1 = read_data();
		net::mutable_buffer cb0(&ss1[0], size(s1));
		ws_.async_write(
        boost::asio::buffer(ss1),
        std::bind(
            &session::on_write,
            shared_from_this(),
            std::placeholders::_1,
            std::placeholders::_2));
	}

    // Close the WebSocket connection
    ws_.async_close(websocket::close_code::normal,
        std::bind(
            &session::on_close,
            shared_from_this(),
            std::placeholders::_1));
}

void
on_close(boost::system::error_code ec)
{
    if(ec)
        return fail(ec, "close");

    // If we get here then the connection is closed gracefully

    // The buffers() function helps print a ConstBufferSequence
    std::cout << boost::beast::buffers(buffer_.data()) << std::endl;
}

};
//------------------------------------------------------------------------------
int main(int argc, char** argv)
{
// Check command line arguments.
if(argc != 4)
{
std::cerr <<
"Usage: websocket-client-async   \n" <<
"Example:\n" <<
"    websocket-client-async echo.websocket.org 80 "Hello, world!"\n";
return EXIT_FAILURE;
}
auto const host = argv[1];
auto const port = argv[2];
auto const text = argv[3];
// The io_context is required for all I/O
boost::asio::io_context ioc;

// Launch the asynchronous operation
std::make_shared<session>(ioc)->run(host, port, text);

// Run the I/O service. The call will return when
// the socket is closed.
ioc.run();

return EXIT_SUCCESS;

}`
And attached is the sample data file
examples.txt

We need more information. Can you show the code that sends the string using the beast websocket?

We need more information. Can you show the code that sends the string using the beast WebSocket?

I have attached the code and data file I was Using, Ignore the compilation errors if any and could you reply on how to send very large data in one go.
Thank you

boost::asio::buffer(ss1)

ss1 gets destroyed when it goes out of scope, leading to an access violation. You must ensure that the lifetime of the string extends until at least the invocation of the completion handler.

Thanks a lot .Its working

repo: boostorg/beast


text:
Add copyright to all sources

Add copyright headers to all source files in all bootique modules:

[ ] bootique
[ ] bootique-aws
[ ] bootique-bom
[ ] bootique-cayenne
[ ] bootique-curator
[ ] bootique-cxf
[ ] bootique-di
[ ] bootique-flyway
[ ] bootique-jcache
[ ] bootique-jdbc
[ ] bootique-jersey
[ ] bootique-jersey-client
[ ] bootique-jetty
[ ] bootique-job
[ ] bootique-jooq
[ ] bootique-kafka-client
[ ] bootique-kotlin
[ ] bootique-linkmove
[ ] bootique-linkrest
[ ] bootique-liquibase
[ ] bootique-logback
[ ] bootique-metrics
[ ] bootique-modules-parent
[ ] bootique-mvc
[ ] bootique-parent
[ ] bootique-rabbitmq-client
[ ] bootique-shiro
[ ] bootique-swagger
[ ] bootique-tapestry
[x] bootique-undertow

I applied the PR. A few minor points:

"the" should be removed from this text: "Licensed to the ObjectStyle LLC"
Remove paragraph indentation before "Licensed"

repo: bootique/bootique


text:
Help Request - Having trouble overriding the 'top-nav-search' widget in child theme

Wondered if I could get a little help.
I trying to override the top-nav-search widget in the child theme to added the 'mt-2' class into the div.  I'm attempting to do this with the following code in the child themes functions.php
function child_theme_register_sidebar() {
    unregister_sidebar('top-nav-search');
    register_sidebar(array(
      'name'          => esc_html__('Top Nav Search', 'bootscore'),
      'id'            => 'top-nav-search',
      'description'   => esc_html__('Add widgets here.', 'bootscore'),
      'before_widget' => '
',
      'after_widget'  => '
',
      'before_title'  => '
',
      'after_title'   => '
'
    ));
  }

add_action('widgets_init', 'child_theme_register_sidebar');

I've also tried using the hook
add_action( 'after_setup_theme', 'child_theme_register_sidebar' );
But it's still using the parent themes 'top-nav-search' widget

Not sure if it's possible to unregister a single widget and register a new one with the same name. But of course, you can override the entire widget register function:
function bootscore_widgets_init() {

  // Top Nav
  register_sidebar(array(
    'name'          => esc_html__('Top Nav', 'bootscore'),
    'id'            => 'top-nav',
    'description'   => esc_html__('Add widgets here.', 'bootscore'),
    'before_widget' => '
',
    'after_widget'  => '
',
    'before_title'  => '
',
    'after_title'   => '
'
  ));

  // Top Nav 2
  // Adds a widget next to the Top Nav position but moves to offcanvas on <lg breakpoint
  register_sidebar(array(
    'name'          => esc_html__('Top Nav 2', 'bootscore'),
    'id'            => 'top-nav-2',
    'description'   => esc_html__('Add widgets here.', 'bootscore'),
    'before_widget' => '
',
    'after_widget'  => '
',
    'before_title'  => '
',
    'after_title'   => '
'
  ));

  // Top Nav Search
  register_sidebar(array(
    'name'          => esc_html__('Top Nav Search', 'bootscore'),
    'id'            => 'top-nav-search',
    'description'   => esc_html__('Add widgets here.', 'bootscore'),
    'before_widget' => '
',
    'after_widget'  => '
',
    'before_title'  => '
',
    'after_title'   => '
'
  ));

  // Sidebar
  register_sidebar(array(
    'name'          => esc_html__('Sidebar', 'bootscore'),
    'id'            => 'sidebar-1',
    'description'   => esc_html__('Add widgets here.', 'bootscore'),
    'before_widget' => '
',
    'after_widget'  => '
',
    'before_title'  => '
',
    'after_title'   => '
',
  ));

  // Top Footer
  register_sidebar(array(
    'name'          => esc_html__('Top Footer', 'bootscore'),
    'id'            => 'top-footer',
    'description'   => esc_html__('Add widgets here.', 'bootscore'),
    'before_widget' => '
',
    'after_widget'  => '
',
    'before_title'  => '
',
    'after_title'   => '
'
  ));

  // Footer 1
  register_sidebar(array(
    'name'          => esc_html__('Footer 1', 'bootscore'),
    'id'            => 'footer-1',
    'description'   => esc_html__('Add widgets here.', 'bootscore'),
    'before_widget' => '
',
    'after_widget'  => '
',
    'before_title'  => '
',
    'after_title'   => '
'
  ));

  // Footer 2
  register_sidebar(array(
    'name'          => esc_html__('Footer 2', 'bootscore'),
    'id'            => 'footer-2',
    'description'   => esc_html__('Add widgets here.', 'bootscore'),
    'before_widget' => '
',
    'after_widget'  => '
',
    'before_title'  => '
',
    'after_title'   => '
'
  ));

  // Footer 3
  register_sidebar(array(
    'name'          => esc_html__('Footer 3', 'bootscore'),
    'id'            => 'footer-3',
    'description'   => esc_html__('Add widgets here.', 'bootscore'),
    'before_widget' => '
',
    'after_widget'  => '
',
    'before_title'  => '
',
    'after_title'   => '
'
  ));

  // Footer 4
  register_sidebar(array(
    'name'          => esc_html__('Footer 4', 'bootscore'),
    'id'            => 'footer-4',
    'description'   => esc_html__('Add widgets here.', 'bootscore'),
    'before_widget' => '
',
    'after_widget'  => '
',
    'before_title'  => '
',
    'after_title'   => '
'
  ));

  // Footer Info
  register_sidebar(array(
    'name'          => esc_html__('Footer Info', 'bootscore'),
    'id'            => 'footer-info',
    'description'   => esc_html__('Add widgets here.', 'bootscore'),
    'before_widget' => '
',
    'after_widget'  => '
',
    'before_title'  => '
',
    'after_title'   => '
'
  ));

  // 404 Page
  register_sidebar(array(
    'name'          => esc_html__('404 Page', 'bootscore'),
    'id'            => '404-page',
    'description'   => esc_html__('Add widgets here.', 'bootscore'),
    'before_widget' => '
',
    'after_widget'  => '
',
    'before_title'  => '
',
    'after_title'   => '
'
  ));

}
add_action('widgets_init', 'bootscore_widgets_init');

This makes sense if you want to edit entire widgets in more detail. But if you want to add only the mt-2 class, why not use SCSS?
.top-nav-search {
  margin-top: $spacer * .5;
}

or use @extend
.top-nav-search {
  @extend .mt-2;
}

The result is the same ;-)

Cheers @crftwrk I thought there might be a way to just override a single widget.  But if it's not obvious to you then I definitely pass and use your suggestion to use SCSS instead
.top-nav-search {
  @extend .mt-2;
}

Many thanks for the assistance!

You‘re welcome

authors: crftwrk hsankala

repo: bootscore/bootscore


text:
Switch from medium featured images to an own bootScore size

There seems to be a weakness concerning dealing with Featured Images. I've described the effect in two posts: https://fodina.de/image-d/ and https://fodina.de/image-e/. If you want to see the difference, use your desktop machine and try this

Go to https://fodina.de/ and look at the post list. The square featured images are sharp.
Insert the word 'Picture' into the search box and look at that list (delivered by the unmodified archive.php). On large Screens, everything blurs.

I am going to describe the technical solution in a longer statement, posted in discussions.

Personally I feel like this change is more up to the developer, instead of in the theme by default.
Also what I usually do is call a bigger size, like large, and make it square using the Bootstrap ratios. That way I have more control over the size if it needs to change depending on screen size.

possible. But the more large pictures you have to distribute over the network, the slower the site.
However, I think that such a valuable work as bootScore should not show blurred and distorted images by default. There's never a second chance for the first impression. Yes, the user could fix it himself, but why do we want to burden him with something that is very little effort on our side:  it costs only 1 line more, and 4 changed values to improve it.

As @justinkruit said, image sizes should be the developers job. Because we follow straight the WordPress standard and changing default WP image sizes will produce more questions than answers like here https://github.com/bootscore/bootscore/discussions/399.
However, I understand the thing with the super large screens. But:

Bootstrap is mobile first, means designed for smaller screens.
thumbnail or medium are the default WP preview image sizes .
Changing to larger sizes will load larger images on mobile as well, bad for SEO.
XXL screens have often a larger screen resolution. Means the image is larger than the original size is. Of course, it's not sharp anymore.

What you can do:

Use . get_the_post_thumbnail(null, 'large') .  instead of medium.
Shorten the excerpt text or write a custom excerpt to lower card (and image) height.
Use a different loop template https://github.com/bootscore/bs-loop-templates which not crop the featured preview image. For example this one https://bootscore.me/archives/equal-height-sidebar-right/.

Many thanks for your answers. Unfortunately, I cannot agree with you in this case. A tool creating bad optical effects, by default, will perhaps lose its advantage: Again you never get a second chance to make a first impression. If you have templates, which can better deal with the default image sizes of WordPress, then bootScore should perhaps take one of them as 'index.php'
However, my opinion is nothing more than my opinion. Hence, if you don't like my solution, there's no need to integrate this PR. And yes, I will test the other bs-loop-templates later on.
with best regards KR

We can generally rethink and improve list view in loop. But let's do this carefully and later.

I've just summarized our discussion: https://fodina.de/image-i/ Fell free to contact me, if you think the post contains unfair remarks. I wanted to describe the case, not to blame anyone. Again and again and again: I appreciate your work very much! KR

authors: crftwrk justinkruit kreincke


text:
using helper inside the form-builder

undefined method `team?' for #BootstrapForm::FormBuilder:0x007fe9c2c91590

BootstrapForm::FormBuilder.class_eval do

    if manager_namespace?
    end

    if team_namespace?
    end
end

apparently those namespace_methods aren't known.
they actually are defined in the BaseController for that namespace which is pretty much the ApplicationController for our Backoffice
class Manager::BaseController < ActionController::Base
    def team_namespace?
    #. ...
    helper_method :team_namespace?
end

anybody know how to get our own helpers included?

ok, that was easy fix
include NamespaceHelper and then define the methods inside that module

repo: bootstrap-ruby/rails-bootstrap-forms


text:
🛑 BORINGPLACE.NET main DC kerberos is down

In be3aba6, BORINGPLACE.NET main DC kerberos (hp.boringplace.org) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BORINGPLACE.NET main DC kerberos is back up in 13d368a.

repo: boringplace/status


text:
System.InvalidOperationException: 'When 'UseTempDB' is set then BulkOperation has to be inside Transaction. Otherwise destination table gets dropped too early because transaction ends before operation is finished.'

System.InvalidOperationException: 'When 'UseTempDB' is set then BulkOperation has to be inside Transaction. Otherwise destination table gets dropped too early because transaction ends before operation is finished.'
Step to reproduce
try
{
    using (TransactionScope scope = new TransactionScope(TransactionScopeAsyncFlowOption.Enabled))
    {
        var core = new ZZZContext();
        ...
        await core.AuvyBulkUpdateAsync(objects);

        scope.Complete();
    }
}
catch (Exception)
{
    throw;
}

Take a look at Test:
https://github.com/borisdj/EFCore.BulkExtensions/blob/4bb9fd3d4b28ad2c43009d2469b7758557692fd5/EFCore.BulkExtensions.Tests/EFCoreBulkTest.cs#L325-L334

In my opinion, this is a bug.
The use of a System.Transaction will allow the database provider to create a transaction automatically, so the check that's built into TableInfo is not correct.
I've solved this by opening the database connection explicitly before using BulkUpdateAsync.

In my opinion, this is a bug.
The use of a System.Transaction will allow the database provider to create a transaction automatically, so the check that's built into TableInfo is not correct.
I've solved this by opening the database connection explicitly before using BulkUpdateAsync.

@DaveVdE Thank you! Our code was also using an ambient transaction in combination with UseTempDb and SetOutputIdentity, which confusingly kept throwing the "When 'UseTempDB' is set then BulkOperation has to be inside Transaction" exception. Opening the db connection before calling the bulk operation solved my issue.
@borisdj Looking at the exception condition, would it make sense to add || Transaction.Current != null to this expression? https://github.com/borisdj/EFCore.BulkExtensions/blob/03934e648db21b790f903b008d0deafb0a71cd1e/EFCore.BulkExtensions/TableInfo.cs#L126C21-L126C21

authors: DaveVdE borisdj proc01 tincann


text:
🛑 clans.wowsgame.cn is down

In ee1bf66, clans.wowsgame.cn (https://clans.wowsgame.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: clans.wowsgame.cn is back up in 40048f6 after 22 minutes.

repo: boriskhodok/wowsuptime


text:
node.d.ts: interface Global / NodeJS.Global breaks current Node+TypeScript

TypeScript complains of missing names in the new interface Global type, from 5235188 (5 days ago).
tsc --module commonjs --target ES5 --declaration my_incredible_new_mvc_framework.ts
node/node.d.ts(198,26): error TS2304: Cannot find name 'DataView'.
node/node.d.ts(212,21): error TS2304: Cannot find name 'Map'.
node/node.d.ts(221,21): error TS2304: Cannot find name 'Set'.
node/node.d.ts(231,25): error TS2304: Cannot find name 'WeakMap'.

Those are all ES6 types. The current Node.js / v8 version implements them, but they aren't native types, as far as the TypeScript compiler is concerned. Perhaps we are getting ahead of ourselves here?
My system:
$ node --version
v0.12.2
$ tsc --version
message TS6029: Version 1.5.0-beta

@chbrown please watching this PR. https://github.com/borisyankov/DefinitelyTyped/pull/4101

Is this fixed or there is a temporary fix to implement?
I'm still getting those same errors:
node.d.ts(198,26): error TS2304: Cannot find name 'DataView'.
node.d.ts(212,21): error TS2304: Cannot find name 'Map'.
node.d.ts(221,21): error TS2304: Cannot find name 'Set'.
node.d.ts(231,25): error TS2304: Cannot find name 'WeakMap'.

@lucasmciruzzi I simply reverted the breaking commit in my DefinitelyTyped fork and it's been working great: https://github.com/chbrown/DefinitelyTyped/commit/17f99f1

Thanks for the reply @chbrown! I'm using DTSM so I don't get updates from forks, I only get them from the borisyankov repo. Shouldn't this fix be on the main repo?

@vvakame thanks for the headsup on https://github.com/borisyankov/DefinitelyTyped/pull/4101 .
with typescript 1.5.2 ES5 target output resolves the DataView error. Map, Set, WeakMap are still present, but compile appears to work fine.

+1 to merge changes from chbrown to borisyankof repo.

@chbrown Thank you for the quick fix, this solved my issue and works for now!

I updated the SHA in my tsd.json file to f0aa5507070dc74859b636bd2dac37f3e8cab8d1 and ran tsd reinstall -o to revert back to the prior version.

Thanks @chbrown - I switched to your repo until this gets fixed.

Why is this fix not merged with the repo yet? @chbrown @vvakame

master/HEAD are solved this issue.

I'm still using the chbrown@17f99f1 version because the borisyankov version still trows errors with "Map", "Set" and "WeakMap" when target is ES5 ....

@lucasmciruzzi no harm in that, but after @vvakame's comment, I tried out node.d.ts from DefinitelyTyped/master, which, combined with the typescript@1.5.3 that was released ~5 days ago, compiles just fine.
Are you getting those errors even with the latest tsc?

Yep, I'm running TypeScript v1.5.3

Fixed! ... it seems like it was a problem with the packages cache on my PC. Thanks a lot :)

I don't get any error when I run tsc in command line directly. However, I do get error TS2304: Cannot find name 'DataView'. when I use grunt. GruntFile.js:
...
		typescript: {
			base: {
				src: ['src/**/*.ts'],
				dest: 'build',
				options: {
					module: 'commonjs',
					target: 'es5'
				}
			}
		}
...

Using https://github.com/borisyankov/DefinitelyTyped/commit/f0aa5507070dc74859b636bd2dac37f3e8cab8d1 as stated by @aciccarello works.
TypeScript version is 1.5.3. Any ideas?

@Kelvin-Ng it should be an issue with the grunt plugin. It surely uses its own TypeScript instead of the globally installed. Check the settings of the plugin you are using for an option to set the TypeScript instance to use.
PS: If you can, move away from grunt to gulp, the plugin is far better: https://www.npmjs.com/package/gulp-typescript and has a "typescript" option to set a custom version of it.

@lucasmciruzzi
Thank you! I have moved to gulp and gulp-typescript works great. Thanks for your recommendation and I like gulp more than grunt now.

As of yesterday this is now fixed in grunt-typescript.
https://github.com/k-maru/grunt-typescript/issues/105

authors: Kelvin-Ng aciccarello chbrown drudru hsrobmln lucasmciruzzi omencat sethx vote539 vvakame

repo: borisyankov/DefinitelyTyped


text:
lodash: added _.toPlainObject() method

https://lodash.com/docs#toPlainObject

@chrootsu thanks mate!

authors: chrootsu vvakame


text:
ng-dialog fix IDialogOpenResult.closePromise

create IDialogClosePromise type to be returned by IDialogOpenResult.closePromise.

ng-dialog/ng-dialog.d.ts
to author(@stephenlautier). could you review this PR?
:+1: or :-1:?
check list

[ ] pass the Travic-CI test?

Looks good :+1:. Thanks @marknadig

@vvakame looks good.

thanks mate!

authors: marknadig stephenlautier vvakame


text:
Stable Release Date

Not really an issue, more of a question, but any ideas of when a stable release might happen for the Craft 3 version?
We want to use this for a client of ours but aren't too keen on using software which is still in beta as we'd like to avoid as many bugs as possible. Looks like a great plugin though, good work!

@matt-adigital Thanks! We're doing some in depth security tests in the coming week. Once those clear, i'll release it as stable. Shouldn't take more than two weeks.

authors: matt-adigital roelvanhintum


text:
can't install in windows

in windows it try for some reason to locate python package then fail
full error
yarn install cobertura-merge
yarn install v1.22.19
error `install` has been replaced with `add` to add new dependencies. Run "yarn add cobertura-merge" instead.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
PS C:\Users\aa.risaac\repos\Dashboard> yarn add cobertura-merge -D
yarn add v1.22.19
[1/4] Resolving packages...
warning cobertura-merge > xml2json > joi@13.7.0: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and securi
ty patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning cobertura-merge > xml2json > hoek@4.2.1: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and securi
ty patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning cobertura-merge > xml2json > joi > hoek@5.0.4: This version has been deprecated in accordance with the hapi support policy (hapi.im/support). Please upgrade to the latest version to get the best features, bug fixes, and
security patches. If you are unable to upgrade at this time, paid support is available for older versions (hapi.im/commercial).
warning cobertura-merge > xml2json > joi > topo@3.0.3: This module has moved and is now available at @hapi/topo. Please update your dependencies as this version is no longer maintained an may contain bugs and security issues.
warning cobertura-merge > xml2json > joi > topo > hoek@6.1.3: This module has moved and is now available at @hapi/hoek. Please update your dependencies as this version is no longer maintained an may contain bugs and security iss
ues.
[2/4] Fetching packages...
warning Pattern ["object-assign@latest"] is trying to unpack in the same destination "C:\\Users\\aa.risaac\\AppData\\Local\\Yarn\\Cache\\v6\\npm-object-assign-4.1.1-2109adc7965887cfc05cbbd442cac8bfbb360863-integrity\\node_module
s\\object-assign" as pattern ["object-assign@^4","object-assign@^4.0.1","object-assign@^4.1.1","object-assign@^4.1.1"]. This could result in non-deterministic behavior, skipping.
[3/4] Linking dependencies...
warning " > ngx-device-detector@3.0.0" has incorrect peer dependency "@angular/common@>=7.0.0 <=13.0.0 || ^13.0.0".
warning " > ngx-device-detector@3.0.0" has incorrect peer dependency "@angular/core@>=7.0.0 <=13.0.0 || ^13.0.0".
warning "@angular-devkit/build-angular > source-map-loader@4.0.1" has incorrect peer dependency "webpack@^5.72.1".
warning " > @angular-eslint/schematics@13.1.0" has incorrect peer dependency "@angular/cli@>= 13.0.0 < 14.0.0".
warning " > @cypress/webpack-preprocessor@5.11.1" has unmet peer dependency "@babel/core@^7.0.1".
warning " > @cypress/webpack-preprocessor@5.11.1" has unmet peer dependency "@babel/preset-env@^7.0.0".
warning " > @cypress/webpack-preprocessor@5.11.1" has unmet peer dependency "babel-loader@^8.0.2".
warning " > cypress-multi-reporters@1.5.0" has unmet peer dependency "mocha@>=3.1.2".
warning " > mochawesome@7.0.1" has unmet peer dependency "mocha@>=7".
[4/4] Building fresh packages...
error C:\Users\aa.risaac\repos\Dashboard\node_modules\node-expat: Command failed.
Exit code: 1
Command: node-gyp rebuild
Arguments:
Directory: C:\Users\aa.risaac\repos\Dashboard\node_modules\node-expat
Output:
C:\Users\aa.risaac\repos\Dashboard\node_modules\node-expat>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild )  else (node "
" rebuild )
gyp info it worked if it ends with ok
gyp info using node-gyp@9.3.1
gyp info using node@18.16.0 | win32 | x64
gyp ERR! find Python
gyp ERR! find Python Python is not set from command line or npm configuration
gyp ERR! find Python Python is not set from environment variable PYTHON
gyp ERR! find Python checking if "python3" can be used
gyp ERR! find Python - "python3" is not in PATH or produced an error
gyp ERR! find Python checking if "python" can be used
gyp ERR! find Python - "python" is not in PATH or produced an error
gyp ERR! find Python checking if Python is C:\Users\aa.risaac\AppData\Local\Programs\Python\Python39\python.exe
gyp ERR! find Python - "C:\Users\aa.risaac\AppData\Local\Programs\Python\Python39\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Program Files\Python39\python.exe
gyp ERR! find Python - "C:\Program Files\Python39\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Users\aa.risaac\AppData\Local\Programs\Python\Python39-32\python.exe
gyp ERR! find Python - "C:\Users\aa.risaac\AppData\Local\Programs\Python\Python39-32\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Program Files\Python39-32\python.exe
gyp ERR! find Python - "C:\Program Files\Python39-32\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python39-32\python.exe
gyp ERR! find Python - "C:\Program Files (x86)\Python39-32\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Users\aa.risaac\AppData\Local\Programs\Python\Python38\python.exe
gyp ERR! find Python - "C:\Users\aa.risaac\AppData\Local\Programs\Python\Python38\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Program Files\Python38\python.exe
gyp ERR! find Python - "C:\Program Files\Python38\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Users\aa.risaac\AppData\Local\Programs\Python\Python38-32\python.exe
gyp ERR! find Python - "C:\Users\aa.risaac\AppData\Local\Programs\Python\Python38-32\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Program Files\Python38-32\python.exe
gyp ERR! find Python - "C:\Program Files\Python38-32\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python38-32\python.exe
gyp ERR! find Python - "C:\Program Files (x86)\Python38-32\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Users\aa.risaac\AppData\Local\Programs\Python\Python37\python.exe
gyp ERR! find Python - "C:\Users\aa.risaac\AppData\Local\Programs\Python\Python37\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Program Files\Python37\python.exe
gyp ERR! find Python - "C:\Program Files\Python37\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Users\aa.risaac\AppData\Local\Programs\Python\Python37-32\python.exe
gyp ERR! find Python - "C:\Users\aa.risaac\AppData\Local\Programs\Python\Python37-32\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Program Files\Python37-32\python.exe
gyp ERR! find Python - "C:\Program Files\Python37-32\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python37-32\python.exe
gyp ERR! find Python - "C:\Program Files (x86)\Python37-32\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Users\aa.risaac\AppData\Local\Programs\Python\Python36\python.exe
gyp ERR! find Python - "C:\Users\aa.risaac\AppData\Local\Programs\Python\Python36\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Program Files\Python36\python.exe
gyp ERR! find Python - "C:\Program Files\Python36\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Users\aa.risaac\AppData\Local\Programs\Python\Python36-32\python.exe
gyp ERR! find Python - "C:\Users\aa.risaac\AppData\Local\Programs\Python\Python36-32\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Program Files\Python36-32\python.exe
gyp ERR! find Python - "C:\Program Files\Python36-32\python.exe" could not be run
gyp ERR! find Python checking if Python is C:\Program Files (x86)\Python36-32\python.exe
gyp ERR! find Python - "C:\Program Files (x86)\Python36-32\python.exe" could not be run
gyp ERR! find Python checking if the py launcher can be used to find Python 3
gyp ERR! find Python - "py.exe" is not in PATH or produced an error
gyp ERR! find Python
gyp ERR! find Python **********************************************************
gyp ERR! find Python You need to install the latest version of Python.
gyp ERR! find Python Node-gyp should be able to find and use Python. If not,
gyp ERR! find Python you can try one of the following options:
gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe"
gyp ERR! find Python   (accepted by both node-gyp and npm)
gyp ERR! find Python - Set the environment variable PYTHON
gyp ERR! find Python - Set the npm configuration variable python:
gyp ERR! find Python   npm config set python "C:\Path\To\python.exe"
gyp ERR! find Python For more information consult the documentation at:
gyp ERR! find Python https://github.com/nodejs/node-gyp#installation
gyp ERR! find Python **********************************************************
gyp ERR! find Python
gyp ERR! configure error
gyp ERR! stack Error: Could not find any Python installation to use
gyp ERR! stack     at PythonFinder.fail (C:\Users\aa.risaac\AppData\Roaming\nvm\v18.16.0\node_modules\npm\node_modules\node-gyp\lib\find-python.js:330:47)
gyp ERR! stack     at PythonFinder.runChecks (C:\Users\aa.risaac\AppData\Roaming\nvm\v18.16.0\node_modules\npm\node_modules\node-gyp\lib\find-python.js:159:21)
gyp ERR! stack     at PythonFinder.<anonymous> (C:\Users\aa.risaac\AppData\Roaming\nvm\v18.16.0\node_modules\npm\node_modules\node-gyp\lib\find-python.js:228:18)
gyp ERR! stack     at PythonFinder.execFileCallback (C:\Users\aa.risaac\AppData\Roaming\nvm\v18.16.0\node_modules\npm\node_modules\node-gyp\lib\find-python.js:294:16)
gyp ERR! stack     at exithandler (node:child_process:427:5)
gyp ERR! stack     at ChildProcess.errorhandler (node:child_process:439:5)
gyp ERR! stack     at ChildProcess.emit (node:events:513:28)
gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:289:12)
gyp ERR! stack     at onErrorNT (node:internal/child_process:476:16)
gyp ERR! stack     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
gyp ERR! System Windows_NT 10.0.19044
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
gyp ERR! cwd C:\Users\aa.risaac\repos\Dashboard\node_modules\node-expat
gyp ERR! node -v v18.16.0
gyp ERR! node-gyp -v v9.3.1
gyp ERR! not ok
info Visit https://yarnpkg.com/en/docs/cli/add for documentation about this command.

You need to read https://github.com/nodejs/node-gyp#on-windows
This is how nodejs handles building native binaries.

You need to read https://github.com/nodejs/node-gyp#on-windows
This is how nodejs handles building native binaries.

can you publish binary like other libraries usually do so we don't have to

Hi @robertIsaac, you need to install python and have it on your path to fix it :)

Works after installing python

authors: MattiJarvinen jorgealgaba robertIsaac

repo: borremosch/cobertura-merge


text:
Make the UTXO set re-entrant

This also needs to make sure it's memory-efficient. A simple (but naive) approach is to use a new Set for each time we return a utxoFinder delegate. But this would cause a lot of allocations.
Related to #194

Moving this out of Full Node and into Validator and removing it from the current kanban, because it's something we can think about doing at a later point. The re-entrancy might not be an issue right now since we use fibers, and we don't yield anywhere in the utxoFinder delegate. In theory it should just work.

This hasn't been needed for CoinNet as well, so moving out of the milestone.

repo: bosagora/agora


text:
import boxing

Right now imports dump everything into the global space. Perhaps we should change this to create a box and then stuff everything in that box kind of like "use" does.
This would give the advantage of sectioning off everything imported.
Need to keep in mind that we don't import things multiple times right now. Need to determine a way to cache imported boxes so upon a second import we can just give a shared pointer to the importer with access to the box in their own env

We already have a caching mechanism ... it IS env.... just do this. it will make sense

Realistically we should merge use and import into one command. Using some FS stuff we can determine if we will import a file or a directory. Then we can ensure that the directory is a pkg or not. Single files would be loaded just like the source_files in pkgs.
This is  a great idea.

After deep investigations I've decided that this is not behavior that I want to create at this point in time

repo: bosley/sauros


text:
Assignment 5

Forgot to upload to github and pull request it.
I did not have enough time to do bonus.

100!

authors: TonyRahme haehn


text:
"Shouldn't be here" error upon query

My metric linux.net.sockets.used for one of hosts is shown fine for 3h-long data, but when I choose 4h interval I get an error:
opentsdb: {"start":"4h-ago","queries":[{"aggregator":"sum","metric":"linux.net.sockets.used","rateOptions":{},"tags":{"host":"app3"}}]}: Shouldn't be here

What is the meaning of this?
Thank you.

Haven't seen this one in a long time. IIRC it is what OpenTSDB returns when you query something that had duplicated datapoints (Same tagset, Same Timestamp, different values.
If this is the case, you have two options: Ensure there are no duplicates (you will only find out at query time, not write time) or enable tsd.storage.fix_duplicates in the OpenTSDB config.
If it is something else it is an error returned by OpenTSDB, so you that would be the place for further troubleshooting / bug filing.

Thanks, closing for now then, will reopen if I'll see the error again and these won't help.

@kylebrandt I think 2 instances of scollector were running on a problematic host

authors: k-bx kylebrandt

repo: bosun-monitor/bosun


text:
Update and simplify botocore loaders to new dir layout

This reworks and greatly simplifies the loaders used in botocore.
This is part paying off technical debt as well as standardizing
on a shared common format.
In terms of the new layout, the loaders docstring discusses how it
looks like, but we now support the directory layout used by the
other AWS SDKs.
In terms of the loaders themselves:

Remove any fuzzy API version matching, you either can specify an
exact API version or you can get the latest API version.
Move up the service type names ('service-2', 'paginators-1', etc)
out of the loader.  The session/client objects should know about
those details, but not the loader.
Remove all file extensions from the loader class.  This actually
allows pluggable loader types besides JSON.  This wasn't
actually possible previously.

cc @kyleknap

Coverage decreased (-0.62%) to 93.84% when pulling 68be91d8480a1d83fe0a92db7692a86ff6ecd951 on jamesls:simple-loaders into 60e72b22bdebfa83e9b964aca232c7cad572212e on boto:develop.

There's actually a few changes I'm going to need to make based on updating boto3, specifically with list_available_services and determine_latest_version.
The problem is that both of these assume that the directory structure is sufficient to extract meaningful data about what is or isn't available (in fact, I even comment on this in this PR: https://github.com/boto/botocore/pull/527/files#diff-f8c1b99f0b4538cf77c2052b498c9630R219).
We actually need to be able to specify the type name (services-2, paginators-1, resources-1) when asking about the latest available and the list of all services.  For example, the latest available service for services-2 may not necessarily mean that there's a resources-1 model for that same API version.  Similarly listing all the available resources may differ we only care about resources (i.e boto3).
A concrete example of breakage is doing loader.load_service_model('ec2', 'resources-1') in boto3.  It will try to find the latest API version for EC2 and assuming it can load a resource for it, which it currently cannot so it will raise an exception.
To fix this I'll be adding these changes:

Modify determine_latest_version and list_available_services to require a type_name param, just like load_service_model.
Update the file loader interface (currently only JSONFileLoader is implemented) to add an exists() method that will return True/False if the resource exists.

@kyleknap I've updated with the necessary changes for boto3 as well as the latest model updates from develop.  Should be ready now for another look.  Thanks.

Coverage decreased (-0.06%) to 94.39% when pulling 12cc84bcc717b0d4cfd1302b99d8975526e30ccb on jamesls:simple-loaders into ad1d6e298fd46c9b5994d1a073d40bb1ca838726 on boto:develop.

https://github.com/boto/boto3/pull/104 is an example of how this new loader API can be used.  Now boto3 simply needs to add its internal directory to the search path and then specify the type name when dealing with services that must contain a resource definition.

Coverage decreased (-1.06%) to 93.4% when pulling 56d4f48b718489cbea5ba89abd680067770bebe0 on jamesls:simple-loaders into ad1d6e298fd46c9b5994d1a073d40bb1ca838726 on boto:develop.

It looks good. Looks like you updated the code after my pep8 comment through the pr-check script. Had a couple of comments about tests and docstrings, but nothing too significant :ship:
Looks like you also need to rebase on develop and pull in the latest model changes, which should only be dynamodb (not sure if you rebased after my ec2 pr).

The PR should have been rebased on develop as of the latest release a few hours ago.  I'll double check this is the case.

Hmm the merge button is grey right now. Usually means that I need to rebase.

Probably because I merged in the _retry bugfix PR.

@kyleknap pushed a commit to extract out all the test boilerplate.  I think the tests are much easier to read now.

Also rebased against develop.  Looks like it's because of the _retry PR I merged, which makes sense.  Any changes to anything in botocore/data/ in develop will require a rebase to merge cleanly:
$ git rebase develop
First, rewinding head to replay your work on top of it...
Applying: Update and simplify botocore loaders to new dir layout
Applying: Move services to standard directory structure
Using index info to reconstruct a base tree...
M	botocore/data/aws/_retry.json
Falling back to patching base and 3-way merge...
Applying: Fix pr-check issues
Applying: Fix docstring
Applying: Move out boiler plate for dir patching to helper method

Recent commits look good. Those tests look much cleaner. :ship: again.

Coverage increased (+0.06%) to 94.52% when pulling f5d2c33311fd99c613d2ee30c001501000c88ae1 on jamesls:simple-loaders into 5eb99b9e09702057ba5772d86af2d7751d75a459 on boto:develop.

authors: coveralls jamesls kyleknap

repo: boto/botocore


text:
LayerList layers prop behavior

Say I have two layers: an OSM basemap, and a geojson point layer.  I've given each of these layers a metadata property called 'isBasemap', and set it to true for the OSM layer and false for the geojson.
I'm trying to exclude the basemap from the layer list component by passing an array of objects with the following shape:
[{id: 'layer_id}]
and only populating that array with layers where isBasemap is false.
However, passing that array to the LayerList component as the layers prop doesn't seem to work, as I'm still seeing the OSM layer in the layer list.
I believe the issue is because the layers prop in the LayerList component is being mapped to the Redux store: state.map.layers.  Unless I'm missing something, this prevents using a custom list of layers to show in the LayerList component.

Good point, we recently introduced a metadata prop for hiding layers from the layerlist, bnd:hide-layerlist so in your case you could set those to true for the layers you do not want in the layerlist.
id: 'my_layer_id',
metadata: {
  'bnd:hide-layerlist': true
}

would that work for your use case?
I don't think it is already in a release though.

thanks for the feedback, that is good to hear

@brambow we just released 2.2.0 now https://github.com/boundlessgeo/sdk/releases/tag/v2.2.0 please check it out at your convenience and let us know if the new metadata works for you

It works.  Thanks!

authors: bartvde brambow

repo: boundlessgeo/sdk


text:
Callback for change

I read through the documentation and found there is no (simple) way to let the editor save user input automatically. Is it possible to have a callback function such as on_change which exists now in all streamlit official widgets?

I agree.
BTW is there an simple way to submit content by using an external button?
import streamlit as st
import code_editor

output = code_editor.code_editor("print('Hello world!')")

if st.button("Show output"):
    st.write(output)

I have heard a few similar requests.
To be honest, I have been avoiding this issue simply because it seems like it all leads to the same solution which comes with an issue that I think will make the behavior of the editor feel more janky. However, Streamlit now supports partial reruns so maybe now is the time to add the debounced update feature.
Let me give some background that might illuminate why this feature is missing. One of the things I didnt like about the other ace editor component when I tried using it (after learning about it) is that it would rerun the app/script after almost every keypress. And I think you had to set a prop to avoid this. The frequent refreshes made the whole experience so bad that I saw it as a bad thing as it promoted bad UI experiences.
In order for the streamlit script to get data from the code component, the script had to be rerun with this new data. The same would be true with a callback function. But with fragments, the code editor and dependent elements can be the only thing that is rerun and that can perhaps minimize some of the jerkiness.
I think I will add a prop that will allow for a debounced response which will enable auto-updating the dictionary with current contents. I think I will also try and provide an option for updating when the editor loses focus which might prove to be a great compromise.
Thanks for the feedback!

I have some good news to share. I got this feature up and running in version 0.1.4
See here for more: https://discuss.streamlit.io/t/new-component-streamlit-code-editor-a-react-ace-code-editor-customized-to-fit-with-streamlit-with-some-extra-goodies-added-on-top/42868/16

Works great! Kudos for the great job and amazing response time.

and amazing response time.

You caught me in a moment where I had some time and I already knew how to implement the feature cause I did it before a while ago. So the stars aligned lol. Unfortunately, its been a month long wait for @calvinchai

Thank you for the great work and timely response!

authors: bouzidanas calvinchai marcinsoftem

repo: bouzidanas/streamlit-code-editor


text:
use truth in hash function of Sentence

@bowen-xu I looked at the code and it seems the core of the issue is the hash of Task not taking truth value into account. This simple change achieves what you described in the issue but I wonder if it could have some unintended consequences? Can you think of the situation when elsewhere in the code we would want two sentences to compare same regardless of their truth values? Then we could try a different fix.

@maxeeem I found there's something "magic" by adding self.truth to the tuple.
If two input tasks have the different truth-values,for sure, the hash-value are different. Ex.
A. %1.0;0.9%
A. %1.0;0.8%

However, I thought if the two truth-values are the same, for example, input two sentences
A. %1.0;0.9%
A. %1.0;0.9%

The hash-values of the tasks should have been the same, as a result, the beliefs table would have still contains only one item. But in fact, it works; the beliefs table contains the two statements with the same truth-value.
I didn't think of that before. I guess this is because the python object of the first truth-value %1.0; 0.9% and that of the second have different ids. When computing the hash-value, it takes the id of an object into account.

Can we record the premises of a task, can use them when computing the hash value?
For example, we can store its (direct) premises into a list if it is derived via inference, so the length of the list is usually 2. If it is an input task, then the premises list is empty. The hash-value is influenced by the input_id of the task, as well as the hash-values of the premises.
Another solution might be adding all elements of the evidential base into that tuple when computing hash-value, though this approach might be more costly.

Can we record the premises of a task and use them when computing the hash-value?
For example, we can store its (direct) premises into a list if it is derived via inference, so the length of the list is usually 2. If it is an input task, then the premises list is empty. The hash-value is influenced by the input_id of the task, as well as the hash-values of the premises.
Another solution might be adding all elements of the evidential base into that tuple when computing hash-value, though this approach might be more costly.

I didn't think of that before. I guess this is because the python object of the first truth-value %1.0; 0.9% and that of the second have different ids. When computing the hash-value, it takes the id of an object into account.

Huh, interesting. I'm so used to value types that I forget sometimes that everything is an object in python. What do you think of just implementing a hash function in Truth that will only take the values into account and disregard the id?
I pushed up a commit, see if this works. I tested on your examples and when truth values are the same it doesn't store a duplicate belief.

What do you think of just implementing a hash function in Truth that will only take the values into account and disregard the id?

That looks better. Then there would be an another issue. When inputing two tasks with the same truth-value, actually we hope them both to be stored in the table, right?

What do you think of just implementing a hash function in Truth that will only take the values into account and disregard the id?

That looks better. Then there would be an another issue. When inputing two tasks with the same truth-value, actually we hope them both to be stored in the table, right?

We do? Wouldn't we only store one since they are both input tasks?

We do? Wouldn't we only store one since they are both input tasks?

According to the technical report 3.1.0

Beliefs/desires in a concept-level table: multiple versions of a belief with the same content but different truth-values compete each time a belief is requested. Bag is not used here because each request is one-time. Multiple versions of beliefs are kept because overlapping evidence may prevent the version with the highest confidence from being used.

Well, it looks like that statements in the beliefs table have different truth-values.
But I doubt on this. Even thought two input tasks have the same truth-value but different evidential base, should they be both kept in the table?

But I doubt on this. If two input tasks have the same truth-value but different evidential base, should they be both kept in the table?

What is the evidential base of an input task? Just a serial number? For derived tasks it is formed from the evidential bases of the parents, but for input... If we treat each input task with identical truth values as distinct then wouldn't the belief table quickly fill up with identical beliefs?

But I doubt on this. If two input tasks have the same truth-value but different evidential base, should they be both kept in the table?

What is the evidential base of an input task? Just a serial number? For derived tasks it is formed from the evidential bases of the parents, but for input... If we treat each input task with identical truth values as distinct then wouldn't the belief table quickly fill up with identical beliefs?

The evidential base of each input task is a set with only one identical element.
You may be right. The table may be filled up quickly.

The same problem exists in OpenNARS 3.0.4. So we can tentatively adopt this design, though it needs further discussion.

authors: bowen-xu maxeeem

repo: bowen-xu/PyNARS


text:
7-zip is not uninstalled correctly.

Currently, the 7-zip is getting installed as part of Windows boxes provisioning logic, by the script named vmtool.bat.
It is supposed to be completely and correctly removed at a later stage by the dedicated script uninstall-7zip.bat, however it does not perform the correct uninstall of the 7-zip from the registry (and it is still present in the "Programs and Features"  in Control panel).
This result in some unpredictable and hard to track behavior, when 7-zip is getting installed on the created box as part of integration tests, for example, for Chef cookbooks.
Here is the corresponding message from the packer\boxcutter log:

virtualbox-iso: ==> Uninstalling 7zip
virtualbox-iso: ==> WARNING: Directory not found: "C:\Users\vagrant\AppData\Local\Temp\sevenzip"

It happens due to the fact, that the following piece of code does not get executed:
msiexec /qb /x "%SEVENZIP_PATH%"
as the msi file and its parent folder are getting cleaned up by previous script, named clean.bat, which performs complete remove of all folders from the %TEMP% folder, including the download folder of 7-zip.
The possible solution can be to exclude the sevenzip folder from the cleanup, so that it can be correctly uninstalled.

I've like to move away from using 7zip altogether. We can unzip the files directly via Powershell, which would avoid the whole mess of installing / uninstalling 7zip multiple times. Look for that fix in the future one I get a nice powershell based pattern

I've built several hosts today and all of them correctly removed 7zip so I'm going to close this issue at now. If you're still having issues with the latest code in master feel free to open it back up

repo: boxcutter/windows


text:
Update sbt-scalajs, scalajs-compiler, ... to 1.15.0

About this PR
📦 Updates

org.scala-js:sbt-scalajs
org.scala-js:scalajs-compiler
org.scala-js:scalajs-library
org.scala-js:scalajs-library_2.13
org.scala-js:scalajs-test-bridge
org.scala-js:scalajs-test-bridge_2.13

from 1.13.2 to 1.15.0
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-js" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-js" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #128.

repo: bpholt/java-time-literals


text:
Add stock prices chart

Connected to #44

Coverage remained the same at 89.495% when pulling 0bcfb725c50e362d63893744f1e94a3ffccdeb64 on add-js-stock-graphs into 49a6b702e1b31aa5dd74707f0f7cb1e05c36d0a8 on master.

authors: bpietraga coveralls


text:
[Enhancement] Look into reafactoring features to use createFeature

Is your enhancement request related to a problem? Please describe.
with ngrx 13, there is a new createFeature function that can be used to cut down on boilerplate.
Describe the solution you'd like
Refactor existing ngrx utils to leverage this.
Additional context
see: https://ngrx.io/guide/store/feature-creators

Not going to this right now.

repo: bradtaniguchi/nx-workspace-template


text:
Can we use a UI for configuration?

For those new to the process, configuring settings directly through json can be quite complex and may require referring to documentation. Perhaps a more user-friendly approach would be to offer a visual configuration method similar to that of vscode.
对于新手来说，直接通过json配置比较复杂，需要参考文档，也许我们可以提供类似vscode那样的可视化方式配置。

Thank you for your advice. I will discuss with other developers how to implement a user-friendly GUI configuration editor.

I am a front-end engineer and a fan of yours at zhihu. If you need any help with the development of this feature, I can contribute some code

authors: alili bramblex

repo: bramblex/niva


text:
where is default_path variable?

I could not find in config.py.

Hi Branislav. I'm a bit confused about that as well. As well as what value we're supposed to put in there? I'd really like to use your app :) Thanks in advance!

Hello.
If you think default checkpoint for SAM path, it is called from here:
https://github.com/branislavhesko/segment-anything-ui/blob/496bef9ac7571edd9080def9816a8efc1f882093/segment_anything_ui/config.py#L35

repo: branislavhesko/segment-anything-ui


text:
Upgrade to FFmpeg 4.0

https://ffmpeg.org/index.html#pr4.0
:tada:

I'm waiting for 4.0 too.

@AdityaAnand1 @liuatgit You guys can build it yourself, which I highly recommend. Most FFmpeg binaries you find online have modules enabled that you might never use which will increase the size of it immensely.

@AdityaAnand1 @liuatgit
Good news! FFmpeg 4.0 is now supported by this library since version 1.1.4
dependencies {
    implementation 'nl.bravobit:android-ffmpeg:1.1.4'
}

It is still 3.0.1

authors: AdityaAnand1 Brianvdb NiekAkerboom liuatgit nzackoya

repo: bravobit/FFmpeg-Android


text:
对最近发生的事情感到遗憾和难过

唉

刚逛知乎看到，挺震惊的，作为一名学生的确不应该承受着么大的压力。只能说唯小人难伺候，放宽心。我想用过ssr的人都应该尊重你的贡献，你起码让数十万人拥有了他们想得到的东西，这应该是你人生中浓墨重彩的一笔。感谢。

感谢曾经的努力！看不惯那些人的嘴脸。

缅怀

我现在打这句话的流量是我自己用ssr建的双cn2通道，
有些人就是觉得有些猪比其他动物更加平等更加自由，
因为他既不理解麻烦的技术又没办法为自己争取自由

感谢作者无私奉献, 无论如何, 你干过伟大的事.  祝前程似锦, 平安健康.

感谢！

感谢破娃的付出

谢谢破娃的付出，你会后继有人的，吸血鬼杀死每一只报晓的公鸡也是无法阻止黎明的到来的。总得有人肩负历史的重任，无论这世界有多少恶毒的小人。祝福破娃，希望你能有肉体翻墙的那天，欢迎来袋鼠国哦，哈哈。

感谢破娃的付出。同时也希望通过备份能恢复ssr社区的生机与活力。

没什么好说的，要说只有一句：谢谢！

需要帮助么？我们团队可以接下来开发，可以完全换个名字重新开始的。

感谢作者付出

致敬！

本来只是发现项目突然被删除，然后找了一下最新版，发现我之前提过意见你已经添加了功能，想来留言感谢一下。但是没想到这个事情真的闹得这么过分，恶的让人恶心。谢谢你为我们平常人做的这些。（本来想开个问题道谢，然后删除掉，但是已经有相关的我就跟一下，只怪这网站没有留言之类的东西。。）

感谢作者，致敬！

用ssr的代理流量留言，谢谢你

感谢作者，致敬！

每一个在黑暗中发出呼喊的人都值得感谢

感谢作者，致敬！
同时我大概明白发生了什么事情
哎 希望越变越好把


text:
xlsxio fails in the presence of xmlnamespace qualification

The same proprietary file that I mentioned in #28 also includes namespace qualification on the elements in several of its xml files.  For example
<?xml version="1.0" encoding="utf-8"?>
<x:sst xmlns:x="http://schemas.openxmlformats.org/spreadsheetml/2006/main">
    <x:si>
<x:t>NPANXX</x:t></x:si><x:si>
<x:t>JUR</x:t></x:si><x:si>
<x:t>CARRIERGRP</x:t></x:si><x:si>
<x:t>DETAILED_CARRIERGRP</x:t></x:si><x:si>
<x:t>ST</x:t></x:si><x:si>
<x:t>LATA</x:t></x:si><x:si>
...

xlsxio assumes the author of an xlsx file will not do this, but it is valid for them to do so.
I hack-fixed this in my fork by changing every comparison like this:
if ((XML_Char_icmp(name, X("sst")) == 0) || (XML_Char_icmp(name, X("x:sst")) == 0)) {
But this is just a quick workaround, since any namespace is possible, I just needed to solve for a particular vendor that was using x.
A proper solution would be to only compare the element name's ending substring, i.e. (pseudocode)
int len = "sst'.length();
if( element.name.last(len) == "sst")

This way xlsxio could just ignore namespaces all-together without failing in their presence.

I believe a seperate compare function to either match completely or match after the last colon should do the trick. When I have some time I can look into this.

Could you send me a complete example .xlsx file?
Would a similar fix be required in the get_expat_attr_by_name() function?

Hi,
I was just looking back on this issue that was never closed.
XLSX I/O relies on Expat to process the XML, which is why namespaces aren't checked by the library itself, as Expat normally takes care of that.
But if you still have this issue and you can send an example .xlsx file I would be glad to take a look at the issue.
Regards
Brecht

I’m several projects away from where I was when I wrote this. Feel free to
close!
Thanks.
Matt
On March 19, 2020 at 11:55:32 AM, Brecht Sanders (notifications@github.com)
wrote:
Hi,
I was just looking back on this issue that was never closed.
XLSX I/O relies on Expat to process the XML, which is why namespaces aren't
checked by the library itself, as Expat normally takes care of that.
But if you still have this issue and you can send an example .xlsx file I
would be glad to take a look at the issue.
Regards
Brecht
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/brechtsanders/xlsxio/issues/29#issuecomment-601357559,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABPYNFA37QDDX55CB75YW2LRIJTCJANCNFSM4FGAC5HA
.

authors: brechtsanders webern

repo: brechtsanders/xlsxio