JavaScript error when rendering snippet containing a streamfield

The streamfield editing within a snippet works in 3.0.1, but seems to throw js errors in the browser console in 3.0.2.
As far as I'm aware, there were not any API changes between these releases.
Follow the issue here: https://github.com/coderedcorp/coderedcms/issues/522
This can be reproduced by creating a fresh coderedcms project, with Wagtail 3.0.2 installed. Trying to create a navbar snippet for example throws the error in the browser console. This same behavior works OK in Wagtail 3.0.1.
The code for the navbar snippet is relatively vanilla, can be seen here. The key issue seems to be putting a StreamField in a snippet. Snippets without StreamFields work ok. https://github.com/coderedcorp/coderedcms/blob/aec431be55a8a04f179ac4e7ec88d469c2856856/coderedcms/models/snippet_models.py#L219-L262

Hi @vsalvino - I think this is the same as #9117. Please shout if not!

Looks like the same thing, thanks for the quick response!


VLAZ: Watch steeloncall.com

VLAZ requests the watch of the watch_keyword steeloncall\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

steeloncall\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.


Wall code

What happened to the wall code from Apostolique's twitch streams? It worked really well.

Apos has decided to leave this bot as it is.
https://gitter.im/Apostolique/ACS?at=571a762d0eef754b5ea9961f
Read down from there on to find out why he's not working on this bot anymore... and for why we collaborators have to move on to another project.

That other project is https://github.com/ErmiyaEskandary/slither.io-bot which is a slither.io not. It's a collaborative project by @FliiFe and me. Feel free to check it out and it's a WIP and is going pretty well. For reasons why us collaborators stopped working on this project, refer to @Drflash55's comment above.


Fix range value issue

Since updating to software 3.2, the car consitently reports a drop in range equal to the conversion from kilometres to miles immediatately after a charge finishes and also at random times when the car's been idle for a number of hours.  These incorrect ranges are visible in the VW app so the bug is on VW's side.
This PR ignores these incorrect range changes when deciding whether to insert the latest weconnect data into the battery & ranges tables

Hey, quick question, is that a british car?

Hi,
Yes it is - I'm guessing this bug of VW's doesn't happen with euro based
cars?
Ben
On Mon, 16 Oct 2023 at 16:48, Till Steinbach @.***>
wrote:

Hey, quick question, is that a british car?
—
Reply to this email directly, view it on GitHub
https://github.com/tillsteinbach/VWsFriend/pull/561#issuecomment-1764779788,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAPATD47XG2JW7ALP3T5JDLX7VJOLAVCNFSM6AAAAAA6CM2TJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRUG43TSNZYHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

I would prefer this to be fixed in the underlying API, like here: https://github.com/tillsteinbach/WeConnect-python/blob/3ffc890371a98490740debe8909a2da459fa3917/weconnect/elements/battery_status.py#L33 this way all apps using the API will be fixed

Sorry, I clearly haven't looked at how the weconnect-python stuff works
properly!  I was understanding it to have only the snapshot of data as
returned by the API at that moment in time.
I'll put a copy of this repro on my dev machine and have a play around with
it.
On Mon, 16 Oct 2023, 20:10 Till Steinbach, @.***> wrote:

It should have. Something like this could work I think:
cruisingRangeElectric_km = int(fromDict['value']['cruisingRangeElectric_km'])
if self.fixAPI and round(cruisingRangeElectric_km*0.621371) == self.cruisingRangeElectric_km:
LOG.info('%s: Attribute cruisingRangeElectric_km was miscalculated (miles/km) this is a bug in the API and the new value will not be used', self.getGlobalAddress())
else:
self.cruisingRangeElectric_km.setValueWithCarTime(cruisingRangeElectric_km, lastUpdateFromCar=None, fromServer=True)
—
Reply to this email directly, view it on GitHub
https://github.com/tillsteinbach/VWsFriend/pull/561#issuecomment-1765117230,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAPATD4MPPRV2ZCVEHYUKVTX7WBCTAVCNFSM6AAAAAA6CM2TJGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRVGEYTOMRTGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

No problem, I would fix it myself, but I‘m very busy and that would take some time until I can find some time.

Good news - a variation of this on the battery_status element worked.  I think I'll add in an extra check to see only ignore the range value if the SOC has stayed the same which is the fingerprint of this error.
Got it in a fork of Weconnect-python https://github.com/bendavidson/WeConnect-python
Need to add the same to the range status, but needs a bit more thinking about as there are 3 values to consider.
Hopefully should have  PR ready by the end of the week

I've submitted a PR to the weconnect-python project.  I've tested it for a couple of days in parallel to the production one and it seems good.
Still a potential loophole if you restart the vwsfriend service while the API is reporting an invalid range as there is no data persistance in weconnect-python if the consuming service is not running but I think it's an acceptable compromise?


New organization for URLConnectionTest test case

Hi everyone,
I am proposing a new organization for the URLConnectionTest class. I created 7 new classes with the following test cases:
URLConnectionProxyTest
connectViaProxyUsingProxyArg
connectViaProxyUsingProxySystemProperty
connectViaProxyUsingHttpProxySystemProperty
connectViaHttpProxyToHttpsUsingProxyArgWithNoProxy
connectViaHttpProxyToHttpsUsingHttpProxySystemProperty
connectViaHttpProxyToHttpsUsingProxyArg
connectViaHttpProxyToHttpsUsingProxySystemProperty
connectViaHttpProxyToHttpsUsingHttpsProxySystemProperty
redirectWithProxySelector
response305UseProxy
URLConnectionStreamTest
flushAfterStreamTransmittedWithChunkedEncoding
flushAfterStreamTransmittedWithFixedLength
flushAfterStreamTransmittedWithNoLengthHeaders
inputStreamAvailableWithChunkedEncoding
inputStreamAvailableWithContentLengthHeader
inputStreamAvailableWithNoLengthHeaders
URLConnectionUploadTest
chunkedUpload_byteByByte
chunkedUpload_smallBuffers
chunkedUpload_largeBuffers
fixedLengthUpload_byteByByte
fixedLengthUpload_smallBuffers
fixedLengthUpload_largeBuffers
URLGzipConnectionTest
gzipAndConnectionReuseWithFixedLength
gzipAndConnectionReuseWithChunkedEncoding
gzipAndConnectionReuseWithFixedLengthAndTls
gzipAndConnectionReuseWithChunkedEncodingAndTls
URLResponseConnectionTest
response307WithGet
response307WithHead
response307WithOptions
response307WithPost
response308WithGet
response308WithHead
response308WithOptions
response308WithPost
response307WithPostReverted
response308WithPostReverted
response300MultipleChoiceWithPost
response301MovedPermanentlyWithPost
response302MovedTemporarilyWithPost
response303SeeOtherWithPost
postRedirectToGetWithChunkedRequest
postRedirectToGetWithStreamedRequest
URLReusedConnectionTest
postFailsWithBufferedRequestForSmallRequest
postFailsWithBufferedRequestForLargeRequest
postFailsWithChunkedRequestForSmallRequest
postFailsWithChunkedRequestForLargeRequest
postFailsWithFixedLengthRequestForSmallRequest
postFailsWithFixedLengthRequestForLargeRequest
URLZeroLengthConnectionTest
zeroLengthPost
zeroLengthPost_HTTP_2
zeroLengthPut
zeroLengthPut_HTTP_2

No strong opinion from me, I'll defer to others on this.  But I'm curious what drove this change?

Each test is usually the intersection of 2 or more features. Organizing by feature may make it harder to find tests, not easier. Some tests here do upload and connection reuse, for example.
I'll second Yuri's question: what problem are you trying to solve?

Hi, thanks for the answers!
I used a tool to detect smells and this class was classified as GodClass because it has more than 500 lines of code and has a lower Tight Class Cohesion than the average of the other classes in the system.
Do you think that 500 lines for OkHttp is a reasonable number?
Given the motivations I mentioned, do you think it is necessary to remove GodClass?
I looked for similar tests to create new classes. What would be a better strategy?

@klebertarcisio I don't think overall applying your personal metrics of code quality to a project is a high value use of your time.
IMHO - This one concern about whether a test class is a GodClass is probably most relevant if you can see that almost all PRs involve changing these tests also.  I think that's the concern about the GodClass in a normal system, everyone ends up changing the same files with risky merges etc, because everything is muddled up there. But I think for metrics driven development, we would value this sort of refactor more for non-test classes.
CallTest and URLConnectionTest are probably the most likely files to change for any given PR.  But mostly I think we just add new test cases there. On further thought my bigger concern is that a primary use of these tests is as a regression suite. We would lose this history between branches.

Hi @yschimke, I understood your point, thank you very much for your feedback.


Add Control::localize_numeral_system property to toggle automatic numeral system conversion.

Fixes https://github.com/godotengine/godot/issues/68748

Thanks!


Draft: Add a first local kubernetes deployment

when use helm id expect its whole config to be inside a values.yml, its seems unusual to split up config across multiple files (dev-db-config.yml + values.yml)
same for skaffold

when using helm i'd expect its whole config to be inside a values.yml, its seems unusual to split up config across multiple files (dev-db-config.yml + values.yml) same for skaffold
is there a reason to split those?

skaffold.yaml: The split makes it possible to depend the deploy of backend to postgres, so backend only deploy after postgres is up. this is currently (and for the foreseeable future) the only way to model that dependenc.
values.yaml: It's separate helm charts, the one of postgres is only meant for dev setup, the one for backend is going to be for people who want to deploy it in their cluster

i agree with this beeing currently a valid workaround, however a better approach, would be creating a init-container in the deployment which wait for postgres to be ready and then shuts down
this would trigger the main-container of your deployment to startup
here is an example: https://medium.com/@xcoulon/initializing-containers-in-order-with-kubernetes-18173b9cc222


Add code coverage report

Codecov Report

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

@@            Coverage Diff            @@
##             master      #18   +/-   ##
=========================================
  Coverage          ?   74.03%
=========================================
  Files             ?       21
  Lines             ?     1452
  Branches          ?       85
=========================================
  Hits              ?     1075
  Misses            ?      360
  Partials          ?       17

Flag
Coverage Δ

unittests
74.03% <0.00%> (?)

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

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 99fab76...7e547d3. Read the comment docs.


[hub-mirror] 请求执行任务

{
"hub-mirror": [
"ghcr.io/els-rd/transformer-deploy:0.4.0"
]
}

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
alimcharaniya, @sweeklys, @brandco, @nmsp, @tsilavinarazf, @m-t-space, @JoseGS89, @teal33t, @amureki, @maddyonline, @travka, @ofarukcaki, @aleksandara, @NicolaDemers, @aic25, @mdzro, @GuSuku, @draidin135730, @adamklepacz, @Ganho-Real


Support for manually configured variants

The CMake Tools design for variants is overall very nice. However, for the project I'm working on (Apache Arrow), it's kind of impractical. Arrow has a lot of optional components that can be configured at build time. Since the project doesn't use VS Code as a standard, I really don't want to go through the work of setting up variants for all that, and so that hampers my ability to use CMake Tools with that project.
If there was a way to associate a variant name (e.g. "debug") either with a specific CMake invocation, or an existing CMake output directory, that would allow me to define a couple variants ("debug", "release") that have all the right flags for my work, and then use only those. That would be a lot less work to use CMake Tools with a project with many options.

Still very relevant when using VS Code with big complex CMake projects that are not managed upstream via VS Code.

