Fix GC log parameters for JDK 11

It didn't work with JDK 8 either, as JVM didn't have permissions to create the
logs directory, but it became a fatal error in JDK 11.
JVM flags like UseGCLogFileRotation are not supported anymore and Kafka
startup script sets its own values anyway.
Follow up on: #182

👍

:+1:


Papago Support

It's a great MT Plugin.
Please support Papago Translation as well.
Thanks!

I've added PaPaGo support, but since I don't have an account, I can't test it out.
Also, according to PaPaGo's docs, I couldn't find any info on its rate limits, and it doesn't seem to support batch translations or HTML tags.

Thanks for your quick response!
I've just tested v1.1.1 and it works great with Papago.
Btw, I've found that error code N2MT08 which means 'text parameter exceeds max length' in Papago.
And it seems there's a limitation of text length, too. if I found detail specification, I'll let you know later.
Thanks!


Leaving "text" empty in the config shows up as "==" in game

Config

Have you tried to enter space symbol into text field?


sample yaml is broken

https://learn.microsoft.com/en-US/azure/azure-monitor/essentials/prometheus-remote-write-managed-identity#deploy-side-car-and-configure-remote-write-on-the-prometheus-server
the sample yaml here is full of tabs and unusable.
it is quite difficult to fix the yaml manually for deployment (manually switching the tabs to spaces did not work; I guess there was another problem with indentation... ChatGPT was able to fix it for me).
please fix the sample so customers can deploy the feature easily without first having to debug it first. Thank you!

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

ID: 82f22a1d-fde8-1953-4415-1a40e93ae779
Version Independent ID: 20c8a32f-a758-f899-a7a5-9c70151ef519
Content: Remote-write in Azure Monitor Managed Service for Prometheus using managed identity - Azure Monitor
Content Source: articles/azure-monitor/essentials/prometheus-remote-write-managed-identity.md
Service: azure-monitor
Sub-service: essentials
GitHub Login: @EdB-MSFT
Microsoft Alias: edbaynash

@Nustinian Thanks for your comment! We will review and provide an update as appropriate.

@Nustinian Thanks for bringing this up. We have verified and raised a pull request to update the document as required. Once it is merged in a couple of days, the update will go live. Thanks again!


Make trade screen default if you have an open position

We can assume if a position is leverage 1 and short he is using Pegz and we jump to the Pegz screen


Func to determine if query is mutating or non-mutating.

In our application we need to determine if queries are mutating or non-mutating so we can determine if we should set the "ReadOnly" option true on our Postgres database transaction.
https://golang.org/pkg/database/sql/#TxOptions
Would it be useful to have a func to do this?

We typically use different structs for queries and mutations, then use embedding to combine them for GraphQL Go.
type resolvers struct {
    mutations
    queries
}

type mutations struct {
}

type queries struct {
}

You could then have mutations and queries implement an interface that indicates read only or not and pass it into wherever you need.

Typically all mutation resolvers are mutating. So you can easily do this outside of the library. As @duckbrain has pointed out this can be done in your mutation resolvers. I'd like to keep the library as minimalistic as possible. I'm closing this issue as it's not directly related to the library.


KeyError: 'weight' with sklearn.feature_selection.SelectFromModel

Hi,
I'm using scikit-learn automatic feature selection together with a trained XGBoost model.
I set up a threshold to interrupt the feature reduction process when accuracy falls below it.
I think everything is fine in the loop, but when I use SelectFromModel.transform() I receive the following error:
Traceback (most recent call last):
  File "boost.py", line 581, in <module>
    s_train_x = selection.transform(train_x)
  File "/home/guido/.virtualenvs/ml/lib/python3.6/site-packages/sklearn/feature_selection/_base.py", line 77, in transform
    mask = self.get_support()
  File "/home/guido/.virtualenvs/ml/lib/python3.6/site-packages/sklearn/feature_selection/_base.py", line 46, in get_support
    mask = self._get_support_mask()
  File "/home/guido/.virtualenvs/ml/lib/python3.6/site-packages/sklearn/feature_selection/_from_model.py", line 178, in _get_support_mask
    scores = _get_feature_importances(estimator, self.norm_order)
  File "/home/guido/.virtualenvs/ml/lib/python3.6/site-packages/sklearn/feature_selection/_from_model.py", line 18, in _get_feature_importances
    coef_ = getattr(estimator, "coef_", None)
  File "/home/guido/.virtualenvs/ml/lib/python3.6/site-packages/xgboost/sklearn.py", line 716, in coef_
    coef = np.array(json.loads(b.get_dump(dump_format='json')[0])['weight'])
KeyError: 'weight'

I'm using the latest xgboost 1.0.2 with scikit-learn 0.22 and below there is the code I wrote. It's part of a bigger script, so some variable are defined before, but the KeyError should not depend on that.
report = []
prev_t = -1
scores = np.sort(model.feature_importances_)
indices = np.argsort(model.feature_importances_)
misc.msg('Feature selection (threshold = {})...'.format(autosel))
iterator = tqdm(scores)
for i, t in enumerate(iterator):
    if -1 < prev_t == t:
        continue
    prev_t = t
    selection = SelectFromModel(model, threshold=t, prefit=True)
    try:
        s_train_x = selection.transform(train_x)
    except ValueError:
        misc.msg('Incompatible number of features!', 'err')
        sys.exit(1)
    kwargs = {'tree_method': 'hist' if not gpu else 'gpu_hist',
              'grow_policy': 'lossguide' if useloss else 'depthwise'} \
        if not exact else {}
    s_model = xgb.XGBClassifier(objective=model.objective, n_jobs=-1, n_estimators=model.n_estimators,
                                max_depth=model.max_depth, learning_rate=model.learning_rate,
                                subsample=model.subsample, colsample_bytree=model.colsample_bytree,
                                min_child_weight=model.min_child_weight, gamma=model.gamma,
                                reg_alpha=model.reg_alpha, reg_lambda=model.reg_lambda,
                                max_delta_step=model.max_delta_step, random_state=model.random_state,
                                scale_pos_weight=model.scale_pos_weight, **kwargs)
    try:
        s_model.fit(s_train_x, train_y)
    except KeyboardInterrupt:
        misc.msg('Feature selection interrupted', 'warn')
        sys.exit(0)
    s_test_x = selection.transform(test_x)
    s_pred_y = s_model.predict(s_test_x)
    s_accuracy = accuracy_score(test_y, s_pred_y)
    subset = str(list(reversed(indices[i:]))).replace(',', ';')
    report.append([t, s_train_x.shape[1], s_accuracy, subset])
    if s_accuracy < args.autosel:
        iterator.close()
        misc.msg('Accuracy below threshold ({:.6f})'.format(s_accuracy), 'warn')
        misc.msg('Feature subset: {}'.format(conv.values2ranges(indices[i:])))
        break
    gc.collect()

Anyone can reproduce this behaviour?
Many thanks in advance!

Hi, could you please post a more complete script that I can run?

Sure, I will post it here this afternoon, so you can take a look at it.
Thanks!

This is the test.py script:
from sklearn.feature_selection import SelectFromModel
from joblib import load
from h5py import File

if __name__ == '__main__':
    h5 = File('dataset.h5', 'r')
    data = h5['data'][:]
    target = h5['target'][:]
    labels = list(h5['labels'][:])
    model = load('model.mdl')
    selection = SelectFromModel(model, threshold=0.95, prefit=True).transform(data)

This is the requirements.txt file (use the standard pip install -r requirements.txt):
h5py==2.10.0
joblib==0.14.1
numpy==1.18.4
scikit-learn==0.23.0
scipy==1.4.1
six==1.14.0
threadpoolctl==2.0.0
xgboost==1.0.2

These are the dataset and model to be unzipped and put in the same folder as the script.
You can replicate the problem with python test.py.

@GuidoBartoli Hi dude. I've had the same problem. I have used xgboost==1.0.0 version. Upgrading up to recent 1.1.0 helped.

The issue is fixed in #5505 and the example script runs fine on XGBoost 1.1.0.

The issue is fixed in #5505 and the example script runs fine on XGBoost 1.1.0.

Perfect, many thanks!


Running out of memory

