Normalizer in VADER not really bounding output to [-1.0, 1.0]

The normalizer at https://github.com/nltk/nltk/blob/develop/nltk/sentiment/vader.py#L107 is not exactly normalizing the inputs to give an output bounded by [-1.0, 1.0] as reported in the docstring. Given the default value of alpha=15, the upperbound of the normalized outputs would be somewhere in the between (-0.13, 0.13)

The outputs gets funkier with other alpha values, see http://stackoverflow.com/questions/40325980/how-is-the-compound-polarity-score-calculated-in-python-nltk-vader-approach/40337646#40337646
@cjhutto any ideas whether this is the expected output of the normalizer? Usually a normalization function would expect some sort of mean/variance input or a list of inputs. For example, I would expect the normalization to be taken corpus wide such that the value of the sum_s will be normalized against all the sum_s computed by across sentences in the corpus.

--- About the scoring ---
·         The compound score is computed by summing the valence of each word in the lexicon, adjusted with rules, and then normalized to be between -1 (most extreme negative) and +1 (most extreme positive). This is the most useful metric if you want a single unidimensional measure of sentiment.  Calling it a “normalized weighted composite score” is accurate.
·         The Pos/Neu/Neg are each ratios for “proportion of text” that falls in each category (so these should all add up to be 1… or close to it with float operation).  These are the most useful metrics if you want multidimensional measures of sentiment.
--- About normalizing ---
It would be fine to use a typical unity normalization function of the form you describe (using known list of values such that max/min or mean/variance can be computed).  However, I (and many others) use VADER in a more "streaming" use case... like ingesting social media or other text on a daily basis, where this list of values (or any of its distribution characteristics) cannot be known in advance.  Thus chose a simple way to normalize given unknown or unbounded data.  I could have used the hyperbolic tangent (tanh) function or the logistic function or the error function... but the implemented approach has the power of parsimony -- it's simple and easy to understand by a broad audience, and allows for comparisons of sentiment scores across many different data sets with straightforward interpretation (regardless of what the specific min, max or distribution parameters are among those various data sets).

@cjhutto Thanks for the explanation. Given the "streaming"/online use-case of the normalizer, that seems alright.
But as for the upper-/lower-bound of the normalizer, there are cases that it'll be > 1.0 or <-1.0 if left unconstrained, e.g.

IMHO, the docstring for the normalization function should still be corrected. Should we add a note in the docstring, that the boundary depends rather heavily on the alpha set?

@cjhutto would it be fine to do some sort of scaling so that the output of nltk.sentiment.vader.normalize be bounded by -[1,1] ?
Is it alright if the function gets changed to something like:
def stream_normalize(score, alpha=15, beta=1, min_max=(-1.0, 1.0)):
    """
    Normalize the score using the function to approximates the
    maximum expected value.
        x := beta * x / (x^2 + alpha)

    Using the default parameters (alpha=15, beta) will return a score that
    ranges between (-0.123, 0.123).

    To achieve a normalize score ranging [-1.0, 1.0], users can set the
    alpha and beta parameters 15 and 8, respectively.
    """
    norm_score = beta*score/math.sqrt((score*score) + alpha)
    _min, _max = min_max
    if norm_score < min:
        return _min
    elif norm_score > max:
        return _max
    else:
        return norm_score

Since we know that the max of x / (x^2+15) is close to 0.128, we can add a priori of scale of 8, i.e. 8x/(x^2+15) which its max is close to 1.03. So the propose solution to make it look like a bounded normalizer is to clip the max and min to [-1,1] with a beta scaling variable of 8. And the scaling variable shouldn't change the variance of the normalization function.
The default alpha, beta and min_max parameters would still reflect the implementation of the version described in the paper.

Perhaps I'm misinterpreting what you're trying to say.
"we know that the max of x / (x^2+15) is close to 0.128" ... this is not an accurate depiction of what VADER is doing.  Indeed that much should be clear without doing any math -- just take a look at the sample output that VADER produces in the example sentences of '__main__'.  For example, the following sentence:
"VADER is VERY SMART, really handsome, and INCREDIBLY FUNNY!!!"
returns a compound score of 0.9469.
This score is near the ceiling (without adding another scalar, "beta") because VADER already scales up the score (or "x" in your equation) several times:
1.) the sentence contains several high-valence positive words (each instance of positive valence words scales up the score according to the empirically derived sentiment intensity of the particular word);
2.) the sentence has sentiment polarity emphasis resulting from conventional use of capitalization (the value of the polarity increase is an empirically derived constant);
3.) the sentence uses degree modifiers such as "very", "really", and "incredibly" (each instance scales up the score - the value of the increase is also modified by whether the degree modifier word is in all caps when the surrounding text is not - see item #2 above);
4.) the sentence makes use of a social convention signalling increased sentiment intensity by flooding exclamation points (each exclamation point [up to 4 of them] scales up the score, and the value of each increase is an empirically derived constant).
With all that said -- it is open source code.  The MIT license give you leave to use it or change it as  you desire... (as long as you are aware of the consequences -- for example, if you publish the results of your sentiment analysis, and someone else wanted to replicate or compare to your results, it would not be valid unless they also change their normalization function to match your output).

Thanks @cjhutto for the detailed explanation! Will close this issue =)


private properties showing as [Public] upon mouse hover

Hi, I've found two minor issues:
1. If I declare:
int LineId { get; set; }
On the [CodeNav] window, upon mouse hover, the extended info shows as:
Public int LineId LineId {get; set; }
2. If I add the [private] keyword in front like:
private int LineId { get; set; }
[LineId] disappears from the [CodeNav] window.

On both cases, I think they could appear on [CodeNav] window as [Private] on mouse hover.
Thanks!

The small things also matter!
New version (3.6) released :)

Good! The update works fine! Thanks 😊
Have a nice week.
Marcelo Mejail
From: Samir<EMAIL_ADDRESS>Sent: lunes, 9 de octubre de 2017 6:16
To<EMAIL_ADDRESS>Cc<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [sboulema/CodeNav] private properties showing as [Public] upon mouse hover (#43)
The small things also matter!
New version (3.6) released :)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/sboulema/CodeNav/issues/43#issuecomment-335104159, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AHh2R0OgQlXDuEqaLzlqUpmrpJiwGDU_ks5sqeR5gaJpZM4Pwl1J.


Chore: Remove some useless code

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 2 (50.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.1%) to 80.497%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

charon/pkgs/maven.py
1
2
50.0%

Totals

Change from base Build<PHONE_NUMBER>:
-0.1%

Covered Lines:
1329

Relevant Lines:
1651

💛  - Coveralls


Allow session to end after a response is given

Currently when a response is given Alexa will continue to listen as the session is not ended. It might be a good idea to expose this as an option so the middleware does not need to be edited manually.
https://github.com/aws-samples/aws-ai-qna-bot/blob/3e914e8c3f475db1811e987c7b45223e627116ee/lambda/fulfillment/lib/middleware/alexa.js#L103
The same could be said for the stop intent response:
https://github.com/aws-samples/aws-ai-qna-bot/blob/3e914e8c3f475db1811e987c7b45223e627116ee/lambda/fulfillment/lib/middleware/alexa.js#L72