@chrish42 Is it possible that CMakePresets.json would allow you to do what you're searching for?


feat: emvar lite

About
During the migrations we want to know if we fall within ranges and such not. And the semvar that we are using isn't the actual, since it could be <IP_ADDRESS> like, where there are more than major, minor, and the patch.
Proof Working


does not work with python 3.7.1 raises StopIteration

i am trying to run the example with python 3.7.1 but it raises a generator StopIteration
example:
s = u"John is a cat"
t = scrubadub.clean(s)

output
Traceback (most recent call last):
  File "/Users/nihil/.pyenv/versions/emailbin/lib/python3.7/site-packages/textblob/_text.py", line 365, in _read
    raise StopIteration
StopIteration

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "test.py", line 20, in <module>
    t = scrubadub.clean(s)
  File "/Users/nihil/.pyenv/versions/emailbin/lib/python3.7/site-packages/scrubadub/__init__.py", line 16, in clean
    return scrubber.clean(text, **kwargs)
  File "/Users/nihil/.pyenv/versions/emailbin/lib/python3.7/site-packages/scrubadub/scrubbers.py", line 57, in clean
    for next_filth in self.iter_filth(text):
  File "/Users/nihil/.pyenv/versions/emailbin/lib/python3.7/site-packages/scrubadub/scrubbers.py", line 76, in iter_filth
    for filth in detector.iter_filth(text):
  File "/Users/nihil/.pyenv/versions/emailbin/lib/python3.7/site-packages/scrubadub/detectors/name.py", line 29, in iter_filth
    for word, part_of_speech in blob.tags:
  File "/Users/nihil/.pyenv/versions/emailbin/lib/python3.7/site-packages/textblob/decorators.py", line 24, in __get__
    value = obj.__dict__[self.func.__name__] = self.func(obj)
  File "/Users/nihil/.pyenv/versions/emailbin/lib/python3.7/site-packages/textblob/blob.py", line 447, in pos_tags
    for word, t in self.pos_tagger.tag(self.raw)
  File "/Users/nihil/.pyenv/versions/emailbin/lib/python3.7/site-packages/textblob/en/taggers.py", line 21, in tag
    return pattern_tag(text, tokenize)
  File "/Users/nihil/.pyenv/versions/emailbin/lib/python3.7/site-packages/textblob/en/__init__.py", line 115, in tag
    for sentence in parse(s, tokenize, True, False, False, False, encoding).split():
  File "/Users/nihil/.pyenv/versions/emailbin/lib/python3.7/site-packages/textblob/en/__init__.py", line 99, in parse
    return parser.parse(unicode(s), *args, **kwargs)
  File "/Users/nihil/.pyenv/versions/emailbin/lib/python3.7/site-packages/textblob/_text.py", line 1240, in parse
    s[i] = self.find_tags(s[i], **kwargs)
  File "/Users/nihil/.pyenv/versions/emailbin/lib/python3.7/site-packages/textblob/en/__init__.py", line 49, in find_tags
    return _Parser.find_tags(self, tokens, **kwargs)
  File "/Users/nihil/.pyenv/versions/emailbin/lib/python3.7/site-packages/textblob/_text.py", line 1188, in find_tags
    map = kwargs.get(     "map", None))
  File "/Users/nihil/.pyenv/versions/emailbin/lib/python3.7/site-packages/textblob/_text.py", line 978, in find_tags
    tagged.append([token, lexicon.get(token, i == 0 and lexicon.get(token.lower()) or None)])
  File "/Users/nihil/.pyenv/versions/emailbin/lib/python3.7/site-packages/textblob/_text.py", line 104, in get
    return self._lazy("get", *args)
  File "/Users/nihil/.pyenv/versions/emailbin/lib/python3.7/site-packages/textblob/_text.py", line 85, in _lazy
    self.load()
  File "/Users/nihil/.pyenv/versions/emailbin/lib/python3.7/site-packages/textblob/_text.py", line 382, in load
    dict.update(self, (x.split(" ")[:2] for x in _read(self._path) if x.strip()))
  File "/Users/nihil/.pyenv/versions/emailbin/lib/python3.7/site-packages/textblob/_text.py", line 382, in <genexpr>
    dict.update(self, (x.split(" ")[:2] for x in _read(self._path) if x.strip()))
RuntimeError: generator raised StopIteration

Same issue for me on python3.7.2 - tried to run both with a Jupyter notebook and a pure script.

Can we get some updates on this?

I appear to be having the same issue in Python 3.8.0, with all dependencies updated to the latest version:
Traceback (most recent call last):
File "C:\Python3\lib\site-packages\scrubadub\detectors\base.py", line 22, in iter_filth
raise StopIteration
StopIteration
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "threadparser.py", line 116, in
main()
File "threadparser.py", line 95, in main
parser()
File "threadparser.py", line 85, in parser
redact(jsonMsg, jsonStr, mid)
File "threadparser.py", line 35, in redact
msg = scrubadub.clean(msgUnescape, replace_with='identifier')
File "C:\Python3\lib\site-packages\scrubadub_init_.py", line 16, in clean
return scrubber.clean(text, **kwargs)
File "C:\Python3\lib\site-packages\scrubadub\scrubbers.py", line 57, in clean
for next_filth in self.iter_filth(text):
File "C:\Python3\lib\site-packages\scrubadub\scrubbers.py", line 76, in iter_filth
for filth in detector.iter_filth(text):
RuntimeError: generator raised StopIteration
Not sure what's raising the error so early on, unless there's something obvious I'm missing or a formatting issue.

I'm also getting this error on 3.7.2 with textblob==0.15.3. Seems related to a change in 3.7—StopIteration now leads to a RunTime error instead of being swallowed silently (see discussion here).
Pinning textblob at 0.15.2 resolved it.

I can confirm that this error occurs on Python 3.7.3 with latest versions of textblob (0.15.3) and scrubadub (1.2.1).

With Python 3.8.2,
scrubadub - (1.2.1)
textblob==0.15.3
Still facing same issue:
stext = scrubadub.clean(text, replace_with='identifier')
File "C:\App\python\lib\site-packages\scrubadub_init_.py", line 16, in clean
return scrubber.clean(text, **kwargs)
File "C:\App\python\lib\site-packages\scrubadub\scrubbers.py", line 57, in clean
for next_filth in self.iter_filth(text):
File "C:\App\python\lib\site-packages\scrubadub\scrubbers.py", line 76, in iter_filth
for filth in detector.iter_filth(text):
RuntimeError: generator raised StopIteration

cc: @deanmalmgren
textblob 0.15.2 seems to fix this StopIteration error, but the upgrade brings along some other errors.
  File "test.py", line 3, in <module>
    print(scrubadub.clean("John spoke with Doug.", replace_with='identifier'))
  File "/Users/noqcks/.local/share/virtualenvs/api-MnT524yV/lib/python3.7/site-packages/scrubadub/__init__.py", line 16, in clean
    return scrubber.clean(text, **kwargs)
  File "/Users/noqcks/.local/share/virtualenvs/api-MnT524yV/lib/python3.7/site-packages/scrubadub/scrubbers.py", line 57, in clean
    for next_filth in self.iter_filth(text):
  File "/Users/noqcks/.local/share/virtualenvs/api-MnT524yV/lib/python3.7/site-packages/scrubadub/scrubbers.py", line 76, in iter_filth
    for filth in detector.iter_filth(text):
  File "/Users/noqcks/.local/share/virtualenvs/api-MnT524yV/lib/python3.7/site-packages/scrubadub/detectors/name.py", line 40, in iter_filth
    re_list.append(r'\b' + re.escape(proper_noun) + r'\b')
  File "/Users/noqcks/.local/share/virtualenvs/api-MnT524yV/lib/python3.7/re.py", line 257, in escape
    return pattern.translate(_special_chars_map)
  File "/Users/noqcks/.local/share/virtualenvs/api-MnT524yV/lib/python3.7/site-packages/textblob/blob.py", line 101, in translate
    from_lang=from_lang, to_lang=to)
  File "/Users/noqcks/.local/share/virtualenvs/api-MnT524yV/lib/python3.7/site-packages/textblob/translate.py", line 54, in translate
    response = self._request(url, host=host, type_=type_, data=data)
  File "/Users/noqcks/.local/share/virtualenvs/api-MnT524yV/lib/python3.7/site-packages/textblob/translate.py", line 92, in _request
    resp = request.urlopen(req)
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 525, in open
    response = self._open(req, data)
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 543, in _open
    '_open', req)
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 503, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 1345, in http_open
    return self.do_open(http.client.HTTPConnection, req)
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/urllib/request.py", line 1317, in do_open
    encode_chunked=req.has_header('Transfer-encoding'))
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1244, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1255, in _send_request
    self.putrequest(method, url, **skips)
  File "/usr/local/Cellar/python/3.7.4/Frameworks/Python.framework/Versions/3.7/lib/python3.7/http/client.py", line 1117, in putrequest
    raise InvalidURL(f"URL can't contain control characters. {url!r} "
http.client.InvalidURL: URL can't contain control characters. "/translate_a/t?client=webapp&dt=bd&dt=ex&dt=ld&dt=md&dt=qca&dt=rw&dt=rm&dt=ss&dt=t&dt=at&ie=UTF-8&oe=UTF-8&otf=2&ssel=0&tsel=0&kc=1&sl={40: '\\\\(', 41: '\\\\)', 91: '\\\\[', 93: '\\\\]', 123: '\\\\{', 125: '\\\\}', 63: '\\\\?', 42: '\\\\*', 43: '\\\\+', 45: '\\\\-', 124: '\\\\|', 94: '\\\\^', 36: '\\\\$', 92: '\\\\\\\\', 46: '\\\\.', 38: '\\\\&', 126: '\\\\~', 35: '\\\\" (found at least ' ')```

Hey.
I am having the same error for python 3.8.2
Any fixes?


VPC support

Add support for VPCs inside the module so that traffic will be encrypted in transit.
VPC would be parameters at the module layer to input VPC info.
The module would then use that to standup an endpoint inside the VPC.
We are happy to contribute and PR for this.

Hello @momonga-ml,
Great idea! If you have time to work on that a PR is more than welcome! A test/validation we have to then add is that if VPC only will work with "model_artifcats" and not with "hub" deployments since with the hub deployment the model will be loaded on the fly

Okay, we will keep that in mind regarding Hub. We are going to start working on it this week. Will provide an update here later on.

Hi Phil, looks like we ended up going a different direction on this one. I will reopen and PR if it comes back.


Extend linkify-branch-references to more places

Resolve #4738
Also changed the style to be the same with branch names on PRs, see screenshots.
Test URLs
Edit file: https://github.com/sindresorhus/refined-github/edit/main/.gitignore
Delete file: https://github.com/sindresorhus/refined-github/delete/main/.gitignore
Hovercard:

Dashboard (repo info from hovercard): https://github.com/
Pulls: (author may not exist): https://github.com/refined-github/refined-github/pulls

Screenshot
Before:

After:

Feel free to merge this and then we can extend the feature further with https://github.com/sindresorhus/refined-github/issues/4740 and https://github.com/refined-github/refined-github/issues/4873

Don't merge so much

I thought you have seen most changes (except 83df169d51d1de8fbd20d7af4448b8fd232c2248, my mistake 😅)

and merge after an accepted review though 😃

Oops, I will try better next time 😁


Azure Stack KeyVault Admin SDK

Description
Azure Stack requires an admin interface for KeyVault.  Currently we only support infinite quotas ha ha.
https://github.com/Azure/azure-rest-api-specs/pull/2779

This checklist is used to make sure that common guidelines for a pull request are followed.

[X] Please add REST spec PR link to the SDK PR
[X] I have read the contribution guidelines.
[X] The pull request does not introduce breaking changes.

General Guidelines

[X] Title of the pull request is clear and informative.
[X] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[X] Pull request includes test coverage for the included changes.

SDK Generation Guidelines

[X] If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.
[X] The generate.cmd file for the SDK has been updated with the version of AutoRest, as well as the commitid of your swagger spec or link to the swagger spec, used to generate the code.
[X] The *.csproj and AssemblyInfo.cs files have been updated with the new version of the SDK.

@azuresdkci retest this please

@azuresdkci retest

@dsgouda Regenerated/updated.


✨ Feature/CU-8678dm8f8 - PLOP, Rollup, Typography and more

PLOP, Rollup, Typohgrapy and more...
Adding PLOP template file generator with .hbs template files to components and providers. Also renamed wrappers to providers.
The different texts components in baseui were contained in a single component named Text, where the different sizes and weights can be accessed by the variant property! The list of the available variants are typed and have the same name as in the baseui typography components.
Also was added the useStyles custom hook, that can be used from anywhere in the lib, but was made focused in provide an easier method to apply quick styles from other applications.
Rollup was removed as building tool, and it configuration was moved to Vite instead (who uses Rollup by the way, but in an easier way). The packages in general were also updated to latest LTS version, the most important changes are:

storybook: 7.0.27 > 7.1.1

CHANGELOG

feat(📦packages): updating packages to latest version
fix(💄general): adjusting imports, linting and improving types
feat(✨atoms): ading text component
fix(🎨packages and storybook): removing unused packages and updating storybook configs
feat(✨plop): adding plopfile and templates to components and providers
feat(🎨StyleProvider): minimum improvements and renaming StylesProvider to ThemeProvider
test(✅useStyles): adding helper tests adn modifying eslint import order
feat(✨helpers): adding useStyles custom hook to generate css stylesheets
feat(🔥styles wrapper): renaming with provider suffix
feat(🔥button): renaming to pascal case and modifying overrides
feat(✅tests and storybook): updating config and react compatibility
feat(👷build): moving rollup config to vite config file and updating path aliases

Task linked: CU-8678dm8f8 PLOP template manager


Grammar linter

I get a lot of use from linters in programming python generally, such as pylint, flake8, mypy, bandit.
Would it be possible to provide linters for lark grammars, which would give suggestions on constructing good grammars?

I would be very happy to accept such a contribution. I don't have much experience with writing linters or interfacing with editors for that purpose. But if anyone writes such a tool, I'll be happy to add all sorts of heuristics to it.

I think typically linters just provide a command-line executable which takes a target directory or file path as an argument, and outputs messages on stdout. The editors handle these messages themselves. Pylint for example outputs in one of several formats, e.g. http://pylint.pycqa.org/en/latest/user_guide/output.html

I've never done this before so I don't really know what I'm doing, but based on some examples I made an attempt and it seems to work.  I'd expect it to just work in any project using a pylintrc file.
# mypackage/myplugin.py

import astroid

import pylint.checkers
import pylint.interfaces

def register(linter):
    """Register checkers."""
    linter.register_checker(LarkUndefinedOrAmbiguousChecker(linter))

BASE_ID = 33

class LarkUndefinedOrAmbiguousChecker(pylint.checkers.BaseChecker):

    __implements__ = (pylint.interfaces.IAstroidChecker,)

    name = "my-lark-checker"

    UNDEFINED_REFERENCE = "undefined-reference"
    EXCESSIVE_AMBIGUITY = "excessive-ambiguity"

    msgs = {
        f"E{BASE_ID}01": (
            "%s: something is undefined",
            UNDEFINED_REFERENCE,
            "All references must be defined",
        ),
        f"E{BASE_ID}02": (
            "%s: grammar is excessively ambiguous",
            EXCESSIVE_AMBIGUITY,
            "Make it clearer",
        ),
    }

    @pylint.checkers.utils.check_messages(UNDEFINED_REFERENCE, EXCESSIVE_AMBIGUITY)
    def visit_call(self, node):
        """Called for every function call in the source code."""

        if isinstance(node, astroid.node_classes.Attribute):
            if node.func.expr.name != "lark":
                return
            if node.func.attrname != "Lark":
                return

        if isinstance(node, astroid.node_classes.Call):
            if node.func.name != "Lark":
                return

        first_argument = node.args[0]
        # Take the first inferred guess about the value of the grammar.
        grammar = next(first_argument.infer())

        # Bad!
        if len(grammar.value) < 3:
            self.add_message(self.UNDEFINED_REFERENCE, args=node.func.name, node=node)
        if len(grammar.value) > 5:
            self.add_message(self.EXCESSIVE_AMBIGUITY, args=node.func.name, node=node)

Running it over this code
# tmp/example.py

from lark import Lark

grammar = """
SOMETHING
"""

Lark(grammar)

with
$ pylint --load-plugins mypackage.myplugin tmp/example.py

gives
************* Module example
tmp/example.py:1:0: C0111: Missing module docstring (missing-docstring)
tmp/example.py:3:0: C0103: Constant name "grammar" doesn't conform to UPPER_CASE naming style (invalid-name)
tmp/example.py:8:0: E3302: Lark: grammar is excessively ambiguous (excessive-ambiguity)

---------------------------------------------------------------------
Your code has been rated at -13.33/10 (previous run: 2.50/10, -15.83)

Keep in mind that linting can occur by looking at the text of the grammar, or the parse tree from the grammar.
Another possible idea (and similar to linting) would be to provide an optimizer for grammars.
Lark parses the grammar and outputs the parse tree which is processed and produces:

information about suspicious constructs
places where a grammar change could make it "more correct/less ambiguous"
information about which of the types of parsers (lalr, early, etc.) could parse this grammar
could rewrite the parse tree to be "optimal" for the given grammar, and output the new grammar.


USBManager USB list permission works till next device restart

Hello everyone, I have a problem regarding the device's permissions to access the list of connected USBs.
Once authorization is given, it works correctly every time the list is requested but after restarting the device, it requests authorization.
Has anyone solved this using third-party systems?
Thank you

Have you tried this? https://stackoverflow.com/a/54537840/4779937

Thanks, I'll try it


Code Helper crashes MacOS

Issue Type: Bug
Having 4-5 Visual Studio Code windows open and attempting to complete a Time Machine backup crashes MacOS 10 out of 10.
No builds were running, no scripts in any open terminals either, all Visual Studio Code windows were sitting idly.
No CPU intensive processes were running, doesn't seem to be related to overheating.
VS Code version: Code 1.35.1 (c7d83e57cd18f18026a8162d042843bda1bcf21f, 2019-06-12T14:29:22.216Z)
OS version: Darwin x64 18.6.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-8950HK CPU @ 2.90GHz (12 x 2900)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledsurface_synchronization: enabled_onvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
3, 11, 9

Memory (System)
32.00GB (10.60GB free)

Process Argv
-psn_0_69649

Screen Reader
no

VM
0%

Extensions (31)

Extension
Author (truncated)
Version

vscode-groovy
Arg
0.0.1

unique-lines
bib
1.0.0

xml
Dot
2.5.0

gitlens
eam
9.8.2

filter-line
eve
1.3.2

vscode-highlight
fab
1.3.4

vscode-guid
hea
1.4.15

jenkins-pipeline-linter-connector
jan
1.1.7

jenkins-declarative-support
jmM
0.1.0

svn-scm
joh
1.54.1

terraform
mau
1.3.12

change-string-case
max
1.1.1

hg
mrc
1.3.0

vscode-azureterraform
ms-
0.2.4

vscode-docker
ms-
0.6.4

vscode-kubernetes-tools
ms-
1.0.1

python
ms-
2019.5.18875

azure-account
ms-
0.8.4

cpptools
ms-
0.23.1

csharp
ms-
1.20.0

Go
ms-
0.11.0

powershell
ms-
2019.5.0

sublime-keybindings
ms-
4.0.0

debugger-for-chrome
msj
4.11.5

language-vscode-javascript-angular2
nwa
0.0.11

vscode-yaml
red
0.4.1

jenkinsfile-support
sec
0.1.0

markdown-preview-enhanced
shd
0.4.2

vscode-ansible
vsc
0.5.2

HCL
who
0.0.5

jinja
who
0.0.8

Can you please follow the steps in https://github.com/Microsoft/vscode/wiki/Native-Crash-Issues to get at more details around the crash and attach the result here? Thanks!


Add Support for Resque Delta

It would be nice if we could chose between using DelayedJob or Resque for Delta Updates

Is this still working? Seems like there is nothing going on in my queue and the index is not updated.
Here is my config:
gem 'thinking-sphinx'
gem 'flying-sphinx'
gem 'ts-resque-delta', git:'git://github.com/freelancing-god/ts-resque-delta.git', branch: 'fs-delta', require: 'flying_sphinx/resque_delta'
define_index do
set_property :delta => (Rails.env.production? ? ::FlyingSphinx::ResqueDelta : true)
end

Hi Marcel
I can't think of why this isn't working... can you contact me directly (or via http://support.flying-sphinx.com) with your app's name so I can investigate further? Have you had it working in the past?

Oh snap Pat, i was on the wooden plan without delta indexing support ;)


[FEA] Allow Host Spilling to be more dynamic

Is your feature request related to a problem? Please describe.
Recently new code was added to branch-0.3 to allow spilling from the GPU to the CPU for things like GpuCoalesceBatch  The issue is that the default amount of memory allocated on the host for spilling is only 1GB and it is common to be able to have a buffer that is larger than that.  This means that even though we could spill to host memory we cannot for any buffer larger than the current allocated buffer size.
Describe the solution you'd like
If the buffer is larger than we can accommodate it would be nice if the RapidsHostMemoryStore would allocate a temporary buffer to hold the data and then instantly start to spill it to disk. Ideally for flow control we would allow only one of these to be outstanding at a time.
Describe alternatives you've considered
We could leave it as is, but then users will likely have to reconfigure their job by default to have it run correctly instead of just crashing with a different memory error.

rapids-0.3 will support spilll to host-memory ?
When Gpu OPs like GpuSort, GpuHashJoin, GpuWindow will support?

When Gpu OPs like GpuSort, GpuHashJoin, GpuWindow will support?

@JustPlay
GpuSort, GpuHashJoin, and GpuWindow are going to take a lot more work for them to truly function properly. They are going to require a change in their algorithm to work, which will likely slow down the rest of the processing too.  So we need to do it carefully.


test:add mutex socket syscall directory

Summary
add mutex socket syscall test directory.
some test cases have been added that cover the functionality of fs, mutex, pthread, socket, and syscall.
Impact
Testing

Thank you @txy-21, please update PR description it does not seem to match PR content..?

Thank you @txy-21, please update PR description it does not seem to match PR content..?

Do you need update Make.defs and CMakelist.txt?

Lets try the build :-)

