allow read to take an argument hash

The read and write operations take options that are passed along to the AWS library. The write operation includes the options hash but the read operation does not. This PR remedies that without changing anything by passing an options hash to the read operation that is by default empty.
This will allow use of, for instance, version-specific reading, client or server side encryption, or reading for only a particular byte range (which could allow for just reading headers).
More information here: http://docs.aws.amazon.com/AWSRubySDK/latest/AWS/S3/S3Object.html#read-instance_method
@DrewMartin @gauravmc @karlhungus

Do we have remote tests for this stuff? Would be good to assert that the operation does the right thing with options.

We do and I've added a quick test to demonstrate it's working. I don't know whether or not we have travis set up to have an S3 bucket to test against but I ran it locally without problems.

We still use rspec in shopify core? :facepalm:
:+1: :ship:

I don't think i plopped anything in travis for remote tests -- just ran them by hand the details are here: https://github.com/Shopify/asset_cloud/blob/master/README.rdoc#testing.I can't think of a way to give secret keys aws keys to travis unfortunately.
code looks good, :fries:


No documentation on notFoundHandler

I've looked everywhere on the docs, StackOverflow and the rest of the internet and there is nothing related to the optional argument notFoundHandler for Router. I first tried
Router(notFoundHandler: (Request req) async => Response(404, {}, {"code": 404, "message": "404: Not Found"});

because it has an expected return type like of Future, but the request would end up timing out, so the response wasn't sending.
The docs for request.send() say "Do not invoke this method directly," but that is required for notFoundHandler to work. This is okay but based on everything else and how Controller.handle() works by returning a response object, so it is very confusing.
Maybe edit await _handleUnhandledRequest(req) in https://github.com/stablekernel/aqueduct/blob/3c5d135fb8c44cd39791bbd9a1fd42818732649d/aqueduct/lib/src/http/router.dart#L117-L128 to req.respond(await _handleUnhandledRequest(req)); or simmilar if there need to be null checks and whatnot.

I wonder if it should be limited to only returning a Response and behave like other controllers? There also doesn't appear to be any test coverage on this feature.


Add Google Colab instructions to readthedocs documentation

Add documentation explaining how to set up Modin on Google Colab.

Resolved by #3632


Added search and bibliography

Search and bibliography has been added

Seems that footnote/bubble does not pop up at line wrapped strings:

Also if a footnote is at the end of line some of the pop up bubble is unreadable.

The search function is great, but the search data should be stored in a local cookie (5 MB max?). Also after entering a search string one should be able to type "Enter" instead of clicking "Find".


Input data as readable stream

What version of Ajv you are you using?
8
What problem do you want to solve?
I would like to validate some big JSON files (GByte) or to validate the body of http route without any size limitation. To do this, I can't load all the data in memory before validating it with ajv at the risk of saturating the memory.
But, for now, the API of ajv has only 2 ways to validate the data :

by injecting a json string in the JDT parser
by injecting a javascript object in the validate function

What do you think is the correct solution to problem?
An example that I want to do based on the Getting Started documentation
import Ajv from "ajv/dist/jtd"
import { Readable } from 'stream';

const ajv = new Ajv() // options can be passed, e.g. {allErrors: true}

const schema = {
  properties: {
    foo: { type: "int32" }
  },
  optionalProperties: {
    bar: { type: "string" }
  }
}

const parse = ajv.compileParser(schema)
const json = Readable.from('{"foo": 1, "bar": "abc"}'); // HERE JSON is a Readable stream
parseAndLog(json) // logs {foo: 1, bar: "abc"}
function parseAndLog(json: Readable | string) {
  const data = parse(json)
  if (data === undefined) {
    console.log(parse.message) // error message from the last parse call
    console.log(parse.position) // error position in string
  } else {
    console.log(data)
  }
}

Will you be able to implement it?
I don't know how to implement it in ajv and I don't know if it is possible to implement it.
Currently, to validate my data, I use the stream-json library but it validates only if the stream is as JSON format and not validate the data against a schema.

Arguably, to challenge the problem, you should not operate on large JSON files - JSON is not designed for it. The alternatives are JSON lines (when each line is a JSON string) or CSV.
If you must have large JSON files for some reason you absolutely can use the same approach for code generation that is used for JTD parsers to compile JTD schemas into streaming parsers. This is not a common enough use case to be included in ajv, you can make it as a separate package by inheriting from Ajv class in jtd.ts


Fine-tune customized video dataset based on mPLUG_owl.

Thank you for the outstanding work of the team. I hope to fine-tune customized video dataset based on mPLUG_owl. I attempted to modify the image-based fine-tuning code, but encountered an error: RuntimeError: "conv_depthwise3d" not implemented for 'BFloat16'. I suspect this might be because the model is initially loaded onto the CPU. I tried changing 'bf16' to False, which resulted in 'video_query_output' containing NaN values. I have also downloaded temporary weights to replace those on the HuggingFace repository, but it had no effect. This issue has been bothering me for a while, and I hope you could provide some suggestions. Thanks!

@MAGAer13

You can convert the input of depth-conv3d as fp16, then convert it back

Thank you for the outstanding work of the team. I hope to fine-tune customized video dataset based on mPLUG_owl. I attempted to modify the image-based fine-tuning code, but encountered an error: RuntimeError: "conv_depthwise3d" not implemented for 'BFloat16'. I suspect this might be because the model is initially loaded onto the CPU. I tried changing 'bf16' to False, which resulted in 'video_query_output' containing NaN values. I have also downloaded temporary weights to replace those on the HuggingFace repository, but it had no effect. This issue has been bothering me for a while, and I hope you could provide some suggestions. Thanks!

Did you solve the issue？

@MAGAer13 I had an impression that https://github.com/X-PLUG/mPLUG-Owl/blob/main/mplug_owl_video/modeling_mplug_owl.py#L214 already fixes this issue since you are manually changing the bfloat to half here but the issue still persists.
@hcwei13 @zhouwei5113 is this issue fixed for you or have you found a work around?

Unfortunately, this problem still exists. @Hritikbansal @zhouwei5113 @LukeForeverYoung @MAGAer13

Hi @hcwei13 , I fixed the problem as follows:
x = self.down_proj(x)
_device = x.device
self = self.to('cpu') # hack: cpu offloading since bfloat16 on gpu gives error with conv_depthwise3d but works with cpu
x = x.to('cpu')
x = self.conv(x)
self = self.to(_device)
x = x.to(_device)
x = self.activation_func(x)

my change may have some latency related repercussions since I perform cpu offloading but it makes the code work on GPU/multi-GPU setup.

It works!!! thanks!!! @Hritikbansal


Server CPU Usage

This is just an observation. but maybe of interest, or have some significance.
I'm running Inventree in a minimum cost Amazon AWS Server (Lightsail) USD$3.50/month.
Being cheap - you don't get much - and its actually really only 5% of a server on a continuous basis.
AWS have the terminology "Burst" - and you accumulate burst performance by averaging <5% CPU usage over time.
If your base load is >5% - then you eventually end up with no burst performance (to handle burst cpu load) and presumably your server becomes throttled.
Anyway - running Inventree seems to use approx 6% of the CPU capacity.
This is continuous and largely unaffected by actual part operations on the database.
I also have a Mosquitto MQTT broker, and a Node-Red service running - which together only contributes about 0.1% of server load.
I'm wondering if the CPU usage is 'normal' and expected - or if there is some process spinning its wheels when not intended to be.
Here is a pic from their dashboard of me starting up Inventree at about 9:25.
This is the Dev version, with sqlite3 database.

You can see the 'Burst' capacity slowly rising, until Inventree starts - then it begins to actually slowly decrease (bit hard to see)
I'm reasonably happy to just manually fire up the server as needed - or to maybe figure out a crontab to shut it down overnight - afterall - its just me being a cheapskate - and it might in fact not be an issue at all, but just figured i'd report it 😀

It's a good question. The backend should not really be doing much of anything at all unless it is servicing a user request.
There is work in progress to implement background / scheduled tasks but this also should only be periodic spikes that don't represent much baseload.
Continuous CPU usage of 5% seems pretty high to me. CPU usage is not actually something I've looked at particularly closely before.
Currently running a dev install on my laptop, it says that the python process is taking up ~10% of my CPU! However this is using the inbuilt python dev server which is pretty inefficient.
What are you using to serve the data?
I have just done some very crude testing on my AWS install and it looks like the baseload CPU usage of InvenTree is ~0.0% - I am using gunicorn to act as the server process: https://inventree.readthedocs.io/en/latest/start/deploy/#gunicorn
When I perform some web actions CPU jumps up to ~10% temporarily.

If you are just using the default python server (i.e. running invoke server) then this is most likely the culprit.
For reference, here's the CPU usage running this on my laptop through WSL:

And on AWS running under gunicorn:

Yes - my figures are similar

Yes I'm simply running invoke server -a 172.xx.xx.xx:8000
I'll work through gnuicorn and report back
(Thanks!!)

That'll be it! The python dev server is useful for testing but that's about it.

Dang - seem to have something amiss..
(inventree-env) ubuntu@ip-172-26-11-16:~/inventree/InvenTree$ gunicorn -c gunicorn.conf.py InvenTree.wsgi
[2020-11-12 01:24:33 +0000] [184735] [INFO] Starting gunicorn 20.0.4
[2020-11-12 01:24:33 +0000] [184735] [INFO] Listening at: http://<IP_ADDRESS>:8000 (184735)
[2020-11-12 01:24:33 +0000] [184735] [INFO] Using worker: sync
[2020-11-12 01:24:33 +0000] [184737] [INFO] Booting worker with pid: 184737
[2020-11-12 01:24:33 +0000] [184737] [ERROR] Exception in worker process
Traceback (most recent call last):
  File "/home/ubuntu/.local/lib/python3.8/site-packages/gunicorn/arbiter.py", line 583, in spawn_worker
    worker.init_process()
  File "/home/ubuntu/.local/lib/python3.8/site-packages/gunicorn/workers/base.py", line 119, in init_process
    self.load_wsgi()
  File "/home/ubuntu/.local/lib/python3.8/site-packages/gunicorn/workers/base.py", line 144, in load_wsgi
    self.wsgi = self.app.wsgi()
  File "/home/ubuntu/.local/lib/python3.8/site-packages/gunicorn/app/base.py", line 67, in wsgi
    self.callable = self.load()
  File "/home/ubuntu/.local/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 49, in load
    return self.load_wsgiapp()
  File "/home/ubuntu/.local/lib/python3.8/site-packages/gunicorn/app/wsgiapp.py", line 39, in load_wsgiapp
    return util.import_app(self.app_uri)
  File "/home/ubuntu/.local/lib/python3.8/site-packages/gunicorn/util.py", line 358, in import_app
    mod = importlib.import_module(module)
  File "/usr/lib/python3.8/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1014, in _gcd_import
  File "<frozen importlib._bootstrap>", line 991, in _find_and_load
  File "<frozen importlib._bootstrap>", line 975, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 671, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 783, in exec_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
  File "/home/ubuntu/inventree/InvenTree/InvenTree/wsgi.py", line 12, in <module>
    from django.core.wsgi import get_wsgi_application
ModuleNotFoundError: No module named 'django'
[2020-11-12 01:24:33 +0000] [184737] [INFO] Worker exiting (pid: 184737)
[2020-11-12 01:24:33 +0000] [184735] [INFO] Shutting down: Master
[2020-11-12 01:24:33 +0000] [184735] [INFO] Reason: Worker failed to boot.

Looking for path error.. Seems /inventree/Inventree should be OK?
(inventree-env) ubuntu@ip-172-26-11-16:~/inventree/InvenTree$ python -m site
sys.path = [
    '/home/ubuntu/inventree/InvenTree',
    '/usr/lib/python38.zip',
    '/usr/lib/python3.8',
    '/usr/lib/python3.8/lib-dynload',
    '/home/ubuntu/inventree-env/lib/python3.8/site-packages',
]
USER_BASE: '/home/ubuntu/.local' (exists)
USER_SITE: '/home/ubuntu/.local/lib/python3.8/site-packages' (exists)
ENABLE_USER_SITE: False
(inventree-env) ubuntu@ip-172-26-11-16:~/inventree/InvenTree$

Anything obvious I could have messed up??

I reckon that whatever context the gunicorn process is running in is not running under the same python virtual environment, and so  it does not have access to the correct set of python libraries.
In particular with your error message, it cannot import django as django is not "installed" for that context.
Did you install gunicorn from within the local virtual-env context, or system-wide?
From the error trace it looks like it's installed system-wide

UM - suspect that I had installed gunicorn (probably system wide) in a rush of blood reading the guide early on, then today I activated environment first and installed (again??)
After lots of mucking around, eventually believed I had uninstalled gunicorn completely, and reinstalled within environment but it still failed. A server reboot seemed to fix it up 😀
Running very nicely now - thanks!!

Awesome, glad to hear! This was an interesting learning exercise if nothing else. Now you just have to work out what you're going to spend all that burst allowance on ;)

Indeed - not happy with it being used - not happy with it not being used 😂


Fix strings representation in lakectl

closes #3253

Iggh, thanks!
Do you think any of these could be a YAML number? Maybe only "Profile", I guess.
I think that I left the issue open for lakefs config, which is somewhat more work.

Not sure, anyway no harm in accepting only strings


Improve installation instructions

May I ask why you closed this?
The current instructions are pretty weird and unnecessarily complicated. It says

Go to RELEASES and follow the instructions there.

But there are no instructions.
And the alternative instructions to download the whole repo and create the ZIP by yourself are not really necessary since you already provide a prebuilt .xpi file.


Bump build number to trigger rebuild

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Query view with stale set to ok will get nothing

With the variable stale setting to ok, we will get nothing, but there are some docs in the db. If set the stale to be 'false' or 'true'. We can get something. For example,
db.query('design_name/view_name', {
      stale: 'true',
      limit: limit,
      skip: skip,
      include_docs: true,
      reduce: false
    });

@nicolelovecoding I guess db is instantiated with a URL which points to a PouchDB server? Or does the problem exist in PouchDB itself? Could you create a full code example which instantiates db, creates test documents, creates the view and runs the query? That will help us help you :)