I agree, this would be a good parameter to expose

This is a much needed feature. Current workaround is to set a sessionAttribute in Content Designer item {{setSessionAttr 'shouldEndSession' true}}. And then amend fulfillment/lib/middleware/alexa.js assemble() to
exports.assemble=function(request,response){

    let sessionAttributes = _.get(response,'session',{});

    return {
        version:'1.0',
        response:{
            outputSpeech:_.pickBy({
                type:response.type,
                text:response.type==='PlainText' ? response.message : null,
                ssml:response.type==='SSML' ? response.message : null,
            }),
            card:_.get(response,"card.imageUrl") ? {
                type:"Standard",
                title:response.card.title || request.question,
                text:_.has(response.card,'subTitle')? response.card.subTitle +"\n\n" + response.plainMessage:response.plainMessage,
                image:{
                    smallImageUrl:response.card.imageUrl,
                    largeImageUrl:response.card.imageUrl
                }
            } : {
                type:"Simple",
                title:_.get(response,"card.title") || request.question || "Image",
                content:_.has(response.card,'subTitle')? response.card.subTitle +"\n\n" + response.plainMessage:response.plainMessage
            },
            shouldEndSession:_.get(sessionAttributes,'shouldEndSession',false)
        },
        sessionAttributes:sessionAttributes
    }
}


Ability to set tags on application create or pre-initial scale

Right now as far as I know the only way to set a tag on an application is to do a flynn scale web=3,active=true. This means if you deploy an application initially and want it to go to a particular set of hosts it will be scaled to 1 and then immediately re-released with the scale you set and the tags assigned to it.
I would like to be able to set tags for the initial scale if possible.

We probably want to add ProcessType.DefaultTags or similar and expose it via the CLI.

Flynn is unmaintained and our infrastructure will shut down on June 1, 2021. See the README for details.


Added Templates, default actions and fixed some bugs.

Fixed a bug with the Budget Tag Filter - filter no longer disappears and remains active when switching projects.
Fixed a bug with the Chart panels - all chart panels now collapse correctly.
Added The ability to press Enter/Escape in all dialog pages and on the Login/Select project pages, making the application easier to navigate.
Man-day budget no longer changes between gross and net values (always net).
Added a new page to the Dashboard called Templates - It allows the user to upload Excel Spreadsheet templates, edit them and then export a report using one of them.
Since Wicked-Charts 3.0.0 has been released, the Budgeteer now references the proper release instead of the snapshot.

@SvenWirz
I believe I have fixed the exception when exporting as well as the other issues you pointed out, the cause for the exception was the Template and TemplateEntity classes not implementing Serializable. As for the setters in the TemplateEntity class, I left them out, because one shoudn't be able to set any of these attributes outside of constructing a new TemplateEntity with the constructor. Setting the ID for example would be bad, as it is always auto-generated.


Adding areas 85 introduced with 2.4 patch

Adding new areas 85 introduced in patch 2.4
Immunities data is taken from https://www.reddit.com/r/Diablo/comments/s9w26y/overview_of_immunities_in_the_new_level_85_zones/
Mob count is taken from older D2 level configuration file https://github.com/fabd/diablo2/blob/17d60a1085151a640b164e047b4e0afb179af254/code/d2_113_data/Levels.txt, which might be changed. Indeed few areas had more packs when hence updated accordingly

I've also added Set Upping

Looks good.  Thanks for the patch!


different radius when zoom different level

hey,i use leaflet.heat to show heatmap.
And how can i do to change radius when zoom different level?
how to change?
thanks so much.
leaflet.heat is a good plugin!

map.on("zoomend", function(){
heatLayer.setOptions({radius: map.getZoom()});
});


Locality LB test failure

https://gcsweb.istio.io/gcs/istio-prow/logs/integ-pilot-k8s-tests_istio_postsubmit/2786/artifacts/pilot-locality-cc8dc25780664d00/TestDistribute/locality-distribute-eds-1-81659-state535142721/
Symptoms:

Too many requests go to one host, we expect 80/20 split but get 100/0
outbound|80||fake-eds-external-service-3913394884949748292.com::<IP_ADDRESS>:80::health_flags::/failed_outlier_check in clusters from client, suggests we failed the check and stop sending
Client shows:

outbound|80||fake-eds-external-service-3913394884949748292.com::<IP_ADDRESS>:80::rq_timeout::25
outbound|80||fake-eds-external-service-3913394884949748292.com::<IP_ADDRESS>:80::rq_total::80

Access logs on client show 55 successes (80-25):
$ rg <IP_ADDRESS>:80 a-v1-885dd57c8-fbjdz-istio-proxy.log | wc -l
55

Access logs on destination show ONE access log
Application logs on server show all 80 requests are received/responded to.

Server fails readiness probe at the same time Readiness probe failed: Get http://<IP_ADDRESS>:15021/healthz/ready: dial tcp <IP_ADDRESS>:15021: connect: connection refused",
We get 15 logs to PassthroughCluster sent from the client to itself. This is because as a hack we actually do curl client -H "Host: destination", so it must not be doing the host match -- protocol sniffing timeout? I am a bit surprised its not exactly 25 requests.

cat c-v1-55ffbf9bd8-42mwz-app.log | match 'X-Request-Id.*' | map 'i[14:-2]' > inbound-traces
for trace in $(cat inbound-traces); do
echo $trace
rg -l $trace *.log
echo
done

Most of the traces look good, they are in a and c:
4ff8483d-cc15-4e02-acbd-5101e5b18505
a-v1-885dd57c8-fbjdz-istio-proxy.log
c-v1-55ffbf9bd8-42mwz-app.log

b8a44167-aa59-45de-9198-38d474366ded
a-v1-885dd57c8-fbjdz-istio-proxy.log
c-v1-55ffbf9bd8-42mwz-app.log

But then, after 55 traces...
b0f51a83-2644-4bee-aea1-f3d13fd9878e
a-v1-885dd57c8-fbjdz-istio-proxy.log
b-v1-5cffd8c497-fqbcq-app.log
b-v1-5cffd8c497-fqbcq-istio-proxy.log
c-v1-55ffbf9bd8-42mwz-app.log

bdcd2756-9840-4e98-81a3-838bce834f26
a-v1-885dd57c8-fbjdz-istio-proxy.log
b-v1-5cffd8c497-fqbcq-app.log
b-v1-5cffd8c497-fqbcq-istio-proxy.log
c-v1-55ffbf9bd8-42mwz-app.log

So we end up hitting c, retrying to b.
C must be dead for whatever reason, and completely stop responding, possibly just overloaded, and ends up blowing up


Question - Would it possible to also generate a GraphQL schema from the datasources