Sorry @txy-21 I think rv-virt:citest might be failing due to this PR, could you take a look? Thanks!
https://github.com/NuttX/nuttx/actions/runs/12390461445/job/34585612917#step:7:88
Configuration/Tool: rv-virt/citest
kernel/fs/cases/fs_fsync_test.c: In function 'test_nuttx_fs_fsync02':
Error: kernel/fs/cases/fs_fsync_test.c:140:20: error: format '%llu' expects argument of type 'long long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Werror=format=]
  140 |   syslog(LOG_INFO, "the fbsize = %"PRIu64",buffer size=%d\n",
      |                    ^~~~~~~~~~~~~~~~
  141 |         statfsbuf.f_bsize, bufsize);
      |         ~~~~~~~~~~~~~~~~~
      |                  |
      |                  size_t {aka unsigned int}


Magus Manga Page Domain Changed

Source information
Magus Manga 1.4.43
Source language
English
Steps to reproduce

Select any manga on the Magus Manga extension
Click on any chapter to attempt reading

Expected behavior
The first page of the chapter should load and let you begin reading.
Actual behavior
None of the pages load. 'Open in Webview' shows that the extension is looking to 3xfsjdlc.is1.buzz for pages, but Magus Manga's site (via inspect element) gets its pages from imageserver.is1.buzz.
Mihon/Tachiyomi version
0.15.3
Android version
Android 12
Other details
Seems similar to #5592; likely that Magus Manga changed CDNs again.
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

Magus Manga extension's latest version is 1.4.43 so there is no update to pull, clearing chapter cache did not fix the issue. And while I'll consider doing that, using Tachiyomi isn't the source of the issue.

For some reason the extension update wasn't showing even after checking for updates, it just showed up. That fixes the issue, many thanks and sorry for the confusion.


MAISTRA-2558 regenerate CRDs as v1 instead of v1beta1

Signed-off-by: rcernich<EMAIL_ADDRESS>

@dgn, are you okay with this?

@dgn, are you okay with this?

absolutely! sorry for the delay


REVERSEASTACK.CPP

Screenshot of code and output are attatched-

Output

Thank You!!

#63 Done!!


Use publickey.js to search public keys

I'd like to request that you allow searching for public keys in SKS-keyserver pool and Keybase. It would be helpful to be able to find others just based on their email/twitter/github/etc.
https://github.com/diafygi/publickeyjs

Hi,
Sorry I missed this comment, and thanks for the feedback.
I've considered this. The problem is it would break my security model. Basically I prevent the browser from contacting external sources for data to provide some confidence that pgp.help is not stealing your data. See here: https://github.com/Gaff/pgp.help/blob/master/README.md
What I could do is provide a gateway hosted on an alternative domain (lookup.pgp.help?) that searches the keyserver and then links to pgp.help itself. How does that sound? Do you think there's much demand for it?

Incidentally you could easily do this in your demo. If you pass pgp.help a URL encoded PGP key (yes, it's going to be ugly, I know) it will open it up, like so:
https://pgp.help/#/permalink?pgp=-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: OpenPGP.js v1.2.0
Comment: https:%252F%252Fpgp.help

xsBNBFW7TH8BCADccz73OFQprAsBLNTFNZFTPzDUbmwKn5BMFFK7rYf7v8Gj
PyYQrl9DupBTiP6ISyTIvn%252FpT0%252F%2BG1yTYzliej4UZP7LOUz%2Bpg59%252FX2JP7Ko
3UzH9qoO3FYXl85ok%252FdaSNRt0VrKSoGcMuoLw7CT48hHZdIXSwoPFP%252F%252Fn8Qo
3u1J3LghZQLPdnZfWHPA6ZKLvcgQaByCABsRrH7L75%2BQw49Wb3VeBiE5u26E
j3NXUc1GskMvFHp8pUnfzFxF4sCzk%252Fo%2BzqJW8NtIje48beufH4eMBF2NK6nF
1Et8ESCM7jE10rpWm%2Bnsl8lMooQEbUXoMp2z2s2zuYmaiV%2BONaa3UT6fABEB
AAHNGVBncCBIZWxwIDxoZWxsb0BwZ3AuaGVscD7CwHIEEAEIACYFAlW7TIAG
CwkIBwMCCRAj%252FZ8%2BmwZ1aQQVCAIKAxYCAQIbAwIeAQAApGkIAJCtB3PD5aka
rGPzePxmqc37cpOGx%252FArO8M7ouXDkc75xt3MOMvAFB4y8lytwteXbLG50Kl0
1KHp1NkUEJM0eR8SxGaPipEgN0PRoEDhN8VgR3m4Lq5RlTMFq1yXQgjPGndB
sP%2BKIDSfBEPZOlMW9VgdzThjqj8WqVxvaoRPbazLpS%2BWYrGTx4WjcsoS53ou
b7Fd6rkOdZcbgmUooDHRiNSNJq%2BRCwZnffxLlJQp3r3U0Ll4Mrsb%252FpxcOjde
7Cnc1SildK3m5iIuteGSIl8qXXTidcw5vV9w1xDLu7mPztaXlM72KaVkuhJN
%252FmSaCFTAAgECmvgP88ByG0uDu4SpeFrOwE0EVbtMfwEIAM%252F%2BtJfjT8ER4qe0
VJJPCqAcUffyXyABnN4NymDxz97ol9xwi2boTb2oDtTkAXmTU5pKKOjZFtV1
FizpVemVoGWBnmEZBaOUMZy2qFEIHrPh0OWaiuCSr%2Bm%252FVjvOWota%252F%252FbJZg1H
%252Fo9JaMXSefE%2BlWak%252FBZagMAX%252FEOWUfzYfNSfHViua5HxKA5PoQ7Blcxt7T1f
5427XhoSpZzdbi9XjlYZmFlQ08MYG18wTVa6g8MJ7qr9TIVZPRnSrtE15iP1
8py3tXn97PToLd78ZkTfnlKZwrMxuFHcNCHMpVbEXD6zVWATeMMNRo5an3kg
dE9%2B9odr2zZWdJgnN1PDwbGKeEEAEQEAAcLAXwQYAQgAEwUCVbtMgQkQI%252F2f
PpsGdWkCGwwAAL2qCACSkHd3SDv1XTJJcwsazkXr%2BNMJaNSN7qQFPMboDS0Z
3pX27Rn1ev1UHTqFKBYgogxyeUOnbeXE%2BVAFYuoeNCbFYY1TFhvGVWRax%252Frf
PBuVQ4d1%2Bg87nxSL3JFwvSGzTjPkJiU%2BrGOIkOqYK0JA%252FT8%2BZqrXTQoH2d7i
r1vldA2CakQ%2BMf%2BBjHjG06doQlrbuGBYXLWJbATpcKmK%2B%2BkWaGE01h5rFbx8
JmS3SZME1N2bdm99TJVzbWbHqcJge%252F1lfEY1PecjweX2McXQEVGmZLPdN6dF
HLrZ5SS%252FqnXSXE79odO4Cd%252Fgx1nJrovmut1vZfxh3yyLOnh9%2BBZX%252FNeU9FWu

%3DMMEa
-----END PGP PUBLIC KEY BLOCK-----

No worries, you're more than welcome to set the keyserver as your own domain in the publickey.js library when you initialize it.


ValidationException Not Thrown and Error Messages Not User-Friendly

Issue with Validation in frictionlessdata/datapackage-java
Context
I am using Java 21 and frictionlessdata/datapackage-java to validate a CSV file against a schema defined in a datapackage.json. Here is the setup:
CSV File
firstname,lastname,gender,age
John,Doe,male,30
Jane,Smith,female,25
Alice,Johnson,female,19
Bob,Williams,male,17

###datapackage.json (person.csv)
{
"name": "csv-validation-using-ig",
"description": "Validates Person",
"dialect": {
"delimiter": ","
},
"resources": [
{
"name": "person_data",
"path": "org/csv/person.csv",
"schema": {
"fields": [
{
"name": "firstname",
"type": "string",
"description": "The first name of the person.",
"constraints": {
"required": true
}
},
{
"name": "lastname",
"type": "string",
"description": "The last name of the person.",
"constraints": {
"required": true
}
},
{
"name": "gender",
"type": "string",
"description": "Gender of the person. Valid values are 'male' or 'female'.",
"constraints": {
"enum": ["male", "female"]
}
},
{
"name": "age",
"type": "integer",
"description": "The age of the person. Must be greater than 18.",
"constraints": {
"minimum": 19
}
}
]
}
}
]
}
###Junit Test
---
package csv;

import static org.junit.jupiter.api.Assertions.assertFalse;
import static org.junit.jupiter.api.Assertions.assertNotNull;
import static org.junit.jupiter.api.Assertions.assertThrows;

import java.nio.file.Files;
import java.nio.file.Path;
import java.nio.file.Paths;
import java.util.List;

import org.junit.jupiter.api.Test;

import com.fasterxml.jackson.databind.ObjectMapper;

import io.frictionlessdata.datapackage.Package;
import io.frictionlessdata.tableschema.exception.ValidationException;

class PersonDataPackageValidationTest {

    @Test
    void validateDataPackage() throws Exception {
        // Validate the datapackage.json using the new resource paths
        ValidationException exception = assertThrows(ValidationException.class, () -> this.getDataPackageFromFilePath(
                "org/csv/datapackage.json", true));

        // Assert the validation messages
        assertNotNull(exception.getMessages());
        assertFalse(exception.getMessages().isEmpty());
    }

    public static Path getBasePath() {
        try {
            String pathName = "/src/test/resources/org/csv/datapackage.json";
            Path sourceFileAbsPath = Paths.get(DataPackageValidationTest.class.getResource(pathName).toURI());
            return sourceFileAbsPath.getParent();
        } catch (Exception ex) {
            throw new RuntimeException(ex);
        }
    }

    private Package getDataPackageFromFilePath(String datapackageFilePath, boolean strict) throws Exception {
        String jsonString = getFileContents(datapackageFilePath);
        Package dp = new Package(jsonString, getBasePath(), strict);
        return dp;
    }

    public String convertToJson(List<Object> validationMessages) {
        try {
            ObjectMapper objectMapper = new ObjectMapper();
            return objectMapper.writerWithDefaultPrettyPrinter().writeValueAsString(validationMessages);
        } catch (Exception e) {
            throw new RuntimeException("Failed to convert to JSON", e);
        }
    }

    private static String getFileContents(String fileName) {
        try {
            return new String(TestUtil.getResourceContent(fileName));
        } catch (Exception ex) {
            throw new RuntimeException(ex);
        }
    }
}

---

Issues and Questions
:question: Issue 1: Missing ValidationException for Age Rule

Description:
I have defined a rule in the schema that the age must be at least 19. In the CSV, the person Bob Williams has an age of 17.

Expected Behavior: A ValidationException should be thrown.
Actual Behavior: No exception is thrown.

Question:
Could you guide me on what might be wrong in my configuration or code?

:question: Issue 2: Lack of Specific Error Messages

Description:
Here is an example of the error messages I receive in another scenario:
[{
  "type" : "required",
  "code" : "1028",
  "path" : "$.fields[0]",
  "schemaPath" : "#/properties/fields/items/anyOf/0/required",
  "arguments" : [ "name" ],
  "details" : null,
  "message" : "$.fields[0].name: is missing but it is required"
}]

Description:
The error message does not indicate the specific field or value in the CSV that caused the issue.

Comparison:
The Frictionless Python validator provides more detailed error messages, such as:
{
  "message": "The cell \"\" in row at position \"2\" and field \"firstname\" at position \"1\" does not conform to a constraint: constraint \"required\" is \"True\""
}

Question:
How can I achieve similar specific error messages using datapackage-java to make the validation results more user-friendly?

:question: Request for Guidance

Questions:

Kindly suggest how to fix the issue where the age rule is not triggering a ValidationException.
Please guide me on how to configure or modify datapackage-java to provide detailed error messages like the Frictionless Python validator.

I appreciate any help or guidance you can provide.
---

Please preserve this line to notify @iSnow (lead of this repository)

@iSnow @amercader @akariv
Appreciate any help or guidance you can provide on the above issue.


Reset cached async state on disposing a command

The root cause of issue #971: The cached status of an async operation that is kept in the related connection didn't reset to be ready for the next operation.

Porting more handled exceptions from Net Fx.
Including more traces.

Looks reasonable. Is it worth checking that the cached async state is correctly reset when the connection is returned to the pool?


ls table should not show OWNER and GROUP by default

we show pretty detailed information in ls output by default. this results in pretty heavy tables, especially for user's with long usernames (e.g<EMAIL_ADDRESS>

without OWNER and GROUP

with OWNER and GROUP (this is master as of today):

with OWNER and GROUP (master as of today):


Issue 15

Add take_screenshot_and_crop method.
Need to test in other SOs and resolutions (tested in MAC)

Solves issue #15


Latvian first names

Better list of Latvian first names.

We need a datasource. Future maintainers like you will wonder where this list comes from and if it requires update.

Source: http://vardunozime.lv/ - popular first names in Latvia. And theirs source is The Office of Citizenship and Migration Affairs http://www.pmlp.gov.lv/en/

You didn't understand me. We need a datasource in the code. Please read the contributing guidelines.

Thanks


Excessive strings showing on packaging Skeleton

Current Behavior
pnpm package is showing a lot of =============== MODIFIED String ============== messages
This doesn't seem to be affecting the resultant package.
Steps To Reproduce
No response
Anything else?
No response

Unfortunately I'm not able to reproduce with NPM. Perhaps this is limited to PNPM?

Unfortunately I'm not able to reproduce with NPM. Perhaps this is limited to PNPM?

Given your one of the only PNPM members I've assigned this to you. If you find a fix let me know or send a PR please sir!

And now it's not happening again.


Support Doctrine's new field types datetime_immutable etc.

When defining a field as type: datetime_immutable (new in Doctrine DBAL 2.6: http://docs.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/types.html#datetime-immutable ), I'm getting this error after doing doctrine:schema:update:

[Gedmo\Exception\InvalidMappingException]
Field - [timestamp] type is not valid and must be 'date', 'datetime' or 'time'

The field uses timestampable:
gedmo:
    timestampable:
        on: create

I also need this feature, are you willing to accept a PR to fix the issue?

sure, open a PR on v2.4.x branch. this was introduced recently.


vendor: update helmclient

@fgimenez you can see deps weren't go nuts. e2e is passing so I think it's ok to merge.

Nice thx! <3

Previous e2e went fine https://github.com/giantswarm/chart-operator/pull/52/commits/5ab58246c72c0967b2ad39637009bd684f787681 didn't change anything. Merging.


README.md has dangling reference to .github/workflows/python-package.yml

The reference to python-package.yml seems to be stale as there is no such file .github/workflows/python-package.yml in the hydrated project.
GitHub CI is ready out of the box
Notice that this template contains a .github/workflows directory with a python-package.yml file. Because of this, any project created from this template that uses GitHub as a repository will automatically have CI enabled.
GitHub workflows are extremely useful, for more information, check out the About workflows page.

I think that this ticket is out of date at this point. This PR #84 removed a large portion of the README so that we can avoid keeping two sources of documentation in sync. The documentation on readthedocs (here) is correct.


Model for R9.4?

Hi, I'm very excited to try your algorithm.
I'm just wondering whether you have a model for R9.4 flow cells. "model_NN_6_m6A.pkl" or "mod_NN_6_m6A.pkl" is the one?

mod_NN_6_m6A.pkl is the correct one for R9.4, r95_model_NN_6_m6A.pkl for R9.5.
model_NN_6_m6A.pkl is the default name when you train a new model, but the uploaded version is trained on very limited test data.

I got it, thanks a lot!

Hi ,I don't find the "model_NN_6_m6A.pkl" or "mod_NN_6_m6A.pkl" in the web, how can I download it ?

Sorry about that, I've re-added it as "r94_model_NN_6_m6A.pkl"

thank you very much @al-mcintyre ，it works .
And another problem is the positions.txt file , there seem to be  no mention about method to get it in paper,so how can I get it?


TypeError when running on (possibly invalid) json

I installed the validator via pip and tried to run it on a file I created with a development version of the nf-prov plugin. The following error occured. Any help is welcome :)
rocrate-validator validate ro-crate-metadata.json

Traceback (most recent call last):
  File "/home/paifb01/mambaforge/envs/roc/bin/rocrate-validator", line 5, in <module>
    from rocrate_validator.cli import cli
  File "/home/paifb01/mambaforge/envs/roc/lib/python3.8/site-packages/rocrate_validator/cli/__init__.py", line 15, in <module>
    from .commands import profiles, validate
  File "/home/paifb01/mambaforge/envs/roc/lib/python3.8/site-packages/rocrate_validator/cli/commands/profiles.py", line 24, in <module>
    from rocrate_validator import services
  File "/home/paifb01/mambaforge/envs/roc/lib/python3.8/site-packages/rocrate_validator/services.py", line 39, in <module>
    def detect_profiles(settings: Union[dict, ValidationSettings]) -> list[Profile]:
TypeError: 'type' object is not subscriptable

Upgrading to the latest Python version seems to have fixed the issue for me :)

I suspected that would be a solution :-) What version are you using now?

3.13

Thanks for your feedback.


AUTH_LDAP_GROUP_TYPE = PosixGroupType() causes AssertionError

Environment

Python version:  3.6.6
NetBox version:  2.5.9 (Github HEAD)

Steps to Reproduce
I have a new, fresh NetBox installation with just the admin account added to the system and I am trying to use LDAP authentication. Contrary to the sample configuration my layout requires me to use "AUTH_LDAP_GROUP_TYPE = PosixGroupType()".
See also https://github.com/digitalocean/netbox/commit/6f5c35c2781a1dab157313b1ef87de2ae8de92be#commitcomment-33030014
After removing that line and logging into NetBox with a valid LDAP account once, further login attempts with an unpatched middleware.py work perfectly fine.
Expected Behavior
Users can log ing and appropriate flags will be assigned according to their group membership.
Observed Behavior
As soon as I set this, I was getting an AssertionError upon every login attempt.
Traceback:

File "/usr/local/lib64/python3.6/site-packages/django/core/handlers/exception.py" in inner
 34.             response = get_response(request)

File "/usr/local/lib64/python3.6/site-packages/django/core/handlers/base.py" in _get_response
 115.                 response = self.process_exception_by_middleware(e, request)

File "/usr/local/lib64/python3.6/site-packages/django/core/handlers/base.py" in _get_response
 113.                 response = wrapped_callback(request, *callback_args, **callback_kwargs)

File "/usr/local/lib64/python3.6/site-packages/django/views/generic/base.py" in view
 71.             return self.dispatch(request, *args, **kwargs)

File "/usr/local/lib64/python3.6/site-packages/django/utils/decorators.py" in _wrapper
 45.         return bound_method(*args, **kwargs)

File "/usr/local/lib64/python3.6/site-packages/django/views/decorators/debug.py" in sensitive_post_parameters_wrapper
 76.             return view(request, *args, **kwargs)

File "/opt/repo-netbox/netbox/users/views.py" in dispatch
 29.         return super().dispatch(*args, **kwargs)

File "/usr/local/lib64/python3.6/site-packages/django/views/generic/base.py" in dispatch
 97.         return handler(request, *args, **kwargs)

File "/opt/repo-netbox/netbox/users/views.py" in post
 48.             auth_login(request, form.get_user())

File "/usr/local/lib64/python3.6/site-packages/django/contrib/auth/__init__.py" in login
 108.         request.session.cycle_key()

File "/usr/local/lib64/python3.6/site-packages/django/contrib/sessions/backends/base.py" in cycle_key
 300.             self.delete(key)

File "/usr/local/lib64/python3.6/site-packages/django/contrib/sessions/backends/db.py" in delete
 103.             self.model.objects.get(session_key=session_key).delete()

File "/usr/local/lib64/python3.6/site-packages/django/db/models/base.py" in delete
 919.         return collector.delete()

File "/usr/local/lib64/python3.6/site-packages/django/db/models/deletion.py" in delete
 317.                             sender=model, instance=obj, using=self.using

File "/usr/local/lib64/python3.6/site-packages/django/dispatch/dispatcher.py" in send
 175.             for receiver in self._live_receivers(sender)

File "/usr/local/lib64/python3.6/site-packages/django/dispatch/dispatcher.py" in <listcomp>
 175.             for receiver in self._live_receivers(sender)

File "/usr/local/lib64/python3.6/site-packages/django/utils/functional.py" in _curried
 14.         return _curried_func(*args, *moreargs, **{**kwargs, **morekwargs})

File "/opt/repo-netbox/netbox/extras/middleware.py" in _record_object_deleted
 34.     assert request.user.is_authenticated

Exception Type: AssertionError at /login/

Request information:
USER: AnonymousUser

GET: No GET data

Thank you for your interest in NetBox. GitHub issues are intended for reporting reproducible bugs and requesting features, and must be submitted using one of the templates provided here. For general discussion, questions, or assistance with installation issues, please post to our mailing list instead.


Feature request: Make sqlite parameters user-configurable

It would be great if certain sqlite parameters, e.g. cache_size were user-configurable (or alternatively, auto-adjusted / dynamic). These parameters usually depend on the current hardware and the type of work the given pb instance will execute.

I'm curious if anyone has done some benchmarks or tests about these settings.

@mlusetti  > I'm curious if anyone has done some benchmarks or tests about these settings.
SQLite is extremely robust by default and there is a lot of research available of it's capabilities and limitations,
however SQLite does provide many lesser utilized optimization, storage usage, and performance configuration techniques. Some features are here:
This document describes limitations of SQLite (the maximum length of a string or blob, the maximum size of a database, the maximum number of tables in a database, etc.) and how these limits can be altered at compile-time and run-time.
https://www.sqlite.org/limits.html
SQLite is safe to use in multi-threaded programs. This document provides the details and hints on how to maximize performance.
https://www.sqlite.org/threadsafe.html
Unlock Notify → The "unlock notify" feature can be used in conjunction with shared cache mode to more efficiently manage resource conflict (database table locks).

@mlusetti > I'm curious if anyone has done some benchmarks or tests about these settings.
[..]
Unlock Notify → The "unlock notify" feature can be used in conjunction with shared cache mode to more efficiently manage resource conflict (database table locks).

Hi Brett, I'm well aware of the capabilities of SQLite and have read some papers, even some you linked.
My question was more about what gains could these configurable settings bring to pocketbase usage. Mine was just curiosity if there's anyone who have done some measurements about it.

If it's easier, I'd be interested in injecting my own sqlite connection into the bootstrap process. One use case would be configuring the sqlite params. Another would be to use something like https://github.com/psanford/donutdb or https://rqlite.io

