text:
go build报错

您好，我在执行go build后显示如下错误信息，
系统centos7,go versin 1.12.5,gmssl 和测试文件都是最新的
请问如何解决
gmssl
./pkey.go:948:34: could not determine kind of name for C.EVP_sm3
cgo:
gcc errors for preamble:
./pkey.go:105:2: error: 'NID_sm2sign' undeclared here (not in a function); did you mean 'NID_ns_sgc'?
NID_sm2sign,
^~~~~~~~~~~
NID_ns_sgc
./pkey.go: In function 'get_sign_info':
./pkey.go:133:15: error: 'NID_sm_scheme' undeclared (first use in this function); did you mean 'ec_scheme'?
ec_scheme = NID_sm_scheme;
^~~~~~~~~~~~~
ec_scheme
./pkey.go:133:15: note: each undeclared identifier is reported only once for each function it appears in
./pkey.go:137:15: error: 'NID_secg_scheme' undeclared (first use in this function); did you mean 'OBJ_secg_scheme'?
ec_scheme = NID_secg_scheme;
^~~~~~~~~~~~~~~
OBJ_secg_scheme
./pkey.go: At top level:
./pkey.go:186:2: error: 'NID_ecies_recommendedParameters' undeclared here (not in a function)
NID_ecies_recommendedParameters,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./pkey.go:186:2: error: initializer element is not constant
./pkey.go:186:2: note: (near initialization for 'pke_nids[1]')
./pkey.go:187:2: error: 'NID_ecies_specifiedParameters' undeclared here (not in a function)
NID_ecies_specifiedParameters,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./pkey.go:187:2: error: initializer element is not constant
./pkey.go:187:2: note: (near initialization for 'pke_nids[2]')
./pkey.go:189:2: error: 'NID_ecies_with_x9_63_sha1_xor_hmac' undeclared here (not in a function)
NID_ecies_with_x9_63_sha1_xor_hmac,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./pkey.go:189:2: error: initializer element is not constant
./pkey.go:189:2: note: (near initialization for 'pke_nids[3]')
./pkey.go:190:2: error: 'NID_ecies_with_x9_63_sha256_xor_hmac' undeclared here (not in a function)
NID_ecies_with_x9_63_sha256_xor_hmac,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./pkey.go:190:2: error: initializer element is not constant
./pkey.go:190:2: note: (near initialization for 'pke_nids[4]')
./pkey.go:191:2: error: 'NID_ecies_with_x9_63_sha512_xor_hmac' undeclared here (not in a function)
NID_ecies_with_x9_63_sha512_xor_hmac,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./pkey.go:191:2: error: initializer element is not constant
./pkey.go:191:2: note: (near initialization for 'pke_nids[5]')
./pkey.go:192:2: error: 'NID_ecies_with_x9_63_sha1_aes128_cbc_hmac' undeclared here (not in a function)
NID_ecies_with_x9_63_sha1_aes128_cbc_hmac,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./pkey.go:192:2: error: initializer element is not constant
./pkey.go:192:2: note: (near initialization for 'pke_nids[6]')
./pkey.go:193:2: error: 'NID_ecies_with_x9_63_sha256_aes128_cbc_hmac' undeclared here (not in a function)
NID_ecies_with_x9_63_sha256_aes128_cbc_hmac,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./pkey.go:193:2: error: initializer element is not constant
./pkey.go:193:2: note: (near initialization for 'pke_nids[7]')
./pkey.go:194:2: error: 'NID_ecies_with_x9_63_sha512_aes256_cbc_hmac' undeclared here (not in a function)
NID_ecies_with_x9_63_sha512_aes256_cbc_hmac,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./pkey.go:194:2: error: initializer element is not constant
./pkey.go:194:2: note: (near initialization for 'pke_nids[8]')
./pkey.go:195:2: error: 'NID_ecies_with_x9_63_sha256_aes128_ctr_hmac' undeclared here (not in a function)
NID_ecies_with_x9_63_sha256_aes128_ctr_hmac,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./pkey.go:195:2: error: initializer element is not constant
./pkey.go:195:2: note: (near initialization for 'pke_nids[9]')
./pkey.go:196:2: error: 'NID_ecies_with_x9_63_sha512_aes256_ctr_hmac' undeclared here (not in a function)
NID_ecies_with_x9_63_sha512_aes256_ctr_hmac,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./pkey.go:196:2: error: initializer element is not constant
./pkey.go:196:2: note: (near initialization for 'pke_nids[10]')
./pkey.go:197:2: error: 'NID_ecies_with_x9_63_sha256_aes128_cbc_hmac_half' undeclared here (not in a function)
NID_ecies_with_x9_63_sha256_aes128_cbc_hmac_half,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./pkey.go:197:2: error: initializer element is not constant
./pkey.go:197:2: note: (near initialization for 'pke_nids[11]')
./pkey.go:198:2: error: 'NID_ecies_with_x9_63_sha512_aes256_cbc_hmac_half' undeclared here (not in a function)
NID_ecies_with_x9_63_sha512_aes256_cbc_hmac_half,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./pkey.go:198:2: error: initializer element is not constant
./pkey.go:198:2: note: (near initialization for 'pke_nids[12]')
./pkey.go:199:2: error: 'NID_ecies_with_x9_63_sha256_aes128_ctr_hmac_half' undeclared here (not in a function)
NID_ecies_with_x9_63_sha256_aes128_ctr_hmac_half,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./pkey.go:199:2: error: initializer element is not constant
./pkey.go:199:2: note: (near initialization for 'pke_nids[13]')
./pkey.go:200:2: error: 'NID_ecies_with_x9_63_sha512_aes256_ctr_hmac_half' undeclared here (not in a function)
NID_ecies_with_x9_63_sha512_aes256_ctr_hmac_half,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./pkey.go:200:2: error: initializer element is not constant
./pkey.go:200:2: note: (near initialization for 'pke_nids[14]')
./pkey.go:201:2: error: 'NID_ecies_with_x9_63_sha1_aes128_cbc_cmac' undeclared here (not in a function)
NID_ecies_with_x9_63_sha1_aes128_cbc_cmac,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./pkey.go:201:2: error: initializer element is not constant
./pkey.go:201:2: note: (near initialization for 'pke_nids[15]')
./pkey.go:202:2: error: 'NID_ecies_with_x9_63_sha256_aes128_cbc_cmac' undeclared here (not in a function)
NID_ecies_with_x9_63_sha256_aes128_cbc_cmac,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./pkey.go:202:2: error: initializer element is not constant
./pkey.go:202:2: note: (near initialization for 'pke_nids[16]')
./pkey.go:203:2: error: 'NID_ecies_with_x9_63_sha512_aes256_cbc_cmac' undeclared here (not in a function)
NID_ecies_with_x9_63_sha512_aes256_cbc_cmac,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./pkey.go:203:2: error: initializer element is not constant
./pkey.go:203:2: note: (near initialization for 'pke_nids[17]')
./pkey.go:204:2: error: 'NID_ecies_with_x9_63_sha256_aes128_ctr_cmac' undeclared here (not in a function)
NID_ecies_with_x9_63_sha256_aes128_ctr_cmac,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./pkey.go:204:2: error: initializer element is not constant
./pkey.go:204:2: note: (near initialization for 'pke_nids[18]')
./pkey.go:205:2: error: 'NID_ecies_with_x9_63_sha512_aes256_ctr_cmac' undeclared here (not in a function)
NID_ecies_with_x9_63_sha512_aes256_ctr_cmac,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./pkey.go:205:2: error: initializer element is not constant
./pkey.go:205:2: note: (near initialization for 'pke_nids[19]')
./pkey.go:209:2: error: 'NID_sm2encrypt_with_sm3' undeclared here (not in a function)
NID_sm2encrypt_with_sm3,
^~~~~~~~~~~~~~~~~~~~~~~
./pkey.go:209:2: error: initializer element is not constant
./pkey.go:209:2: note: (near initialization for 'pke_nids[20]')
./pkey.go:211:2: error: 'NID_sm2encrypt_with_sha1' undeclared here (not in a function); did you mean 'NID_ecdsa_with_SHA1'?
NID_sm2encrypt_with_sha1,
^~~~~~~~~~~~~~~~~~~~~~~~
NID_ecdsa_with_SHA1
./pkey.go:211:2: error: initializer element is not constant
./pkey.go:211:2: note: (near initialization for 'pke_nids[21]')
./pkey.go:212:2: error: 'NID_sm2encrypt_with_sha256' undeclared here (not in a function); did you mean 'NID_ecdsa_with_SHA256'?
NID_sm2encrypt_with_sha256,
^~~~~~~~~~~~~~~~~~~~~~~~~~
NID_ecdsa_with_SHA256
./pkey.go:212:2: error: initializer element is not constant
./pkey.go:212:2: note: (near initialization for 'pke_nids[22]')
./pkey.go:213:2: error: 'NID_sm2encrypt_with_sha512' undeclared here (not in a function); did you mean 'NID_ecdsa_with_SHA512'?
NID_sm2encrypt_with_sha512,
^~~~~~~~~~~~~~~~~~~~~~~~~~
NID_ecdsa_with_SHA512
./pkey.go:213:2: error: initializer element is not constant
./pkey.go:213:2: note: (near initialization for 'pke_nids[23]')
./pkey.go: In function 'get_pke_info':
./pkey.go:249:15: error: 'NID_secg_scheme' undeclared (first use in this function); did you mean 'OBJ_secg_scheme'?
ec_scheme = NID_secg_scheme;
^~~~~~~~~~~~~~~
OBJ_secg_scheme
./pkey.go:254:15: error: 'NID_sm_scheme' undeclared (first use in this function); did you mean 'ec_scheme'?
ec_scheme = NID_sm_scheme;
^~~~~~~~~~~~~
ec_scheme
./pkey.go:255:22: error: 'NID_sm3' undeclared (first use in this function); did you mean 'NID_sha'?
ec_encrypt_param = NID_sm3;
^~~~~~~
NID_sha
./pkey.go: At top level:
./pkey.go:285:2: error: 'NID_sm2exchange' undeclared here (not in a function); did you mean 'NID_clearance'?
NID_sm2exchange,
^~~~~~~~~~~~~~~
NID_clearance
./pkey.go:285:2: error: initializer element is not constant
./pkey.go:285:2: note: (near initialization for 'exch_nids[0]')
./pkey.go: In function 'get_exch_info':
./pkey.go:320:15: error: 'NID_sm_scheme' undeclared (first use in this function); did you mean 'ec_scheme'?
ec_scheme = NID_sm_scheme;
^~~~~~~~~~~~~
ec_scheme
./pkey.go:321:17: error: 'NID_sm3' undeclared (first use in this function); did you mean 'NID_sha'?
ecdh_kdf_md = NID_sm3;
^~~~~~~
NID_sha
./pkey.go:325:15: error: 'NID_secg_scheme' undeclared (first use in this function); did you mean 'OBJ_secg_scheme'?
ec_scheme = NID_secg_scheme;
^~~~~~~~~~~~~~~
OBJ_secg_scheme
./pkey.go: In function 'pk_encrypt':
./pkey.go:421:51: error: 'NID_sm2p256v1' undeclared (first use in this function); did you mean 'NID_secp256k1'?
EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pk))) == NID_sm2p256v1) {
^~~~~~~~~~~~~
NID_secp256k1
./pkey.go: In function 'sk_decrypt':
./pkey.go:465:51: error: 'NID_sm2p256v1' undeclared (first use in this function); did you mean 'NID_secp256k1'?
EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(sk))) == NID_sm2p256v1) {
^~~~~~~~~~~~~
NID_secp256k1
./pkey.go: In function 'sk_sign':
./pkey.go:501:51: error: 'NID_sm2p256v1' undeclared (first use in this function); did you mean 'NID_secp256k1'?
EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(sk))) == NID_sm2p256v1) {
^~~~~~~~~~~~~
NID_secp256k1
In file included from ./pkey.go:57:
./pkey.go:502:39: error: 'NID_sm_scheme' undeclared (first use in this function); did you mean 'BIO_s_secmem'?
if (EVP_PKEY_CTX_set_ec_scheme(ctx, NID_sm_scheme) <= 0) {
^~~~~~~~~~~~~
./pkey.go: In function 'pk_verify':
./pkey.go:539:51: error: 'NID_sm2p256v1' undeclared (first use in this function); did you mean 'NID_secp256k1'?
EC_KEY_get0_group(EVP_PKEY_get0_EC_KEY(pk))) == NID_sm2p256v1) {
^~~~~~~~~~~~~
NID_secp256k1
In file included from ./pkey.go:57:
./pkey.go:540:39: error: 'NID_sm_scheme' undeclared (first use in this function); did you mean 'BIO_s_secmem'?
if (EVP_PKEY_CTX_set_ec_scheme(ctx, NID_sm_scheme) <= 0) {
^~~~~~~~~~~~~

已解决，需要编译gmssl

repo: guanzhi/GmSSL


text:
Mj/gu cdk migration 2

This PR migrates the repo to a fully CDK-based CloudFormation stack.
Where possible, parameters local to the stack have been removed in the interest of portability, and are instead passed as arguments to the stack constructor, or are stored as SSM parameters for use across different CFN stacks.
I have attempted to use GuCDK constructs etc. as much as possible, working with their "out of the box" functionality. But some customisation has been necessary.
Because of the difficulty in "dual stacking" this repo, I have tested very thoroughly in CODE and I propose we deploy to PROD directly. Once deployed I will run further tests and also keep a close watch on reminders for the next week or so. I am confident that we won't have any downtime or problems.

Because of the difficulty in "dual stacking" this repo, I have tested very thoroughly in CODE and I propose we deploy to PROD directly. Once deployed I will run further tests and also keep a close watch on reminders for the next week or so. I am confident that we won't have any downtime or problems.

Although thorough testing gives us confidence in the new infrastructure I don't think we can be certain that this approach is going to avoid downtime.
In the past we have seen cases where clients are caching the old DNS entry for quite some time after the DNS change has been made (i.e. clients have continued making requests to the old infrastructure for longer than the TTL that is specified in the DNS record). If we use the dual stack migration path described here that isn't a big problem because the old infrastructure sticks around and deals with these requests until clients catch up. However, in this case the old DNS entry is pointing at an API Gateway instance that we're going to delete (i.e. the one that is defined in the CFN file), so any clients that don't pick up the DNS change quickly are going to start hitting errors.
I don't know exactly what the clients are in this case or how vital this service is, but it is worth considering this risk and whether it's acceptable in the context of this service before proceeding.

source: gharchive/pull-request

authors: jacobwinch michaelbjacobson

repo: guardian/support-reminders

license_type: permissive

license_source: github-api


text:
MFA support?

My company enforces MFA (multi factor authentication) so upon logging in I usually have to enter a code to continue. When adding my exchange account in thunderbird then clicking on the "add account" button, the application hangs. Is there anything that I can do or any logs that I can provide to resolve this issue?

The authentication uses OAuth - is this supported or is there an alternative?

Sorry this plugin supports only HTTP Basic and NTLM authentication. I don't have much time to add new features right now.

OK, thanks - couldn't find it in the docs.

source: gharchive/issue

authors: JonnyTech guderkar

repo: guderkar/MExInt

license: mit

license_source: bigquery


text:
[Test] Include Gemma2 into tests

Expanding our testing to include Google's Gemma2 model. Since this comes from a repo which requires authentication, only minimal tests are run.

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 45.17%. Comparing base (be2be22) to head (3e95c7b).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #957       +/-   ##
===========================================
- Coverage   57.65%   45.17%   -12.48%
===========================================
  Files          63       63
  Lines        4832     4832
===========================================
- Hits         2786     2183      -603
- Misses       2046     2649      +603

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

authors: codecov-commenter riedgar-ms

repo: guidance-ai/guidance

license: MIT


text:
Nested IFs in a table cell issue

Hi, everyone! I have the following nested IF statement in a table cell my template:
{IF $parameter.isMain == 0}{*ParameterName}{IF $parameter.unit != null}, {*ParameterUnit}{END-IF}{END-IF}{IF $parameter.isMain != 0}**{*ParameterName}{IF $parameter.unit != null}, {*ParameterUnit}{END-IF}**{END-IF}
It displays main parameter in bold and non-main parameters in regular, and should a parameter have a unit, it is displayed too.
Since version 11.5 the createReport function errors, saying nested IFs are not allowed. Is there a workaround other than rewriting without nested IFs? Or can someone add a fix for that issue in future versions, maybe?

I have the exact same issue;
templates working with previous versions now throw this error
Invalid IF command nested into another IF command on the same table row
Would like to understand what changed since I cannot find an explanation in the Changelog

I think this is due to the fix we merged for the infinite loop bug described in #340. Can you post a simple reproduction?

Also have this same issue, with multiple IF

authors: ArtVS jjhbw raffaele-clevermind tentone

repo: guigrpa/docx-templates


text:
How do you recommend paging with see?

I run tmux (as I see you do in the nested demo window) so my only scrollback is in copy-mode. I don't love that because of the annoying yellow box in the upper right hand corner.  As such, I tried to pipe see results to less with | less -R but I can't maintain the color.  Any suggestions?

Humm I think there's a bug, the --use-colors should control exactly this behavior but, I think I mess up with something somewhere. I will check it.

authors: guilhermeprokisch zach-is-my-name

repo: guilhermeprokisch/see


text:
corrigir alguns erros

corrigir alguns erros de português, pelo menos os que eu encontrei.

Opa, valeu pela contribuição!
Quando for atualizar a versão eu aceito.

authors: guisantos itxtoledo

repo: guisantos/CryptoAwesome


text:
Gulp 4: gulp.parallel will stop gulp immediately when one task fails

In the docs it is stated that gulp.parallel will still execute all tasks if an error occurs:

When the returned function is executed, the tasks or functions will be executed in parallel, all being executed at the same time. If an error occurs, all execution will complete.

This currently doesn't seem to be the case as the following minimal code example will demonstrate:
var gulp = require('gulp')

gulp._settle = false

gulp.task('error', function(done) {
  setTimeout(function() {
    done(new Error('Somethings wrong!'))
  }, 200)
})

gulp.task('willnotfinish', function(done) {
  setTimeout(function() {
    console.log('I will never finish :(')
    done()
  }, 2000)
})

gulp.task('watch', function() {
  gulp.watch('watchme.js', gulp.parallel('default'))
})

gulp.task('default', gulp.parallel(
  'error',
  'willnotfinish'
))

This will stop running gulp after ~200ms with the following output and the task 'willnotfinish' will never finish executing:
Using gulpfile ~/Desktop/development/gulp-parallel-error/gulpfile.js
Starting 'default'...
Starting 'error'...
Starting 'willnotfinish'...
'error' errored after 204 ms
Error: Somethings wrong!
  at null._onTimeout (/Users/perplex/Desktop/development/gulp-parallel-error/gulpfile.js:5:10)
  at Timer.listOnTimeout (timers.js:92:15)
'default' errored after 211 ms
The following tasks did not complete: willnotfinish
Did you forget to signal async completion?

EDIT: Include watch task in code sample

This actually seems to be solved by setting the UNDERTAKER_SETTLE environment variable to true, is there a reason bach.settleParallel is not used by default?

Works with #1488 and _settle set to true. Also seems to work fine with my project which incorporates several gulp plugins, so i'm still unsure about the side effects of _settle = true if there are any.
I updated the code sample above to include a watch task.

@per2plex I think the docs need to be updated because we use process.exit to exit with the correct code when an error occurs in a gulp.parallel call.  The callback gets called immediately if there is an error, and instead of waiting for all async work to be finished (the default in undertaker/bach) we immediately exit with https://github.com/gulpjs/gulp-cli/blob/master/lib/versioned/^4.0.0-alpha.2/index.js#L69-L71

@phated I see, actually it makes sense for this to be the default behaviour. Some kind of option for  gulp.parallel and gulp.series to keep running after an error occurs in one of its tasks would be nice though.

@per2plex we already have that command line option. Just use the --continue flag

@phated Thanks, --continue was exactly what I was searching for, you can close this issue if it's no longer needed :)

@ulrichb it's not something we want people to use but you can "hack the system" by setting gulp._settle = true before calling gulp.parallel (because gulp is just an instance of Undertaker and that's the property undertaker looks for).  You could also have a separate "settle" instance by doing:
var settled = new gulp.Gulp();
settled._settle = true;

settled.parallel(...tasks);

repo: gulpjs/gulp


text:
BuildLine not rellocating line relative to workplane

from build123d import *
from ocp_vscode import *

box_width = 100
box_height = 80
box_depth = 90
wall_thick = 2.24

clearance_tight = 0.1
clearance_fit = 0.25

module_height = 38.8
module_width = 71
module_width_clip = 75.25

with BuildPart() as plate_front:
    with Locations((0, -box_depth / 2, 0)):
        # DovetailPlate(
        Box(
            box_width,
            box_height,
            wall_thick,
            # (True, True, False, True),
            rotation=(90, 0, 0),
        )

    faces = plate_front.faces().sort_by(Axis.Y)
    with BuildSketch(Plane(faces[0])) as s1:
        clip_height = (module_width_clip - module_width) / 2

        with BuildLine(Plane(Location((0, box_height / 2 - wall_thick - 6)))):
            Polyline(
                (0, module_height / 2),
                (module_width / 2, module_height / 2),
                (module_width / 2, -module_height / 2),
                (0, -module_height / 2),
            )
            mirror(about=Plane.YZ)
        make_face()

        with Locations(
            (-10, -20),
            (10, -20),
        ):
            Circle((7.5 + clearance_fit) / 2)

    extrude(amount=-wall_thick, mode=Mode.SUBTRACT)

show_all()

The Polyline isn't moved as it should be.  This issue https://github.com/gumyr/build123d/issues/240 shows up if Plane isn't used as the workplane parameter.

Removed a duplicate relocation in BuildLine that was undoing the work of the BuildLine's workplane.


text:
Error: data did not match any variant of untagged enum MinifyTarget

Seeing this error in a compilation, but there are no hints on what went wrong:
HookWebpackError: data did not match any variant of untagged enum MinifyTarget
    at makeWebpackError (/foo/node_modules/webpack/lib/HookWebpackError.js:48:9)
    at /foo/node_modules/webpack/lib/Compilation.js:3175:12
    at eval (eval at create (/foo/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:88:1)
-- inner error --
Error: data did not match any variant of untagged enum MinifyTarget
caused by plugins in Compilation.hooks.processAssets
Error: data did not match any variant of untagged enum MinifyTarget

I don't have processAssets hook or MinifyTarget so I guess it's internal.
Webpack 5.91.0

Please provide a minimal reproduce repository.

Thanks @martinjlowm, I can confirm it solves the issue 🙏

authors: elado guoyunhe

repo: guoyunhe/swc-minify-webpack-plugin


text:
アバター用プロジェクトへの対応

結構大仕事になるけどこれもしかしてアバター用プロジェクトの「Build & Test」にも使えんじゃない？って思った
一旦ローカルで色々テストしてみる

World用リポジトリとAvatar用リポジトリを分ける予定になったので凍結
もし作るとしたら別パッケージになると思われる


text:
lap-pair error

Traceback (most recent call last):
File "/home/okas/new_venv/lib/python3.12/site-packages/pylutron_caseta/pairing.py", line 55, in async_read_json
buffer = await self._reader.readline()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/streams.py", line 568, in readline
line = await self.readuntil(sep)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/streams.py", line 660, in readuntil
await self._wait_for_data('readuntil')
File "/usr/lib/python3.12/asyncio/streams.py", line 545, in _wait_for_data
await self._waiter
asyncio.exceptions.CancelledError
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/home/okas/new_venv/bin/lap-pair", line 8, in
sys.exit(lap_pair())

Did you cancel it by pressing control C?

repo: gurumitts/pylutron-caseta


text:
Onde está os slides da aula 04?

Procurei os slides da aula 04 e não encontrei. Alguém poderia atualizar para mim?

testando durante a aula de git e github.

repo: gustavoguanabara/git-github


text:
onde está os slides da aula 04

procurei os slides da aula 04 e não encontrei alguém poderia atualizar para mim.
I looked for the slides from class 04 and I couldn't find someone who could update for me.

Eita... já tem os slides das aulas 11 e 12 e nada dos da aula 4.

Aulas de Git GitHuB clique aqui.

Para as aulas de Git GitHub [clique aqui.](https://www.cursoemvideo.com/course/curso-de-git-e-github/aulas/aulas-de-git-e-github/modulos/voce-sabe-usar-issues-curso-de-git-e-github/

)

Muito produtiva as suas aulas Professor Gustavo Guanabara, Parabens!

authors: LeoDiasCarvalho fositry thiagosales007


text:
:command_prefix config

In the README it says you can pass :command_prefix to :pdf_generator config.  However from code in tag v0.3.3 you can see that :command_prefix option is not actually implemented yet. I didn't know that option wasn't actually advertised in hex docs ... I was reading the README in master and in v0.3.0 branches.
Are you planning on pushing that option to Hex anytime soon ?

@hisapy @cdale77 Sorry for being unresponsive these days. On your qurstion: yes: The feature resides in the xvfb_support branch and the documentation for it accidentally made into the README before releasing it. Shame on me :-(
To really answer your question: Yes, I do. I'm on it.

Thx @gutschilla

It's in 0.3.4, PLS see: https://hex.pm/packages/pdf_generator and tell me what you think

Cool! I haven't had a chance to try it out -- I read your code and got the idea of using Porcelain directly, which was a cool experience. I'll probably go back and use your implementation, and will let you know. thanks!

@cdale77 Yeah, in the end this is just a wrapper around porcelain and wkhtmltopdf (and pdftk and xvfb) providing some hopefully sane defaults. The main functionality lies in a few lines interfacing porcelain. So if you're good with rolling your own, I am very happy to have shown the road down there.
Thanks for the info!

authors: cdale77 gutschilla hisapy

repo: gutschilla/elixir-pdf-generator


text:
Dimensions

How to get the dimensions (e.g. number of rows) from a file?

// For each sheet in the workbook, you can access the id, name and dimensions.
// the dimensions object supports, left, top, bottom, right, as numbers and tl, br and range strings
var workbook = new Workbook();
workbook.xlsx.readFile(filename)
.then(function() {
workbook.eachSheet(function(worksheet) {
console.log("Sheet " + worksheet.id +
" - " + worksheet.name +
", Dims=" + worksheet.dimensions);
});
})
.catch(function(error) {
console.log(error.message);
});

repo: guyonroche/exceljs


text:
Introduce a new Configuration object

The Configuration object holds the config in an internal array. It should fullfil the following requirements:

expose methods to access the configuration
validates the configuration
exposes has() method to check if a certain key set. Then we can declutter the code from isset($config[*]) Methods.

Closing since stale - I'm doing a cleanup across the whole organization, to enable us to focus on the tickets that are still live and have interest. Please feel free to open a new issue if this still is important to you. :)

authors: GrahamCampbell Konafets

repo: guzzle/guzzle-services


text:
Dependency of symfony/polyfill-intl-idn#1.17.0 requires PHP 7.1

Guzzle version(s) affected: 6.5.5
PHP version: 5.6.40
cURL version: 7.64.1
Description
Any project that requires PHP ~5.6 can't use guzzle ~6.5 because symfony/polyfill-intl-idn uses a ??.
Parse error: syntax error, unexpected '?' in [code]/vendor/symfony/polyfill-php72/Php72.php on line 185

How to reproduce
{
    "require": {
        "guzzlehttp/guzzle": "~6.5",
    },
}

Possible Solution
Change dependency of symfony/polyfill-intl-idn to something else.
Additional context
This started happening recently. The requirements listed in the composer.json of guzzle 6.5.5 state PHP 5.5 is supported, but symfony/polyfill-intl-idn#1.17.0 requires PHP >=7.1.

You can use an older version of the poyfill.

Guzzle 6 does not work with PHP 5.6 because of this dependency. Symfony changed a file on 5/27 @ https://github.com/symfony/polyfill-php72/commit/9a142215a36a3888e30d0a9eeea9766764e96976#diff-0193b3f4f802075c7bbf313d5fb8afcb4adbc6b27c13e69387f4c79aaa76f08d which kills the polyfill.
I know this isn't guzzle's fault per se, it's theirs, but you're requiring it. I don't see how PHP 5.6 would survive a ?? (it can't).

With PHP 5.6 if you do this and absolutely nothing else, you'll get a parse error.
composer.json
{
    "require": {
        "guzzlehttp/guzzle": "~6.5"
    }
}

index.php
require dirname(dirname($_SERVER['SCRIPT_FILENAME'])) . '/vendor/autoload.php';

graham@Grahams-MacBook-Pro  /tmp/guzzle  cat composer.json
{
    "require": {
        "guzzlehttp/guzzle": "~6.5"
    }
}

 graham@Grahams-MacBook-Pro  /tmp/guzzle  composer56 update
Loading composer repositories with package information
Updating dependencies
Lock file operations: 10 installs, 0 updates, 0 removals
  - Locking guzzlehttp/guzzle (6.5.5)
  - Locking guzzlehttp/promises (1.4.1)
  - Locking guzzlehttp/psr7 (1.8.2)
  - Locking paragonie/random_compat (v2.0.20)
  - Locking psr/http-message (1.0.1)
  - Locking ralouphie/getallheaders (3.0.3)
  - Locking symfony/polyfill-intl-idn (v1.19.0)
  - Locking symfony/polyfill-intl-normalizer (v1.19.0)
  - Locking symfony/polyfill-php70 (v1.19.0)
  - Locking symfony/polyfill-php72 (v1.19.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 10 installs, 0 updates, 0 removals
  - Downloading symfony/polyfill-php72 (v1.19.0)
  - Downloading paragonie/random_compat (v2.0.20)
  - Downloading symfony/polyfill-php70 (v1.19.0)
  - Downloading symfony/polyfill-intl-normalizer (v1.19.0)
  - Downloading symfony/polyfill-intl-idn (v1.19.0)
  - Downloading guzzlehttp/guzzle (6.5.5)
  - Installing symfony/polyfill-php72 (v1.19.0): Extracting archive
  - Installing paragonie/random_compat (v2.0.20): Extracting archive
  - Installing symfony/polyfill-php70 (v1.19.0): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.19.0): Extracting archive
  - Installing symfony/polyfill-intl-idn (v1.19.0): Extracting archive
  - Installing ralouphie/getallheaders (3.0.3): Extracting archive
  - Installing psr/http-message (1.0.1): Extracting archive
  - Installing guzzlehttp/psr7 (1.8.2): Extracting archive
  - Installing guzzlehttp/promises (1.4.1): Extracting archive
  - Installing guzzlehttp/guzzle (6.5.5): Extracting archive
3 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
4 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

As you can see, the PHP 5.6 compatable version of the poylfil is loaded...

symfony/polyfill-intl-idn#1.17.0 requires PHP >=7.1.

No it doesn't: https://packagist.org/packages/symfony/polyfill-intl-idn#v1.17.0.

You're right, 1.17.0 doesn't require 7. When I composer update however I get the following, it installs 1.23.0.
➜  app git:(master) ✗ cat composer.json
{
    "require": {
        "guzzlehttp/guzzle": "~6.5"
    }
}
➜  app git:(master) ✗ composer update
Loading composer repositories with package information
Updating dependencies
Lock file operations: 8 installs, 0 updates, 0 removals
  - Locking guzzlehttp/guzzle (6.5.5)
  - Locking guzzlehttp/promises (1.4.1)
  - Locking guzzlehttp/psr7 (1.8.2)
  - Locking psr/http-message (1.0.1)
  - Locking ralouphie/getallheaders (3.0.3)
  - Locking symfony/polyfill-intl-idn (v1.23.0)
  - Locking symfony/polyfill-intl-normalizer (v1.23.0)
  - Locking symfony/polyfill-php72 (v1.23.0)
Writing lock file
Installing dependencies from lock file (including require-dev)
Package operations: 8 installs, 0 updates, 0 removals
  - Installing symfony/polyfill-php72 (v1.23.0): Extracting archive
  - Installing symfony/polyfill-intl-normalizer (v1.23.0): Extracting archive
  - Installing symfony/polyfill-intl-idn (v1.23.0): Extracting archive
  - Installing ralouphie/getallheaders (3.0.3): Extracting archive
  - Installing psr/http-message (1.0.1): Extracting archive
  - Installing guzzlehttp/psr7 (1.8.2): Extracting archive
  - Installing guzzlehttp/promises (1.4.1): Extracting archive
  - Installing guzzlehttp/guzzle (6.5.5): Extracting archive
4 package suggestions were added by new dependencies, use `composer suggest` to see details.
Generating autoload files
3 packages you are using are looking for funding.
Use the `composer fund` command to find out more!

Probably because you are not running composer using PHP 5.6. Composer won't try and install PHP 5.6 compatable dependencies unless you tell it to in config or have 5.6 as your actual runtime version.
"config": {
    "platform": {
        "php": "5.6.40"
    }
},

Thanks that was it. Our ci server always uses 7 which is why this was a strange thing to track down. I appreciate your help triaging this.

authors: GrahamCampbell patrickconroy

repo: guzzle/guzzle


text:
Export StoryRouter

Tiny change with important impact. My use case for using StoryRouter component directly is two-fold.
For once I have my own decorator used across all stories and it bundles together stuff like ThemeProvider, MobX Provider, Apollo Provider, etc... so I don't need to specify that one by one in each story and yet I can customize the behavior per story. I want to add StoryRouter into the mix.
The second reason is that decorator is applied to all stories in a file. I want a more fine-grained approach to set a different config for router per story.

Thanks @gvaldambrini

repo: gvaldambrini/storybook-router


text:
Always use Modflow way of storing layers (no 3d top in layer Datasets anymore)

Right now we use two definitions to store a layer/model Dataset:
1 With a 3d top, where top and bottom can contain NaN's: a layer Dataset
2 With a 2d top (or 1d for vertex grids), where top and bottom do not contain NaN's: a model Dataset
This creates a problem where methods only work for one of the above Datasets. I propose to adopt the Modflow-way of storing data for every layered Dataset, so to only store the top of the top layer, and the bottom for all layers.
This means that the method nlmod.read.get_regis() will then return something different. Regis sometimes has some holes in the layer model: the bottom of one layer is not equal to the top of the next layer. I think we should notify the user in which layer this takes place, when we remove the layer-dimension from top, using some log-messages.
This would break some peoples code, but will make life easier in the future, and saves us a lot of checking for a layer-dimension in top.

This is implemented. If you want to know how large in the holes in the layer model are, you can run:
regis = nlmod.read.regis.get_regis(extent, drop_layer_dim_from_top=False)
nlmod.layers.remove_layer_dim_from_top(regis, return_inconsistencies=True)

repo: gwmod/nlmod


text:
Added: toast.error() function

Similar to toast.success() Added the option to toast an error.
#6

Hey @MeenuyD, thanks for contributing!
For this to be merged the logic for .error() needs to be implemented in the package src. toast.error() does not exist yet.
Could you implement this?

in which file.

core/toast.ts
Also an error icon would be cool.
Can be implemented similar to the success icon in components/toast.tsx

authors: MeenuyD gxrsti

repo: gxrsti/alert


text:
Make the 'var_local_n2n' code faster and more readable

When the trans matrix is already computed, directly use trans(:,:,var_local_n2n(n)) for the analysis update computation, instead of first copying trans(:,:,var_local_n2n(n)) to trans(:,:,n).

ac64d0e

repo: gylien/scale-letkf


text:
Version 1.2.0

Bugfixes

display correct player icon in CATest() Discord message (Gyroplast)

New Features

support for discord_webhook_url configuration option (Gyroplast)
drop-in compatibility with Discord Death Announcements mod (Gyroplast)
console commands print output to in-game chat / broadcast (Gyroplast)
big logging overhaul, with configurable log level support (Gyroplast)

Other Changes

huge refactoring into a separate DiscordClient module (Gyroplast)
comprehensive server-side logging available with TRACE (Gyroplast)
new mod icon with border and blue gradient background (Gyroplast)
code cleanup across the board (Gyroplast)

Closed in favor of merging release/1.2.0 into main for identical result.


text:
Possible expanding to Vue script tag

I've tested your plugin and it's one of the fastest and most accurately console.log tool.
In there any chance to make it work with Vue files?
Apparently the extension works fine with Vue structure file format. If I replace the extension .vue to .js, it simply works.

Same here, although I am mostly using Svelte.

Thanks for issue..
sorry to late..
I will fix it and update...

authors: AEsmerio cycle4passion gyuha

repo: gyuha/quick-console-log


text:
🛑 Undertale社区档案馆 - UTCARC is down

In 024badc, Undertale社区档案馆 - UTCARC (https://arc.utcwiki.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Undertale社区档案馆 - UTCARC is back up in fad89bc after 10 minutes.

repo: gzombiejun/upptime


text:
Dragable problem

Hi,
I have a problem with draggable recyclerview.
It is that i can drag and drop the first item of the list without any problem, but other items can't be dragged.
It seems to that some methods for dragging items are called when I try to drag  other than first item, but don't work.
How should i do?

Hi. I guess an implementation error exists in youronCheckCanStartDrag() or getItemId(). Check onCheckCanStartDrag() method returns 'true', and getItemId() returns stable and non RecyclerView.NO_IDvalue. Thanks.

Thank you for quick return.
As you told, the problem is in onCheckCanStartDrag(). I modified always return true in the method,
then all items drag and drop!
But i have another problem..
In draggable recyclerview in my app, drag action is valid for whole item view,
and i try to scroll the list, the list doesn't scroll but start item dragging.
As your sample,  i want drag items only using drag-handle-view, otherwise scroll list.
Could you give me a helpful advice?

Hi. Have you checked the onCheckCanStartDrag() method implementation of the demo app? This method should returns true only if the passed x-y position is located inside of the drag handle view.
Here is a simplified example;
<FrameLayout android:id="@+id/itemView">
    <View android:id="@+id/dragHandleView" />
</FrameLayout>

@Override
public boolean onCheckCanStartDrag(MyViewHolder holder, int position, int x, int y) {
    // x, y --- relative from the itemView's top-left
    int handleX = holder.dragHandleView.getLeft();
    int handleY = holder.dragHandleView.getTop();
    int handleW = holder.dragHandleView.getWidth();
    int handleH = holder.dragHandleView.getHeight();

    return (x >= handleX) && (x < (handleX + handleW)) &&  (y >= handleY) && (y < (handleY + handleH));
}


text:
Write a blog post

Write
Schedule
Publish

@posix4e @e271828- draft in slack

@e271828- any comments? Is it good yet?

repo: hCaptcha/hmt-escrow


text:
Suggestions

There is now a Resource hierarchy (critiques on exact names are welcome):

ResourceBase: base class that contains items that approved and suggested resources have (e.g., name, address, longitude, latitude, descriptors)
Resource: an approved resources

A Resource isa ResourceBase

ResourceSuggestion: a suggestion to either create a new resources OR edit an existing resource

A ResourceSuggestion isa ResourceBase

Updated suggestion form to reflect the structure of a resource (instead of just a general comment). Users can now create suggestions for new resources or for existing resources.

Relevant routes: /suggestion/new

Removed call to generate fake resources from add_fake_data. Since we now have add_seattle_data, we no longer need fake resources.
Some small changes to files for PEP8 compliance.

This PR does not include: creating/editing resources based on suggestions
r @yoninachmany @Huntrr @HanaPearlman

@weronica could you give short explanation of why you went with Single Table Inheritance as opposed to Joined Table Inheritance (http://docs.sqlalchemy.org/en/latest/orm/extensions/declarative/inheritance.html)? asking in order to keep a record of reasoning. thanks.

@weronica please try to get to these comments by wed meeting

can we get option descriptors showing before text descriptors in suggestion form?

https://github.com/hack4impact/asylum-connect-catalog/blob/veronica-resources/app/templates/main/index.html#L164 change to suggest_create

Re: joined table inheritance vs. single table inheritance, I chose single table inheritance because it's simpler to implement. Since our data set is pretty small right now, I don't think choosing one implementation over the other for a performance benefit is worthwhile. Unless someone has a compelling reason to use joined table inheritance, I think single table inheritance is fine for now.

@yoninachmany Re: showing option descriptors before text descriptors, why do you think that's necessary? In either case, that's a change that we can make in the future, so I think it's beyond the scope of this PR.

@weronica reasons for rearranging is to more closely follow order of http://www.asylumconnect.org/submit-a-resource/, but we can do that later - lgtm

authors: weronica yoninachmany


text:
Apply to the Google RISE Awards

https://www.google.com/edu/resources/programs/google-rise-awards/
A few people have recommended we apply and it seems to be the sort of grant that's right up our ally. Let's apply to this. Deadline is February 19th, 2016.

@zachlatta Yo, this deadline is approaching really damn fast!

Thanks for the reminder guys :-).
I've assigned to @jkwok91. Will work with her to get this done.
On Mon, Feb 15, 2016 at 2:27 PM, Max Wofford notifications@github.com
wrote:

https://camo.githubusercontent.com/7070c7d972a48769eef61fdb866ae4b87d2a68f4/68747470733a2f2f692e696d6775722e636f6d2f76424844736a372e6a7067
—
Reply to this email directly or view it on GitHub
https://github.com/hackclub/meta/issues/445#issuecomment-184423186.

--
Zach Latta
https://zachlatta.com http://zachlatta.com

Getting started on this ASAP.

authors: MaxWofford jkwok91 paked zachlatta

repo: hackclub/meta


text:
QuadraPedal

Its similar to the "Getting Started" level, but you control four characters at once. It was definitely enjoyable to code and make the music for.

Thanks for PR!

For example, the green player would push the green box onto the red goal, and so on

I realized that one is a little more complicated than intended, so I could create a walkthrough of the sprig if needed

Very good game! there are no errors, it has many levels and it's a lot of fun! the function of restarting the phase is very good, only in the last level I restarted many times haha

You would use the different characters to Push the certain boxes into their respective spots

ok but I can't solve it, I'll record the screen

Hopefully the gif works

Glad you enjoyed the game though! I might plan on adding to it some time in the future

Hopefully the gif works

oh, ok!

Very good game! Congrats!
If you're a teen, you can get your sprig here! https://sprig-order.hackclub.dev/

I am, I'll set that up now!

repo: hackclub/sprig


text:
Add Feature to use external editors

Topic says it all :), That would be great

If opened in external editors, do we want to commit the changes back to Lepton?

authors: g-uru hackjutsu

repo: hackjutsu/Lepton


text:
File System Driver

Orgasmo should offer some help to write drivers for the common datasources:

filesystem
graphql
rest API
mongo
postgree
some other?

We should start with the FileSystemDriver because it's supposed to be broadly used, for the development and testing environments.

Done

repo: hacknlove/orgasmoproject


text:
Convert Resume between Fresh and JSON Resume Format

You can convert your resume from Fresh format to JSON Resume format using the command hackmyresume convert resume-fresh.json TO resume-jrs.json, but how do you convert from JSON Resume format to Fresh format

confirming that jrs to fresh does not work.
hackmyresume always auto detects fresh in the input json, even so that is a jrs format.

Workaround over yaml:
hackmyresume BUILD resume.json TO out/resume.all
yaml2json out/resume.yml > resume-fresh.json
cat resume-fresh.json | ~/programme/yajl/build/reformatter/json_reformat > resume-fresh2.json
mv resume-fresh2.json resume-fresh.json

It looks like hackmyresume convert looks at some sheeds and then concludes wrongly that its JRS. Instead it should look for FRESH's meta info.
"meta": {
    "format": "FRESH@0.6.0",
    "version": "0.1.0"
}

What is ~/programme/yajl/build/reformatter/json_reformat? How does the yaml workaround convert from json resume to fresh resume format?

@ishu3101
json_reformat comes from yajl. It is used here to beautify the JSON from yaml2json.
The yaml is FRESH format.

But what is yajl?

@ishu3101 hehe, we are on github.com . The Yajl C JSON parser library is just round the corner ;) https://github.com/lloyd/yajl
You might use www.jsonlint.com likewise, just online.

Has this been addressed yet?

authors: DancingQuanta beku ishu3101

repo: hacksalot/HackMyResume


text:
ROLE_TICKET_ADMIN and inheritance

Hello, I have an issue with your bundle. I have a ROLE_ADMIN as parent of ROLE_TICKET_ADMIN and even I have ROLE_ADMIN, I can't manage tickets.
I saw you are using the method hasRole to check the role, that's why it doesn't handle the inheritance.
It is written in the documentation of FOSUserBundle, next to hasRole method:
 * Never use this to check if this user has access to anything!
 *
 * Use the SecurityContext, or an implementation of AccessDecisionManager
 * instead, e.g.
 *
 *         $securityContext->isGranted('ROLE_USER');

So I guess you have to find an other way to handle it. But I have currently no idea.
Thank you

I'll have a look.
I am happy to update my code to the correct way, or a pull request is welcome

Ok it's updated, but I have this Symfony error:
Attempted to call method "isGranted" on class "WC\UserBundle\Entity\User" in /Applications/MAMP/htdocs/Symfony/vendor/hackzilla/fosuser-bridge-bundle/User/FOSUser.php line 59.

Ah, I obviously forgot to push that fix.
I'll have to push it tonight

Commit pushed. You should be good, after another composer update.

Ok it seems to work fine, thank you :)
But when I go to mywebsite/ticket/14/show as non-logged user I have this message:
Catchable Fatal Error: Argument 1 passed to Hackzilla\Bundle\TicketBundle\Controller\TicketController::checkUserPermission() must implement interface FOS\UserBundle\Model\UserInterface, string given, called in /Applications/MAMP/htdocs/Symfony/vendor/hackzilla/ticket-bundle/Controller/TicketController.php on line 117 and defined in /Applications/MAMP/htdocs/Symfony/vendor/hackzilla/ticket-bundle/Controller/TicketController.php line 140
But it doesn't matter because I can allow only logged user on this page.