I'm using pycobertua to read morethan 1400 coverage files.
My script is being killed as the memory usage is keep on increaing with file, my code looks like below
for file in covfiles:
    cov = cobertua.Cobertua(file)
    for f in cov.files():
        for line in cov.hit_statements(f):
            ***
            ***

I tried  del cov but that didn't help.
I think it is because of  @memoize, my script runs fine when I comment out @memoize.

Hi @kannaiah, thanks for reporting this! I really appreciate it.
Yeah I don't know if memoize makes much of a performance difference. I honestly wrote it without specifically having a performance problem, it just felt like it was doing a lot of the same XML parsing work so I wrote memoize but I realize it might have been premature optimization.
Since you have a lot of files, would you mind running benchmarks with and without memoize and report back if there's a big pricrssing difference? Obviously, since you are running out of memory, you'd have to cut down the number of files you are parsing and find the sweet spot in order for the test runs to complete.
Obviously, memoize could be useful and we'd have to find out what's going on for the memory to not be freed once you are done iterating over a coverage file. Do you want to take a look?

I see the memoize is from
The comment does say that the cache would not be freed and
https://gist.github.com/codysoyland/267733/8f5d2e3576b6a6f221f6fb7e2e10d395ad7303f9#gistcomment-17644
And there is a link to better memoize http://code.activestate.com/recipes/577452-a-memoize-decorator-for-instance-methods/ which I tested and seems to work.

Awesome, thanks for looking into it! Can you submit a pull request if you have a chance?

Fixed by https://github.com/aconrad/pycobertura/pull/89


[Bug]: ReferenceError: Export 'emit' is not defined in module from Jest internals during suite setup.

Version
29.7.0
Steps to reproduce

Clone https://github.com/danfuzz/lactoserv. Note: This is a server-side project, using Node.
Build and run tests, using this command which will run the two tests that seem to conspire to trigger the problem: ./scripts/ubik run-tests --do=build CertUtil RequestDelay

Expected behavior
Both tests pass.
Actual behavior
With some regularity — but not 100% consistently — the RequestDelay test file will fail to load, with Jest writing this to the console:
  ● Test suite failed to run

    ReferenceError: Export 'emit' is not defined in module

      at ../../tester/lib/node_modules/jest-runtime/build/index.js:1567:22
          at Array.forEach (<anonymous>)

Additional context
Hi! First and foremost, I'm sorry that I haven't been able to distill this to a tiny example. But I hope I can make up for that lack by providing a lot of information about what's going on:
It turns out that that message is being reported by _importCoreModule() here https://github.com/jestjs/jest/blob/559449e5a0a87210324720b56caa55b2e0ad3c94/packages/jest-runtime/src/index.ts#L1771. Specifically, it's the call to setExport(), which is on a vm.SyntheticModule (a Node core library class). The complaint amounts to this: When the module is constructed, the name emit was not included in the list of exports, but when the callback came to provide all the exports, the code in fact tried to setExport('emit', ...).
The call to _importCoreModule() is being passed node:process for the moduleName, and indeed the core Node process module does not directly define emit. However, it indirectly defines it by inheriting from EventEmitter. This isn't quite the crux of the problem, though it's related.
The set of pre-declared exports is based on a call to Object.keys() on the module being wrapped, and the calls to setExport() are based on a call to Object.entries() on the same object. These two methods behave identically with respect to inherited properties, skipping them. So, if the module being wrapped didn't change between the two calls, then everything would be okay.
But it turns out that between the call to Object.keys() and the call to Object.entries(), something is directly setting a new emit property directly on the process module, and that's the most-direct cause of the exception, because now Object.entries() is reporting a property that the earlier Object.keys() didn't see. Near as I can tell, the actual value which was set is a transpiled version of the process.emit() wrapper in source-map-support, but I haven't yet been able to catch the system in the act of setting it.
In the runs where the problem doesn't appear, I think process.emit gets set sometime after testing has started but simply (and fortuitously) not when a test is in the middle of loading/wrapping node:process specifically. The notable "feature" of the first test in the repro case (CertUtil) is that it runs pretty slowly, which I'm guessing is significant; it runs slowly but doesn't tend to fail. I'm not sure why the second one (RequestDelay) ends up being the consistent victim.
I figured out that I can work around the problem by explicitly setting required.emit = required.emit in _importCoreModule() when it's given node:process to import. However, I suspect that the right solution is to make sure that the patching of the real global process object happens before any test suites are even loaded.
I should add: The failure often — but not always — gets accompanied by a second ReferenceError:
ReferenceError: You are trying to `import` a file after the Jest environment has been torn down. From<EMAIL_ADDRESS>
Note that in this case the test suite in question never actually ran, and I believe that this additional error is happening because the main problem left the test suite in a bit of an inconsistent state.
I hope this helps!
PS: Before I filed this report, I tried asking on the suggested Discord server, but nobody responded.
Environment
System:
  OS: macOS 14.3.1
  CPU: (8) arm64 Apple M1
Binaries:
  Node: 22.1.0 - /opt/homebrew/bin/node
  Yarn: 1.22.22 - /opt/homebrew/bin/yarn
  npm: 10.7.0 - /opt/homebrew/bin/npm

Update: I can work around the problem a bit more cleanly by putting this:
process.emit = process.emit;

in a file added to setupFilesAfterEnv in the Jest config.

boggle at that workaround.

This smells like a missing await somewhere 🤔
That said, I've run the provided reproduction command 10 times in a row without seeing a failure 😅

Would it help if we did the Object.keys and Object.entries at the same time at the top rather than doing the entries one lazily?
e.g.
const allExports = Object.entries(required);
const exportNames = allExports.map(([name]) => name);

const module = new SyntheticModule(
  ['default', ...exportNames],
  function () {
    // @ts-expect-error: TS doesn't know what `this` is
    this.setExport('default', required);
    for (const [key, value] of allExports) {
      // @ts-expect-error: TS doesn't know what `this` is
      this.setExport(key, value);
    }
  },
  // should identifier be `node://${moduleName}`?
  {context, identifier: moduleName},
);

that should at least make us internally consistent.
I have no idea where emit comes from tho - it's not part of node:process, so something is seemingly messing with it from somewhere.

Hmm, source-map-support does indeed add process.emit like you say: https://github.com/evanw/node-source-map-support/blob/7b5b81eb14c9ee6c6537398262bf7dab8580621c/source-map-support.js#L602-L612
Seems there's a fflag we cna pass to have it not do such weird things