Hello guys,
We use your lib and it saves us a ton of time, thanks. This is more of a question. I was wondering if you'd know of any tool that could also generate the schema? Writing all the types in the schema is also really time consuming.
Any suggestions would be welcome. Thanks again.

Thanks! Happy to see it's useful for others as well :-)
For that you might want to take a look at https://graphql-mesh.com/ . Our project is targeted more at servers where you can't just simply generate the schema, because you want to do significant amount of aggregations and transformations. If you just wanted to expose your microservices as GraphQL - mesh is one way to do it, another is to just use GraphQL on backends :)

Thanks a lot for your quick reply! Really appreciated @lgandecki !


File Upload Vulnerability

Description
yf-exam is a multi-role online training and examination system. The system integrates user management, role management, department management, question bank management, test question management, test question import and export, test management, online test, wrong question training and other functions, and the test process is perfect. @PostMapping("/common/api/file/upload") When this interface is uploaded, there is no restriction on the suffix of the uploaded file, resulting in any file upload.
Vulnerability details
This interface accepts uploaded files, and then submits them to upload() for processing.
com.yf.exam.ability.upload.controller#upload()

Continue to follow up and come to the implementation class of the upload interface.
com.yf.exam.ability.upload.service.impl#upload()

You can see that the incoming files are processed here, continue to follow up
com.yf.exam.ability.upload.utils#processPath()

Then rename the incoming file
com.yf.exam.ability.upload.utils#renameFile()

It can be seen that only the suffix name is intercepted, without filtering, it is directly spliced and put back。

Finally, return directly to the upload path.
TEST
Upload file at routing point

It can be found that the upload was successful

Try to access, you can find that the access is successful。

Solved


Apple.AppleWorks version 6.2.2

[ ] Have you signed the Contributor License Agreement?
[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.4 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

Hi @upintheairsheep,
This package's installer isn't unattended.

Is there an installer switch to bypass this?

Close with reason: Stale pull request;


Fails to build hercules on s390x SLES (SUSE Linux Enterprise)

First thank you very much for that great tool!
So there are actually two problems:

The script fails to detect "sles" however it's easy i just changed the OS detection from Opensuse to sles.

It build's everything fine until i try's to link libhercs.la:

CC       cardpch.lo
CCLD     libhercs.la
/usr/lib64/gcc/s390x-suse-linux/7/../../../../s390x-suse-linux/bin/ld: cannot find -lcrypto32
/usr/lib64/gcc/s390x-suse-linux/7/../../../../s390x-suse-linux/bin/ld: cannot find -ldecNumber32
/usr/lib64/gcc/s390x-suse-linux/7/../../../../s390x-suse-linux/bin/ld: cannot find -lSoftFloat32
/usr/lib64/gcc/s390x-suse-linux/7/../../../../s390x-suse-linux/bin/ld: cannot find -ltelnet32
collect2: error: ld returned 1 exit status
make[2]: *** [Makefile:2112: libhercs.la] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory '/home/linux1/bin/hercules-helper-0.9.8/hyperion/build'
make[1]: *** [Makefile:2529: all-recursive] Error 1
make[1]: Leaving directory '/home/linux1/bin/hercules-helper-0.9.8/hyperion/build'
make: *** [Makefile:1865: all] Error 2
real	1m46.316s
user	2m28.512s
sys	0m48.113s
[[ error: ]] Make failed!
finish() called, exit status = 1
linux1@test:~/bin/hercules-helper-0.9.8
Herc-helper: v0.9.8
OS: SLES15SP3
HW: LinuxONE
You can get a instance (Ubuntu,RHEL and SLES are available) for free (i think for 2 month, probably with reactivation later?) if you want to test it on your own on a real s390 mainframe here you go:
https://linuxone.cloud.marist.edu/#/register?flag=VM
And again, thanks for that great time-saver ;)

I already spun-up a ubuntu20.04 but the error is the same (build-log as attachment)
build-log.txt

I believe I have found the problem.  (on paper -- haven't tried it on an s390x system yet)

Hy Bill,
I'm all ears, how can i help? Do you want to give me the diff so i can test it, or can i provide you access to the machine?

OK, it's been tested with:
Windows 10 host -> VMware -> Debian 10 -> Hercules -> Ubuntu s390x
Fix has been committed to:  https://github.com/SDL-Hercules-390/hyperion/commit/673efabbed9f3ea683e7738356b3a68a7dea5c3a
Update your Hercules-Helper to the latest from my repo.  This addresses the SLES issue.
(that detection was built but got lost somehow thanks to the power of git)
Edit your hercules-helper.conf and uncomment the line:
git_branch_hyperion=develop
Then run your hyperion-buildall.sh command.
Let me know what happens.
Bill

They gave me an account on IBM LinuxONE Community Cloud today.  But I haven't tried it yet.

It builds and runs perfectly!
HHC00100I Thread id 000003ff970f2fd0, prio 5, name 'impl_thread' started HHC00100I Thread id 000003ff95efe900, prio 4, name 'logger_thread' started HHC01413I Hercules version <IP_ADDRESS>05-SDL-DEV-g673efabb HHC01414I (C) Copyright 1999-2022 by Roger Bowler, Jan Jaeger, and others HHC01417I Built using Hercules-Helper (version: v0.9.8-5-gc2450a8-dirty) HHC01415I Build date: Mar 11 2022 at 04:51:59 HHC01417I Built with: GCC 7.5.0 HHC01417I Build type: GNU/Linux s390x host architecture build HHC01417I Modes: S/370 ESA/390 z/Arch HHC01417I Max CPU Engines: 128 HHC01417I Using   shared libraries HHC01417I Using   setresuid() for setting privileges HHC01417I Using   POSIX threads Threading Model HHC01417I Using   Error-Checking Mutex Locking Model HHC01417I With    Shared Devices support HHC01417I With    Dynamic loading support HHC01417I With    External GUI support HHC01417I With    IPV6 support HHC01417I With    HTTP Server support HHC01417I With    sqrtl support HHC01417I With    Signal handling HHC01417I With    Watchdog monitoring HHC01417I Without CCKD BZIP2 support HHC01417I Without HET BZIP2 support HHC01417I With    ZLIB support HHC01417I With    Regular Expressions support HHC01417I Without Object REXX support HHC01417I With    Regina REXX support HHC01417I With    Automatic Operator support HHC01417I Without National Language Support HHC01417I With    CCKD64 Support HHC01417I With    Transactional-Execution Facility support HHC01417I With    "Optimized" instructions HHC01417I With    OPTION_USE_SKAIP_AS_LOCK HHC01417I With    OPTION_SIE2BK_FLD_COPY HHC01417I Machine dependent assists: cmpxchg1 cmpxchg4 cmpxchg8 hatomics=C11 HHC01417I Running on: suse (Linux-5.3.18-150300.59.54-default s390x) MP=2 HHC01417I Built with crypto external package version <IP_ADDRESS>-ga5096e5 HHC01417I Built with decNumber external package version <IP_ADDRESS>-g3aa2f45 HHC01417I Built with SoftFloat external package version <IP_ADDRESS>-g4b0c326 HHC01417I Built with telnet external package version <IP_ADDRESS>-ge0e2a91 HHC00018W Hercules is NOT running in elevated mode HHC00007I Previous message from function 'impl' at impl.c(1072) HHC00150I Crypto module loaded (C) Copyright 2003-2016 by Bernard van der Helm HHC00151I Activated facility: Message Security Assist HHC00151I Activated facility: Message Security Assist Extension 1, 2, 3 and 4 HHC17528I REXX(Regina) VERSION: REXX-Regina_3.6(MT) 5.00 31 Dec 2011 HHC17529I REXX(Regina) SOURCE:  UNIX HHC17525I REXX(Regina) Rexx has been started/enabled HHC17500I REXX(Regina) Mode            : Command HHC17500I REXX(Regina) MsgLevel        : Off HHC17500I REXX(Regina) MsgPrefix       : Off HHC17500I REXX(Regina) ErrPrefix       : Off HHC17500I REXX(Regina) Resolver        : On HHC17500I REXX(Regina) SysPath    ( 4) : On HHC17500I REXX(Regina) RexxPath   ( 0) : HHC17500I REXX(Regina) Extensions ( 8) : .REXX:.rexx:.REX:.rex:.CMD:.cmd:.RX:.rx HHC00111I Thread CPU Time IS available (_POSIX_THREAD_CPUTIME=0) HHC00100I Thread id 000003ff9567a900, prio 7, name 'timer_thread' started HHC00100I Thread id 000003ff9577b900, prio 2, name 'Processor CP00' started HHC00811I Processor CP00: architecture mode z/Arch HHC01432S Config file[1] : error in function fopen(): No such file or directory HHC00007I Previous message from function 'process_config' at script.c(217) HHC01420I Begin Hercules shutdown HHC01423I Calling termination routines HHC00101I Thread id 000003ff9577b900, prio 2, name 'Processor CP00' ended HHC01427I Main storage released HHC01427I Expanded storage released HHC01422I Configuration released HHC01424I All termination routines complete HHC01425I Hercules shutdown complete HHC01412I Hercules terminated HHC00101I Thread id 000003ff9567a900, prio 7, name 'timer_thread' ended
Thank you very much! Now i can run VM370 on Linux on z/VM on s390....very nice ;)
Build log as attachment if interested
hyperion-buildall-2022-03-11.log