Wouldn't have come across that, as I haven't tested when not logged in.
I'll have a look when I get a chance

I've removed the type hint, so it'll now generate 403 rather than error.
Everything is now tagged so should install normally now.

Hello, I cannot update with the normally way (read me)
php composer.phar update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- hackzilla/fosuser-bridge-bundle 0.2 requires hackzilla/interfaces ~0.1 -> satisfiable by hackzilla/interfaces[0.1].
- hackzilla/fosuser-bridge-bundle 0.2.1 requires hackzilla/interfaces ~0.1 -> satisfiable by hackzilla/interfaces[0.1].
- hackzilla/fosuser-bridge-bundle 0.3 requires hackzilla/interfaces ~0.1 -> satisfiable by hackzilla/interfaces[0.1].
- Conclusion: don't install hackzilla/interfaces 0.1
- Installation request for hackzilla/fosuser-bridge-bundle ~0.2 -> satisfiable by hackzilla/fosuser-bridge-bundle[0.2, 0.2.1, 0.3].

I've just updated the readme.
Specifically you'll need:
        "hackzilla/fosuser-bridge-bundle": "~1.0.0",

Thank you ! It's working, good job and very good bundle !

authors: Tetdoss hackzilla

repo: hackzilla/TicketBundle


text:
Sync stopped working