Old issues cleanup: option to specify custom sqlite parameters or custom drivers is added in the develop branch via the pocketbase.Config.DBConnect field (you can find a libsql example in https://github.com/pocketbase/pocketbase/discussions/5611). It will be documented and available as part of the upcoming v0.23.0 release (there are no ETAs yet).


Issue with Flash of White on restoring history tabs or Window Open in Chrome

Description:
I am experiencing an issue with Chrome when using the theme. Every time I either reopen a closed tab using the Ctrl + Shift + T shortcut or open a new window, there is a brief but noticeable flash of white before the dark theme is applied. This sudden flash of bright light is particularly jarring and uncomfortable, especially in a low-light environment.
chrome version: 119.0.6045.124
Steps to Reproduce:
Apply the theme to Chrome.
Close a tab or window.
Reopen the tab using Ctrl + Shift + T or open a new window.
Expected Behavior:
The new tab or window should open with the dark theme applied immediately, without any prior flash of white.
Actual Behavior:
There is a flash of white on opening a new tab or window before the theme loads, causing a discomforting glare.
I don't know whether it is a theme-related issue or a browser-related issue, but it would be greatly appreciated if this could be looked into.
Thank you for your attention to this matter.

@Freddd13 This does not happen here, it is probably something related to the version of Chrome you are using, a disabled hardware acceleration case or if you are using Linux, it could be something with Chrome itself.


Implemented export hub sites details script using SPO.

Implemented export hub sites details script sample using SPO management shell.

Thank you for the alternative script :-) - this will be live soon 😁


Ensure we bundle a copy of every license used by 3rd-party dependencies into our container image.

Context
While we currently generate our SBOM to track used dependencies and their licenses, we don't include copy of each of those licenses. We should do that, as doing so ensures that there's no confusion over what the license's terms are at the time the image was built, and it also ensures we're satisfying the relevant clause in some licenses that require a copy of the license to be included with usages or derivative works, etc.

A note: we might end up needing to depend on something like https://github.com/spdx/license-list-data, since I could foresee scenarios where we can't simply grab the license file from the code dependencies themselves. This would at least mean we have a consistent (and trustworthy) source to pull the license files from, although we would end up needing to do a little bit of parsing of LICENSE-3rdparty.csv to build the list of licenses to copy...
Anyways.

Actually keeping this open because our current solution captures like 95% of what we need, but we still need to handle some other areas / scenarios:

custom licenses (sometimes denoted via the Custom SPDX identifier; relevant to ring)
paying attention to whether or not a dependency specifies license or license-file in Cargo.toml (since license-file would be a good heuristic to treat as "this might be custom, so just copy it directly")
considering if there's relevant copyright notices to copy over above and beyond the straight SPDX identifier-based license


Some edge cases

I'm thinking about a few edge cases and I'm interested in your insights.
Would this detect the movement correctly in case the whole scene gets suddenly saturated?
The next is a rain.
In case of a weak rain some simple filtering could work - either blur or median. But what about a heavy rain? Would it detect movement all over the image?

If the image gets saturated, then my guess is it would think there was movement everywhere.  But this would depend on the level.  You'd have to try it.
For rain, it will also depend on what size you choose for the thumbnail dimensions.  The larger the size, the better chance it will accidentally notice the rain.  With smaller thumbnails, then chances are it will skip any rain once the image has been resized.
Blur is normally not necessary, since the library only works with very small thumbnail images.  But again, try it and let us know if/when it helps.


Fix hub list deletion

🚀 🚀 Pull Request
Checklist:

[ ]  My code follows the style guidelines of this project and the Contributing document
[ ]  I have commented my code, particularly in hard-to-understand areas
[ ]  I have kept the coverage-rate up
[ ]  I have performed a self-review of my own code and resolved any problems
[ ]  I have checked to ensure there aren't any other open Pull Requests for the same change
[ ]  I have described and made corresponding changes to the relevant documentation
[ ]  New and existing unit tests pass locally with my changes

Changes
Properly removes Hub dataset from the backend when 'force=True' so that it doesn't show up in hub.list anymore.

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

@AbhinavTuli Is there a AL ticket associated with this PR?

@AbhinavTuli Is there a AL ticket associated with this PR?
Here you go:- JIRA

@AbhinavTuli That should be indicated in the PR.


Add Final Fantasy 8

For issue: https://github.com/philipguin/JpdbGameDecks/issues/2
Note I have not run the jekyll environment/pre-commit hooks (etc.) for this as I am running Windows and it's a right pain in the butt to set all that up.
If it's an issue I can get a docker environment going for this repo, but it hardly seems worth it for a single submission.

Looks good afaict! Especially if you got everything in the input text mostly in order. I usually only do separate decks when I have separate walls of text that are painful to splice together. (Like "All Items" vs "Story".)
Yeah jekyll is a PITA to set up, not expecting you to do that. But pre-commit should only require python and pip, right? And that makes sure it won't break the website.
In any case I can handle that myself, so I'll get this in asap. Thank you!