@danfuzz how can I run jest in your repository without going via your script? I wanna try debugging, but the layers of bash scripts is a bit much for me 😅 I just want a node node_modules/.bin/jest CertUtil RequestDelay (maybe with a --config or something if that's something you use)

@SimenB Sorry! The repro instructions predated (by a couple hours) my checking in of the workaround. Give me a moment, and I'll try to put together a branch that still exhibits the problem.

@simenb Try this branch: https://github.com/danfuzz/lactoserv/tree/demo-jest-issue-15077
Note: If you're checking it out from a repo with a pre-existing build, do rm -f out/tester first, because the build script isn't smart enough to notice that the test harness has changed (since it rarely does).
If the run-tests script is getting in the way of your flow, you can do a separate build and then call jest more directly:
$ ubik dev build
[... build build build ...]
$ rm -rf out/tester
$ ubik run-tests
[... let it build the tester then ...]
^C
$ out/tester/bin/jest --config=/...wherever/lactoserv/src/jest.config.mjs CertUtil RequestDelay
[...]
ReferenceError: You are trying to `import` a file after the Jest environment has been torn down. From<EMAIL_ADDRESS>

 FAIL<EMAIL_ADDRESS>  ● Test suite failed to run

    ReferenceError: Export 'emit' is not defined in module

      at ../../tester/lib/node_modules/jest-runtime/build/index.js:1554:16
          at Array.forEach (<anonymous>)

If you want, I can also package up a pre-built tree for you to inspect and use.

I have no idea where emit comes from tho - it's not part of node:process
(https://nodejs.org/api/process.html), so something is seemingly messing with it from somewhere.

I tried to explain it above, but I guess I didn't do a good enough job:
Unlike most core modules, node:process has a nontrivial prototype. Instead of being (more or less) a plain object, it (indirectly) inherits from EventEmitter:
$ node
> process.emit
[Function: emit]
> Object.getPrototypeOf(process)
EventEmitter {}
> Object.hasOwn(process, 'emit')
false
> Object.hasOwn(Object.getPrototypeOf(process), 'emit')
false
> Object.hasOwn(Object.getPrototypeOf(Object.getPrototypeOf(process)), 'emit')
true

Object.keys() and Object.entries() only return the "own" properties of an object, and so process.emit doesn't show up for those… under normal circumstances.
However, Jest installs source-map-support, which does directly store a replacement / override for process.emit directly in the process object. When the error occurs, this installation happens after the Object.keys() in _importCoreModule() but before the Object.entries(). So, the former doesn't list emit, while the latter does. And boom!

Update: source-map-support in Jest is a red herring. I had looked at my own project dependencies to verify that I wasn't including it before, but I failed to notice that one of my dependencies — pem — "secretly" bundles it into itself (which is why what I found was a transpiled version of it). That's arguably pretty bad behavior for what should be a little self-contained module (and I will aim to stop it from happening; its bad behavior affects my system when not under test).
But in any case, this makes it less clear to me to what extent y'all want to consider it a Jest problem:

It's still the case that modifying a Node core module in the middle of a test can mess the Jest runner up, and (as was suggested above) calling Object.entries() and using that one result to derive the keys to pass to SyntheticModule would avoid the particular blow-up.

But also, this is a case of surprising cross-test interference. If Jest is trying to guarantee that each test runs in a pristine global environment, there is something worth addressing here.

Thanks in advance and arrears for your help!

Update to the update: I'm not the first person to catch pem messing with Jest: https://github.com/Dexus/pem/issues/389

It's still the case that modifying a Node core module in the middle of a test can mess the Jest runner up, and (as was suggested above) calling Object.entries() and using that one result to derive the keys to pass to SyntheticModule would avoid the particular blow-up.

We cna do that to at least avoid the weird disconnect

But also, this is a case of surprising cross-test interference. If Jest is trying to guarantee that each test runs in a pristine global environment, there is something worth addressing here.

Node aren't interested in making that possible, unfortunately: https://github.com/nodejs/node/issues/31852

If anybody comes to this issue for the "good first issue" label - this is what we want: https://github.com/jestjs/jest/issues/15077#issuecomment-2122676289
Code is in https://github.com/jestjs/jest/blob/559449e5a0a87210324720b56caa55b2e0ad3c94/packages/jest-runtime/src/index.ts#L1774-L1786

Node aren't interested in making that possible, unfortunately: nodejs/node#31852

That's unfortunate :( .


Update service-self-service-signup-for-power-bi.md

Completed editing and reviewing this document and added some To Dos about creating content around the Individual Power BI Pro Trial and adding content about self-serve purchase to this document.

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

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

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

#sign-off

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

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


Pull upstream v2.16.105

Instead of pulling in the latest version of the master branch upstream, we can pull the last API-compatible version.

This avoids having to backport enhanceTextSelection
This includes most of the editor goodies
This does not include any of the text layer optimizations

cc @chase @seanaye this was just about ready to go - there is one small tweak to our override of createTextLayerBuilder that gets everything working in monorepo. Once this lands I will tag this and bump monorepo tagged version in that PR [ https://github.com/coparse-inc/app-monorepo/pull/1663 ]
And then once these are landed I'll move the annotation PR on top of this and can get some extra annotation goodies out of the Annotation API. I'm planning to do that in a separate PR and tagged version of pdfjs, so this can bake in the oven on its own before too many extra changes get added.
Please LMK what you think cc @chase @seanaye

cc @chase @seanaye this was just about ready to go - there is one small tweak to our override of createTextLayerBuilder that gets everything working in monorepo. Once this lands I will tag this and bump monorepo tagged version in that PR [ https://github.com/coparse-inc/app-monorepo/pull/1663 ]
And then once these are landed I'll move the annotation PR on top of this and can get some extra annotation goodies out of the Annotation API. I'm planning to do that in a separate PR and tagged version of pdfjs, so this can bake in the oven on its own before too many extra changes get added.
Please LMK what you think cc @chase @seanaye

@awallace Sean made a PR a long while back covering that change and a few other necessary changes: https://github.com/coparse-inc/app-monorepo/pull/1375
I cannot recall if there other minor features that left that PR in draft or if we just got too busy. Either way, might be better to mark Sean's PR as ready and get it merged.

There were no other features it's just to add compat for latest v2

Gotcha - then let's get this pdfjs update in and tagged, and then I'll update the compat PR with the new tag and we're good to go. Thanks!


[Bug] If tweet is two or media types, embeds both as images

if the tweet is an image with a gif, it embeds both as a composite image, with the first frame of the gif used in the composite
Example link:  https://fixvx.com/bigbeerfest/status/1760638922084741177?t=sbKUNZ7Qi-ClQXyXLzrjUw&s=19
Which shows as this

Fixed in latest refactor


File (dxv), should not appear, next to the executable file

Please make it so that: the file (dxv), must appear, in the Temp folder. And after restarting the used file, the old version in the Temp folder must be replaced by the new file (dxv).

a good one 😃
please check if its working as expected https://github.com/builtbybel/ReadySunValley/issues/20

Great, it worked out!
This topic can be closed 😃


Redundant Visibility Specifier

NFC-01C: Redundant Visibility Specifier

Type
Severity
Location

Code Style
Informational
NFTAccessCondition.sol:L21

Description:
The CONDITION_TYPE variable is meant to be usable internally in the system.
Example:
bytes32 constant public CONDITION_TYPE = keccak256('NFTAccessCondition');

Recommendation:
We advise it to be set as internal or private to avoid the generation of a redundant getter function.

fixed by #145


Fridge/Stove/etc Crashes?

My client minecraft crashes when I put an fridge/stove and maybe others devices, I test it on a server and I i dont render the block/device it doesnt crash, on single player crashes too
crash-2024-10-30_09.39.07-client.txt

Immersive portals is causing the crash


Change ExecutionPayload.excess_data_gas type from uint256 to uint64

Opening a PR to track it:
@karalabe raised it on R&D Discord:

Currently the Optimism Go code uses big.Int, which doesn't make much sense
at 76M excess data gas, the price is higher than the total ether in existence

If that (gasUsed) is uint64, then imho the 4844 fields should also be changed

Note: data_gas_used field (added by #3391) should also change to uint64 if this PR gets included.
EIP update PR: https://github.com/ethereum/EIPs/pull/7095

updated: changed data_gas_used (added by #3391) type to uint64 as well


Glint layer mappings

Mapped all the new vertex consumer methods Mojang added to ItemRenderer (most likely in the process of fixing enchantment glints)

Rebased and updated to 1.16.3


Is it possible to have pressable title with it?

Hey! Thanks for this package! Is it possible to attach title to it which will also open the airplay popup?

 Currently this is not possible as it just exposes the native AVRoutePickerView.


stax: fix home text

Update Stax home screen text according to Ledger's request.

closes #84

Just one more comment: our app doesn't just sign transactions, it signs several types of operation.
Wouldn't it be more appropriate to have the text "This app enables signing operations on the Tezos Network"?
Or does the term "transaction" refer to all these types of operation?

Just one more comment: our app doesn't just sign transactions, it signs several types of operation. Wouldn't it be more appropriate to have the text "This app enables signing operations on the Tezos Network"? Or does the term "transaction" refer to all these types of operation?

I'm not sure - Ledger asked for this text (I did raise, but haven't heard back yet). I suspect that it might be more geared towards new users? ie new users are probably only really doing transfers. More advanced users would know the difference, when they start reaching for other operations

LGTM !
Just in case you haven't noticed, the base branch is still on emturner@tooling and should be moved back to main.


how to persist mq data

hi team,
we are migrating to openshift and using gluster fs to mount mq data. we are mounting /mnt/mqm-data and /mnt/mqm-log in glusterfs. we see the qmgr data is getting persist along with log. but when we send some messages in queue after it restart the pod all messages are getting lost.
Need more info how we can persist mq data in persistent volume.

Can you confirm that you are using persistent messages?  For example, a common issue we see is people using utilities like amqsput for testing, which don't set persistent messages by default (you can set the default persistence value for messages on the queue itself).
Otherwise, we would need to see more information about how you've set up your Persistent Volumes.
Please note that we have tested Gluster V3, V4 and V5, and they all have issues which make it an unsupported filesystem for MQ.  See Testing statement.  Note however, that this is due to a locking limitation, and is not the problem you are seeing here.

Hi,
I was trying to test with amqsput which was not persisting in pvc. I tested with application then i was able to see. but for some queue we observed its still not persisting which is very weird behavior, Also another observation when we make queue property Defpersist to true the processing is happening very slow. MQ is picking messages very slow.
Please let me know what all pvc info you need?


Implement Carebot analytics

https://github.com/thecarebot/carebot-tracker

Library is meh, decided on recording instead


ILRepack build fail on JetBrains Rider

@gluck I have a C# source generator project where I use ILRepack to package its dependencies. The project builds fine in Visual Studio but fails in JetBrains Rider.

While searching for a solution, I found the JetBrains.Build.ILRepack package. The description is not very informative and I can't find its source, so I'm not sure what it does. I tried using it to replace ILRepack.MSBuild.Task but the build still fails.
Should this package fix the build issue? How is it supposed to be used?

The build issue is not just related to Rider. It's a MSBUILD issue.
Still, it would be nice to know what this package is for...


Fix Rust compiler errors

Note that these errors were found with this script I'm working on, which may become a CI job:
https://github.com/holochain-ci/check-rust-slides-action/blob/main/check.ts
Bonus: trailing whitespace trimmed by my editor.

Wow. This is amazing!

Wow. This is amazing!

💜


Support for expo go

Is this package work for expo go? bcz i tried but not working

Hello, @Habeeb-007 I tried expo go a few weeks ago, can you send the errors you are getting?

We close this issue because it is not possible to add support for expo go, since this library has native dependencies.


add proguard config

Good work this is vital when others intergrate this into their projects. Sometimes it will save hours time for other develpoer.

Thanks for your PR. It is a good idea to have this added to de README.md for now, when I release the .aar I will include the proguard configuration in there so there is no need for the user to take this into account.


Feat/adapt bulker to safe

Description of change

Pull-Request Checklist

[ ] Code is up-to-date with the main branch
[ ] This pull request links relevant issues as Fixes #0000
[ ] There are new or updated unit tests validating the change
[ ] Documentation has been updated to reflect this change
[ ] The new commits follow conventions outlined in the conventional commit spec

This is ok to me, but Ive an architectural improvement proposal:

define an abstract BastTxBuilder class, defining protected functions as abstract, and build Safe.TxHandler & Bulker.TxHandler on top

I'd agree, but if we manage more than two TxHandler. Right now I think the form is really more simple, and avoid to fetch a long inheritance chain. To me, it just adds more complexity for no concrete benefits. It will still be time to define an abstract class later, with a (maybe) third TxHandler. Moreover, the Interfaces are there exactly for that, and we already defined a IBatchTxHandler.

This is ok to me, but Ive an architectural improvement proposal:

define an abstract BastTxBuilder class, defining protected functions as abstract, and build Safe.TxHandler & Bulker.TxHandler on top

I'd agree, but if we manage more than two TxHandler. Right now I think the form is really more simple, and avoid to fetch a long inheritance chain. To me, it just adds more complexity for no concrete benefits. It will still be time to define an abstract class later, with a (maybe) third TxHandler. Moreover, the Interfaces are there exactly for that, and we already defined a IBatchTxHandler.

Too late haha
I had mixed feelings towards these two positions. I decided to change it because there's no emergency and I thought it would be a good exercise in term of code design for blue.
I think we should use these opportunities to try new things that are obviously cleaner

Too late haha
I had mixed feelings towards these two positions. I decided to change it because there's no emergency and I thought it would be a good exercise in term of code design for blue.
I think we should use these opportunities to try new things that are obviously cleaner

I get your point. I didn't disagree with the choice to isolate the BaseBulker. I think we should just pay attention to not over-engineer, and to avoid cognitive overload (the more layer you have, the more complexity you have too), and that we could have kept things as they were.
The final form is great, and I think the change is good. It was just not mandatory for me, but maybe as an FP guy, having layer of inheritance is complicated for my mind. 😅


highlighter.highlightSelection doesn't work with  elements

Hi,
I'm using Firefox 37 x86_64 on Fedora 22 and Rangy 1.3 beta (rev 133c7c6f3f).
highlighter.serialize and removeAllHighlights work as expected even with <iframe> elements, while highlight.highlighSelection doesn't (nothing seems to happen).
Demo (live): https://about.frafra.eu/rangy-iframe-highlighter-bug/
Demo (code): https://github.com/frafra/rangy-iframe-highlighter-bug

The problem is caused by the fact that highlightSelection (and other functions) calls api.getSelection() instead of api.getSelection(this.doc). I think that if an highlighter is created on a custom document, this document should be used as default selection.
Workaround (example):
var customSelection = rangy.getSelection(highlighter.doc)};

highlighter.highlightSelection(style, {selection:customSelection});
highlighter.unhighlightSelection(customSelection)
/* etc. */

Thank you, this is very helpful. I've made a fix and it will be in the next version,


Why I’m not answering the CMU Delphi survey on Facebook

I appreciate what you’ve done and continue to do in epi-forecasting. But it seems to me like the problem in front of us is not so much lack of information as is it is lack of spine.  I think epidemiologists need to join together and say  that we’re (our governments are) doing the exact worst thing. I mean is there an  epidemiologists out there who thinks that the current approach is appropriate? It seems to me like anyone with expertise and foresight must believe that we’re either doing too much or not enough, and the shift in either direction would be better than the status quo.
What’s the plan?
•••••••••••••••••
Plan? MY view: We MUST either step up and tighten (w/quarantines AND/or testing) our state and/or country borders AND get serious about tracing AND other steps to wipe it out OR allow a controlled spread, by unlocking, from youngest to oldest as that is the fastest approach to restoring some kind of normality. politician approval rates are terrible for good reason.  So we’ve got the worst of both worlds. We’re not wiping out the virus AND we’re destroying the economy.  We’re doing the one thing stupider than opening up the economy further, which is not tightening it up enough to wipe out the virus and keep it out. As Mr. Rogers, said I’m so angry I could bite. I don’t hear anybody asking our president or governor or mayor what the long-term plan is!!! We/ Our media must ASK them and more and demand answers and report!  Leaders and health officials seem too ignorant or power-hungry to understand how a privacy-preserving app could be very effective; their myopia is maddening!
Please forgive me if i’m  unable to keep entirely to the issue system guidelines a wee bit here. I just had to get this off my chest. No I’ve never done this before, and expect I won’t again. Crazy times. You can just close this. Please don’t delete it. Or do, but a friendly word would really mean a lot right now. Thanks 🙏.

Hi elvey, thank you for your thoughtful message. Fortunately, there are a large number of people working to support humanity in the pandemic, so collectively, we're not limited to working on one thing at a time. Our group has expertise in statistical modeling, so that's how we're best equipped to contribute. I think you recognize that a data API cannot provide the primary thrust toward increased testing, tracing, and isolation. We do however aim to provide crucial evidence in the arguments that support these policies and inform how, where, and when they are rolled out. I urge you to contact your representatives, not just in D.C. but the people making decisions on state, county, and city levels as well, so that they know that they have your support. Government is constantly trying to strike a balance between what will keep people safe, and what people will not accept -- the reopen protests are a signal that they are already close to the line. If you can make it clear that you are keeping your local community of friends, family, neighbors, and coworkers accountable, policymakers will be more free to do what is needed.


querying an inactive install throws unuseful error

i clicked on an install number in the query list: https://db.mesh.nycmesh.net/admin/meshapi/install/9173
this was never installed (does not have NN and does not show "Active" in the "Install Status").  it launches MeshDB Admin anyway with the error "Install with ID “9173” doesn’t exist. Perhaps it was deleted?"
blank admin screen with one line of error is hard to parse visually.
perhaps in this case it should bring you to a different screen or display a popup.
and if it has an NN but is no longer Active, show appropriate message as well.

Ah, this is just some broken links. Fixed here: https://github.com/nycmeshnet/meshforms/pull/107

Whoops that didn't actually fix it, got it here: https://github.com/nycmeshnet/meshforms/pull/132


tiktok cookies

where should i put tiktok cookie? 1 or 2?
and what is that in the green box?

If there are no issues with recording, you can skip adding cookies
If you want to add a cookie, please fill it out in DouyinLiveRecorder/config/config.ini


[TESTING/WIP] ci/mobile: Fix permafailing android/tests

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

as this did not trigger (annoyingly) im going to close as any fix would also be unreliable


Question about behavior of wildcard when deleting blobs

Which version of the AzCopy was used?
Note: The version is visible when running AzCopy without any argument
10.0.8
Which platform are you using? (ex: Windows, Mac, Linux)
windows
What command did you run?
Note: Please remove the SAS to avoid exposing your credentials. If you cannot remember the exact command, please retrieve it from the beginning of the log file.
remove
What problem was encountered?
For some reason or other, I accidently created blobs with '*' in their names like: https://wilxstorage.blob.core.windows.net/wilxcontainer/*/file.txt.
When I run the command: remove https://wilxstorage.blob.core.windows.net/wilxcontainer/* --recursive, all my other blobs aside from the ones with the '*' are deleted.
Just wanted to know what was going on and wondered whether this was expected?
How can we reproduce the problem in the simplest way?
Run command with blobs and wildcard character
Have you found a mitigation/solution?
Yes: remove https://wilxstorage.blob.core.windows.net/wilxcontainer/*/* --recursive
In this version of the command is the first * being interpreted as the actual character or another asterisk?

Remove command has been re-written in 10.0.9. Please refer to the help message for more details. Thank you!


CS2 maps when they are decompile their models (.dmx files) cannot be compiled.

Describe the bug
When you decompile a map and then load the decompile map into hammer the models cant be compiled
test_decompile.zip
https://github.com/ValveResourceFormat/ValveResourceFormat/assets/110506367/5d63131d-29a7-41bd-a843-8212ecd5d52e
Relevant log output or exception with stacktrace
none.

What game does this happen in
CS2
Reference file in a Source 2 game
test_decompile.vpk
Expected behavior
Hammer cannot compile the models
What version of VRF are you using? On what platform?
v8.1.3268

Post error log please. Failed to extract subfile ??? what does it say

[18:18:13.777] [ExtractProgressForm] Failed to extract subfile 'maps/test_decompile/worldnodes/node000_world_lr0_agg0_5_reflectivity_30_meshset_0.dmx': System.NullReferenceException: Object reference not set to an instance of an object.
at ValveResourceFormat.IO.ModelExtract.FillDatamodelVertexData(OnDiskBufferData vertexBuffer, DmeVertexData vertexData, VsInputSignature materialInputSignature) in D:\a\ValveResourceFormat\ValveResourceFormat\ValveResourceFormat\IO\ModelExtract.Mesh.cs:line 259
at ValveResourceFormat.IO.ModelExtract.ToDmxMesh(Mesh mesh, String name, Dictionary`2 materialInputSignatures, Boolean splitDrawCallsIntoSeparateSubmeshes) in D:\a\ValveResourceFormat\ValveResourceFormat\ValveResourceFormat\IO\ModelExtract.Mesh.cs:line 377
at GUI.Forms.ExtractProgressForm.ExtractSubfiles(String contentRelativeFolder, ContentFile contentFile) in D:\a\ValveResourceFormat\ValveResourceFormat\GUI\Forms\ExtractProgressForm.cs:line 438


runtime: check for DISPLAY instead of XDG_CURRENT_DESKTOP to check if linux machine is GUIless or not

DISPLAY instruct processes which Xorg server to communicate basically, or at least are a obvious sign that there is some kind of X server available.
In environments, such as TMUX sessions, DISPLAY is propagated inside but the same doesn't happen with XDG_CURRENT_DESKTOP so it happens that one launches a session but no windows shows up, even though if one start the frontend process pointing to the socket in the logs and it works just fine.
BTW I am packaging the flutter module to nixpkgs [1] and I was stuck for a few hours on this until I found out about this check. Basically the approach is to use a hardcoded packaged flutter core instead of flet having to download and failing to run because Nix don't use the concept of global libraries like other distros do.
[1] https://github.com/NixOS/nixpkgs/pull/279936/files

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


fix(docker): exit 139

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

GitHub release
v0.12.2
v0.12.2

Your semantic-release bot :package::rocket:


How to define an end date? Thanks.

That's a good question.
Currently, it is an infinite scroll forward with the start being the first event or current date, but I bet it wouldn't be too much trouble to add an end date or a date range.
Let me poke around at some ideas.

This is also helpful to minimize some loading, I'm developing a feature in flutter 3.7 and this package was all I need.


performance benchmarks

Are there any performance benchmarks: speed / memory usage etc in comparison to libraries like Valyala's QuickTemplate (which I consider one of the fastest template libraries for go out there which I know of, representing the "top" performing template engine) and Go standard template/html?

Nope, I don't have that. I care much more about API design and developer experience, to be honest. 😊 Compared to network I/O, I don't think it matters much anyway.

Would you be willing to accept a PR which included benchmark comparisons and the code to execute them?

No, I think it's outside the scope of the repository, and not something I want to highlight as a feature, for the aforementioned reasons.
It sounds like a good separate repository that draws in several other libraries and does the comparisons, like people do for other kinds of libraries in the Go ecosystem.

Alright. Thank you for your time.

And thank you for your offer! 😊


[BUG] sok amp mode error

Describe the bug
[1,0]<stderr>:Traceback (most recent call last):
[1,0]<stderr>:  File "/ws/HugeCTR/sparse_operation_kit/SOK_DLRM_Benchmark/main.py", line 129, in <module>
[1,0]<stderr>:    trainer = Trainer(
[1,0]<stderr>:  File "/ws/HugeCTR/sparse_operation_kit/SOK_DLRM_Benchmark/trainer.py", line 161, in __init__
[1,0]<stderr>:    self._embedding_optimizer = tf.keras.mixed_precision.LossScaleOptimizer(
[1,0]<stderr>:  File "/usr/local/lib/python3.10/dist-packages/keras/mixed_precision/loss_scale_optimizer.py", line 343, in __call__
[1,0]<stderr>:    raise TypeError(msg)
[1,0]<stderr>:TypeError: "inner_optimizer" must be an instance of `tf.keras.optimizers.Optimizer` or `tf.keras.optimizers.experimental.Optimizer`, but got: <sparse_operation_kit.optimizer.OptimizerWrapperV2 object at 0x7f1b15b44910>.

To Reproduce
Steps to reproduce the behavior:

How to build including docker pull & docker run commands
How to run including the JSON config file used

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: [e.g. Ubuntu xx.yy]
Graphic card: [e.g. a single NVIDIA V100 or NVIDIA DGX A100]
CUDA version: [e.g. CUDA 11.x]
Docker image nvcr.io/nvidia/merlin/merlin-tensorflow:nightly
tf: 2.12.0+nv23.6

Additional context
Add any other context about the problem here.

The optimizer in SOK is not a TensorFlow optimizer, so you cannot wrap it with tf.keras.mixed_precision.LossScaleOptimizer. Instead, you can get the scale value from dense part's optimizer , then adjust the gradients accordingly the scale and input them into the SOK optimizer.


Bark Speech integration

Very close:
<button onclick="barkTTS()">Click me</button>

<audio id="audioPlayer" type="audio/wav"></audio>

<script>
  function barkTTS() {
    const url = 'http://<IP_ADDRESS>:8080/send-string';
    const data = txtOutput.innerHTML;
    const xhr = new XMLHttpRequest();
    xhr.responseType = 'blob';
    xhr.onload = function() {
      const audioElement = new Audio("./audio/bark_audio.wav");
      audioElement.play();
    }
    xhr.open('POST', url, true);
    xhr.setRequestHeader('Content-Type', 'text/plain');
    xhr.send(data);
  }
</script>

https://github.com/servingbaby/Bark_text-to-speech
https://github.com/suno-ai/bark

Added to main. Currently I am unable to use the auto-speech function.
Need to figure out how to handle the audio file. Challenge is trying to deleting it or using in memory as it sometimes talks over itself from previous file generation.

Another issue, Android Browsers (except for "Firefox Focus") don't seem to honor no cache rules - so the old wav file keeps getting played.

Happy with current implementation. Will revisit later when more matured.


Create Preorder Traversal

I have added the code for Preorder Traversal in Python language.

Link your file to the req file.
Mention issue no.
Pl make these changes in all your prs.


set seed on stochastic simulation

we don't want to generate a new file each time and bloat the repo needlessly

done by @rqthomas .  Also, use a fixed ID instead of re-generating a uuid each run (fixed by @mdietze ).


Output indices

We currently have a rather painful process to build command-not-found support and other things. I was thinking that we could hack the generic mkDerivation definition to add a magic outputIndex output to every derivation that records in a very simple textual format the contents of bin and maybe lib. Then command-not-found would only pull the outputIndex outputs and get a few hundred bytes instead of possibly dozens of megabytes.
It would be nice to index language-specific libraries but I think we can probably get the majority of benefit this way.
This seems fairly easy to add to mkDerivation, so I'm really just looking for feedback before making a PR of it.
cc @edolstra @domenkozar @shlevy

It might pay to make a few aspects of it overridable, so that people can suppress annoying binaries from the index for packages that have a ton of annoyingly named stuff, or binaries in unexpected locations, or only want to advertise a handful of standard things.

Yes please! And definitely with some overriding framework.

+1, I assume store-paths.xz includes all build time outputs, so we don't need to depend on any of these magic outputIndex.

/participate

Just for reference, I already proposed that in https://github.com/NixOS/nixos-channel-scripts/issues/4#issuecomment-191226825, so the next step is to implement a protoype.
Go @copumpkin

@domenkozar sweet!
@vcunat btw, you can press "subscribe" on the sidebar for a similar effect

@copumpkin: I am subscribed to the whole repo. Someone once suggested to me to unsubscribe and subscibe again, but that didn't work for me to change the "participating" status. I use https://github.com/notifications/participating

Oh okay, makes sense

Sorry, I fail to see the advantage here. Why is it easier to have a outputIndex output (which could be incorrect, missing, etc), rather than have the index generator simply list the actual contents of the package?

Way smaller thing to download?
On Tue, Sep 20, 2016 at 14:27 Eelco Dolstra<EMAIL_ADDRESS>wrote:

Sorry, I fail to see the advantage here. Why is it easier to have a
outputIndex output (which could be incorrect, missing, etc), rather than
have the index generator simply list the actual contents of the package?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/NixOS/nixpkgs/issues/18760#issuecomment-248389284,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAKP3LrAgDTMlMOfDqCFAwdASIU6KWnks5qsCV9gaJpZM4KAgBJ
.

Well, the solution to that would be to have hydra-queue-runner upload an index to S3. E.g. for each <foo>.nar also upload <foo>.narindex.

Why would that help? Then you can't use command-not-found etc.

@shlevy I don't follow... The index generator would just download <foo>.narindex instead of <foo>.nar

Oh, I see, I thought the narindex files were replacing the generator

@shlevy @edolstra not sure I understand. What would be the interface to the .narindex files? With a separate output, I know how to write a script that indexes arbitrary things inside derivations. Can someone walk through how I'd consume a .narindex in a command-not-found or similar?
Happy to close this if it's already covered, but I don't think many people understand the alternate path.

Can anyone elaborate on how narindex files will work? Should I just close this ticket?

Currently, the program that generates programs.sqlite fetches the NAR of every store path in the release from cache.nixos.org to enumerate the files inside it (see here). This is kind of slow (though it does cache the results per store path locally).
So instead hydra-queue-runner could upload a small file describing the contents of the store path (foo.narindex) along with the NAR. Then generate-programs-index could download the .narindex files instead.

@copumpkin command-not-found is broken due to https://github.com/NixOS/nixos-channel-scripts/issues/13, it used to work before that change I believe.
Hydra currently generates a {.ls,.ls.xz} file for each nar that it pushes to the cache, so you can simply fetch all those files to generate the db. This is also how generate-programs-index.cc is implemented. I don't see how this solution would be better.

(triage) as I understand, there is an alternative solution using .ls files in place and there are no updates since 2017. I think this issue can be closed.


typo - powershell command: Get-MgDirectoryOnPremisSynchronization

[There is a typo in this command: Get-MgDirectoryOnPremisSynchronization | Select-Object -ExpandProperty Features | Format-List the correct command:  Get-MgDirectoryOnPremiseSynchronization | Select-Object -ExpandProperty Features | Format-List
The Error is after the OnPremis -> the e is missing. This did cost me a lot of time troubleshooting Microsoft Graph modules...]

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

ID: 927c291d-30dd-7d84-8fe3-3b50f30c5f52
Version Independent ID: 3477adb1-4a2e-2ad0-5cf6-402269e3d1dd
Content: Microsoft Entra Connect Sync service features and configuration - Microsoft Entra
Content Source: articles/active-directory/hybrid/connect/how-to-connect-syncservice-features.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

@nasan92
Thanks for your feedback! We will investigate and update as appropriate.

@nasan92
Thanks for reporting this! We have created a PR for this issue and the changes should go live soon.


Link Broke?

The CoFHCore link is broken. It will not load for me and I don't know why?
Please tell me how to fix this or if they have to fix the link.

You know googling is outrated.. why not ask someone else to give you the link?!
here it is: http://minecraft.curseforge.com/mc-mods/69162-cofhcore/files/2223033
Just click that download button!
You know what I'll make it easy for you!
the actual download link: http://minecraft.curseforge.com/mc-mods/69162-cofhcore/files/2223033/download

All Meanyness aside....
Teamcofh.com is down for a while and so report it to teamcofh, not here.

The link appears to be working again.


feat: test adding additional scaffolder permissions

Description
This Pull Requests tests applying the additional scaffolder permissions package changes as a patch using yarn patch-package to test RHIDP-2324
Testing Instructions
The new permissions add the following new behaviours:

Verify that new permissions are available via <BACKEND_URL>/api/scaffolder/.well-known/backstage/permissions/metadata
scaffolder.task.read: prevents reading of tasks, task events/eventstreams

Test with the GET /v2/tasks, GET /v2/tasks/:taskId, GET /v2/tasks/:taskId/events and GET /v2/tasks/:taskId/eventstream endpoints
Test with the UI: View log stream, list tasks

scaffolder.task.create: prevents creation of scaffolder tasks (can't trigger a software template)

Test with the POST /v2/tasks endpoint and try launching a software template via the UI (catalog entity about page, and Create page should both have their buttons disabled)

scaffolder.task.cancel: prevents cancellation of scaffolder tasks

Test with the POST /v2/tasks/:taskId/cancel endpoint and try cancelling a running task in the UI (cancel button should be disabled)

seems the patches are failing to be applied when doing yarn install

Tested with https://quay.io/janus-idp/backstage-showcase:pr-1265-efc72e5 and the permissions patches were not applied in the image. (Permissions don't appear in the /api/scaffolder/.well-known/backstage/permissions/metadata endpoint.)

So it seems the patches partially work? As in the backend routes seem to be protected now, however, the frontend changes that disable certain buttons depending on permissions does not seem to be working. I tested in the upstream backstage instance, and it works as expected.

Patches seem to break as soon as I update the branch

When testing locally (after manually adding the content into the node_modules and then running yarn patch-package <package>), I was able to get it to work as expected (previous UI issue might have been due to patching with an outdated package).
However, the scaffolder-backend, scaffolder-react, scaffolder, and catalog package patches fail to apply in a clean environment (after I do a rm -rf node_modules).

Close in favor of https://github.com/janus-idp/backstage-showcase/pull/1282


Feedback for: docker-cloud/getting-started/deploy-app/4_push_to_cloud_registry.md

File: docker-cloud/getting-started/deploy-app/4_push_to_cloud_registry.md
In the end the doc says:

$ docker-cloud repository ls
NAME                                    DESCRIPTION
my-username/quickstart-python
my-username/quickstart-go

But according to this issue: https://github.com/docker/dockercloud-cli/issues/23
and according to how the command responds using current version, you will not be able to see any repositories hosted on Docker Hub,
I think this should be clarified in the last section

Hey @kirill-chilingarashvili thanks for the catch. I checked with the team, and I'm unclear how this got into the doc because it looks like it may never have worked. 🤔
If you can hold tight for a bit I'll update this with a different verification step.


Custom metadata.yaml location

We are interested in using this action to publish Juju docs (which use a similar structure to charm docs).
As it stands, the metadata.yaml file has to be in the root directory of the repository. For Juju, we don't want to have to add a metadata.yaml in the root directory just for this action to work. We'd be happy to place the metadata.yaml in e.g. the docs or .github directories.
I see two solutions:

Add an action input to allow a custom metadata.yaml location.uses: canonical/upload-charm-docs
with:
  metadata-location: '.github/docs-config.yaml'

Add action inputs to allow specifying the required metadata directly.uses: canonical/upload-charm-docs
with:
  charm-name: 'juju'
  index-page-url: 'https://discourse.charmhub.io/t/juju-olm-documentation/1087'

The custom location would also be needed for multi-charm repos where the charm is not located in the root directory, e.g. the juju dashboard charm.


Revisit the submenue structure and arrangment in Publisher

Describe your problem(s)

Describe your solution

We can move the Business Information section in to ~Basic info~ > Settings because Business Information is not that important to have a separate submenu

In the ~Basic info~ > Settings section we need to categories the related settings as we have done in admin portal

I:e Publisher Access control, Developer portal visibility , Advertise only API (*New) & Default version categories as Access control & visibility
Merge Monetisation and subscriptions pages, Monetization policies ultimately comes as a business plan to the API consumer?

Still a valid requirement.


Week 3 Algorithmic Final Individual Review Ticket - Dylan Luo

Algorithmic Final
GitHub Page:
GitHub Jekyll Website

[ ] GitHub Pages showing key learnings and challenges conquered from Tech Talks

Replit:
Replit URL

[ ] Show Code running on Replit as well as IntelliJ

Video:
Algorithmic Final Video

[ ] Make sure you cover everything, but create your own order and optimize the time
[ ] Use Voice or Captions. Try not to wiggle the mouse a lot or over-scroll.  Make sure you have a clear plan before you start.
[ ] Perform video in small parts of 15-30 seconds and finish a key subject. Then put the final Video together with Video editing or Youtube playlists.
[ ] GitHub commits you have made, show GitHub insights into your code commits.
[ ] Menu review illustrating use of Lists and navigation: show runtime, code organization, code, and comments
[ ] List and Loops: show runtime, code organization, code and comments
[ ] Class review and understanding: show runtime, code organization, code and comments
[ ] Show Crossover contribution:  Highlight work you did in the crossover project: show their Replit runtime, code commit(s) in their GitHub repo
[ ] Show anything you have done to enhance what you have learned from Python code

Total Score: 9/10
-1 for Point deduction for not showing crossover code runtime
Comments:
They did a great job on using the time wisely, as the code runtime, demonstration of classwork completed, and their contributions were skillfully explained. They had more 5 commits and they showed their own contributions on GitHub. Lists and navigation was well explained and the code organization was spot on! I saw that they included the lists and loops for many of their projects, such as the factorial class. The class review and understanding was well highlighted by key learnings and notes explained in their Jekyll page. They showed some crossover contribution, where they had showed the code however they didn't show the runtime for the code on the crossover project. They did an awesome job on enhancement of the organization and implementation of their code in terms of adding more details to the code.


Questions about new features

Hi,
I have a list a new features that could be added :

Clicks tracking (on every DOM element)
Exit page
Add filters like remove an IP address
Download CSV report file with differents categories
Track new visitors (per day or selected date/time)

For each feature mentioned above, can you tell me if you plan to integrate them and if so, do you have an estimated date of release ?
Best regards

Hello, our plan is to have a public roadmap in the near future, which will include features we will be working on. I will label this as enhancement, so we can review this list as we add more features.
Thanks,

Here's the Roadmap discussion


Update index.markdown example of spam in Bitcoin

Due to the new site structure this PR need rebase.

duplicate with #35


Migrations CLI

Hi. I really liked this library and started using it on a new API web server implementation. I'm mainly using it for migrations now and I wondered if the Migrations CLI have implemented more granular tools to handle the database state than init, make, latest and rollback.

Currently those are the available functions. Feel free to open feature request issues with specific improvements you'd like.


Image Processing on FFMPEG causes SSL error

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.37.0
Python release (python3 --version):
3.5.2
Component/platform:
image_processing
Description of problem:
I currently have set up Microsoft Face and openALPR on a test FFMPEG RTSP camera feed.
The following tracebacks are littered through my Home Assistant logs.  Not adapt at reading tracebacks but looks as though image_processing is experiencing an SSL error when attempting to monitor a self-hosted camera RTSP feed on the same machine.

Configure an image_processing component

Traceback (if applicable):
Traceback (most recent call last):
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/tasks.py", line 241, in _step
    result = coro.throw(exc)
  File "/usr/local/opt/hass/lib/python3.5/site-packages/homeassistant/helpers/entity.py", line 200, in async_update_ha_state
    yield from self.async_update()
  File "/usr/local/opt/hass/lib/python3.5/site-packages/homeassistant/components/image_processing/__init__.py", line 128, in async_update
    self.hass, self.camera_entity, timeout=self.timeout)
  File "/usr/local/opt/hass/lib/python3.5/site-packages/homeassistant/components/camera/__init__.py", line 64, in async_get_image
    response = yield from websession.get(url)
  File "/Users/Keymaster/.homeassistant/deps/aiohttp/client.py", line 530, in __iter__
    resp = yield from self._coro
  File "/Users/Keymaster/.homeassistant/deps/aiohttp/client.py", line 176, in _request
    conn = yield from self._connector.connect(req)
  File "/Users/Keymaster/.homeassistant/deps/aiohttp/connector.py", line 308, in connect
    yield from self._create_connection(req)
  File "/Users/Keymaster/.homeassistant/deps/aiohttp/connector.py", line 597, in _create_connection
    transport, proto = yield from self._create_direct_connection(req)
  File "/Users/Keymaster/.homeassistant/deps/aiohttp/connector.py", line 620, in _create_direct_connection
    local_addr=self._local_addr)
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/base_events.py", line 713, in create_connection
    sock, protocol_factory, ssl, server_hostname)
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/base_events.py", line 736, in _create_connection_transport
    yield from waiter
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/futures.py", line 361, in __iter__
    yield self  # This tells Task to wait for completion.
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/tasks.py", line 296, in _wakeup
    future.result()
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/futures.py", line 274, in result
    raise self._exception
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/events.py", line 125, in _run
    self._callback(*self._args)
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/selector_events.py", line 676, in _read_ready
    self._protocol.data_received(data)
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/sslproto.py", line 492, in data_received
    ssldata, appdata = self._sslpipe.feed_ssldata(data)
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/asyncio/sslproto.py", line 200, in feed_ssldata
    self._sslobj.do_handshake()
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 638, in do_handshake
    match_hostname(self.getpeercert(), self.server_hostname)
  File "/usr/local/Cellar/python3/3.5.2_3/Frameworks/Python.framework/Versions/3.5/lib/python3.5/ssl.py", line 297, in match_hostname
    % (hostname, ', '.join(map(repr, dnsnames))))
ssl.CertificateError: hostname '<IP_ADDRESS>' doesn't match either of [REDACTED]

use base_url to set the right URL.

Yup. That's done the trick.
Thanks.


Handle normalization for labels (for regression)

Most normalization is done on features, for example using NormalizerStandardize.
However, in the case of regression, it can also be necessary to normalize the network labels (regression targets) too. This should be provided as an additional option for the normalizers.

Done now.


Ascetics with terminal

When doing auto_commit_git exec file, put a waiting... for ux as it will seem like it is running instead of an issue or some sort.

show the current time and time user set and how much time left


create-eth-map for Blackhole not working

Introduced by #235, create-eth-map binary is not working fully as expected. Chips section of the cluster descriptor is empty, it doesn't show any chips. The binary still works for Wormhole (Grayskull not tested)
I am not really sure how this is built from source, but I know tt-debuda has a binary in their own repo, which I have tested and it produced valid results. This binary is for Blackhole only, so we couldn't reuse it as a general binary, but maybe we could replicate their way of using these binaries
For reference, I am attaching three files (txt files to be able to upload it here)

cluster descriptor that binary from tt-debuda produces -
cluster_debuda.txt
cluster descriptor that we have used as a hardcoded for blackhole so far - https://github.com/tenstorrent/tt-umd/blob/main/blackhole_1chip_cluster.yaml
cluster descriptor that updated binary in tt-umd produces -
cluster_umd.txt

Hey! That's operating as expected i.e. consistent with GS. Between the debuda version and the release the decision was made to remove coordiantes from Blackhole so there was nothing for me to put into the chips field. This is consistent with Grayskull which also doesn't have coordinates.

I've reopened issue. But not with the task to fix CEM, rather to fix yaml parsing in tt_ClusterDescriptor.
This might unlock also not having specific grayskull codepath.

I  started some changes in abhullar/bh-cluster-desc to parse a cluster desc yaml when chips map is empty

As per offline chat with @abhullar-tt , I will take over the work on the branch she mentioned above

@pjanevskiTT please raise a warning in code in this case
boardtype: {
0: null,
}
I see that current bh CEM outputs that. We should probably resolve it, but not critical at the moment.
@TTDRosen any ideas why do we get this?

It’s because some machines are running old FW

Also, once this is resolved I think we can remove tt_ClusterDescriptor::create_for_grayskull_cluster


Joystick schema states VendorID is a number, but they can be hex.

Describe the bug
Trying to add a json for Thrustmaster A320 Pilot stick fails in MF complaining the vendor ID is specified to be a number in the schema. However google thinks they are hex values:

T.A320 Pilot USB VID 044F & PID 0405
T.A320 Copilot USB VID 044F & PID 0406

This link shows a lot of vid+pid id's for various usb devices, useful.
Steps To Reproduce
Steps to reproduce the behavior:

Add json
Start MF
Look at log
See error

Expected behavior
Hexadecimal PID and VID values should be handled properly.
Actual behavior
Fails to load the joystick definition
Details

MobiFlight Version: 10.1.1

Additional context
According to googling, there are two possibilities to fix this:

Store the VID and PID as strings and parse them in the code
Use JSON5 schema that supports hexadecimal numbers, among other things.

Error in MF Log:
Unable to load Joysticks\t.a320_pilot.joystick.json:
Input string '044F' is not a valid integer.  While this violates the schema and makes VS Code complain, it seems to work.

JSON doesn't support hex unfortunately, and the value is supposed to be a number. You can specify it by converting the hex to decimal and using that instead.

why not make it a string with regex verification and a json converter that converts it correctly for internal usage

Is it possible to do that while still having the schema validator ensure it's really a number? Or would we lose the schema validator actually checking the values for us?

Ah I get what you mean!


FPS problem

FPS decreased to 0 when infected with leaves

This is already fixed in dev and should be much better next version
yyeerai<EMAIL_ADDRESS>schrieb am Fr., 22. Dez. 2017, 06:14:

FPS decreased to 0 when infected with leaves
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/BloodWorkXGaming/ExNihiloCreatio/issues/52, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AHwpZjqhkPSZ9Qfy_l_yP5wNbIHus_Mlks5tCzrQgaJpZM4RKpyo
.

Duplicate of Issue #33.


Monitor Blazor Server circuit activity

Fixes #28982
Mackinnon ... this looks like your bits. Half the time, I'll get the PU assignment via Artak. On this one, I think he'll ask you to look. This comes right from Dan's blog post, so it's probably ok as a basic guide. Are there more feature nits and bits that we need to discuss here?
https://devblogs.microsoft.com/dotnet/asp-net-core-updates-in-dotnet-8-preview-3/#monitor-blazor-server-circuit-activity

Internal previews

📄 File
🔗 Preview link

aspnetcore/blazor/fundamentals/dependency-injection.md
ASP.NET Core Blazor dependency injection

aspnetcore/blazor/fundamentals/signalr.md
ASP.NET Core Blazor SignalR guidance

aspnetcore/blazor/security/server/additional-scenarios.md
ASP.NET Core Blazor Server additional security scenarios

@MackinnonBuck ... I think we have a bit more to look at and resolve on this one.
Two things leap out now that I know what "there's an existing pattern for accessing circuit-scoped services" was referring to:

Although it's the same approach, these example approaches probably should be grouped with their subject matter and cross-linked ...

The SignalR topic has Monitor circuit activity (Blazor Server) with its IdleCircuitHandler example.
The DI topic has Access Blazor services from a different DI scope with its CircuitServicesAccessor example.
The Blazor Server Additional scenarios topic has Access AuthenticationStateProvider in outgoing request middleware with its AuthenticationStateHandler example.

The first two additions, SignalR and DI examples, seem straightforward. However, the third is something that I have less familiarity with because I spend much of my time in auth scenarios for the WASM hosting model and not implementing DelegatingHandler for Blazor Server apps. AFAICT, the AuthenticationStateHandler is for outgoing middleware request processing, as I have on the PR now, but I could be totally off base on that use case. If that is incorrect, what's the use case and what is the complete example for it? Even if my hunch is correct about the use case, note that I hacked a more complete example of it by making it create a custom header for the authenticated user's name. Whatever else we need to do with the overall layout, section naming, and section content, is this header addition a decent example for devs to see? I'm going for quick and simple but clear from there for other more advanced uses.

@MackinnonBuck ... I think you should take a look at the updated layout. I'm primarily concerned about item 2 above :point_up:. I may have guessed correctly on the implementation of the AuthenticationStateHandler, but I think u should confirm if I went the right way.

@guardrex I think the updated layout looks great. Regarding the AuthenticationStateHandler example, I wonder if we could get @javiercn's opinion on that. Javier, what do you think? Do we need a full example for this, or can we assume that if a customer needs this, they already have a specific scenario in mind?

Thanks @MackinnonBuck ... I like what I wrote (and the example) in the Access AuthenticationStateProvider in outgoing request middleware section. If it's good, I hope we can keep it. I think 🤔 it works ..... maybe 🤣 ... the 🙏 server gods 🙏 hopefully will smile on that coverage.

Thanks @javiercn.
@danroth27 ... awaiting final sign-off.


Add a concept of an Executable (a deserialized but not loaded compiled code)

This is an intermediate step towards 0-copy deserialization and an alternative to #104.
Here instead of moving the entire process of allocating instances into the instantiation (creation of an Instance) we add a concept of Executable which is effectively a public exposition of the former SerializableModule. With this in place the intended workflow would be somewhere along the lines of
let wasm = load_bytes();
let executable: &rkyv::Archived<UniversalExecutable> = UniversalExecutable::deserialize(&wasm);

let artifact = engine.load(executable);
// ^ copies out machine code to mmaps and whatnot, so it is sufficiently self-contained for caching etc.
// but avoids allocating hashtables for most of the moduleinfo
cache(artifact);

// Operations that need to access information about the module would pass in executable as an argument
let instance = artifact.instantiate(executable, ...);
instance.get_function(executable, "name").call(...);

For right now Artifact still contains an owned copy of an UniversalExecutable, but in a 0-copy world we'd instead pass rkyv::Archived<UniversalExecutable> to functions that currently depend on the Executable stored within UniversalArtifact instead.
As previously, I recommend looking at this commit-by-commit.

Yeah, this makes much more sense to me! Will look at the actual impl tomorrow.

For right now Artifact still contains an owned copy of an UniversalExecutable, but in a 0-copy world we'd instead pass

Can we achieve both ownership and 0-copy? Can Artifact hold somethilin like Arc<Vec<u8>>, of which we create an archive view when we need it?

Can we achieve both ownership and 0-copy? Can Artifact hold somethilin like Arc<Vec>, of which we create an archive view when we need it?

I did this in my initial prototype, and the overhead in doing so (allocating a vector) was still fairly significant. In our case, I think loading bytes from the database may still be slightly more efficient (especially if we'd do so regardless), and not designing ourselves into a corner where Executable is owned seems prudent in that context.

A fair amount of cleanup remaining here, but here are some preliminary results. We are still allocating a bunch of stuff in the heap when constructing an Artifact, but there is now a way forward to optimize it more readily since changes here do not touch the entire codebase (e.g. we could allocate into a bump allocator if we wanted to!).
One other thing that I expect to have been improved by this refactor is the performance of constructing an Instance which I haven't yet benchmarked.
I haven't yet investigated where the regression in get_main/call_* comes from, but do note that in absolute units these are ns scale measurements.

I'd be happy to write down what I learnt implementing this somewhere, so that upstream has an easier time implementing a similar idea, but I'm not sure if I'll have the time to move the changes to the upstream myself.
Would that help?

Absolutely! That would be super useful.
Thanks!!

:drum:  :man_dancing: :drum: :man_dancing: :drum: