Feature request: allow URLs in file input GUI

From<EMAIL_ADDRESS>on November 24, 2011 09:32:42
Background email exchange:
Hello Midori,
it is definitely possible to use URLs. In the command-line version this should work already. For the GUI version, I willadd an option for this. Probably, there will be an new button which allows to input an URL.
You should add this as a feature request to the googlecode tracker. This will help us to organize our releases better.
regards,
Heiko
On 24.11.2011 06:00, Dr Midori A. Harris wrote:
> Hi guys,
>
> I've just downloaded Oort 0.3.5-beta, and I have a naive question about
> multiple ontologies: Do I have to have local copies of all of them to
> use Oort? I noticed that the 'Add' button opens a file selection dialog,
> and I don't see any other way to add paths. Is there any plan to make
> Oort accept URLs for input ontologies?
>
> In the phenotype ontology I'm working on, I have xps that refer to PATO,
> GO, ChEBI, CL, and one term from the Brenda Tissue Ontology (BTO). So my
> life will be a lot easier if I don't have to maintain up-to-date local
> copies of all of them!
>
> I'm happy to put this on the googlecode issue tracker if you want.
>
> Thanks,
> Midori
Original issue: http://code.google.com/p/owltools/issues/detail?id=19

From<EMAIL_ADDRESS>on December 02, 2011 16:47:40
Function implemented. Will be available in the next release
Status: Started
Labels: -Type-Defect Type-Enhancement

From<EMAIL_ADDRESS>on January 12, 2012 15:31:29
Feature included in latest release.
Status: Fixed


Normalize recipient IDs before comparsion

Fixes #1900
RELEASE_NOTES=[BUGFIX] Normalize recipient IDs before comparison
Signed-off-by: Dominik Schulz<EMAIL_ADDRESS>

But this broke some tests it seems.


SCT-498 Add tests for WorkspaceEventHandler.load()

... in preparation for implementing search tags retrieval in the handler.

Yeah, next time someone touches those, or when we have cycles, we should add tests


Error in Operator implementation guide

Description
Error in the operator implementation guide:
https://mxnet.incubator.apache.org/faq/add_op_in_backend.html
It's correct in the markdown file: https://github.com/apache/incubator-mxnet/blob/master/docs/faq/add_op_in_backend.md
Error Message:
"Note that forward and backward functions are registered with attribute key FCompute, rather than FCompute."

@mxnet-label-bot [Documentation]

@nswamy Please label [Doc] for this issue. Thanks

@apeforest there is an ongoing PR to update the operator implementation guide - https://github.com/apache/incubator-mxnet/pull/12230 If you could comment there about what issue you found in the tutorial, it can be fixed in that PR itself.

@nswamy This error is not related to Operator. It is purely a html error. Please remove the [Operator] label and changed it to [Doc]. Thanks!

I think I found the culprit.
The md-->html build when you do make html or make docs gives you things like <gpu> which renders fine in the browser.
There's a post-process step for building the versioned website that uses beautiful soup to inject the modified nav bar. It also has a step that swaps out the html tags for < and > with actual < and >.
https://github.com/apache/incubator-mxnet/blame/master/docs/build_version_doc/AddVersion.py#L77
So, introduce this AddVersion.py script and it swaps it back to . You can see this in the website static files that have gone through this process:
https://github.com/apache/incubator-mxnet-site/blob/asf-site/faq/add_op_in_backend.html#L751
This does not render properly. This is the same thing happening with the scala tutorial: https://github.com/apache/incubator-mxnet/issues/11438
I can remove that line, but I don't know why it's there in the first place. @piiswrong - you authored it... do you remember what it is for? Can we safely remove it, or provide a more focused implementation so it doesn't break the tags we're trying to put in there?


Urscript interface

This PR adds a bare URScript interface using the ur_client_library. This should implement #387 and #251.
In this first version I did a 1to1 sending of the script code towards the robot. If the script code contains an error, it will simply not get executed.
This could get extended in the future, but that should be an easy non-intrusive extension that gets the job done in a lot of situations.

@fmauch Great work.

[ ] Could we add a simple test as well?

@urrsk I've added an integration test for the script interface.

OK, those tests seem not to be reliable. I'll have to do some more work.


E Calc node Loop : generic_loop_Loop__34 output shape fail

We got this error while converting ssd_mobilenet_v1 model from ONNX to RKNN.
W Call onnx.optimizer.optimize fail, skip optimize
E Calc node Loop : generic_loop_Loop__34 output shape fail
W ----------------Warning(1)----------------
E Catch exception when loading onnx model: models/onnx/ssd_mobilenet_v1/latest_opset11.onnx!
E Traceback (most recent call last):
E   File "rknn/base/RKNNlib/onnx_ir/onnx_numpy_backend/shape_inference.py", line 60, in rknn.base.RKNNlib.onnx_ir.onnx_numpy_backend.shape_inference.infer_shape
E   File "rknn/base/RKNNlib/onnx_ir/onnx_numpy_backend/ops/loop.py", line 34, in   rknn.base.RKNNlib.onnx_ir.onnx_numpy_backend.ops.loop.Loop
E   File "rknn/base/RKNNlib/onnx_ir/onnx_numpy_backend/onnx_backend.py", line 135, in rknn.base.RKNNlib.onnx_ir.onnx_numpy_backend.onnx_backend.GraphRunner.run
E   File "rknn/base/RKNNlib/onnx_ir/onnx_numpy_backend/onnx_backend.py", line 128, in rknn.base.RKNNlib.onnx_ir.onnx_numpy_backend.onnx_backend.GraphRunner.run.pick_ref_tensor_value
E KeyError: '@parent_context'
E During handling of the above exception, another exception occurred:
E Traceback (most recent call last):
E   File "rknn/api/rknn_base.py", line 292, in rknn.api.rknn_base.RKNNBase.load_onnx
E   File "rknn/base/RKNNlib/RK_nn.py", line 141, in rknn.base.RKNNlib.RK_nn.RKnn.load_onnx
E   File "rknn/base/RKNNlib/app/importer/import_onnx.py", line 118, in rknn.base.RKNNlib.app.importer.import_onnx.Importonnx.run
E   File "rknn/base/RKNNlib/converter/convert_onnx.py", line 94, in rknn.base.RKNNlib.converter.convert_onnx.convert_onnx.__init__
E   File "rknn/base/RKNNlib/converter/convert_onnx.py", line 984, in rknn.base.RKNNlib.converter.convert_onnx.convert_onnx._shape_inference
E   File "rknn/base/RKNNlib/onnx_ir/onnx_numpy_backend/shape_inference.py", line 70, in rknn.base.RKNNlib.onnx_ir.onnx_numpy_backend.shape_inference.infer_shape
E   File "rknn/api/rknn_log.py", line 312, in rknn.api.rknn_log.RKNNLog.e
E ValueError: Calc node Loop : generic_loop_Loop__34 output shape fail
done
--> Build RKNN model...
Traceback (most recent call last):
  File "rknn_convert.py", line 89, in <module>
    convert_model(model_path, out_path, pre_compile)
  File "rknn_convert.py", line 72, in convert_model
    rknn.build(do_quantization=model['quantize'], dataset=dataset_path, pre_compile=pre_compile)
  File "/home/aigirl/.local/lib/python3.6/site-packages/rknn/api/rknn.py", line 241, in build
    inputs = self.rknn_base.net.get_input_layers()
AttributeError: 'NoneType' object has no attribute 'get_input_layers'

Steps we followed

Created model_config.yml file hereproject-name: mobilenet-ssd
models:
mobilenet-ssd:
  platform: onnx
  model_file_path: frozen_inference_graph.onnx
  subgraphs:
      inputs:
        - image_tensor

      input-size-list:
        - 300,300,3
      outputs:
        - concat
        - concat_1
  quantize: true
  source: text
  dataset: ../../../../tensorflow/ssd_mobilenet_v1/dataset.txt
  configs:
    quantized_dtype: asymmetric_quantized-u8
    batch_size: 1
    mean_values: [[127.5, 127.5, 127.5]]
    std_values: [[127.5, 127.5, 127.5]]
    reorder_channel: 0 1 2

Used conversion script to convert model and it gave this output.W Please confirm that your onnx opset_version <= 11 (current opset_verison = 12)!!!
E Unknown shape of image_tensor:0, please specify input-size-list

To get rid of warning we kept opset of onnx model to 11 and warning was gone.
To solve the error we fixed the input size in ONNX model to 300x300x3

But now we are getting 3rd error, which is mentioned aboveE Calc node Loop : generic_loop_Loop__34 output shape fail

Can anyone please help with this ?

If your model is trained with TensorFlow, please try to save the model as a frozen pb model and convert it to RKNN. This onnx error may be caused by the nonstandard convert rule and RKNN-Toolkit not recognizing it.
If your model is trained with PyTorch, please try to save the model as pt model(torch.jit.save) and convert it to RKNN.
If neither it's trained with PyTorch or TensorFlow, it's appreciated for you to upload the onnx model and our team will take a close look at this bug.

Thanks for reply. Model was trained in tensorflow, will try to convert to RKNN directly !


Update Tangle version to v2.2.0

We have done some improvements on the tangle lib to allow webview events without having them all to be resolved first. This PR updates the tangle version including updates of other dependencies.

New tangle version doesn't seem to work reliable yet. Updates are not applied when disabling the checkbox.


[Docs]: Typo in theme "Publishing" page

Before Reporting

[X] I found no existing issues matching my bug
[X] My issue is not caused by a theme

Describe the Bug
There is a typo on this page. (Normally I would just make a PR to fix it but idk where the docs are.)
Expected Behavior
Under the "Guidelines" section, in this bullet point

Talking about anything other than you're theme

you're should be your.
Steps To Reproduce
https://docs.steambrew.app/developers/themes/publishing#guidelines
Operating System
Windows
Anything else?
(Sorry to be that guy, but grammar is grammar :D)

Make a PR:
https://github.com/shdwmtr/steambrew/blob/main/docs/ui/developers/themes/publishing.md


connectors.sh does not work on 2.1-debian11 image

cjac@cluster-1668020639-m:~$ gsutil ls -l gs://hadoop-lib/hive-bigquery/hive-bigquery-connector-2.0.1-preview.jar
AccessDeniedException: 403<EMAIL_ADDRESS>does not have storage.objects.list access to the Google Cloud Storage bucket. Permission 'storage.objects.list' denied on resource (or it may not exist).

It sounds like it's talking about the bucket gs://hadoop-lib
$ gsutil ls -l gs://hadoop-lib/hive-bigquery/hive-bigquery-connector-2.0.1-preview.jar
AccessDeniedException: 403<EMAIL_ADDRESS>does not have storage.objects.list access to the Google Cloud Storage bucket. Permission 'storage.objects.list' denied on resource (or it may not exist).

Fixed with #1063

Not quite fixed with 1063.  We need support for scala 2.13 ; I'll propose a patch

related patch in #1064

@cjac Thanks for the fix! When should I expect this to be deployed to the GCS bucket? I checked gs://goog-dataproc-initialization-actions-us-central1/connectors/connectors.sh but it seems it's still the old version.

It takes some time before a copy is automatically.  Read the README.md in the root folder for best practices.  I have another couple fixes to get in to initialization-actions, then I can manually trigger a push to gcs.  It may be a couple of weeks, so do read the root README.md for how to handle things until then.

@cjac Thanks. We've copied the script to a private bucket.

merged


Favicon and logo

With #41 finally completed, a logo is the next thing to help finalize the interface update. The new logo will replace the existing OSM logo next to WaterwayMap on the nav bar.
Some of the logos needed:

Favicon (ico, png, svg)
Flat logo (svg)
Logo (png, svg)
Maskable logo (png)
Open graph image (jpg)

The logo and maskable logo will be used for PWA icons. https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/How_to/Define_app_icons
As for the OG image, I was thinking about the logo alongside a screenshot of the map.

That sounds cool! I don't have any existing logo now, so I'm pretty open. 🙂
On Di, 23 Apr 2024 23:30 +02:00, mxdanger @.***> wrote:

With #41 https://github.com/amandasaurus/waterwaymap.org/pull/41
finally completed, a logo is the next thing to help finalize the
interface update. The new logo will replace the existing OSM logo next
to WaterwayMap on the nav bar.
Some of the logos needed:
• Favicon (ico, png, svg)
• Flat logo (svg)
• Logo (png, svg)
• Maskable logo (png)
• Open graph image (jpg)
The logo and maskable logo will be used for PWA icons.
https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/How_to/Define_app_icons
As for the OG image, I was thinking about the logo alongside a
screenshot of the map.
—
Reply to this email directly, view it on GitHub
https://github.com/amandasaurus/waterwaymap.org/issues/46, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAAMCY6P4FU2Z2LZLOJAALY63HI3AVCNFSM6AAAAABGVWUNT2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TSOBQGE3DKOA.
You are receiving this because you are subscribed to this
thread.Message ID: @.***>

--
Amanda


Sample Code Hangs / Doesn't return to command line prompt.   "There are 13 handle(s) keeping the process running."

1.) Copy pasted sample code into a new project.  ie.

npm i playwright-with-fingerprints
npm i playwright
npx playwright install
2.) Ran code from console.
3.) code launched browser, navigated to a page etc, then closed the browser.
4.) After the browser closed, the console application did not return to the command line prompt.  It just waited.
5.) I confirmed error doesn't happen when 'playwright-with-fingerprints' excluded from code.
6.) I confirmed error still happens regardless of whether launch or plugin.launchPersistentContext is used.
7.) I added a npm package, 'why-is-node-running' and i got the message that  "There are 13 handle(s) keeping the process running."  It seems like when browser.close is called the code isn't smart enough to catch this and shut everything down and return.

