Issue for Chapters with Spoiler Names

There seems to be a problem with hidden chapter names i.e. chapter 74: A Will Eternal.
Seems to be a parsing issue.

I would take a look at it, which Novel is the example?

Great! I'll just copy the important content from the E-Mail I received regarding this bug. That's all I know about as I did not look into it atm:

Hey,
I noticed that the program seems to break when it downloads a chapter with a spoiler name. For example, chapter 74 of A Will Eternal (http://www.wuxiaworld.com/awe-index/awe-chapter-74/).
After looking around at the code, I noticed that when the the raw data is parsed in getify.py on soup = BeautifulSoup(raw, 'html.parser’) it isn’t parsed super accurately. This leads to issues with your other code because the tags don’t match as well as the chapters without spoilers, so it misses all of the actual content of the chapter.

The Question is what do we want to happen when it encounters a spoiler title?
Only show the chapter number or show the full spoiler?

How about chapter number + „Title hidden due to potential spoilers“ or something like that and at the end of the chapter the name in bold?

Ok, I think the problem is inside getify.clean() not BeautifulSoup so it should be possible to catch this special case and work around it.

Sadly the problem is inside BeautifulSoup.
The .find() command only selects until it finds the first end tag so in this case it tries to select a div but because there is another div inside it, it stops when it encounter the  and ends up with this:

                                        Previous Chapter

                                            Next Chapter

                                            Chapter 74 (Click to show "spoiler" title)

 Chapter 74: So, It Was Bai Xiaochun!

```
I'm searching through the BeautifulSoup API to find a workaround, but no luck so far.

Currently not at home so I can't look through the API , but you probably want to check for child elements of the first div, and if it contains one with the specific class mentioned, clean differently.
Could also be nonsense what I'm writing,  if you can't figure it out, I'll take a look at it sometime this weekend.

Fixed it.


Feature/taggable

Take a look when you can. Meanwhile I'll integrate it in WH to triple-check it's working as expected.

👍


Internal Server Error, HTTPSConnectionPool Error

grip -b
 * Using personal access token
 * Running on http://localhost:6419/ (Press CTRL+C to quit)
 * Error: could not retrieve styles: HTTPSConnectionPool(host='github.com', port=443): Max retries exceeded with url: /joeyespo/grip (Caused by SSLError(SSLError(1, u'[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)'),))
[2018-02-24 10:22:23,435] ERROR in app: Exception on / [GET]
Traceback (most recent call last):
  File "/usr/local/Cellar/grip/4.4.0/libexec/vendor/lib/python2.7/site-packages/flask/app.py", line 1982, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/Cellar/grip/4.4.0/libexec/vendor/lib/python2.7/site-packages/flask/app.py", line 1614, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/Cellar/grip/4.4.0/libexec/vendor/lib/python2.7/site-packages/flask/app.py", line 1517, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "/usr/local/Cellar/grip/4.4.0/libexec/vendor/lib/python2.7/site-packages/flask/app.py", line 1612, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/Cellar/grip/4.4.0/libexec/vendor/lib/python2.7/site-packages/flask/app.py", line 1598, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "/usr/local/Cellar/grip/4.4.0/libexec/lib/python2.7/site-packages/grip/app.py", line 174, in _render_page
    content = self.renderer.render(text, self.auth)
  File "/usr/local/Cellar/grip/4.4.0/libexec/lib/python2.7/site-packages/grip/renderers.py", line 77, in render
    r = requests.post(url, headers=headers, data=data, auth=auth)
  File "/usr/local/Cellar/grip/4.4.0/libexec/vendor/lib/python2.7/site-packages/requests/api.py", line 112, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/Cellar/grip/4.4.0/libexec/vendor/lib/python2.7/site-packages/requests/api.py", line 58, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/Cellar/grip/4.4.0/libexec/vendor/lib/python2.7/site-packages/requests/sessions.py", line 508, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/Cellar/grip/4.4.0/libexec/vendor/lib/python2.7/site-packages/requests/sessions.py", line 618, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/Cellar/grip/4.4.0/libexec/vendor/lib/python2.7/site-packages/requests/adapters.py", line 506, in send
    raise SSLError(e, request=request)
SSLError: HTTPSConnectionPool(host='api.github.com', port=443): Max retries exceeded with url: /markdown/raw (Caused by SSLError(SSLError(1, u'[SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)'),))
<IP_ADDRESS> - - [24/Feb/2018 10:22:23] "GET / HTTP/1.1" 500 -

The message in browser,
Internal Server Error
The server encountered an internal error and was unable to complete your request. Either the server is overloaded or there is an error in the application.

I think the connection to Github has no problem.

version
grip -V
Grip 4.4.0

I have the same problem, seems related to https://developer.github.com/changes/2018-02-01-weak-crypto-removal-notice/

So Github just turned off the TLS1.0 and only allows TLS1.2, I fixed the issue with the openssl upgrade and python reinstallation.
brew update
brew install openssl

Then openssl version should be 1.0.x
brew update
brew install pyenv
echo 'eval "$(pyenv init -)"' >> .zshrc
source .zshrc
pyenv install 3.5.2
pyenv global 3.5.2

python --version
python -c 'import ssl; print ssl.OPENSSL_VERSION'

After that, you can see python is using openssl 1.0.x, and if you reinstall grip everything should be good.

Thanks a lot for this hint!
Important to add: Of course this won't work with the Homebrew version because the Homebrew version uses an old Python (at least for me). So maybe, the Homebrew version needs an update?

I couldn't get this to work with Homebrew either. I ended up uninstalling grip in Homebrew and re-installing it with pip after I did the other steps
brew update
brew install openssl

brew update
brew install pyenv
echo 'eval "$(pyenv init -)"' >> .bash_profile
source .bash_profile
pyenv install 3.5.2
pyenv global 3.5.2

Thanks @cunninghamzac! Uninstalling it via Homebrew and using pip install grip worked for me, too.
@peterfication, Homebrew now uses 3.x as the default python.

Yes, this is due to GitHub shutting off weak TLS.
Thanks for chiming in, @shirohana, @xavierchow, @cunninghamzac ❤

Actually, while I'm releasing new versions, I added an except block in v1.5.2 pointing people here if they happen to hit this error (f015871c4af7b8a956ed41c9b6bfdd1e6ad468cb). Can anyone still experiencing this confirm it worked / add anything missing? Thanks again!

I got your error, there is a spelling mistake in the error message though. I made a pull request https://github.com/joeyespo/grip/pull/266


value error

how to resolve this ?


Someone please Help me

source/objects/Alphabet.hx:198: characters 20-28 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/states/PlayState.hx:125: characters 21-29 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/states/PlayState.hx:186: characters 17-25 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/substates/PauseSubState.hx:64: characters 17-25 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/states/editors/AnimationDebug.hx:51: characters 11-19 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/states/editors/ChartingState.hx:120: characters 13-21 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/Main.hx:87: characters 59-63 : Float should be Int
source/Main.hx:87: characters 59-63 : ... For optional function argument 'updateFramerate'
source/Caching.hx:127: characters 14-22 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/Caching.hx:128: characters 16-24 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/Caching.hx:133: characters 14-22 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
source/Caching.hx:134: characters 16-24 : Warning : flixel.system.FlxSound was moved to flixel.sound.FlxSound
C:/haxelib/jsonpath/1,0,0/json/util/ArrayUtil.hx:15: characters 35-48 : Class<thx.Arrays> has no field containsExact
C:/haxelib/jsonpath/1,0,0/json/util/ArrayUtil.hx:31: characters 25-38 : Class<thx.Arrays> has no field containsExact
C:/haxelib/jsonpath/1,0,0/json/util/ArrayUtil.hx:35: characters 25-38 : Class<thx.Arrays> has no field containsExact
C:/haxelib/jsonpath/1,0,0/json/util/ArrayUtil.hx:48: characters 35-48 : Class<thx.Arrays> has no field containsExact
C:/haxelib/jsonpatch/1,0,0/json/patch/JSONPatch.hx:78: characters 22-34 : json.JSONData has no field insertByPath
C:/haxelib/jsonpatch/1,0,0/json/patch/JSONPatch.hx:106: characters 23-35 : json.JSONData has no field existsByPath
C:/haxelib/jsonpatch/1,0,0/json/patch/JSONPatch.hx:109: characters 18-30 : json.JSONData has no field removeByPath
C:/haxelib/jsonpatch/1,0,0/json/patch/JSONPatch.hx:126: characters 18-27 : json.JSONData has no field setByPath (Suggestion: getByPath)
C:/haxelib/jsonpatch/1,0,0/json/patch/JSONPatch.hx:144: characters 23-35 : json.JSONData has no field existsByPath
C:/haxelib/jsonpatch/1,0,0/json/patch/JSONPatch.hx:149: characters 18-30 : json.JSONData has no field removeByPath
C:/haxelib/jsonpatch/1,0,0/json/patch/JSONPatch.hx:151: characters 22-31 : json.JSONData has no field setByPath (Suggestion: getByPath)
C:/haxelib/jsonpatch/1,0,0/json/patch/JSONPatch.hx:169: characters 23-35 : json.JSONData has no field existsByPath
C:/haxelib/jsonpatch/1,0,0/json/patch/JSONPatch.hx:175: characters 22-31 : json.JSONData has no field setByPath (Suggestion: getByPath)
C:/haxelib/jsonpatch/1,0,0/json/patch/JSONPatch.hx:195: characters 27-39 : json.JSONData has no field existsByPath
C:/haxelib/polymod/git/polymod/backends/LimeBackend.hx:146: characters 54-55 : Unexpected ?
i'm useing the newer version of haxe

unfortunately the source code for this engine works with older versions of haxe (4.0.2 - 4.1.5).
follow this build guide if you get anymore errors, and let me know if anything else happens :)

i got C:/haxelib/flixel/5,8,0/flixel/system/macros/FlxDefines.hx:113: characters 61-65 : Unsupported Haxe version! Supported versions are 4.2.5 or newer (found 4.105).


Remove obsolete marshalMetadataLinks method from Hal plugin

The method marshalMetadataLinks in the Hal plugin is only a proxy method to the marshalMetadataLinks method in the ResourceFactory class. This method seems not to be used at all inside the Hal plugin itself (or any other classes). I think this method can/should be removed. It is only confusing that it is (still) available in theHal plugin.

This repository has been closed and moved to laminas-api-tools/api-tools-hal; a new issue has been opened at https://github.com/laminas-api-tools/api-tools-hal/issues/12.


Add new metrics to dashboard

Some new metrics:

Kyu Killer - defeats of kyu players by a dan players
Dan Demolisher - defeats of dan players by kyu players
Stoned - handicap stones given

Should be enough to just add to template and episode_stats function

@njritter anything else lightweight you had in mind? I think these are simple enough to do without asynchronous tasks, and I don't think we really need to wait for the episode view

Those are the 3 most requested stats/achievements to track! Starting here seems good.

Template is here
episode_stats is here on line 225.

https://github.com/massgo/league/blob/master/app/league/dashboard/models.py#L225
^ deep link :)

Also nice to have would be displaying number of games played so far, and maybe % win by Black

@sartak this has been added in #148 !
Closing this, since the bulk of this was implemented in #115

Oops, I misread your request. Well, I added a thing anyway. What you mention would be useful for season stats, which don't exist at all (yet)


Code is stuck

Hi,
I tried testing demo_sd3_instruct.py but for some reason it's not working. It tries to do something but then  it stops the execution prematurely without errors. I think there is an issue caused by the following part:
pipe = StableDiffusion3PipelineExtraCFG.from_pretrained(
base_model_path,
feature_extractor=None,
safety_checker=None,
torch_dtype=torch.float16,
)
The output is:
2.4.0+cu124
2024-08-12 08:45:43.807334: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
2024-08-12 08:45:45.176026: I tensorflow/core/util/port.cc:153] oneDNN custom operations are on. You may see slightly different numerical results due to floating-point round-off errors from different computation orders. To turn them off, set the environment variable TF_ENABLE_ONEDNN_OPTS=0.
Keyword arguments {'feature_extractor': None, 'safety_checker': None} are not expected by StableDiffusion3PipelineExtraCFG and will be ignored.
Loading pipeline components...:  22%|██████████████████                                                               | 2/9 [00:00<00:03,  2.16it/s]You set add_prefix_space. The tokenizer needs to be converted from the slow tokenizers
Loading pipeline components...:  44%|████████████████████████████████████                                             | 4/9 [00:01<00:02,  2.28it/s]
Maybe there is something I am missing or there is an issue in the libraries I am using?
Kind Regards

Very likely a diffusers issue, I reccomend running something like this
import torch
from diffusers import StableDiffusion3Pipeline
pipe = StableDiffusion3Pipeline.from_pretrained("stabilityai/stable-diffusion-3-medium-diffusers", torch_dtype=torch.float16)
pipe = pipe.to("cuda")
image = pipe(
"A cat holding a sign that says hello world",
negative_prompt="",
num_inference_steps=28,
guidance_scale=7.0,
).images[0]
image
and see if you get the same issue.


Cannot start Mood Tracker on iPhone

I cannot find a command on mobile to start / activate the Mood Tracker. What am I missing here?

@KennyDenvers I think I forgot to add them. v0.1.2 should have the commands. Cheers!


Environment variables remplacement failed

Hi,
With:
sudo brew services start XXX we lose the environment variables ? See my post concerning telegraf.
https://github.com/influxdata/telegraf/issues/8484
Thanks for your help.

I don't know what you're asking, sorry.

We cannot use environment variables in the configuration of "telegraf" if we go through "brew services" to launch its service.
Is there a notion of virtual environment with "brew services" ? Who would hide the environment variables?
The simple example of the "${USER}" in the default config doesn't work.

We cannot use environment variables in the configuration of "telegraf" if we go through "brew services" to launch its service.

Yes, perhaps not.

Is there a notion of virtual environment with "brew services" ?

No.

Who would hide the environment variables?

sudo or launchctl.


Fix tests in facebook pixel

It seems that the previous approach does not work anymore.
@kellyselden Can you confirm this change is okay?

Sorry I cannot. I'm not using this anymore.


[Feature Request]: Adding the tilty effect to all cards at home page.

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Using react tilty library for  the same.
Use Case
na
Benefits
Will enhance the UI for cards particularly.
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

can you provide a demo for this

since no response closing this


go get fails because of gnostic openapiv2 repo

when trying to run go get github.com/mittwald/go-helm-client the following error occurs
../../go/pkg/mod/k8s.io/kubectl@v0.23.1/pkg/util/openapi/openapi.go:49:37: cannot use doc (type *"github.com/googleapis/gnostic/openapiv2".Document) as type *"github.com/google/gnostic/openapiv2".Document in argument to "k8s.io/kube-openapi/pkg/util/proto".NewOpenAPIData
https://github.com/kubernetes/client-go has/had the same issue https://github.com/kubernetes/client-go/issues/1075. Seems to have something to do with google changing paths from  https://github.com/googleapis/gnostic to https://github.com/google/gnostic

Didn't realize that I had the 0.23.0 client-go in sum file, that caused this issue.

This problem is from the Client-go library.
Reference : https://github.com/kubernetes/client-go/issues/1075


Add daily job to track auto-archive backlog

Description of change
We have been running the automatic_company_archive job for a while. Lately, we have noticed that the number of companies archived automatically have exceeded our original estimates.
The estimates in this case were only valid for a point-in-time because the criteria includes clauses that mean the set of companies eligible for automatic archiving is a rolling one.
We would like to track the number of companies that are eligible for archiving. It would be interesting to take note of how this set grows etc.
This introduces a cron entry that runs the automatic_company_archive job in simulation mode every night. This should provide us with the visibility we need.
Checklist

[ ] If this is a releasable change, has a news fragment been added?

Explanation
A news fragment is required for any releasable change (i.e. code that runs in or affects production) so that a corresponding changelog entry is added when releasing.
Check changelog/README.md for instructions.

[ ] Has this branch been rebased on top of the current develop branch?

Explanation
The branch should not be stale or have conflicts at the time reviews are requested.

[ ] Is the CircleCI build passing?

General points

Other things to check

Make sure fixtures/test_data.yaml is maintained when updating models
Consider the admin site when making changes to models
Use select-/prefetch-related field lists in views and search apps, and update them when fields are added
Make sure the README is updated e.g. when adding new environment variables

See docs/CONTRIBUTING.md for more guidelines.

Perhaps the message emitted by send_realtime_message() in the task could be adjusted when simuate=True to say it's a simulation?


GUIX Studio generates incorrect callback signature for GX_STRING_SCROLL_WHEEL_PROPERTIES

Using GUIX Studio 6.2.0 (also tested on 6.1.12):

create a new project,
add a string scroll wheel to the main window
generate the specification files

GUIX Studio generates a GX_STRING_SCROLL_WHEEL_PROPERTIES struct in the specifications.h file. The callback signature incorrectly contains a GX_NUMERIC_SCROLL_WHEEL_STRUCT.
typedef struct
{
    int                 total_rows;
    int                 selected_row;
    GX_VALUE            row_height;
    GX_UBYTE            start_alpha;
    GX_UBYTE            end_alpha;
    GX_RESOURCE_ID      normal_font;
    GX_RESOURCE_ID      selected_font;
    GX_RESOURCE_ID      normal_text_color;
    GX_RESOURCE_ID      selected_text_color;
    GX_RESOURCE_ID      disabled_text_color;
    GX_RESOURCE_ID      wallpaper_id;
    GX_RESOURCE_ID      selected_background;
    GX_CONST GX_RESOURCE_ID  *string_id_list;
    UINT (*callback)(struct GX_NUMERIC_SCROLL_WHEEL_STRUCT*, INT, GX_STRING *);
} GX_STRING_SCROLL_WHEEL_PROPERTIES;

It should be:
    UINT (*callback)(struct GX_STRING_SCROLL_WHEEL_STRUCT*, INT, GX_STRING *);

This can be seen in one of the tutorials: https://github.com/azure-rtos/guix/blob/master/tutorials/demo_guix_scroll_wheel/demo_guix_scroll_wheel_specifications.h#L141

Hello @RodneyRichardson,
Thank you for reporting this! I have duplicated the result in my office. We will get this fixed and get an update pushed asap.
Best Regards,
Ken

Hello @RodneyRichardson ,
Just to let you know the fix has been merged and an update is being pushed to the App Store. You should received the udpated <IP_ADDRESS> release automatically within a day or two. I'm going to go ahead and close the ticket, but feel free to re-open it if the <IP_ADDRESS> patch doesn't address your issue.

@jdeere5220 Hi Ken, Any idea when version <IP_ADDRESS> will be released on Microsoft Store? or where I can find release notes for the applications?

@RodneyRichardson the update is on the Store now. Sometimes it takes a while to automatically update, I don't really know how that works, but if you don't see the update within the next 24 hours you can try going back to the store page and see if the "Get" button is enabled to force an update. Mine hasn't auto-updated yet either, but the App Store indicates the updated submission is validated and it should be rolling out.
Regarding release notes, we don't actually publish release notes for GUIX Studio or TraceX today. We keep those internally, but there is no way to get them from the App Store. We are discussing adding those to our github repo so that people have access, though it's not real obvious where to find them. Let me find out if that plan is moving forward and when.
Best Regards,
Ken

Confirmed fixed in <IP_ADDRESS>.


Fix empty lang / datepicker issue caused by PHP7 variable handling

Fixes issue https://github.com/dszymczuk/dsEventCalendar57/issues/3

To fix issue https://github.com/dszymczuk/dsEventCalendar57/issues/3

Thank you for fix. I'll check it in whole application and PRO version also :+1:


MacOS build fails

build.sh fails on MacOS with the following warnings (as errors):
nashatyrev@MacBook-Pro blst % ./build.sh
+ cc -O -fno-builtin-memcpy -fPIC -Wall -Wextra -Werror -mno-avx -c ./src/server.c
In file included from ./src/server.c:19:
./src/bulk_addition.c:147:1: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
ADDITION_BTREE(POINTonE2, 384x, fp2, BLS12_381_Rx.p2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/bulk_addition.c:113:49: note: expanded from macro 'ADDITION_BTREE'
#define ADDITION_BTREE(ptype, bits, field, one) \
                                                ^
./src/bulk_addition.c:57:37: note: expanded from macro '\
HEAD'
    static const vec##bits zero = { 0 }; \
                                    ^
In file included from ./src/server.c:20:
./src/multi_scalar.c:192:1: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
MULT_SCALAR_WBITS_IMPL(POINTonE1, 384, fp, BLS12_381_Rx.p)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/multi_scalar.c:101:46: note: expanded from macro 'MULT_SCALAR_WBITS_IMPL'
    static const ptype##_affine infinity = { 0 }; \
                                             ^
./src/multi_scalar.c:196:1: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
MULT_SCALAR_WBITS_IMPL(POINTonE2, 384x, fp2, BLS12_381_Rx.p2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/multi_scalar.c:101:46: note: expanded from macro 'MULT_SCALAR_WBITS_IMPL'
    static const ptype##_affine infinity = { 0 }; \
                                             ^
./src/multi_scalar.c:196:1: error: suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
MULT_SCALAR_WBITS_IMPL(POINTonE2, 384x, fp2, BLS12_381_Rx.p2)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
./src/multi_scalar.c:101:46: note: expanded from macro 'MULT_SCALAR_WBITS_IMPL'
    static const ptype##_affine infinity = { 0 }; \
                                             ^
4 errors generated.

This is due to commit 46be9ea7
Adding -Wno-missing-braces option to build.sh solves the problem

Here is the thing. One can spot this message on travis, but not on github actions, nor have I observed it myself. Provided that travis is using llvm 9, while I'm using 12, what does it mean? It's likely to mean that it was recognized as a bug in the compiler warning subsystem, which was fixed somewhere in between. You can ask how do we know that it wasn't simply removed from -Wall or -Wextra sets. Well, if I try to trigger it with explicit -Wmissing-braces, it's not there. Just in case for reference, C standard text explicitly describes this scenario as legitimate/permitted, there is no ambiguity to fall victim for. So what do we do? I for one generally advocate for not caving to compiler bugs. This is not an absolute black-or-white position, but it's definitely more "against" toward fixed bugs. In other words I would suggest to accept the harsh reality and adapt your build procedures to suppress the warning. Or upgrade to newer compiler version;-)

Cool, thanks for detailed investigation and explanations 👍
Already adapted our build :)

BTW may be worth adding a build troubleshooting section to note such cases there

Just a note. The following option solves the issue (existing options + -Werror -Wno-missing-braces, didn't find a way to append an option)
./build.sh CFLAGS=-O -fno-builtin-memcpy -fPIC -Wall -Wextra -Werror -Wno-missing-braces

What do you mean? ./build.sh -Wno-missing-braces should work, and it does for me... Well, there might be ambiguity. If you have CFLAGS environment variable set, and find it appropriate to override it when building specifically blst, then something similar to what you suggest would be a way to go. But it's not the only way. If I wanted to suppress project-specific CFLAGS and let ./build.sh decide, I'd simply start it as env CFLAGS= ./build.sh -What-ever instead.
Just in case, "you have CFLAGS environment variable set" is more likely to mean that it's set by some component of your build system during the build, and not like when you login.

BTW may be worth adding a build troubleshooting section to note such cases there

Just in case, it's not bad idea per se, but making an arrangement to document just one quirk feels like an overdo. In other words, the current plan is to wait and see...


HDFS-16061. DFTestUtil.waitReplication can produce false positives

HDFS-16061 DFTestUtil.waitReplication can produce false positives
While checking the intermittent failure in TestBalancerRPCDelay#testBalancerRPCDelayQpsDefault described in HDFS-15146, I found that the implementation of waitReplication is incorrect.
In the last iteration, when correctReplFactor is false, the thread sleeps for 1 second, then a TimeoutException is thrown without check whether the replication was complete in the last second.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 36s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
34m  3s

trunk passed

+1 :green_heart:
compile
1m 44s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 31s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m 19s

trunk passed

+1 :green_heart:
mvnsite
1m 52s

trunk passed

+1 :green_heart:
javadoc
1m 10s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 45s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
4m 15s

trunk passed

+1 :green_heart:
shadedclient
22m 17s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 32s

the patch passed

+1 :green_heart:
compile
1m 39s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
1m 39s

the patch passed

+1 :green_heart:
compile
1m 27s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
1m 27s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m  8s

hadoop-hdfs-project/hadoop-hdfs: The patch generated 0 new + 86 unchanged - 2 fixed = 86 total (was 88)

+1 :green_heart:
mvnsite
1m 38s

the patch passed

+1 :green_heart:
javadoc
1m  2s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 47s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
4m 30s

the patch passed

+1 :green_heart:
shadedclient
22m 33s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1 :x:
unit
251m 16s
/patch-unit-hadoop-hdfs-project_hadoop-hdfs.txt
hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 48s

The patch does not generate ASF License warnings.

356m  0s

Reason
Tests

Failed junit tests
hadoop.hdfs.TestDecommissionWithStripedBackoffMonitor

hadoop.hdfs.TestDFSStripedInputStream

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3095/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3095

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux fa237f688cc1 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 4040ad64a4537d47e3633d23daaaefe7e9d7192a

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3095/2/testReport/

Max. process+thread count
3503 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3095/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 32s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
30m 44s

trunk passed

+1 :green_heart:
compile
1m 21s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
compile
1m 17s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
checkstyle
1m  2s

trunk passed

+1 :green_heart:
mvnsite
1m 24s

trunk passed

+1 :green_heart:
javadoc
0m 57s

trunk passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 33s

trunk passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m  8s

trunk passed

+1 :green_heart:
shadedclient
16m 32s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m 12s

the patch passed

+1 :green_heart:
compile
1m 16s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javac
1m 16s

the patch passed

+1 :green_heart:
compile
1m  8s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
javac
1m  8s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 52s

hadoop-hdfs-project/hadoop-hdfs: The patch generated 0 new + 86 unchanged - 2 fixed = 86 total (was 88)

+1 :green_heart:
mvnsite
1m 15s

the patch passed

+1 :green_heart:
javadoc
0m 46s

the patch passed with JDK Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04

+1 :green_heart:
javadoc
1m 21s

the patch passed with JDK Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

+1 :green_heart:
spotbugs
3m  8s

the patch passed

+1 :green_heart:
shadedclient
15m 56s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
231m 54s

hadoop-hdfs in the patch passed.

+1 :green_heart:
asflicense
0m 46s

The patch does not generate ASF License warnings.

316m  3s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3095/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/3095

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell

uname
Linux 2af392ba53ef 4.15.0-136-generic #140-Ubuntu SMP Thu Jan 28 05:20:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 39d3bea994018974179962f46987267edf6e57d9

Default Java
Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.11+9-Ubuntu-0ubuntu2.20.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_292-8u292-b10-0ubuntu1~20.04-b10

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3095/3/testReport/

Max. process+thread count
2949 (vs. ulimit of 5500)

modules
C: hadoop-hdfs-project/hadoop-hdfs U: hadoop-hdfs-project/hadoop-hdfs

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-3095/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0-SNAPSHOT https://yetus.apache.org

This message was automatically generated.

Thanx @amahussein for the contribution and @jbrennan333 for the review.
Sorry, wanted to pull this to lower branches as well, got stuck with some internal stuff, couldn't find time to compile and push.


Compile pdf through actions and deploy

1st try

unreliable action and need for better approach already in #6


bug: Can't auto dial another browser witch only announced /p2p-circuit/webrtc

Version:

0.46.16

Platform:

Chrome 119.0.6045.123

Subsystem:

@libp2p/webrtc 3.2.5
Severity:

Medium
Description:

I am attempting to develop a browser-based application and have configured the addresses.announceFilter to exclusively use WebRTC. While testing on my local circuit-relay server after initiating libp2p, I encountered an issue where the application failed to automatically establish connections with other browser nodes. This problem persists unless I remove addresses.announceFilter. Without this configuration, although auto-dialing occurs, the traffic is routed solely through the relay.
After thorough investigation, I discovered that WebRTCTransport.filter utilizes the WebRTC.exactMatch filter from @multiformats/multiaddr-matcher. This filter rejects connections with the pattern /dns4/<IP_ADDRESS>/tcp/8000/ws/p2p/12DMyRelay/p2p-circuit/webrtc. The solution to this problem involves switching to WebRTC.matches from @multiformats/mafmt, which resolves the issue and allows the application to function normally.
https://github.com/libp2p/js-libp2p/blob/17d980c902fa5314e954508255a41c0854416d47/packages/transport-webrtc/src/private-to-private/transport.ts#L109-L111
Steps to reproduce the error:

import {createLibp2p} from "libp2p";
import {webSockets} from "@libp2p/websockets";
import {webRTC} from "@libp2p/webrtc";
import {circuitRelayTransport} from "libp2p/circuit-relay";
import {noise} from "@chainsafe/libp2p-noise";
import {mplex} from "@libp2p/mplex";
import {yamux} from "@chainsafe/libp2p-yamux";
import {identifyService} from "libp2p/identify";
import {pingService} from "libp2p/ping";
import {kadDHT} from "@libp2p/kad-dht";
import {bootstrap} from "@libp2p/dnsaddr-bootstrap";
createLibp2p({
  addresses: {
    announceFilter: (addrs: Multiaddr[]) => {
      // only webrtc
      return addrs.filter((addr) => addr.protoNames().includes('webrtc'))
    },
    listen: [
      `/webrtc`,
    ]
  },
  transports: [
    webSockets(),
    webRTC(),
    circuitRelayTransport({
      discoverRelays: 10
    })
  ],
  connectionGater: {
  },
  connectionEncryption: [noise()],
  streamMuxers: [mplex(), yamux()],
  peerDiscovery: [
    bootstrap({
      list: [
        '/dns4/<IP_ADDRESS>/tcp/8000/ws/p2p/12D3KooWEEkMYYgRta9NGqvUS6xd94ufwqzmJLp8LhmThQq6m86C',
      ]
    })
  ],
  services: {
    identify: identifyService(),
    ping: pingService(),
    dht: kadDHT(),
  },
})

Thanks for opening this, but your setup works for me locally so I'm having trouble replicating the problem.
I see you're using 0.46.16 - have you tried with the latest versions of all modules?  0.46.21 is out and the patch versions have some fixes around dialling WebRTC addresses, this may help.

After upgrading libp2p to version 0.46.21 and updating some dependencies, the issue has been resolved. Thank you! 🥳


Ability to add slug generation to this plugin?

Plug looks nice...would it be possible to add a 'slug' field to the tree that slugifies the 'value'?
Or is there another way to do that kind of thing so as to get the proper slugs created, with any repeated values in the tree receiving incremented numbers?

Hi, you can use remark-slug with this lib.
remark-slug generate id and store it in data field internally. So you can add them to the output of remark-extract-toc with keys option,  as described here.
https://github.com/inokawa/remark-extract-toc#options

Hi, I use this lib successfully together with remark-slug. The maintainer does not recommend using remark-slug.

This package is no longer recommended for use. It’s still covered by semantic-versioning guarantees and not yet deprecated, but use of this package should be avoided.

Any suggestions?
Thanks!


SLF4J 2

Is your feature request related to a problem? Please describe.
New version of SLF4J uses service providers instead of static binders, see What has changed in SLF4J version 2.0.0?
Describe the solution you'd like
You should add a service provider.
For back compatibility you can save static binders.

Acknowledged.

Fixed with PR #6.

Hey Witalij, I made a SNAPSHOT release.  Could you please verify?
https://s01.oss.sonatype.org/content/repositories/snapshots/com/ocarlsen/test/mock-slf4j-impl/2.0.0-SNAPSHOT/

PS. You will need to add following to your settings.xml to find SNAPSHOT
  <profiles>
    <profile>
       <id>allow-snapshots</id>
       <activation>
         <activeByDefault>true</activeByDefault>
       </activation>
       <repositories>
         <repository>
           <id>snapshots-repo</id>
           <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
           <releases><enabled>false</enabled></releases>
           <snapshots><enabled>true</enabled></snapshots>
         </repository>
       </repositories>
     </profile>
  </profiles>

Sorry, I've missed a notification. Yeah, I will do.

@ocarlsen I have tested it locally with my hobby project. All works as expected: the factory and logger are created, I can check invocations.

Excellent!  Thanks @radio-rogal .  I will go ahead and make it official this week sometime.  Then it will be in Maven Central and you can remove that profile from your POM.


Publish guide on best practices for app mining

Draft is done, waiting on some review from @pstan26 . Also would like some feedback from TryMyUI. Looking to publish a first version Wednesday 2019/2/13, even if just with a few teams.

I believe this would be super helpful.
I was somewhat frustrated watching these trymyui videos because up to what point are we supposed to hand hold them via our application and

Explain what Blockstack is
What is a Dapp
How do i sign up to blockstack, etc

Especially with certain dapps catered towards blockstack users only how in-depth do we really need to go to?
Maybe it's just me but it's starting to feel like we're expected to focus less on the building process and more in the education of what blockstack is.  I think thats why the centralized apps that are built on top of blockstack are "winning".  For better or worse they built out the infrastructure explaining what their app does but rarely mentioned the concept of blockstack.  If anything it sounds like the user's are more confused if we mentioned that word.
Example
Landing page text
Debut is a decentralized social networking app powered by Blockstack to help introduce yourself to the Blockstack community
or
Debut is a decentralized social networking app to help introduce yourself to the Blockstack community
Responses in trymyui

Is this app a debut app or blockstack app?
What is blockstack?
I can't tell if I'm using blockstack or debut
How do I sign up? (shouldn't the users already have an id at this point?)

The more I hear about this confusion the more I'm tempted to find some plugin like the pied piper pipey.

@hstove and @cuevasm will get this on app.co

@cuevasm has published V1 of this, we will email app miners as well and request feedback. Closing issue.


fix: upgrade to version 3.0.669

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign ccojocar
You can assign the PR to them by writing /assign @ccojocar in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@jenkins-x-bot-test: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

gsm
497a4ddf73af2a9f24f04722ce6df4aa281464f5
link
/test gsm

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the jenkins-x/lighthouse repository. I understand the commands that are listed here.


Reading standard and extended packages at the same time

Hello. How to read standard and extended packages at the same time?

Don't know about any limitations. Did you tried and got error?

You could disable filtering by setting RXBnCTRL_RXM_STDEXT to 0x11

I think this is fixed by https://github.com/autowp/arduino-mcp2515/pull/35


Fix NPE when nested query doesn't have gapfill

Nested query without gap-fill is not supported. Throw bad request exception instead of NPE

Codecov Report

Merging #11155 (ea3da75) into master (4dd2bb5) will increase coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           master   #11155     +/-   ##
=========================================
  Coverage    0.11%    0.11%
=========================================
  Files        2208     2153     -55
  Lines      118484   115960   -2524
  Branches    17923    17617    -306
=========================================
  Hits          137      137
+ Misses     118327   115803   -2524
  Partials       20       20

Flag
Coverage Δ

integration1temurin11
?

integration1temurin17
?

integration1temurin20
?

integration2temurin11
?

integration2temurin17
?

unittests1temurin11
?

unittests1temurin17
?

unittests1temurin20
?

unittests2temurin11
?

unittests2temurin17
?

unittests2temurin20
0.11% <0.00%> (-0.01%)
:arrow_down:

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

Impacted Files
Coverage Δ

...e/pinot/core/query/reduce/BrokerReduceService.java
0.00% <0.00%> (ø)

... and 57 files with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


HDDS-2184. Rename ozone scmcli to ozone admin

What changes were proposed in this pull request?
Originally ozone scmcli designed to be used only by the developers. A very cryptic name is chosen intentionally to frighten away the beginner users.
As we realized recently we started to use ozone scmcli as a generic admin tool. More and more tools has been added which are useful not only for the developers but for the administrators.
Therefore I suggest to rename ozone scmcli to something more meaningful.
For example to ozone admin
This idea has already been discussed during a community meeting but was not implemented.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-2184
How was this patch tested?
Manually with a docker-compose based cluster and with acceptance tests.

Base branch is changed. Please merge it manually instead of using github UI button.

@dineshchitlangia Are you happy with the changes? Can I merge it? Your "change requested" flag is till on....


Add additional scopes to the Spotify OAuth request

Why
In order to facilitate follow on spotify interaction as described in slack here
How

Add additional scope strings from the documentation
Put them in an array and join them because eslint complained the line was too long :cry:

Test Plan
Test locally and in staging

Put them in an array and join them because eslint complained the line was too long 😢
You can just disable ESLint for that particular line.

But LGTM

You can just disable ESLint for that particular line.
this always makes me feel so dirty though hahaha


Do not suggest deferred types in Collect(| Intellisense

-While Suggesting Collect(| do not suggest deferred type, since we only want to suggest Table Types and even though Deferred Type is coercable to Table Types, it has no real meaning in this case.
-This also helps with not suggesting row scope symbols since they are also deferred types.

✅ No public API change.


ONS has instances for BFO terms as well as classes

This is causing an issue as I import ONS terms from the root entity branch via OntoFox, which is including the instance.  Could this be fixed soon?  BFO terms shouldn't have instances.  I know how this can arise accidentally when opening say an ons-edit.owl file but the BFO import file is missing, and pressing save - Protege creates instances by default in certain circumstances as I recall.

Problem seems to be in the import file. Looking for what raised the problem as I can't seem to really find individuals declaration for BFO tems

This will be resolved in next ONS release, shortly!


add env PROTOCOL

hello @Vq12da,
could you please describe a bit more what is the purpose of this PR?
Commit messages do not explain it as well

It seems to me like they want to try be able to pass along settings with environment variables for which port/protocol to open VPN services on. But the way it's implemented doesn't actually change any of the settings in Access Server to actually change port/protocol.
For people reading this thread/PR, if you want Access Server to serve VPN services on another port and protocol, then just change this in how you launch docker, and change this in the Access Server settings. This can even be automated, it's not that hard.

@novaflash , wouldn't it work like this: we limit the port usage by protocol, since initially OpenVPN doesn't have a priority protocol, it uses the available one?

No it won't work like that. What you've done is provide an environment control to tell Docker which port to allow to pass through - but the OpenVPN Access Server will still just listen to whatever ports it is configured to listen on. If you were to set PROTOCOL to TCP for example, you end up with the UDP 1194 port just becoming unreachable. Also, Access Server already by default listens for OpenVPN connections on UDP 1194 and TCP 443, so if you goal was to get OpenVPN working over TCP, that's already the case by default.

also @Vq12da, if you like to change port/protocol in the container or do not publish it at all, the best way to change this is with -p (publish) option but not by the EXPOSE in Dockerfile.
publish option does mapping when you run the container and you may choose any port/protocol you like no matter is exposed in Dockerfile. But first, Access Server should be configured to use it.
Having EXPOSE <port> configurable in Dockerfile does not provide any benefit because it works only inside the docker network and you have to rebuild the container every time you change the port.

I think we covered how to interact with ports/protocols
so this PR is not valid any more


Add border to images to distinguish between background and images

Before

After

Bonus content (light mode)

PS: @flynnduism is a CSS wizard!

On what images does this appear?  (Like we wouldn't want it around the Fermyon logo for example.)

Good catch - I will scope it down to be safer. It did not break the Fermyon logo but broke the project cards. I have scoped it down now to only have borders on images inside the body of doc pages.

This looks good.
Nice work.
One thing though, remember yesterday how the text colour on the Spin, Cloud and Bartholomew project boxes was all of a sudden incorrect? Same thing is happening again.

That is because i did not create this branch from main. it should be fine once we merge to main.

I can rebase if that would be preferred to be sure.

I guess we better check, so re base would be ideal if possible (so I can preview locally)

@tpmccallum rebased!

Thanks, checking now.


Add linux support

Fixes issue #2.
I don't have an AM receiver so I can't check if it actually works. But platform-specific parts of the code are now guarded with #ifdefs.

This looks good, thank you! Can anyone using Linux confirm it works?
Also, I notice the sleep timer uses a relative time. It would be preferable if it is possible to use an absolute time. The clock_sleep_trap() and more importantly clock_sleep_internal() show how Mac does it.
On Linux, the call clock_nanosleep() may also allow specifying absolute time. It is documented at http://man7.org/linux/man-pages/man2/clock_nanosleep.2.html

absolute time is not monotonic. As in, ntp might adjust the time backwards one year and your absolute time will happen only after one year.
Will re-do, but that's horrible decision to use absolute wallclock time for a program that doesn't need one.

Good point. My intention is to avoid any clock drift that results from calling nanosleep itself.
For example:
for (int i=0; i<100000; i++) {
    nanosleep(50);
}

would sleep more than 50 * 100000 because of the i++ and the i<100000.
This might matter when the signal frequency in increased.
Do you have any advice for this?

Also good point. I have no off the top solution for this, but there must be a way for this. I guess reading how timing in software oscillators works should be a good starting point.

I can confirm this works on Linux.
I only have access to the lousiest AM receiver, so it only works a few cm from the radio, and there's a lot of noise.
I'll try and upload a video soon.

https://www.youtube.com/watch?v=Nroc2BtO6NU
I merged the other PR, and it also plays the SMB Theme.

@somini thank you, just added your result to https://github.com/fulldecent/system-bus-radio/blob/master/HARDWARE-INFO.md

I can also confirm that this works on Linux.  I used a Lenovo ThinkPad T440s and a clock radio tuned to 1630 kHz.  I got quite clear sound at up to 12 inches.

Re-based. No changes yet to address issues raised here.

Changed to use relative time only.

Interestingly, it builds, but it does not seem to work in a VM. The code launches but there's no delay at all.

@gabtremblay I would be pretty surprised if it worked in a VM

You may want to check the c++11 port, which works properly. Maybe it's a time source related problem.
Will test the emmition behavior tomorrow with my fcube

Thank you, merged!


problems with math output

Bug Summary:
math output not rendering correctly
Steps to Reproduce:
ask gpt4, for example:
repeat after me: The transformation matrix for a rotation by an angle \(\theta\) counterclockwise is given by:

\[
\begin{pmatrix}
\cos(\theta) & -\sin(\theta) \\
\sin(\theta) & \cos(\theta)
\end{pmatrix}
\]

(this is also part of the response if you just ask for the transformation matrix)
Expected Behavior:
The math should display correctly, i.e.  the greek letter theta and a two by two matrix.
Actual Behavior:
When displayed, the backslashes on the math delimiters \[ \] and \( \) just disappear, and then the latex does not render. By editing the response I have also noticed the following behaviour:

double dollar signs work as inline math delimiters but single ones do not unless they are given whitespace, which for the single ones I think is not typical usage
- \[ and \] work as inline delimiters only if given whitespace.
- \\[ ... \\] and \\( ... \\) work as inline delimiters (without whitespace) but are not typical outputs from gpt?
none of the delimiters work over multiple lines, like the code for the matrix above, I think this is because in here all the delimiters are set with display: false. It would be good to have at least one way of rendering displayed equations.
even when the above code for the matrix is changed to be inline with working delimiters, it will display a row vector instead of a 2 by 2 matrix because the double backslash somehow gets ignored (unless I change it to a triple backlash).

Environment

Open WebUI Version: not sure, whichever one installs when you follow the docker installation for OpenAI API usage only from here
Operating System: [macOS Sonoma]
Browser (if applicable): [Safari]

It's a problem with multiline latex, I don't why but as a temporary solution I ask in the system prompts to only make single line latex, but the matrices and such wont work


Bicep deployment validation shows up only the first module to be created

Bicep version
Bicep CLI version 0.4.63 (7ebed03284)
Describe the bug
Hi all,
I'm facing the problem that I want to deploy my main.bicep file, which contains a couple of bicep modules. So far, it works, but I recognized, that after the validation part which is done by "New-AzResourceGroupDeployment" only the first module is shown to be created. The strange thing about this is that Bicep/ARM knows and shows all other modules when I run with -verbose parameter, but just the first module shows up to be created.
Part of my main.bicep where I call the modules from:
// ++++++++++++++++++++++++++++++++++++++++++
module nsg '../../Modules/network-security-group.bicep' = {
  name: 'Deploy-Hub-NSG'
  params: {
    nsg_name: nsg_name
  }
}

// ++++++++++++++++++++++++++++++++++++++++++
//
// Deploy Hub Virtual Network
//
// ++++++++++++++++++++++++++++++++++++++++++
module vnet '../../Modules/virtual-network.bicep' = {
  name: 'Deploy-Hub-VNET'
  params: {
    vnet_name: vnet_name
    vnet_address_prefix: vnet_address_prefix
    nsg_name: nsg.outputs.o_nsg_name
    subnet_definitions: subnet_definitions
  }
}

// ++++++++++++++++++++++++++++++++++++++++++
//
// AZURE BASTION HOST SETUP
//
// ++++++++++++++++++++++++++++++++++++++++++
module bastion '../../Modules/bastion-host.bicep' = {
  name: 'Deploy-Hub-Bastion'
  params: {
    bastion_name: bastion_name
    bastion_pip_name: bastion_pip_name
    vnet_name: vnet.outputs.o_vnet_name
  }
}

My Bicep -> JSON output with -verbose parameter. Note that all deployments (modules) are in plus the first module additionally as a resource. The curious thing is that when I remove the nsg module so that the vnet module is the "first" one, the vnet module is shown twice - as a deployment and as a resource, but no more resources.
"validatedResources": [
      {
        "id": "/subscriptions/xxx/resourceGroups/rg-xxx/providers/Microsoft.Resources/deployments/Deploy-Hub-NSG"
      },
      {
        "id": "/subscriptions/xxx/resourceGroups/rg-xxx/providers/Microsoft.Resources/deployments/Deploy-Hub-VNET"
      },
      {
        "id": "/subscriptions/xxx/resourceGroups/rg-xxx/providers/Microsoft.Resources/deployments/Deploy-Hub-Bastion"
      },
      {
        "id": "/subscriptions/xxx/resourceGroups/rg-xxx/providers/Microsoft.Resources/deployments/Deploy-PrivateDNS-VNET-Links"
      },
      {
        "id": "/subscriptions/xxx/resourceGroups/rg-xxx/providers/Microsoft.Resources/deployments/Deploy-Hub-VPN"
      },
      {
        "id": "/subscriptions/xxx/resourceGroups/rg-xxx/providers/Microsoft.Network/networkSecurityGroups/nsg-xxx"
      }
    ]

My bicep validation output before I'm asked to deploy:
Resource and property changes are indicated with this symbol:
  + Create

The deployment will update the following scope:

Scope: /subscriptions/xxx/resourceGroups/rg-xxx

  + Microsoft.Network/networkSecurityGroups/nsg-xxx[2020-06-01]

      apiVersion: "2020-06-01"
      id:         "/subscriptions/xxx/resourceGroups/rg-xxx/providers/Microsoft.Network/networkSecurityGroups/nsg-xxx"
      location:   "southafricanorth"
      name:       "nsg-xxx"
      type:       "Microsoft.Network/networkSecurityGroups"

Resource changes: 1 to create.

Can anyone help me to figure out what's wrong here? The only change I made is that I'm pretty sure that this has been working in version v0.3.539.
Thank you very much,
Daniel

Can you check if what you are seeing is an instance of this issue? https://github.com/Azure/arm-template-whatif/issues/157
Are you referencing any resource properties (runtime-only values) as the value for one of the params of a module? This can cause issues in our preflight validation/what-if process.

Hi @alex-frankel,
we can close this one, since it's the same issue. Thank you!


Admin Generator (Future): Mergehaufen

contains:

#2516 (not merged, but single commit)
#2508
#2506
#2498
#2481
#2465
#2449
#2446
#2422
#2420
#2404
#2385
#2378
#2372
#2362
#2352
#1913

missing: 8e01c0af6ae0a7fbe1630ce3a327a4227b29f0a3

todo check

#2363
#1919
#2407

missing

#2264
#2430
#2494

Do we need a PR for this? I suppose this will never be merged

Do we need a PR for this? I suppose this will never be merged

you're right. but this serves multiple purposes: notes for andrea and me what's in mergehaufen, keep track of the pull-requests state and as reference what's the current mergehaufen-branch. it's also easier to find how merge-conflicts were solved, but this could probably also be done with some other github-feature to compare branches...


Update 05-looping-in-python.md

Fix typo

Thank you for your contribution, this was fixed in an earlier PR


fix(ui): ensure nodes manager events are not binded twice

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 22.387%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
3896

Relevant Lines:
18485

💛  - Coveralls


unbound 1.13.0 crash

the crash and related  is seen here: https://lkml.org/lkml/2021/2/20/108
Few more info for the package here at a stable Gentoo hhrdened server:
#  emerge -qpvO unbound
[ebuild   R   ] net-dns/unbound-1.13.0  USE="dnscrypt ecdsa http2 threads -debug -dnstap -ecs -gost (-libressl) -python -redis (-selinux) -static-libs -systemd -test" PYTHON_SINGLE_TARGET="python3_8 -python3_7 -python3_9"

There is not a lot of information about the crash at the link but the current master branch includes a couple of fixes that could lead to random crashes; especially when reloading Unbound.

No extra information on this and in the meantime a random crash issue was fixed (#612); closing.


(nuxt 3) How to make a website available offline ?

Hello there,
Thanks for your work ! I'm a noob about PWA things and am trying to setup my first one.
I can't make it work so I come here to ask my question, sorry if it's not the right place.
I installed the nuxt version of the plugin, I did a naive installation with the basics in the config.
My stack is nuxt + nuxt content, and I would like the website to be available offline, it's basically some text from markdown files processed by nuxt content, generated and deployed to netlify.
So, I go to the deploy URL given by netlify, I wait for the $pwa.offlineReady value is true, and then I install the PWA, shut the wifi down, and try to browse my website.
My problem is I get a 404 everytime I try to go to another page, by clicking on a link or by changing the URL. If I come back online, browse few pages, and then shutdown the wifi again, I am able to browse those pages, but not the other one.
Could you explain to me how I'm supposed to change the config, or the things I missed in my very basic setup ?
Is there something to do on the netlify side, like an option I should uncheck or whatever ?
Thanks for you help !
pwa: {
    registerType: 'autoUpdate',
    manifest: {
      name: 'My website,
      short_name: 'website',
      theme_color: '#ffffff',
      icons: [
        {
            "src": "/android-chrome-192x192.png",
            "sizes": "192x192",
            "type": "image/png"
        },
        {
            "src": "/android-chrome-512x512.png",
            "sizes": "512x512",
            "type": "image/png"
        },
        {
          src: 'pwa-512x512.png',
          sizes: '512x512',
          type: 'image/png',
          purpose: 'any maskable',
        },
      ],
    },
    workbox: {
      navigateFallback: '/',
      globPatterns: ['**/*.{js,css,html,png,svg,ico}'],
    },
    client: {
      installPrompt: true,
      // you don't need to include this: only for testing purposes
      // if enabling periodic sync for update use 1 hour or so (periodicSyncForUpdates: 3600)
      periodicSyncForUpdates: 20,
    },
    devOptions: {
      enabled: true,
      suppressWarnings: true,
      navigateFallbackAllowlist: [/^\/$/],
      type: 'module',
    },
  },

The console give me these errors when I try to browse a new page I never visited.

what's the nuxt command you're using to build the app?
If the content is dynamic, you should exclude /api/* calls from the sw (navigateFallbackDenylist) and add a custom runtime caching to store /api/* calls in another cache (something like this https://github.com/vite-pwa/docs/blob/main/.vitepress/scripts/pwa.ts#L107 but for your local api calls): it will work in offline once visited and will not be cached on first visit.

Since you're using Netlify, add registerWebManifestInRouteRules: true to pwa configuration

Another solution that may work is using navigateFallback: undefined  and let nuxt error do its work: https://github.com/vite-pwa/nuxt/issues/53

Thanks @userquin for your answers ! I use npm run generate to build the website.
I will try all your answers !
What confuses me is these API calls are just here to display the static pages, generated from md files... there's nothing dynamic fetched from the outside

I'm asking if you're using nuxi geneerate or nuxi build...
do you have api folder in the output folder?

Yep, nuxi generate is the command I use.
I have an api folder, and the registerWebManifestInRouteRules: true + navigateFallback: undefined don' make it better.
Still the same issue, the app trying to fetch from the api, and getting an error because internet is disconnected. Maybe the api folder is not cached ?

Where is rhe api folder? I mean, where is the api folder generated?

Check src/config.ts in nuxt repo in the pwa org., if it is outside the public folder api will not be included

The problem, the root web is public, if api is not inside the public folder then sw will not work and workbox-build cannot find that folder

Can you just try to add the api inside the public folser?

I have no access to gh from my desktop now, I Will check it later.
Can you send an screenshot with the dist folder structure?

Uhmmm, wait. Do you have the cms api generation as another process?
It seems the api generation is running after vite pwa plugin sw generation.

Check src/module.ts L183

There is no public folder in the result of the nuxi generate command.
The api folder we're talking about just contains the payload generated by nuxi generate to hydrate the HTML pages during the access. I did not create any API by myself, I just used nuxt content, which parses the MD files and create these queries.

Nuxt Content generates the API before PWA module is mentioned in the build process.

Add json to globPatterns. And check file extensions inside nativigation and query folders

if sw.js contains the files that will be precached for the PWA to work offline, there is no api subfolder in it.

Add another entry to globPatterns: api/** or api/*

I'm very busy at work, I Will try to check cms docs to figure out how we can integrate it properly.

Add another entry to globPatterns: api/** or api/*
Add json to globPatterns. And check file extensions inside nativigation and query folders

It's a very good idea, and the global size of the cache is higher than before, so it's better.
Still have the 404 though. Building with the entries in globPatterns changed nothing.
Same error. Since I don't understand PWA good enough, I don't know where to change things, sorry.

globPatterns will be used by workbox-build to find the files matching the expression, and so in your case, globPatterns: ['**/*.{js,css,html,png,svg,ico}'], will not match json files: if the files included inside the api folder are only json files, you can just add json to it: globPatterns: ['**/*.{js,css,html,png,svg,ico,json}'],

Nice catch. Now I can't understand why it's not able to query from the JSON it cached, returning the error from the very first screenshot. The JSON is now in the cache, it should be available for queries.
I hope my config file is ok.
I will paste it when I come back from work.

can you share the url for server preview?

Sure : cranky-wiles-0683f7.netlify.app
There's a green dot that appears in the header when app is offlineReady.

try adding ignoreURLParametersMatching: [/^\/api\//], inside workbox  entry

you can find an explanation here: https://developer.chrome.com/docs/workbox/reference/workbox-build/ search ignoreURLParametersMatching, there is no anchor for the option

it's built and served, and the problem is still the same :(

can you try add the initial slash [/^\/api\//]?

I think I'm going to take my loss and move forward. Maybe it's not possible, maybe it is, but the qol improvements is not worth the time I already spent on this.
I initially tried with the initial slash, and tried to remove it, just in case. I will put it back in few secs.

Hey @mathieunicolas! Have you given up on this project?
I have made three or four nuxt3-apps, where pwa is working offline, but only after visiting the pages once in online mode.
My lates two project has almost the same theme as the first two, but in this project I hade to change the settings in nuxt.config before it was working.
Look on github/lovkyndig/create-google-app to see my latest project.
Check the nuxt.config there, not only pwa-settings, check also payloadExtraction = false.
See also the solution on issue 76.


Change the path of scene_library.cfg to the addon folder

Closes: https://github.com/4d49/scene-library/issues/15

Thank you!


Difference between android and iOS inference result

Please make sure that this is a bug. As per our
GitHub Policy,
we only address code/doc bugs, performance issues, feature requests and
build/installation issues on GitHub. tag:bug_template
System information

Have I written custom code (as opposed to using a stock example script provided in TensorFlow): Yes, no example code found
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): MacOs 11.2
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: iPhone 6 & iPhone8
TensorFlow installed from (source or binary): source
TensorFlow version (use command below): TensorflowLite Objective C

Context
I'm currently working on an object detection on mobile project.
I have good result with tensorflowlite on android but we are facing a problem on ios.
I am using the objective-c version of tensorflow lite because I get the images from react-natice-camera which is also coded in objective-c.
Expected behavior
I expect to have same inference result on iOS and android detection (classname, confidence and bbox location) but the results are very different on iOS.
In fact 50% of the detections are the same but the other 50% are different. The locations of the bbox reaches very high values (> 1.56^31 e.g.) while the value must be between 0 and 1.
Some example of result:

Android bbox (x1,y1,x2,y2)
iOS bbox (x1,y1,x2,y2)
Notes

0.291 - 0.328 - 0.325 - 0.445
0.29 - 0.331 - 0.3257- 0.445
same

0.295 - 0.509 - 0.327 - 0.600
0.292 - 0.511 - 0.327- 0.600
same

0.295 - 0.493 - 0.550 - 0.582
0.0- 0.0 - 0.0- 0.0
different, but almost same classe & confidence

0.311 - 0.423 - 0.511 - 0.542
0.0- 5.56e^10 - 0.0- 0.0
overflow ?, but almost same classe & confidence

Some part of the objective C code
Same images are used in android and objective c
Images are in rgb converted in grayscaled
Images are ing RGBA format
I don't use quantisized model so pixel are stored in float32 array
Pre processing the image
    float* array = malloc((320*320*3) * sizeof(float));
    int count = 0;
    for (int i = 0 ; i < height*width ; ++i)
    {

        int r   = ((int) rawData[byteIndex] );
        int g = ((int) rawData[byteIndex + 1] );
        int b  = ((int) rawData[byteIndex + 2] );

        byteIndex += 4; //passing to next rgba tuple

        float gray = r * 0.3f + g *0.59f + b*0.11f;
        gray = (gray - 127.5)/127.5;

        array[count++]=gray;
        array[count++]=gray;
        array[count++]=gray;
    }

This code is ok, I've done a lot of test with custom image.
I've already check this issue but nothing change
Get inference result
I use a SSDMobileNetV2 with mnasFPN network so I have 4 tensors output (classe, confidence, bbox locations, nb detections)
I retrieve the inference data with this code:
    //Getting input tensor
    TFLTensor *inputTensor = [interpreter inputTensorAtIndex:0 error:&error];

    //Copying input data into input tensor
    [inputTensor copyData:dataIm error:&error];

    //Executing model
    [interpreter invokeWithError:&error];

    //Getting the 4 output tensors
    TFLTensor *outputLocations = [interpreter outputTensorAtIndex:0 error:&error];
    TFLTensor *outputClasses = [interpreter outputTensorAtIndex:1 error:&error];
    TFLTensor *outputScore = [interpreter outputTensorAtIndex:2 error:&error];
    TFLTensor *outputNumDetections = [interpreter outputTensorAtIndex:3 error:&error];

    //Converting to NSData
    NSData* dataOutputLocations = [outputLocations dataWithError:&error];
    NSData* dataOutputClasses = [outputClasses dataWithError:&error];
    NSData* dataOutputScore = [outputScore dataWithError:&error];
    NSData* dataOutputNumDetections = [outputNumDetections dataWithError:&error];

    //Converting NSData to float array

    float numDetections;
    [dataOutputNumDetections getBytes:&numDetections length:(sizeof(float))];

    float outputLocArray[(int)numDetections * 4];
    float outputClassArray[(int)numDetections];
    float outputScoreArray[(int)numDetections];

    [dataOutputLocations getBytes:&outputLocArray length:(sizeof(float))*numDetections];
    [dataOutputClasses getBytes:&outputClassArray length:(sizeof(float))*numDetections];
    [dataOutputScore getBytes:&outputScoreArray length:(sizeof(float))*numDetections];

    //store final result into Dictionnary
    NSMutableArray* results = [NSMutableArray array];
    for(int i = 0; i < (int) numDetections; i++)
    {

        int detected_class = (int) outputClassArray[i];
        float score = outputScoreArray[i];
        float ymin = fmax(0,outputLocArray[i*4]);
        float xmin = fmax(0,outputLocArray[i*4+1]);
        float ymax = outputLocArray[i*4+2];
        float xmax = outputLocArray[i*4+3];

        if(score > 0.0f)
        {
            NSMutableDictionary* res = [NSMutableDictionary dictionary];
            NSString* classname = [@(detected_class) stringValue];

            [res setObject:classname forKey:@"classname"];
            [res setObject:@(score) forKey:@"confidence"];
            [res setObject:@(xmin) forKey:@"xmin"];
            [res setObject:@(xmax) forKey:@"xmax"];
            [res setObject:@(ymin) forKey:@"ymin"];
            [res setObject:@(ymax) forKey:@"ymax"];

            [results addObject:res];
        }
    }

By doing this I have the strange result above, with float value which seems to overflow.
I couldn't find an example code in objective-c so I'm not sure what is wrong.
Maybe a conversion error?

@yyoon could you take a look?

@Fedour,
When converting your trained model into tflite format, did you use quantization, or just the float model? If you were using a float model, https://github.com/tensorflow/tensorflow/issues/40442 might have been the cause. If you were using a quantized model, we may need to investigate further to find the root cause.
Another possibility is that this is caused by the difference in the way image is pre-processed before fed into the model. IIUC, the image is cropped and then resized in the Android app, whereas the iOS app does not properly crop the image.
Also please take a look at this comment from the contributor for the reference. Thank you!


Freeze for a while when open a ts file and Completion is slow too.

I use the same config with two device. But one device will meet the problem i said , the other is fine.
All of them system is arch.
Has anyone had the same problem? I don't know what's wrong there,

here is my config
	require("typescript-tools").setup({
		on_attach = function(cli, buf)
			on_attach(cli, buf)
		end,
		capabilities = default_capabilities,
	})

I see multiple reasons why it can happen. You may check this on both devices and compare:

Neovim version
Typescript version
Node version
Even some system or device related stuff

Idk really, but probably it isn't on our side because your config works fine on different hardware on same system so... probably problem is in other system/device.


Point-goal navigation using ARCore

select goal by tapping on the screen (ARCore)
specify the goal manually (polar coordinates)
drive with trained policy

Hello! I'd like to use the Point Goal Navigation feature using ARCore! Install (ARCore_1_2_x86_for_emulator.apk) in the emulator, enter the OpenBot app, and run Point Goal Navigation, and the app will go down! Do you know what the problem is?


Update README.md

test

Thanks for creating a pull request!

Thanks for creating a pull request!

Thanks for creating a pull request!

Thanks for creating a pull request!

Thanks for creating a pull request!

Thanks for creating a pull request!

Thanks for creating a pull request!

Thanks for creating a pull request!

Thanks for creating a pull request!

Thanks for creating a pull request!

Thanks for creating a pull request!

Thanks for creating a pull request!

Please complete the 'Testing Done' section of the description.


No string completions for indexed access types

interface Foo {
    hello: number;
    world: string;
}

let x: Foo['']

Try to request completions within the string literal.
Expected: completions for hello and world
Actual: no completions

@mariusschulz, you said you might be interested in working on this?

i'd like to working on this😂

Sorry, @mariusschulz DM'd me on Twitter. You've been doing an awesome job with the PRs though @Kingwl!


when use a framework named IQKeyboardManager，RETableViewManager  doesn't work.

I am very sad because I use both of them,But They can not work together,Pelease look into them,wish you can find the reason.

https://github.com/michaeltyson/TPKeyboardAvoiding    use this can resolve this problem


an error: NET::ABORTED is returned when visiting a pdf

When I had been scraping a user's requestUrl with playwright, given that some urls that do not end with the suffix '.pdf' ARE in fact pdfs, and in even rarer cases, some urls that end with '.pdf' are actually text/html, I had been using playwright to tell me if the document was a pdf.
i.e. I looked at the 'content-type' header found in the playwright page.goto() response, and made sure it is 'text/html', before doing further things with that visited document.
But when I use the agent.goto function to visit any pdf in secret-agent, I get something like the following exception:
Error: net::ERR_ABORTED
    at Page.navigate (/Users/andynuss/repos/stag-secret-agent/app/node_modules/puppet-chrome/lib/Page.ts:212:45)
    at runNextTicks (internal/process/task_queues.js:58:5)
    at processImmediate (internal/timers.js:434:9)
    at Timer.waitForPromise (/Users/andynuss/repos/stag-secret-agent/app/node_modules/commons/Timer.ts:56:20)
    at Tab.goto (/Users/andynuss/repos/stag-secret-agent/app/node_modules/core/lib/Tab.ts:369:5)
    at CommandRecorder.runCommandFn (/Users/andynuss/repos/stag-secret-agent/app/node_modules/core/lib/CommandRecorder.ts:73:16)
    at ConnectionToClient.executeCommand (/Users/andynuss/repos/stag-secret-agent/app/node_modules/core/server/ConnectionToClient.ts:324:14)
    at ConnectionToClient.handleRequest (/Users/andynuss/repos/stag-secret-agent/app/node_modules/core/server/ConnectionToClient.ts:70:14)
------REMOTE CORE---------------------------------
    at Function.reviver (/Users/andynuss/repos/stag-secret-agent/app/node_modules/commons/TypeSerializer.ts:208:26)
    at JSON.parse (<anonymous>)
    at Function.parse (/Users/andynuss/repos/stag-secret-agent/app/node_modules/commons/TypeSerializer.ts:24:17)
    at WebSocket.<anonymous> (/Users/andynuss/repos/stag-secret-agent/app/node_modules/client/connections/RemoteConnectionToCore.ts:67:42)
    at WebSocket.emit (events.js:315:20)
    at Receiver.receiverOnMessage (/Users/andynuss/repos/stag-secret-agent/app/node_modules/ws/lib/websocket.js:983:20)
    at Receiver.emit (events.js:315:20)
    at Receiver.dataMessage (/Users/andynuss/repos/stag-secret-agent/app/node_modules/ws/lib/receiver.js:517:14)
    at /Users/andynuss/repos/stag-secret-agent/app/node_modules/ws/lib/receiver.js:468:23
    at /Users/andynuss/repos/stag-secret-agent/app/node_modules/ws/lib/permessage-deflate.js:308:9
------CONNECTION----------------------------------
    at new Resolvable (/Users/andynuss/repos/stag-secret-agent/app/node_modules/commons/Resolvable.ts:17:18)
    at Object.createPromise (/Users/andynuss/repos/stag-secret-agent/app/node_modules/commons/utils.ts:68:10)
    at RemoteConnectionToCore.createPendingResult (/Users/andynuss/repos/stag-secret-agent/app/node_modules/client/connections/ConnectionToCore.ts:328:31)
    at RemoteConnectionToCore.internalSendRequestAndWait (/Users/andynuss/repos/stag-secret-agent/app/node_modules/client/connections/ConnectionToCore.ts:253:43)
    at RemoteConnectionToCore.sendRequest (/Users/andynuss/repos/stag-secret-agent/app/node_modules/client/connections/ConnectionToCore.ts:156:17)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at Object.cb (/Users/andynuss/repos/stag-secret-agent/app/node_modules/client/lib/CoreCommandQueue.ts:104:26)
    at Queue.next (/Users/andynuss/repos/stag-secret-agent/app/node_modules/commons/Queue.ts:82:19)
------CORE COMMANDS-------------------------------
    at Queue.run (/Users/andynuss/repos/stag-secret-agent/app/node_modules/commons/Queue.ts:35:19)
    at CoreCommandQueue.run (/Users/andynuss/repos/stag-secret-agent/app/node_modules/client/lib/CoreCommandQueue.ts:100:8)
    at CoreTab.goto (/Users/andynuss/repos/stag-secret-agent/app/node_modules/client/lib/CoreTab.ts:92:36)
    at Tab.goto (/Users/andynuss/repos/stag-secret-agent/app/node_modules/client/lib/Tab.ts:160:36)
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
    at testUrl (/Users/andynuss/repos/stag-secret-agent/app/src/test.js:51:30)
    at /Users/andynuss/repos/stag-secret-agent/app/src/test.js:130:5

I noticed that I previously found a similar behavior with puppeteer, and that this puppeteer issue indicated it had
something to do with chromium?
https://github.com/GoogleChrome/puppeteer/issues/2794

I don't see any confirmation in the thread, but it sounds to me like this is because headless chrome triggers downloads when it encounters PDFs. Which makes sense because headless chrome has no "plugins" installed in it, and the plugins are what knows how to render PDFs. Like I said, I need to finish (or get someone's help?!?! hint, hint) the PR I linked to above. Been wrapped up in some things for the new Hero project, so I haven't been able to get to this.


"Heleșteu", "Mereni" are listed in the drop-down menu

Description:
When user writes ”Heleșteu” and "Mereni" the locations appear in the drop-down menu next to the comune and the county which is a part according to the law.
Precondition:
The website is up an running.

Step 1
Write in the search bar "Heleșteu"

Expected results
The location appears in the drop-down menu as "Sat Heleșteu, DÂMBOVIȚA (Conțești)".

Step 2
Press "x" button.

Expected results
The location was deleted from the search bar.

Step 3
Write in the search bar "Mereni"

Expected results
The location appears in the drop-down menu as "Sat Mereni, DÂMBOVIȚA (Conțești)".


Remove breaking changes for .NET Core preview to preview

Fixes #19775.

@PriyaPurkayastha I removed .NET Core breaking changes for preview-to-preview changes, since customers will just be installing the GA version at this point.

Thanks for reviewing, Tom.


x/build/kubernetes/gke: use non-deprecated auth

We're currently using clusters.list to get the certificate pair used to authenticate to the Kubernetes API. This is deprecated (and very confusing to set up in a new project). The docs say we should switch to just using OAuth directly with the API (which has the advantage that we don't need to also grant the coordinator permission to create new clusters).
/cc @bradfitz

Where are the deprecation docs?
Did it already stop working in a certain GKE release? Were you playing with GKE 1.6.x or GKE 1.5?

Where are the deprecation docs?

I found this out at https://cloud.google.com/container-engine/docs/iam-integration#authentication_modes
I don't see any announcement... they have just started calling it "the legacy cluster certificate" in docs and have started restricting access to it (see below).

Did it already stop working in a certain GKE release? Were you playing with GKE 1.6.x or GKE 1.5?

It doesn't break any of our existing deployments. This was changed in GKE 1.3. When I created a new service account for development, I discovered that the roles/container.developer role ("Full access to Kubernetes API objects inside Container Clusters.") did not allow the coordinator to talk to Kubernetes. This is because the certificate pair is not exposed to that role (nor is it even exposed to the container.clusterAdmin role). The legacy compute engine default service account is not restricted by IAM roles, so it will continue to work as long as we use it for the farmer VM (or they deprecate harder).


Fix alpha on some GDAL sources

This affected sources with a projection that have an explicit alpha channel.
Fixes https://github.com/girder/django-large-image/issues/39

Turns out this didn't completely fix the issue:
In the following example, the alpha is still improperly handled
import large_image

path = '/Users/bane/Desktop/rasters/Django-Large-Image/4-ortho-rgb-cog.tif'

src = large_image.open(path, projection='EPSG:3857', style={
 'bands': [
    {'band': 1, 'palette': 'R'},
    {'band': 2, 'palette': 'G'},
    {'band': 3, 'palette': 'B'}
  ]
})
thumb = src.getThumbnail(encoding='PNG')[0]
thumb


Update _index.en.md

Description

Minor corrections to text.
Your vs You.
Functionality misspelled.

Minor corrections to text.


Can I use your model to identify cows?

@jindanbaobei, you can try, but I bet it won't work well mostly because my algorithm is focused on using facial landmarks to align pictures of the face. I suppose landmarking model won't work well on cows. However, you can apply different methods to get images of the same size using simple scaling. Unfortunately, I think my models won't work well if you need to use those on a new type of animal + a different method of aligning. If you have data for cows that you can share, I can try to train models for them.

@MarQuisCheshire are different packages required in order to train this based on the different landmarks for a cow?


Sryy to post it like that but the slack invite have been expired

Thank you for your great effort
Sryy to post it like that but the slack invite have been expired
Can you please renew it

new non expiring link added. https://join.slack.com/t/robotdogs/shared_invite/zt-24ep8mqn4-1p42Aq7owRv9klLI~3C5Pw

Thank you, really appreciate it

The slack channel used to be open to all, but now only to @unitree.cc and @u.northwestern.edu?

That's a valid question. Could you please inform me what is the process for getting an email like that?

Here's what I see when I click on the updated link posted above by @MAVProxyUser:

We had a lot of dead weight so I pruned the channel heavily, and deleted the links: Here is a fresh link, it will expire in 28 days. https://join.slack.com/t/robotdogs/shared_invite/zt-29ko4lpye-N~9OPznkScHwR~LBduFSmg

Hi, could you post the link again?


Disable HUD for unsupported browsers

The HUD will only work with Firefox and Chrome.
It would be better if we detected other browsers via the User Agent and didnt inject the HUD for them.
If and when other browsers support the features we need for the HUD we can re-enable them.

Do we know the HUD doesn't work on other browsers? I actually haven't tested on IE or Safari?

I'm pretty sure it wont, but yeah, definitely worth checking before implementing this proposal :)

JxBrowser 6.23 which uses chromium 69 is now available.
I've raised https://github.com/zaproxy/zaproxy/issues/5231 to upgrade it in ZAP and then we can see if the HUD works with it :)

We should also figure out how we're going to deal with Java 11 on Mac. cuz any new mac trying to run the HUD will fail.

The HUD still does not work in JxBrowser (6.23).

Regarding the Java 11 issue, TLS 1.3 is now disabled by default in the proxy (the change will be available in the next weekly).


What is the update frequency of live location sharing?

3:23 Updated 4min ago
4:04 Updated 4sec ago
So I would say every 5 minutes but maybe my 4G was bad at this location:
-----BEGIN PGP MESSAGE-----

hF4DTQa9Wom5MBgSAQdAZxnEju+51T79jXWWSugoUZKz31e38MhCSQgVByn63G0w
Kq8nmbKGo5vxqHXvlC6GSDz/gAo9O5NM47XNbamNbRxnLzxl1cicYBu5RL5cGEuD
0lsBJd2toNpsAFtR6DIQ37nvX4xW/h4bcVH3Oew9DXnsklUyL5AbUEb3cDtnSftx
GtDxvwUUmN2suasFFuWEdZk86vWmcrSlhFiYU2ckL6KFruJRxI+ySB0xOtze
=a1so
-----END PGP MESSAGE-----

Your use case
What would you like to do?
Why would you like to do it?
How would you like to achieve it?
Have you considered any alternatives?
No response
Additional context
No response

Maybe related to Benjamin-Loison/element-android/issues/21.


:sparkles: party logging support

Related to #60

Do we merge this before refactoring?

@ShuffleZZZ yeah, merge this after #86

@ShuffleZZZ (and after #89)


Add Tail implementaiton

Tail implementation

uses 4K buffers for read/write operations. Handles large files easily.
-f option tracks by name, not descriptor. GNU uses descriptors but it really complicates things for little gain (imo)
uses ps to track PID's. May not work on Windows although most developers probably have it installed because tasklist is a GUI

Looks like you have fmt changes in here as well.  It would be better to separate those to a different PR.

oops, probably fat fingered something. will fix.


Add extra columns to events schema

For statistical purposes can we add:

an application_date field to the cd_applications table in the events db, on creation of the row
a checked_in_date field to the cd_attendance table with the timestamp from when the Ticketing admin changes the attended flag to true

This already exists as "created" and "attendance". Closing off


New Ruby prefix character proposal (http://unicode-table.com/en/1F48E/)

@vadviktor We are currently a Ruby, and this one looks more like a Diamond =)
Will keep with the current one.
Thanks for the proposal.


About int16

1. System information

Linux Ubuntu 16.04
TensorFlow lite

2. Issue
I would like to inquire if my input and output data can only be int16. Can I write "converter. reference_input_type=tf. int16" when converting tflite？ or is there any other good method recommended?
Thanks!

@panhu For converting your Tf lite model please follow the instruction here and check this document for tflite Post-training integer quantization with int16 activations.
In order to expedite the trouble-shooting process, please provide a code snippet to reproduce the issue reported here. Thank you!

Hi:
I have another question that I would like to ask if I can only install version 2.5.0 of "tflite runtime" on Windows? as I am using pip to install other versions of "tflite runtime" on Windows, but I am unable to find them.
Thanks!

@panhu
You can use the latest tflite runtime version. The tflite-runtime Python wheels are pre-built and provided for these platforms as follows;
*Linux armv7l (e.g. Raspberry Pi 2, 3, 4 and Zero 2 running Raspberry Pi OS 32-bit)
*Linux aarch64 (e.g. Raspberry Pi 3, 4 running Debian ARM64)
*Linux x86_64
If you want to run TensorFlow Lite models on other platforms, you should either use the full TensorFlow package , or build the tflite-runtime package from source . Thank you!


Do not write artifacts to current dir in tests

A lot of the tests would create artifacts folders in the directory
under test. They would also create preflight.log in those same
locations. This makes sure that that does not occur.
It also removes the side effect from the artifacts.Path() call.
That call would create the artifacts dir, and that's just very
unexpected. Instead, this moves the dir creation side effect into
the artifacts.WriteFile() call, which is much more an expected
behaviour.
Signed-off-by: Brad P. Crochet<EMAIL_ADDRESS>

Coverage decreased (-0.03%) to 84.309% when pulling 91f4f54620b5a3a50066311e7c34bda8649c1a88 on bcrochet:fix-artifacts-in-tests into 31407374afd32a1eeb94bf80130ef4906e776ca2 on redhat-openshift-ecosystem:main.


Replace highlighter script to vanilla JS equivalent

Hello,
I've had problems with getting Coffeescript work before, also, I'm not super familiar with the language, and also, I think it's a fading language overall that I wouldn't want to depend on, when eventually we depend on Node.js anyway.
I made fairly basic changes in the code; basically what I thought it would take to make it valid JS + removed an unused variable + flattened the control flow around error handling. It could be much nicer JS but I wanted to be sure for now.
I tried it with node v18 and it worked flawlessly, fixing my problems. I don't know what version of node is required but I think it would work even with v12 and we shouldn't depend on anything older than that anyway.
Also, as I see, the exact same script is used in Documentable itself; perhaps it could be changed there as well.
Anyway, please take a look at it and if it works, I think it would be really good; no need to mess around with all sorts of Coffeescript installations and paths, and it becomes accessible to more people. ^^
Thank you.

Also, as I see, the exact same script is used in Documentable itself

It's hard to decide whose exactly responsibility that is, I can argue it both ways...

Anyway, please take a look at it and if it works, I think it would be really good; no need to mess around with all sorts of Coffeescript installations and paths, and it becomes accessible to more people

True.
Thank you very much, I'll get back to it, hopefully this weekend. : )


add support for grouped cells

I had a request to fill data not line by line, but multiple lines at once. So I introduced new keyword @group to reach that purpose. If lines are between @group and @endgroup tags, they will be repeated together. Moreover, @header tag helps user to cancel repeating same header rows for each group.

With @group  tag and with @header tag
Before

After

With @group tag and without @header tag
Before

After

Without @group tag
Before

After

@shps951023 accepted

It works great with one group, but not with multiple ones in the same excel sheet.

@abou-emish Hi there, please share sample worksheet to fix it.

Hello @eynarhaji
ApplicationTemplateSample.xlsx
Provide more than one object in the second group array, you will find the following issues

First object is ignored
@group, @header rows are cleared but not deleted/replaced

There is another issue, when there is a row inside the group with text only "no {{template}}", it causes Object reference not set to an instance exception

@abou-emish yes this issue is detected by me. Fixing that also.

@eynarhaji Thanks a lot for your efforts, can you please give me a rough estimate when this fix will be available?

@abou-emish end of this week

Hello @eynarhaji , I hope you are doing fine.
Do we have a good progress ?


Gift Entry - Templates that include Account1 Website throws error when entered without protocol (http://, ftp://, etc.)

Issue
When a template includes the website field for Account1, and the field is populated with an address such as: www.salesforce.com instead of http://www.salesforce.com, and error is thrown: "You have entered an invalid format." However, when edited on the Account's page, the website field allows for input of web addresses without the preceding protocol. This also means that if you create an Account with a web address (ex. www.salesforce.com), and then you have the website field on your Gift Entry template and you pull up an existing account with that website field populated, when you attempt to save a gift, this error will be thrown.
Steps to Reproduce

Create an organization account with Account Website field filled in(for.ex: www.test.com)
Enable Advanced Mapping and Gift Entry from NPSP Settings
From App Launcher goto Gift Entry
Click on New Template and give it a name and add Website field under Account1 to the form fields
Click on New Batch and use the above created template
Give it a name, Next & Save
Now Choose Donation Donor as Account1
For Existing Donor Organization Account pick the one you have created above
At the bottom you'll notice website is auto filled in and now try saving it.
a.  Actual Results: Error: "You have entered an invalid format"
b.  Expected Results: Gift is entered using the same website address that is used on the account record

Workaround

Remove the website field from your Gift Entry Template
You can enter all web addresses with http:// and ensure that there is validation on the field to maintain that structure to avoid this error if they are pull up in a Gift Entry batch.

W-9749117

Please follow this Known Issue in the Trailblazer Community for updates.


ci,build: add initial Travis-CI integration

This changeset adds an initial structure for running builds on the m1k-fw
repo. We might also want to start deploying built artifacts to a storage
site (and link them in the README.md file), but that would come a bit
later.
Signed-off-by: Alexandru Ardelean<EMAIL_ADDRESS>

@dbogdan
if you feel there's a need to add more people to review this, please feel free to do so
@rgetz @mhennerich @dbogdan
it would be interesting if we could start deploying FW artifacts from this repo [via Travis-CI] to a storage site
[ well, i think it would be interesting, but i could be wrong ]
if, this is interesting for you [or feel that it would be interesting to others] i could probably help out a bit
in any case, this is a minimalistic build for this code, which may not hurt to have

Changelog v1 -> v2:

changed env-var semantics a bit ; OS_TYPE -> BUILD_TYPE ; removed OS_VERSION
passing env-vars as env-vars [not as script args]

let's have this to check at least that the code compiles when submitted to the branch;
we can optimize things later, by adding a compiler that produces a good FW
things won't be published from this repo anything


fix: tab bug fixes

again merge it, I don't how it does, but from your side it was back, the tabs are not highlighted when click on templates and README
fixes #18
resolve #18

Tabs other than the playground do not have the black pill button shape. It is not a bug. It spares the tabs and highlights playground all the time.


Improvement/ci

Issue being fixed or feature implemented

What was done?

How Has This Been Tested?

Breaking Changes

Checklist:

[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or updated relevant unit/integration/functional/e2e tests
[ ] I have made corresponding changes to the documentation

For repository code-owners and collaborators only

[ ] I have assigned this pull request to a milestone

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@db37242). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop     #347   +/-   ##
==========================================
  Coverage           ?   37.83%
==========================================
  Files              ?      451
  Lines              ?    50607
  Branches           ?        0
==========================================
  Hits               ?    19148
  Misses             ?    31459
  Partials           ?        0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update db37242...2974bba. Read the comment docs.

Codecov Report

:exclamation: No coverage uploaded for pull request base (develop@db37242). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             develop     #347   +/-   ##
==========================================
  Coverage           ?   37.83%
==========================================
  Files              ?      451
  Lines              ?    50607
  Branches           ?        0
==========================================
  Hits               ?    19148
  Misses             ?    31459
  Partials           ?        0

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update db37242...2974bba. Read the comment docs.