This awesome plugin was working just fine for about a week.  Suddenly, the sync stopped fetching any updates.  Interestingly enough, when it attempts to sync now, I see on the Obsidian screen two titles display, that I don't have in my kindle library.
I have reinstalled the plugin several times.

Hello,  I went through and made several updates to a Kindle book (using my iPad) and navigated over to Obsidian to see the changes.  I click on the status bar in Obsidian and launch the sync process.  I consistently am shown two titles in the update dialog screen that I don't own.  I did check my Amazon account and they're not a part of my list.  One is "Pride and Prejudice" and the other is "Wall Street and the Financial Crisis".  These two always come through.  However, any of the updates that have been made, and I've tested on two different titles, does not appear.  It seems as if the initial collection of the 78 titles I have in Kindle was successful, but updates are not happening.  I am syncing from the cloud, not the local file.  Thanks.

It sounds like you are referring to two different issues:
Re-syncing
Currently the plug-in will only a book once regardless of changes we we l in highlights. I will be changing this behaviour soon. For now, you will need to delete any book that you want rescynced first. Running a sync will recreate it with all your latest highlights.
Unexpected data in sync
The plug-in fetches your data from https://read.amazon.com/notebook. Can you login to that portal and verify that the two books in question are not listed there.

Thanks so much for the help, my misunderstanding.  I do find this plug in to be very useful and having it update will be perfect.  On the second item, I did find them and they are there without any highlights, it's been so long I forgot about them.  I'm closing this issue.  Thank you for your support and work on the plugin.  Matt