@gr2m
Yes, db is instantiated with a URL which points to a local PouchDB server.
First start the abacus-pouchserver listening on port 5984
const start = (module) => {
      cp.spawn('npm', ['run', 'start'], {
        cwd: moduleDir(module),
        env: clone(process.env)
      });
    };
start('abacus-pouchserver');

Then create db and insert docs and view
In the end query view
var db = new PouchDB('http://admin:admin@localhost:5984/cf-names-0-201602');

I haven’t seen abacus-pouchserver before, maybe https://github.com/cloudfoundry-incubator/cf-abacus would be a better place to file an issue on it?

I also posted question there:
https://github.com/cloudfoundry-incubator/cf-abacus/issues/689#issuecomment-316488241
But abacus-pouchserver is just wrapper application on pouchserver. So I think here is the right place to ask question.


Better data for highlight daysOnMarket component behavior

Currently all the sample properties have the same Date_Listed__c date (TODAY() - 10), and thus the Days_On_Market__c field is always the same. We should improve sample data, to have properties with different dates, so that the daysOnMarket component behavior is clearer.
Remember to change both the sample data in the static resource and the json files.

Done in https://github.com/dreamhouseapp/dreamhouse-lwc/pull/103


feat(icons): added air-pressure icon

What is the purpose of this pull request?

[x] New Icon
[ ] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other:

Description

Going part way to close issue #119 and Feather Icons issue #1246, adds an air-pressure icon to Lucide.
Icon use case

For use in a weather app

Icon Design Checklist
Concept

[x] I have provided valid use cases for each icon.
[x] I have not added any a brand or logo icon.
[x] I have not used any hate symbols.
[x] I have not included any religious or political imagery.

Author, credits & license

[ ] The icons are solely my own creation.
[ ] The icons were originally created in # by @
[x] I've based them on the following Lucide icons: wind
[x] I've based them on the following design: https://thenounproject.com/icon/air-pressure-2136174/ (very loosely)

Naming

[x] I've read and followed the naming conventions
[x] I've named icons by what they are rather than their use case.
[x] I've provided meta JSON files in icons/[iconName].json.

Design

[x] I've read and followed the icon design guidelines
[x] I've made sure that the icons look sharp on low DPI displays.
[x] I've made sure that the icons look consistent with the icon set in size, optical volume and density.
[x] I've made sure that the icons are visually centered.
[x] I've correctly optimized all icons to three points of precision.

Before Submitting

[x] I've read the Contribution Guidelines.
[x] I've checked if there was an existing PR that solves the same issue.

Nice icon @jamiemlaw !


Add locking layer feature

This will close this issue ticket https://github.com/GraphiteEditor/Graphite/issues/1127.
Adding Layer locking feature, the  behavior of this feature:

Make the layer cannot be drag
Disabled transform cage when selected object
Can't be modified with G/R/S, or with nudging
User still can click through the locking layer to select other object behind it

Closes #1127

!build

If I select a locked layer and a non-locked layer:

In the Path tool, I can click and drag the non-locked layer and they both move, and the same for resizing
In the Path tool, the yellow pivot widget shows the bounding box calculated based on the locked and non-locked layers, instead it should calculate based on the bounding box of just the non-locked layers; and if ALL the selected layers are locked, no pivot shown be shown at all

If a parent is locked and so is its child, the icon is incorrectly showing unlocked for the child
We want to exclude the selected layers from all of these actions:

That means both the code which checks if those icons (pivot basis, alignment, flipping, boolean ops) should be disabled (filter out the locked layers when the selected layers are counted) and the message handlers for alignment and flipping.

!build

!build

Ok, with that tidied up, I've checked off the items in my checklist above. So there's still a few small things needing improvements but it's very close now!

!build


Fix SP documentation link

Purpose
This PR fixes the document link to SP(Stream Processor) in APIM docs.

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


Add disable option

Sorry about this one. There were two mistakes: (1) typo (2) disabled was set to false in the config fixture.
Fixed

Wow, really sorry about this one. There were three mistakes: (1) "disbale" typo (2) disabled was set to false in the config fixture (3) I Didn't use the right config fixture for the test.
Fixed.

@ramybenaroya I've currently got a PR going here that achieves a similar result. The config is managed by an array containing the names of environments that mirage should be enabled in.

@trabus, Sam already merged #72. Check out the conversation. He prefer single "enabled" option though.

I did not see that! I'll rebase and go with your changes then.


Release updates

Various changes for weekly data release.

Changes:

Alters "Virgin Islands" to "US Virgin Islands"
Updates absolute file paths for update combination.


Stable release

Please express your acceptance/rejection with a +/-1
:+1: from me as soon as php-http/httplug#107 and php-http/documentation#80 got merged.

:+1:

:+1:


export ONNX format issue for CPU

ENV: onnx = 1.10.0, torch=1.11.0
when i export onnx format of encoder by setting chunk_size -1, the output node is as follows:
output [Addoutput_dim_0, T, 256]
r_att_cache [12,4,T_CACHE,128]
r_cnn_cache [12,1,256,Concatr_cnn_cache_dim_3]
the dimension name "Addoutput_dim_0" and "Concatr_cnn_cache_dim_3" should be fixed to 1 and 7?
another is decoder onnx, the output is as follows:
score [LogSoftmaxscore_dim_0,L,4233]
r_score
there is any mistake for these two output node's dimension.

@xingchensong @lzhin please follow the issue.

I cannot reproduce this issue, please provide more info. Are u using u2pp_conformer or just standard conformer?  whats your num_left_chunks? please show us all of your hyperparameters.

@xingchensong  Yes, i use u2++_conformer model, and my export script is as below:
python wenet/bin/export_onnx_cpu.py  --config exp/u2++_conformer/train.yaml --checkpoint exp/u2++_conformer/final.pt --chunk_size -1 --beam 15 --num_decoding_left_chunks -1 --output_dir ./onnx/
my OS is centos7

I think this doesn't affect the decoding result, since Addoutput_dim_0 and Concat_cnn_cache_dim_3 can be inferred during runtime.

I will try it for inference, and this may be a issue for onnx export, i think nbest need be set to a fixed value when exporting.

Have you solved the problem? I cannot feed the r_cnn_cache with an uncertain dimension to the encoder.

Discussed it offline, close this issue


CMAKE not even trying to include CUDA Toolkit during reinstallation

