dont render ui unless logged in

WIP.
Checks if user is logged in before rendering UI.
Only implemented for Overview here for proof of concept.
Needs handling of javascript errors.

doesn't it make more sense to do it in the controller than in the view? https://github.com/cloudamqp/lavinmq/blob/main/src/lavinmq/http/controller/view_helpers.cr#L29-L49

doesn't it make more sense to do it in the controller than in the view? https://github.com/cloudamqp/lavinmq/blob/main/src/lavinmq/http/controller/view_helpers.cr#L29-L49

Yeah, agree. I'll look into it a bit more, but it might require more changes since we do all the redirects and login handling in javascript. So we still need to 'render' that.

Or do the cookie check before the rendering. No server side check at all.
On Tue, 14 Mar 2023, 11:34 Viktor Erlingsson, @.***>
wrote:

doesn't it make more sense to do it in the controller than in the view?
https://github.com/cloudamqp/lavinmq/blob/main/src/lavinmq/http/controller/view_helpers.cr#L29-L49
Yeah, agree. I'll look into it a bit more, but it might require more
changes since we do all the redirects and login handling in javascript. So
we still need to 'render' that.
—
Reply to this email directly, view it on GitHub
https://github.com/cloudamqp/lavinmq/pull/472#issuecomment-1467834400,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABL6TUQ2ZK2ZS2HLOAS4ADW4BCSDANCNFSM6AAAAAAVZGJPO4
.
You are receiving this because you commented.Message ID:
@.***>

Or do the cookie check before the rendering. No server side check at all.

I don't think that's possible since we use static html for the views - the browser will start to render the HTML regardless of what we do in javascript. I guess we can get around it by for example hiding the html/body element in css and then displaying it again once we have checked the cookie, but that will be a little bit slower, and will show a blank page for a short amount of time for every page load. I don't think that's ideal.
Maybe we could do a redirect in the backend instead
https://devdocs.io/crystal/http/server/response#redirect(location%3AString|URI%2Cstatus%3AHTTP%3A%3AStatus%3D%3Afound)-instance-method

Right now we wait for all html to be rendered, then load JS, that can be
changed.
On Tue, 14 Mar 2023, 12:41 Viktor Erlingsson, @.***>
wrote:

Or do the cookie check before the rendering. No server side check at all.
I don't think that's possible since we use static html for the views - the
browser will start to render the HTML regardless of what we do in
javascript. I guess we can get around it by for example hiding the
html/body element in css and then displaying it again once we have checked
the cookie, but that will be a little bit slower, and will show a blank
page for a short amount of time for every page load. I don't think that's
ideal.
Maybe we could do a redirect in the backend instead
https://devdocs.io/crystal/http/server/response#redirect(location%3AString|URI%2Cstatus%3AHTTP%3A%3AStatus%3D%3Afound)-instance-method
—
Reply to this email directly, view it on GitHub
https://github.com/cloudamqp/lavinmq/pull/472#issuecomment-1467942854,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AABL6TU4WMAE6MIF466P5VDW4BKQPANCNFSM6AAAAAAVZGJPO4
.
You are receiving this because you commented.Message ID:
@.***>

Right now we wait for all html to be rendered, then load JS, that can be changed.

Ah, of course. Maybe something like the newest changes then? A little bit of a compromise with a backend check (to actually verify the user/password combination) that does a javascript redirect to /login if not logged in.

Imo it doesn't matter that we render views as long as there is no sensitive data in the html.
I think it would be kind of nice to handle all authentication in the http.js, so if one is not authenticated we popup a login dialog before http requests can proceed. As soon as the login is done, all requests are done.
It would also be nice to handle 401 and popup a login dialog, then retry the failed request automatically.

Have you tested how caching is affecting this? I think it's a risk that the "non rendered" version of a view will be cached by the browser.
But this can be done server-side, so why not do it? Just add an if-statement in the get endpoint generated by static_view  macro and do a redirect, as long as an exception is done for /login endpoint. Or won't the redirect be possible because of relative paths? hm

Have you tested how caching is affecting this? I think it's a risk that the "non rendered" version of a view will be cached by the browser.

But this can be done server-side, so why not do it? Just add an if-statement in the get endpoint generated by static_view macro and do a redirect, as long as an exception is done for /login endpoint. Or won't the redirect be possible because of relative paths? hm

Yeah you're right - caching messes this up. I'll have a look a server-side redirect instead!

Yes, HTTP caching makes server-side redirects and checks moot. Let's focus on JS checks only, make them earlier and more reliably, no server side changes should be required.

#476 fixes the "flash of layout" issue.


Ran into a weird error: EAGAIN

Everything was working fine, until out of the blue I started getting this error which crashed my app:
fs.js:476
  var r = binding.read(fd, buffer, offset, length, position);
                  ^
Error: EAGAIN, resource temporarily unavailable
    at Object.fs.readSync (fs.js:476:19)
    at Object.fs.readFileSync (fs.js:310:28)
    at Object.exports.readAIN (/usr/local/lib/node_modules/bonescript/hw_capemgr.js:214:30)
    at Object.f.analogRead (/usr/local/lib/node_modules/bonescript/index.js:229:15)
    at null.<anonymous> (/home/debian/node_modules/thing-client/beagle1.js:647:18)
    at wrapper [as _onTimeout] (timers.js:252:14)
    at Timer.listOnTimeout [as ontimeout] (timers.js:110:15)

Any idea how I can get through this?
Regards
Guy

This issue was moved to beagleboard/bonescript#27


document.evaluate missing

Missing/Incorrect APIs
document.evaluate is missing in dom.js

Relevant documentation
https://developer.mozilla.org/en-US/docs/Web/API/Document/evaluate

I cannot reference XPathResult either.
https://developer.mozilla.org/en-US/docs/Web/API/XPathResult

Would you be interested in raising a PR to add these?

Related issue: #6304


null checker for some old phones

Thanks for submitting a PR! Please read these instructions carefully:

[x] Explain the motivation for making this change.
[x] Provide a test plan demonstrating that the code is solid.
[ ] Match the code formatting of the rest of the codebase.
[ ] Target the master branch, NOT a "stable" branch.

Motivation (required)
What existing problem does the pull request solve?
some old phone do have this null issue when connect it's storage to a computer.
Test Plan (required)
when connect it's storage to a computer.
the adb outputs:
java.lang.NullPointerException: file
at android.net.Uri.fromFile(Uri.java)
at com.imagepicker.utils.RealPathUtil.compatUriFromFile(RealPathUtil.java:25)
at com.imagepicker.ImagePickerModule.launchCamera(ImagePickerModule.java:253)
at com.imagepicker.ImagePickerModule.launchCamera(ImagePickerModule.java:203)
...
after null check the code works fine.

works for me,tks.


Missing React.forwardRef definition

React 16.3 introduced a new forwardRef() API, for which Flow does not currently have a definition.

I might try to work on this over the weekend.
Looks like for maximum correctness we need a new opaque type React$RefForwardingComponent<Props> (name?) and to add it as an option to the unions React$ComponentType<Props> and React$ElementType. However, and I'm extrapolating from limited experimentation here, it looks like Flow will not typecheck these props (when used in JSX etc) if we don't add special handling for RefForwardingComponent (in react_kit.ml probably?)
And then there's the option of fudging it and pretending forwardRef<Props>() returns React$ComponentType<Props>, but that's obviously unsound 🤷♂

OK, having done some digging, I'm going to make a PR with the less-correct solution, typing forwardRef as returning ComponentType<Props>. I'm basing this on the existing libdef for createContext: It models Provider and Consumer as ComponentType<Props> even though internally they're plain objects distinguished by their $$typeof property, and therefore are neither callable nor are they classes extending React.Component.
Ideally we would model these React builtins using a first-class "opaque component" type so we could catch certain errors that the current model will happily allow (and consider to have full type coverage).

Any idea of which release this will be part of? Thanks

+1

@tiarebalbi 0.89

I will follow up with a blog post on how to use the new AbstractComponent type. It will coincide with the 0.89 release.


Add 2dsphere index support

it seems to be missing 2dsphere index support, please add it.
I can help if needed

Was just about to ask the same question. I assumed all types of indexes were supported?


Implement graceful connection age

gRPC generally recommends the use of connection aging. the Go library in particular appears to do this w/ context Deadlines or Timeouts. We should set a context Deadline (optionally) on connections.

Not needed. The collector already support's gRPC's keepalive section, which includes max-age and max-age-grace settings.


High level Database Sizing

As a Partner using the Anchor Platform, a database sizing guide will help to enable the proper back-end database infrastructure.
This ticket will be to investigate generally the class of database infrastructure (CPU, IO, Memory) requirements.  Also provide high level sizing estimates (storage requirements).   Future stress testing will provide detailed sizing requirements.

will be added to documentation

I've executed the SEP-31+SEP-38 flow 492 times and here's the result:

DB size right after created: 8649 kb
DB size right after migrations: 8921 kB
DB size after 48 SEP-31 transactions: 9129 kB

4.33 kB per SEP-31 transaction, derived from the formula (9129-8921)/96 = 4.333

DB size after 300 SEP-31 transactions: 9625 kB

2.46 kB per SEP-31 transaction, derived from the formula (9625-8921)/300 = 2.34666667

DB size after 492 SEP-31 transactions: 9889 kB

1.97kb kB per SEP-31 transaction, derived from the formula (9889-8921)/492 = 1.96747967

From this simulation, we can conclude the data occupied by each SEP-31 (with SEP-38) transaction tends to get smaller the more transactions are created, and it's roughly 2kb/transaction for 500 transactions.


[release-1.5] Update base image version

Update base image. Manual cherry-pick of #25282 since the base image tag differs across releases.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[x] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

will go with #25292


Datatable conflicts with bootstrap modal datatable

Firstly, I appreciate you for nice tutorial, especially service implementation method is useful. While using service implementation method I found that there is a little conflict If I will use it together bootstrap modal DT.
Basically, I have two controllers: students and students lessons. Using basic service implementation method I can render all students as you suggest on your tutorial and it works pretty good. Using addColumn function I add html button for each student. Clicking to this button bootstrap modal dialog is opened with ajax call  and it calls again a new DT which fetches student's lessons. But second DT gives a conflict with first (students) DT. I see from debugbar that second DT uses first DT query() and ajax() method. I do both of them with service implementation method. If I will try to do this with basic query builder it will work perfect. I don't think that the problem is with my ajax. I assume that methods $this->query()  conflicts with each other after ajax request and that is why second DT uses first DT query.
Is there any way to fix this issue?

I think this demo contributed by user is somewhat close to what you are trying to achieve. It basically display two DT that uses service approach. Can you give it a shot to get a hint on how it works? The idea is to create a controller and DT class for each table you need.


installation error

melpa.milkbox.net/packages/org-journal-20190701.1600.el: Not found
i get this error. how can i solve.

Hey!
This is package.el thing!
You could try the following things:

Remove the package and install again
Update the package.el cache
..

hodanli<EMAIL_ADDRESS>writes:

melpa.milkbox.net/packages/org-journal-20190701.1600.el: Not found
i get this error. how can i solve.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


Build & Runtime fatal crash hotfix

Related to #9 .
Prevents react-native application from being crashed on JS code reload by checking if optional variable is present.

@gcrabtree Any update on that? This change is suggested by Xcode and seems to appear in multiple forks.

also #12


(BUG) The wallet address is displayed on the receive confirmation screen