Yes, run needs to be defined loosely here.
With my deeply nested virtualized and emulated s390x on which I did this, it took 109 minutes to finish make on the zLinux.
I see from your log that it took 1min 36sec on your real hardware.
Bill

Yeah, it's really trial and error, some stuff runs wicket fast, other stuff like haskell runs even slower than on my 10yo Workstation.


Expose option to enable TLS when sniffing an Elasticsearch Cluster

Jaeger uses the default scheme set by the olivere client (which is http) when sniffing an Elasticsearch cluster without the option to change it.  This makes it impossible to use sniffing with a TLS Elasticsearch cluster.
The scheme can be set using the SetScheme client option
https://pkg.go.dev/github.com/olivere/elatic/v7\?tab\=doc\#SetScheme
This change exposes that client option as a boolean command line option: --es.sniffer-tls-enabled
Signed-off-by: nilsenj<EMAIL_ADDRESS>
Which problem is this PR solving?
In our use case, jaeger-collector needs to connect to Elasticsearch running in Kubernetes from outside the cluster.  By using sniffing, we can use the ingress for the initial node discovery and then send traffic directly to the elasticsearch nodes without it needing to go through the ingress.
In our case, when using ingress only (without sniffing) jaeger represents a substantial proportion of the ingress traffic.  When we switched to using sniffing we were able to reduce the load on our ingress 10x.
If Elasticsearch is running with TLS enabled, then we need a way to tell jaeger-collector to use https when connecting to the discovered nodes.
Short description of the changes

What --es.server-urls were you using with TLS configuration? We are using TLS with ES in our operator and there wasn't this problem https://github.com/jaegertracing/jaeger-operator/blob/b7ce28f171a416945d881cf7c018280baa4aae01/pkg/storage/elasticsearch.go#L22.

The operator does not use sniffing.  It connects the service address which only works from within the cluster.
We want to connect to an Elasticsearch cluster in a different Kubernetes cluster and so --es.server-urls points to the address of an nginx ingress controller.

@jennynilsen would you like to add your company to https://github.com/jaegertracing/jaeger/blob/master/ADOPTERS.md or comment on https://github.com/jaegertracing/jaeger/issues/207?


No mapping for the Unicode character exists in the target multi-byte code page   error occured at line dataReaderObject.ReadString(bytesRead);

error occured at line
dataReaderObject.ReadString(bytesRead);

@b-madhukar Can you link us to the sample you're referring to?


Live code demo doesn't work

The linked to demo doesn't work..! Arghhhhhh!!!!1
https://hawkz.github.io/gdcss/demo/
:-)

Thanks!


Fix opaqueness of Sprite2D

Completed repeat mode compatibility in Sprite2D nodes with appropriate assignments.
Bugsquad edit: This closes https://github.com/godotengine/godot/issues/60141.

Related issue: #60141

@sriramun You should update your PR with the new method from #66546

Bump :) Let us know if you are available to finish this!

Closing as this is not the right solution and is not being worked on further.


Ensure backwards compatibility of Power init and Market init

In case old plugins are still initializing Power and Price objects, ensure backwards compatibility and warn for deprecation.
NB Weather objects were already backwards compatible, because we already used sensor_id to mean weather_sensor_id for the old model.

Actually, to solve the "'asset_id' is an invalid keyword argument for Power" error, we might also have to remove the "asset_id" entry from kwargs?


Extending supportedLanguages

Hi Maximilian,
It seems you have the only extension out there to add images to code! Just wondering if you are still working on this feature as I would love to show images of intermediate steps in my SQL-based spatial data transformation. Because different geometries are created in these steps it would be easier to show an image of a resulting image in every step rather than writing long texts to describe the features of these geometries. Is an addition of SQL possible?

Hi @SeppBerkner
I released 0.6.0 for you with support for sql files.
Cheers
Max

Hi @mgiesen, thanks so much for the quick extention! I will give it a try!


s4708525 - Classify Alzheimer’s disease (normal and AD) of the ADNI brain data using Convolutional Vision Transformer (CvT)

This project aims to classify Alzheimer's disease (normal vs. AD) using the Convolutional Vision Transformer (CvT) on ADNI brain data.  This project concludes that the Convolutional Vision Transformer can effectively perform image classification on the ADNI brain data. However, improvements are needed in this architecture to enhance the model's generalization and robustness. The accuracy of the test data was 66.26%, which is lower than the 74.1% accuracy of the validation data, indicating slight overfitting in this experiment.
Name: Yuda Hendriawan Budi Handoko
Student ID: s4708525