Collecting llama-cpp-python
Downloading llama_cpp_python-0.2.69.tar.gz (42.5 MB)
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 42.5/42.5 MB 4.7 MB/s eta 0:00:00
Installing build dependencies ...   Running command pip subprocess to install build dependencies
Collecting scikit-build-core>=0.9.2 (from scikit-build-core[pyproject]>=0.9.2)
Using cached scikit_build_core-0.9.3-py3-none-any.whl.metadata (19 kB)
Collecting packaging>=21.3 (from scikit-build-core>=0.9.2->scikit-build-core[pyproject]>=0.9.2)
Using cached packaging-24.0-py3-none-any.whl.metadata (3.2 kB)
Collecting pathspec>=0.10.1 (from scikit-build-core>=0.9.2->scikit-build-core[pyproject]>=0.9.2)
Using cached pathspec-0.12.1-py3-none-any.whl.metadata (21 kB)
Using cached scikit_build_core-0.9.3-py3-none-any.whl (151 kB)
Using cached packaging-24.0-py3-none-any.whl (53 kB)
Using cached pathspec-0.12.1-py3-none-any.whl (31 kB)
Installing collected packages: pathspec, packaging, scikit-build-core
ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the
source of the following dependency conflicts.
datasets 2.18.0 requires fsspec[http]<=2024.2.0,>=2023.1.0, but you have fsspec 2024.3.1 which is incompatible.
langchain-core 0.1.40 requires packaging<24.0,>=23.2, but you have packaging 24.0 which is incompatible.
Successfully installed packaging-24.0 pathspec-0.12.1 scikit-build-core-0.9.3
done
Getting requirements to build wheel ...   Running command Getting requirements to build wheel
done
Preparing metadata (pyproject.toml) ...   Running command Preparing metadata (pyproject.toml)
*** scikit-build-core 0.9.3 using CMake 3.29.1 (metadata_wheel)
done
Requirement already satisfied: typing-extensions>=4.5.0 in e:\github repositories\ragtests.venv\lib\site-packages (from llama-cpp-python) (4.11.0)
Requirement already satisfied: numpy>=1.20.0 in e:\github repositories\ragtests.venv\lib\site-packages (from llama-cpp-python) (1.26.4)
Requirement already satisfied: diskcache>=5.6.1 in e:\github repositories\ragtests.venv\lib\site-packages (from llama-cpp-python)
(5.6.3)
Requirement already satisfied: jinja2>=2.11.3 in e:\github repositories\ragtests.venv\lib\site-packages (from llama-cpp-python) (3.1.3)
Requirement already satisfied: MarkupSafe>=2.0 in e:\github repositories\ragtests.venv\lib\site-packages (from jinja2>=2.11.3->llama-cpp-python) (2.1.5)
Building wheels for collected packages: llama-cpp-python
Building wheel for llama-cpp-python (pyproject.toml) ...   Running command Building wheel for llama-cpp-python (pyproject.toml)
*** scikit-build-core 0.9.3 using CMake 3.29.1 (wheel)
*** Configuring CMake...
2024-05-05 14:41:25,035 - scikit_build_core - WARNING - Can't find a Python library, got libdir=None, ldlibrary=None, multiarch=None, masd=None
loading initial cache file C:\Users\MARCUS~1\AppData\Local\Temp\tmpzlw1hqfn\build\CMakeInit.txt
-- Building for: Visual Studio 17 2022
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045.
-- The C compiler identification is MSVC 19.39.33523.0
-- The CXX compiler identification is MSVC 19.39.33523.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: F:/VStudio/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: F:/VStudio/VC/Tools/MSVC/14.39.33519/bin/Hostx64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: D:/Programming/Git/cmd/git.exe (found version "2.38.1.windows.1")
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - not found
-- Found Threads: TRUE
-- Warning: ccache not found - consider installing it for faster compilation or disable this warning with LLAMA_CCACHE=OFF
-- CMAKE_SYSTEM_PROCESSOR: AMD64
-- CMAKE_GENERATOR_PLATFORM: x64
-- x86 detected
-- Performing Test HAS_AVX_1
-- Performing Test HAS_AVX_1 - Success
-- Performing Test HAS_AVX2_1
-- Performing Test HAS_AVX2_1 - Success
-- Performing Test HAS_FMA_1
-- Performing Test HAS_FMA_1 - Success
-- Performing Test HAS_AVX512_1
-- Performing Test HAS_AVX512_1 - Failed
-- Performing Test HAS_AVX512_2
-- Performing Test HAS_AVX512_2 - Failed
After following the instructions to include CUDA, when reinstalling llama-cpp-python, since i couldnt run phi-3, It doesnt even try to include CUDA this time.

Rollback to Python 3.10


Alert does not show variable in express?

When I use express to send an alert with a variable it does NOT work.
let a = 'test';
res.send(<script>alert(`Variable: ${a}`)</script>);

Here, The problem is in res.send() function when you send html code as a string it works fine, but it does not work with js. So, the better way to do this is you have to include the javascript inside script tag and include that script tag inside the HTML element. So,the browser can parse it the html as a string. Another way is you can use template engine such as ejs.

Try this:
const express = require('express') const app = express() app.get('/', (_, res) => {     res.send(
Hey

); }) app.listen(8080)

Ok, I thought it was an express error... Thanks for the explanation


[OpenID4VP] checks on vp_format

https://openid.github.io/OpenID4VP/openid-4-verifiable-presentations-wg-draft.html#section-5.1-8
The Verifiable Credential and Verifiable Presentation formats supported by the Wallet should be published in its metadata using the metadata parameter vp_formats_supported (see Section 8).
The formats supported by a Verifier may be set up using the metadata parameter vp_formats (see Section 9.1). The Wallet MUST ignore any format property inside a presentation_definition object if that format was not included in the vp_formats property of the metadata.
Note: When a Verifier is requesting the presentation of a Verifiable Presentation containing a Verifiable Credential, the Verifier MUST indicate in the vp_formats parameter the supported formats of both Verifiable Credential and Verifiable Presentation.

@salvatorelaiso please resolve this issue with a PR that only considers the HAIP profile defined here
https://openid.github.io/oid4vc-haip-sd-jwt-vc/draft-oid4vc-haip-sd-jwt-vc.html#section-7.2.7

Please update this
https://github.com/italia/eudi-wallet-it-python/blob/dev/pyeudiw/openid4vp/schemas/__init__.py
please move __init__.py contents in separate files by scope, eg: vp_formats.py


image-resin.bbclass: Add build time dependency on coreutils-native

We have a bunch of calls to the realtime binary in this class so let's also
depend on coreutils-native which provides this binary.
Change-type: patch
Change-log-entry: Add dependency to coreutils-native on build time
Signed-off-by: Florin Sarbu<EMAIL_ADDRESS>

Build finished.

Build finished.

Build finished.


8th December - Workshop to do's

Joana preparing walk-through/presentation of data submission setup and process
@PeriklisICES preparing a walk-through/presentation for the submission setup and process for meta data
[x]  @NikkiTaylorJNCC to circulate updated Data Standard, meta data guidance and link to published template
Confirm all those that are attending are also setup in system (logins and EDMO's etc.)
@NikkiTaylorJNCC to send out message with link to v1.10 of data template once published
[x] Jon has setup a meeting to talk about data protection (GDPR)
[x] form for capturing issue JCDP quality control

@NikkiTaylorJNCC to circulate all materials before the 8th; and we will have a check-in prior to the official start of the meeting @ 10am DK/9am UK time

JCDP Workshop 2021 metadata.pptx
@NikkiTaylorJNCC Here is the quick introduction to metadata I have prepared. I am aiming to use around 5-10 minutes for this and then go into a demo using the catalogue and the guidelines document.

JCDP Workshop 2021 metadata.pptx @NikkiTaylorJNCC Here is the quick introduction to metadata I have prepared. I am aiming to use around 5-10 minutes for this and then go into a demo using the catalogue and the guidelines document.

Great! Thanks Periklis - I'll save a local copy, but i'll leave you to share your screen on Wed so you have control over presenting.


The Code Folding default extension slows down Brackets

Description
The Code Folding extension included as default (from Patrick Oladimeji) causes the editro to slow down to a crawl when you move the cursor with the arrow keys.
I checked all of the extensions, tested them one by one and ended up with just that one causing the slowliness.
Steps to Reproduce

Use brackets
Move the cursor with the arrow keys from the keyboard.
Sloooooowwwww.

Expected behavior: It works fluidly without that extension, as in every previous installment.
Actual behavior: Take a couple of seconds to understand that an arrow key has been pressed and initiate the movement of the cursor. Then while you keep the same direction, it will slowly move, up until you change arrow direction and then again, goes frozen a couple of seconds and respond in the same slow, hacky way.
Versions
W10Pro V1803 B17134.191
Brackets Release 1.13 build 1.13.0-17696 (release 49d29a8bc)

Same.
Win10 Pro 1803
Brackets Release 1.13 build 1.13.0-17696 (release 49d29a8bc)


DecompressionBombWarning

How do I solve this error?
DecompressionBombWarning: Image size (209255487 pixels) exceeds limit of 89478485 pixels, could be decompression bomb DOS attack.

Hey @iraycd –
The DecompressionBombWarning (the image engine that django-versatileimagefield uses) is being raised by Pillow due to an uploaded image exceeding a certain size (relevant docs here).
To solve it you'll either need to limit the size of user uploaded files or follow the technique outlined in the 'Warning' dialog box here.

But, while deploying it stops the page to load.
So, I want the image to not be delivered, is there any way which we can just log the error instead of giving 404 error to the page.

Hey @iraycd –
It looks like you need to handle the exception in order to raise 404. Here's a quick and dirty example to get you started:
# someapp/views.py
from django.http import Http404
from PIL.Image import DecompressionBombWarning

def some_view(request):
    try:
        # put the code that causes the DecompressionBombWarning exception here
    except DecompressionBombWarning:
        raise Http404
    else:
        # whatever code you want to run if no DecompressionBombWarning is raised

Yeah, that's quick and dirty. 👍
But, if this a case in a production.
I would like to show a default image for the oversized image, instead of showing 404.


Reduce gif size

The gifs are 27mb and 4mb, respectively. This is quite alot for cloning, it would be good to compress these to be smaller so that we don't have 31mb to download for the source

OK
I know for instance if you drag the image into a github comment window (like this one) it will host + then show in mark down format the URL where its hosted. You can then copy paste that markdown block and use it in the readme. As far as I can tell, its permanent -- I have some other repos where I've done that and for years now the gifs/images are still showing.

PR to add to readme


Docs has horizontal scroll. Make it repsonsive. Set width to viewport width

Current Behavior

Expected Behavior
No horizontal scroll
How to reproduce
https://reactnavigation.org/docs/getting-started
Your Environment

software
version

iOS or Android

@react-navigation/native

react-native

expo

node

npm or yarn

thanks! it was fixed.


Finalize v1.1

Finalizes v1.1 (finally)! 🎉
In addition:

Adds v1.2 draft, cloned from v1.1
Adds milestones to home page, and moves full page history
Improves the wording of the pitch on the home page

Closes #1660

Congratulations on this release. And thanks for all the hard work!


Update jfrog-client-go

Our Artifactory's version is 7.17.11.
An error occurred when executing terraform plan. (ref: https://github.com/jfrog/terraform-provider-artifactory/issues/48)
Error: Usage Report: Artifactory response: 202 Accepted

The reason is that /api/system/usage endpoint may return 202 in addition to 200 as a status code.
In jfrog-client-go, this problem has been eliminated. https://github.com/jfrog/jfrog-client-go/pull/353
I would like to reflect this in this provider as well.

I have read the CLA Document and I hereby sign the CLA

The provider reflecting this PR is https://registry.terraform.io/providers/cappyzawa/artifactory/2.2.15

Since this PR seems to be a duplicate of https://github.com/jfrog/terraform-provider-artifactory/commit/4af1290e15c423a835521edf71721c1cf9dd25c5, I close this PR.


tokio 1.0.2 update

Do you have any plan to update the tokio dependency to the latest version?

They is already work undergoing. It will be in version 0.5
https://github.com/launchbadge/sqlx/pull/983#issuecomment-761871488

They is already work undergoing. It will be in version 0.5
https://github.com/launchbadge/sqlx/pull/983#issuecomment-761871488

Thanks a lot for all your efforts.

Thanks a lot for all your efforts.


Getting Failed to watch of *v1alpha1.PolicyEndpoint ended with: an error on the server after upgrading VPC CNI to v1.17.1+ version with aws-network-policy-agent v1.1.0

What happened:
After upgrading vpc-cni plugin to v1.17.1 and v1.18.0 versions I see a lot of errors for the aws-network-policy-agent container with v1.1.0 version. The issue is occurring even on fresh EKS installations where we are not using Network Policies.
Attach logs
W0424 08:27:34.397257       1 reflector.go:462] pkg/mod/k8s.io/client-go@v0.29.1/tools/cache/reflector.go:229: watch of *v1alpha1.PolicyEndpoint ended with: an error on the server ("unable to decode an event from the watch stream: context canceled") has prevented the request from succeeding
What you expected to happen:
No error messages.
How to reproduce it (as minimally and precisely as possible):

Deploy v1.29 EKS cluster
Deploy VPC CNI Add-on v1.17.1-eksbuild.1 or v1.18.0-eksbuild.1 version.
Run kubectl -n kube-system logs aws-node-*

Anything else we need to know?:
Environment:

Kubernetes version (use kubectl version):
Client Version: v1.29.1
Server Version: v1.29.1-eks-b9c9ed7
CNI Version:  v1.17.1 and v1.18.0
Network Policy Agent Version: v1.1.0
OS (e.g: cat /etc/os-release): Bottlerocket OS 1.19.2 (aws-k8s-1.29)
Kernel (e.g. uname -a): 6.1.77

@ArtemProskochylo How did you upgrade the VPC CNI version? It appears that you're missing the required permissions for the aws-node pod. Did you apply the corresponding version specific manifest?

Facing the same issue after upgrading to EKS 1.29 with CNI 1.18.0.
@achevuru I upgraded the addon directly from AWS using Terraform. I checked the ClusterRole configuration and it has the permissions you referred to:
`- apiGroups:

networking.k8s.aws
resources:
policyendpoints
verbs:
get
list
watch`

Seems like a bug.

@danielap-ma If you're seeing the same error as above - then either the permissions are missing (please check if CNI pods have correct SA in place) or there are connectivity issues with your API Server. I quickly tried it and I don't see any such issue(s) on my end.

@ArtemProskochylo How did you upgrade the VPC CNI version? It appears that you're missing the required permissions for the aws-node pod. Did you apply the corresponding version specific manifest?

Hi @achevuru
Sorry for the late response. It was also updated through Terraform. But in my case only add-on version was set through Terraform, configmaps, daemonset and other resources are managed by AWS. I have checked RBACs for vpc-cni v1.17.1 and required permissions are presented there:
`- apiGroups:

networking.k8s.aws
resources:
policyendpoints
verbs:
get
list
watch
apiGroups:

networking.k8s.aws
resources:
policyendpoints/status
verbs:
get`

But I still see the following error in logs for v1.17.1:
W0509 03:34:41.481449       1 reflector.go:462] pkg/mod/k8s.io/client-go@v0.29.1/tools/cache/reflector.go:229: watch of *v1alpha1.PolicyEndpoint ended with: an error on the server ("unable to decode an event from the watch stream: http2: client connection lost") has prevented the request from succeeding
In another cluster running the updated version v1.18.1, I do not see those errors. I suppose it is a version-specific issue.
I hope provided info will be useful for you.
Thanks