See above comment.

authors: hadynz mpazaryna

repo: hadynz/obsidian-kindle-plugin


text:
Internet connection

Can you make it bypass Internet connection and Microsoft account?!

Yes ofc

authors: haithamaouati joryaouati

license: Unlicense


text:
all: unify licenses of files to Apache License 2.0

Operating System

[ ] Windows
[ ] macOS
[ ] Linux
[ ] FreeBSD
[ ] OpenBSD
[ ] Android
[ ] iOS
[ ] Nintendo Switch
[ ] Xbox
[ ] Web Browsers

What feature would you like to be added?
Some packages have different licenses:

examples/life: MIT
internal/glfw/glfw: BSD-3-Clause
internal/glfw/glfw/glfw: Zlib
internal/glfw/goglfw: Zlib
internal/graphicsdriver/opengl/gl/default_cgo.*: MIT

For example, unifying such licenses to Apache License 2.0 seems legal: https://opensource.stackexchange.com/questions/8107/distributing-bsd-3-code-under-the-apache-license-v2-only
Why is this needed?
We want to avoid confusion.

https://www.reddit.com/r/opensource/comments/iheqgw/an_updated_license_compatibility_chart/

repo: hajimehoshi/ebiten


text:
Copy member fails with "Extension must be provided when creating a member."