Yeah the source I used had chapter splits, loosely based on the missions in the game (which is how I'm using it to learn a bit at a time instead of all at once) - but wasn't worth the hassle.
I haven't really used githooks (or really, python) much, might give it a bit of a play if I'm feeling motivated - but if you're already set up for it (obviously you are), easy for you to just get it in and merged.

It's in! Thank you!
But yeah, all you do is pip install requirements.txt then pre-commit install and you're good to go, just gotta have python installed.


Unify tab close button styles with Chrome

closes #64

Thanks a lot for this PR, and apologies for taking so long to review it!  I gave this a try locally on my current development branch (ts-port).  For me this appears as a small circle highlight at just the center of the 'X'  on mouse over. While it's a cool effect, it doesn't appear to match what Chrome does on mouse-over on the close icon on a tab.  I'm in the process of re-vamping icon handling to use SVG instead of image-based icons, so I'm going to hold off on merging this PR for now. I hope that's OK and this won't dissuade you from contributing in the future; I really do appreciate the contribution.

Hi Antony, been awhile since I opened this. In the meantime I've really enjoyed using Tabli especially with the latest updates (Dark mode 🙌). I was wonderng what channels I could reach you at to get some feedback on my résumé?


Remove the execinfo capability

re: Issue https://github.com/Unidata/netcdf-c/issues/2766
This attempt to programmatically dump stack never worked, so it is time to kill it off.

lgtm. thanks!


MacOS Ollama not binding to <IP_ADDRESS>

What is the issue?
So when set the OLLAMA_HOST to <IP_ADDRESS>, I cannot access Ollama via the IP, but I can still access it via localhost.
What did you expect to see?
I expect it to be available under :11434
Steps to reproduce
No response
Are there any recent changes that introduced the issue?
No response
OS
macOS
Architecture
arm64
Platform
No response
Ollama version
0.1.31
GPU
Apple
GPU info
No response
CPU
Apple
Other software
No response

Do you see this in your log?
time=2024-04-11T08:26:43.688-04:00 level=INFO source=routes.go:1139 msg="Listening on [::]:11434 (version 0.1.32-rc1)"

I don't!
`❯ cat ~/.ollama/logs/server.log | grep -i listening
time=2024-04-10T21:12:53.994+02:00 level=INFO source=routes.go:1118 msg="Listening on <IP_ADDRESS>:11434 (version 0.1.31)"
time=2024-04-10T21:14:45.409+02:00 level=INFO source=routes.go:1118 msg="Listening on <IP_ADDRESS>:11434 (version 0.1.31)"
time=2024-04-10T21:17:09.948+02:00 level=INFO source=routes.go:1118 msg="Listening on <IP_ADDRESS>:11434 (version 0.1.31)"
time=2024-04-10T21:31:55.355+02:00 level=INFO source=routes.go:1118 msg="Listening on <IP_ADDRESS>:11434 (version 0.1.31)"
~
❯ echo $OLLAMA_HOST
<IP_ADDRESS>
`
I did the launchctl setenv thing, and I see the OLLAMA_HOST in any given terminal, but apart from that Ollama does not seem to care...

restarted the server after running launchctl setenv OLLAMA_HOST "<IP_ADDRESS>" ?

Restarted the server and restarted my Mac.

@kellerkind84 is this working now? It's covered in the FAQ. As @dims mentioned, just:

stop the ollama application;
run launchctl setenv OLLAMA_HOST "<IP_ADDRESS>"
restart ollama
check in ~/.ollama/logs to see if "Listening on [::]:11434" is in one of the log files

Make sure you're looking in the last log file for step 4.

What? Why would it be working now? I clearly stated twice that I did both steps and it does not work? Did you change something?

@kellerkind84 no, it was unclear from your message. I just tried the steps and it works fine, so I'm having problems reproducing what you're seeing. What version of MacOS are you using?

@kellerkind84
Having a space after env variable can cause issues ollama starting on global interface
On windows this:-
'set OLLAMA_HOST=<IP_ADDRESS>:8080 && ollama serve'
fails with error Error: listen tcp: lookup tcp/8080 : unknown port
But explicitly setting  variable using 'set OLLAMA_HOST=<IP_ADDRESS>:8080' and then ollama serve works properly

Yeah that should not have happened. But these lines are a starting point to find out what is wrong... my default shell is not exactly standard. So I'll test from the command line, maybe I'll get some helpful output. On Monday, though.

Alright, I had another look, fixed an error on my shell loading and even switched back to zsh. However, still not working when I start via the "app".
That said, simply running "ollama serve" works. Don't have to set the environment variable or anything.
It's an interesting workaround and working for now, but something does not work as expected here either way.

I had the same issue.
Ollama on my mac mini stopped advertising the port 11434 to Tailscale.
I think it happened on upgrade from v0.1.31 to v0.1.32 as I was using ollama via tailscale without issue.
My setup is ollama installed via homebrew on m1 mac mini.
(fyi remember homebrew uses different directories for intel v apple silicon https://docs.brew.sh/Installation)
What seems to have worked for me is to update environment variable in:
/opt/homebrew/opt/ollama/homebrew.mxcl.ollama.plist
Steps I took that resolved issue:

Check open ports with lsof -i -P | grep LISTEN
In my case ollama was listed as TCP localhost:11434 (LISTEN)
instead of the desired TCP *:11434 (LISTEN)

update the homebrew.mxcl.ollama.plist:
nano /opt/homebrew/opt/ollama/homebrew.mxcl.ollama.plist

Add the environment variable lines in plist format:
<key>EnvironmentVariables</key>
<dict>
    <key>OLLAMA_HOST</key>
    <string><IP_ADDRESS></string>
</dict>

Restart ollama via brew services brew services restart ollama

On checking the open ports again it's now listed as desired TCP *:11434 (LISTEN)
Checking Tailscale admin page > machines (mac mini) > 'services'  and port 11434 is now listed.

Thanks for the Tipp! I actually installed via download, but I might make the switch to homebrew. I was not even aware that ollama was available via homebrew.

Yeah that did the trick, thanks!

Restart ollama via brew services brew services restart ollama

In my own experience, brew services restart ollama won't work again after Mac reboot. I have to brew services stop ollama first, then brew services start ollama to get the plist reloaded.

I'm going to go ahead and close this since there is a workaround. There are some changes coming for the mac version which will let you set this through a setting by clicking on the tray icon which should make everything a lot easier.

I'm going to go ahead and close this since there is a workaround. There are some changes coming for the mac version which will let you set this through a setting by clicking on the tray icon which should make everything a lot easier.

There are two ollamas in brew, only the cask version has the menu icon(tray).

I'm going to go ahead and close this since there is a workaround. There are some changes coming for the mac version which will let you set this through a setting by clicking on the tray icon which should make everything a lot easier.

Is there something we can track for that? It may be worth creating an "issue" with a feature request for it so we can subscribe to it

Hi is this bug still exists? I downloaded Ollama from website and directly install it, but seems like it still does not listen "<IP_ADDRESS>" even if I tried to use "launchctl setenv OLLAMA_HOST "<IP_ADDRESS>""

I think so, yes... my ollama does not bind to <IP_ADDRESS> anymore.

It seems that with every update to ollama (cli version) via homebrew the plist /opt/homebrew/opt/ollama/homebrew.mxcl.ollama.plist is overwritten.
I have to do the work around I mention above after each update.
If anyone finds a persistent solution that would be helpful.

For those who are still trying to reopen this issue. Please read and try this first.

For those who are still trying to reopen this issue. Please read and try this first.

Wow: The whole issue is, that exactly this is not working for 0.3.12.
So it's not solved and there is no issue linked to track the solution. Very sad.

For those who are still trying to reopen this issue. Please read and try this first.

See, that's the Chinese, they always miss the point, being impatient and arrogant.

Better than racist.
Dasein @.***>于2024年11月29日 周五10:35写道：

For those who are still trying to reopen this issue. Please read and try
this https://github.com/ollama/ollama/blob/main/docs/faq.md first.
See, that's the Chinese, they always miss the point, being impatient and
arrogant.
—
Reply to this email directly, view it on GitHub
https://github.com/ollama/ollama/issues/3581#issuecomment-2506986641,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQU54H4KQOPWIQMQS4B6B32C7HHFAVCNFSM6AAAAABGBA4C22VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBWHE4DMNRUGE
.
You are receiving this because you commented.Message ID:
@.***>

With 0.4.6 it's working now.
But beware, the command launchctl setenv OLLAMA_HOST <IP_ADDRESS> has to be executed in the same session (or whatevever it is called on MacOS) as the ollama application. It's not enough, to be the same user. So you have to use the desktop terminal app and not for example a ssh session to enter the command!

Because I am a very curious person, I installed version 0.3.12 again and lo and behold, it works there too. So I most likely did not execute the launchctl command on the desktop during testing, but in the ssh session.
So, to be clear, both with 0.3.12 and with the current version 0.4.6, the server binds to the address set with launchctl for the environment variable OLLAMA_HOST if (and only if) the launchctl command is executed in the same context as the application, i.e. in a terminal running in the desktop environment. This is only for the current session and not permanent!
It seems not to be easy, to permanently set the variable. The best I could find for now is this guide: MacOS Environment Variables

The real problem is that ollama, installed via Homebrew, can't set the environment variable using launchctl setenv OLLAMA_HOST <IP_ADDRESS>, above https://github.com/ollama/ollama/issues/3581# issuecomment-2065820641 I tried that too, but it doesn't work, it seems that ollama is separate from the services managed by Homebrew.

I have not examined the homebrew installation, but would think that ollama is either not installed as a launchd agent/daemon or in a different "session"; for example in the system session, but I don't know the systemctl incantation for another session. So you have to look into the start process for the homebrew installation and find out how to set the environment variable for this specific case.

You can try to launch Ollama at startup after a delay.
Step 1: Create a launch daemon plist
Step 2: Copy the file to two locations:
/Library/LaunchDaemons/
~/Library/LaunchAgents/
mac os will automatic add this to startup items.
Step 3: To launch Ollama after a 10 second delay, Open Script Editor and create the simple AppleScript file
delay 10
tell application "Ollama" to run
In the File menu choose Export, and then export it as type “Application” and name it “LaunchOllamaDelay”. Save it to your user Applications folder.
In System Settings go to Login Items and add the LaunchOllamaDelay application to the startup items. Also remove any existing Ollama startup item.
Now when you restart and sign in, Ollama will launch after 10 seconds which should be enough time for the Launch Agent to have executed. And if Ollama updates itself in the future it should also just work when it restarts.
It's work on sequoia

guys, try this.
https://github.com/hschmidt/EnvPane


remote interface

Pull in microserver and make a VERY simple interface to :

Add videos via desktop
List and watch
control from device (not done moved to #28)

possibly make a browser app that can send ip multicast messages to get the local ip of the device

try to implement with kmm/ktor as aprt of #130
issue getting server to run properly
https://stackoverflow.com/questions/67712441/ktor-full-stack-app-cant-find-app-js-frontend-to-serve

done in issue #130 pr #184


Container dies in simultaneously queries

Hello,
I have a scenario of an application that executes some queries simultaneously within a panel.
Running the application in a container, after a few requests, the container dies.
When debugging locally, the debug does not die, but some exceptions from the DuckDB lib occur.
The error message is "The external component threw an exception."
Here are some stacks of the error I captured locally:
in DuckDB.NET.NativeMethods.PreparedStatements.DuckDBExecutePrepared(DuckDBPreparedStatement preparedStatement, DuckDBResult& result)
in DuckDB.NET.Data.PreparedStatement.Execute(DuckDBParameterCollection parameterCollection)
in DuckDB.NET.Data.PreparedStatement.PrepareMultiple(DuckDBNativeConnection connection, String query, DuckDBParameterCollection parameters)
--- End of stack trace from previous location ---
in DuckDB.NET.Data.PreparedStatement.PrepareMultiple(DuckDBNativeConnection connection, String query, DuckDBParameterCollection parameters)
in DuckDB.NET.Data.DuckDbCommand.ExecuteNonQuery()
in UpFlux.Data.Olap.EventLogOlapRepository.CreateTempDataTable(String processId, SqlBuilder builder) em C:\Users\MiguelSilveiraJunior\Desktop\source\upflux\upflux-platform-v4\src\UpFlux.Data\Olap\EventLogOlapRepository.cs:linha 124
in UpFlux.Data.Olap.EventLogOlapRepository.ExecuteHistogramLoader(SqlBuilder parentQuery, KpiComponent component, ProcessConfiguration config) em C:\Users\MiguelSilveiraJunior\Desktop\source\upflux\upflux-platform-v4\src\UpFlux.Data\Olap\EventLogOlapRepository.cs:linha 401
in UpFlux.Service.Implementation.OLAP.SqlAnalysisViewService.ProcessComponent(SqlBuilder builder, KpiContext kpiContext, KpiComponent component, ProcessConfiguration processConfiguration, String notificationGroupName, String tableName) em C:\Users\MiguelSilveiraJunior\Desktop\source\upflux\upflux-platform-v4\src\UpFlux.Service\Implementation\OLAP\SqlAnalysisViewService.cs:linha 131
Second stack:
 in DuckDB.NET.NativeMethods.PreparedStatements.DuckDBExecutePrepared(DuckDBPreparedStatement preparedStatement, DuckDBResult& result)

in DuckDB.NET.Data.PreparedStatement.Execute(DuckDBParameterCollection parameterCollection)
in DuckDB.NET.Data.PreparedStatement.PrepareMultiple(DuckDBNativeConnection connection, String query, DuckDBParameterCollection parameters)
--- End of stack trace from previous location ---
in DuckDB.NET.Data.PreparedStatement.PrepareMultiple(DuckDBNativeConnection connection, String query, DuckDBParameterCollection parameters)
in DuckDB.NET.Data.DuckDbCommand.ExecuteDbDataReader(CommandBehavior behavior)
in DuckDB.NET.Data.DuckDbCommand.ExecuteScalar()
in UpFlux.Data.Olap.EventLogOlapRepository.ExecuteScalar[T](String processId, SqlBuilder builder) em C:\Users\MiguelSilveiraJunior\Desktop\source\upflux\upflux-platform-v4\src\UpFlux.Data\Olap\EventLogOlapRepository.cs:linha 884
in UpFlux.Data.Olap.EventLogOlapRepository.GetMaxValue(String processId, SqlBuilder query, KpiHistogram histogram) em C:\Users\MiguelSilveiraJunior\Desktop\source\upflux\upflux-platform-v4\src\UpFlux.Data\Olap\EventLogOlapRepository.cs:linha 928
in UpFlux.Data.Olap.EventLogOlapRepository.ExecuteHistogramLoader(SqlBuilder parentQuery, KpiComponent component, ProcessConfiguration config) em C:\Users\MiguelSilveiraJunior\Desktop\source\upflux\upflux-platform-v4\src\UpFlux.Data\Olap\EventLogOlapRepository.cs:linha 403
in UpFlux.Service.Implementation.OLAP.SqlAnalysisViewService.ProcessComponent(SqlBuilder builder, KpiContext kpiContext, KpiComponent component, ProcessConfiguration processConfiguration, String notificationGroupName, String tableName) em C:\Users\MiguelSilveiraJunior\Desktop\source\upflux\upflux-platform-v4\src\UpFlux.Service\Implementation\OLAP\SqlAnalysisViewService.cs:linha 131
Can you tell me what could be happening?
Initially, the DuckDBExecutePrepared method is being called on both stacks and is the central point of the exception.
Thanks.

Hi,
I created a code example of the problem you are experiencing. First it throws a SHEException exeption, we handle this error with retry, and then it throws an AggregateException exeption, locally it does not kill the debug instance, which is a web instance, but if it is in a container it kills the container.
Link -> https://github.com/zehmigueljr/DuckDbError

The connection object isn't thread safe. You should create a new connection for each thread.

Ok, I tested this code I made for testing and it really worked, but it raised a question, should this exception that it throws in this situation kill the container?

If the container is killed by unhandled exception, I can't do anything about it.

Ok, Thanks @Giorgi


Discord: add patch for discord.

Motivation for this change
Crostini compatibility
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions (Crostini)

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

I feel like the wiki page described above is fine. I'll approach rycee/home-manager and add a module for crostini I think.
There weren't many things that required changes, but I'll add them into the module too.


[Ignore] Testing Gitter integration

Also, to anyone watching who doesn't know: We have a gitter room now at https://gitter.im/python-urllib3/Lobby, come join.

Looks like it works!


update architecture diagram and add Jaeger certification

Description
Update architecture diagram and add Jaeger certification
Merge requirements
Please take into account the following non-code changes that you may need to make with your PR:

[ ] CHANGELOG entry for user-facing changes
[ ] Updated the relevant documentation

Can you include changes from https://github.com/timescale/promscale/pull/1704 as well?

@arajkumar can you take another look? I'm deprioritizing Zipkin and highlighting Jaeger more.


Prevent errors on private methods

Use is_callable to prevent errors if a method is private.

in which case does the current code produce an error?

If for whatever reason in the codebase the setter is a private method, this will still try and call it producing an error

Still unclear to me. Can you add a failing test case to demonstrate the problem ?

Are there any tests around doctrine population at all?

probably not. But please paste a code sample here for me to understand.

so take some Doctrine model like the below, for some reason within the codebase the setName method has been set to private - perhaps it's only ever called in the constructor and not meant to be called outside of it. This will currently cause an error when using Faker\ORM\Doctrine\Populator as it is automatically counting a method beginning with set as publicly available.
<?php
class Product
{
    /**
     * @var int
     */
    protected $id;
    /**
     * @var string
     */
    protected $name;

    public function getId()
    {
        return $this->id;
    }

    public function getName()
    {
        return $this->name;
    }

    private function setName($name)
    {
        $this->name = $name;
    }
}

Thanks!


Fix sns.add_permission & remove_permission

The whole permission handling was wrongly implemented. If you add or remove a permission it changes the access policy of the topic. I also changed the default policy to the correct one and create it with the correct region and account id. Additionally I added more tests and some extra error handling.

Coverage decreased (-0.05%) to 93.549% when pulling 6b7294a018c44b522c7db47c43591940cdcf3364 on edekadigital:fix-sns-permissions into 6b67002a4290a814163a682503338217bd9cfc89 on spulec:master.

Coverage decreased (-0.05%) to 93.549% when pulling 6b7294a018c44b522c7db47c43591940cdcf3364 on edekadigital:fix-sns-permissions into 6b67002a4290a814163a682503338217bd9cfc89 on spulec:master.

Looks great!


gh-860: Update all to semi-technologies

Once, we've merged this I'll reflect the changes in semi-technologies/weaviate-helm.

Update, docker-compose test setup failing with:
Creating network "weaviate_default" with the default driver
Pulling janus (semi-technologies/janusgraph-docker:0.3.1)...
ERROR: The image for the service you're trying to recreate has been removed. If you continue, volume data could be lost. Consider backing up your data before continuing.


Is there any other way to accelerate dashboard?

I deploy some charts about san_francisco in the following link
http://<IP_ADDRESS>:5000/superset/dashboard/3/
I have used redis in config.py
but it takes about 17 seconds to show all contents.
Is there any other way to accelerate it?
Thanks

my whole config file is :
https://paste.ubuntu.com/p/wMCdHYxpJb/
Thanks for your help

@appleyuchi there is a lot at play here. The fastest way to make a dashboard load faster is to use a faster database. Which database are you using?

@appleyuchi there is a lot at play here. The fastest way to make a dashboard load faster is to use a faster database. Which database are you using? How fast do your queries run on that db vs superset? Answering this should help narrow down whether the issue is with superset or with your underlying database.

Thanks for your replies
I use mysql now
sorry for my late reply.

@appleyuchi the 3 major ways to optimize dashboard (excluding possibility with some issue with configurations which I wouldn't know about):

Engine optimization - can you use faster engine (as @nytai  pointed out above)
Query optimization
-- how complex is the SQL of your queries for the dashboard charts?
Dashboard complexity
-- how complex is your dashboard meaning how many total charts do you have on the dashboard? These an initial load time to process metadata of the charts. We have seen in some cases for dashboards with large number of charts, and large amount of metadata (filter scopes, color settings etc) that just this time can go up to 7 seconds. By large number of charts I mean scale of 200 charts on a dashboard.

There is logs table which you can go through to understand little more on where the time is coming from. It should have details on slice_id so you can see which charts are slowest, and the json column I believe should have lot more details.

Also:

summarize the data further - maybe you have a table with billions of rows, but you have an opportunity to create an aggregated table that can power many charts in your dashboard
hard to tell if that's part of the problem for you, but sometimes you're just returning too many rows and putting a burden and the network and user browser. Make sure you don't have lots of charts hitting the 10k row limits or populating millions of cells in in data tables for instance. The general solution there is to group or sort/limit. It's very rare that showing hundreds of thousands of datapoint is actually intelligible


Update OpenWeb Bidder Docs

🏷 Type of documentation

[ ] new bid adapter
[x] update bid adapter
[ ] new feature
[ ] text edit only (wording, typos)
[ ] bugfix (code examples)
[ ] new examples

📋 Checklist

[x] Related pull requests in prebid.js or server are linked -> https://github.com/prebid/Prebid.js/pull/11115
[ ] For new adapters check submitting your adapter docs

Confirmed that @muuki88 's comment has been covered.


[Bug]: Use Case Descriptions Read Poorly

Contact Details
<EMAIL_ADDRESS>Section Number
<IP_ADDRESS>.1
<IP_ADDRESS>.1
<IP_ADDRESS>.1
What is wrong
The use case descriptions do not flow well in paragraph form. Based on the format of the markdown, I am not sure if these were intended to be expressed in paragraph form, or some other format.
Example:  Given an Organization controlling some Patient identifiable Data And they have written and published Patient Privacy Policies And there is no consent on file for a given Patient When they present their Patient Privacy Policies to a given Patient And the Patient either agrees, disagrees, or adds acceptable parameters Then a Consent is captured by the Consent Recorder actor and stored in the Consent Registry
Describe the solution you'd like
Either reformat for rephrase as prose.
Relevant log output
No response
Priority
{"Low"=>"Typo or other minor classification that an editor can manage. Requires no group discussion."}
Code of Conduct

[X] I agree to follow the IHE Code of Conduct

make cucumber look proper


SuggestedCorrection

@bergmeister - I am trying to find your example from PSDay on SuggestedCorrections, I believe it was included in your example of "Invoke-Something"
Could you point me in the right direction?
Thanks!

@mcgurdan
My presentation demos are here and the SuggestedCorrections example specifically  is here


Prepare 2.18.0a0

Internal

Fix partition description for MyPy when multiple resolves (#16486)

Support adding to dict-valued options in config files. (#16481)

Bump generic-array from 0.14.5 to 0.14.6 in /src/rust/engine (#16405)

Bump serde_test from 1.0.137 to 1.0.143 in /src/rust/engine (#16463)

Use a list of requirement constraints for lockfile invalidation (#16469)

Refactor build_pex rule with @rule_helper (#16465)

Add [mypy].extra_type_stubs_lockfile (#16461)

Proposal for a Helm Deployment goal implementation (#15882)

Add support for using environment variables in JVM tests (#16455)

Add PexRequirements.req_strings_from_requirement_fields() (#16460)

Add __default__ symbol to [python].resolves_to_constraints_file (#16452)

Add IBM to user list. (#16457)

Build macos10.15 wheels for all 3 pythons. (#16453)

GenerateToolLockfileSentinel encouraged to use language-specific subclasses (#16449)

[internal] Shell completions fix for Bash (#16442)

[internal] Amend missing timeout field in target generators (#16387)

Add [python].resolves_to_constraints_file (#16420)

Support macOS-10.15 CI on a self-hosted runner. (#16440)

Fix --process-cleanup deprecation. (#16447)

go: add debug goal to show package analysis (#16429)

Allow backend packages to also register remote auth plugins (#16444)

Bump release requirements to macos 11.0 (#16436)

Fix CacheContentBehavior::Defer with a remote cache (#16439)

Use our temporary_dir util in _release_helper.py. (#16435)

This PR is release preparation. Please read over the release notes and make adjustments for clarity for users, such as:

shuffle miscategorised items to a better category (including completely uncategorised items)

fix or improve poor titles, like "fix bug", so they are more accurate or descriptive (check to
see if the PR title is better).

fix typos

Once satisfied, approve and merge, as normal.


502 Bad Gateway Issue visiting https://nftschool.dev/

It seems the document site has encountered a server error.
Visiting main domain and any url results in the following error:

I am visiting from an Australian ISP.

@jenks-guo-filecoin is this still an issue?


changed gradle framework requirements

there is no need for using whole google play services, and its colide with other plugin like google plus.

@moczix Yeah and that would also reduce the build time to some extent


After closing the "terminal"-panel, the resize-cursor is still showing when hovering

VSCode Version:
OS Version:

Steps to Reproduce:

Open new file
Toggle panel (notice it position)
Call "View: Close panel"
Move cursor to it's "start position "

Reproduces without extensions: Yes
I tested this with the panel on the right side.
Windows is not happy with taking screenshots with the cursor, so I could not take a picture.. :/

This is as designed so you can drag it over from being minimized.
If I undrestood your problem correctly, and that is the resize cursor is like that near the status bar when the panel is hidden. Did I understand correctly?

No.
When opened, I can resize:

When it is closed and I move my cursor to the place where it "rendered to" before the cursor is still shown (red stuff in middle is resize-cursor)

Ok good catch, I acknowledge the bug and will look into a fix

It seems like it only a issue on "right" panel's

Exactly, that's why I did not see it until you posted a picture

@isidorn verified, however it looks like the sash is still visible and now all over to the right. I can still get the cursor when I move my mouse all the way to the left but I cannot drag to pull it in:

Maybe we should hide the sash when in this case?

@bpasero agree, we should hide it. Though not something I want to do last minute, reopening and assigning to decmber

@isidorn yeah sounds good


Implement Error and Display for FromStrError and parse::ParseError

I dunno if the detail is enough or too much, I just need an impl of Error for FromStrError. I would also consider this an item for #52.
cc @seanmonstar

Looks great to me, thanks!


feature: graph view

since this is written in Go, need some cross platform UI. probably going to go with a web interface. would consider Qt, but there are currently no maintained bindings.
HTML5 canvas has some really high performance canvas libraries, but its difficult to draw HTML-like objects. would have to re-implement all the primitives to get text and regions, esp. with event handlers. so, need to focus on HTML5 non-canvas interfaces. HTML+SVG+CSS+JS seems like it would be doable. consider this library: https://github.com/ariutta/svg-pan-zoom. the graph view canvas would be an SVG region, with HTML ForeignObjects floating around.
if done right, this UI could be used by multiple backends. need to be careful balancing extensibility/generalism with actually finishing this project. some questions:

who does the layout (backend or frontend? i'd like to write as little JS as possible, but the backend doesn't really make sense)?
what is the contract between the backend and frontend (how much data is initially pushed, and what are the reasonable APIs for the backend? is a complete Lancelot API over HTTP+JSON reasonable?)?
what JS frameworks are the best fit? whats intuitive and still going to be around for a while?

guess this means writing a hex viewer in HTML/JS would also be required. list views seem pretty well covered.

svg canvas with panning and an embedded html element that has an attached click listener: http://jsfiddle.net/167usffr/192/
apparently browsers are not supporting the  HTML5 element, so will have to figure out context menus. also, maybe some framework for dockable windows.


Does this software preclude the need to use the Tile app?

Does this software only work when someone is running the Tile bluetooth app in proximity to the Tile device? Or can it still get some information from the Tile device by itself (like detecting its presence) without an active connection to the Tile bluetooth app?

This library speaks to the Tile cloud API, so in a sense, it requires the Tile app (since that's what Tiles communicate with).

Ahh ok, got it. Thanks!


add more example for add command

add more example for add command
Summary
add more example for add command
Checklist

[x] I submit my changes into the develop branch
[ ] I have added description of my changes into CHANGELOG
[x] I have updated the documentation accordingly
[ ] I have added tests to cover my changes
[ ] I have linked related issues

License

[ ] I submit my code changes under the same MIT License that covers the project.
Feel free to contact the maintainers if that's a concern.
[ ] I have updated the license header for each file (see an example below)

# Copyright (C) 2021 Intel Corporation
#
# SPDX-License-Identifier: MIT

Thank you for contributing to the project!


Use node20

https://github.com/philips-software/app-token-action/issues/291

Thx for the PR. Just created a PR to bump the whole action to node 20. See #293


Add support for JSON.MSET

As defined in https://github.com/RedisJSON/RedisJSON/blob/e4608065002bdf585ad54fbe142e08be18d666a8/commands.json#L142

Coverage: 83.769% (-0.1%) from 83.894% when pulling e9431f788df9fc93076576e777b7117f9f68f063 on main into 538c65946d524f31f4a274504a0de0838ed41ae0 on v2.x.