In another cluster running the updated version v1.18.1, I do not see those errors. I suppose it is a version-specific issue.
Hey @achevuru,
Working with @danielap-ma on this issue. We still see these errors even though the CNI pods have the right SA, as Daniel wrote in the above comment. Anything we can do to overcome these errors?

Hi @omfurman-ma @danielap-ma , can you please ensure you have eks:addon-cluster-admin ClusterRoleBinding deployed into your cluster? if not, please follow solution provided on https://repost.aws/questions/QUEAwOTFmCTLG-SzJQOhkx3w/accessdenied-when-create-ebs-csi-driver

@omfurman-ma Were you able to try out the solution @maiconrocha suggested ? Did that help ?

A solution was identified and provided for this issue here - https://github.com/aws/aws-network-policy-agent/issues/257#issuecomment-2270268254


Unable to fetch struct name if it contains flattened fields

Recently I wrote a serializer with serde for a given format. There is one thing different in my format is that it requires a name for every formatted files; or if regarded as trees, every tree root must be named. I chose to fetch the struct name for root name, but there is one condition where I'm unable to fetch them. Consider this:
#[derive(Serialize)]
#[serde(rename = "book")] // <- the struct is renamed here
struct Book {
    resolved: Option<i8>,
    #[serde(flatten)]  // <- serde flatten attribute
    extra: Option<Extra>,
}

#[derive(Serialize)]
struct Extra {
    generation: i32,
    author: &'static str,
    title: &'static str,
}

When the root struct Book contains a flattened struct, I expect the root struct would still be regarded as a struct. But (if I am right) it is actually procceeded as a map instead of a struct. Meanwhile in my serializer, the serialize_map function holds this signature as serde::Serializer trait requires:
fn serialize_map(self, _len: Option<usize>) -> Result<Self::SerializeMap>

which (unlike serialize_struct) does not have a name field, meaning the function is unable to capture the root struct name. That means, if I want to use #[serde(flatten)] attribute, I have to think of another way to pass the root name; if I need to use the struct name directly as root name, I have no way to use serde flatten attribute which could be useful in my applications.
Are there any solution for this situation?
To reproduce this bug, I put my code into this repository. Run cargo run --example nbt-option-flatten command in the cloned project root, the actual output contains:
Compound ''
  Byte 'resolved' 1
  Int 'generation' 0
  String 'author' luojia65
  String 'title' hello
EndCompound

in the first line, the root name follows default as an empty string, instead of Compound 'book' as I expected. I changed the type of extra from Option<Extra> to Extra, but the output is same with an empty root name.

Edit: I found a serde code snip here. Should this struct-to-map be a feature or a bug?

Maybe produced by this change: https://github.com/serde-rs/serde/commit/58d52e784b1a6eb71bbd05695fa97b24638ec094 . Is this a feature or a bug? @mitsuhiko

I think I would prefer not to build an additional attribute into serde_derive for this, but it would be reasonable for a third-party Serialize derive implementation to provide an alternative flatten implementation which is a closer fit for this use case.


Sync ADA code with private repo version

Motivation
Since ADA is an ongoing effort within the responsible team at IBM, it is necessary to synchronize the version currently running in production with the one in the public repository. That is the objective of this PR.
Description of change
Description of each PR being synced:
PR Number: 11
PR Title: EPMKEY-27127 - Dag_id api is returning wrong values
PR Description: This change will fix the wrong values that ADA has been returning when dag_id is used for the queries

PR Number: 12
PR Title: Implementing outliers filter
PR Description: This filter will help dag estimation time by providing a minimum and maximum time choice for dag and task run. The default values are tmin = 1 minute, tmax = 1 day

PR Number: 13
PR Title: EPMKEY-29076 - Upgrade Python Version and Dependencies
PR Description: This story aims to solve some of the technical debt in Ada by upgrading the Python version to 3.10 and any dependencies that needs to be upgraded by that migration.

PR Number: 14
PR Title: fixing the outlier commit
PR Description: These outliers filters will help make the estimated time of a dag more accurate, by providing a minimum and maximum time for dag and task run. The default values are outlier_min = 0 minutes and outlier_max = 1 day.

PR Number: 15
PR Title: Revert "Implementing outliers filters for ADA"
PR Description: This reverts commit f81cb9fd2f2c5fa2dfd3d714561a2cd0cf5d86aa.

PR Number: 16
PR Title: implementing outliers filters
PR Description: These outliers filters will help make the estimated time of a dag more accurate, by providing a minimum and maximum time for dag and task run. The default values are outlier_min = 0 minutes and outlier_max = 1 day.

PR Number: 17
PR Title: EPMKEY-31877 Receive outliers parameters
PR Description: The command to get the parameter value when sent was added. When nothing is passed, the default values will be used.
Also, if an invalid parameter, for example not an integer, is entered, an exception will be thrown.

PR Number: 18
PR Title: EPMKEY-33495 implement task percentage limit
PR Description: This new filter will help to make sure that there are not so many stuck pods unnecessarily, making score calculations based on a percentage of the most recent runs of a task, keeping these values more updated.

PR Number: 19
PR Title: EPMKEY-37097 include percentage limit for dags
PR Description: Insert a limit in the query to reduce the scope of the amount of dags considered in the calculations, returning a more accurate estimated time.

PR Number: 20
PR Title: Fix requirements
PR Description: Fix issue with python dependencies

PR Number: 21
PR Title: Fix vulnerabilities caused by Flask and Cryptography packages
PR Description: This change will fix the vulnerabilities currently present caused by outdated flask and cryptography packages

PR Number: 22
PR Title: Bump cryptography + Fix UTs
PR Description: The current cryptography package version contains a vulnerability, so this PR aims to fix it

PR Number: 23
PR Title: EPMKEY-41530 Sonarqube
PR Description: Enable Sonarqube

PR Number: 24
PR Title: EPMKEY-42497 DevEx pipeline migration
PR Description: This PR aims to implement the migration of the pipeline from Cirrus to CIO DevEx.

PR Number: 25
PR Title: EPMKEY-42497 DevEx tests
PR Description: This PR aims to test a change for CIO CI/CD migration

PR Number: 26
PR Title: EPMKEY-42497 DevEx adjustments
PR Description: This PR aims to change the names of the applications and their routes to improve overall understanding.