Precondition:
The receive link is ready to be sent (just link or specific amount or via QR code - it doesn't matter)
Steps to reproduce:

Open the link in the other wallet
Pay attention to the wallet address

Actual result: The wallet address is displayed on the receive confirmation screen
Expected result: The wallet address shouldn't be displayed on the receive confirmation screen

Checked on  QA 1.8.1-1
Desktop: Windows 10 // Google Chrome  86.0.4240.75

@sirpy fixed / the name is displayed as expected


Avoid duplicate Cache-Control headers when serving from nginx+s3proxy

Requests for files hosted on S3 currently respond with a duplicate Cache-Control: max-age=86400, public header. We think one of these headers will be coming from Rails and the other from the object on S3. Although I don't think this'll cause any problems (because they're identical) we should only send a single Cache-Control header to avoid any potential problem in future.

We should probably test the combination of #164 and alphagov/govuk-puppet#6362 in integration before closing this.

I've just tested this in integration. I uploaded a file and then used curl to request it from the filesystem and from S3. I've confirmed that I only see a single Cache-Control header in both cases.
# Requesting from filesystem
$ curl "https://assets-origin.integration.publishing.service.gov.uk/media/59a6eaa2e5274a62e055d262/1MB.dat" -v > /dev/null
< HTTP/1.1 200 OK
< Accept-Ranges: bytes
< Access-Control-Allow-Headers: origin, authorization
< Access-Control-Allow-Methods: GET, OPTIONS
< Access-Control-Allow-Origin: *
< Cache-Control: max-age=86400, public
< Connection: close
< Content-Disposition: inline; filename="1MB.dat"
< Content-Length: 1048576
< Content-Type: application/octet-stream
< Date: Wed, 30 Aug 2017 16:41:47 GMT
< ETag: "59a6eaa2-100000"
< Last-Modified: Wed, 30 Aug 2017 16:41:06 GMT
< Server: nginx
< Strict-Transport-Security: max-age=31536000
< X-Frame-Options: DENY

# Requesting from S3
$ curl "https://assets-origin.integration.publishing.service.gov.uk/media/59a6eaa2e5274a62e055d262/1MB.dat?proxy_to_s3_via_nginx=true" -v > /dev/null
< HTTP/1.1 200 OK
< Accept-Ranges: bytes
< Access-Control-Allow-Headers: origin, authorization
< Access-Control-Allow-Methods: GET, OPTIONS
< Access-Control-Allow-Origin: *
< Cache-Control: max-age=86400, public
< Connection: close
< Content-Disposition: inline; filename="1MB.dat"
< Content-Length: 1048576
< Content-Type: */*; charset=utf-8
< Date: Wed, 30 Aug 2017 16:42:03 GMT
< ETag: "59a6eaa2-100000"
< Last-Modified: Wed, 30 Aug 2017 16:41:06 GMT
< Server: nginx
< Strict-Transport-Security: max-age=31536000

I noticed that the Content-Type response header values were different in the test above. I've opened issue #175 to remind us to investigate this further.

I'm happy that this issue has been resolved so I'm closing it.


fix(sdk): Add __iter__ to wandb Config

This simple fix adds an __iter__ method to wandb Config, making it possible to iterate over a Config as if you are iterating over the underlying _items dictionary.
Description
In its current form, it is not possible to iterate over a Config. People using Config may think it is like a dictionary and that it is possible to iterate over it in the same way as a dictionary. This is essentially the issue shown in #3979, although it seems like it wasn't realised there.
As a simple example, the following code will currently give a KeyError
from wandb.sdk.wandb_config import Config

cfg = Config()
cfg.update({"This": "is",
            "a": "test",
            "!!!": 1})

for k in cfg:
    print(f"{k}: {cfg[k]}")

With error
Traceback (most recent call last):
  File "/Users/ferdiasherry/Desktop/test_wandb_config.py", line 9, in <module>
    for k in cfg:
  File "/Users/ferdiasherry/Desktop/wandb/wandb/sdk/wandb_config.py", line 130, in __getitem__
    return self._items[key]
           ~~~~~~~~~~~^^^^^
KeyError: 0

After the change in this commit, the code runs as expected, with the following output
This: is
a: test
!!!: 1

Fixes #3979

[ ] I updated CHANGELOG.md, or it's not applicable

Testing
How was this PR tested?

Thank you for checking it! I didn't update the changelog but maybe an entry can be added after?

You're right, I'll add it :)

https://github.com/wandb/wandb/pull/8162


How to preprocess the "phrase-table.en.h5" and ""phrase-table.fr.h5"

Hi
For "prototype_phrase_state" method, the "phrase-table.en.h5" and ""phrase-table.fr.h5" are need. How can I obtain these two file? Are they from the original SMT phrase-table? Which toolkit should I use to convert them to  "phrase-table.en.h5" and ""phrase-table.fr.h5"?
Thanks

https://github.com/lisa-groundhog/GroundHog/blob/master/experiments/nmt/README.md
On 9 March 2016 at 05:23, wangruinlp<EMAIL_ADDRESS>wrote:

Hi
For "prototype_phrase_state" method, the "phrase-table.en.h5" and
""phrase-table.fr.h5" are need. How can I obtain these two file? Are they
from the original SMT phrase-table? Which toolkit should I use to convert
them to "phrase-table.en.h5" and ""phrase-table.fr.h5"?
Thanks
—
Reply to this email directly or view it on GitHub
https://github.com/lisa-groundhog/GroundHog/issues/50.


'RS2_OPTION_HISTOGRAM_EQUALIZATION_ENABLED'  not defined in Python?

Required Info

Camera Model
{ D435 }

Firmware Version
<IP_ADDRESS>

Operating System & Version
Linux Ubuntu 16.04

Kernel Version (Linux Only)

Platform
PC

SDK Version
{ legacy / 2.. }

Language
python}

Segment
{Robot/Smartphone/VR/AR/others }

Hi,
I want to disable the Histogram_Equalization, so that I can get the same depth image in a python script like I get in the Realsense Viewer right now. I can set the min and max distances with set_option but I cannot set the RS2_OPTION_HISTOGRAM_EQUALIZATION_ENABLED in Python. I get a message "not defined" (see below). What can I do so that I can disable/enable HISTOGRAM_EQUALIZATION in my Python script?
Here is part of the code:
colorMap = rs.colorizer()
colorMap.set_option(rs.option.min_distance,0)
colorMap.set_option(rs.option.max_distance,6)
print("colorizer - min_distance: %f" %(colorMap.get_option(rs.option.min_distance)))
print("colorizer - max_distance: %f" %(colorMap.get_option(rs.option.max_distance)))
colorMap.set_option(RS2_OPTION_HISTOGRAM_EQUALIZATION_ENABLED,0)
And the result is this:
colorizer - min_distance: 0.000000
colorizer - max_distance: 6.000000

NameError                                 Traceback (most recent call last)
 in
14 print("colorizer - min_distance: %f" %(colorMap.get_option(rs.option.min_distance)))
15 print("colorizer - max_distance: %f" %(colorMap.get_option(rs.option.max_distance)))
---> 16 colorMap.set_option(RS2_OPTION_HISTOGRAM_EQUALIZATION_ENABLED,0)
17
18 depth_scale = depth_sensor.get_depth_scale()
NameError: name 'RS2_OPTION_HISTOGRAM_EQUALIZATION_ENABLED' is not defined

In python that would be rs.option.histogram_equalization_enabled

Thank you dorodnic, now it works perfectly;)


World generation.

About the PR
A PR to assert my dominance as the first person to write over 1k+LoC (2.2kloc to be precise, not including the library)  for this codebase.
Includes worldgen MVP, biomes and wrecks for another PR.
Media

[x] I have added screenshots/videos to this PR showcasing its changes ingame
[ ] This PR does not require an ingame showcase

Changelog
no changelog bot no fun

a wild spurious test failure :guh:


Add Priority in RadiusComponent for RVO

Hi Atheos, thanks for the pull request. This is quite an impactful feature though, it's going to require some consideration to figure out the best implementation. A couple of quick things:
Are you getting good results with this implementation? Simply ignoring neighbours makes me a bit hesitant as both agents are responsible for half the collision avoidance.
Another issue is I wouldn't add the priority to the radius component.
Ideally this feature would not add any overhead if it wasn't used, which would require some more thought on the implementation

It is more appropriate to increase the mass dimension, the higher the mass, the closer to the maximum speed, and the lower the mass, the closer to the minimum speed
Priority is a trick，but userful。


Cosmos DB - Add "Execute" to Stored Procedures

Hi team,
You already did brilliant job, but we need more :)
Could you please make it possible to execute Cosmos DB Stored Procedures?
Two reasons:

Now the experience is incomplete.
What's the point in using two tools - one to create stored procedure and the other one to execute it?

Document DB Studio which is able to execute procedures is not the best tool from usability prospective.
Having this feature done in Azure Storage Explorer we can get rid of Studio finally.

Another thanks for the great software, team!
Andriy

@AndriyGorda , Thanks a lot for the feedback.
We plan to support the Execute for stored procedure in next release.

Good news, many thanks!

We will support execute stored procedure in version 1.3.0. Please try it and open new issues for feedback.

@ziyel , did this make 1.3.0?

@MRayermannMSFT , we added the feature in 1.3.0.

Ok, then closing the issue. Thank you. 😄


Peacock Support

Is there any plan to add peacock support? Would be great for the Olympics!

Yeah unfortunately NBC blocked me from going that


Added ClockyClock to Js-Projects

[GSSoC'23] Add a Clock Website(Analog Clock and Alarm Clock) #2208
Close #2208

Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md

@pranjay-poddar @MohitGupta121 @Saurabh-kumar09 Sir, please review this PR made under GSSoC'23.

@pranjay-poddar @MohitGupta121 @Saurabh-kumar09  Sir, I have made the required changes. Can you please review the PR under GSSoC'23 ?

@MohitGupta121 Sir, is the PR eligible to be merged ?


Implement all LargeInteger Primitives (20-39)

... using 53 bit logic, as in e3627a000eff93c03f0185dd158fa4050309401d?
... and ideally, using JS BigInt numbers if we get outside the 53 bit range, instead of failing the prims.

I needed integers a little bigger than default (in a 32 bit image). Therefore added a number of the LargeInteger primitives using the technique mentioned with 53-bit JS logic/support. If interested, you can find it here: https://github.com/ErikOnBike/SqueakJS/commit/8df8f91d6967dca113299d758911fd932d12340d

This breaks LargeInteger semantics. After cherry-picking https://github.com/ErikOnBike/SqueakJS/commit/8df8f91d6967dca113299d758911fd932d12340d Squeak fails to start up. I'm not entirely sure which of the large int ops actually leads to failure, but even just the first one is wrong:
[] in Delay class>>startTimerEventLoop
Delay class>>runTimerEventLoop
Delay class>>handleTimerEvent
Delay class>>scheduleDelay:from:
LargePositiveInteger>>+

ctx[5]=rcvr: 16r0DD63AD203E07F<PHONE_NUMBER>155199L)
ctx[6]=tmp0/arg0: 500000

This is performing<PHONE_NUMBER>155199 + 500000 =<PHONE_NUMBER>997199 which indeed is in the Int53 range. However, your code does not actually convert the result to a LargeInteger and instead answers the result as a BoxedFloat64. But in Squeak, Integers are guaranteed to be accurate and must never automatically flow over into inaccurate Floats.
Instead of makeStObj() you might use pos53BitIntFor() which in the case of addition could do the Right Thing, if you properly guard against negative results. There probably should be a similar one that handles negative numbers too, I just have not had the need for that.
The other operations do not look quite correct either. E.g. division needs to fail if the result is not an integer, so that the image fallback code can construct a Fraction. And the various Rem/Mod/Quo operations have subtly different semantics for signed numbers - that's why even the SmallInteger code uses   this.vm.quickDivide() , this.vm.mod(), this.vm.div() etc.
So while this may work for your specific purposes, my goal for SqueakJS is to provide a VM with perfectly accurate semantics, even if it comes with speed penalties.

... that being said, implementing these primitives is still a Good Idea. For best speed I would even try to use JS BigInt numbers if we get outside the 53 bit range, instead of failing the prims in that case.
The reason I haven't done that yet is because the 53 bit stuff is only used for clock operations so far which are all positive. The most used LargeIntegers besides for clock purposes is full 32 bit operations, which is implemented by the various "pos32Bit" functions.
All other LargeInts are handled by the image fallback code which uses the LargeInteger plugin transpiled from Slang.

Hmmm. Hadn't tried it on regular images. I'm using it with my tiny 32-bit image. The 53-bit support is already very welcome for things like a clock or some browser identifiers. I use a custom makeStObject so I might have different results. Your findings makes me think I should perform some additional tests though ;-). Thx

I don't have Fractions in my image, so Float works for me. But I understand and agree SqueakJS in general should be fully compatible.
Small thing: I think the optimised "obj == (obj|0)" in makeStObject does not (or did not seem to) work in all cases. I replaced it with "Number.isInteger(obj)" which works for me. YMMV

The line in makeStObject() is
if (obj === (obj|0)) return this.makeLargeIfNeeded(obj);
else return this.makeFloat(obj);

Since my makeLargeIfNeeded() only handles SmallIntegers and positive 32 bit LargeInts (it throws otherwise), the check needs to match that. If you were to use Number.isInteger() then you would still need to add upper and lower bounds checks to match makeLargeIfNeeded(), otherwise it will throw.  So it would need to check for ≥ Squeak.MinSmallInt = -0x40000000 and ≤ 0xFFFFFFFF (max positive 32 bit LargeInt).
In practice, I've never observed makeLargeInt() throw, but you're right, that would be more accurate. And makeStObject() isn't used in performance-critical code so we may as well do that.


Warnings in xcode 7

Just added PINCache to my xcode 7 project via cocoapods and get these 2 warnings:
for PINCache and PINDiskCache
Method override for the designated initializer of the superclass '-init' not found

+1

+1

Just pushed 2.1 to pod spec repo.


Mapit raises error on 404

Previously, the Mapit adapter was only raising the error when the API
return a 400. This commit updates it to also return on a 404, which
happens when a User enters a valid postcode but gets back no matches.
Most commonly, this happens with new builds.
Ticket.

This change wasn't doing what I thought it was doing. Closing in favour of another PR.


Am I doing Genre's right?

So I'm following your setup for Genre's, but I tweaked it some. I'm just wondering if I'm doing something wrong or not
When I look at my Plex and change my view to filter by a Genre of "Thriller", I have 461 movies.
However, my Thriller genre collection only has 62 movies in it.
Here's the settings I'm using for Thriller
  Thriller:
    imdb_list:
    - url: https://www.imdb.com/search/title/?title_type=feature&release_date=1990-01-01,&user_rating=5.0,10.0&num_votes=100000,&genres=thriller
      limit: 100
    - url: https://www.imdb.com/search/title/?title_type=feature&release_date=1990-01-01,&user_rating=5.0,10.0&num_votes=100000,&genres=thriller&sort=user_rating,desc
      limit: 100
    sort_title: ++_Thriller
    sync_mode: append
    summary: Thriller Film is a genre that revolves around anticipation and suspense. The aim for Thrillers is to keep the audience alert and on the edge of their seats. The protagonist in these films is set against a problem an escape, a mission, or a mystery. No matter what sub-genre a Thriller film falls into, it will emphasize the danger that the protagonist faces. The tension with the main problem is built on throughout the film and leads to a highly stressful climax.
    collection_order: alpha
    plex_search:
      genre: Thriller

I added the plex_search genre Thriller as well, thinking that it would just be easier to pull everything from the Thriller genre of Plex into the Thriller collection, but that's not what I'm seeing happen for some reason.

it seems to be working for me can you send me your meta.log file?

I let it run twice after adding the plex_search portion in and it's updated the counts so they line up against the Plex genre into the Plex Meta Manager collection. Thanks!


Fix TeamCity tests on TeamCity

This fixes #766 by not using System.Console directly and instead using ICakeLog and mock that during tests.

Change TeamCityProvider WriteServiceMessage to use ICakeLog instead of System.Console
Change TeamCityProviderTests to not change System.Console stream so TeamCityFixture instead has a FakeLog/ICakeLog instance
Add AggregateLogMessages method to FakeLog to get all current log entries message as a string

I feel like there was a reason I didn't do this. Has this been tested against a teamcity instance?

@RichiCoder1 I'm about to add so PRs are built in TeamCity too and will soon test against my branch. It it doesn't work, I'll look at refactoring some more.

@devlead I haven't seen any failed build notifications from TeamCity, so I think this worked, right?  Or is TeamCity only running builds on master branch just now?

The tell would be wether service messages are properly showing up in team city build log

@gep13 currently only runs develop / master, I'll add  so it builds PRs tonight.
@RichiCoder1 correct I'm running a few tests on my fork on a local TC then I'll test the PR.

@devlead cool. Are you planning on adding that as a PR check as well?

@gep13 no, but that would fit well with the integration tests though, so given pr when that's in place.

@gep13 @devlead It should be quite straightforward with this plugin. I'm using it myself for Gerrit integration. It doesn't come with any documentation though :smile: hint, once installed, it can be found under Build Features

@mholo65 we are using the TeamCity instance hosted on CodeBetter, so I think we are limited in what plugins we can install, but I am fairly sure that setting up integration with GitHub PR's is already there, as we do that on Chocolatey already.

@gep13 yes it's there just a little configuration.

@gep13: Test went well should be good to go.

@gep13 Fixed @patriksvensson extension feedback and rebased, so should be ready for merge unless you find something else.

Looks good to me! :+1:


fix: fixing schemas for Servicetoken and accesspoint.interface.

This PR includes fixes for two defects(CXF-81949 & CXF-81844)

fixed service token schema
fixed accespoint.interface schema

Codecov Report
Attention: 261 lines in your changes are missing coverage. Please review.

Comparison is base (26b2f3d) 60.11% compared to head (a46677e) 59.83%.
Report is 77 commits behind head on main.

Files
Patch %
Lines

equinix/fabric_mapping_helper.go
0.00%
67 Missing :warning:

equinix/resource_fabric_connection.go
0.00%
35 Missing :warning:

equinix/resource_fabric_cloud_router.go
0.00%
31 Missing :warning:

equinix/resource_fabric_service_profile.go
0.00%
12 Missing :warning:

equinix/resource_fabric_routing_protocol.go
0.00%
11 Missing :warning:

equinix/resource_ecx_l2_connection.go
38.46%
8 Missing :warning:

equinix/resource_ecx_l2_serviceprofile.go
38.46%
8 Missing :warning:

equinix/resource_network_acl_template.go
0.00%
8 Missing :warning:

equinix/resource_network_device.go
0.00%
8 Missing :warning:

equinix/resource_network_device_link.go
0.00%
8 Missing :warning:

... and 21 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #472      +/-   ##
==========================================
- Coverage   60.11%   59.83%   -0.29%
==========================================
  Files          99       98       -1
  Lines       20045    19939     -106
==========================================
- Hits        12051    11931     -120
- Misses       7691     7711      +20
+ Partials      303      297       -6

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


emailly.co

can you add following domains pls?
emailly.co
emailtoshare.com
getmail.pics
mailhq.club
meetmail.me
openmail.lol
usemail.live
usemail.xyz

Thanks for bugreport, we have been watching this provider but due to some changes, it was not working properly. We have those domains in our database now.


add proxy hold on

If l add proxy , it will hold on wait for this page

Try increasing the timeout (-t ) or use a different proxy. I have just pushed a commit that increased the default timeout, so you can try using that as well.

Yes, l have done this , have added different proxy and increasing the timeout , but they all didn't work ;
about the proxy, l use it to visit other website is normal

Upon testing, I was able to fetch a cf_clearance cookie consistently from this website using a proxy. I believe the issues you are experiencing are strictly network related (Slow proxy connection/Request failures).

ok thanks , l'll have a retry


[FLINK-4322] Unify CheckpointCoordinator and SavepointCoordinator

The CheckpointCoordinator now also takes over the role of the SavepointCoordinator. Savepoints are just like other checkpoints - they only store the metadata in addition. Restoring from a savepoint means loading it into the CheckpointStore at startup.
This simplifies the code quite a bit. We get rid of the savepoint coordinator and related classes and cumbersome restoring logic in the main code. For the tests, we can replace some integration tests with unit tests.
PendingSavepoint instances are finalized to become a CompletedCheckpoint like regular PendingCheckpoint instances, but in addition store the savepoint meta data and complete a Promise for callbacks. PendingSavepoints cannot be subsumed and a CompletedCheckpoint from a savepoint does not delete its associated state when being disposed.
@StephanEwen did most of the work and I added and fixed some tests.

Thanks for joining this effort. I'll try to have a look at the tests in the next days.

Looked very good. Fixed a minor issue (test log level) and merged this.

The unification looks great and now things are simple in terms of restoration. Thanks.

Reading the code once again, just few doubts/questions
->If a save point is triggered and that is happening with in the duration of the 'MINIMUM_TIME_BETWEEN_CHECKPOINTS' we still throw back a decline result? Is it not needed that since Save points are externally triggered we need to isolate that with the internal timing we maintain?
Correct me if am missing something here. Thanks.

Savepoints are excepted form the concurrent checkpoints and time between checkpoints limitation. These checks run only if the triggered checkpoint is not a savepoint (in the triggerCheckpoint(...)) method.

Ya. So may be this code
if (lastTriggeredCheckpoint + minPauseBetweenCheckpoints > timestamp) {
The if block should also go inside the previous 'if' condition that checks for !savePoint, right?

You are right, this was an oversight on my side. This check should also be within the if (!isSavepoint()) block. Thanks for reviewing this.
Do you want to create a fix for that?

Yes. I can do it. Thanks.
Is it better to raise a JIRA for that for accounting or just raise a PR with the same issue ID?

JIRA issue never hurts. But in this case, it could piggy-bag on the previous issue. Your choice ;-)


etlua link  has no URL

In the section
Templates
Luapress templates can be written mustache, etlua or LHTML. You only need to worry about a few files:

The etlua link  has no URL

🤦♂ whoops will get this fixed, thanks for spotting!


Training a big transformer fails

Hello! I am trying to train a big transformer using sockeye. Here's the command that I used:
python -m sockeye.train -s train.en -t train.de -vs newstest2013.en -vt newstest2013.de --shared-vocab --num-words 32768:32768 --encoder transformer --decoder transformer --num-layers 6:6 --transformer-model-size 1024 --transformer-attention-heads 16 --transformer-feed-forward-num-hidden 4096 --transformer-positional-embedding-type fixed --num-embed 1024:1024 --weight-tying --weight-tying-type src_trg --min-updates 300000 --max-updates 300000 --embed-dropout 0.3:0.3 --transformer-dropout-prepost 0.3 --initial-learning-rate 0.0005 --learning-rate-warmup 4000 --learning-rate-scheduler-type fixed-rate-inv-sqrt-t --batch-size 3500 --batch-type word --checkpoint-frequency 4000 --device-ids 1 --max-seq-len 128 -o ~/model
I have two problems trying to run this:

Training on multiple GPUs (by changing --device-ids above to, for example, -1) does not work. Although training starts successfully, once it gets to saving the model (at batch 4000) it fails when trying to clone the model with an illegal cuda operation error. I tried rebuilding mxnet with dmshadow_use_pascal = 1 but while the stack trace changed, the fact that it would crash when trying to save the model (somewhere in save()) did not. Unfortunately I don't have stack traces now, but I can try to recreate them if you think it would be helpful.

Training on a single GPU also does not work. Again, it trains successfully but once it gets to saving the model it crashes with:

[INFO:sockeye.training] Epoch[0] Batch [4000]	Speed: 123.76 samples/sec 4001.26 tokens/sec 1.00 updates/sec	perplexity=565.674783
[INFO:sockeye.utils] Releasing GPU 1.
[ERROR:__main__] Uncaught exception
Traceback (most recent call last):
  File "/private/home/abaevski/.conda/envs/sockeye/lib/python3.6/runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "/private/home/abaevski/.conda/envs/sockeye/lib/python3.6/runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "/private/home/abaevski/sockeye/sockeye/train.py", line 837, in <module>
    main()
  File "/private/home/abaevski/sockeye/sockeye/train.py", line 833, in main
    existing_parameters=args.params)
  File "/private/home/abaevski/sockeye/sockeye/training.py", line 565, in fit
    self._save_params()
  File "/private/home/abaevski/sockeye/sockeye/training.py", line 915, in _save_params
    self.model.save_params_to_file(self.current_params_fname)
  File "/private/home/abaevski/sockeye/sockeye/training.py", line 333, in save_params_to_file
    super().save_params_to_file(fname)
  File "/private/home/abaevski/sockeye/sockeye/model.py", line 160, in save_params_to_file
    utils.save_params(self.params.copy(), fname, self.aux_params.copy())
  File "/private/home/abaevski/sockeye/sockeye/utils.py", line 154, in save_params
    mx.nd.save(fname, save_dict)
  File "/private/home/abaevski/.conda/envs/sockeye/lib/python3.6/site-packages/mxnet-1.2.0-py3.6.egg/mxnet/ndarray/utils.py", line 273, in save
    keys))
  File "/private/home/abaevski/.conda/envs/sockeye/lib/python3.6/site-packages/mxnet-1.2.0-py3.6.egg/mxnet/base.py", line 210, in check_call
    raise MXNetError(py_str(_LIB.MXGetLastError()))
mxnet.base.MXNetError: [15:40:33] src/storage/./pooled_storage_manager.h:108: cudaMalloc failed: out of memory

Stack trace returned 10 entries:
[bt] (0) /private/home/abaevski/.conda/envs/sockeye/lib/python3.6/site-packages/mxnet-1.2.0-py3.6.egg/mxnet/libmxnet.so(dmlc::StackTrace[abi:cxx11]()+0x5b) [0x7fc311e2980b]
[bt] (1) /private/home/abaevski/.conda/envs/sockeye/lib/python3.6/site-packages/mxnet-1.2.0-py3.6.egg/mxnet/libmxnet.so(dmlc::LogMessageFatal::~LogMessageFatal()+0x28) [0x7fc311e2a378]
[bt] (2) /private/home/abaevski/.conda/envs/sockeye/lib/python3.6/site-packages/mxnet-1.2.0-py3.6.egg/mxnet/libmxnet.so(mxnet::storage::GPUPooledStorageManager::Alloc(mxnet::Storage::Handle*)+0x154) [0x7fc31479b9a4]
[bt] (3) /private/home/abaevski/.conda/envs/sockeye/lib/python3.6/site-packages/mxnet-1.2.0-py3.6.egg/mxnet/libmxnet.so(mxnet::StorageImpl::Alloc(mxnet::Storage::Handle*)+0x5d) [0x7fc31479d94d]
[bt] (4) /private/home/abaevski/.conda/envs/sockeye/lib/python3.6/site-packages/mxnet-1.2.0-py3.6.egg/mxnet/libmxnet.so(mxnet::NDArray::CheckAndAlloc() const+0x1b1) [0x7fc311f07fa1]
[bt] (5) /private/home/abaevski/.conda/envs/sockeye/lib/python3.6/site-packages/mxnet-1.2.0-py3.6.egg/mxnet/libmxnet.so(+0x30a9453) [0x7fc31430a453]
[bt] (6) /private/home/abaevski/.conda/envs/sockeye/lib/python3.6/site-packages/mxnet-1.2.0-py3.6.egg/mxnet/libmxnet.so(mxnet::imperative::PushFCompute(std::function<void (nnvm::NodeAttrs const&, mxnet::OpContext const&, std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob> > const&, std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType> > const&, std::vector<mxnet::TBlob, std::allocator<mxnet::TBlob> > const&)> const&, nnvm::Op const*, nnvm::NodeAttrs const&, mxnet::Context const&, std::vector<mxnet::engine::Var*, std::allocator<mxnet::engine::Var*> > const&, std::vector<mxnet::engine::Var*, std::allocator<mxnet::engine::Var*> > const&, std::vector<mxnet::Resource, std::allocator<mxnet::Resource> > const&, std::vector<mxnet::NDArray*, std::allocator<mxnet::NDArray*> > const&, std::vector<mxnet::NDArray*, std::allocator<mxnet::NDArray*> > const&, std::vector<unsigned int, std::allocator<unsigned int> > const&, std::vector<mxnet::OpReqType, std::allocator<mxnet::OpReqType> > const&)::{lambda(mxnet::RunContext)#1}::operator()(mxnet::RunContext) const+0x1d5) [0x7fc314334405]
[bt] (7) /private/home/abaevski/.conda/envs/sockeye/lib/python3.6/site-packages/mxnet-1.2.0-py3.6.egg/mxnet/libmxnet.so(+0x3523acb) [0x7fc314784acb]
[bt] (8) /private/home/abaevski/.conda/envs/sockeye/lib/python3.6/site-packages/mxnet-1.2.0-py3.6.egg/mxnet/libmxnet.so(mxnet::engine::ThreadedEngine::ExecuteOprBlock(mxnet::RunContext, mxnet::engine::OprBlock*)+0x8e5) [0x7fc31477f955]
[bt] (9) /private/home/abaevski/.conda/envs/sockeye/lib/python3.6/site-packages/mxnet-1.2.0-py3.6.egg/mxnet/libmxnet.so(void mxnet::engine::ThreadedEnginePerDevice::GPUWorker<(dmlc::ConcurrentQueueType)0>(mxnet::Context, bool, mxnet::engine::ThreadedEnginePerDevice::ThreadWorkerBlock<(dmlc::ConcurrentQueueType)0>*, std::shared_ptr<dmlc::ManualEvent> const&)+0xeb) [0x7fc3147961fb]

I don't really know what's going on but one guess is that it tries to clone the model when saving it and runs out of memory as 2 models don't fit into gpu memory.
I tried both the master branch as of last week and the latest tagged release at the time (1.18.10). I also tried latest mxnet-cuda90 and also built it from source.
Any idea what's wrong and how I can get past these errors?
Thanks!

BTW i tried getting the latest master and trying to run a transformer with default everything and it just consistently crashes with
  File "/private/home/abaevski/.conda/envs/sockeye/lib/python3.6/site-packages/mxnet/ndarray/ndarray.py", line 1894, in asscalar
    return self.asnumpy()[0]
  File "/private/home/abaevski/.conda/envs/sockeye/lib/python3.6/site-packages/mxnet/ndarray/ndarray.py", line 1876, in asnumpy
    ctypes.c_size_t(data.size)))
  File "/private/home/abaevski/.conda/envs/sockeye/lib/python3.6/site-packages/mxnet/base.py", line 149, in check_call
    raise MXNetError(py_str(_LIB.MXGetLastError()))
mxnet.base.MXNetError: [08:39:47] src/storage/./pooled_storage_manager.h:108: cudaMalloc failed: out of memory

even if i set batch size to something very small. this is on machines with 16gb of gpu memory

Hi @alexeib this is strange.
I don't know exactly if a big transformer with this batch size (and max sequence length) would fit on a single GPU, but the defaults should definitely fit.
Regarding the 'model', i.e. the parameters: The actual parameters are not that big (maybe a couple hundred MB). What uses most of the GPU memory is the storage for intermediate outputs in the computation graph.
Your errors sound like a problem with mxnet and/or cuda drivers. For example, changing device ids from 1 to -1 shouldn't change anything in terms of data parallel training, but just give Sockeye the ability to acquire any available GPU instead of the second one (index 1).
Have you tried it with pip-installed mxnet (pip install mxnet-cu90==1.2.0)? Also, you may want to make sure to uninstall any other mxnet version (self-compiled or pip-installed) first before doing this.
Also, could you give the full stacktrace of the error in your last comment, i.e. indicating at which point in Sockeye code asscalar() is called?

ok with the latest code it seems that it doesnt crash at checkpointing anymore, even with the big transformer. so i can train successfully, but i have to keep one gpu just for decoding and not use it for training

Ok, so you maximum sequence length is very long (256). Along with this batch size on a single GPU (even with 16GB) I doubt that this can fit.
A 'big' 6-layer transformer on 4 GPUs with word-based batch size and max-len 100 should probably be fine (I haven't tested this myself in a while).
If you have a machine with multiple GPUs (say 4), use --device-ids -4 not --device-ids 4 (the latter means 'use only GPU with id 4 - which wouldn't exist on a 4 GPU machine (0-indexed)).
I suggest reducing the batch size and/or the maximum sequence length.

not exactly. The maximum sequence length determines the largest bucket (i.e. the default bucket) for the BucketingModule in MXNet. While the actual batch sizes with that sequence length may be small (as stated in the log which outputs the 'bucket batch sizes we compute to', I think MXNet still initially allocates the default (sub)module with the largest batch size and the largest sequence length (the default bucket key).
I think this has to do with memory sharing, but I am not an expert in memory planning in MXNet to be honest.
Can you try if changing --max-seq-len while keeping the word-based batch size constant has an effect on overall memory usage?

just as a comment: If you have 4 GPUs, I'd probably use all 4 of them for training and decode either on the CPU or share a GPU for decoding. Having a GPU dedicated for training will most likely result in it being idle for a large time.


fix typo in syntax

Files.newInputStream is a static method so the "new" keyword shouldn't be here.

Merged, many thanks!


Done corrections in faq(1).html

I have resolved the issue #137 and corrected all the mentioned issues.

Fixes #137


FittedCloud storage driver

FittedCloud EBS Optimizer driver
This driver implements thin-provisioned EBS volumes.

 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.

Codecov Report

Merging #408 into master will increase coverage by 0.05%.

@@            Coverage Diff             @@
##           master     #408      +/-   ##
==========================================
+ Coverage   30.47%   30.53%   +0.05%
==========================================
  Files          29       29
  Lines        1739     1739
==========================================
+ Hits          530      531       +1
+ Misses       1151     1150       -1
  Partials       58       58

Impacted Files
Coverage Δ

api/types/types_localdevices.go
79.24% <ø> (+1.88%)
:white_check_mark:

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 f0aa0a1...c7296d8. Read the comment docs.

Hi @jack-fittedcloud,
Thank you for this PR. I've enjoyed our chats via e-mail up this point, so I look forward to working with you and your team to get this PR merged and into an upcoming release of libStorage and REX-Ray.

Hi @jack-fittedcloud,
Have you validated this driver with your own internal testing?

Hi @akutz,
Yes, we have.  We also ran the fittedcloud.test.

This doc should give a better idea of how to use it:  FirredCloud EBS Driver Technical Preview

Hi @jack-fittedcloud,
Honestly...this looks good. Want to be part of the upcoming libStorage 0.5.0 and REX-Ray 0.80 releases? We need you to rebase this onto the libStorage branch release/0.5.0 if so, and once you do that, please re-run your tests and paste the resulting output and emitted coverage file from -test.cover or -cover into a Gist as two files and link them here.
If everything is fine after that I want to merge you into release/0.5.0 so you can be part of LS 0.5.0-rc2.

Hi @jack-fittedcloud,
FYI, please be aware there was one breaking change to a StorageDriver function's signature -- VolumeRemove. You can read more about it in #409.

Thanks @akutz.  I'll be right on it.

Hi @jack-fittedcloud,
Please squash this branch.

Hi @jack-fittedcloud,
I created a branch with your PR at https://github.com/akutz/libstorage/commits/feature/fittedcloud. Please just reset your PR's branch to match mine by doing the following:
# add my repo as a remote
git remote add kutz https://github.com/akutz/libstorage.git

# fetch my repo
git fetch kutz

# make sure you're on the correct branch
git checkout fittedcloud

# reset the your branch to the tip of mine
git reset --hard kutz/feature/fittedcloud

A few notes on which I was being a little lenient, but having rebased your PR and taken a second look I'd like to ask you to handle these items:

The branch name should follow GitFlow or GitHubFlow, and thus be feature/fittedcloud.
The column width of source files should be limited to 80 characters.
The storage driver should not ever be invoking the executor. The executor is local only and the storage driver is executed remotely, not on the clients.

Hi @akutz,
Sorry I shouldn't have pushed the code yesterday since I was not done.  Thanks for your comments.  I will work on them today.
The reason I called the executor was to get the next available device name because in our case we might have multiple volumes constituting a fittedcloud optimized volume.  To attach those volumes I need to find the next available device names.  I can change it so that it's local to the storage driver.

Hi Jack,
The next device name is part of the attach ops args though. It's sent via the API call.
--
-a

On Feb 17, 2017, at 6:53 AM, jack-fittedcloud<EMAIL_ADDRESS>wrote:
Hi @akutz,
Sorry I shouldn't have pushed the code yesterday since I was not done. Thanks for your comments. I will work on them today.
The reason I called the executor was to get the next available device name because in our case we might have multiple volumes constituting a fittedcloud optimized volume.  To attach those volumes I need to find the next available device names. I can change it so that it's local to the storage driver.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

In our case, a Docker volume maps to one or more EBS volumes, depending on the used size of the Docker volume.  The next device passed in to the VolumeAttach call is merely one of the constituent EBS volumes carrying the volume name in the "Name" tag.  Fittedcloud storage driver then have to attach all EBS volumes carrying the same "Name" tag, as well as the "FittedCloudCreated" tag.  This is currently done locally to the storage driver, which I realized means we can't support remote storage server in this version.  Our plan is to support that in the next version so we can have something useful for people to start using. Does that make sense?

Hi @jack-fittedcloud,
RE: support. Hmm...What do you need today to support remote? The ability to pass more than one next device value or the ability to do a one-to-many mapping for Docker vols to EBS vols?

@akutz, it's not that.  The existing Docker/REX-Ray abstraction makes sense.
When we started working on this project we saw pretty close matches between the storage driver's volume operations and our Agent's, therefore we chose to integrate our logic into the driver.  This worked out quite well so far until we looked at the remote storage server support.  In our case, volume operations (create/attach/detach/remove) are initiated by our Agents which sit right on each host, not a remote server.  To support remote I imagine I will need to move logic to the "client" (the executor?)  Honestly I don't yet have a clear picture of how it should be done.  Thoughts?

Hi @jack-fittedcloud,
I'm going to respond to you via e-mail.

fittedcloud.test
output
-test.coverprofile emitted coverage file

Hi @akutz,
Is there a tool I can use to format the source file width to 80 chars?  Also, how do I rename my PR's branch to feature/fittedcloud?  Should I close this one and create a new PR?

Hi @jack-fittedcloud,
There's not tool to format the width of the source files. I just do that manually by setting a gutter in Atom. As for the branch name, don't worry about it for this PR. Please keep it in mind for the future. Thank you.


Toasts prevent clicking of background elements

The way it is now, the menu behind the toast is unclickable.
The following style complements it and fixes the issue. Just add it to your own .css file or in the future it could make it into a new toastr version. :)
.toast-top-center
{
    width: 300px;
    margin: 0 auto;
    left: 0;
}

Had the same issue, I fixed it like this:
#toast-container {
  pointer-events: none;
  > div {
    pointer-events: auto;
  }
}

Can you please demo what the exact issue is?

@TimFerrell I just did one. Instructions are pretty simple. Show the toast, and afterwards (while the toast is showing) try to click the button.
http://jsfiddle.net/jeffijoe/x5mgoqb2/2/

Can't accept this as-is. The CSS provided prevents the closeButton option from working, and prevents any clickable content within the toast from being activated.
See fiddle: https://jsfiddle.net/jeffijoe/x5mgoqb2/2/

Closing this as it would break existing functionality. If anyone cares to dig more deeply into this and provide a solution that does not break anything I'd be interested in reviewing it.

I suggest re considering the @leniel 's  solution it doesnt seem to break my functionality niether any clickable area.
@leniel 's css
.toast-top-center
{
width: 300px;
margin: 0 auto;
left: 0;
}

+1 for @leniel fix. This is a major problem as it breaks all clickable elements which are on the same row as a toast.

Isn't this issue fixed with this line here? https://github.com/CodeSeven/toastr/blob/master/build/toastr.css#L98

No that doesn't help at all, at least not on Chrome. MDN says:
pointer-events: auto; "The element behaves as it would if the pointer-events property were not specified." ref: https://developer.mozilla.org/en/docs/Web/CSS/pointer-events

Under reconsideration.

Same issue here. toast-container takes about all of the width of the page, and consumes all the click events without triggering them for the items beneath.

+1 for @leniel fix. As @nevf says, this breaks all clickable elements which are on the same row as a toast. Many applications (such as mine) have a navigation bar on top, and a 'toast-top-center' will overlap with it. This will render all the buttons on the navbar unclickable, even if they're visible and the user thinks he should be able to click them, since as far as they can tell the toast shouldn't interfere.

@TimFerrell I could not reproduce the issue. Perhaps this was fixed with 2.1.3.

Thanks for confirming @grantiverson. Closing, but please re-open if necessary.

The fix in https://github.com/CodeSeven/toastr/pull/269 was not incorporated into the Sass file.

Still an issue in latest version


Its not working on new facebook update.

Tried first script in README, this was the result.
Uncaught Error: <![EX[["Tried to get element with id of "%s" but it is not present on the page TAAL[1]","html, body"]]]>
at g (pKYpBwo-oVi.js?_nc_x=pJNzjDsKcxy:115)
at a (pKYpBwo-oVi.js?_nc_x=pJNzjDsKcxy:115)
at :1:1
g @ pKYpBwo-oVi.js?_nc_x=pJNzjDsKcxy:115
a [from $-core] @ pKYpBwo-oVi.js?_nc_x=pJNzjDsKcxy:115
(anonymous) @ VM263:1

It works, you just didn't inject jQuery properly. Make sure to first open Developer tools and then click on the Inject button in the jQuery Injector. You should see a sentence in the Developer tools console saying that jQuery has been injected. After that everything will work correctly.

I just tested some of this requests on firefox and on chrome and its not working , maybe you could add a doc explaining how you are using this jquery injections ?
Thanks.

I just tested some of this requests on firefox and on chrome and its not working , maybe you could add a doc explaining how you are using this jquery injections ?
Thanks.

@mlsem check these instructions: https://github.com/ramuta/reset-your-facebook-account#instructions

I already did that, but it's not deleting.

I already did that, but it's not deleting.

Is this for deleting comments?
Can you check this updated code (the second block): https://github.com/ramuta/reset-your-facebook-account#comments

seems working with this new script, thanks, I think we have the same issue with likes , I will double check that.

I return back to check my comments and its all there , no comment was deleted


What is the License of this material?

This is great content that we would like to see integrated in our regular course material. What License is it running on?
At the moment, I cannot ask students to work with the material and publish derived work, because they might be commiting a copyright infringement.
@krother on behalf of Spiced

Good point; I'll reach out to the original owner of the Bokeh tutorial and ask what the licensing / permissions are like.
The other 2 tutorials, Plotly and Folium, were developed ourselves (based on the libraries' own documentation) and so I imagine we could make any license we want for that?

if it is in a public repo of yours, I assume you wrote the code outside your working hours. So a company has to ask for permission if they want to use/distribute it, because the default is (c) 2020 Paul Wlodkowski. All rights reserved.

MIT License added, along with credits section. Data has also been re-synthesized (based on the original, with random noise added) so we are not publishing real scrape data.


OutlinedInput does'n work with InputLabel as it is supposed to

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
steps:

copy the code from your guide into mine
see the result..

Current behavior 😯
Here is all my code:

Result:

Expected behavior 🤔

Context 🔦
TextField works properly. but when i try to use OutlenedInput it doesn't work. the label is shown above the input but not inside of the field.

  Output from `npx @mui/envinfo` goes here.

I fixed it by myself... I forgot to add  thnx


Coefficient of mean deviation calculator

Issue Id you have worked upon -
#474
Briefly explain your program logic -
The coefficient of mean deviation calculator quantifies the relative variability of a data set by expressing the mean absolute deviation as a percentage of the mean.
Screenshots(Attach 2 screenshots of your own input and output) -

By raising this PR I affirm that -

[x] My code follows the guidelines of this project.

[x] I have performed a self-review of my own code.

[x] I have commented my code.

[x] My code gives the correct output.

[x] I affirm that I strictly follow contributing guidelines and code of conduct.

@Upadhyay-Harshit,
Files changed are not in sync with the calculator that was required to work upon.

Congratulations 🎉 @Upadhyay-Harshit on your contribution.
Thanks for adding value to this repository. 😊
Let's celebrate this fest 😃 by providing more developers 👨💻👩💻 an opportunity to contribute. Help us make this repository reach far and more by sharing this to your friends and colleagues.
Your efforts can make difference.


Automatically resolve available container runtime

Support building HPO container images with podman.
This change does not modify the current default behaviour

Thx @johnaohara !


When submitting a knowledge submission, make a clear error if the knowledge file hasn't been submitted yet

Right now you just get a notification that not all fields have been filled out. It's not super clear that a user needs to click the Submit Files button. Im reluctant to automatically do it since a user may go back and attach a new file.

I would like to work on this issue.


Nested if expressions return the wrong result

The following code returns an unexpected result in version (c86358ca)
use core {printf}

main :: () {
    printf("cmp(1, 2): {}\n", cmp(1, 2));
    printf("cmp(2, 2): {}\n", cmp(2, 2));
    printf("cmp(3, 2): {}\n", cmp(3, 2));
}

cmp :: (a: $T, b: T) -> i32 {
    return 0 if a == b else (-1 if a < b else 1);
};

Expected:
cmp(1, 2): -1
cmp(2, 2): 0
cmp(3, 2): 1

Actual:
cmp(1, 2): -1
cmp(2, 2): 0
cmp(3, 2): -1

After trying to fix this, I realized this is actually a parse error. Currently, -1 if cond else 1 parses as -(1 if cond else 1), which is very unexpected! That will be the actual fix to this issue.
You can get around it by using (-1) if cond else 1 instead.

This has been address in #78. I added a test case to make sure it doesn't happen again. Thanks for submitting the bug!


Lab3 letters

Fixes #63
Changes proposed in this PR:

function that returns a mapping of each letter to its frequency
function that prints the contents of a map as {key}:{val}\n for each key/value pair sorted by keys.
unit test cases

Codecov Report

Merging #65 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master    #65   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           5      6    +1
  Lines          69     87   +18
=====================================
+ Hits           69     87   +18

Impacted Files
Coverage Δ

03_letters/anishaNair/main.go
100% <100%> (ø)

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 83fb402...c67119a. Read the comment docs.

Hi,
There has been  no activity in the last 20 days so I will close this PR.
Feel free to open it again if you have something to add.
Thanks!
Julia


UseDesktopApplicationID is not documneted here

The switch UseDesktopApplicationID needs to be documented here.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 5c11e894-7ba6-255b-334b-309b14fcb34e
Version Independent ID: c1208227-6428-bee1-e2f3-0cda1f35dc1c
Content: Export-StartLayout (startlayout)
Content Source: docset/windows/startlayout/export-startlayout.md
Product: w10
GitHub Login: @brianlic-msft
Microsoft Alias: brianlic

@officedocsbot assign @yogkumgit

Hello @hoyty76 thanks for your suggestion. I created a PR to improve the article adding the missing parameter.
Thank you

@get-itips  Thank you very much for the contribution and updating the documentation with PR. @hoyty76 Hope this update is helpful for you. Thanks for taking out some time to open the issue. Appreciate and encourage you to do the same in future also.

@officedocsbot close


Automatically checking best practices

Vulkan being a more explicit API means more room to make poor decisions for performance which can be hard to catch during development.
It would be interesting if we could have a performance checking layer which can find the most common issues for different IHVs in a common layer.
There is one vendor specific layer out in the wild: https://github.com/ARM-software/perfdoc

LunarG has created a VLLF (Vulkan Lightweight Layer Framework) and is using the VLLF to create an "Assistant" layer to check for poor usage. We have been collecting suggestions of things to track in this LVL issue.  @mark-lunarg is working on this and can elaborate more about the features and it's current status.

performance checking layer which can find the most common issues for different IHVs in a common layer.

I believe the layer is currently targeted to catch bad usage applicable for all IHVs. Mark can elaborate.

@HansKristian-ARM (and everyone else), by all means, please review the tracking issue that @KarenGhavam-lunarG pointed to and add your observations or suggestions.  Not only will the assistant layer provide coverage for many of the Vulkan performance/practice pitfalls, use of the layer framework should allow users to add customizations quickly and easily.

I guess I'll jump in and say I personally think the core issue here is developers swamped with advice. There exists a world where we make authoring layers easy where each gpu vendor has a layer and poor game devs now have to know where to find each of these layers and bring it together.
In contrast, Microsoft is just "making it work" in pix.
https://blogs.msdn.microsoft.com/directx/2017/03/01/gpu-plugins-improved-sdk-layers-and-hang-debugging-bringing-directx-12-tools-to-the-next-level/
I think its worth us talking about the end game here.

While discussing #11 we reached the conclusion that many of the same factors surrounding that issue also apply here. We're trying to figure out what the right way to expose this kind of information is, and where this functionality should be (see https://github.com/KhronosGroup/Vulkan-Ecosystem/issues/11#issuecomment-371573864 for more details).

LunarG had some internal discussions about this issue as well as issue #11. Our recommendation is the following:

The Assistant layer is to do best practice checks that are generally applicable to all Vulkan applications.

You could extend the Assistant Layer to do these portability checks (or create a portability layer to do these checks). I added the example checks that @HansKristian-ARM has provided in this issue to the Assistant Layer tracking issue #1612.
LunarG has resources applied in this area and intends to continue to enhance the Assistant Layer.
Tracking of progress will be kept up to date in the Assistant Layer tracking issue #1612

Best practice/performance checks that are device specific should be done by IHV specific layers.

It would be great if the IHVs could use the VLF (Vulkan Layer Factory) to create such layers.
ARM has a device specific layer it may help motivate other IHVs to contribute layers if the current ARM layer is ported to use the VLF. The porting activity to the VLF could be used to demonstrate the value of the VLF tool to make layer writing easy. LunarG may have upcoming cycles to port this layer to the VLF and may consider doing so.
LunarG is certainly willing to provide consultation and assistance to an IHV who would like to use the VLF to create an IHV specific best practices layer.

So perhaps we should close out issue #7 and issue #11 since they are being tracked in theAssistant Layer tracking issue #1612? And then we create a new issue focused on IHV/vendor specific best practices/performance checks. By having this new focused issue, perhaps the "Ecosystem forum team" can reach out to the IHVs to help influence them to create such layers?

This repository is being archived as it has been replaced with the vulkan.org website (https://www.vulkan.org) and is no longer being maintained (i.e., issues posted here are no longer being addressed ).  After reviewing issues posted here, most (if not all) have been resolved or have already been re-opened in Vulkan-Docs (https://github.com/KhronosGroup/Vulkan-Docs) or other repositories for further consideration.  Therefore, all issues in this repository will be closed.  If you believe your issue has not yet been resolved, please re-open in Vulkan-Docs.  Thanks!


The iSCSi remove policy

Hi there,
In relation to  #5 The iSCSi remove policy.
If I set the Storage class to Retain, then the PVs should be retained, when I delete a PVC.
But if I delete them with a kubectl delete pv, they are not removed from the Synology.
Do I have to add any rules to remove the iSCSI-Drives or do I have to remove them manually?

if I delete them with a kubectl delete pv, they are not removed from the Synology

As I understand Retain strategy, it means that no garbage collection is done when CSI primitives are deleted from the cluster. The idea being that so long as the underlying storage remains intact, a new cluster with similar storage configuration can attach the same CSI PVs (by volumename or by label?) and regain access to the retained data in that way.
I use this approach for temporary or ephemeral clusters on my network with stateful workloads, to ensure that some stateful backend is persisted from one ephemeral instance into the next (image registry, databases for authentication backends, ...)

I dug into the code, synology-csi gets events directly from the  external-provisioner sidecar.
As such, instead of deleting the PV one should just change patch its reclaimPolicy after you are sure you don't need the PV. That way it should be automatically deleted in both the control plane and the actual synology device.


Add a configuration option for making not-implemented tests failures

If there is a mismatch between the *.feature file and the the steps defined, we'll see an output like.
[Cucumber v0.8.4]
Feature: Animal feature                                                                                features/animal.feature:1:1

 Scenario: If we feed a hungry cat it will no longer be hungry                                                                                features/animal.feature:3:3
  ✔ Given A hungry cat                                                                                features/animal.feature:4:5
  ✔ When I feed the cat                                                                                features/animal.feature:5:5
  - Then The cat is not hungry!!!!                                                                                features/animal.feature:6:5
    ⚡ Not yet implemented (skipped)

[Summary]
1 features
1 scenarios (1 skipped, 0 passed)
6 steps (1 skipped, 2 passed)

And the command line returns 0 (success).
But I don't want to have this to pass the CI and sneak in the main branch.
Ideally if any test was not implemented, the command line should return a failure. Eventually this could be a configurable behavior.

From a brief look at the documentation I think we want to change the following code to include skips if specified in the config:
impl Stats {
    /// Indicates this has failing states (aka failed or timed_out)
    pub fn failed(&self) -> bool {
        self.failed > 0 || self.timed_out > 0
    }
}

I'll put it on my list to look at hopefully in the next week or two, but this should be a super simple one to do if anyone has more time!

Now possible after merging #128
@ilslv we need a meaningful example in the Book for this too.

Described in docs for Cucumber::fail_on_skipped() and mentioned in "Managing growth" chapter of the Book.


oops!Your WASM trace processor ran out of memory!

curl -LO https://get.perfetto.dev/trace_processor
chmod +x ./trace_processor
trace_processor --httpd /path/to/trace.pftrace
Reload the UI, it will prompt to use the HTTP+RPC interface

What's this issue about? This is not related to viztracer

Please reopen this issue and be more specific about the problem if this is about viztracer


Actions to Edit and Delete Lines of Text

After playing around with QS's 'Append Text...' and 'Prepend Text...' actions, I thought it'd be nice for it to also include actions like 'Edit Text...' or 'Delete Text'.  The former would behave almost like 'Rename..' does now with filenames, while the later would remove the whole line of text from the file.
This, combined with #462 and #516 would make QS the ideal tool for making quick code edits.  QS pretty much got me into programming through AppleScript HotKey Triggers, so it'd be wonderful if I could use it to quickly add TODO items in-between serious IDE sessions if these issues could be resolved.

The "Edit Text..." action already exists. It's called "Change to...". Make sure it's activated in preferences -> Actions. Maybe it should be renamed to "Change Text to...".
But I totally agree with "Delete Text". That would definitely be nice to have.

Checking the text manipulation source, it seems as if a delete line command already exists. It is just not enabled and classed as 'unstable'
I have just tested it (you need to have your application update level set to 'pre' in the extras preferences to enable it) and it seems to work fine for me :)


How can I use @P5-wrapper/react in react native

We don't have a react native version yet but to use this in react native, you could create a web app and use a web view to see and interact with it as a workaround. How to do that is out of the scope of this repository though since this is a react web project.


[librabbitmq] build failure

Host Environment

OS: Windows 8.1
Compiler: VS2015

To Reproduce
Steps to reproduce the behavior:
./vcpkg install librabbitmq
Console output log
Computing installation plan...
The following packages will be built and installed:
librabbitmq[core]:x86-windows

openssl[core]:x86-windows
openssl-windows[core]:x86-windows
build-x86-windows-rel-1-err.log
build-x86-windows-rel-1-out.log

Additional packages (*) will be modified to complete this operation.
Warning: The following VS instances are excluded because the English language pack is unavailable.
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
Please install the English language pack.
Detecting compiler hash for triplet x86-windows...
Starting package 1/3: openssl-windows:x86-windows
Building package openssl-windows[core]:x86-windows...
Could not locate cached archive: C:\Users\Giorgio_Brs\AppData\Local\vcpkg\archives\d7\d7df23be95fe47c4d6a9511f6556a98a83
1fdaf9.zip
-- Downloading https://strawberry.perl.bot/download/<IP_ADDRESS>/strawberry-perl-<IP_ADDRESS>-32bit.zip...
-- Downloading https://www.openssl.org/source/openssl-1.1.1g.tar.gz...
-- Extracting source D:/vcpkg/vcpkg/downloads/openssl-1.1.1g.tar.gz
-- Using source at D:/vcpkg/vcpkg/buildtrees/openssl-windows/src/openssl-1-bb2a9a5801.clean
-- Downloading http://www.nasm.us/pub/nasm/releasebuilds/2.14.02/win32/nasm-2.14.02-win32.zip...
-- Downloading http://download.qt.io/official_releases/jom/jom_1_1_3.zip...
-- Copying openssl release source files...
-- Copying openssl release source files... done
-- Configure x86-windows-rel
-- Configure x86-windows-rel done
-- Build x86-windows-rel
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:72 (message):
Command failed: nmake -f makefile install_sw install_ssldirs
Working Directory: D:/vcpkg/vcpkg/buildtrees/openssl-windows/x86-windows-rel
Error code: 2
See logs for more information:
D:\vcpkg\vcpkg\buildtrees\openssl-windows\build-x86-windows-rel-1-out.log
D:\vcpkg\vcpkg\buildtrees\openssl-windows\build-x86-windows-rel-1-err.log
Call Stack (most recent call first):
ports/openssl-windows/portfile.cmake:95 (vcpkg_execute_required_process)
scripts/ports.cmake:79 (include)
Error: Building package openssl-windows:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: openssl-windows:x86-windows
Vcpkg version: 2020.06.15-nohash
Additional context
I tried any workaround found on internet about VS2015 SDK paths (as running vcvarsall.bat or reinstalling VS2015 sdk).

@PversusNP, could you install English language pack and try again?

I need to build for VS2015 update3 only, but I also have VS2019 installed.
I installed VS2015 ENU language pack and then reinstalled VS2015 sdk too.
Can you help me?

See commnets in issue https://github.com/microsoft/vcpkg/issues/12519

Ok, thank you, this step was completed.
But the following error happened, could you help me again?
Computing installation plan...
The following packages will be built and installed:
librabbitmq[core]:x86-windows-vc140

openssl[core]:x86-windows-vc140
openssl-windows[core]:x86-windows-vc140
Additional packages (*) will be modified to complete this operation.
Detecting compiler hash for triplet x86-windows-vc140...
Starting package 1/3: openssl-windows:x86-windows-vc140
Building package openssl-windows[core]:x86-windows-vc140...
Could not locate cached archive: C:\Users\Giorgio_Brs\AppData\Local\vcpkg\archives\23\23604ec8c5e3e5da7098c842bbab8e005f
1a9368.zip
-- Using community triplet x86-windows-vc140. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: D:\vcpkg\vcpkg\triplets\community\x86-windows-vc140.cmake
-- Using cached D:/vcpkg/vcpkg/downloads/openssl-1.1.1g.tar.gz
-- Cleaning sources at D:/vcpkg/vcpkg/buildtrees/openssl-windows/src/openssl-1-bb2a9a5801.clean. Use --editable to skip
cleaning for the packages you specify.
-- Extracting source D:/vcpkg/vcpkg/downloads/openssl-1.1.1g.tar.gz
-- Using source at D:/vcpkg/vcpkg/buildtrees/openssl-windows/src/openssl-1-bb2a9a5801.clean
-- Copying openssl release source files...
-- Copying openssl release source files... done
-- Configure x86-windows-vc140-rel
-- Configure x86-windows-vc140-rel done
-- Build x86-windows-vc140-rel
-- Build x86-windows-vc140-rel done
-- Copying openssl debug source files...
-- Copying openssl debug source files... done
-- Configure x86-windows-vc140-dbg
-- Configure x86-windows-vc140-dbg done
-- Build x86-windows-vc140-dbg
-- Build x86-windows-vc140-dbg done
-- Installing: D:/vcpkg/vcpkg/packages/openssl-windows_x86-windows-vc140/share/openssl-windows/copyright
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\Giorgio_Brs\AppData\Local\vcpkg\archives\23\23604ec8c5e3e5da7098c842bbab8e005f1a9368.zip
Building package openssl-windows[core]:x86-windows-vc140... done
Installing package openssl-windows[core]:x86-windows-vc140...
Installing package openssl-windows[core]:x86-windows-vc140... done
Elapsed time for package openssl-windows:x86-windows-vc140: 5.422 min
Starting package 2/3: openssl:x86-windows-vc140
Building package openssl[core]:x86-windows-vc140...
Could not locate cached archive: C:\Users\Giorgio_Brs\AppData\Local\vcpkg\archives\a2\a2e829e3101ae448fa30ef71c3984a6338
43c46d.zip
-- Using community triplet x86-windows-vc140. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: D:\vcpkg\vcpkg\triplets\community\x86-windows-vc140.cmake
-- Installing: D:/vcpkg/vcpkg/packages/openssl_x86-windows-vc140/share/openssl//usage
-- Performing post-build validation
-- Performing post-build validation done
Stored binary cache: C:\Users\Giorgio_Brs\AppData\Local\vcpkg\archives\a2\a2e829e3101ae448fa30ef71c3984a633843c46d.zip
Building package openssl[core]:x86-windows-vc140... done
Installing package openssl[core]:x86-windows-vc140...
Installing package openssl[core]:x86-windows-vc140... done
Elapsed time for package openssl:x86-windows-vc140: 250.9 ms
Starting package 3/3: librabbitmq:x86-windows-vc140
Building package librabbitmq[core]:x86-windows-vc140...
Could not locate cached archive: C:\Users\Giorgio_Brs\AppData\Local\vcpkg\archives\06\06570e6915412cac41f417759286bac745
5d4cf3.zip
-- Using community triplet x86-windows-vc140. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: D:\vcpkg\vcpkg\triplets\community\x86-windows-vc140.cmake
-- Downloading https://github.com/alanxz/rabbitmq-c/archive/d416b8b16d196085106cfe137a0ff6919a9f6752.tar.gz...
-- Extracting source D:/vcpkg/vcpkg/downloads/alanxz-rabbitmq-c-d416b8b16d196085106cfe137a0ff6919a9f6752.tar.gz
-- Applying patch fix-uwpwarning.patch
-- Using source at D:/vcpkg/vcpkg/buildtrees/librabbitmq/src/919a9f6752-5e598e0daf.clean
-- Configuring x86-windows-vc140
-- Building x86-windows-vc140-dbg
CMake Error at scripts/cmake/vcpkg_execute_build_process.cmake:136 (message):
Command failed: D:/vcpkg/vcpkg/downloads/tools/cmake-3.17.2-windows/cmake-3.17.2-win32-x86/bin/cmake.exe --build . -
-config Debug --target install -- -v
Working Directory: D:/vcpkg/vcpkg/buildtrees/librabbitmq/x86-windows-vc140-dbg
See logs for more information:
D:\vcpkg\vcpkg\buildtrees\librabbitmq\install-x86-windows-vc140-dbg-out.log

Call Stack (most recent call first):
scripts/cmake/vcpkg_build_cmake.cmake:91 (vcpkg_execute_build_process)
scripts/cmake/vcpkg_install_cmake.cmake:24 (vcpkg_build_cmake)
ports/librabbitmq/portfile.cmake:23 (vcpkg_install_cmake)
scripts/ports.cmake:79 (include)
Error: Building package librabbitmq:x86-windows-vc140 failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: librabbitmq:x86-windows-vc140
Vcpkg version: 2020.06.15-nohash
install-x86-windows-vc140-dbg-out.log

@PversusNP, from your log, the below libs that links to the project are unexpect for me, I checked the log, I didn't find it in my building log. Could you double check?
C:\Users\Giorgio_Brs\Documents\Visual Studio 2015\Projects\OpenSSL-Win<IP_ADDRESS>m\lib\VC\ssleay32MDd.lib C:\Users\Giorgio_Brs\Documents\Visual Studio 2015\Projects\OpenSSL-Win<IP_ADDRESS>m\lib\VC\libeay32MDd.lib
I tried it, it built sucessfully for me, the command line in my building log is:
cmake.exe -E vs_link_dll --intdir=librabbitmq\CMakeFiles\rabbitmq.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100190~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~1.0\VC\bin\AMD64_~2\link.exe  librabbitmq\CMakeFiles\rabbitmq.dir\amqp_framing.c.obj librabbitmq\CMakeFiles\rabbitmq.dir\amqp_api.c.obj librabbitmq\CMakeFiles\rabbitmq.dir\amqp_connection.c.obj librabbitmq\CMakeFiles\rabbitmq.dir\amqp_mem.c.obj librabbitmq\CMakeFiles\rabbitmq.dir\amqp_socket.c.obj librabbitmq\CMakeFiles\rabbitmq.dir\amqp_table.c.obj librabbitmq\CMakeFiles\rabbitmq.dir\amqp_url.c.obj librabbitmq\CMakeFiles\rabbitmq.dir\amqp_tcp_socket.c.obj librabbitmq\CMakeFiles\rabbitmq.dir\amqp_time.c.obj librabbitmq\CMakeFiles\rabbitmq.dir\amqp_consumer.c.obj librabbitmq\CMakeFiles\rabbitmq.dir\amqp_openssl.c.obj librabbitmq\CMakeFiles\rabbitmq.dir\amqp_openssl_hostname_validation.c.obj librabbitmq\CMakeFiles\rabbitmq.dir\amqp_hostcheck.c.obj librabbitmq\CMakeFiles\rabbitmq.dir\amqp_openssl_bio.c.obj librabbitmq\CMakeFiles\rabbitmq.dir\win32\threads.c.obj  /out:librabbitmq\rabbitmq.4.dll /implib:librabbitmq\rabbitmq.4.lib /pdb:librabbitmq\rabbitmq.4.pdb /dll /version:4.4 /machine:X86 /nologo  /debug /INCREMENTAL  F:\vcpkg\phoebe\vcpkg\installed\x86-windows-v140\debug\lib\libssl.lib  F:\vcpkg\phoebe\vcpkg\installed\x86-windows-v140\debug\lib\libcrypto.lib  ws2_32.lib  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib

Starting package 3/3: librabbitmq:x86-windows-v140
Building package librabbitmq[core]:x86-windows-v140...
-- Using community triplet x86-windows-v140. This triplet configuration is not guaranteed to succeed.
-- [COMMUNITY] Loading triplet configuration from: F:\vcpkg\phoebe\vcpkg\triplets\community\x86-windows-v140.cmake
-- Downloading https://github.com/alanxz/rabbitmq-c/archive/d416b8b16d196085106cfe137a0ff6919a9f6752.tar.gz...
-- Extracting source F:/vcpkg/phoebe/vcpkg/downloads/alanxz-rabbitmq-c-d416b8b16d196085106cfe137a0ff6919a9f6752.tar.gz
-- Applying patch fix-uwpwarning.patch
-- Using source at F:/vcpkg/phoebe/vcpkg/buildtrees/librabbitmq/src/919a9f6752-5e598e0daf.clean
-- Configuring x86-windows-v140
-- Building x86-windows-v140-dbg
-- Building x86-windows-v140-rel
-- Installing: F:/vcpkg/phoebe/vcpkg/packages/librabbitmq_x86-windows-v140/share/librabbitmq/copyright
-- Performing post-build validation
-- Performing post-build validation done
Building package librabbitmq[core]:x86-windows-v140... done
Installing package librabbitmq[core]:x86-windows-v140...
Installing package librabbitmq[core]:x86-windows-v140... done
Elapsed time for package librabbitmq:x86-windows-v140: 28.42 s
Total elapsed time: 11.14 min
The package librabbitmq:x86-windows-v140 provides CMake targets:
find_package(rabbitmq-c CONFIG REQUIRED)
target_link_libraries(main PRIVATE rabbitmq::rabbitmq rabbitmq::rabbitmq-static)

It should rely on the openssl installed by vcpkg, it seems that you installed OpenSSL-Win<IP_ADDRESS>m, that cause this confict.

Yes, I uninstalled OpenSSL-Win<IP_ADDRESS>m, deleted vcpkg cache e reinstalled. It worked!
Thank you very much.


find a banking partner

read these articles for help:

https://www.lithic.com/blog/bank-partners
https://www.velmie.com/partner-banks-used-by-us-fintechs
https://www.paystri.com/financial-institutions-partnerships
https://www.unit.co/guides/what-should-i-look-for-in-a-bank-partner
https://www.forbes.com/sites/ronshevlin/2024/03/11/how-to-become-a-great-partner-bank-in-the-baas-space/
https://synctera.com/post/5-steps-to-a-successful-baas-bank-fintech-partnership
https://www.venable.com/insights/publications/2021/03/fintech-guide-to-bank-partnerships
https://www.numeral.io/blog/partner-bank-fintech
https://www.lead.bank/blog-posts/what-to-look-for-in-a-bank-partner


Can I specify the target platform?

The package and version I'm asking about:
#!about
.NET Interactive© 2020 Microsoft CorporationVersion: 1.0.522904+cdfa48b2ea1a27dfe0f545c42a34fd3ec7119074Library version: 1.0.0-beta.24229.4+cdfa48b2ea1a27dfe0f545c42a34fd3ec7119074Build date: 2024-06-18T14:05:06.2954464Zhttps://github.com/dotnet/interactive
Question
I wanna use a nuget package  Microsoft.Azure.Kinect.Sensor in jupyter notebook powered by .NET interactive.
The package requires running on x64 platform.
Can the target platform be configured with magic commands or env vars?

This is not currently supported.


Module settings are lost when an item is hidden

When clicking on an item to ignore it, any components of that item, being removed from the list, lose their module settings.  It would be nice if the module settings were retained when the ignored item is toggled back on.
For example:

Calculate for Advanced Circuits.
Set modules for Iron Plate production.
Click to ignore Electronic Circuit.
Click Electronic Circuit again to re-enable.

Result: Iron Plate no longer has modules set.

Fixed in 82d537214a6d94c2903d803cacb24ec4aa4eebd8.
This was done semi-deliberately, in the function display.js:pruneSpec(), which deletes things from the set of configured modules when they belong to recipes that are no longer part of the solution. The intent of this function was to keep the URL fragment under control, so that it wouldn't save module configurations that were no longer relevant.
I have fixed this by pruning these elements in the process of formatting the fragment. This means that these module configurations will still be forgotten if you reload the page, but should at least be remembered while continuing to use the same instance of the page.


Add .coffee.md to Literate Coffeescript

Description

Checklist:

[x] I am associating a language with a new file extension.

[x] The new extension is used in hundreds of repositories on GitHub.com

Search results for each extension:

It seems github search is broken for multiple-part extensions like .coffee.md as it doesn't return any results (even the provided sample): https://github.com/search?q=extension%3Acoffee.md+require&type=Code

[x] I have included a real-world usage sample for all extensions added in this PR:

Sample source(s):
https://github.com/STRd6/pixi-test/blob/master/main.coffee.md
Sample license(s):
https://github.com/STRd6/pixi-test/blob/master/LICENSE

[x] I have included a change to the heuristics to distinguish my language from others using the same extension.
Does not apply

It seems github search is broken for multiple-part extensions like .coffee.md as it doesn't return any results (even the provided sample): https://github.com/search?q=extension%3Acoffee.md+require&type=Code

It's not perfect, but we can get closer with path:coffee extension:md require which in this case only brings up 28 results.
Switching out require for NOT nothack returns only 900-odd results, many of which are legit markdown files so I don't think we can include this just yet.

Google Bigquery for:
SELECT COUNT(*) FROM (
  SELECT repo_name FROM `bigquery-public-data.github_repos.files`
  WHERE ENDS_WITH(path, ".coffee.md")
  GROUP BY repo_name
)

returns 1250 repositories (not files), which have such extensions,  for github in 2015. So I guess it qualifies?

Ah yes. Of course. I forgot BigQuery could search for cases like that. Yup. Looks like we've got the numbers.


Rust test

A test for the string representation of a Schema.
& some standardization on Traits rather than their method
...but mainly getting my feet wet with rust & arrow

LGTM

Can you create a JIRA? @cpcloud @xhochy @pitrou could I ask you to help with maintaining the Rust patches while I am away for the project the rest of this month?

I've never used Rust but I can provide non-technical guidance.

@wesm @andygrove Is there a standard way of printing a schema like in Parquet (with message type)?

Side note: if you choose to use an automatic formatter on Rust code, you should probably add a lint step to the CI setup.

Is there a standard way of printing schema like in Parquet (with message type)?

I don't think a "standard" is mandated, but see arrow::PrettyPrint and also pretty_print-test.cc in the C++ codebase. You may want to reproduce something similar.
For the specific question in the comments, adding a space after commas is good typographical practice.

I created a JIRA for setting up rustfmt:
https://issues.apache.org/jira/browse/ARROW-2378
On Mon, Apr 2, 2018 at 5:25 AM, Antoine Pitrou<EMAIL_ADDRESS>wrote:

Is there a standard way of printing schema like in Parquet (with message
type)?
I don't think a "standard" is mandated, but see arrow::PrettyPrint and
also pretty_print-test.cc in the C++ codebase. You may want to reproduce
something similar.
For the specific question in the comments, adding a space after commas is
good typographical practice.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/arrow/pull/1818#issuecomment-377910625, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA5AxNbSOYa5lfa19SyOOUp1LkzyeOBbks5tkgqQgaJpZM4TCvPW
.

@andygrove should I rustfmt for this PR or a separate one? There's not that much here - was mainly a way of getting my feet wet. But fine to split up if you prefer

@pitrou I mean more helping with PR workflow. This PR has an unclear title and does not reference any JIRA. At some point, someone will need to merge the patch and make sure the JIRA metadata is correct (fix version, assignee, component)

@wesm Yes, I can. Probably not going to have time to learn Rust but taking care of titles, consensus in PR comments & co is manageable.

Needs to be rebased on master after the rustfmt and other patches were merged.


Update debian release to bullseye

Update Debian release for python official image to 3.8.14-slim-bullseye

Change to Bullseye caused an issue with virtualenv (version incompatibility). venv will be used to manage environments from next release.


Fix double-free bug in walredo process.

At the end of ApplyRecord(), we called pfree on the decoded record, if it was "oversized". However, we had alread linked it to the "decode queue" list in XLogReaderState. If we later called XLogBeginRead(), it called ResetDecoder and tried to free the same record again.
I'm surprised we haven't seen failures caused by this earlier. The conditions to hit this are:

a large WAL record (larger than aboue 64 kB I think, per DEFAULT_DECODE_BUFFER_SIZE), and
another WAL record processed by the same WAL redo process after the large one.

To fix, allocate the buffer ourselves, and don't link it to the decode queue. Alternatively, we could perhaps have just removed the pfree(), but frankly I'm a bit scared about the whole queue thing.

This fixes the bug in the real-world example that I tested it with. Someone needs to write a test case for this though...

This fixes the bug in the real-world example that I tested it with. Someone needs to write a test case for this though...

added a test


Do we really need setup.py.bak？

BTW:
It seems that some codes of pyFFmpeg/main.c are the same with pyFFmpeg/extractFrame.c, so I am curious about what is the usage of main.c?

The project is currently in a 'quick-start' phase, so there may be some parts included for testing convenience. For now, I would recommend focusing on input_stream_parser.py or the sections used in the Examples.


Fix CSS selectors according to the latest version of web WhatsApp

Check CSS selectors in constants.py if it is not working as expected then fix it
for example CHATROOM__OPTIONS and MAIN_MENU_OPTIONS__MENU_ICON which is equal to [data-testid="menu"] is not working

Also following selectors for getting groups is no longer working


Problems with loading sounds in Opera Next

One of the Opera's updates has broken sound preloading. On any attempt SoundJS throws fileerror. You can see this problem in your demo http://www.createjs.com/demos/soundjs/webaudionodeinsertion
I have found workaround by not installing SoundJS plugin for LoadQueue.
var queue = new createjs.LoadQueue();
queue.installPlugin(createjs.Sound); // If disable this line everything loads fine
queue.stopOnError = true;

P.S. Opera version that was tested is 32.0.1948.69

https://github.com/CreateJS/SoundJS/issues/202 issue sounds like same problem.

The only difference that i have found is that SoundJS plugin use prefereXHR, and built in loader in PreloadJS doesn't use it or at least it can be configured

I forget to notice that sounds stop playing after disabling sound plugin

The only that has helped to solve loading issue in Opera is to configure loading wav files prior to mp3

PreloadJS can only load HTMLAudio tags, since the logic to store and play WebAudio is very specific to the playback engine, so it is contained in SoundJS.
I did some testing, and as you pointed out above, the order of the audio formats is important. This is due to incorrect reporting of MP3 playback in Opera. The demo you referenced is a simple WebAudio visualizer, which only has an MP3 source. By swapping in an OGG, it works fine. It is therefore recommended to prioritize OGGs for Opera as well.
The documentation notes a similar issue in FireFox:

mp3 audio files do not load properly on all windows machines, reported at  https://bugzilla.mozilla.org/show_bug.cgi?id=929969. For this reason it is recommended to pass another  FF supported type (ie ogg) first until this bug is resolved, if possible.

Note that OGG is a better format than WAV due to filesize.


Fixing broken line of code

@IsaacMacarthur as a part of this PR, can we change the setup so that all of the files created by this script are saved under target-data/time-series?


flutter briantree version 4.0.0 crash in android

Hello,
I am using flutter version 4.0.0
I am using method
final request = BraintreeCreditCardRequest(
cardNumber: '4111111111111111',
expirationMonth: '12',
expirationYear: '2021',
cvv: '123',
);
final result = await Braintree.tokenizeCreditCard(
tokenizationKey,
request,
);
I got the error below,
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: PlatformException(error, Unable to find explicit activity class {com.your-company.your-app/com.example.flutter_braintree.FlutterBraintreeCustom}; have you declared this activity in your AndroidManifest.xml, or does your intent not match its declared ?, null, android.content.ActivityNotFoundException: Unable to find explicit activity class {com.your-company.your-app/com. example.flutter_braintree.FlutterBraintreeCustom}; have you declared this activity in your AndroidManifest.xml, or does your intent not match its declared ?

I ran the code with the example given in the plugin but the app crashed with paypal
When I click the "PAYPAL VAULT FLOW" button
Then go to the "checkout.paypal.com" screen
I clicked the blue button "Proceed with Sandbox Purchase"
The app crashes with the error given
Worker result FAILURE for Work [ id=454e0e52-d3a8-4109-8625-dcf1661ded4d, tags={ com.braintreepayments.api.AnalyticsUploadWorker } ]
D/AndroidRuntime(31400): Shutting down VM
E/AndroidRuntime(31400): FATAL EXCEPTION: main
E/AndroidRuntime(31400): Process: com.example.flutter_braintree_example, PID: 31400
E/AndroidRuntime(31400): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.example.flutter_braintree_example/com.braintreepayments.api.DropInActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.os.Bundle.setClassLoader(java.lang.ClassLoader)' on a null object reference

Hi @BunnyBuddy
The issue will probably be the same
https://github.com/pikaju/flutter-braintree/issues/153


⚠ Arragon has degraded performance

In 4d97834, Arragon (https://arragon.hydeos.fr) experienced degraded performance:

HTTP code: 200
Response time: 1470 ms

Resolved: Arragon performance has improved in 33e96fd after 1 hour, 13 minutes.


[e2e]: container-based schedule main default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/9296332756
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container-based.schedule.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container-based.schedule.main.default.slsa3.yml
Trigger: schedule
Branch: main
Date: Thu May 30 03:07:27 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/main
Run: https://github.com/slsa-framework/example-package/actions/runs/9312309539
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.container-based.schedule.main.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.container-based.schedule.main.default.slsa3.yml
Trigger: schedule
Branch: main
Date: Fri May 31 03:44:07 UTC 2024
Tests are passing now. Closing this issue.