Hi @prprakash02 , thank you for the feedback; I was setting the epochs for running to 100, but it was only showing 40 because of the early stopping mechanism. Maybe I should explain that, shouldn't I?

Hi,
Can you please add that in the main part of the README file (about the early stopping mechanism) since it was slightly unclear!
Thanks

UPDATE:
Recognition Problem: Total (18/20)

So, will I get full mark for the incorporating feedback part so far?

For pull request, there will be someone from the tutoring team marking again, if they have any feedback you might have to address that as well.
Finallyz after all formal marking you will be awarded if incorporated :)

Observational Feedback
Pull Request:
Correctly created the Pull request from Topic Recognition Branch .
The pull request should  include a clear description about the file structure .
No previous feedback incorporated .
File Organizing: Well-organized files.
Commit Log:
Commit messages are progressive for the Recognition Problem solved using 4 files .
Commits are regularly made.
Documentation:
Code comments and docstrings are included.
Proper GitHub markdown formatting is used, with organized headings, lists, and code blocks.
Can add about future improvements in the ReadMe.

Hi @aniketgupta17, Thank you for your feedback.
I have updated the pull request description and added the future improvements part in the README file.

Marking

Good/OK/Fair Practice (Design/Commenting, TF/Torch Usage)
Good design and implementation.
Spacing and comments.
No Header blocks. -1
Recognition Problem
OK solution to problem. Some inconsistancies of code and report noted.-2
Driver Script present.
File structure present.
Good Usage & Demo & Visualisation & Data usage.
Module present.
Commenting present.
No Data leakage found.
Difficulty : Hard. ViT (Hard Difficulty)
Commit Log
Good Meaningful commit messages.
Good Progressive commits.
Documentation
Readme :Good.
Model/technical explanation :Good.
Description and Comments :Good.
Markdown used and PDF submitted. PDF checked.
Pull Request
Successful Pull Request (Working Algorithm Delivered on Time in Correct Branch). On time submission.
No Feedback required.
Request Description is good.
TOTAL-3

Marked as per the due date and changes after which aren't necessarily allowed to contribute to grade for fairness.
Subject to approval from Shakes

Hi @gayanku ,  thank you for giving me the feedback.
May I know what is the meaning of 'No Header Block' ?
Thank you.


quint verify reports an unsound counterexample

When I run quint verify on river.qnt as follows:
quint verify --max-steps=50 --invariant=noSolution river.qnt

I rightfully reports a counterexample, but the contents of the counterexample is definitely is not what I expected:
$ quint verify --max-steps=50 --invariant=noSolution river.qnt
An example execution:

[State 0]
{
  boat: Set(),
  destination: Set(),
  origin: Set("cabbage", "farmer", "goat", "wolf")
}

[State 1]
{
  boat: Set("cabbage", "farmer", "goat", "wolf"),
  destination: Set(),
  origin: Set("cabbage", "wolf")
}

[State 2]
{
  boat: Set(),
  destination: Set("farmer", "goat"),
  origin: Set("cabbage", "wolf")
}
...

The boat should carry at most 1 one item, in addition to the farmer. We should find which part of the pipeline contains a bug.

We should run it against the older version of Apalache, before the arena refactoring. The TLA+ file can be extracted when running the server as:
 ~/devl/apalache/bin/apalache-mc server --write-intermediate=true

@thpani, @Kukovec, ideas?

have you checked if the translation is correct?

It seems to be like how I expected it.

Could it be that because of
https://github.com/informalsystems/quint/blob/7a1079ea2c1b7a86132aba8c6ffa5149ccc693c8/examples/puzzles/river/river.qnt#L52-L53
and the fact that toEmbark is nondet, it is getting independently computed 2x?

 So it is probably model reconstruction.

Can you try noSolution /\ consistency?

I did that too, same CE as just noSolution

Just an update, it is not a bug in the transpiler but a bug in the recent refactoring.

Since this has been fixed on the Apalache side, shall we check that this has been fixed in Quint and close the issue?

Since this has been fixed on the Apalache side, shall we check that this has been fixed in Quint and close the issue?

Since this is transpilation-related, lemme take this over.
Yes, we're good on quint verify - I will open a PR to bring the river example back.


Improvements to expectation_from_samples code

Currently, if from_samples=True in our expectation function, n_shots is effectively allocated to each and every term in the Hamiltonian.
This pull request aims to improve upon this by adding the functionality to manually allocate shots to the individual terms in the Hamiltonian.
Note: This should (hopefully) allow the implementation of some measurement reduction schemes as well...? But that's probably beyond the scope of this pull request.
(25 Jan edit): Code and tests are tentatively done, left with documentation

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (b6f614d) 100.00% compared to head (a1ba3ed) 100.00%.
 Consider uploading reports for the commit 85e9b27 to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##              main       #59   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           11        12    +1
  Lines          433       494   +61
=========================================
+ Hits           433       494   +61

Flag
Coverage Δ

unittests
100.00% <100.00%> (ø)

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Revert "[DocumentIntelligence] Merging Document Intelligence features into main"

Reverts Azure/azure-sdk-for-net#39965
This new RP has issues and the corresponding azure pipelines are not properly created therefore this RP is merged unvalidated, hereby we temporarily revert it.

/check-enforcer override

/check-enforcer override

we have to override the check enforcer because no pipeline is running on these files


Missing src directory from package - .js.map file pointing at non-existent files

In the published library on NPM, it's missing the top level src directory... so the index.js.map file is pointing at a non-existent source file.
Not the end of the world but it's giving some warnings here and there during our build pipeline.

Thanks for filing! I'm not sure what the best solution is here. Either publish the src directory to npm, or use the TS inlineSourceMap + inlineSources compiler options. I was reading into what other fp-ts libraries do: https://github.com/gcanti/fp-ts/issues/223#issuecomment-422363998. WDYT?

@OliverJAsh - I'd probably agree with that comment thread you posted... just don't publish the source files at all, only the definition files.

I see that as non-option because that completely breaks source maps. Source maps are useful for debugging… 🤔

@OliverJAsh what if you built the project with a separate tsconfig for distribution, but kept it for local dev  flow? will make a quick PR to demo

is there a problem with publishing src to npm? seems like a pretty small concession

I'd say it's fine to publish src files


added config directory location feature.

Fixes #3

Sorry, this can't be accepted.
Please use the package first. The file you changed is called a lot of times.
Also, you should check the file structure


Fixed typo on page

Description
Fixed typo that misspelled password.
Changes
Typo
Changelog entry
Typo fixed
How Has This Been Tested?
Not required, just the documentation page.
References
None
PR Quality Checklist

[ ] I added tests to new or existing code
[ ] I removed hardcoded strings and used our i18n solution instead (see here)
[ ] I checked that infrastructure/update_infrastructure.sh runs without any error
[ ] I checked that npm run build builds without any error
[ ] I checked that clusters are listed correctly
[ ] I checked that a new cluster can be created (config is produced and dry run passes)
[ ] I checked that login and logout work as expected