Describe the bug
Copy member fails with "Extension must be provided when creating a member."
We have an IASP, so I don't know what effect that has on the action.
No Code for IBM i log entry is made so the action never makes it to the IBM server.
To Reproduce
Steps to reproduce the behavior:

In a filter that you can add members to, expand and find any member.
Right-click and select the action "Copy Member"
Fill out the popup dialog line to make the member unique to the source file copying to.
Press Enter.
See the error notification appear.

Expected behavior
New member is created.
Environment (please complete the following information):

Extension version 1.2.6
IBM i OS version 7.3

@m-tyler Need some more info from you:

What format is the new path you're copying to?
Please share a screenshot of the error
Any output in the Code for IBM i output channel?

Prompt open from selection

My string before Enter

Error after Enter

@m-tyler Try it without the ASP and the leading / and see if that works.

Removed WIASP/.

Error in log.

Cool. I will look into it!

authors: m-tyler worksofliam

repo: halcyon-tech/vscode-ibmi


text:
feat: add UnregisterDeviceNotification API

Description

Related Issue

Type of Change

[x] ✨ feat -- New feature (non-breaking change which adds functionality)
[ ] 🛠 fix -- Bug fix (non-breaking change which fixes an issue)
[ ] ❌ ! -- Breaking change (fix or feature that would cause existing functionality to change)
[ ] 🧹 refactor -- Code refactor
[ ] ✅ ci -- Build configuration change
[ ] 📝 docs -- Documentation
[ ] 🧪 test -- Test
[ ] 🗑 chore -- Chore

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 61.73%. Comparing base (b33af48) to head (47407be).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #916   +/-   ##
=======================================
  Coverage   61.73%   61.73%
=======================================
  Files          33       33
  Lines        1061     1061
=======================================
  Hits          655      655
  Misses        406      406

Flag
Coverage Δ

win32
59.33% <ø> (ø)

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

authors: codecov-commenter halildurmus


text:
Add autolink (linkify) functionality to Markdown

PR updates the commonmark-java dependency to 0.20.0 and introduces autolink (linkify) functionality.
I have added MarkdownParseOptions which allows consumers of the library to control whether or not the autolink functionality is enabled.  Addresses #95
Note: autolink is enabled with the new MarkdownParseOptions defaults, which means there is a minor (but worth mentioning) behaviour change here.
Short demo:
https://user-images.githubusercontent.com/8967185/197316145-59e72a17-5bf2-4e8f-b191-eccef2401064.mp4

Thanks 🎉

authors: halilozercan morrisseyai

repo: halilozercan/compose-richtext


text:
⚠ DBA1 has degraded performance

In 572f86c, DBA1 (https://dba1.jenshamann.solutions) experienced degraded performance:

HTTP code: 200
Response time: 1737 ms

Resolved: DBA1 performance has improved in f9310f5.

repo: hamannjens/upptime


text:
⚠ ClamAV has degraded performance

In 558ccb8, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 176 ms

Resolved: ClamAV performance has improved in f5d02de after 1 hour, 27 minutes.

repo: hamboneZA/caffeine


text:
⚠ ClamAV has degraded performance

In e5b0a91, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 432 ms

Resolved: ClamAV performance has improved in 7f4b83b.


text:
⚠ ClamAV has degraded performance

In 60c0c76, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 67 ms

Resolved: ClamAV performance has improved in fd23952.


text:
⚠ ClamAV has degraded performance

In 600e5c1, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 451 ms

Resolved: ClamAV performance has improved in 287d910.


text:
⚠ ClamAV has degraded performance

In e4c1bfa, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 215 ms

Resolved: ClamAV performance has improved in 2411e29.


text:
⚠ ClamAV has degraded performance

In 328cf30, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 111 ms

Resolved: ClamAV performance has improved in caef20e.


text:
⚠ ClamAV has degraded performance

In 300e23e, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 462 ms

Resolved: ClamAV performance has improved in d494795.


text:
Update scala-library to 2.13.9

Updates org.scala-lang:scala-library from 2.13.8 to 2.13.9.
GitHub Release Notes - Version Diff
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-lang", artifactId = "scala-library" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "@monthly" },
  dependency = { groupId = "org.scala-lang", artifactId = "scala-library" }
}]

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

Superseded by #124.


text:
AOP

https://www.javacodegeeks.com/2012/06/simple-introduction-to-aop.html

http://www.journaldev.com/2583/spring-aop-example-tutorial-aspect-advice-pointcut-joinpoint-annotations

repo: handioq/Diber-backend


text:
希望增加用Maven插件生成方式

只需添加插件和xml，不需再执行命令和main函数，日志详细些

coming soon!

现已支持jar包运行方式，看这https://github.com/handosme/mybatis-generator-plus#使用方式二运行可执行jar文件

现已支持插件方式运行：

org.ihansen.mbp
mybatis-generator-plus-maven-plugin
1.4

true
true
tool/mbp/MybatisGeneratorCfg.xml

mvn org.ihansen.mbp:mybatis-generator-plus-maven-plugin:1.4:generate

authors: handosme pituo

repo: handosme/mybatis-generator-plus


text:
Publish new version in homebrew tap whenever there is a new release

Right now homebrew tap is a separated repo and it was always triggered manually to publish a new version, as I want to have a manual test before it may affect others.
However, there was never an issue in the past a year or two (touch the wood), so I think it's pretty safe to publish new version in homebrew tap when there is a new release here.

go-parquet-tools is part of homebrew-core now so there is no need to have this.

repo: hangxie/parquet-tools


text:
hankcs好，我看github上说有1.4版本的计划，请问1.4预计什么时间会出呢？可有一个大概出的时间区间？

RT

关于开发计划
感谢关注，HanLP的确有长期开发计划。
长期计划
长远的计划是进一步实现“统计化”，逐步去掉那些倚重“人工规则”的算法与模块，解决现有框架的难题。长期计划中的确还包括加入更多更高级的模块和功能。
短期计划
这些计划由零散的主意构成，来源于issue区偶然产生的一些灵感。通常只需较少的工作量，这些计划放在《开发计划》中统一维护，欢迎随时查阅。
时间节点
没有时间期限。因为：
开源项目
世界上有很多开源项目，但按照目的而言只有两种：
1. 有商业目的的开源项目