Is there a work around like calling something just after browser.close()?
PART OF THE OUTPUT
TTYWRAP
(unknown stack trace)
DNSCHANNEL
(unknown stack trace)
PROCESSWRAP
node_modules\bas-remote-node\src\services\engine.js:111                 - this._process = execFile(
node_modules\bas-remote-node\src\services\engine.js:58                  - this._runEngineProcess(port);
node_modules\bas-remote-node\src\index.js:142                           - await this._engine.start(port);
node_modules\browser-with-fingerprints\src\plugin\connector\index.js:41 - await client.start();
PIPEWRAP
node_modules\bas-remote-node\src\services\engine.js:111 - this._process = execFile(
node_modules\bas-remote-node\src\services\engine.js:58  - this._runEngineProcess(port);
PIPEWRAP
node_modules\bas-remote-node\src\services\engine.js:111 - this._process = execFile(
node_modules\bas-remote-node\src\services\engine.js:58  - this._runEngineProcess(port);
PIPEWRAP
node_modules\bas-remote-node\src\services\engine.js:111 - this._process = execFile(
node_modules\bas-remote-node\src\services\engine.js:58  - this._runEngineProcess(port);
TCPWRAP
node_modules\ws\lib\websocket.js:1054                  - return net.connect(options);
node_modules\ws\lib\websocket.js:868                   - req = websocket._req = request(opts);
node_modules\ws\lib\websocket.js:88                    - initAsClient(this, address, protocols, options);
node_modules\bas-remote-node\src\services\socket.js:27 - createWebSocket: (url) => new WebSocket(url),
FILEHANDLE
(unknown stack trace)
FILEHANDLE
(unknown stack trace)
FILEHANDLE
(unknown stack trace)
FILEHANDLE
(unknown stack trace)
SAMPLE CODE:
const { plugin } = require('playwright-with-fingerprints');
// Set the service key for the plugin (you can buy it here https://bablosoft.com/directbuy/FingerprintSwitcher/2).
// Leave an empty string to use the free version.
plugin.setServiceKey('');
(async () => {
// Get a fingerprint from the server:
const fingerprint = await plugin.fetch({
tags: ['Microsoft Windows', 'Chrome'],
});
// Apply fingerprint:
plugin.useFingerprint(fingerprint);
// Launch the browser instance:
const browser = await plugin.launch();
// The rest of the code is the same as for a standard playwright library:
const page = await browser.newPage();
await page.goto('https://example.com');
// Print the browser viewport size:
console.log(
'Viewport:',
await page.evaluate(() => ({
deviceScaleFactor: window.devicePixelRatio,
width: document.documentElement.clientWidth,
height: document.documentElement.clientHeight,
}))
);
await browser.close();
})();

The internal client for communication with the engine is automatically closed after 5 minutes, until then it keeps the connection.
Unfortunately, there is currently no method that would force it to close, while you can do it manually, for example, patching this file and add an export for the client instance.
Alternatively, a simpler option is to kill the FastExecuteScript process.

I don't want to kill a process because that's hacky.   and It's a bit off I can't close everything when I want to so I want to fix this.
I am trying to think of a strategy where I would still be able to pull the latest version of the package in the future (without having to re-add my custom changes again).

Here is what I did.
Change #1 - browser-with-fingerprints\src\index.d.ts
Added a dispose method
export declare class FingerprintPlugin {
dispose(): Promise;
Change #2 - browser-with-fingerprints\src\plugin\index.js
Added a dispose method
//A. import close from connector
const { setup, fetch, versions, setEngineOptions, close } = require('./connector');
//B. added dispose method to FingerprintPlugin class
module.exports = class FingerprintPlugin {
async dispose()
{
console.log('Releasing Resources...')
close();
}
Change #3 - browser-with-fingerprints\src\plugin\connector\index.js
Added this code to the bottom of the file:
exports.close = () => dispose();
async function closeClient()
{
if (client)
{
await client.close();
}
}
async function dispose()
{
return await lock.acquire('client', async () =>
{
closeClient();
});
}
Now I can exit right away after running.  I think you should consider adding a dispose method like this to the code base.

I made the close method too (CheshireCaat/browser-with-fingerprints@7ae8cfb), but it will be released later when I update the browser version, your option is also suitable.

OK Awesome.  I'll test it when you release.  Just reply to me here.

The engine has been heavily rewritten, now there is no permanent connection with the engine, therefore the closing method is no longer needed.

OK - I tested, the main scenario works where it's someone clicking 'x' to close the browser or where my code closes the browser.  But...   When I break using CTRL-C the program doesn't exit to the terminal anymore.
Did you consider adding your 'shut down / resource release logic' on a CTRL-C?   I basically had a signalListener function that would call the browser.Close() method I added.
  logger.trace('Attaching SIGINT/SIGTERM listeners');
  if (!process.listeners('SIGINT').includes(signalListener)) {
    process.on('SIGINT', signalListener);
  }

  if (!process.listeners('SIGTERM').includes(signalListener)) {
    process.on('SIGTERM', signalListener);
  }

Can you give an example of code that will not be completed by CTRL-C?
I tested a simple code to get a fingerprint - it exit correctly (used terminal in VSCode).
There is no additional signal processing in the plugins, but now the engine process is terminated automatically upon completion of a particular request.
In other cases, I specifically used unref on timeouts and intervals.

OK Thanks for confirming so quickly.  I tested this scenario further and i learned that it was just my logger (pino) flushing to the terminal (after pressing ctrl-c and seeing the terminal).  So...  nothing was hanging...  i just had to press enter to see my command prompt again.    looks like CTRL-C is covered in your fix just fine.  Thanks again.

Great, glad the problem is solved.


New CVEs in 0.8.16

We're seeing these reported in the 0.8.16 image.

Except for CVE scanners, how does this affect NPD users?

On cloud providers with managed kubernetes, the npd is no longer available

NPD v0.18.8 should be released this week. Current staging image should include all the latest fixes already.
 % trivy image --severity LOW,MEDIUM,HIGH,CRITICAL --ignore-unfixed --exit-code 3 --exit-on-eol 7 --scanners vuln gcr.io/k8s-staging-npd/node-problem-detector:master
2024-04-04T06:12:15.770+0300	INFO	Vulnerability scanning is enabled
2024-04-04T06:12:24.878+0300	INFO	Detected OS: debian
2024-04-04T06:12:24.878+0300	INFO	Detecting Debian vulnerabilities...
2024-04-04T06:12:24.889+0300	INFO	Number of language-specific files: 3
2024-04-04T06:12:24.889+0300	INFO	Detecting gobinary vulnerabilities...

gcr.io/k8s-staging-npd/node-problem-detector:master (debian 12.5)

Total: 0 (LOW: 0, MEDIUM: 0, HIGH: 0, CRITICAL: 0)

/close

v0.8.18 has released.


docs:  use Flutter specific iOS plist file location

Description
There is no any file located at ios/MyApp/Info.plist. You have to change Info.plist in Runner folder.
Related Issues
Type in Documentation
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (melos run analyze) does not report any problems on my PR.
[x] I read and followed the Flutter Style Guide.
[x] I signed the CLA.
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

@LukaGiorgadze please could you sign the CLA - thanks

@LukaGiorgadze please could you sign the CLA - thanks

Done.

Hmm doesn't look like it's come through, can you make sure you're using the same email from your GitHub account? Thanks

Hmm doesn't look like it's come through, can you make sure you're using the same email from your GitHub account? Thanks

I double checked - and my email & github username is correct. Maybe it needs some time?

Made an edit to force CLA bot, LGTM now, thanks


Netty memory leak error

Hey, I saw a few other similar posts already but they weren't this exact error. I am running version 3.16.3.
I am using AWS elasticache with a replicated server setup in cluster mode and am only really using redisson to try and store sessions.
Context.xml
<?xml version="1.0" encoding="UTF-8"?>
<Context path="/app">

    <Valve className="org.apache.catalina.valves.PersistentValve" />

    <Manager className="org.redisson.tomcat.RedissonSessionManager"
             configPath="/usr/local/tomcat/conf/redisson.conf"
             readMode="REDIS" updateMode="DEFAULT" broadcastSessionEvents="false"
             keyPrefix="" />

redisson.conf
replicatedServersConfig:
  idleConnectionTimeout: 10000
  connectTimeout: 10000
  timeout: 3000
  retryAttempts: 3
  retryInterval: 1500
  failedSlaveReconnectionInterval: 3000
  failedSlaveCheckInterval: 60000
  password: null
  subscriptionsPerConnection: 5
  clientName: null
  loadBalancer: !<org.redisson.connection.balancer.RoundRobinLoadBalancer> {}
  subscriptionConnectionMinimumIdleSize: 1
  subscriptionConnectionPoolSize: 50
  slaveConnectionMinimumIdleSize: 24
  slaveConnectionPoolSize: 64
  masterConnectionMinimumIdleSize: 24
  masterConnectionPoolSize: 64
  readMode: "SLAVE"
  subscriptionMode: "SLAVE"
  nodeAddresses:
  - "redis://app.cache.amazonaws.com:6379" //not the real address
  scanInterval: 1000
threads: 16
nettyThreads: 32
codec: !<org.redisson.codec.MarshallingCodec> {}
transportMode: "NIO"

The below is the stack trace I get, it happens while tomcat is starting up.
12-Oct-2021 16:22:07.359 SEVERE [redisson-netty-2-28] io.netty.util.ResourceLeakDetector.reportTracedLeak LEAK: ByteBuf.release() was not called before it's garbage-collected. See https://netty.io/wiki/reference-counted-objects.html for more information.
Recent access records:
Created at:
	io.netty.buffer.PooledByteBufAllocator.newDirectBuffer(PooledByteBufAllocator.java:402)
	io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:188)
	io.netty.buffer.AbstractByteBufAllocator.directBuffer(AbstractByteBufAllocator.java:174)
	io.netty.buffer.AbstractByteBufAllocator.buffer(AbstractByteBufAllocator.java:108)
	org.redisson.codec.MarshallingCodec.lambda$new$1(MarshallingCodec.java:156)
	org.redisson.command.CommandAsyncService.encodeMapValue(CommandAsyncService.java:734)
	org.redisson.RedissonObject.encodeMapValue(RedissonObject.java:310)
	org.redisson.RedissonMap.putAllOperationAsync(RedissonMap.java:796)
	org.redisson.RedissonMap.putAllAsync(RedissonMap.java:737)
	org.redisson.RedissonMap.putAll(RedissonMap.java:674)
	org.redisson.tomcat.RedissonSession.save(RedissonSession.java:427)
	org.redisson.tomcat.RedissonSessionManager.add(RedissonSessionManager.java:221)
	org.apache.catalina.session.StandardSession.setId(StandardSession.java:358)
	org.apache.catalina.session.StandardSession.setId(StandardSession.java:342)
	org.apache.catalina.session.ManagerBase.createSession(ManagerBase.java:689)
	org.redisson.tomcat.RedissonSessionManager.createSession(RedissonSessionManager.java:132)
	javax.servlet.http.HttpServlet.service(HttpServlet.java:733)
	org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)

There are a few other redisson-netty errors with similar stacktraces - all seems to be related to the Servlet filters on my application

I can, but just noticed something. I tried to change to MEMORY instead of REDIS and now I get a more mangeable error..
	Caused by: org.redisson.client.RedisConnectionException: Can't connect to servers!
In REDIS mode is it possibly trying to write before it attempts a connection?

In REDIS mode is it possibly trying to write before it attempts a connection?

No.
All tests in RedissonSessionManagerTest pass successfully. You can review testUpdateTwoServers test. I think it reproduces your case.
Did you define all Redis nodes in configuration? Replicated setup requires all nodes to be defined in config.

Was this fixed ? @T00fy
if yes, what was the resolution ?

@gitrahul9
I think it was fixed in https://github.com/redisson/redisson/issues/4576


Copy data files do the container + some clean up

Add copying data files to the Dockerfile, but need files to exist in the container build folder. Any other suggestions: download these files (where?)?
fixes #84

it seems you can get them here: http://sourceforge.net/projects/mantid/files/Sample Data/SampleData-ORNL.zip/download
but the zip archive also contains a bunch of other files


Replace the dynamic callback for getting a sample with a trait

https://github.com/GWBasic/index_signal/commit/d211f8ca5be3b06e8713e8ec85301f17f80ee25d


[Bug]: Network Issues

What happened?
Tutorial Bar is offline, so when retrieving the list of free courses, it waits for an answers that never comes, effectively freezing it, and never start.
I saw a timeout error once and it worked afterwards, but I couldn't reproduce it when retrying.
It affects both CLI and GUI.
Enroller
CLI
OS
Windows
Relevant log output
C:\Users\sebbu> DUCE-CLI-windows.exe
Trying to login using Saved Email and Password
Logged in as Sébastien BURILLARD

Terms

[X] I am using the latest available version.

When will be 7785d5a144f2ee5982b29fcb6f36eb83db84cac7 update released?

Hello, just simple uncheck TutorialBar that is going to work.

^[141 / 624]  Advanced Skill Test: Python Entry Level Exam (PCEP-30-02) https://www.udemy.com/course/advanced-skill-test-python-entry-level-exam-pcep-30-02-v4/?couponCode=2B4E0EDC004A3D934467 ('Error', 'Traceback (most recent call last):\n  File "requests\\models.py", line 974, in json\n  File "json\\__init__.py", line 346, in loads\n  File "json\\decoder.py", line 337, in decode\n  File "json\\decoder.py", line 355, in raw_decode\njson.decoder.JSONDecodeError: Expecting value: line 1 column 1 (char 0)\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n  File "cli.py", line 94, in <module>\n  File "base.py", line 887, in start_enrolling\n    self.handle_course_enrollment()\n  File "base.py", line 933, in handle_course_enrollment\n    self.handle_discounted_course(course["course_id"])\n  File "base.py", line 1023, in handle_discounted_course\n    amount, coupon_valid = self.check_course(course_id, coupon_code)\n                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "base.py", line 854, in check_course\n    r = self.client.get(url).json()\n        ^^^^^^^^^^^^^^^^^^^^^^^^^^^\n  File "requests\\models.py", line 978, in json\nrequests.exceptions.JSONDecodeError: Expecting value: line 1 column 1 (char 0)\n\n\nhttps://www.udemy.com/course/advanced-skill-test-python-entry-level-exam-pcep-30-02-v4/?couponCode=2B4E0EDC004A3D934467\nAdvanced Skill Test: Python Entry Level Exam (PCEP-30-02)|:|Unknown Error v2.3.1') Press Enter to exit...
^[505 / 627]  Super 3bedoom SketchUp Pro From Basic To Advance Level https://www.udemy.com/course/super-3bedoom-sketchup-pro-from-basic-to-advance-level/?couponCode=B39D613759AA39CB8843 upstream connect error or disconnect/reset before headers. reset reason: connection termination Unknown Error: Report this to the developer ('Error', 'Traceback (most recent call last):\n  File "cli.py", line 94, in <module>\n  File "base.py", line 887, in start_enrolling\n    self.handle_course_enrollment()\n  File "base.py", line 933, in handle_course_enrollment\n    self.handle_discounted_course(course["course_id"])\n  File "base.py", line 1029, in handle_discounted_course\n    self.process_coupon(course_id, coupon_code, amount)\n  File "base.py", line 1036, in process_coupon\n    if msg := checkout_response.get("detail"):\n              ^^^^^^^^^^^^^^^^^^^^^\nAttributeError: \'Response\' object has no attribute \'get\'\n\n\nhttps://www.udemy.com/course/super-3bedoom-sketchup-pro-from-basic-to-advance-level/?couponCode=B39D613759AA39CB8843\nSuper 3bedoom SketchUp Pro From Basic To Advance Level|:|Unknown Error v2.3.1') Press Enter to exit...
It seems network issues still aren't fixed.
Also, when such error occurs, I'ld want to still see the results (Successfully Enrolled, Amount Saved, Already Enrolled, Excluded Courses, Expired Courses, and of course the number of courses that was left to query).


Add the ability to define array items using from_file

I would suggest the following convention
name, bit_length, data_type
ARRAY, 8, uint(16)

So uint(shape).
This matches the programmatic way to define it and does not add too much complexity to the csv file.
PacketArray(name='SENSOR_GRID', data_type='uint', bit_length=16,
            array_shape=(32, 32), array_order='C')

This sounds like a very elegant solution. For expanding fields, can be fieldname(expand) of fieldname(*).
I plan on adding a capability to have an array shape be defined by a preceding field in the packet. this allows multiple variable length fields in the same packet. I was told a few instruments being developed at LASP do this with their packets. in this spec, that could be written out as fieldname(otherfield). if we do that maybe we should change field(expand) and array_shape=“expand” to just field() and array_shape=“” so no one thinks there is a field called expand.
We should really put together a page on the site which describes this csv format, too


Could this be used as a UVI sensor for reptile lamp ?

Hi !
Sorry, this might not be the right place to ask this but you seem to be very familiar with this sensor
I'm trying to create a UVI meter for my reptile lamp, to check the decrease of UVi in time and know when to replace them :)
I have 7 Arcadia T5 12% 54w UVB tube that should output 8.5 UVI at 30 cm from light source, they produce 7000K
Pro T5 Datasheet
Do you think this sensor could do the job ?
Thanks !

I received my sensor,started playing around with it, it seems to work with simple reptile tube ( arcadia call them Shadedweller )
I get a UVI of +/- 0.7 at 25cm from the light source so that seems fine
But for my other tubes ( arcadia t5 desert 12% ) I should get something around 8.5 UVI at 30cm from light source and I get something around 2.5 2.7 UVI
If I multiply the value I get for those tube by ~3 I almost get what I should expect but i'm not sure that it is the right way to do it because if I multiply by 3 then the values for my shadeweller is wrong...
Any tips to share ?
FYI, these tubes are "white" and therefore does not output infrared


Backtracking

Questions like backtracking can also be added. Questions like

Sudoku Solver
N Queen Problem
Rat in a Maze
M coloring Problem
Kindly assign me this issue I want to work on it.

Okay.
I assigned you. :_

please assign me this.

@TurboPug2101 Make new PR or issue

Hi,i would like to add the following questions to the backtracking questions list:
Print all Hamiltonian paths present in a graph.
Magnet Puzzle
please assign me this.

okay, ASSIGNED @TurboPug2101


ecoding? errors with outlook, gmail

v0.16.0 made additional encoding errors it seems. Added original message content at https://gist.github.com/xCykrix/00a71d6aaf400630910ed3e0de90b17b#file-new-original-message

Creating my own inbox with Ethereal and sending it via Ethereal gives the expected outcome (also sent inbound to the account via my SMTP server), but if I send it to Gmail or Outlook it has encoding errors. 0.16.1 did not resolve the issue. I'll try to send it via Gmail SMTP to see if perhaps it will have a different result.
Also:
deno 1.21.0 (release, x86_64-unknown-linux-gnu)
v8 <IP_ADDRESS>
typescript 4.6.2
posted by @xCykrix in https://github.com/EC-Nordbund/denomailer/issues/12#issuecomment-1106552060_

Alright. So I dug into it a bit more and came up with basically nothing of use besides "0a" which is what wants to appear now. Ethereal renders it correctly, but even Gmail to Gmail (used my girlfriend's Gmail to receive and mine to send) has the faulty encoding. So that pretty much narrows out it being my SMTP server causing an issue.

Lol I could now reproduce it.
It has to be the gmail...
gmail -> gmail creates problem
gmail -> gmx.de creates no problem
gmx.de -> gmail creates no problem
Very strange...

  Gmail is working perfectly, but Outlook (Desktop&Android) has a trailing "a" at the end for some reason when using the HTML at https://gist.github.com/xCykrix/00a71d6aaf400630910ed3e0de90b17b#file-sent-html
If I beautify the HTML it works as intended, so I'm assuming it is still just one oddball in encoding.

Outlook has a Option to show the raw Email could you share that?

useing android Outlook I could not reproduce it...

Added to the gist. https://gist.github.com/xCykrix/00a71d6aaf400630910ed3e0de90b17b#file-raw-content-mht
It is right near the end at a comment. So confused as to where it comes from.

I release 1.16.4 this should not fix it. But could you try :D. Found a stupid bug (that codepath should not be used so this should not have any effect)

Unable to reproduce it now. Not sure what you changed but it worked.

ok lol.
I will close this. Then the error has to be some line ending bugs or so...


qpter not opening on Debian Linux

Trying to run qpter from the system doesn't work!
Running it from the command line got this response:
Traceback (most recent call last):
  File "/home/jason/.local/bin/qpter", line 8, in <module>
    sys.exit(run())
  File "/home/jason/.local/lib/python3.9/site-packages/pter/main.py", line 127, in run
    run_qtui(args, config)
  File "/home/jason/.local/lib/python3.9/site-packages/pter/qtui.py", line 1817, in run_qtui
    p = Program(config, utils.open_sources(args), fullpath)
TypeError: open_sources() missing 1 required positional argument: 'config'

Running Debian Linux: BunsenLabs GNU/Linux 11 (Beryllium)
I've tried updating pter through pip, this was the response:
Requirement already satisfied: pter in ./.local/lib/python3.9/site-packages (3.10.1)
WARNING: Keyring is skipped due to an exception: Failed to unlock the keyring!
Collecting pter
  Using cached pter-3.10.1-py3-none-any.whl (101 kB)
  Using cached pter-3.10.0-py3-none-any.whl (101 kB)
Requirement already satisfied: cursedspace>=1.3.1 in ./.local/lib/python3.9/site-packages (from pter) (1.5.2)
Requirement already satisfied: pytodotxt>=1.1.0 in ./.local/lib/python3.9/site-packages (from pter) (1.4.3)

(Warning only there because of the KDE wallet, but hasn't been a problem using this system before.)
So I think I'm up to date!

Eek! Thanks for pointing it out, I haven’t started qpter in ages myself. I’ll fix it asap!

Alright, 3.11.0 should solve this! Can you confirm?

Confirmed! Working as expected.


Starting a charitable startup under the name of MyDailyReminder that includes: MyDailyVerse, MyDailyHadith and the mobile app.

to be done once all three products are up and running + could be either before or after the advertisement of the app but has to be after communicating with HadeethEnc and QuraanEnc


about inference code

The test.py called by dist_test.sh is actually the code for evaluation. Which code is used in inference code without true labels?

我也想知道，请问你解决了吗？

The test.py called by dist_test.sh is actually the code for evaluation. Which code is used in inference code without true labels?

我也想知道，请问你解决了吗？


a fix for permanent learning port fails to learn when reloading config

Resubmitting the PR #519

Seems to have become flakey. Please would you be able to investigate.
======================================================================
FAIL: main.FaucetConfigReloadTest.test_port_change_permanent_learn
(subunit.RemotedTestCase)
main.FaucetConfigReloadTest.test_port_change_permanent_learn
_StringException: Traceback (most recent call last):
File "./faucet_mininet_test.py", line 895, in
test_port_change_permanent_learn
self.verify_tp_dst_blocked(5001, first_host, second_host)
File "/home/faucet/faucet/tests/faucet_mininet_test_base.py", line 618,
in verify_tp_dst_blocked
'', first_host.cmd('timeout 10s nc %s %u' % (second_host.IP(), port)))
File "/usr/lib/python2.7/unittest/case.py", line 513, in assertEqual
assertion_func(first, second, msg=msg)
File "/usr/lib/python2.7/unittest/case.py", line 506, in _baseAssertEqual
raise self.failureException(msg)
AssertionError: '' != 'hello\r\n'
On Tue, May 2, 2017 at 8:09 PM, truonghuut<EMAIL_ADDRESS>wrote:

Resubmitting the RP #519 https://github.com/REANNZ/faucet/pull/519
You can view, comment on, or merge this pull request online at:
https://github.com/REANNZ/faucet/pull/527
Commit Summary

fix for permanent learn port failing to learn after reloading config)
updated unittest for config reload

File Changes

M faucet/valve.py
https://github.com/REANNZ/faucet/pull/527/files#diff-0 (60)
M tests/faucet_mininet_test.py
https://github.com/REANNZ/faucet/pull/527/files#diff-1 (177)

Patch Links:

https://github.com/REANNZ/faucet/pull/527.patch
https://github.com/REANNZ/faucet/pull/527.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/REANNZ/faucet/pull/527, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEgZ1_Zu1CZ7mMX7JhkZYqL1eZzyH3WGks5r1uSugaJpZM4NN1VE
.

I could not replicate the error on my laptop. But I think there may be the lack of delay for Faucet to finish the flow installation before verifications. I added "time.sleep" after hup_faucet to ensure this.

It would be better to check that the flow is installed with one of the wait
for flow methods rather than a sleep.
On May 3, 2017 4:26 AM, "truonghuut"<EMAIL_ADDRESS>wrote:

I could not replicate the error on my laptop. But I think there may be the
lack of delay for Faucet to finish the flow installation before
verifications. I added "time.sleep" after hup_faucet to ensure this.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/REANNZ/faucet/pull/527#issuecomment-298686921, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEgZ17mI3RaUnkcIbj1hHuwJ9iHsphjVks5r11k2gaJpZM4NN1VE
.


How to Build a Text Extractor Using React and Google-Cloud-Vision API

Writing sample(s):
Include any links or writing samples - to help our team better gauge your writing quality.
Proposal Submission
Proposed title of article
[Languages] How to Build a Text Extractor Using React and Google-Cloud-Vision API
Proposed article introduction
Google Cloud Vision API is a machine learning tool that can classify details from an image provided as an input into thousands of different categories with pre-trained API models. It offers these pre-trained models through an API and the categories are detected as individual objects within the image.
In this tutorial you will get know how can we integrate Google Vision API in our React application and how Google vision API can b used to extract text from images recognition.
For example, if the article is based on machine learning, use the following: [Machine learning] Introduction to Machine Learning.
If the article is based on developing an Android application, use the following: [Android] Developing Apps using Android.
Key takeaways
How to configure and use Google Cloud Vision API
How to integrate Google Cloud vision API in your React Application
How to access firebase for stored images and extracting text from saved Images
Article quality
Most resources on Google vision API dos not cover React, most covers mainly React Native.
References
https://cloud.google.com/vision
Conclusion
Finally, remove the Pre-Submission advice section and all our blockquoted notes as you fill in the form before you submit.
We look forwarding to reviewing your topic suggestion.

Sounds like a helpful topic - let's please be sure it adds value beyond what is in any official docs and/or what is covered in other blog sites. (the articles should go beyond a basic explanation - and it is always best to reference any EngEd article and build upon it). @codeInn001
Please be attentive to grammar/readability and make sure that you put your article through a thorough editing review prior to submitting it for final approval. (There are some great free tools that we reference in EngEd resources.)
ANY ARTICLE SUBMITTED WITH GLARING ERRORS WILL BE IMMEDIATELY CLOSED.
Please be sure to double-check that it does not overlap with any existing EngEd articles, articles on other blog sites, or any incoming EngEd topic suggestions (if you haven't already) to avoid any potential article closure, please reference any relevant EngEd articles in yours. - Approved

@ahmadmardeni1 Apologies for the delay. Article will be ready by next week. thanks.

@codeInn001
We will be closing this Topic due to inactivity: It can be re-approved at a later date if you'd like to continue working on it and add it to your EngEd author profile.
Note: it has to be re-approved in case another student or site has published similar content.


v 4+ Check why 'Acer saccharum' is pulling up 'Acer saccharum 'Bonfire'' when user clicks 'More Tree Info'

ToDO:
This is regarding record '4KO8t1YyE0tKpsd4PPTX' in prod (entered Oct 18 2022).
The species info is:
speciesNameCommon : "Sugar Maple"
speciesNameScientific : "Acer saccharum"
However, it keeps showing "Acer saccharum 'Bonfire'" when user clicks 'More Tree Info'. I'm also seeing the same problem with 'White oak' (which for the photo location in Nashville being shown below is pulling up the data for 'Oregon Oak (aka White Oak or Garry Oak').
Investigate why - and fix.
White Oak / Oregon Oak location:

Video repo of the 'Acer saccharum' issue:
https://user-images.githubusercontent.com/62637055/221598060-eb17f5e0-0be7-4d42-bb22-002347e32062.mov

note: inspecting data flow between MapScreen.tsx and InfoScreen.tsx

It looks like the following function in MapScreen.tsx is cause to this bug:
  function extractTreeNameQuery(item) {
     const treename = item.item.speciesNameCommon
     console.log(
       'Extracted Tree Common Name: ' +
         treename +
         '  from tooltip. Passing to InfoScreen to show more tree info',
     )
     return treename
   }

I think we should try
const treename = item.item.speciesNameScientific ?
item.item.speciesNameScientific :
item.item.speciesNameCommon;

This will conditionally pass the scientific name of it exists, and if not, only then passes the common name into the query, which is then passed to the infoScreen as a handler.

however, within the InfoScreen.tsx, the following hook only filters through the COMMON names:
useEffect(() => {
const { params } = props.route
if (params && params.treeNameQuery !== undefined) {
const completeList = speciesDataList
const query = params.treeNameQuery?.toUpperCase()
const filteredList = completeList.filter(
(tree) => tree.COMMON.toUpperCase().indexOf(query) > -1,
)
setSelectedTree(filteredList.length == 0 ? undefined : filteredList[0])
setIsFromMapScreen(true)
}
}, [props.route])

I created a new branch that filters via SCIENTIFIC name instead of COMMON.
This should resolve the issues with Maples, Oak, or any other trees that have overlapping COMMON names.
But, maybe the query passed should be an object, i.e. {treeName: 'White Oak', scientific: 'false'} that the infoScreen could then resolve whether or not the name being passed is scientific or not.
https://github.com/TreeMama/iSeaTree-React-Prototype/compare/develop...issue/455

ok, so I added the following to the InfoScreen.tsx
let query = params.treeNameQuery?.toUpperCase().toString();
      console.log(`query: ${query}`);
      // const filteredList = completeList.filter(
      //   (tree) => tree.COMMON.toUpperCase().indexOf(query) > -1,
      // )

      // Replace double-quotes with single-quotes to match pattern in datastore
      if (query.includes('"')) {
        query.replace(/"/g, "'");
      }

      // Create a Regular Expression based on the query
      const reg = new RegExp(`^${query}$`)
      console.log(reg);

      // Filter tree list by scientific name using search(regex) to find a match
      const scientificList = completeList.filter(
        (tree) => tree.SCIENTIFIC.toUpperCase().search(reg) > -1,
      )

The following creates a strict regular expression that matches the scientific name. Before it was matching any substring, ie Sugar Maple would match Sugar Maple 'Bonfire'.
const reg = new RegExp(`^${query}$`);

Solution: The code was updated to filter the tree list by Scientific Names instead of Common Names. The updated code normalizes the query string by replacing any double-quotes with single-quotes to match the pattern in the data store, i.e. will match Sugar Maple "Bonfire" to Sugar Maple 'Bonfire', creates a regular expression based on the normalized query, and then filters the tree list by scientific name using the search method.
If no matches are found, the query is trimmed, for other cases like Acer campestre 'Evelyn' and filtered again (it's possible the speciesList.json still needs populating).
If there are still no matches, the tree list is finally filtered by common name. The selected tree is then set to the first item in the filtered list, or undefined if the list is empty.
 useEffect(() => {
    const { params } = props.route

    if (!params || params.treeNameQuery === undefined) {
      return;
    }

      const completeList = speciesDataList;
      const query = params.treeNameQuery?.toUpperCase().toString();

      // Replace double-quotes with single-quotes to match pattern in datastore
      const normalizedQuery = query.replace(/"/g, "'");

      // Create a Regular Expression based on the query
      let reg = new RegExp(`^${normalizedQuery}$`);
      console.log(reg);

      // Filter tree list by scientific name using search(regex) to find a match
      const filterByScientific= (list, regex) =>
         list.filter((tree) => tree.SCIENTIFIC.toUpperCase().search(regex) > -1);

      let filteredList = filterByScientific(completeList, reg)

      if (filteredList.length === 0){
        console.log('No matches found in scientific list, first trimming query')
        let trim = query.match(/'.*'/g) || query.match(/‘.*?’/g, '');
        let trimmedQuery = query.replace(` ${trim}`, '');
        console.log(`trimmedQuery: ${trimmedQuery}, trim: ${trim}`);
        filteredList = filterByScientific(completeList, new RegExp(`^${trimmedQuery}$`));
      }

      if (filteredList.length === 0) {
        console.log("Still no matches found in scientific list, checking common name")
        filteredList = completeList.filter(
          (tree) => tree.COMMON.toUpperCase().search(reg) > -1
        );
      }

      setSelectedTree(filteredList.length == 0 ? undefined : filteredList[0])

      setIsFromMapScreen(true)

  }, [props.route, speciesDataList]);


Add in link to bash-sensible

This is a repo with some excellent default settings for bash users that would have saved me a lot of trouble had I found it a long time ago.

Great!


WIP

Strange. I can't replicate why Github API sometimes gives me a null body on this repo, but it happens consistently on one of ours


Compatibility with React 17

componentWillReceiveProps will be deprecated in React 17. Do you plan to address this?

This warning is firing for me when debugging
backend.js:1 Warning: componentWillReceiveProps has been renamed, and is not recommended for use. See https://fb.me/react-async-component-lifecycle-hooks for details.

* Move data fetching code or side effects to componentDidUpdate.
* If you're updating state whenever props change, refactor your code to use memoization techniques or move it to static getDerivedStateFromProps. Learn more at: https://fb.me/react-derived-state
* Rename componentWillReceiveProps to UNSAFE_componentWillReceiveProps to suppress this warning in non-strict mode. In React 17.x, only the UNSAFE_ name will work. To rename all deprecated lifecycles to their new names, you can run `npx react-codemod rename-unsafe-lifecycles` in your project source folder.

I am using this library in a small project that need to be React 17 compliant. I am using ComponentDidUpdate instead of componentWillReceiveProps.
But I am really interested in this featue added soon.

Fix is in the works

I think the way to go here is to change this component to be either fully controlled, or uncontrolled.
like https://reactalt.org/blog/2018/06/07/you-probably-dont-need-derived-state.html
Then there isn't the dance being done in componentWillReceiveProps because we aren't trying to sync props and state. This would break callers though, so it would be a major update. The new API would require the onChange method to be used in the case where you want to have control over scale/translation. Or dont use onChange in which case it is fully uncontrolled.

I proposed a fix in #57 if anyone wants to comment there

@Teyras @zachcowell @robertabenassi Any thoughts on #57

This looks like a step in the right direction to me. Thank you!

@scottyantipa
sorry for the late feedback. It seems ok for me now.
Thanks a lot!

This is now released in 2.0.0. Thanks everyone.


ClearDisplay affecting movement

Bug

In the program below, there is a clear display block on the last line. Removing this block will allow the robot to stop eventually (which is expected), but having this block makes the robot continuously move forwards.

To Reproduce
Steps to reproduce the behavior:

Make the program shown in the picture in EV3 lejos 0.9.1
Note the difference if you include the clear display block or not.

Expected behavior

The robot is supposed to stop as shown in the first picture, but if we add the clear display block, the robot will keep on moving until the user manually terminates the program.

Screenshots

Actually the problem is the other way round. It is supposed to go on, as the loop should never terminate. drive sets the speed of the motor once and does not change it afterwards. That means it will keep going until the program terminates or a different speed is set to the motors.
This happens when the clear display block is used.
The bug is actually that it does not happen if no clear display block is used. The simulation crash can also be observed as the ultrasonic sensor animation stops.


Implement a bespoke translator for CCNOT

There are standard low-depth circuits implementing CCZ and CCNOT from CZ, which quilc does not discover through generic compilation. Implement this as a translator. (If appropriate, additionally implement a dependent UCR -> CCZ translator!)

@ecpeterson This is done, yes?


contour() not working correctly

When using contour() to create a contour plot with lines only, a filled plot is being created instead.
[X,Y,Z] = peaks;
contour(X,Y,Z)

fig2plotly(gcf, 'offline', false);

Expected and generated (https://chart-studio.plotly.com/~xarico10/709/#/) plots:

Examples on using contour() can be found on:
https://www.mathworks.com/help/matlab/ref/contour.html#responsive_offcanvas

works perfectly in matlab2021a (online mode) please review


val_loss is not available during training

When using fit on my model i receive the error:
"Can save best model only with val_loss available, skipping."
My callbacks are using val_loss monitoring.
After some investigation i found out that the val loss is being calculated and it is accessable after the training was finished but during training the callbacks cant reach it for some reason.
Has anyone encountered this issue before? can someone help me?
My code:

@YuvalSilman We are checking to see if you still need help on this issue. We recommend that you upgrade to 2.6 which is latest stable version of TF and let us know if the issue still persists in newer versions. please provide a code snippet in comment to reproduce the issue reported here. we will get you the right help.Thanks!


AutomaticKeepAliveClientMixin issue

As i understand if i use AutomaticKeepAliveClientMixin i can save the state of a widget and it's list scroll position. So here is the code and would someone please explain why doesn't my list in scan_widget keep its scroll position when i change a part of the page body. thank you!
main.txt
placeholder_widget.txt
scan_widget.txt
tababar_widget.txt
here are all my dart classes in .txt files

Also any advice on how to use navigation and automatickeepaliveclientmixin with it to save states and scroll position would be greatly appreciated, thank you!

Please consider asking support questions in one of the other channels listed at http://flutter.io/support .

Perhaps mixed up with https://docs.flutter.io/flutter/widgets/PageStorageKey-class.html ?
I also found https://github.com/flutter/flutter/issues/10657#issuecomment-308235069 helpful.


Comment permalinks

Could you make that feature request a bit more precisely :) That was probably a reminder for something, but it would be good if we could make that a full fledged ticket, valueable as base for discussion.

Closing this due to inactivity.


Add robots.txt, description meta tag, and some image alt tags

A robots.txt file is needed for search engines to be able to index the site.

(It seems like Google would rather we use <meta name="robots" content="noindex"/> directives instead of putting the pages in the robots.txt
(https://developers.google.com/search/docs/advanced/robots/intro#what-is-robots.txt-used-for)
but I'm not particularly concerned about that, especially given all of the extra complexity we'd need to add those meta tags. The robots.txt seems like it'll work just fine for our needs.)

(It seems like Google would rather we use <meta name="robots" content="noindex"/> directives instead of putting the pages in the robots.txt
(https://developers.google.com/search/docs/advanced/robots/intro#what-is-robots.txt-used-for)
but I'm not particularly concerned about that, especially given all of the extra complexity we'd need to add those meta tags. The robots.txt seems like it'll work just fine for our needs.)

Also, you asked a while ago about why we would want to specify alt="" instead of just omitting the alt attribute entirely. My impression is that if you omit the alt attribute, non-visual browsers like Lynx might try to replace the image with its filename. If you set alt="", though, they'll just omit it.
Source: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#Attributes

Also, you asked a while ago about why we would want to specify alt="" instead of just omitting the alt attribute entirely. My impression is that if you omit the alt attribute, non-visual browsers like Lynx might try to replace the image with its filename. If you set alt="", though, they'll just omit it.
Source: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/img#Attributes

(It seems like Google would rather we use <meta name="robots" content="noindex"/> directives instead of putting the pages in the robots.txt
developers.google.com/search/docs/advanced/robots/intro#what-is-robots.txt-used-for
but I'm not particularly concerned about that, especially given all of the extra complexity we'd need to add those meta tags. The robots.txt seems like it'll work just fine for our needs.)

Well, with Angular, every page is index.html so we can't have different meta tags for specific pages.

(It seems like Google would rather we use <meta name="robots" content="noindex"/> directives instead of putting the pages in the robots.txt
developers.google.com/search/docs/advanced/robots/intro#what-is-robots.txt-used-for
but I'm not particularly concerned about that, especially given all of the extra complexity we'd need to add those meta tags. The robots.txt seems like it'll work just fine for our needs.)

Well, with Angular, every page is index.html so we can't have different meta tags for specific pages.

Ooh, I didn't know that about Vercel—cool!

Ooh, I didn't know that about Vercel—cool!


Minor spelling error fix.

Hi,
this patch is pretty minor spelling error. Reason, why I am making a pull request instead directly committing is that it is error message returned by deamon. So I am not sure, if you actually want to change it or not as somebody may be parsing / grepping for that string.
Thanks,
Antonin

Thanks!  Great to see you again, btw! :-)

Thanks Joachim, very much appreciate it :)


Node 'training/Adam/gradients/gradients/batch_normalization_8/cond_grad/StatelessIf': Connecting to invalid output 3 of source node batch_normalization_8/cond which has 3 outputs. Try using tf.compat.v1.experimental.output_all_intermediates(True).

Please make sure that this is an issue related to keras.
tag:keras_template
Important Notice
Please note that tf.keras code was moved entirely to
keras-team/keras repository
You can open any code/doc bugs, performance issues, and feature requests
in keras-team/keras repository
tf.keras related issues opened in
tensorflow/tensorflow repository may
not get attention as keras-team/keras
repository is dedicated for the development of keras code

@Hjiwnain ,
In order to expedite the trouble-shooting process, could you please provide a minimal code snippet and the TensorFlow version you are using.

Also please take a look at this link for the information regarding tf.compat.v1.experimental.output_all_intermediates.It helps.Thanks!


Add notes for decision cascade models

The notes can be found at https://prabhat1081.github.io/cs224w-notes/

Thanks for pushing that to master, and cleaning up the commit history. Makes it a lot easier to see what you did. The lecture notes for that lecture are still incomplete, but it's a really good start.

Thanks Ben.


Console spam when on inventory screen

Seems easy enough to reproduce, I got this simply by adding the just-released version v0.1.5 for MC 1.7.10 to my instance and opening my inventory. As soon as I did that (now on a test instance), the console was quickly spammed by this message: https://gist.github.com/Revemohl/233f936ba35c132509f0c054a11e86a0
I thought OptiFine was the cause, so I removed it but I still got the same thing: https://gist.github.com/Revemohl/48b1e435166fc22201bc503d6791ef07
However, after equipping the Fruit Phone glasses, that spam goes away.
 First #4, now this :L

Also, thanks for the extensive debug information! People don't tend to bother sending forced crash logs or troubleshoot on their own.

I'm just glad this didn't crash the game. :P
Fix published as v0.1.6 (1.7.10) and v0.1.6 (1.10.2).


Segfault in test_buffer_region

Simplifying down test_numpy I can get the following test to fail.
import numpy as np
import ucp

arr = np.ones(10, dtype='u1')

buffer_region = ucp.buffer_region()
buffer_region.populate_ptr(arr.data)

result = np.asarray(buffer_region)
np.testing.assert_array_equal(result, arr)

This segfaults sometimes.  Other times it fails within NumPy when creating a numpy array from the buffer region.
One thing I notice, is that the shape of this object is odd
(Pdb) buffer_region.shape
[10, 0, 0, 0, 0, 0, 0, 0]

@Akshay-Venkatesh does this test pass on your machine?

Or, more generally, do the tests in the tests/ directory pass?

Some potentially useful information from gdb
(gdb) run -m pytest ucx-py/tests/test_buffer_region.py::test_segfault --verbose
Starting program: /home/nfs/mrocklin/miniconda/envs/dev/bin/python -m pytest ucx-py/tests/test_buffer_region.py::test_segfault --verbose
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
============================= test session starts ==============================
platform linux -- Python 3.7.3, pytest-4.4.1, py-1.8.0, pluggy-0.9.0 -- /home/nfs/mrocklin/miniconda/envs/dev/bin/python
cachedir: .pytest_cache
rootdir: /home/nfs/mrocklin/ucx-py
collected 1 item

ucx-py/tests/test_buffer_region.py::test_segfault [New Thread 0x7ffff1b58700 (LWP 18479)]
[New Thread 0x7ffff1357700 (LWP 18480)]
[New Thread 0x7fffecb56700 (LWP 18481)]
[New Thread 0x7fffea355700 (LWP 18482)]
[New Thread 0x7fffe7b54700 (LWP 18483)]
[New Thread 0x7fffe5353700 (LWP 18484)]
[New Thread 0x7fffe2b52700 (LWP 18486)]
[New Thread 0x7fffe0351700 (LWP 18487)]
[New Thread 0x7fffddb50700 (LWP 18488)]

Thread 1 "python" received signal SIGSEGV, Segmentation fault.
__memmove_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:155
155	../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: No such file or directory.
(gdb) where
#0  __memmove_avx_unaligned () at ../sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S:155
#1  0x00007ffff3b2f594 in raw_array_assign_array ()
   from /home/nfs/mrocklin/miniconda/envs/dev/lib/python3.7/site-packages/numpy/core/_multiarray_umath.cpython-37m-x86_64-linux-gnu.so
#2  0x00007ffff3b2fe30 in PyArray_AssignArray ()
   from /home/nfs/mrocklin/miniconda/envs/dev/lib/python3.7/site-packages/numpy/core/_multiarray_umath.cpython-37m-x86_64-linux-gnu.so
#3  0x00007ffff3bd968e in PyArray_ConcatenateArrays ()
   from /home/nfs/mrocklin/miniconda/envs/dev/lib/python3.7/site-packages/numpy/core/_multiarray_umath.cpython-37m-x86_64-linux-gnu.so
#4  0x00007ffff3bd9efb in PyArray_ConcatenateInto ()
   from /home/nfs/mrocklin/miniconda/envs/dev/lib/python3.7/site-packages/numpy/core/_multiarray_umath.cpython-37m-x86_64-linux-gnu.so
#5  0x00007ffff3bda03f in array_concatenate ()
   from /home/nfs/mrocklin/miniconda/envs/dev/lib/python3.7/site-packages/numpy/core/_multiarray_umath.cpython-37m-x86_64-linux-gnu.so
#6  0x000055555568cd45 in cfunction_call_varargs (kwargs=<optimized out>, args=<optimized out>, func=0x7ffff3e040d8)
    at /home/conda/feedstock_root/build_artifacts/python_1553725065783/work/Objects/call.c:753
#7  PyCFunction_Call () at /home/conda/feedstock_root/build_artifacts/python_1553725065783/work/Objects/call.c:784
#8  0x00007ffff3b307e8 in array_implement_array_function ()
   from /home/nfs/mrocklin/miniconda/envs/dev/lib/python3.7/site-packages/numpy/core/_multiarray_umath.cpython-37m-x86_64-linux-gnu.so
#9  0x00005555556bcb50 in _PyMethodDef_RawFastCallKeywords ()
    at /home/conda/feedstock_root/build_artifacts/python_1553725065783/work/Objects/call.c:694
#10 0x00005555556bccf1 in _PyCFunction_FastCallKeywords (func=0x7ffff3e04990, args=<optimized out>, nargs=<optimized out>,
    kwnames=<optimized out>) at /home/conda/feedstock_root/build_artifacts/python_1553725065783/work/Objects/call.c:730
#11 0x000055555572a0c4 in call_function (kwnames=0x0, oparg=5, pp_stack=<synthetic pointer>)
    at /home/conda/feedstock_root/build_artifacts/python_1553725065783/work/Python/ceval.c:4568
#12 _PyEval_EvalFrameDefault () at /home/conda/feedstock_root/build_artifacts/python_1553725065783/work/Python/ceval.c:3124
#13 0x000055555566ba59 in _PyEval_EvalCodeWithName ()
    at /home/conda/feedstock_root/build_artifacts/python_1553725065783/work/Python/ceval.c:3930
#14 0x00005555556bc3e7 in _PyFunction_FastCallKeywords ()
    at /home/conda/feedstock_root/build_artifacts/python_1553725065783/work/Objects/call.c:433
#15 0x0000555555726cc4 in call_function (kwnames=0x7fffdb2f5128, oparg=<optimized out>, pp_stack=<synthetic pointer>)
    at /home/conda/feedstock_root/build_artifacts/python_1553725065783/work/Python/ceval.c:4616
#16 _PyEval_EvalFrameDefault () at /home/conda/feedstock_root/build_artifacts/python_1553725065783/work/Python/ceval.c:3139
#17 0x000055555566b1a9 in _PyEval_EvalCodeWithName ()
    at /home/conda/feedstock_root/build_artifacts/python_1553725065783/work/Python/ceval.c:3930
#18 0x00005555556bc385 in _PyFunction_FastCallKeywords ()
    at /home/conda/feedstock_root/build_artifacts/python_1553725065783/work/Objects/call.c:433
#19 0x0000555555725bf6 in call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>)
    at /home/conda/feedstock_root/build_artifacts/python_1553725065783/work/Python/ceval.c:4616
#20 _PyEval_EvalFrameDefault () at /home/conda/feedstock_root/build_artifacts/python_1553725065783/work/Python/ceval.c:3124
#21 0x000055555566b1a9 in _PyEval_EvalCodeWithName ()
    at /home/conda/feedstock_root/build_artifacts/python_1553725065783/work/Python/ceval.c:3930
#22 0x000055555566c275 in _PyFunction_FastCallDict ()
    at /home/conda/feedstock_root/build_artifacts/python_1553725065783/work/Objects/call.c:376
#23 0x000055555572773b in do_call_core (kwdict=0x7fffdaf04ee8, callargs=0x7ffff5996d18, func=0x7fffdb30bae8)
    at /home/conda/feedstock_root/build_artifacts/python_1553725065783/work/Python/ceval.c:4645

@mrocklin This (buffer protocol) is one of the less understood areas of the code for me. I'll take a closer look and update here.

Same with us all :)
@pentschev if you wanted to play around with UCX this might interest you

@mrocklin Went through these two references to understand buffer protocol a bit more:
[1] https://jakevdp.github.io/blog/2014/05/05/introduction-to-the-python-buffer-protocol/
[2] https://cython.readthedocs.io/en/latest/src/userguide/buffer.html
I noticed that __getbuffer__ is implemented but not __releasebuffer__ here (https://github.com/Akshay-Venkatesh/ucx-py/blob/devel/ucp/_libs/ucp_py_buffer_helper.pyx#L142). [2] suggests that reference counting may be needed to safely release buffers when all views on the underlying buffer are extinguished. Since you're seeing segfaults sometimes, is it possible that lack of reference counting is leading to segfaults?
The shape looks very odd. The expectation there is (10,) right?

Since you're seeing segfaults sometimes, is it possible that lack of reference counting is leading to segfaults?

Maybe.  I am also ignorant of how the buffer protocol works.

The shape looks very odd. The expectation there is (10,) right?

Correct

Some probably unhelpful context: when initially implementing things, I was getting nonsense shapes for the output. IIRC it was an error somewhere in my code (I think the wrong format code?).
Releasing memory was definitely a todo I never got to.

I was going to take a look at this now, but it seems not to be an issue anymore. I tried running test_cupy, as well as the sample from https://github.com/Akshay-Venkatesh/ucx-py/issues/87#issue-436374794, and both pass. Using the latest ucx-py devel branch. The only change I had to do in the sample above was to replace ucp.buffer_region() to ucp.BufferRegion().
@mrocklin could you confirm if it works for you now as well?

Right.  I haven't run into this lately.
On Tue, May 7, 2019 at 8:28 AM Peter Andreas Entschev <
<EMAIL_ADDRESS>wrote:

I was going to take a look at this now, but it seems not to be an issue
anymore. I tried running test_cupy, as well as the sample from #87
(comment)
https://github.com/Akshay-Venkatesh/ucx-py/issues/87#issue-436374794,
and both pass. Using the latest ucx-py devel branch. The only change I had
to do in the sample above was to replace ucp.buffer_region() to
ucp.BufferRegion().
@mrocklin https://github.com/mrocklin could you confirm if it works for
you now as well?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Akshay-Venkatesh/ucx-py/issues/87#issuecomment-490079404,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACKZTGQB4JX6W22BANSZCDPUF7YDANCNFSM4HH6EFBQ
.

Do you think it can be closed then?

Sure.


[CodeQuality] Add KernelBrowser support on LiteralGetToRequestClassConstantRector

Fixes https://github.com/rectorphp/rector/issues/8613

/cc @mvhirsch this should fix https://github.com/rectorphp/rector/issues/8613

All checks have passed 🎉 @TomasVotruba I am merging it ;)

Thank you @samsonasik !


Objects are not valid as a React child (found: object with keys {$and}).

Describe the bug
I am trying to use the logical constructor as described in https://fusejs.io/api/query.html
const queryArray = {
      $and: [{ $path: ["quality"], $val: choiceConcat}]

    };

options = {
keys: ["fullName", "quality"],
    threshold: 0.3,
    matchAllOnEmptyQuery: true,
    ignoreLocation: true,
    useExtendedSearch: true,
}

Version
 "dependencies": {
    "axios": "^0.27.2",
    "cors": "^2.8.5",
    "dotenv": "^16.0.2",
    "fs": "^0.0.1-security",
    "fs-extra": "^10.1.0",
    "fuse.js": "^6.6.2",
    "next": "12.3.0",
    "nextjs-cors": "^2.1.1",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "react-select": "^5.4.0",
    "swr": "^1.3.0",
    "tf2-get-player-items": "^0.0.6",
    "tf2-item-format": "^5.8.2",
    "throttle-debounce": "^5.0.0",
    "unusual-effects": "^1.8.0"
  },

Additional context
using it in react-next framework
Error
Unhandled Runtime Error
Error: Objects are not valid as a React child (found: object with keys {$and}). If you meant to render a collection of children, use an array instead.

The issue is unrelated to fuse.js but upon closer inspection it was with rendering the query that caused the issue.
This is resolved.


STOP LOOKING FOR FAKE HACKERS ONLINE CONTACT ADWARE RECOVERY SPECIALIST BEST HACKER ONLINE

Call or Text: +18186265941
Telegram username @adwarerecoveryspecialist
Fortunately for me, I encountered ADWARE RECOVERY SPECIALIST just in time to reverse the financial devastation caused by investment fraud. Email info: Adwarerecoveryspecialist@auctioneer. net Not everyone finds such timely assistance after falling victim to scams, which is why I urge everyone to exercise caution and ensure the legitimacy of any company, platform, or individual they consider investing with. Verifying registration, where required, through national registration searches can significantly mitigate the risk of falling prey to fraudulent schemes. In today's financial landscape, many baby boomers are entering retirement with substantial assets. However, this transition can also make them vulnerable to fraudsters who capitalize on major life events, such as selling a house, inheriting money, or managing IRA rollovers. These "wealth events" often present opportunities for scammers to exploit individuals who may not be familiar with the intricacies of modern financial markets or digital currencies. My own experience with investment fraud underscores the tactics employed by these criminals. Website info: www.adwarerecoveryspecialist.expert They often create a sense of urgency and fear of missing out on lucrative opportunities, manipulating victims into making hasty decisions. These scams are prevalent online, masquerading as legitimate trading platforms or investment firms. They may even claim exemption from financial regulations, further misleading unsuspecting investors. After falling victim to such scams can be devastating. In my case, I lost a significant amount of money—funds that represented not just financial security but also hope for a better future. The emotional toll was immense, and my family's financial stability was at risk. It was during this dire situation that I came across ADWARE RECOVERY SPECIALIST, a team renowned for their expertise in recovering stolen cryptocurrencies and assets. Upon contacting ADWARE RECOVERY SPECIALIST, they immediately took charge of my case. They asked for detailed transaction records and evidence of my interactions with the fraudulent scheme. Their approach was thorough and methodical, leveraging advanced blockchain forensics and legal strategies to trace and recover my stolen funds. Their professionalism and dedication were evident throughout the process, providing reassurance during a tumultuous time. After just four days of intensive work, ADWARE RECOVERY SPECIALIST delivered the news I had scarcely dared to hope for—they had successfully recovered all my lost investments. The relief and gratitude I felt were overwhelming. ADWARE RECOVERY SPECIALIST not only restored my financial losses but also restored my faith in justice and accountability within the cryptocurrency ecosystem. Reflecting on my journey, I feel compelled to share a cautionary message. The allure of quick profits and the excitement surrounding cryptocurrencies can cloud judgment. It's crucial to approach investment opportunities with skepticism and diligence. Verify credentials, research thoroughly, and seek guidance from reputable sources before committing funds. Educating oneself about common fraud tactics, such as fake taxation demands or exaggerated promises of returns, is essential in safeguarding personal finances. My experience serves as a stark reminder of the importance of vigilance in today's digital age. As cryptocurrency gains mainstream attention, scammers are becoming increasingly sophisticated in their methods. They prey on trust and exploit vulnerabilities, leaving victims in financial ruin. By raising awareness and sharing my story, I hope to empower others to protect themselves from falling victim to similar scams. To those who have been defrauded or are wary of potential scams, I strongly recommend reaching out to ADWARE RECOVERY SPECIALIST without delay. Their proven track record and commitment to client success make them a beacon of hope for individuals seeking justice and restitution. Together, we can combat fraud and ensure a safer financial environment for all.

Hello everyone, my name is Andrea María Carmen, and I'm from Miami, Florida, USA. I want to share my journey with TRUST GEEKS HACK EXPERT  after being scammed by an online Forex company and how they have been instrumental in recovering a significant portion of my funds. Several months ago, I fell victim to an online Forex trading scam. Like many others, I was lured in by promises of substantial investment returns. Unfortunately, after depositing a significant amount of money, the company abruptly shut down its operations, leaving me in shock and disbelief. I was not only furious but also desperate to recover my hard-earned money. In my quest to find a reputable company that could assist me in recovering my funds, I came across numerous recovery services. However, most of them demanded upfront payments or had dubious reviews, which made me skeptical about their legitimacy. It was a frustrating and exhausting process, trying to navigate through the sea of recovery companies while already feeling vulnerable due to my previous experience.Amidst this uncertainty, I discovered TRUST GEEKS HACK EXPERT, also known as Payback or Moneyback. What caught my attention initially were the glowing reviews and testimonials from other clients who had faced similar predicaments. Their positive feedback gave me a glimmer of hope and prompted me to reach out to them.From the very first contact, TRUST GEEKS HACK EXPERT distinguished themselves from other companies. Unlike many others, they did not ask for any upfront payment.  This commitment to performance-based fees demonstrated their confidence in their ability to deliver results.The team at TRUST GEEKS HACK EXPERT  has been nothing short of exceptional. They approached my case with professionalism, diligence, and empathy. They took the time to understand the specifics of my situation and developed a tailored strategy to pursue the recovery of my funds. Their comprehensive approach left no stone unturned, exploring every possible avenue to maximize the chances of success.I am delighted to report that TRUST GEEKS HACK EXPERT  has successfully recovered approximately 70% of my losses so far. This achievement is a testament to their expertise and dedication to their clients' interests. Throughout the process, they have been transparent and communicative, providing regular updates and promptly responding to any queries I had along the way.What truly sets TRUST GEEKS HACK EXPERT apart is their compassionate approach. They understood the emotional toll that financial fraud can take on individuals and families. Their support went beyond financial recovery; they provided reassurance and guidance during what was undoubtedly a stressful time for me. I wholeheartedly recommend TRUST GEEKS HACK EXPERT to anyone who has been a victim of financial fraud. They are not just a recovery company; they are allies in the fight against online scams. Their integrity, professionalism, and commitment to their clients' well-being have been evident throughout my experience with them.To the team at TRUST GEEKS HACK EXPERT, I extend my heartfelt gratitude. Thank you for restoring hope and justice in my life and for being a beacon of trustworthiness in an industry rife with uncertainty. I am confident that with their continued efforts, I will eventually recover the remainder of my funds. For anyone facing a similar situation, look no further than TRUST GEEKS HACK EXPERT —they are the partners you need to reclaim your funds. (Web-site. https://trustgeekshackexpert.com) --- (Tele-Gram, trustgeekshackexpert)   (What's-App  + <IP_ADDRESS>.<IP_ADDRESS>.6.9.3)


Theme suggestion

Aki, congratulations on your github page.  You probably already know about jekyll themes.  I just want to make a recommendation about the theme "Minimal Mistakes" which seems pretty flexible.  You may check it out here: https://mademistakes.com/work/minimal-mistakes-jekyll-theme/.

Thanks, I am still learning Jekyll and testing it locally.


Question on displaying node name for a multinode setup

hey, sorry for bombarding you with issues)
could you give an advice on how to add node name to the dashboard for multinode setups?
currently it's identified by GPU UUID, we have a lot of nodes in our cluster and knowing UUIDs of all nodes GPUs is a bit impractical, so i would like to extend the grafana dashboard, and, ideally, have something like this

that would switch to correct nodename when you switch by GPU UUID in the top left dropdown.
it seems that it could be possible to derive node name combining Prometheus queries, grabbing ip from instance in nvidia_smi_gpu_info and somehow filtering results of kube_pod_info{pod=~"ozdemir-nvidia-gpu-expo.*"} on host_ip, from where node name is available.

but not sure, if that's possible.
i will continue to dig into prometheus queries, would appreciate any advice on that!

alright, i have a solution, need to improve it a bit, but it will do, i think:

the way i did it:
i added a couple of Grafana variables to the dashboard, with filtering and extracting resulting values.

one to fetch node ip from instance

# query
nvidia_smi_gpu_info{uuid=~"$gpu"}
# regex
/.*instance="(.*):.*".*/

one to get node name using node ip

# query
kube_pod_info{pod=~"ozdemir-nvidia-gpu-expo.*", host_ip=~"$node_ip"}
# regex
/.*node="(.*)",pod=.*/

the second variable regex might be not robust enough, as i need to check that it is always followed by "pod=", or adjust the regex to cut everything after the quotes.
overall, i presume it works with enabled hostPort, otherwise filtering will need to be done on pod_ip.
here is templating section of JSON for updated dashboard
 "templating": {
    "list": [
      {
        "allValue": null,
        "current": {},
        "datasource": "${DS_PROMETHEUS}",
        "definition": "label_values(nvidia_smi_index, uuid)",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": false,
        "label": "GPU",
        "multi": false,
        "name": "gpu",
        "options": [],
        "query": {
          "query": "label_values(nvidia_smi_index, uuid)",
          "refId": "StandardVariableQuery"
        },
        "refresh": 1,
        "regex": "",
        "skipUrlSync": false,
        "sort": 1,
        "tagValuesQuery": "",
        "tagsQuery": "",
        "type": "query",
        "useTags": false
      },
	  {
        "allValue": null,
        "current": {},
        "datasource": null,
        "definition": "nvidia_smi_gpu_info{uuid=~\"$gpu\"}",
        "description": null,
        "error": null,
        "hide": 2,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "node_ip",
        "options": [],
        "query": {
          "query": "nvidia_smi_gpu_info{uuid=~\"$gpu\"}",
          "refId": "StandardVariableQuery"
        },
        "refresh": 1,
        "regex": "/.*instance=\"(.*):.*\".*/",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      },
      {
        "allValue": null,
        "current": {},
        "datasource": null,
        "definition": "kube_pod_info{pod=~\"ozdemir-nvidia-gpu-expo.*\", host_ip=~\"$node_ip\"}",
        "description": null,
        "error": null,
        "hide": 0,
        "includeAll": false,
        "label": null,
        "multi": false,
        "name": "node_name",
        "options": [],
        "query": {
          "query": "kube_pod_info{pod=~\"ozdemir-nvidia-gpu-expo.*\", host_ip=~\"$node_ip\"}",
          "refId": "StandardVariableQuery"
        },
        "refresh": 1,
        "regex": "/.*node=\"(.*)\",pod=.*/",
        "skipUrlSync": false,
        "sort": 0,
        "type": "query"
      }
    ]
  }

hey, sorry for bombarding you with issues)
no worries, pls keep them coming so I can improve

I think your approach of forking/modifying the dashboard is correct. The exporter itself is designed to run everywhere, not necessarily on Kubernetes. So it is agnostic to the nodes etc.
You can not only edit the dashboard, bu also can use the metric relabeling config options of Prometheus to "attach" any additional labels you want from Kubernetes. With those in hand you can get the job done 🙂


Can not get request.params.pram when pass pram as a link

I've just installed the latest expressjs and try to get 'param' from req.params.param. It work fine until i pass some link like "http://www.example.com" to param, and this message "Cannot GET /test/http://www.example.com" returned instead of "http://www.example.com". It's look like there's a problem in route validation. Hope you guy fix it soon. Thanks!
the route: /test/:test

/test/some-text --> some-text
/test/http://www.example.com --> "Cannot GET /test/http://www.example.com"

Hi! This is because in URLs, a slash is a path separator. If you want slashes to be literals, you need to encode the values:
GET /test/http:%2F%2Fwww.example.com

But i dont want to encode the values. In my case I want people just type in url after path and then create short link for it. It's not impossible and worth to change.

Unfortunately this is not how URLs and the web function. If you would like to do this, just look in the req.url property and get the URL from there. You can also use a capture all route like app.get('/test/*') and look in req.params[0]

Otherwise, always feel free to make a PR to fix/add whatever you are looking for. Many times, code speaks louder than words, so a PR can go a long way toward explaining what kind of change you want us to make.


[5.8] Less magick

This PR remove magick in Eloquent Builder's find method. It should returns stable only Model instead of sometimes Collection, another ways use findMany. Most IDE's could not understand what returns the method: Collection or Model.
It's the major logick change, only Laravel 5.8 accepted.

If you now would pass an array, then it goes to \Illuminate\Database\Eloquent\Builder::whereKey which has this code:
    public function whereKey($id)
    {
        if (is_array($id) || $id instanceof Arrayable) {
            $this->query->whereIn($this->model->getQualifiedKeyName(), $id);

            return $this;
        }

        return $this->where($this->model->getQualifiedKeyName(), '=', $id);
    }

Looks almost the same to me.
So, yes/maybe, unnecessary code removed but now we're telling everyone you can only get models back which still isn't true 🤔
And why would you attempt to change behaviour/remove a feature because of the inability of your IDE?
The PR as it is right now is inconsistent and should not be accepted.
(spoiler: I'm using PhpStorm and tools like phpstan too).

Oh, and not to mention the test breakage too 🤷♀

No plans to merge at this time.


Momes软件 最新版开启备份后，直接将磁盘占满。

Is your feature request related to a problem?

Describe the solution you'd like
请问作者应该如何对这些进行清理，是直接删除掉。还是只需要保存memos_prod.db即可。期待你的回复
Additional context
No response

Those backup files (*.bak) could be remove safely if you don't need it.
And you can disable the backup schedule in Setting/Admin/System, just change Auto backup interval (seconds) into 0.

谢谢你的回答，已经解决问题了。


help!when i login can not start

i get this
plz help me
Traceback (most recent call last):
File "main.py", line 169, in
File "asyncio\base_events.py", line 616, in run_until_complete
File "twitch.py", line 423, in run
File "twitch.py", line 443, in _run
File "twitch.py", line 986, in get_auth
File "twitch.py", line 208, in validate
File "twitch.py", line 233, in _validate
File "twitch.py", line 125, in login
File "aiohttp\client_reqrep.py", line 1119, in json
File "json_init.py", line 357, in loads
File "json\decoder.py", line 340, in decode
json.decoder.JSONDecodeError: Extra data: line 1 column 128 (char 127)
Exiting...
Application Terminated.
Close the window to exit the application.

Hello o/
Please see #68. This is already fixed on the latest master branch, and v15 is on it's way to a release. You can run it from source for now if you know how, but otherwise, you'll just need to wait.

Hello o/
Please see #68. This is already fixed on the latest master branch, and v15 is on it's way to a release. You can run it from source for now if you know how, but otherwise, you'll just need to wait.

Thanks!


ATA pipeline development

I'm expanding the API in order to more directly meet the needs of integration into hpguppi_daq.

Thanks, @RocketRoss!


ionic push --ios-prod-cert not work

Hi, i use ionic cli to create my apps.
I execute 'ionic security profiles add push_production' to create new profile, it works ok.
Then, i execute 'ionic push --ios-prod-cert' and in the promt i put a cer file and a message show 'Successfully uploaded certificate' but, if i go to 'https://apps.ionic.io/app/fa3243f5/config/credentials' and enter in the profile, the certificate don't exsist.
I think upload certifcates not work and, the same for 'ionic push --google-api-key serverkey', it not saved in profile.
thanks

This is a very old command. It has been removed in CLI v3 (beta) Please review the new push documentation: http://docs.ionic.io/services/push/


Capture Image with PPOverlayViewController

Hi,
I am working on prototype with BlinkInput SDK(OCR) to scan text . I am using  PPOverlayViewController to customize camera. But I am not able capture image with BlinkInput SDK after scanning text . Earlier we had method called getPreviewLayer in PPOverlayContainerViewController interface. Now I don't see it . Is it deprecated ? Is there any alternative solution available to capture image ?
Please reply
Note : I am working iOS app . I have installed BlinkInput without using CocoaPods. Text scanning feature is working fine.
Thanks

Hi @yagneshGingercube ,
First you will need to set currentFrame property in your PPSettings instance to YES:
settings.metadataSettings.currentFrame = YES;
in your PPScanningDelegate you can implement -(void)scanningViewController:didOutputMetadata: method. It will be invoked every time SDK captures a frame, so you can save the latest image you receive, something like this.
- (void)scanningViewController:(UIViewController<PPScanningViewController> *)scanningViewController
             didOutputMetadata:(PPMetadata *)metadata {

    // Check if metadata obtained is image. You can set what type of image is outputed by setting different properties of PPMetadataSettings
    if ([metadata isKindOfClass:[PPImageMetadata class]]) {
        PPImageMetadata *imageMetadata = (PPImageMetadata *)metadata;

        if (imageMetadata.imageType == PPImageMetadataTypeCurrentFrame) {
            self.currentFrame = imageMetadata.image;
        }
    }
}

Kind regards,
Jure


Routing issue

When we deploy the site it's URL display as https://satriaana.github.io/Satriaana-Web-Site/#/ including # , we want to remove the hash from the url in react-router

can i take this @BuddhikaD ?

Sure go ahead! do you want to be assigned for this issue?

@BuddhikaD  ya sure, please assign me.

Okay 😊

can i work on this issue

@BuddhikaD  the issue has been fixed, you can review the PR, https://github.com/Satriaana/Satriaana-Web-Site/pull/103

Hi @bhattaraib58 ,
I have reviewed your pull request. Great work!
Thank you so much for your generous contributions to the GitHub issues regarding the website of Satriaana. We highly appreciate all the work you’ve done. Your efforts in developing our website are very commendable.
It’s with great pleasure that we’d like to inform you that we've decided to give you the chance of joining us as volunteers, after seeing your enthusiasm for open-source. So, if you’re interested, simply fill out the form through the link we’ve attached forthwith.
Note: We’re starting our volunteer onboard process in three weeks time from now on and we’re sending this form only to you as you have contributed to our website. Hence we’ll be closing the link of the form right after you’ve submitted the form. So, we would like to kindly request you to send us a message in reply after you’ve filled it.
Volunteer Form: https://satriaana.typeform.com/to/XYGqfnkI
Hope we can work together again very soon!

@BuddhikaD  the issue has been fixed, you can review the PR, https://github.com/Satriaana/Satriaana-Web-Site/pull/103

Hi @bhattaraib58 ,
I have reviewed your PR, Although it does fix our initial issue, it also creates a new issue where you can't go to an external link and come back to the site as it will return a 404 error. Could you please look into that?
Example: Try clicking on either 'blog' or 'forum' on navbar and clicking on back button of ur browser. It will return a 404 error.

@nimeshkavinda  ya it's because of github pages you guys are using for hosting the pages as it appends /Satriaana-Web-Site/ to every route. I will look more into this issue today.

@BuddhikaD @nimeshkavinda  you guys could try heroku or netlify, both offer free services and offer automatic deployments as well. As well as auto CI/CD where when code is merged into master the beach gets auto deployed to site.
Also, it won't have the appended /Satriaana-Web-Site/ on the route.

@BuddhikaD @nimeshkavinda you guys could try heroku or netlify, both offer free services and offer automatic deployments as well. As well as auto CI/CD where when code is merged into master the beach gets auto deployed to site.
Also, it won't have the appended /Satriaana-Web-Site/ on the route.

@bhattaraib58 They are great platforms for sure! we do plan on hosting this site outside of Github pages once its ready. Atm its only hosted on Github pages for development and testing purpose.
For now, could you please look into the issue where it resets the route to 'satriaana.github.io' instead of 'satriaana.github.io/Satriaana-Web-Site' when you click on back? Other than that, everything else is working just fine.

@nimeshkavinda ok sure, I will look into this issue today.

@nimeshkavinda ok sure, I will look into this issue today.

Great! thank you

Hi, @bhattaraib58
Thank you so much for your generous contributions to the GitHub issues regarding the website of Satriaana. We highly appreciate all the work you’ve done. Your efforts in developing our website are very commendable.
It’s with great pleasure that we’d like to inform you that we've decided to give you the chance of joining us as volunteers, after seeing your enthusiasm for open-source. So, if you’re interested, simply fill out the form through the link we’ve attached forthwith.
Note: We’re starting our volunteer onboard process in three weeks time from now on and we’re sending this form only to you as you have contributed to our website. Hence we’ll be closing the link of the form right after you’ve submitted the form. So, we would like to kindly request you to send us a message in reply after you’ve filled it.
Volunteer Form: https://satriaana.typeform.com/to/XYGqfnkI
Hope we can work together again very soon!

@nimeshkavinda cc: @BuddhikaD,
Thank you for your generous offer.
But with a heavy heart, I will have to reject the offer for now. It's just that I am involved in lots of projects and many organizations,
And it will be hard for me to handle all the moving pieces (As it's the current scenario now).
I will contact you guys in the future when I get a chance to hop on to other tasks.
And ya, let's hope our paths cross soon.

@nimeshkavinda cc: @BuddhikaD,
Thank you for your generous offer.
But with a heavy heart, I will have to reject the offer for now. It's just that I am involved in lots of projects and many organizations,
And it will be hard for me to handle all the moving pieces (As it's the current scenario now).
I will contact you guys in the future when I get a chance to hop on to other tasks.
And ya, let's hope our paths cross soon.

No worries! :D
May we work again in the future


Support for current boards?

The documentation says:

Currently the firmware supports the boards with SparkFun product numbers SEN-10125 and SEN-10736.

Unfortunately, both products have been retired. Does razor_imu_9dof support newer boards like the current SEN-14001 or even the cheaper SEN-13944 with I2C interface?

That is so sad, just upgraded to the SEN-14001, was looking forwards to have it running with ROS but it seems that the changes needed would be quite significant, maybe we can try and ping Sparkfun?

@bpinaya , related?
https://github.com/Razor-AHRS/razor-9dof-ahrs/issues/57

@ruffsl Thanks! I'll check it out! Btw I am a huge fan of your docker with ros work! Awesome job indeed.

I have updated the Razor AHRS to work with SEN-14001. All the credit goes to the original coder. You can find the updated code at https://github.com/Murphy3220/Razor-AHRS-SEN-14001 . It only works for the SEN-14001.

ROS users might also be interested in that version : https://github.com/lebarsfa/razor-9dof-ahrs .


UI not loading after fresh installation

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Deploy Kantive and all dependencied (or even you don't have to)
Deploy Direktiv
Port forward UI
Try to enter UI

Expected behavior
UI loading
Screenshots
Spinning logo:

Console error:

Desktop (please complete the following information):

OS: Linux/Windows
Browser Chrome & Firefox
Version: newest

Neverming, I didn't expose /api path via ingress.


delete merge branches?

@ianwdunlop, maybe you can also have a look at all the development branches, and maybe delete all those which are merged into master already?

I think we can safely remove all except
origin/HEAD -> origin/master
origin/develop
origin/gh-pages
I'll do them when I get the chance

Pruned most of them (gosh github makes this too easy). Kept the ones mentioned above plus a couple of IRS2 ones in case it ever gets resurrected.

Thanks!


Get a release by tag name api added. Refs: #237

Get release by tag name endpoint was missing in this gem. Added this in releases namespace.
Example:
github = Github.new
github.repos.releases.tags.get 'owner', 'repo', 'tag'

Thank you!


Add the controller public key to issuance data

The controller will have rights to issue more tokens later. It can be an Option because issuers may decide to not allow that.
See also: https://github.com/mintlayer/mintlayer-core/pull/383#discussion_r957029731

Closed in favor of #1206


Better calculator visibility heuristics

Is your feature request related to a problem? Please describe.
The calculator module is great and I use it constantly (so I'd like to have it unprefixed), but qalc is very aggressive with returning results that I would never care about. For example, when typing "thun", I'd like Thunar to show up first, but instead I get a pointless unit conversion.

Describe the solution you'd like
I'd like a basic heuristic to hide the calculator results when they're obviously irrelevant - for example, when the input has no digits or operators. A manual override might be needed for the when you do want to know that thun = 6.9523450n aJ·g for some reason, though.
Describe alternatives you've considered
Using a prefix (for example =) would work, but I find having to type it every time I want to know what 2 + 2 is quite annoying.
Additional context
dis isn't discord, it's obviously i times a day times a second!

Thanks, I definitely wanted to know that system = 2.718281828 μg²/kPa!

Have you checked the wiki?
Yes

Fixed in latest release.

Works like a charm, thanks!


⚠ API - Lens has degraded performance

In ba605fc, API - Lens ($LENS_API_URL) experienced degraded performance:

HTTP code: 503
Response time: 822 ms

Resolved: API - Lens performance has improved in f7c3aec after 9 minutes.


[Question] How to accelerate time for rebuilding project?

I use pc with intel i3 4gen, SSD with 500 read/write Mb/s. After I change some code into clean boilerplate, project rebuilds 1.5s. I think it's very long time.
How to accelerate this process?

Hi @6pm thanks for the details, did you know of any setups that run faster, maybe we could take a look to find out how. I personally thought 1ish seconds is quite fast.

Closing due to lack of interest, but faster test/build cycles are always appreciated 😁