PR Number: 27
PR Title: EPMKEY-42497 Rename apps and use nonprod
PR Description: This PR aims to rename the applications so that there is an application with a route that can be used for testing purposes before the changes reach the master branch. It also intends to update the contribution docs to document the new approach and how to correctly use the branches.

PR Number: 28
PR Title: EPMKEY-42497 Include 'nonprod' changes
PR Description: This PR aims to rename the applications and their routes.
It also intends to update the contribution docs to document the new approach and how to correctly use the branches.

PR Number: 29
PR Title: EPMKEY-43109 Update build credentials
PR Description: This PR aims to update the cirrus encrypted credentials in the build.yml file.

PR Number: 30
PR Title: EPMKEY-43109 Update build credentials
PR Description: This PR aims to update the cirrus encrypted credentials in the build.yml file.

PR Number: 31
PR Title: EPMKEY-43109 Update build credentials
PR Description: This PR aims to update the cirrus encrypted credentials in the build.yml file for prod environment.

PR Number: 32
PR Title: EPMP-1849 New Score And Limit
PR Description: This Pr aims to aims to change the score and the limit used by ada to calculate metrics.

PR Number: 33
PR Title: revert
PR Description: revert pr

PR Number: 34
PR Title: Sync Nonprod with master
PR Description: pushing what should be in nonprod from master

PR Number: 35
PR Title: Fix contribuiting link
PR Description: This pr fixes the link to the contributing file, which was pointing to the old one in the public repo

PR Number: 36
PR Title: dag_id and operator changes in query
PR Description: fix task query to use dag_id and check if operator is CrdTrigger

PR Number: 37
PR Title: ADA - Move To Production
PR Description: Move changes from NonProd to Prod

PR Number: 38
PR Title: STDDEV calculation and formula - Use of ceiling
PR Description: After the last change made on the score, an analysis of its behavior was done and something was noticed. The faster tasks were being wrongfully accused of being stuck much more the the slower ones. That was because they were having scores proportionally smaller comparing to its average than the bigger ones.
After some investigation, it was found that in many cases the stddev used for the score formula was rounded to its floor, which in many cases even made the stddev value to be 0 decreasing dramatically the value of the score, specially for the tasks that average lower minutes, a change by only a unit of stddev can be proportionally really significant to the formula.
One example is: given a task which takes 2.8 minutes in average to run and has a stddev of 0.5, if the stddev is rounded to 0, then the score will be 4, while if the stddev is rounded up, the score will be 9, more than double!

@danielrsfreitas thank you so much for the suggestion! I ended up simply copying the content from one repository to another, but upon further thought, the relevant content about the API itself doesn't involve the build and deployment strategies we internally use. I've updated the PR with these deletions.


test: all indexes on IFE non canonical challenge and response

If we are okay with this approach, I think we can decide we want to DRY the code a bit or not. But would like to get a 👌 pass first for the strategy.
@pdobacz @pik694

Ah yeah, this is nice.
Now looking at this, such tests in the CI + full brute-force test on a less frequent basis could give us a big deal of confidence and a better developer experience


ServerContext: use a ReportingFacility wrapper for errorreporting

Instead of hardcoding the Stackdriver Error Reporting client directly
into the Auditor's ServerContext, use a "ReportingFacility" interface
wrapper so that we can use FakeReportingClient for unit tests.
/cc @justinsb

One nit, but lgtm
/approve
/lgtm


Add xml fragments to programmatically-generated describe.xml

This will allow us to put xml files in the 'conf' directory that, if they have the correct format, get added into the programmatically generated describe from the adapter.
I intentionally did not add this to the case where the describe.xml file is not programmatically generated, but we could do so in the future with some (relatively small amount of) additional work. However, there are some limitations, namely that multiple languages are not supported - which may be one of the few remaining use cases for having a completely manually-generated describe.xml file now.

I don't see much marginal value in supporting this if the MP developer is already hand-writing their describe.xml.

Looks good. It will be good to explain this feature in an advanced section of the README and maybe provide some snippets / examples that developers can reference.


Add function to output log to file

Close #23

Hi Keisuke,
I'm not getting any output or log files.  I set the following:
set IRIC_LOG_LEVEL=trace
set IRIC_LOG_FILE=xxxx.log
and ran the unittests_cgnsfile.exe file and I didn't see any log output or log files.
Let me know if I'm doing something wrong.
Thanks,
Scott

Hi Scott,
Thank you for reviewing the pull request.
Actually I’ve tested the code, by launching iRIC GUI after setting up
environmental variables.
I’ll check if it works with unittests_cgnsfile.exe.
Thank you,
Keisuke Inoue
2021年11月12日(金) 10:11 Scott Charlton @.***>:

Hi Keisuke,
I'm not getting any output or log files. I set the following:
set IRIC_LOG_LEVEL=trace
set IRIC_LOG_FILE=xxxx.log
and ran the unittests_cgnsfile.exe file and I didn't see any log output or
log files.
Let me know if I'm doing something wrong.
Thanks,
Scott
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/i-RIC/iriclib_v4/pull/24#issuecomment-966738375, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA6YIULFQTUIYQ4L7G5MU7LULRSTZANCNFSM5HXMZFTA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hi Scott,
I've checked today. You are right, unittests_cgnsfile.exe does not output logs.
I'll look into the code, and tries to fix it.
Thank you,
Keisuke Inoue

Hi Scott,
Sorry that it took time, I've pushed another commit to fix the bug.
Please test with the new commit.
Thank you,
Keisuke

Hi Keisuke,
Don't forget the pull request I created for https://github.com/i-RIC/v3_nays2dh.
Thanks,
Scott

Hi Scott,
Thank you for reminding me, I haven’t noticed the pull request. OK!
I think I’ve got too many mails last week.
Thank you,
Keisuke
2021年11月24日(水) 11:56 Scott Charlton @.***>:

Hi Keisuke,
Don't forget the pull request I created for
https://github.com/i-RIC/v3_nays2dh.
Thanks,
Scott
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/i-RIC/iriclib_v4/pull/24#issuecomment-977453881, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA6YIUOT766M5M5V2BRZMETUNRH6PANCNFSM5HXMZFTA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.


Artnet support for multiple universes?

I have an ESP8266 that can support up to 680 LED's per output, but across 4 universes, DOF only allows to define 1 Universe, Other Artnet control software treats universes as "Start" universe and will continue to control LED's in the next universe based on the total number of LED's defined.
This this something that could be looked into for DOF?
Thanks so much

Technically this is for sure possible. Maybe it could even be done using the current functionallity in DOF if you configure more than one Artnet and celverly assign the outputs, but you just have to try since this has never been tested.
If this doesnt work you can always implement another Artnet output controller class which supports several universes. Artnet is rather simple, so I guess it cant be overly complicated to implement this. I'll be happy to accept you contribution.


Dicontinued? Advice on canvas development?

Hi! I am looking into a cycle.js solution for canvas. However, this package indicates being highly experimental and hasn't been updated for years. Has someone collected experience with it on production or is there another solution out there? If not, do you think that this indicates that cycle.js/RFP isn't appropriate for working with canvas and what better approaches/paradigms do you suggest? I really like cycle.js's mental model and would like to know the reason of its lack of adoption when working with html canvas. Any advices?
Thank you!

While it has been literally years since I touched this package, I seem to remember that it is experimental mostly in the sense that makes you worry. It hasn't seen enough "production use" and so its API has not been set in stone (and is therefor experimental).
That's not to say it can't meet your needs, but that's something you'd have to figure out on your own I'm afraid. I wouldn't be surprised that the reason for "its lack of adoption when working with html canvas" is simply that no one has done it enough yet, and I wholeheartedly encourage you to be that person (assuming you can afford to be adventurous).

Thx @grozen for your answer. This is what I expected. I would really like to be this person. I’m not sure to be able to afford to be adventurous on this project. If it happens at any moment in time I’ll make sure to tell about my experience with it on this issue. :)


Feature/mainonly

@cqc-alec / @cqc-melf as the primary branch has changed, can you also change the default from repo settings to be the main branch? It shows develop by default:

@cqc-alec / @cqc-melf as the primary branch has changed, can you also change the default from repo settings to be the main branch? It shows develop by default:

Done.


fix: schema definition types

The default example from the docs doesn't pass schema validation:

If you try to "fix" it, the plugin throws an error:
release:
  revision: "1"

Looks like this fixes #170


Separate the Go client into its own @netlify/go-sdk repository

It seems to me the Go-related code should be abstracted to its own @netlify/go-sdk repository.
This would make both the Go client and the OpenAPI code easier to work with. This would also:

separate concerns
speed up CI

However Go imports might be broken when doing so, so this needs to be done carefully.

cc @calavera
Will this effect go imports? (e.g. projects using go client with github.com/netlify/open-api/ references)

Will this effect go imports?

definitely. Removing the code from here would break every project depending on it.
If you want to speed CI, why don't you create two parallel jobs? Caching Go's dependencies could also help reducing that time, as well as using a packages proxy: https://proxy.golang.org/

I'm closing this issue considering it's too much of a breaking change.
Just for some background, the issue for me was more of a separation concern. The Go client is one of many clients consuming the OpenAPI definitions and it has different requirements and programming languages, so I though it should belong to different repositories.

What about separating the OpenAPI code to a new repository, and import it in the current one? This would ensure the Go imports are not broken.
Another concern for me is that, not knowing Go, everytime I am changing something in Node.js, I am wondering whether I am accidentally breaking the Go client. I actually just did that by moving the swagger.yml file to a src/ folder until I realize the Makefile used to generate the Go client depends on that location. If the Go client was separate and importing the OpenAPI definition, I would be more confident about not breaking it by accident.
The same concern is the reason I did not try to add CI tests of the Node.js code to the .travis.yml. It's currently used by the Go client and I don't want to break things.

I also don't see a clear migration path for the go sdk.
This monorepo style also ensures that the SDKs are rebuilt on every openapi change.
We have a CI for detecting basic config errors like moving the swagger file (which might also be a really big breaking change for some people depending on it).
There is a lot of room for improving the test suite of the swagger file and go sdk and I hope we can do that sometime™.

I can help you with improving the CI experience without breaking the go stuff if you want.

@mraerino thanks for those extra information! With that in mind, I understand separating is complicated.
Quite question: is there a way for the Go client not to have to rebuilt when the OpenAPI definition changes? For example the Node.js client imports the npm package @netlify/open-api, which will automatically updates on npm install for patch and minor versions.

is there a way for the Go client not to have to rebuilt when the OpenAPI definition changes?
The Go dependency system works by fetching code from a git repository.
Therefore github is our "package store" in this case. Generation changes will have to be commited. We could do this through a bot.