In order to increase the likelihood of your contribution being accepted, please make sure you have read both the Contributing Guidelines and the Project Guidelines
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Thanks @chambersaj for fixing the typo! Merging.


HOTT-1411: Support polymorphic quota search goods nomenclature links

Jira link
https://transformuk.atlassian.net/browse/HOTT-1411
What?
Quota definitions belong to a measure which is associated with either a Heading, a Subheading or a Commodity.
Currently the quota search results only points at commodities for the goods nomenclature that comes back for the definition measure.
I have added/removed/altered:

[x] Update quota results to point at the correct goods nomenclature

Why?
I am doing this because:

This is required so the user gets directed to the correct goods nomenclature

Sounds good re the type attribute naming. I've renamed to resource_type


UofT DSI | Production- Assignment 1 submission

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)

Added solutions for assignment 1

What did you learn from the changes you have made?

About how to use env files , Dask library, ETL process to load data from parquet files into data frame, converting Dask data frame to pandas.

Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
How were these changes tested?
A reference to a related issue in your repository (if applicable)
Checklist

[x] I can confirm that my changes are working as intended

A1 complete


Upgrade to a better CI

As you may know, I started building some bottles on my personal computer since a few months. This was still doable at the beginning, but I am hitting multiple problems:

delay between the merge and the bottling on my side may be 2 to 3 days, depending on how much spare time I have to trigger the build.
during the build my computer can not be used
my bandwidth is not really good, so uploading some bigger bottles needs to be done during the night

circle.ci has served us well, but we are slowly reaching the limits of usability.
I want to collect some facts, benchmarks and ideas in this ticket, so that we can discuss the different options.
List of bottles that are built manually
llvm, llvm@5, rust, qt, pypy, pypy3
More may come, as we did not try to bottle everything. We have a bunch of CIRequirement's in the code preventing some bottles to be built, some of them due to out of memory problems.
On mac (upstream)
Back then homebrew bought mac minis. It probably made sense to own that kind of hardware at that moment, as mac hosting was almost non-existent (I may be wrong on why they went for buying the minis back then, just a hypothesis).
Currently the builds are running on https://www.macstadium.com. Homebrew got free VM time from them, with 8 Gb of Ram.
Just a sidenote here: they seem to be able to build everything with that amount of RAM. I can't build llvm with 16 Gb Memory and 2 Gb of swap on my Ubuntu 18.04, so this sounds weird, and we may need to make some measurements and investigation here.
circle.ci
We use the free circle.ci package with 4Gb of RAM. We have a timeout of 5 hours (@sjackman asked them to increase it for us, and this has been really helpful).
It seems to be possible to get 8 Gb or 16 Gb systems:
https://circleci.com/docs/2.0/configuration-reference/#resource_class
This option can only be asked when you already pay for their first non-free plan (150$ /month). We may ask them if we could get this for free or a discount though. But before doing that we need to make sure we need only 8 or 16 GB (or more?)
Academic hosting
Ask some universities to host us.

Pros: free
Cons: support may not be as professional as expected by a cloud provider. There will probably be no support during the weekend if something goes wrong.

Other Docker/cloud hosting
Price range is probably similar to what circle has to offer. But we may get a better CI for free somewhere else. We need to have a look at different services to see what is out there.
Dedicated servers

Pros: we can setup our own CI, and will get proper support. In case of failure the machine will be replaced.
Cons: prices are probably between 50 to 100$ / month. We need to be careful with the bandwidth usage too, some hosting sites have restrictions.

Our revenues
We get 7$ per month through Patreon. This is used by @sjackman to pay for the brew.sh domain.

We could try to advertise our Patreon a little bit more?
A kickstarter (or equivalent) may help? It worked well for homebrew back then.
Others?

Todo

Determine how much RAM we need

This is just a draft, which needs some improvements and input :)

I've thought about the possibility of setting up a Jenkins -> HPC CI system for brewsci. I believe NSF XSEDE might be a good target program to write a grant to request computational resources for CI infrastructure, but I haven't had a ton of time to really dig into it.

I am not in academia anymore so I probably can’t submit a request for that kind of grand.
Also, what are our success chances, and what would be the timeframe? I am worried that a grant may be only a short term solution (though I do not expect other solutions to be better).
Also, a few months ago I didn’t want to give any money to our Patreon, because I was considering that I was already spending free time for the project. But I may give some money, to speed things up. I think it is quite realistic to be able to reach 50 to 70$ per month if we find some more patreons, which would be enough for some CI.

Can we re-purpose our "old" computers?

I might be able to help out with this.  I have root access to an older (vintage 2012) 32-core AMD Opteron 6274 machine.  It's not great computationally, but it has 128GiB of memory and plenty of disk space.  Also, it is hosted in a pretty robust data center (at the university where I work).  It is externally reachable on the internet (napoleon.ekstranet.diku.dk) and currently is only very lightly loaded.
Downsides: it runs openSUSE, and realistically will not be maintained particularly actively (I'm the administrator, and I'm not very good at it).  As long as the CI system is relatively isolated and does not depend on particularly new versions of system packages, this should not be a problem.  I can guarantee that the machine will run for as long as I'm around (my contrast is for at least another two and a half years), but beyond that things are hazy.
I think it is definitely an improvement over @iMichka running everything on his home box.

Determine how much RAM we need

Just a thought, will it help if the overcommit_memory is disabled? That is disallowing memory allocation if there is no enough memory instead of killed by the OOM?
More info can be found at https://unix.stackexchange.com/a/136294,

As long as the CI system is relatively isolated and does not depend on particularly new versions of system packages, this should not be a problem.

@athas  I'd suggest using something like LXC to run the CI system in a self-contained container, rather than installing everything directly on the server itself :)

Just a thought, will it help if the overcommit_memory is disabled? That is disallowing memory allocation if there is no enough memory instead of killed by the OOM-killer?

It does not solve the problem that the bottle won't get built.

I might be able to help out with this. I have root access to an older (vintage 2012) 32-core AMD Opteron 6274 machine.
(my contract is for at least another two and a half years), but beyond that things are hazy.

Thanks @athas for the proposal. We may consider this but I would like to see if we can find a hosted solution somewhere, which would bring more stability in the long term.

Can we re-purpose our "old" computers?

Bandwidth and power are still and issue (depending on where these computers are sitting). Also my experience with old computers is that they are a often slow, and reach deprecation age even faster.
I am open to any suggestions. I think we should wait a little bit to take a decision. We are in the middle of the summer holidays, I'll be gone for 2 weeks sone. I think we should wait until September, maybe try to gater a little bit more of date (still wondering how the mac people only need 8 Gb of Ram to build everything). The goal would be to have a better CI for 2019 :)

First off, I just wanna say thanks for Linuxbrew. It made the transition from macOS to Linux quite a breeze, and I'm really happy with my new setup. :)
I stumbled upon this issue and thought that perhaps we (@UpCloudLtd) could help you guys out in some way, perhaps with some sponsored hosting? And I'm certain that  @iler would be up for helping out setting up the CI together with you guys. Feel free to ping either of us if it sounds interesting to you!