背后主要由商业公司支撑，雇佣全职员工参与开发，目的（就算不是主要目的，至少也有部分意愿）是推广行业标准（TensorFlow）、测试公司产品（Fedora）、汲取社区智慧改进产品（OpenJDK）、低价倾销后续收费（一些国产“开源”软件如Discuz）……
这类开源产品大部分影响深远，具有改变行业的力量。既达成了企业的商业目的，又造福了所有用户。

2. 以兴趣主导的开源项目

无商业公司支撑，没有任何商业目的。多源于某个黑客的一时兴起，“在座的工具都不好用，为什么不自己造一个呢”。或者源于史蒂夫·沃兹尼克“做出好东西就应该让更多的人使用”那种朴素的利他主义。再者就是实验学习性质的作品，在维护作品的同时得到成长。
这类开源项目虽然缺少资金人力，但不乏闪光之作，伟大如Linux自不必说，小领域的如鸣谢中列举的那些接地气的项目同样精彩。

毫无疑问，HanLP是属于后者的，完全基于兴趣，无商业支持，专注一个小众领域，希望做到极致。即使现在做的还不好，也在往好的方向前进。
项目初衷
自然语言处理本来是一个小众的圈子，综合了多个交叉学科的领域知识。不但需要较深的数学基础，还需要实现复杂算法的工程能力，并且语言学知识也不可或缺。
HanLP作为一个开源自由的项目，初衷是降低上述技术门槛，普及统计自然语言处理到生产环境中去。即使只是一个抛砖引玉的项目，也有其坚持的东西。
为什么走统计自然语言处理的方向？因为我不喜欢那些自作聪明的“人工规则”“评分公式”，以及靠此存活的系统或“专家”。这些“人肉智能”及其机械工作应当逐步被机器替代掉。
很高兴最初的想法得到了越来越多的赞同，有越来越多的公司和个人开始关注语料库建设，开始转型到统计模型。
一些不愉快的人和事
除了开源项目本身固有属性外，还有一些不愉快的人和事也在阻碍HanLP的开发进度。我猜以下内容会引起部分人士的不悦，但我依然不吐不快。接受心平气和的技术辩论，但决不伺候下文中的人士。也许这些人士离开后，整个社区风气会好一些。
浮躁的大环境
在目前的创业热潮下，大量商业公司蜂拥而入“数据行业”。前面提到过，自然语言处理是个涉猎较广的交叉学科。其他行业的常规工程师一般对此不感兴趣，却还要被老板逼上梁山，心情烦躁，我能理解。
绝非故作清高，issue区的确有人问出“怎么生成身份证号码”这种问题。我想正常人都不屑与办假证的小贩共事吧。另有某公司想“基于词频和BiGram做98%准确率的分词器”，创业全靠“技术专家”吹牛皮，话不投机半句多。
人以类聚，物以群分。我也没兴趣赶此时髦哗众取宠，虽然水平不高，但脸还是要的。也许避避风头，等这股热潮过去了才好。
基本教养
虽然不想提，但林子大了什么鸟都有。特别是上述大环境下，涌入了个别下九流的人士。issue区，特别是那些没回复的和被closed的issue中，不时可见气势汹汹的质问语气，比如最极端的例子：https://github.com/hankcs/HanLP/issues/428
我在另一个issue中也探讨了一下这个问题，当时issue作者想要更多的支持，比如QQ群之类。我只能很遗憾地回复，由于上述人群，我也爱莫能助，对方也表示理解。做开源项目不图钱，就图个开心，不是么？
把开源当免费
开源的free是自由的意思，而不是免费的意思，更不代表开源社区是廉价免费劳动力。
issue区有被滥用的趋势，部分人喜欢把自己公司老板派的需求发上来，觉得开源项目维护者理所当然有义务帮他干活。常见的口吻是，“我有这样一个需求……”“我的要求是……”
另外，许多提问者也没有好的提问习惯。不会用Markdown也就算了（这其实反应了技术素养），连版本号触发代码都不写，前后因故也不提，问了半天才知道是自己改了代码；这谁猜得到，谁又有耐心猜呢？其实wiki里有篇《如何提问》，但大多数人都不尊重。说句不好听的，你不尊重别人，为什么要别人尊重你呢？
一旦得到满意回复，大多数人马上就消失了，连句谢谢都没有（可能上幼儿园补习礼貌课去了吧）。
有位做企业的朋友曾经说过——

中国的开源项目就像婊子，用完之后没人记得。

话糙理不糙，反映了大环境。估计这些人认为开源项目不但是婊子，还得是免费的婊子。
不尊重版权
如果你有心的话，你会发现我在代码和文章注明了大量的论文引用，一些第三方代码也保留了全部署名。
我希望用户尊重提出了该算法的学者老师、实现了该算法的开源作者。我能在这些研究成果上改进算法库，你能在算法库上做商业应用赚钱，归根结底全是他们的功劳。我还希望借此激发一些高级用户对底层算法的兴趣，不要局限于做浮躁的工程师。
为此，我还注释了几乎全部的核心代码，写了很多附属文档。我衷心希望第一次接触自然语言处理的工程师，也能看懂代码的关键，并最终参与开源，一起完善这个不完美的小项目。最初的设想的确实现了一部分，有越来越多的contributor贡献了代码，谢谢你们！
君子不少，但小人更多。我自己就不止一次见过，将HanLP复制粘贴，所有署名和引用连同包名一起，改成自己的名字，连文档都是照抄，一个个山寨的xxxLP粉墨登场。其中一些还要假惺惺地把“基于贝尔实验室的AC自动机算法”放到最显眼的地方拉拢崇洋媚外者，其居心之龌龊、手段之卑劣，令人发指。
这还只是互联网上露出的冰山一角，在更阴暗的角落，HanLP一定多次被抹掉全部署名，改得面目全非然后重新贩售。我写了那么多的注释，反倒方便贼剽窃吗？
想想就觉得恶心。我完全不介意等这些垃圾公司倒闭之后再做新功能啊（肯定不用等多久的😉）。
结论
issue区的确谈到了1.4版的设想，而且说实话早就研究明白了。关注博客的读者们可能会注意到，长期计划中的GLM\CRF等也研究过了。但就在准备开源的时候，发生了类似上述的不愉快事件，我又恰好处于人生中一个非常忙的阶段，兴趣也转向了更复杂的神经网络语言模型，所以暂停了。
说了这么多正面和负面的情况，最终的结论就是，HanLP有自由的步调；每个人的一言一行都会间接影响开发步调；友好一点，开发积极性就会高一点；恶毒一点，没好处。

谢谢hankcs。
不先通览文档，不调试源代码提出的基础问题，都是懒人，懒的如脖子上围着一圈大饼能饿死的人，谁都帮不了。
hankcs.com上的文章，又有语料又有源码又有论文说明又有步骤解析，在网络上成体系的这样慷慨且持续的优质内容很难得！
随着时间发展，陆续发现其他NLP领域多次提到HanLP的应用，好东西会慢慢体现出价值光芒的，祝福HanLP！

authors: hankcs lowpair

repo: hankcs/HanLP


text:
HanLP.properties 还是hanlp.properties

注意事项
请确认下列注意事项：

我已仔细阅读下列文档，都没有找到答案：

首页文档
wiki
常见问题

我已经通过Google和issue区检索功能搜索了我的问题，也没有找到答案。
我明白开源社区是出于兴趣爱好聚集起来的自由社区，不承担任何责任或义务。我会礼貌发言，向每一个帮助我的人表示感谢。
[ ] 我在此括号内输入x打钩，代表上述事项确认完毕。

版本号

当前最新版本号是：
我使用的版本是：
我的问题
基于maven项目，配置HanLP.properties， 通过IDE调试，发现能正确加载指定目录的字典库。但是打包成jar，就发现，每次都是加载相对目录，即hanlp自带jar里的字典库。不管HanLP.properties 的配置如何调整，都无效。改成全部小写：hanlp.properties  即可。
虽然操作系统上 HanLP.properties 和hanlp.properties 都是指同一个文件，但源码里指明了是：hanlp.properties 。
复现问题
HanLP.properties 改成hanlp.properties 后问题解决。
如果改成HanLP.properties ，则又会读取相对目录。

现在之前提到，无法生成bin的问题也解决了。。。。原来之前一直加载默认jar里的词典。


text:
Snapshot diffs

Would save a significant amount of space for rollback-heavy games

might be related: discard snapshots that have no diff

authors: hankjordan ua-kxie


text:
🛑 nextcloud is down

In 48ce41c, nextcloud ($URL_NEXTCLOUD) was down:

HTTP code: 0
Response time: 0 ms

Resolved: nextcloud is back up in deab2c1.

repo: hansluk/status


text:
Updated tags data structure

GetMembers method was failing due to a change in how tags are represented from an array of string into an array of {int, string}.

I'm not sure if this is quite right. For creating a member, you an still use a slice of strings. I don't know if you can also use an object without an ID or something? The fix I've been using is here:
https://github.com/hanzoai/gochimp3/pull/43


text:
Concept properties are not being saved while using the operation apply-codesystem-delta-add

Concept properties are not being saved while using the operation $apply-codesystem-delta-add
To Reproduce
Steps to reproduce the behavior:

POST fhir/CodeSystem/$apply-codesystem-delta-add
send the following request
{
"resourceType": "Parameters",
"parameter": [
{
"name": "system",
"valueUri": "test.com/testProp"
},
{
"name": "codeSystem",
"resource": {
"resourceType": "CodeSystem",
"concept": [
{
"code": "testPropCode1",
"display": "testPropDispaly1",
"property": [
{
"code": "code1",
"valueString": "testPropPropertyVal1"
}
]
}
]
}
}
]
}

the concepts are being added well but properties are not saved at all.
Expected behavior
Concepts and their properties should saved
Environment:

HAPI FHIR 4.1.0
OS: [windows]
Browser [chrome]

@jamesagnew :I am interested in solving this problem; I have implemented the code fix for it

@jamesagnew
In case no one is working on this; I would like to work on it.

repo: hapifhir/hapi-fhir


text:
Refactor BaseHapiFhirDao.getOrCreateTag method to run in a separate thread for XA transaction compatibility

XA Transaction Issue with HAPI FHIR and PostgreSQL
We are experiencing issues in our HAPI FHIR application when using XA transactions, similar to those reported in issue #3412.
Problem
The PostgreSQL JDBC driver's PGXAConnection does not support suspend/resume operations, as detailed in the official documentation. This limitation causes exceptions when the PROPAGATION_REQUIRES_NEW transaction propagation behavior is used in XA environments, since it requires suspending the current transaction and resuming it later.
Proposed Solution
Refactor the getOrCreateTag method in BaseHapiFhirDao to use run in a separate thread, using the thread executor, preventing any suspension of the current transaction. Retrieve the tag in the current transaction using futures.
This change will make the application compatible with XA transactions in PostgreSQL by avoiding the suspend/resume requirement.

closes #3412

FYI @michaelabuckley all tests go green now

authors: iyt-trifork jkiddo


text:
Kubernetes Without Docker Runtime

Hello,
Have you had any experience using this with k8s that is not using Docker as a container runtime?

This code explicitly uses the Docker API, but you probably want this version:
https://github.com/hardillb/k8s-ingress-to-avahi

Thanks for your quick response.
I had a look at your other repo, but it is run from outside the cluster. It would be great to have the option of running it in the cluster with a ServiceAccount for authenticated access to the kube-api.
Thanks.

Feel free to submit a pull request to improve the project

authors: bdsoha hardillb

repo: hardillb/nginx-proxy-avahi-helper


text:
Error running bin/console

The README indicates that we should be able to run bin/console to experiment. Either this is no longer relevant or it should be fixed as it results in the following error:
vscode ➜ /workspaces/matey (main ✗) $ bin/console
/usr/local/bundle/gems/view_component-2.69.0/lib/view_component/collection.rb:3:in `<top (required)>': uninitialized constant Rails (NameError)

Great fix @johnmal-dev 🙇

repo: harled/matey


text:
Use project.version as default for gradleDist.customDistributionVersion

Using the project's version is a reasonable default. It follows the Gradle philosophy of "convention over configuration".

@tudortimi Code Review please :)

@piotrminkina I'm not the repo owner :D

@piotrminkina I'm not the repo owner :D

I know that, but what's the problem? You can always contribute in such a way to at least test it. You can download the repo and include it using includeBuild() in settings.gradle.

authors: piotrminkina tudortimi


text:
[DOC-3107] Update SMP titles for SEO

Update SMP titles for SEO - put titles back in place
For reviewers, a preview is available.
What Type of PR is This?

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

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

Issue(s)

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

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

authors: bot-gitexp-user brian-f-harness

repo: harness/developer-hub


text:
[DOC-3263] Overview topic

Preview link - https://64911ade44734c5c324f13aa--harness-developer.netlify.app/docs/platform/AI-Copilot/generative-AI-for-products
What Type of PR is This?

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

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

Issue(s)

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

[ x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

authors: bot-gitexp-user rashminandasahoo


text:
updated module ordering & added new modules to footer

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

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

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

Issue(s)

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

[x] Tested Locally
[ ] Optional Screen Shoot.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6573b52091acff7ea7ca0712--harness-developer.netlify.app

authors: bot-gitexp-user schoudhury


text:
Update ecs-deployment-tutorial.md

add camel case distinction
add JSON for scalable target and scalable policy
Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: added camel case distinction, added JSON for scalable target and scalable policy
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66ce5b2e401f1ca9b9b7aa9d--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://66ce6d2988b5caba24b43842--harness-developer.netlify.app

authors: bot-gitexp-user lorenyeung


text:
SCS: Fix Variable Expressions for Artifact Digest fields

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6749451887420fea2e485300--harness-developer.netlify.app

authors: bot-gitexp-user tejakummarikuntla


text:
FFM-6412 - Flags with multiple prerequisites evaluating incorrectly

FFM-6412 - Flags with multiple prerequisites evaluating incorrectly
What
Fix prerequisites loop in the evaluator code
Why
Only the first parent feature is being processed by the evalator due to the loop exiting too early.
Testing
TestEvaluations_ServerSDK
The following tests now pass with this fix
Custom_SDK_:Type=BoolWith2JSON;State=Enabled;On=True;Off=False;Prereq=AlwaysOn;AlwaysOff;Return_False
Custom_SDK:Type=BoolWith2JSON;State=Enabled;On=True;Off=False;Prereq=AlwaysOn;AlwaysOnToo;Return_False
Custom_SDK:Type=BoolWith2Str;State=Enabled;On=True;Off=False;Prereq=AlwaysOn;AlwaysOnToo;Return_False
Custom_SDK:Type=BoolWith2Bool;State=Enabled;On=True;Off=False;Prereq=AlwaysOn;AlwaysOnToo;Return_False
Custom_SDK:Type=JSONWith2Bool;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOnToo;Return_Val
Custom_SDK:Type=JSONWith2JSON;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOff;Return_Val
Custom_SDK:Type=JSONWith2JSON;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOnToo;Return_Val
Custom_SDK:Type=JSONWith2Str;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOff;Return_Val
Custom_SDK:Type=JSONWith2Str;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOnToo;Return_Val
Custom_SDK:Type=JSONWithJSONBool;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOff;Return_Val
Custom_SDK:Type=JSONWithJSONBool;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOnToo;Return_Val
Custom_SDK:Type=JSONWithJSONNum;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOnToo;Return_Val
Custom_SDK:Type=JSONWithJSONStr;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOff;Return_Val
Custom_SDK:Type=JSONWithJSONStr;State=Enabled;On=Com;Off=Val;Prereq=AlwaysOn;AlwaysOnToo;Return_Val
Custom_SDK:Type=NumWith2Bool;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOnToo;Return_0.11
Custom_SDK:Type=NumWith2JSON;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOff;Return_0.11
Custom_SDK:Type=NumWith2JSON;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOnToo;Return_0.11
Custom_SDK:Type=NumWith2Str;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOff;Return_0.11
Custom_SDK:Type=NumWithNumBool;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOnToo;Return_0.11
Custom_SDK:Type=NumWithNumStr;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOff;Return_0.11
Custom_SDK:_Type=NumWithNumStr;State=Enabled;On=2;Off=0.11;Prereq=AlwaysOn;AlwaysOnToo;Return_0.11

Codecov Report
Patch coverage has no change and project coverage change: -0.02 :warning:

Comparison is base (f972833) 60.87% compared to head (783269e) 60.86%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@             Coverage Diff              @@
##               main     #156      +/-   ##
============================================
- Coverage     60.87%   60.86%   -0.02%
- Complexity      355      356       +1
============================================
  Files            31       31
  Lines          1761     1763       +2
  Branches        194      195       +1
============================================
+ Hits           1072     1073       +1
- Misses          539      540       +1
  Partials        150      150

Impacted Files
Coverage Δ

.../main/java/io/harness/cf/client/api/Evaluator.java
85.00% <0.00%> (-0.30%)
:arrow_down:

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

authors: andybharness codecov-commenter

repo: harness/ff-java-server-sdk


text:
Pl 31585

Describe your changes
Fixed User Resource
Comment Triggers

PR Check triggers

Build: trigger build
Sub Category Field Check: trigger subcategoryfieldcheck

trigger subcategoryfieldcheck

trigger build

trigger subcategoryfieldcheck

trigger subcategoryfieldcheck

trigger build

authors: rathodmeetsatish rijajoo

repo: harness/terraform-provider-harness


text:
Highlight mentions?

Thank you for this awesome library!
Would you know how can we add the option to highlight the mentions after selection?

You can use ParsedText. Check out this library react-native-parsed-text

@lizzieshipwreck you can use parsedText as a children of TextInput and you're good to go....
Example:
<TextInput
...props>
<Parsedtext
...props>
thi.state.text //Dont user value prop of textInput

Got you, thank you for the answers!

You can try a react-native-controlled-mentions that is not rich in configuration yet but enough stable for use in projects.
https://www.npmjs.com/package/react-native-controlled-mentions

@dabakovich thanks! I think you should add there some screenshots, it‘s hard to get an impression without them

@dabakovich thanks! I think you should add there some screenshots, it‘s hard to get an impression without them

Thanks! I plan to add demo gifs later. But for now you can play with the library on Expo Snack that I think it's much better then just looking at the pictures.

@Abhishek-Sankey Can you provide an example of how to use it? If I provide children to MentionsTextInput then the suggestions popup does not work.
    <MentionsTextInput
      textInputStyle={{ borderColor: '#ebebeb', borderWidth: 1, padding: 5, fontSize: 15 }}
      suggestionsPanelStyle={{ backgroundColor: 'rgba(100,100,100,0.1)' }}
      loadingComponent={() => (
        <View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
          <ActivityIndicator />
        </View>
      )}
      textInputMinHeight={30}
      trigger={'@'}
      triggerLocation={'new-word-only'} // 'new-word-only', 'anywhere'
      onChangeText={(val) => {
        setValue(val)
      }}
      triggerCallback={callback}
      renderSuggestionsRow={renderSuggestionsRow}
      suggestionsData={data} // array of objects
      keyExtractor={(item, index) => item.id}
      suggestionRowHeight={45}
      horizontal={false} // defaut is true, change the orientation of the list
      MaxVisibleRowCount={3} // this is required if horizontal={false}
    >
    {value}
    </MentionsTextInput>

@dabakovich most people won’t try a UI library before they see some screenshots...

@The0racle I haven't used react-native mentions for implementing mentions. Instead, used  for taking input, made my own component to render suggestions, and used react-native-parsed-text to highlight the mentions. This way you can implement mentions or hashtags easily.

@The0racle I haven't used react-native mentions for implementing mentions. Instead, used for taking input, made my own component to render suggestions, and used react-native-parsed-text to highlight the mentions. This way you can implement mentions or hashtags easily.
The only issue I'm having is: I want to show firstName lastName just like Facebook does, instead of showing the only username(Instagram does this). I'm open to suggestions.

@dabakovich tried your expo project. It misbehaves when you have more than one mentions

@Abhishek-Sankey Got it. Thanks!

@dabakovich most people won’t try a UI library before they see some screenshots...

You are right. Just added a demo gif to the package home page :)

@dabakovich tried your expo project. It misbehaves when you have more than one mentions

Thanks a lot for your comment! Unfortunately expo snack was using an outdated library version. The bug is fixed already. You can try it again if you wish.

@Abhishek-Sankey Could you share your code? I'm using a TextInput the same way you did, with react-native-parsed-text inside the TextInput, but I'm having the following issue:

Mentions somebody; parsing works fine and mentions is displayed;
When a move the TextInput cursor after the mention, it goes back to being a normal text.

@Abhishek-Sankey Could you share your code? I'm using a TextInput the same way you did, with react-native-parsed-text inside the TextInput, but I'm having the following issue:

Mentions somebody; parsing works fine and mentions is displayed;
When a move the TextInput cursor after the mention, it goes back to being a normal text.

@The0racle unfortunately, it doesn't work that way. Against, you can check this react-native-controlled-mentions library. It uses one workaround to solve the highlighting issue more gracefully.

Thanks @dabakovich. I had checked your library before but it seems you fixed the issues I encountered. I'll let you know if it works.

Thanks @dabakovich. I had checked your library before but it seems you fixed the issues I encountered. I'll let you know if it works.

@Abhishek-Sankey Can you provide an example of how to use it? If I provide children to MentionsTextInput then the suggestions popup does not work.
    <MentionsTextInput
      textInputStyle={{ borderColor: '#ebebeb', borderWidth: 1, padding: 5, fontSize: 15 }}
      suggestionsPanelStyle={{ backgroundColor: 'rgba(100,100,100,0.1)' }}
      loadingComponent={() => (
        <View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
          <ActivityIndicator />
        </View>
      )}
      textInputMinHeight={30}
      trigger={'@'}
      triggerLocation={'new-word-only'} // 'new-word-only', 'anywhere'
      onChangeText={(val) => {
        setValue(val)
      }}
      triggerCallback={callback}
      renderSuggestionsRow={renderSuggestionsRow}
      suggestionsData={data} // array of objects
      keyExtractor={(item, index) => item.id}
      suggestionRowHeight={45}
      horizontal={false} // defaut is true, change the orientation of the list
      MaxVisibleRowCount={3} // this is required if horizontal={false}
    >
    {value}
    </MentionsTextInput>

Same problem here since MentionTextInput requires the value. When I pass in the Value then the textinput content will be repeated...  When I remove the highlight mention works but suggestions doesn't.
Any helps, please.
Thanks a lot

@Abhishek-Sankey Can you provide an example of how to use it? If I provide children to MentionsTextInput then the suggestions popup does not work.
    <MentionsTextInput
      textInputStyle={{ borderColor: '#ebebeb', borderWidth: 1, padding: 5, fontSize: 15 }}
      suggestionsPanelStyle={{ backgroundColor: 'rgba(100,100,100,0.1)' }}
      loadingComponent={() => (
        <View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>
          <ActivityIndicator />
        </View>
      )}
      textInputMinHeight={30}
      trigger={'@'}
      triggerLocation={'new-word-only'} // 'new-word-only', 'anywhere'
      onChangeText={(val) => {
        setValue(val)
      }}
      triggerCallback={callback}
      renderSuggestionsRow={renderSuggestionsRow}
      suggestionsData={data} // array of objects
      keyExtractor={(item, index) => item.id}
      suggestionRowHeight={45}
      horizontal={false} // defaut is true, change the orientation of the list
      MaxVisibleRowCount={3} // this is required if horizontal={false}
    >
    {value}
    </MentionsTextInput>

Same problem here since MentionTextInput requires the value. When I pass in the Value then the textinput content will be repeated... When I remove the highlight mention works but suggestions doesn't.
Any helps, please.
Thanks a lot

Hi! I'm trying to highlight mentions, did you find something to fix it?
Thanks in advance!

authors: Abhishek-Sankey The0racle anhquan291 azkahi dabakovich erickgtzh oferRounds

repo: harshq/react-native-mentions


text:
mysql permission issues

Hello All,
Could you advise of cause on this error and support a solution?
Running command:
docker run -it --rm \
		    -v /docker/misp-db:/var/lib/mysql \
		    harvarditsecurity/misp /init-db &&

Met with:

chown: cannot read directory '/var/lib/mysql': Permission denied
chown: changing ownership of '/var/lib/mysql': Permission denied
Cannot change ownership of the database directories to the 'mysql'
user.  Check that you have the necessary permissions and try again.
chown: cannot read directory '/var/lib/mysql': Permission denied

I looked into container file system and permissions of the mysql folder is set to "root" though unable to access.
Thank you!

Disregard - unaware the host needed to meet a "matching"  build requirement first.

@RANGERBEE Just curious - what do you mean by matching build requirement?

Thought I simply needed to run docker environment and build - unaware the host had dependencies:
https://github.com/MISP/MISP/blob/2.4/INSTALL/xINSTALL.centos7.txt

@RANGERBEE I think there might be some confusion here.
These do not apply here - they are for CentOS.
The docker image is based on Ubuntu and it just works out of the box "as is".
You don't need any other pre-requirements. It's all self contained.

Yes that was the issue. Was installing onto a Centos7 minimal build.
Was just trying to NOW to build centos instance to support the Ubuntu container.
Do I need anything more than an Ubuntu minimal iso install and docker to support the image?

If your host (docker "engine") is CentOS -- that's not a problem.
The host abstracts the container system. The container itself however is Ubuntu, but all of the dependencies are provided for you (see: https://github.com/harvard-itsecurity/docker-misp/blob/master/container/Dockerfile)
As long as you have a functional docker engine and the Ubuntu:16.04 container, you should be fine.
You can test your setup by doing:
docker run -it --rm ubuntu:16.04 /bin/bash

If that works - you are good to go.

@ventz  Thank you!!  Saved me some work.
I am working on a Centos host and the Ubuntu container starts just fine.
My originally stated issue persists.
I was looking at the Docker build file and noticed the Volume mount.
Does this not require the host to have that "/var/lib/mysql" pre-existing or does Docker create the folder upon build followed by mount - for storage persistence?    Could this be my issue?
Thank you again for the quick response!

Docker will create it for you -- everything is abstracted into $docker-root/misp-db if you are following the tutorial/example.
If you are using /docker for $docker-root, I would suggest this:
# rm -Rf /docker/misp-db
# mkdir -p /docker/misp-db

And then start with the 1-3 steps.

@ventz  I still have this annoying error that I can not find a solution.
I did include your last suggestion.
Met with:

chown: cannot read directory '/var/lib/mysql': Permission denied
chown: changing ownership of '/var/lib/mysql': Permission denied
Cannot change ownership of the database directories to the 'mysql'
user.  Check that you have the necessary permissions and try again.
chown: cannot read directory '/var/lib/mysql': Permission denied
180511 18:32:46 mysqld_safe Logging to syslog.
180511 18:32:46 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directo                                    ry")
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directo                                    ry")
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directo                                    ry")
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directo                                    ry")
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directo                                    ry")
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directo                                    ry")
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directo                                    ry")
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directo                                    ry")
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2 "No such file or directo                                    ry")
touch: cannot touch '/var/lib/mysql/.db_initialized': Permission denied
chown: cannot read directory '/var/lib/mysql': Permission denied

everything else looks to work fine..
Any ideas?

It looks like mysql:mysql is not being applied via chown in the Dockerfile...  (?)

@RANGERBEE I think you are looking at the local file system (the host) instead of the container file system.
The entire docker file system will be in /docker/misp-db on the host.
The other possibility is that selinux is applying something to / on the host, and preventing docker access. The easiest way to check that is to change your docker root to /root/docker and create a /root/docker/misp-db, and try it there.

@ventz  Thanks.
I will check that out.
The directory you see in the image is from the container. ( I use Rancher to manage)
I prep my hosts with this script code:( see anything ?)
                        sed -i -- "s/SELINUX=.*/SELINUX=disabled/g" /etc/sysconfig/selinux &&
			cat /etc/sysconfig/selinux;
			sysctl -w vm.swappiness=1;
			sysctl -w vm.max_map_count=262144;
			sed -i -e "\$avm.max_map_count=262144" /etc/sysctl.conf &&
			chcon -R system_u:object_r:admin_home_t:s0 /opt/MISP/;
			groupadd docker;
			usermod -aG docker $USER;
			gpasswd -a $USER docker;
			cd /usr/libexec/docker;
			ln -s docker-runc-current docker-runc;

Thanks for your time!!

The first line will disable selinux but only after a reboot (in case you have not rebooted yet)
Ah - you are not launching the container as root -- that's the issue I believe.
(If you are adding $USER, that $USER would have to have ownership rwx of /docker)

@ventz Thank you.
I will be circling back around to thie CentOS host to check against that folder...  Currently have it running in an Ubuntu host just fine for my PoC.
Side note: have you given thought to using these base images?
https://github.com/whiteops-dot-com/centos-baseimage
https://github.com/phusion/baseimage-docker
Thanks again!

Np - glad it's working.
I have -- the phusion one is very popular (and they make a great point about "multiple processes" vs vs "logical level services", which a lot of people argue on re: "fat containers" and how you should run "1 thing" in a docker container).
With this container, the the goal was to follow the manual MISP instructions as close as possible, for two reasons:
1.) to stay ideally as close as possible to the upstream branch so that we can effortlessly update as it updates. We chose Ubuntu because we think it's a better OS choice for this kind of stuff (vs CentOS/RHEL which tends to be ideal for a flat appliance that doesn't require the latest package versions, and needs stable packaging that doesn't change)
2.) to only add additional "docker specific" things, and convenient automation of the original steps. (ex: if there are 5 steps - adding a single step that automates the 5 is acceptable)
This really summarizes as: we wanted this truly to be an official docker version of the official MISP release. There are a lot of extra features we can add, but we tried holding off of that.
That said, for other images - there's nothing wrong with using the phusion container. I am not quite convinced on the need for ssh, but I would argue that having cron is needed, and having an init system is basically a must. Back to the phusion argument, the philosophy of docker that's "one thing per container" is really one service, versus one process. I think it's much worse to launch 5 containers for 1 service, rather than 1 container with 5 processes for 1 service.

Rebuilt the Centos7 instance -
add the following to my prep script:
mkdir /docker;
mkdir /docker/misp-db;
chown -R 1000:1000 /docker;
cd /opt/docker-misp;

Then build / init / run all working fine now...
Thanks!

authors: RANGERBEE ventz

repo: harvard-itsecurity/docker-misp


text:
[BUG] Upgrade is stuck in "Pre-drained" state (Volume has too many system snapshots)

Describe the bug

The upgrade is stuck and one node is in pre-drained.

By looking Longhorn GUI, we know the node can't de drained due to it contain the last healthy replica:

The volume seem to have 249 system snapshots and can't continue the rebuilding process.

Here is the file list to list replica directory on draining node:
https://gist.github.com/bk201/30a1ea0b250b04fa3da1f7e3147dfae0
Workaround
Delete the latest system snapshot:

To Reproduce
Steps to reproduce the behavior:

Upgrade from Harvester v1.0.2 to v1.0.3-rc2.

Expected behavior

The upgrade should not be stuck.
Support bundle

supportbundle_fef3afe2-169c-42e8-b98e-221821a50467_2022-08-09T07-21-58Z.zip
Note: the support bundle is captured after applying workaround.
Environment

Harvester ISO version: v1.0.3-rc2
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Bare-metal servers

Additional context
The volume somehow was already in this state before performing the upgrade, we can have a check to prevent user from upgrading Harvester if there are abnormal volumes .
Related longhorn issue: https://github.com/longhorn/longhorn/issues/2988

The fix https://github.com/longhorn/longhorn/issues/3828 is merged.

in the Harvester v1.2.0-rc1, LH is already bumped to v1.4.2 , close as this is verified on https://github.com/longhorn/longhorn/issues/3828#issuecomment-1321512609

repo: harvester/harvester


text:
[BUG] restricted admin can't add cluster members in RBAC Harvester menu

Describe the bug

You get an error when trying to add a cluster member via RBAC in the Harvester UI through Rancher virtualization management
To Reproduce
Steps to reproduce the behavior:

Import Harvester into Rancher
Add a restricted admin user named rstradmin
Add a user named cluster that is a standard user
Log out of admin and log in as rstradmin
Navigate to virtualization management and open up the Harvester UI
Navigate to RBAC
Add cluster as a cluster member

Expected behavior

They should add with no error
Support bundle

supportbundle_ea1fee70-66c4-48e4-aecd-e4c0104857cf_2022-11-23T22-24-13Z.zip
Environment

Harvester ISO version: v1.1.1-rc2
Rancher version: v2.7.0 (single docker node install)
Underlying Infrastructure (e.g. Baremetal with Dell PowerEdge R630): Single node vagrant install with bonded NIC on management interface

Additional context
Add any other context about the problem here.
This works fine with admin. I haven't had a chance to see if this is happening on v2.6.9 yet.

Probably an upstream issue in the previous version, I have verified that with Harvester v1.2.0-rc2 and Rancher v2.7.5-rc5, a restricted admin can add standard users to the cluster as cluster members correctly. @noahgildersleeve, please help to check it again using the latest version, thanks.

Tested in Harvester master-20ca0b3e-head and Rancher v2.7.5. Verified that cluster member could be added to RBAC.

authors: guangbochen noahgildersleeve