We could also create a npm script command that runs the Makefile? We are already using npm scripts to semi-automate generating the documetnation website when swagger.yml changes.


Support for hipchat server URLs

I was trying to build an addon that's compatible with hipchat server, ended up implementing this. The idea is to make this completely optional, but to also have the tokens created from a client 'inherit' the url. Then, you can do something like this:
newClient := hipchat.NewClient("", hipchat.OptionBaseUrl("https://hipchat.example.com/v2"))
token, _, err := newClient.GenerateToken(
					credentials,
					[]string{hipchat.ScopeManageRooms, hipchat.ScopeViewGroup, hipchat.ScopeSendNotification, hipchat.ScopeAdminRoom})

client := token.CreateClient()

And the resulting client will be able to auth with the server.

Tried updating the travis script to find the binary, but it seems like golint + go 1.4.1 are not playing well together anymore:
package github.com/golang/lint/golint
	imports github.com/golang/lint
	imports go/types: unrecognized import path "go/types"
package github.com/golang/lint/golint
	imports github.com/golang/lint
	imports golang.org/x/tools/go/gcimporter15
	imports golang.org/x/tools/go/gcimporter15
	imports golang.org/x/tools/go/gcimporter15: no buildable Go source files in /home/travis/gopath/src/golang.org/x/tools/go/gcimporter15

travis_time:end:0135d440:start=1458501032235822850,finish=1458501036810695474,duration=4574872624

The command "go get -u github.com/golang/lint/golint" exited with 1.

This is already possible without your change :
c := hipchat.NewClient("")
var err error
c.BaseUrl, err =  url.Parse("https://hipchat.example.com/v2")


emissary-171: addressed most easily remedied CodeQL security findings

Address CodeQL security findings.  Addresses #171

This commit addresses the following 10 alerts:

Implicit narrowing conversion in compound assignment (src/test/java/emissary/pickup/FTestFailedPickupClient.java#L163)
 Information exposure through a stack trace (src/main/java/emissary/server/api/Pause.java#L25)
Information exposure through a stack trace (src/main/java/emissary/server/api/Pause.java#L32)
Information exposure through a stack trace (src/main/java/emissary/server/api/Shutdown.java#L41)
Information exposure through a stack trace (src/main/java/emissary/server/mvc/TransferDirectoryAction.java#L47)
Information exposure through a stack trace (src/main/java/emissary/server/mvc/internal/WorkSpaceClientSpaceTakeAction.java#L51)
Cross-site scripting (src/main/java/emissary/server/mvc/TransferDirectoryAction.java#L43)
 Cross-site scripting (src/main/java/emissary/server/mvc/internal/RegisterPeerAction.java#L49)
Cross-site scripting (src/main/java/emissary/server/mvc/internal/RegisterPeerAction.java#L52)
Cross-site scripting (src/main/java/emissary/server/mvc/internal/WorkSpaceClientSpaceTakeAction.java#L44)


Nested async generator doesn't work as expected

Steps to Reproduce

Calling yield multiple instances inside a nested async generator doesn't work as expected.
Minimal repro
import 'dart:async';

import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Unexpected Behavior with Nested Async Generators in Dart',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: CounterWidget(),
    );
  }
}

class CounterWidget extends StatefulWidget {
  CounterWidget({Key? key}) : super(key: key);

  @override
  _CounterWidgetState createState() => _CounterWidgetState();
}

class _CounterWidgetState extends State<CounterWidget> {
  var correct = <int>[];
  var wrong = <int>[];

  final blocCorrect = Counter();
  final blocWrong = Counter();

  @override
  void initState() {
    super.initState();
    blocCorrect.listen((i) {
      correct.add(i);
      setState(() {});
    });

    blocWrong.listen((i) {
      wrong.add(i);
      setState(() {});
    });
  }

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: [
            Text(
              correct.toString(),
              style: TextStyle(color: Colors.black),
            ),
            SizedBox(height: 50),
            TextButton(
              child: Text('Correct'),
              onPressed: () => blocCorrect.add(CounterEvent.correct),
            ),
            SizedBox(height: 50),
            Container(
              color: Colors.black,
              width: 200,
              height: 2,
            ),
            SizedBox(height: 50),
            Text(
              wrong.toString(),
              style: TextStyle(color: Colors.black),
            ),
            SizedBox(height: 50),
            TextButton(
              child: Text('Wrong'),
              onPressed: () => blocWrong.add(CounterEvent.wrong),
            ),
          ],
        ),
      ),
    );
  }
}

enum CounterEvent { correct, wrong }

class Counter extends Bloc<CounterEvent, int> {
  Counter() : super(0);

  @override
  Stream<int> mapEventToState(CounterEvent event) async* {
    if (event == CounterEvent.correct) {
      // Works
      yield state + 1;
      yield state + 1;
    } else {
      /// Does not work
      yield* _increment();
    }
  }

  Stream<int> _increment() async* {
    yield state + 1;
    yield state + 1;
  }
}

abstract class Bloc<E, S> {
  Bloc(this._state) {
    _eventController.stream.asyncExpand(mapEventToState).listen((s) {
      _state = s;
      _stateController.add(_state);
    });
  }

  final _eventController = StreamController<E>();
  final _stateController = StreamController<S>.broadcast();

  S _state;
  S get state => _state;

  StreamSubscription<S> listen(void Function(S) onData) {
    return _stateController.stream.listen(onData);
  }

  Stream<S> mapEventToState(E event);

  void add(E event) => _eventController.add(event);
}

Run minimal repro
Click 'Correct', prints 1,2
Click 'Wrong', prints 1,1

Expected results:
Clicking 'Wrong' should print 1,2 - similar to the output of clicking 'Correct'
Actual results:
yield state doesn't get update as expected. Clicking 'Wrong' prints 1,1

As a workaround, _increment() can be made recursive. Calling yield* _increment(2) prints 1,2
Stream<int> _increment(int n) async* {
  if (n > 0) {
    yield state + 1;
    yield* _increment(n - 1);
  }
}

Logs

[✓] Flutter (Channel stable, 2.5.1, on macOS 11.6 20G165 darwin-x64, locale en)
    • Flutter version 2.5.1
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision ffb2ecea52 (2 weeks ago), 2021-09-17 15:26:33 -0400
    • Engine revision b3af521a05
    • Dart version 2.14.2

[!] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
    • Android SDK
    ✗ cmdline-tools component is missing
      Run `path/to/sdkmanager --install "cmdline-tools;latest"`
      See https://developer.android.com/studio/command-line for more details.
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.

[✓] Xcode - develop for iOS and macOS
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 12.0.1, Build version 12A7300
    • CocoaPods version 1.10.0

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] VS Code (version 1.60.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.26.0

[✓] Connected device (1 available)
    • Chrome (web) • chrome • web-javascript • Google Chrome 94.0.4606.61

! Doctor found issues in 1 category.

Also q.v. https://github.com/dart-lang/sdk/issues/44616

Duplicate of https://github.com/dart-lang/sdk/issues/47355


[Streaming-Core] unneeded dependencies

Removing WAMP client code
Removing Poloniex V1 streaming
Removing javax.ws.rs-api which ceased getting updates in 2018. the replacement dependency is jakarta.ws.rs-api which rescu uses (albeit a slightly outdated version). The classloader seems to be picking this up/using it for me when deciding which classes to use.
Removed cryptonit and associated exchange code as it is a defunct exchange coinmarketcap link

@timmolter

hey @timmolter just wanted to bump this up not sure if you may have missed it.


UI: Show user activity on user details page

Currently User details open up in a modal, but we can have a separate page for user details where we can show user's activity like recent comments, mentions, pinned feeds, etc. along with user profile info and other details

Tracked by #4210


interface/stlink-v2-1.cfg is deprecated, please switch to interface/stlink.cfg

In section 1.4.4, the proposed configuration seems to be deprecated by STM.
openocd -f interface/stlink-v2-1.cfg -f target/stm32f3x.cfg
since it generates a warning
WARNING: interface/stlink-v2-1.cfg is deprecated, please switch to interface/stlink.cfg
the cfg file proposed by openocd seems to work fine, so perhaps the book could be updated accordingly.
openocd -f interface/stlink.cfg -f target/stm32f3x.cfg
BTW, It took me about an hour to get through the introduction/installation chapter. Considering the amount of different SW components involved, that was a smooth ride! Thanks for writing this book!

as far as I can tell, stlink.cfg does not yet exist on the homebrewed version of openocd on OSX, do you mind if I open a PR to add a note?


FixedHostPortGenericContainer spring integration testing

Hi Guys,
I've somme issue with my spring integration testing using spring and FixedHostPortGenericContainer.
Actually I think that my application is loaded and trying to connect to databse before this one is up, cause I want to launch it in my test via FixedHostPortGenericContainer.
this is what my code looks like:
@ClassRule
public static FixedHostPortGenericContainer oracle = new FixedHostPortGenericContainer
(myDockerImage).withFixedExposedPort(1521,1521)  ;
Sometimes my test is green, sometimes I've the error: java.sql.SQLException:
Listener refused the connection with the following error:
ORA-12528, TNS:listener: all appropriate instances are blocking new connections.
I've tried the different waiting strategies, but i've always the same issue.
Thank you for your help!!!

@kiview on the same note, what about anything that uses generic container?
How would you overwrite application.yml properties?

@topalavlad you may find this helpful:
https://github.com/testcontainers/testcontainers-java/tree/master/examples/spring-boot

@bsideup thanks, I thought about using system properties, but unfortunately this isn't a complete solution because I cannot run tests with different containers in parallel

@topalavlad DynamicPropertySource was introduced in spring-framework 5.2.5 and suits very well for testcontainers and set the right properties coming from the container.
@MenadKADDOUR how can we help nowadays? or can we close the issue?

Closing, since all modern frameworks nowadays provide excellent support for using dynamic ports.


Remove unused author/post date rollups

Doing these as unbounded materialized views is not very efficient and won’t scale. We don’t use them currently, so just dropping for now, but in the future we might need to do something else to report on the same data if we want dashboarding on it.

          1 Message

:book:
Nice, more deletions than insertions :red_circle:

  Generated by :no_entry_sign: danger


Fix native_snippets for vim.snippet api changes

According to this commit #2856 of neovim , fix native_snippets.

I am sorry for not formatting the code, I will pull again later


fix(tools)!: upgreade sgcloudsqlproxy to 2.3.0 (breaking change)

Beaking change as one will need to replace the cmd parameter from
'cloud_sql_proxy -instances=myproject:myregion:myinstance=tcp:5432 --enable_iam_login'
to:
'cloud-sql-proxy myproject:myregion:myinstance --port 5432 --auto-iam-authn'

Reason for update:
Perhaps this can help the build error that shows up recently from time to time?
[backend:deploy-dev] migrating database...
[backend:deploy-dev] 2023/06/16 08:31:09 current FDs rlimit set to 65536, wanted limit is 8500. Nothing to do here.
[backend:deploy-dev] 2023/06/16 08:31:09 using credential file for authentication;
[backend:deploy-dev] Running golang migrate...
[backend:deploy-dev] error: dial tcp [::1]:5432: connect: connection refused
[backend:deploy-dev] could not migrate database: exit status 1

As this error seems happened in the db migration step and a proxy connection is needed for that.

The download UIL might be changed for the new version, I hope I setup it up correctly but you can help me double check, thank you
https://cloud.google.com/sql/docs/mysql/connect-auth-proxy#macos-64-bit

I got it to work locally with the above changes and this change to the invocation:

@Edholm Thanks again for checking the change here, I would also like to verify this on our side as well when I have time before merge, hopefully I can find time recently :)

Great, tested that with update as such then it works:
        proxyCmd := sgcloudsqlproxy.Command(
		ctx,
		fmt.Sprintf("%s:%s:%s", gcpProject, gcpRegion, dbInstanceId),
		"--auto-iam-authn",
	)


Can not install "lab" package

Hi. I'm trying to install package using luarocks
$ luarocks install lab
However, I get
Error: No results matching query were found.
Plz help solve it.
Thanks

Are you sure that lab is in the default repository? A quick search on https://luarocks.org/ doesn't find anything relevant ...
Maybe you need to select another repository/manifest using the --server command line flag?

i'm a newbie, so i just do follow this
http://torch5.sourceforge.net/manual/newbieTutorial.html
i want to install "lab" package which contains a wide variety of commands for manipulating Tensors.

It seems that those instructions are outdated. Torch support is here: http://torch.ch/support.html

Many thanks !. In torch 7. We have "Mathematical operations" package instead of "lab"


100% Usage

When I install the package my CPU and RAM usage jumps to 100% usage

Try to reinstall the plugin, restart Atom.
What's your CPU, how much RAM and what OS.
When parsing the code, not a long load is normal, try to open a small stylus file

I have an i5 processor, 8gb ram, windows 10. I was using a file with about 80 lines of code. It would just freeze atom and never unfreeze. I tried the other package, but yours has the best highlighting support :)

Ok, could you give me a list of installed plugins and the Atom version so I can reproduce the bug?
To find out the list of plugins, run the command:
apm list --installed

Here is my list  of installed packages
Community Packages (19) C:\Users\quint\.atom\packages
├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>├──<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>

So, at Atom 1.20.1 the problem could not be reproduced.
Try to disable plug-ins one at a time, start with pigments and linter-stylint-h, do not forget to restart Atom, it's possible to detect the conflicting plugin.
If this does not work, try reinstalling Atom, installing plug-ins one by one, do not forget to back up the folder C:\Users\quint.atom

I tired everything you said but it still persists.

I can not reproduce the problem, so while I can not help you, try the plugins Stylus or language-stylus, when using them there are no performance problems?
Stay tuned for updates, and I'll do some optimization.


A fatal error has been detected by the Java Runtime Environment

Please provide a brief summary of the bug
I was trying to boot up my mc server and everything was going on fine but it crashed(i think) after starting. I have no idea about what may have caused this but I suspect that it might be because im playing modded. The "hs_err_pid1.log" is attached
hs_err_pid1.log
Did you test with the latest update version?

[ ] Yes

Please provide steps to reproduce where possible
No response
Expected Results
I dont know, I have no knowledge about these things
Actual Results
I dont know, I have no knowledge about these things
What Java Version are you using?
I do not know how to check
What is your operating system and platform?
No response
How did you install Java?
No response
Did it work before?
No response
Did you test with other Java versions?
No response
Relevant log output
No response

@ineedhelp-real This is a bug in the game / valkerie mod that is causing Java to crash, please report this issue to their forums.


Design QA - Tooltips

Tooltip style is not accurate and consistent across the site:

https://www.figma.com/file/42QoTLQcbObu7esoTPjWRv/Augur-Bet-Design-System?node-id=17%3A12

Thanks for updating style. Looking at the Refer a friend tooltip, it seems to have bigger margins than the rest of the tooltips; and also there is no need to add a space between "Referral Link" and "Invite..."

Done!


[TACHYON-1659]Add the Chinese version of documentation page 'Tiered-Storage-on-Tachyon'

https://tachyon.atlassian.net/browse/TACHYON-1659

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/8498/
Test PASSed.

Please add a screencast preview, thanks! @TeddyBear1314

Here is the screencast：

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Tachyon-Pull-Request-Builder/8499/
Test PASSed.

Thanks @TeddyBear1314 . LGTM.

LGTM. Thanks!


Consider hosting a Enterprise Linux package repository (e.g. OpenSUSE Build)

I've seen people asking for a Enterprise Linux (RHEL/CentOS/Fedora) package repository which hosts the latest version of GNUstep.
I've used [OpenSUSE Build Service)(https://build.opensuse.org/) to host rpm package repositories in the past. They are free of charge and allow you to host packages for open source software for many Linux distributions.
I've used Azure Pipelines in the past to push packages to the OpenSUSE Build Service from GitHub: https://github.com/libimobiledevice-win32/imobiledevice-net/blob/master/steps/deploy-osc.yml

Sure. I hope the tooling is better then on Debian. I have never used rpm before.


Bazel 6.1.1 doesn't build ios mediapipe 0.10.3 examples ( handtracking )

OS Platform and Distribution
iOS
Compiler version
No response
Programming Language and version
oc
Installed using virtualenv? pip? Conda?(if python)
No response
MediaPipe version
0.10.3
Bazel version
6.1.1
XCode and Tulsi versions (if iOS)
14.3.1
Android SDK and NDK versions (if android)
No response
Android AAR (if android)
None
OpenCV version (if running on desktop)
No response
Describe the problem
A bug happened! bazel build -c opt --config=ios_arm64 mediapipe/examples/ios/handtrackinggpu:HandTrackingGpuApp

brew config
HOMEBREW_VERSION: 4.1.7
ORIGIN: https://github.com/Homebrew/brew
HEAD: d4444b563e24ac7c05a93121c464c02dfa04d44f
Last commit: 4 days ago
Core tap origin: https://github.com/Homebrew/homebrew-core
Core tap HEAD: d793577b4ad83222bb580364ff66b1c5fede26a6
Core tap last commit: 32 hours ago
Core tap branch: master
Core tap JSON: 30 Aug 08:57 UTC
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 8
Homebrew Ruby: 2.6.10 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.10_1/bin/ruby
CPU: octa-core 64-bit icelake
Clang: 14.0.3 build 1403
Git: 2.33.0 => /usr/local/bin/git
Curl: 8.1.2 => /usr/bin/curl
macOS: 13.5.1-x86_64
CLT: <IP_ADDRESS>.1.1683849156
Xcode: 14.3.1
Complete Logs
ERROR: /Users/zhiyun/work/mediapipe_work/ios/mediapipe_gitee/mediapipe/graphs/hand_tracking/BUILD:69:23: Linking mediapipe/graphs/hand_tracking/hand_tracking_mobile_gpu_binary_graph_text_to_binary_graph [for tool] failed: (Exit 1): cc_wrapper.sh failed: error executing command (from target //mediapipe/graphs/hand_tracking:hand_tracking_mobile_gpu_binary_graph_text_to_binary_graph) external/local_config_cc/cc_wrapper.sh @bazel-out/darwin-opt-exec-50AE0418-ST-9facee45ddd0/bin/mediapipe/graphs/hand_tracking/hand_tracking_mobile_gpu_binary_graph_text_to_binary_graph-2.params

@chensisi0730,
This issue is already known to us, And We are actively pursuing a solution to rectify the issue at hand.
As a potential solution, I kindly request that you clone the Bazel repository and implement the fix that the community has identified, as outlined here.
For a more comprehensive grasp of the matter, I advise you to consult this ongoing discussion thread. Thank you


term request: Soil CH4 flux

Hello the Bioscales project is in need of the term:
Soil CH4 flux

We will measure this for soils under each plant genotype. It is expressed as a rate of efflux of CH4 per surface area of soil (e.g. umol CH4, per m^2, per hr)

For new items/attributes, we will require the following details:
Package item name
Structured comment name
Definition
Expected value
Value syntax
Example
Preferred unit
For Soil CH4 flux I would suggest:
Package item name: Soil Methane Flux
Structured comment name: soil_ch4_flux
Definition: Methane (CH4) flux is the net rate of methane exchange between an ecosystem and the atmosphere.  It is expressed as a rate of efflux of CH4 per surface area of soil (e.g. umol CH4, per m^2, per hr)
Expected value: measurement value
Value syntax: {float} {unit}
Example: 100 umol/m2/hr
Preferred unit: micromoles per square meter per hour (NB- this is not a recognized Unit Ontology term)

There is the question as to whether we also require a joint new term "Soil Methane Flux Method" to allow the method of measurement to be added?


controller-manager does not respect config.server.https

How to categorize this issue?

/kind bug
What happened:
When configuring ControllerManagerConfiguration.server.https (https://github.com/gardener/gardener/blob/dc4eb4be0dab379f58636ad2ac11905609ff4e6b/pkg/controllermanager/apis/config/v1alpha1/types.go#L325-L326), it is simply ignored by gardener-controller-manager
https://github.com/gardener/gardener/blob/dc4eb4be0dab379f58636ad2ac11905609ff4e6b/cmd/gardener-controller-manager/app/gardener_controller_manager.go#L290-L297
and no HTTPS handler is started using the provided configuration.
What you expected to happen:
controller-manager to respect the configuration options just like gardenlet: https://github.com/gardener/gardener/blob/dc4eb4be0dab379f58636ad2ac11905609ff4e6b/cmd/gardenlet/app/gardenlet.go#L425-L454

/remove-lifecycle rotten

/remove-lifecycle stale


Rate limit for NAC

Description of changes
Summarize the changes made by this PR.

Improvements & Bug fixes

...

New functionality

...

Test plan
How are these changes tested?

[ ] Tests pass locally with pytest for python, yarn test for js, cargo test for rust

Documentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#2632  👈
#2631
#2630
#2628
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @sanketkedia and the rest of your teammates on  Graphite


Speed up test_comments by using setUpTestData

Before patch: 42.19 seconds
After patch: 31.37 seconds

👍


SiteTree DependentPages performance issue

Github link:
https://github.com/silverstripe/silverstripe-cms/issues/2276
Affected Version
Version: 4.2.1 (c611c981e45409c8ab318f709a5d94cdd7e0ce84)
Description
SiteTree::DependentPages() function creates an ArrayList of all dependant pages.
If you have a root page with 11 000 dependant pages the performance takes a big hit. It doesn't help that having this feature is mandatory and you can't remove this by configuration.
My recommendation is:
do not use ArrayList unless there is no other choice
make this feature be enabled/disabled via config
make this feature show on demand, not during edit for the page load
Steps to Reproduce
Visit edit form of a page with 11 000 dependent pages and wait for 2.7 minutes

Closing as duplicate of https://github.com/silverstripe/silverstripe-cms/issues/2276


Stub Executable fails when passing 4-level version string

The stub executable fails to launch the actual app executable when I pass a 4-level windows compatible version string  to the MSICreator options (e.g. "<IP_ADDRESS>") .   It works when I pass a 3-level version string (e.g. "2.2.0").

How do you get that stub executable work? My short cut in the desktop seems point to the installer.

I have seen the same problem: The overall error is as follows:
Faulting application name: my-app.exe, version: <IP_ADDRESS>, time stamp: 0x5f64eb21
Faulting module name: my-app.exe, version: <IP_ADDRESS>, time stamp: 0x5f64eb21
Exception code: 0xc0000409
Fault offset: 0x0000e841
Faulting process id: 0x4960
Faulting application start time: 0x01d966493c1c594f
Faulting application path: C:\Program Files\myapp\my-app.exe
Faulting module path: C:\Program Files\my-app\my-app.exe
Report Id: f26180e9-1aa2-42fa-8e51-bdff783a0e62
Faulting package full name:
Faulting package-relative application ID:

It's weird as the actual specified version is <IP_ADDRESS>, but this seems to be referring to <IP_ADDRESS>
My guess is that it's truncating a version somewhere and later on it can't find "the version". Reverting to a 3 stage version number cures the issue.

Still not fixed unfortunately. If you manually rename the subdirectory to have three version component, the real executable is properly launched. I'm not sure how to skip generating that stub exe at all. I don't see the added value, since a MSI cannot be installed side-by-side.

there is  plan to fix it?
@Sebazzz


Issue with Rooting 8.1

I am getting this message whenever I try to root.
Getting device list... Found
Finding build number...  OPM1.180104.166
Oreo builds are supported only

@ArcticJS1 I just added your build, enjoy!


Prevent stripping html when no truncation is needed?

Is it possible to prevent stripping html when no truncation is needed?
For example if truncation kicks in at 5 lines, but you only have 4, in this scenario, it becomes impossible to see the html version.

Hi Suture, during the collapse HTML is stripped because there are cases where there can be images,videos,list and other block level items with each having separate CSS properties and different margin and padding. So collpasing the element to a particular line is quite challenging and may not work in all sites with different base CSS. Since collpaser also suports collpasing to particular characters this scenario also has to be handled gracefully.
This feature can be implemented but not on by default. Should be enabled on demand through an additional property. I'll try to work on this.

Hi Vaakash
Yes understand. Many thanks for getting back to me.

+1
This could be very very useful.

Why not just strip image, video, and media tags and nothing else?  There should be a property for "allowed tags" and could be used at the risk of the User.

In Wordpress I use this plugin Advanced Excerpt https://wordpress.org/plugins/advanced-excerpt/ which allows you to choose which tags get stripped. It somehow manages to prevent any issues with truncated closing tags.

@suture Let me check that for a reference try to implement the same.
@bcrigler The problem which I got during testing is, when the "divs", "span" tags in collapsible element had a different a padding, margin then it was odd for the collpase animation. I'll anyway try to implement the same as many request it.


How to Setup our own midd server?

Currently, the Requests are being parsed from voten's server, how can we do it on our own? Eg. https://midd.voten.co/link-submission?url=https%3A%2F%2Fyoginth.ml

Answered here:
https://voten.co/c/votendev/how-to-setup-our-own-midd-server

Fine!


no method 'robot'

I've seen this issue listed here before, but I'm having the same issue as well. Downloaded 2.3.2 release and added the dependencies, ran npm install hubot-irc --save, npm install coffee-script --save, and npm install
2013-06-17T06:08:52.989801+00:00 heroku[app.1]: State changed from starting to up
2013-06-17T06:08:53.023127+00:00 app[app.1]: [Mon Jun 17 2013 06:08:53 GMT+0000 (UTC)] ERROR Cannot load adapter irc - TypeError: Object #<Object> has no method 'robot'
2013-06-17T06:08:53.023127+00:00 app[app.1]: TypeError: Object #<Object> has no method 'robot'
2013-06-17T06:08:53.023127+00:00 app[app.1]:   at Module._compile (module.js:446:26)
2013-06-17T06:08:53.023127+00:00 app[app.1]:   at Object.loadFile (/app/node_modules/coffee-script/lib/coffee-script/coffee-script.js:182:19)
2013-06-17T06:08:53.023127+00:00 app[app.1]:   at Function.Module._load (module.js:311:12)
2013-06-17T06:08:53.023127+00:00 app[app.1]:   at Object.<anonymous> (/app/node_modules/hubot-irc/src/irc.coffee:1:11, <js>:7:28)
2013-06-17T06:08:53.023127+00:00 app[app.1]:   at Object.<anonymous> (/app/node_modules/hubot-irc/src/irc.coffee:1:1, <js>:207:4)
2013-06-17T06:08:53.023127+00:00 app[app.1]:   at require (module.js:375:17)
2013-06-17T06:08:53.023368+00:00 app[app.1]:   at Module._compile (module.js:446:26)
2013-06-17T06:08:53.023127+00:00 app[app.1]:   at Module.load (/app/node_modules/coffee-script/lib/coffee-script/coffee-script.js:211:35)
2013-06-17T06:08:53.023368+00:00 app[app.1]:   at Object.<anonymous> (/app/node_modules/hubot/bin/hubot:80:11, <js>:79:19)
2013-06-17T06:08:53.023754+00:00 app[app.1]:   at Object.<anonymous> (/app/node_modules/hubot/bin/hubot:104:3, <js>:105:19)
2013-06-17T06:08:53.023754+00:00 app[app.1]:   at Object.<anonymous> (/app/node_modules/hubot/bin/hubot:11:1, <js>:109:4)
2013-06-17T06:08:53.023127+00:00 app[app.1]:   at Module.require (module.js:359:17)
2013-06-17T06:08:53.023368+00:00 app[app.1]:
2013-06-17T06:08:53.023754+00:00 app[app.1]:   at Module._compile (module.js:446:26)
2013-06-17T06:08:53.023368+00:00 app[app.1]:   at Object.module.exports.loadBot (/app/node_modules/hubot/index.coffee:11:7, <js>:21:12)
2013-06-17T06:08:53.023368+00:00 app[app.1]:   at Object.<anonymous> (/app/node_modules/hubot/bin/hubot:11:1, <js>:109:4)
2013-06-17T06:08:53.023368+00:00 app[app.1]:   at Robot.loadAdapter (/app/node_modules/hubot/src/robot.coffee:230:7, <js>:217:31)
2013-06-17T06:08:53.023754+00:00 app[app.1]: TypeError: Cannot call method 'on' of null
2013-06-17T06:08:53.023368+00:00 app[app.1]:   at new Robot (/app/node_modules/hubot/src/robot.coffee:36:5, <js>:46:14)
2013-06-17T06:08:53.023754+00:00 app[app.1]:
2013-06-17T06:08:54.194289+00:00 heroku[app.1]: Process exited with status 1
2013-06-17T06:08:54.214754+00:00 heroku[app.1]: State changed from up to crashed

Package.xml
{
  "name": "hosted-hubot",
  "version": "2.3.2",
  "author": "GitHub Inc.",
  "keywords": "github hubot campfire bot",
  "description": "A simple helpful Robot for your Company",
  "licenses": [
    {
      "type": "MIT",
      "url": "http://github.com/github/hubot/raw/master/LICENSE"
    }
  ],
  "repository": {
    "type": "git",
    "url": "https://github.com/github/hubot.git"
  },
  "dependencies": {
    "hubot": "2.3.2",
    "hubot-scripts": ">= 2.1.0",
    "optparse": "1.0.3",
    "hubot-irc": "0.0.8",
    "coffee-script": ">=1.0.0"
  },
  "engines": {
    "node": "0.6.x",
    "npm": "1.0.x"
  }
}

@jordanbaucke has not replied in 4 years, so let's assume this is fixed.
Feel free to comment if not.


clipboard API

The entry on caniuse says "API to provide copy, cut and paste functionality using the OS clipboard." but its not really describing that.
AFAIK this is the lay of the land…
Clipboard events

It's a little in the air.. https://www.lucidchart.com/techblog/2014/12/02/definitive-guide-copying-pasting-javascript/ covers it

system clipboard access
(like JS being able to copy to your real clipboard)

IE will allow access to system clipboard if the user accepts a security prompt
chrome 42 will allow without a prompt, just has to be part of a user action (click, keydown, etc): http://jsbin.com/yanamebope/quiet
FF has a clipboardevent constructor (mentioned in the entry) but it doesn't actually do anything, AFAICT.

Willing to be corrected here but right now I dont think the entry is too accurate.

@paulirish Yeah, I admit that currently the data is more based on something testable than actual usability and I've seen some other complaints about it, so thanks for bringing this up. Let me do some research here (thanks for your info!) and update it to be more useful.

@paulirish Alright, I think my latest changes capture the support much better. Just for desktop browsers for now, but that's where the difference really matters anyway:
http://caniuse.com/#feat=clipboard
Let me know what you think.

cc @mattgaunt who is looking at this too

This is just a rough list of things I found while looking into this:

I thought it was going to be Chrome 43 which would support the cut and copy commands?
Firefox has the added weirdness where apparently you can enable cut and copy commands in preferences somehwere: https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand
IE10+ had support for cut and copy same as Chrome v43, only difference was that IE10+ shows a permission dialog

Cool, thanks @gauntface, have updated the data appropriately.
I think that should be good enough for now then, so closing this issue.

@Fyrd , thanks, very nice table!
One remark:
for Firefox you have:
[2] Only fires copy event on a valid selection and only cut and paste in focused editable fields
but, seems, in FF41 copy event is not fired for empty selection.


Added ambassador program to navbar

The Ambassador program page is currently inaccessible from the navbar. I added a navbar item to navigate tohttps://developer.sailpoint.com/ambassadors/

Closing without merging for now. We will redesign the homepage after developer days 2024.