What about the recently-announced Azure Pipelines?

The upstream Homebrew/core (for macOS) is also discussing updating their CI, and have suggested Azure Pipelines. See https://github.com/Homebrew/homebrew-core/issues/31511

I'm a product manager on Azure Pipelines. We have unlimited CI/CD minutes for a single pipeline. Each job can run up to 6 hours. You can use multiple jobs in a single pipeline and have 10 running at the same time.

@jeremyepling I tried running a Bash script on an Ubuntu 16.04 container that counted numbers upwards and it was stopped after 1 hour, so I couldn't replicate that. (However, this means it's definitely not limited to 30 minutes at least.)

@Calinou as part of your job you can specify the timeoutInMinutes and set the value to 360.
jobs:

job: string
timeoutInMinutes: number
cancelTimeoutInMinutes: number
strategy:
parallel: number
maxParallel: number
matrix: { string: { string: string } }
pool:
name: string
demands: string | [ string ]
container: string
steps:

script: echo Hello world

@jeremyepling Amazing, Jeremy! Thanks for joining the conversation!
Our CI workflow builds artifacts (precompiled binary packages known as bottles) from fork pull requests, which are uploaded to Bintray, and an automated-generated commit is pushed to GitHub. Is it possible to run a private job that does not expose the credentials of Bintray and GitHub to the author of the PR (the owner of the fork)? This task has proven to be difficult with TravisCI and CircleCI.
My current workflow uses a webhook from a successful CircleCI build job to trigger a web service running on AWS Lambda that downloads the bottles from CircleCI (stored on S3) and uploads them to Bintray.

@jeremyepling How much RAM and disk space, and how many CPU cores are available to each build?

Hi @sjackman  I am on the product team as well and I can take your deeper questions.
You get 2 CPU cores and 7.5 GB of ram for each job to run in.
On the workflow question, do you ever merge the PR into the main repo?  In our system you could have a CI trigger on that and it will get the BinTray secret where the PR build would not.

@chrisrpatterson Hi, Chris! Linuxbrew has a shared code base with Homebrew, so we have very similar requirements as Homebrew. 7.5 GB of RAM should be sufficient for most jobs. CircelCI has 4 GB of RAM, and that's sufficient for >99% of jobs, but the 1% are problematic. I'm glad to hear that it's possible to discuss larger machines.
Execution time is an issue as well. Most jobs finish quickly (99% well under 6 hours), but there's occasional jobs that can take much longer.

On the workflow question, do you ever merge the PR into the main repo? In our system you could have a CI trigger on that and it will get the BinTray secret where the PR build would not.

Yes, we do merge the PR into the main repo. However it's during the CI run of the fork PR that the artifacts are built. Are these artifacts stored somehow that they can accessed by a CI job that runs when its pushed to master? CircleCI for example stores these artifacts on AWS S3 (owned by Circle's AWS account, not our AWS account). They are publicly accessible, and that's fine.

Ok I understand now, and I don't have an easy olution for that at the moment.  The CI job that runs will not have an automatic reference to the artifacts stored by the PR job run that would make it easy but I expect something could be scripted.

Here's a PR: https://github.com/Linuxbrew/homebrew-core/pull/9395
(note the change to the code in this case is a dummy to trigger a CI build)
The CI run and the artifacts built by it are here:
https://circleci.com/gh/Linuxbrew/homebrew-core/20289#artifacts/containers/0
These artifacts are stored by CircleCI on AWS S3.
The successful CI run of the fork PR triggers a web service that downloads these artifacts from S3 and uploads them to Bintray here:
https://bintray.com/linuxbrew/bottles/cmark-gfm#files

Here's an example of a workflow in CircleCI composed of three steps: build-linux, build-macos, and collect-bottles: https://circleci.com/workflow-run/c0af0bba-517d-46d7-a514-4db4e2e32d4d
I'd like that final step collect-bottles to run with additional credentials, and in a way that does not expose those credentials to the submitter of the PR.

You can't define it in the YAML file but you can setup a build completion trigger https://docs.microsoft.com/en-us/azure/devops/pipelines/build/triggers?view=vsts&tabs=designer#build-completion-triggers.  The second pipeline would be independent and would only trigger on successful completion of the other pipeline. In that pipeline, you could run your script that downloads the artifacts from the build that just completed and upload them where you want.

Sounds like that would likely work for us! Are the artifacts of the first pipeline stored indefinitely? What is the limit on their size?

By default all builds are deleted after 30 days but you can mark builds to be retained much longer if you need to.  There is no hard limit on the size of an individual artifact.

30 days works for our purposes. Large build artifacts are < 1 GB. Most are a few megs.

@sjackman Sounds like something we could help out with, but sounds you might have found a solution already! Drop me a message at<EMAIL_ADDRESS>if you're still interested. :)

Looks like Azure Pipelines will likely serve our purpose. Thanks for the offer all the same, Jonathan!

@chrisrpatterson Rather than a vmImage: ubuntu-16.04, can I specify that I'd like to run the build in a particular Docker image?
CircleCI has this feature, and it's very useful. For example
https://github.com/Linuxbrew/brew/blob/7a85c5a212e5ac243a762020a38c907b21d2f55e/.circleci/config.yml#L4-L5

I think you're looking for container jobs.

Thanks, Jeremy!

git fetch --tags --prune --progress --no-recurse-submodules origin +refs/heads/*:refs/remotes/origin/* +refs/pull/42/merge:refs/remotes/pull/42/merge

The Get sources step is checking out the pull/42/merge commit. I would rather checkout the pull/42/head branch. Is it possible to configure that? It's easy enough to do that myself in the YAML file.

@sjackman we will not trigger until there is a merge commit.  Why would you prefer to checkout head instead of merge?

we will not trigger until there is a merge commit.

So if there's a merge conflict then there'd be no CI run? That's not a problem, just curious.

Why would you prefer to checkout head instead of merge?

Our automated CI script (named test-bot) inspects what changed in this PR, and tests the components that were changed. It doesn't expect to see a merge commit in the PR. It could be fixed.
The workaround is simple though, so not a pressing concern. See https://github.com/Linuxbrew/homebrew-extra/pull/44/files

Could you please point me to an example azure-pipelines.yml of how to publish artifacts (arbitrary files) to some publicly accessible location on Azure?

Here is an example for uploading an artifact in one job and downloading in another https://docs.microsoft.com/en-us/azure/devops/pipelines/process/phases?view=vsts&tabs=yaml#artifact-download

    - task: PublishBuildArtifacts@1
      inputs:
        pathtoPublish: "/tmp/bottles"
        artifactName: bottles

2018-09-19T20:21:37.0000804Z Uploading 3 files
2018-09-19T20:21:42.0060555Z Total file: 3 ---- Processed file: 0 (0%)
2018-09-19T20:21:53.5278590Z Fail to upload '/tmp/bottles/brew-test-bot.xml' due to 'TF400813: The user '…' is not authorized to access this resource.'.
2018-09-19T20:21:53.5343426Z Microsoft.VisualStudio.Services.Common.VssUnauthorizedException: TF400813: The user '…' is not authorized to access this resource.

@chrisrpatterson @jeremyepling I'm seeing this authorization error form a fork pull request. Any tips?
I need these files for temporarily only (say a week or so).

Yes publishing artifacts from fork builds is currently blocked as we did not have a way to given a sufficiently scoped token to the agent.  This is something we are working on fixing but it is going to be a few weeks.  The CI will be able to publish and you can conditionalize the publish.  Here is an example https://github.com/onovotny/SignService/blob/master/azure-pipelines.server.yml#L47

Thanks for the info, @MonkeyTonk. In fact, CircleCI is the CI platform that Linuxbrew is currently using. There's a few limitations with CircleCI, but a significant one is that the free containers have 4 GB of RAM. Compiling some C++ programs exceeds that memory requirement.


fix light gbm model format

What this PR does / why we need it:
This fixes a bug where the lightgbm runtime YAML version is out of date.
lightgbm version defined as 3.3.2 https://github.com/kserve/kserve/blob/master/python/lgbserver/setup.py#L41, but runtime YAML was not updated and only supports major version 2.
We should use 3.3.2 as source of truth since this is what we use to build the image.
Type of changes
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

looks good to me

/lgtm
/approve


Conduct analysis and implement memory usage improvements

When triggering DAGs for larger multi-collection data providers, some tasks are failing because of memory constraints This containers encounter an error during launching : outofmemoryerror: container killed due to memory usage. There may be areas where our code can be improved to use memory more efficiently. We should implement these improvement where it makes sense to do so. We may also need to increase the memory of the containers.

Analysis in review by Ops/Access. Closing.


tensorflow 2.2.0 breaks our build

It seems that tensorflow 2.2.0 breaks our build, at least it does so on my platform.
We should also bump versions of jax and jaxlib in requirements_travix.txt, there was a bug
in jax.numpy.qr on macOS that got only recently fixed.

Wow TF breaks their API a lot.
I though our Travis build uses >= for the Jax versions. Does it not?

you're right travis uses >=.
It's weird, the API for tf.random.uniform didn't actually change, but I still get a linter complaing


usb-device compatibility

Hello, I'm trying to use the chip's USB device but can't figure how to implement the UsbBus trait - shouldn't that be implemented inside the pac? Can you give me any pointers on how to implement it?

Hi @dzervas. This should not be implemented in the PAC. The PAC is automatically generated from the vendor-provided SVD file and only forms the lowest layer of Rust support for the nRF52840. Higher-level code (like the USB implementation) should go into nrf-hal.
It doesn't support USB yet, but there's a pull request for that here: https://github.com/nrf-rs/nrf-hal/pull/144


Fetch timezone from API

#903  👈 (View in Graphite)
main

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

Merge activity

Dec 8, 1:02 AM EST: A user started a stack merge that includes this pull request via Graphite.


VSCode Pair

Would you be interested in making this work in VSCode? If not any ideas how portable the code base would be to move it to VSCode if someone was willing to put the effort in?
Thanks

@jpatel531 Can you possibly comment on the plausibility of writing plugins for other editors and IDE's which leverage the same pusher backend?

Indeed, this would be awesome!

If it's just interacting with the editor I don't see why it wouldn't be possible to do a similar extension for vscode. Looks like just a matter of hooking up lib/parser/ in a similar way as here, not sure on the stability of the api though as this is maintained by Pusher (why no npm module?). Don't want it to break a week later 😄

As I've mentioned on Twitter, it's like 2 days of work for someone familiar with VSCode API.... shrugs


Add IAM Role Support

Instead of using AWS Access Key and Secret having Support for IAM Role will help to avoid maintenance like rotating secret due to compliance.
Also SQS support resource based policies which help to utilize cross account Access using IAM role to manage access via IAM instead of creating user with access key and secret.

You should be able to use annotations to include IAM roles.

There are 3 approaches for an AWS application to access an SQS queue. 1. The application directly uses IAM user credentials(secret/access key) 2. The application assumes an IAM role, then uses STS to get temporary credentials to access the queue and 3. The SQS queue configures a server-side resource policy to allow access from the application ARN.
In our README.md file, we have documentation on approach 1 but lacking 2 and 3. @shubhamdixit863 , could you look into this? Thanks!


PyPI package has a wrong repository link

The PyPI project site of this project as well as the one of the other organisation projects ds-store and mac-alias all have outdated links. If you click source, you get GitHub 404 errors. It would be good if these could be updated to the current organisation repository links.

Thanks for the report. The links are definitely old - but at least for me, they're still resolving (the dmgbuild links both resolve to the dmgbuild/dmgbuild project on Github. However, they should definitely be updated to reflect this directly.

Oh, it depends where you click
If you click on Homepage on the left bar:

it leads to http://alastairs-place.net/projects/ds_store and redirects to this repository (https://github.com/dmgbuild/ds_store) correctly.
However, if you click on "Source" (which is what I did), it leads to https://github.com/al45stair/ds_store leading to a 404 error:

The licence and CI buttons on the top

directly lead to the correct links in this repository.

@freakboy3742 I'm sorry, but sadly this issue is still not resolved. :/
If you go to https://pypi.org/project/dmgbuild/, all the links are still as I described them. Maybe you need to release a new version or push these changes to pypi somehow for them to take effect?

Yes - I would need to publish a new release for these changes to take effect. However, given that this is a relatively cosmetic change, that in itself isn't a trigger for cutting a new release.

v1.6.2 has now been released, so the URLs are now updated.

Yay, that's really great to hear!


Is there a reason for not using Pointers?

what do you mean? Could you give an example. Tbh, I'm not good at Go.


http-client-java, fix bug on depencency merge

bug introduced when refactor.
previous code
https://github.com/Azure/autorest.java/blob/v4.1.36/javagen/src/main/java/com/azure/autorest/model/projectmodel/Project.java#L318-L329
current code missed the "project" node in xpath.

No changes needing a change description found.

You can try these changes here

🛝 Playground
🌐 Website
📚 Next docs


Cannot use with react-native-fit-image

The react-native-fit-image is a very handy component, where the image loaded from the source.uri is directly made to fit the size of the parent component.
 <CustomCachedImage component={FitImage} source={{ uri }} indicator={true} style={{}} />
Does not render an image even-though the purpose of FitImage is that

hi! I can't display it in the map loop with 'react-native-fit-image' pictures. How about you?

@d3fkon


Bg 958 update recovery tool blockchain explorer api

Now using smart bit api

Can you squash all your commits so that the final merge will be one clean commit? https://github.com/todotxt/todo.txt-android/wiki/Squash-All-Commits-Related-to-a-Single-Issue-into-a-Single-Commit