Packing openephys files into .dat

Hi,
I am using Open Ephys with Neuronexus probes. We have previously used the archive code to pack our Open Ephys files into .dat file which is required by Kilosort. Is this function available in these tools or are there other ways to do it?

Hi,
Yes, you just need to load the continuous[0].samples and call np.tofile on that array.

For example, for the data in the first data stream saved by the first record node, this is the code you'd need:
from open_ephys.analysis import Session

session = Session('/path/to/data/directory')
data = session.recordnodes[0].recordings[0].continuous[0].samples
data = data.astype('int16') # convert to 16-bit integers before export
data.tofile('continuous.dat') # write samples to a .dat file


Help with PvP

can help me play with my friend?

Did you figure it out?

The instructions are linked in the readme. Some knowledge of computers / networking is required https://github.com/pixeltris/YgoMaster/blob/master/Docs/PvP.md


Whats is snap to zero and how do i use it

heelo, i have a use case wheer i need to snap to 0 the panes, couldnt understand form the docs if that feature can be used.... and how

Hi @cubecleveland. Thanks for submitting an issue.
As I'm sure you can appreciate, writing documentation for a free open source project is difficult. I'm all for improving the documentation based on feedback. Is there something specific you're trying to achieve?
Setting snap to true should let you drag a pane to zero size, i.e. make it disappear. You can either set this on the whole Allotment component or on an individual Allotment.Pane.


[MISC] Bug fix writing in the local unit instead of local app

I have noticed that the Requirer side write the "data" field (used for computing differences) in the local_unit instead of the local_app

closed because of https://github.com/canonical/data-platform-libs/pull/51#pullrequestreview-1343830312


Add support for uploading local media files on third-party Wikibases without structured data

OpenRefine should be able to upload files to Wikibase instances which are their own media repository. By this, I mean that the media files which can be referenced in Wikibase statements are stored in the same MediaWiki instance as the Wikibase itself.
In such instances, the media files typically do not have structured data associated with them, as that data can already be represented in the item namespace if needed.
Proposed solution
Repurpose the existing Commons integration, which already includes support for file upload.

[ ] adapt the Wikibase manifest format to make it possible to keep file upload while disabling support for MediaInfo entities
[ ] potentially it would be useful to remove the need for a reconciliation service entirely, using #5038. This would make sense because using the reconciliation service to fetch extra data is not super useful if structured data is not enabled on the wiki (although the wikitext could potentially be of interest)
[ ] make sure the resulting filenames can be used as values in media-valued statements on the Wikibase instance. This requires adapting the edit scheduler to detect the relationship between the upload of the file and its use in a statement.

Alternatives considered
Not sure!
Additional context
@lozanaross your input would be very welcome to frame this issue better (I hope I have understood it correctly!)

This all makes sense to me.

potentially it would be useful to remove the need for a reconciliation service entirely

Yes, I don't see the need to reconcile these files, since no structured data will be attached to them. We may just have to think about dealing with file names that may be repeating existing file names in the Wiki (i.e. what happens if we attempt to upload a file with a name that already exists in the wiki - an issue notification is generated & upload cannot proceed? files are overridden? file name is appended with a number?).

make sure the resulting filenames can be used as values in media-valued statements on the Wikibase instance. This requires adapting the edit scheduler to detect the relationship between the upload of the file and its use in a statement.

I think if the files remain a type of "string" they should already technically work (w/o reconciliation). I've been able to successfully create statements linking items to file names that already exist as media inside the target Wikibase.

Yes, I don't see the need to reconcile these files, since no structured data will be attached to them. We may just have to think about dealing with file names that may be repeating existing file names in the Wiki (i.e. what happens if we attempt to upload a file with a name that already exists in the Wiki - an issue notification is generated & upload cannot proceed? files are overridden? file name is appended with a number?).

Actually this is indeed pretty critical: at the moment, this reconciliation step is the only opportunity the user has to be notified of naming conflicts. So until we have the possibility to report conflicts later on (such as with #5037), I would keep this.
Given that the assumption that entities correspond to reconciled columns is weaved through the tool pretty tightly, it is also tempting from a technical perspective not to violate this assumption. Therefore, so far I have been working on this feature without #5038.
This should not make the third checkbox above any harder, I suspect.


Have lag

I have lag with 80 players , in te latest version

@liomessip this is probably the threshold of MultiOgar, if you have another core on your processor, just start another server, and add a connect script button to your client, and have players use that one,
If I were you, i'd make another server and limit your 1st server to 64 clients, it's still smooth for me when the 64 threshold as been reached.


thread 'main' panicked at 'The TIFF file does not contain geokeys'

I am trying to incorporate several whitebox tools into a geoprocessing workflow. Right now, I am just trying to test a few tools. I keep getting the same error:
thread 'main' panicked at 'The TIFF file does not contain geokeys', whitebox-tools-app\src\main.rs:72:21
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace
I was able to import whitebox tools and set the working directory using wbt.set_working_dir
Here is an example of the code that results in the above error:
wbt.fill_missing_data("SampleTiles_DEM.tif", "wbt_test_filled_DEM.tif", filter=15, weight=2.0)
Any tips would be appreciated! Thank you!

Can I ask how you created the GeoTiff file? It seems that there is an issue with reading the file.

A group of individual raster files were created with blast2dem from las tools. Then using gdal, a .vrt file was created to mosaic them together. Then gdal warp was used to create the actual GeoTiff. Thank you!

Are you able to share a sample of the DEM so that I can examine the file? It is clear from the error that the WBT reader is not recognizing this file as a properly formatted GeoTIFF. That isn't necessarily indicating that that is the case--WBT does not use GDAL but rather uses my own implementation of a GeoTIFF reader/writer and it is obviously more limited in the variations of GeoTIFF that it is able to process (I'm only one guy and GeoTIFF is a massive spec). Examining the problematic data can help me diagnose the problem and hopefully lead to improvements in the flavours of GeoTIFF WBT can work with.

Can you access the data (https://gmuedu-my.sharepoint.com/:i:/g/personal/cflynn8_gmu_edu/EfFcFjLFpn5Co3OcChIHeNIBKQ2nj5m4dn3tCNakixFdaw?e=M9anHg)

I'm downloading it now, thank you.

Everything works well if I create the raster using the whitebox tools lidar tin gridding and mosaic

The Geotiff I just loaded  into a new thread might be another chance for you to track down the source of the error in parsing the GeoKeys.  I know exactly how hard the Geotiff spec is.

I had this happen when I was working in a custom coordinate system. As soon as I reprojected to UTM it worked fine.

Hello. It is happening also to me.
I edited a tiff in photoshop and restored the coordinates using this tool
https://freegeographytools.com/2007/a-new-gui-for-the-libgeotiff-worldfile-utilities
I've uploaded the conflicting image and the cloud I whant to project into.
https://mega.nz/folder/JsUAVZTS#EfZM44xBOx099ie3ECnQjQ
Hopefully it helps- I will try to do the reprojection tip suggest. I'm new to Qgis so hopefully I can handle that easily.

I confirm solution by @mbodnar-GS  works!  Raster-->Projection-->AsignProjections-->WGS84 (the only one in my dropwodown in my cas) PRojects flawlessly. Thank you so much!!

I tried to run the sink tool in ArcGISPro 3.2.1 on a .tif from the 3DEP national elevation dataset: USGS_1M_12_x51y380_AZ_USFS_3DEP_Processing_2019_D20.tif, and nothing happens. Then I used the DEM in the test data and it created output but there was no data (perhaps the test DEM doesnt have sinks?). Then I tried to run it on google colab and got this same error:
./whitebox_tools --run="Sink" --input='/content/drive/MyDrive/GIS/Test_data/USGS_1M_12_x51y380_AZ_USFS_3DEP_Processing_2019_D20.tif' --output='/content/drive/MyDrive/GIS/Test_data/sink_fil.tif' -v --compress_rasters=False

Welcome to Sink          *
Powered by WhiteboxTools *
www.whiteboxgeo.com      *

Reading data...
thread 'main' panicked at 'The GeoTIFF reader does not currently support floating-point predictors (PREDICTOR=3).', whitebox-tools-app/src/main.rs:72:21
note: run with RUST_BACKTRACE=1 environment variable to display a backtrace.
I tried reprojecting the raster into UTM zone 12, and WGS84 and still no output..... I also tried with and without a datum specified. Nothing seemed to work. Any other ideas?

Hi @Ryan3Lima, The error "The GeoTIFF reader does not currently support floating-point predictors (PREDICTOR=3)." is telling you that the compression method used in your raster is not supported by Whitebox. You just need to alter the raster so that it uses a different compression method or no compression.

Thanks! that worked


Calls to content.UserContent.exportItem always return 400 on long-running jobs

Following this sample, if I attempt to export a feature service to FGDB from AGOL that results in a large (900+ MB) FGDB, exportItem always fails with a 400 - Error updating file item. BUT, the FGDB gets created just fine and I can manually download it from My Content on AGOL.
If I run same code on really small feature service, all works well and the job completes just fine.
As a hack I tried putting a time.sleep(300) in before calling exportItem.itemData(), but that isn't working in my client environment and now itemDataPath is returning False.
agolSH = AGOLTokenSecurityHandler(username=username,
                                  password=password)

portalAdmin = arcrest.manageorg.Administration(securityHandler=agolSH)
content = portalAdmin.content

item = content.item(itemId)

uc = content.usercontent(username=item.owner)
res = uc.exportItem(title=zip_name,
                    itemId=itemId,
                    exportFormat="File Geodatabase"
exportItemId = res['exportItemId']
jobId = res['jobId']
exportItem = content.item(exportItemId)
serviceItemId = res['serviceItemId']
status = uc.status(itemId=exportItemId, jobId=jobId, jobType="export")
while status['status'].lower() != 'completed':
    status = uc.status(itemId=exportItemId, jobId=jobId, jobType="export")
    if status['status'].lower() == 'failed':
        utils.make_message("ERROR: Export failed.")
        break
del status

itemDataPath = exportItem.itemData(f=None, savePath=savePath)
uc.deleteItem(item_id=exportItemId)

i will take a look.  thank you.

Set wait=True.
Try this:
        import arcrest
        username = ""
        password = ""
        itemId = ""
        zip_name = ""
        savePath = r""
        agolSH = arcrest.AGOLTokenSecurityHandler(username=username,
                                          password=password)
        portalAdmin = arcrest.manageorg.Administration(securityHandler=agolSH)
        content = portalAdmin.content
        item = content.getItem(itemId)
        user = content.users.user(username=item.owner)
        res = user.exportItem(title=zip_name,
                              itemId=itemId,
                              exportFormat="File Geodatabase",
                              wait=True)
        exportItemId = res.id
        exportItem = content.getItem(exportItemId)
        itemDataPath = exportItem.itemData(f=None, savePath=savePath)
        exportItem.userItem.deleteItem()

Regarding using wait=True: looks like that is v3 item, I'm using v2 right now. Can you explain what wait=True does exactly?
Regarding the issue I'm having with deploying this: I can actually get this to work fine in my local dev env, but when trying to deploy to my client's env (with very high security), it is bombing, but only on large downloads. A colleauge suggested it could be the firewall filtering content based on size, since I can pull down a zip created by this process that is say 125MB, but not one that is almost 1GB in size. Will update here on what I find. Thanks.

ExportItem is a async gp task, setting wait to true just loops until the process finishes or fails.

Hmm, thanks, Mike. So exportItem really only handles the export of the AGOL item (a feature service in my case) out to a export format (FGDB in my case), correct? If so, that part is working fine, even though it returns a result of failed on the larger items. I'm really starting to think my real problem is on my client's env with some sort of security setting that is prohibiting my process from downloading the nearly 1GB zipped up FGDB.

Export Item - http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#//02r30000008s000000
This returns a job id, that job is run in the portal/online.  You have to monitor that job for a status update.  That is what the Wait parameter does in ArcRest.  When the job is done, a new item is created, which you can download.

@chadcooper, @MikeMillerGIS
When wait is set to false, the job id is not returning, I corrected for this issue.  This means if you specify wait=False and want to check status yourself, you now can.
If wait is set to True, then the function will return the useritem object as expected.
See the doctstring for the complete changes in the function.
Andrew


Razor Support and identity and Multi Tenancy

Hi Team
First Time user of Finbuckle and I've been following a combination of guides and the aspNet 3.0 examples ( there's no example available for the Multi Tenant Identity)
The Issue I'm having is when I use
app.UseEndpoints(endpoints =>
    {
        endpoints.MapControllerRoute("default", "{__tenant__=}/{controller=Home}/{action=Index}");
    });

I get an error message saying the pages cant be found (404) for both non tenant and tenant links
However when I use the standard
 app.UseEndpoints(endpoints => { endpoints.MapRazorPages(); });

A standard page is found however if I was to go to localhost:5000/acme it doesnt find the tenant page.
This is the startup config
using System;
using System.IdentityModel.Tokens.Jwt;
using Finbuckle.MultiTenant;
using Microsoft.AspNetCore.Authentication.Cookies;
using Microsoft.AspNetCore.Authentication.OpenIdConnect;
using Microsoft.AspNetCore.Builder;
using Microsoft.IdentityModel.Logging;

public class Startup
{
    public Startup(IConfiguration configuration)
    {
        Configuration = configuration;
    }

    public IConfiguration Configuration { get; }

    // This method gets called by the runtime. Use this method to add services to the container.
    public void ConfigureServices(IServiceCollection services)
    {
        JwtSecurityTokenHandler.DefaultMapInboundClaims = false;
        services.AddRazorPages();

        services.AddAuthentication(CookieAuthenticationDefaults.AuthenticationScheme)
                   .AddCookie()
                   .AddOpenIdConnect(options =>
                   {
                       options.ClientId = "__invalid"; // Needed for validation, will be overwritten per-tenant.
                       options.Authority = "https://__invalid"; // Needed for validation, will be overwritten per-tenant.
                       options.Prompt = "login consent"; // For sample purposes.
                   });
        services.AddMultiTenant<TenantInfo>()
            .WithConfigurationStore()
            .WithBasePathStrategy()
            .WithPerTenantAuthentication()
            .WithPerTenantOptions<CookieAuthenticationOptions>((o, tenantInfo) =>
            {
                o.Cookie.Name = "keplerCookie-" + tenantInfo.Id;
            });

        services.Configure<CookiePolicyOptions>(options =>
        {
            options.MinimumSameSitePolicy = SameSiteMode.Unspecified;
            options.OnAppendCookie = cookieContext =>
                CheckSameSite(cookieContext.Context, cookieContext.CookieOptions);
            options.OnDeleteCookie = cookieContext =>
                CheckSameSite(cookieContext.Context, cookieContext.CookieOptions);
        });
    }

    // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
    public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
    {
        if (env.IsDevelopment())
        {
            app.UseDeveloperExceptionPage();
        }
        else
        {
            app.UseExceptionHandler("/Error");
            // The default HSTS value is 30 days. You may want to change this for production scenarios, see https://aka.ms/aspnetcore-hsts.
            app.UseHsts();
        }

        app.UseStaticFiles();

        app.UseRouting();

        app.UseAuthentication();
        app.UseAuthorization();
        app.UseMultiTenant();

        app.UseEndpoints(endpoints => { endpoints.MapRazorPages(); });
        IdentityModelEventSource.ShowPII = true;
    }

    private void CheckSameSite(HttpContext httpContext, CookieOptions options)
    {
        var userAgent = httpContext.Request.Headers["User-Agent"].ToString();
        if (DisallowsSameSiteNone(userAgent))
        {
            options.SameSite = SameSiteMode.Unspecified;
            options.Secure = false;
        }
    }

    //  Read comments in https://docs.microsoft.com/en-us/aspnet/core/security/samesite?view=aspnetcore-3.1
    public bool DisallowsSameSiteNone(string userAgent)
    {
        // Check if a null or empty string has been passed in, since this
        // will cause further interrogation of the useragent to fail.
        if (String.IsNullOrWhiteSpace(userAgent))
            return false;

        // Cover all iOS based browsers here. This includes:
        // - Safari on iOS 12 for iPhone, iPod Touch, iPad
        // - WkWebview on iOS 12 for iPhone, iPod Touch, iPad
        // - Chrome on iOS 12 for iPhone, iPod Touch, iPad
        // All of which are broken by SameSite=None, because they use the iOS networking
        // stack.
        if (userAgent.Contains("CPU iPhone OS 12") ||
            userAgent.Contains("iPad; CPU OS 12"))
        {
            return true;
        }

        // Cover Mac OS X based browsers that use the Mac OS networking stack.
        // This includes:
        // - Safari on Mac OS X.
        // This does not include:
        // - Chrome on Mac OS X
        // Because they do not use the Mac OS networking stack.
        if (userAgent.Contains("Macintosh; Intel Mac OS X") &&
            userAgent.Contains("Version/") && userAgent.Contains("Safari"))
        {
            return true;
        }

        // Cover Chrome 50-69, because some versions are broken by SameSite=None,
        // and none in this range require it.
        // Note: this covers some pre-Chromium Edge versions,
        // but pre-Chromium Edge does not require SameSite=None.
        if (userAgent.Contains("Chrome/5") || userAgent.Contains("Chrome/6"))
        {
            return true;
        }

        return false;
    }
}

and heres the program cs
var startup = new Startup(builder.Configuration);
startup.ConfigureServices(builder.Services);

var app = builder.Build();

// Add this before any other middleware that might write cookies
app.UseCookiePolicy();

app.UseCookiePolicy(new CookiePolicyOptions
{
    Secure = CookieSecurePolicy.Always,
    //safari does not work if this is not set here and chrome works as well
    MinimumSameSitePolicy = SameSiteMode.Unspecified
});

startup.Configure(app, builder.Environment);
app.Run();

Hi
Tried it with the .net core 6.0 sample and it worked however having issues with the auth where its sending me to places I didnt expect it to. For example when I try to authenticate with Acme it will send me to http://localhost:5000/acme/Account/Login?ReturnUrl=%2Facme%2Faccount instead of the auth application. Im making use of Fusion Auth you can find their docker container along with a quickstart app from them here
My Code can be found here

Ok So update, Now got further progress with the .net 3.1 samepl of per tenant Auth however now getting a corelation failed error
Any advice on this and what is causing it?

Turns out it was a chrome related issue. When I started running it in HTTPS it started working in chrome. Might be worth updating the docs and samples however to have a up to date multi-tenant sample

Hi, yeah I have hit this before and it has to do with the Chrome policy for setting cookies which it refuses to do without HTTPS even on localhost. Did using HTTPS solve it for .NET 6 in your case?

Hi Andrew, yes I had to do HTTPS to get chrome working for .net 6.


CI: Intermittent JVM crash on TestVertxUIMultiSession.testUIMultiSessionParallelTraining

Not reproducible locally in 25 runs (Windows, CPU)
https://jenkins.konduit.ai/blue/organizations/jenkins/konduitai%2Fdeeplearning4j/detail/PR-347/3/pipeline/702
Copy of logs:
20200428_CI_jvm_crash_log.txt

I managed to crash this test on my Windows 10 PC, Java 8u241. Here are some logs:
https://gist.github.com/printomi/b004a345a4b708037a38ba04d4cf8173

The first log dates back to 14th April.
The console output and the next log file (hs_err_pid8428.log) is the latest run.

Steps to reproduce:

I haven't run maven -U install recently (for 2 days).
In IntelliJ, I opened deeplearning4j-vertx.
I checked out my development branch printomi:ui_multisession_arbiter.
I pressed "Reimport all Maven Projects" in IntelliJ. This used to update dependencies, but maybe, not snapshots.
I ran separately testUIMultiSessionParallelTraining().

I haven't dealt with this crash issue, because crashes used to disappear after a maven -U install.
So I ran maven -U install, and it helped: the test now passes.

The test passed for me again, without any crash. I guess that the crash depends on how you run the test. In my previous comment, I wrote the steps how I previously made this test crash. Maybe, inconsistently updated dependencies can be the cause.


feat(DTFS2-6750): generate sign in link token

Introduction
As part of 2FA functionality, we need to generate sign in links to be emailed to the user and save these in the database so they can later be verified.
Resolution
I've added a POST /users/me/sign-in-link endpoint to portal-api.
This:

validates that the user has a "valid username and password" auth token (otherwise it returns a 401 error)
generates a (cryptographically strong) random 32 byte sequence which is converted to a 64 length hex string to be used as the sign in link token
generates a (cryptographically string) random 64 byte sequence to be used as a salt
hashes the sign in link token (hex string) with the salt (bytes)
saves the hex strings for the salt and hash to the database for the user who initiated this request
sends the sign in link token in an email to the user who initiated this request

If any of the above steps error then the endpoint returns a 500 error.
Previously portal-api was sending the sign in link email as part of POST /login and I have removed this - portal has to call POST users/me/sign-in-link instead.
In portal, the POST /login endpoint calls POST /users/me/sign-in-link if the login is successful. It then redirects to /login/check-your-email regardless of whether or not sending the sign in link succeeds (because the user can resend the email on the next page)

We're currently processing your upload.  This comment will be updated when the results are available.


Deprecate template engines list in wiki

https://github.com/expressjs/express/wiki#template-engines has a list of template engines that are Express.js-compatible. However, the list is outdated and no longer accepting updates. The current list is at https://expressjs.com/en/resources/template-engines.html
Back in 2018 we talked about migrating content from the wiki to the website (see https://github.com/expressjs/expressjs.com/issues/983 and https://github.com/expressjs/expressjs.com/pull/991). I think now would be a good time to replace the "Template Engines" section in the README with a link to the documentation site.

Hi @nebrelbug you're right, sorry that was missed. The Wiki has been updated to link to the website for that information: https://github.com/expressjs/express/wiki#template-engines


operation: output: get_single: Added ability to rename outputs using GetSingle

Fixes: #786
Signed-off-by: sakshamarora1<EMAIL_ADDRESS>

Ignore whatever is up with daal4py


Black screen for localhost:8888

With a clean clone, I ran the following commands
sudo ./docker/scripts/dev_start.sh
sudo ./docker/scripts/dev_into.sh
sudo ./apollo.sh build
...
1============================
[ OK ] Build passed!
[INFO] Took 2366 seconds
============================
root@in_dev_docker:/apollo#

Now when I open browser and enter localhost:8888, I see a black page only.
It seems that some is started. Any recommendation for more debugging?

BTW, mkz_example is present
root@in_dev_docker:/apollo/modules/calibration/data# ls
README.md  mkz_example

@mahmoodn did you run bash scripts/bootstrap.sh? Refer to our launch guide

allride@in_dev_docker:/apollo$ bash scripts/bootstrap.sh
Module monitor is already running - skipping.
Module dreamview is already running - skipping.

@omaidb @mahmoodn you could refer to the Dreamview start guide for additional debugging information.

@natashadsouza  我是在ssh中运行, bash scripts / bootstrap.sh 提示我没有找到监视器，我在gui下重新运行，但是提示我已经运行，我 bash scripts / bootstrap.sh stop 后再运行 bash scripts / bootstrap.sh start 后可以打开localhost:8888了，我没有想到监视器是必备的

@natashadsouza
Sorry for the delay. I missed the bootstrap. Thanks for your help.

@mahmoodn did that resolve the problem?
@omaidb I am not sure what the problem is. Could you give us details regarding your current Apollo version, system information etc. to help us debug better?

You can use ps -ef | grep dreamview to check if dreamview starts or not.


Fixes #107 Hook on "deploy function" command

Fixes #107: This fix hooks the webpack plugin onto the Serverless "deploy function" command. Currently the plugin will webpack the service as it would be done with a regular deploy. Then the single selected function is deployed by Serverless.
This makes the whole thing work. However there could be some improvements done later. Maybe this.options.f can be used in this case to restrict the webpack run to create only the selected function entry point. But finding that would not be trivial.
I suggest to approve this solution on the first hand and handle the rest as improvement.

This doesn't seem to work when you have multiple entry/outputs in webpack.config.js similar to using the example config from https://webpack.github.io/docs/multiple-entry-points.html

$ sls deploy function -f x
Serverless: Deploying function: x...
Serverless: Bundling with Webpack...
ts-loader: Using<EMAIL_ADDRESS>and /Users/XYZ/tsconfig.json
Time: 1248ms
Asset     Size  Chunks             Chunk Names
x.js   620 kB       0  [emitted]  x
y.js   4.5 kB       1  [emitted]  y
z.js  3.21 kB       2  [emitted]  z
Serverless: Packaging function: x...
path.js:7
throw new TypeError('Path must be a string. Received ' + inspect(path));
^
TypeError: Path must be a string. Received undefined
at assertPath (path.js:7:11)
at Object.basename (path.js:1355:5)
at fse.copy (/Users/XYZ/node_modules/serverless-webpack/lib/cleanup.js:37:22)
at doneOne (/Users/XYZ/node_modules/fs-extra/lib/copy/ncp.js:237:40)
at /Users/XYZ/node_modules/fs-extra/lib/copy/ncp.js:122:11
at /Users/XYZ/node_modules/graceful-fs/polyfills.js:239:18
at FSReqWrap.oncomplete (fs.js:112:15)

@mnightingale The error is caused by after:deploy:function:packageFunction if you remove that part of the code it works however I found another problem when you run sls deploy function -f test it will create .serverless folder under .webpack directory so structure looks like this:
|-.webpack
    |-.serverless
         |-test.zip

and this cause follow error as the serverless expact zip file to be under .serverless in root folder not in .webpack:
ENOENT: no such file or directory, open '<-your-path->/.serverless/test.zip'
My current solution is below but is not ideal however it still better then deploy cloudformation during development:
sls package -v && sls deploy function -f test -v

Hello @martinmicunda .
This PR https://github.com/elastic-coders/serverless-webpack/pull/130 should fix it.

Superseded by #130


Keep bundle order in bundle.result.json

Resolves #71

Build's failing on node <= 0.12, a bit of an odd error but I'm going to temporarily downgrade by node version to test it. I think it might be the use of Object.keys, but IDK.

That should be fixed - for whatever reason the fs.writeFileAsync implementation wasn't getting a String, just something that looked like a String (but didn't have indexOf). Calling the String constructor on it if it isn't a string seems to have fixed it.

Thanks for the PR! I'm currently out of town but can take a look at this
first thing Monday
On May 20, 2016 4:05 PM, "PlasmaPower"<EMAIL_ADDRESS>wrote:

That should be fixed - for whatever reason the fs.writeFileAsync
implementation wasn't getting a String, just something that looked like a
String (but didn't have indexOf). Calling the String constructor on it if
it isn't a string seems to have fixed it.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/dowjones/gulp-bundle-assets/pull/86#issuecomment-220718423

@chmontgomery Sounds good!

@AndrewCraswell does this work for your use case?

@PlasmaPower, so long as this PR gets merged, it looks good! Thanks for doing the work, this will be a huge help to me and my team :).
If you'd like to also update the documentation and the existing example code to describe the enhancement, I'd be happy to Venmo or Square Cash you an extra $15. I think this is the only example you'd probably need to modify:
https://github.com/dowjones/gulp-bundle-assets/tree/master/examples/full

@AndrewCraswell Glad I could help! I'm not sure how to describe the enhancement in any of the examples since none of them depend on the order of the generated JSON if I've looked through them correctly. I have, however, rebuilt the result JSON since that changed with my change. Is there anything else I should add there?
I've also added a note about order in the docs and readme. As for the extra $15 - thanks! If you could add it to the bounty on Bountysource or send it in Bitcoin (1MVL1ygkgRSvhxC5PwbGqdZh26XSYV2sGD) that would be great, but I just setup $PlasmaPower on Square Cash if you'd prefer that.

@AndrewCraswell It looks like I'd have to enter in my debit card to receive money from square cash (which I'd prefer not to do for security reasons) so the $15 is yours :). Documentation should be included in a PR anyway.

👍 looks good to me. I have one minor update as a followup to this change so that the scripts and styles keys will always stay in order as well.

@chmontgomery Makes sense - there was a race condition there.


Chore: Refactor Pull Payment

Resolves #59
Changes made-:

Moved all PullPayment data into storage
Moved all controller logic into MarketEnabled
Changed UpgradeEvent to incorporate the controller changes
Added self destruct in PullPayment to recover stolen ether in case of emergency.

Made small commits for simplicity in understanding.
Note: None of the functions in the PullPayment satellite have changed names. The frontend can still call the same functions.

TEST CASE in upgradeEventCompact required-

The current design with monolithic PullPayment(current state in production) has to be upgraded to the newer design(refactored).

I don't understand yet. my confusion is this:
to react to a problem in pull payment (theft in progress), we need to be able to get to the ether. we can do this by either:

kill pull payments
change allocation in the storage

now we implement the ability to do both. i would have thought that just adding kill would have been enough.
I see 2 additional disadvantages moving the pullpayment logic to controller:

any defect in controller can now compromise pullpayment
transactions in pull payment become more expensive

why not simply add kill to pullPayment, but leave it a totally separate contract otherwise?

If we just add kill to it and dont refactor the storage into the storage satellite, then we wont be able to deploy and reintegrate a new pull payment.

because withdrawals should not cary a big amount of data (if i requested withdrawal, i most likely also executed withdrawal), i don't see a reason why we want to keep the storage between different contracts.

@johannbarbie what if we want to change daily limits?

Changed to #69


Spyder from Anaconda doesn't start

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[x] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Tried basic troubleshooting (if a bug/error)

[x] Restarted Spyder
[x] Reset preferences with spyder --reset
[x] Reinstalled the latest version of Anaconda
[x] Tried the other applicable steps from the Troubleshooting Guide

[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
Spyder just doesn't start. I tried uninstalling and installing agains last version, but to no avail
What steps reproduce the problem?

Open Anaconda Promp
Write spyder

What is the expected output? What do you see instead?
I expect Spyder to run, but isntead I got an error on the command line
Paste Traceback/Error Below (if applicable)
(base) C:\Users\Usuario>spyder
Traceback (most recent call last):
File "C:\Users\Usuario\Anaconda3\lib\site-packages\qtpy_init_.py", line 199, in
from PySide import version as PYSIDE_VERSION  # analysis:ignore
ModuleNotFoundError: No module named 'PySide'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Usuario\Anaconda3\Scripts\spyder-script.py", line 10, in
sys.exit(main())
File "C:\Users\Usuario\Anaconda3\lib\site-packages\spyder\app\start.py", line 190, in main
from spyder.app import mainwindow
File "C:\Users\Usuario\Anaconda3\lib\site-packages\spyder\app\mainwindow.py", line 50, in
requirements.check_qt()
File "C:\Users\Usuario\Anaconda3\lib\site-packages\spyder\requirements.py", line 41, in check_qt
import qtpy
File "C:\Users\Usuario\Anaconda3\lib\site-packages\qtpy_init_.py", line 205, in
raise PythonQtError('No Qt bindings could be found')
qtpy.PythonQtError: No Qt bindings could be found
``
Versions

Spyder version: 3.3.1
Python version: 3.7.0
Qt version: 5.9.6
PyQt version: 5.9.2
Operating System name/version: Windows 10

We can't solve this error in our side. It's usually caused by other software that also uses Qt (our graphical toolkit).
You need to look for Qt5*.dll libraries, see to what software they are related and uninstall them. Other than that, we don't have more advice to give you, sorry.

Could you please elaborate a little bit more? I'm a bit unsure on how to proceed

You need to use the Search Windows tool and look for the pattern I gave you above.


Change in the Thermostat IP is not picked up automatically

Hi, My Thermostat IPs changed after router upgrade. I can see HA integration captured mac addresses of these two thermostats. However, reinitializing still doesn't work.

If your IP address has changed, simply remove the integration and re-add it with the new IP.

Oh ok, thank you for the update


Modernize Examples in the README

The code for the current examples, while correct, is a tad out of date.

Migrated to: https://trello.com/c/YoLqQzR0


Monitor: Add one panel to view block height and block transaction summary info

Add monitor function to view block height and block transaction summary info in time.

done.


Sync iterator’s values are not awaited

On 64a49214f6a7036e7622ff4b4b9f938e277ae7ae, @zloirock left this comment:

this fallback will not properly work with sync iterators.
await Array.fromAsync([Promise.resolve(1), 2, Promise.resolve(3)]); // => [Promise.resolve(1), 2, Promise.resolve(3)]

Something like that could be simpler.
Let usingAsyncIterator be ? GetMethod(asyncItems, @@asyncIterator).
Let usingIterator be undefined.
If usingAsyncIterator is undefined,
  Let usingIterator be ? GetMethod(asyncItems, @@Iterator).
  If usingIterator is undefined,
    Let usingIterator be ? %Array.prototype.values%.
...
If usingAsyncIterator is not undefined,
  Let iteratorRecord be ? GetIterator(asyncItems, async, usingAsyncIterator).
Else,
  Let syncIteratorRecord be ? GetIterator(asyncItems, sync, usingIterator).
  Let iteratorRecord be ? CreateAsyncFromSyncIterator(syncIteratorRecord).

The problem is that the current specification will not properly await each value yielded from a synchronous iterator. (We do want await to be called on each value from a synchronous iterator—this is what for await does.)
This problem is due to how the spec currently incorrectly creates an synchronous iterator. Step 3.e.iii assigns iteratorRecord to GetIterator(asyncItems, async, usingAsyncOrSyncIterator), which results in a synchronous iterator that does not call await on each of its yielded values. What we need to do is copy GetIterator when it is called with an async hint. We need to call CreateAsyncFromSyncIterator on the created sync iterator, which in turn will create an Async-from-Sync Iterator object, whose next method will call await on each of its values. (Thanks @bakkot for the help).
I will fix this later.

The same problem is with non-iterable array-like objects. The simplest solution above -)

I’m a little confused. How does the current algorithm not work with non-iterable array-like objects? GetMethod(asyncItems, @@asyncIterator) and GetMethod(asyncItems, @@iterator) are both undefined, which makes usingAsyncOrSyncIterator undefined, which means step 3.e is skipped and step 4.f etc. are executed.

The current algorithm doesn't await the value and the result of the callback.

Aha, that’s what you mean. Thank you for pointing it out.


BUG: Ignore PL warning related to ambiguous batch size.

Closes #633

I'm not sure ignoring the warning is the best approach. It's probably better to actually fix it, otherwise there's a risk that we've been looking at biased metrics all along. When logging tensors (e.g. losses; not TorchMetrics objects), Lightning weighs the step values by batch size when aggregating epoch metrics. My suggestion would be to ensure we're able to pass batch_size=... wherever we're logging with Lightning to avoid subtle metric aggregation bugs.


V2.02 Activity Includes Both Country & Region But No Percentage

When viewing a file published ex Aidstream at v2.02 (https://aidstream.org/files/xml/scnl-689.xml) I noticed that an activity contained the following:

However, country and region should only be published together when a percentage code is used. This is therefore not correct?

Dear Wendy,
It seems that the particular activity was added before we had upgraded AidStream. So technically it would be required that you update the activity and republish it to correct it.
Thank you.
Sachit

Many thanks @sachit-singh although the file was produced on '2016-10-31' which I thought was after the upgrade? Was that not the case?

Hi team I have just come across another example of this for an activity with a start date of 2017 see http://d-portal.org/q.xml?aid=NO-BRC-977538319_AFFM1709
A publisher should not be able to publish an activity with both country and region but no percentages (and both percentages must be > 0)
Please could you investigate. Many thanks

Hello Wendy,
Yes, for a publisher to be able to publish an activity with both country and region, the percentages should be greater that zero, and they must sum up to 100. However, 100% for a Recipient Country and 0% for a Recipient Region is also allowed.
The link to the XML file that you had sent us is not the one generated through AidStream. We have found the same activity XML (see https://aidstream.org/files/xml/nrc-679.xml) generated from AidStream, with the same Activity Identifier but separated using a dash(-) unlike the one in the file that you had sent [in which the Activity Identifier is separated using an underscore(_)]. In this file, the Recipient Country Percentage is 100, which is correct according to the standard. But the one linked to d-portal is not the one generated through AidStream, but the one that you had sent me. I do not know which is correct one to follow and a bit confused as well.

Thanks @sachit-singh and the raw file I was looking at is https://aidstream.org/files/xml/nrc-679.xml where the recipeint-country is set to 100 and the region to 0. However, this makes no sense although I can also see that the documentation appears to imply this is okay  -http://iatistandard.org/202/activity-standard/iati-activities/iati-activity/recipient-region/
I'm therefore going to raise this as an issue with the IATI Technical Team and community and will get back to you idc

Ok Wendy. Thank you for your help.


Getting error with a specific set of words

Please check the below screenshot..

Please help, thanks

I have the problem too,  give you a resolve，find src/demo.js，line 21-22，add ‘px’ at last。and find line45-46， add ‘px’ too， your problem will reslove

@kivenZhou
Thank you, I tried but still did not solve..

@hazem-taha
Seems like the question raised in your screenshot could not be solved by these code.
In this special case, word KITTEN could not be inserted, so the code ran wrong.
After delete the word KITTEN, it works again.

hello @gaoryrt
Yes exactly this is the case, but how to fix this ? as I don't have control on the words the user enters to create the puzzle and this is a bug behavior as far as I understand..
Thanks in advance.


Change type to indicate non-participation in reductions

Original issue: https://charm.cs.illinois.edu/redmine/issues/882

Currently, Charm++ allows some members of a reduction to pass in CkReduction::random to ignore their contributions.  However, CkReduction::random is a valid type for reductions.  Create a new type explicitly for this purpose (something like CkReduction::ignore) and clean up the code that currently special cases CkReduction::random.

Original date: 2016-03-02 21:13:43

In the runtime, the only places where a contribution with CkReduction::random is used is in ckarray.C and ckreduction.h. As far as I can tell, the use in these places is the intended use of random.

Original date: 2016-08-16 15:55:51

Patch here: ~~https://charm.cs.illinois.edu/gerrit/#/c/1800/~~ https://github.com/UIUC-PPL/charm/commit/3cb576a426f96dff91d221f7ed8b6d2ce57a8e5b


Clicking on any avatar opens my settings

Enter any conference, click any user avatar in the message view. You'll be redirected to Kaiwa settings. That's strange, maybe it'd be better to open full-screen avatar view in new browser tab or something like that.

I can't reproduce redirect in FF 42 and Chromium 46.

Agreed. I cannot reproduce either.


Stability-based method for choosing the regularization parameter

Liu, Han, Kathryn Roeder, and Larry Wasserman. "Stability approach to regularization selection (stars) for high dimensional graphical models." Advances in neural information processing systems. 2010.
https://arxiv.org/pdf/1006.3316.pdf

Done 4da7d4f0c720c558c952ad796b6de3988a977a0c


Allow auto-todos that only apply to certain card types

Originally captured in #353
To date, all auto_todos implicitly only apply to content cards. But now some of them should also apply to working-notes.
The todos will overlap partially.
Ideally does-not-need-FOO, where has-FOO is only for one type of card, would not match card types that it can't apply to.

[ ] keep track of legal auto todo override keys by card type
[ ] card editor only shows autotodokeys that are legal to add to this card type

The only type of TODO that should actually affect working-notes is the mined todo.
It's a special type of behavior:

not-mined = no mined override + no mined-from outbound references
partially-mined = no mined override + 1 or more mined-from outbound references
<NO-TODO> = mined override

Now that the maintenance task has been done in production this is done


Make probeStream accept an options object

To keep these interfaces consistent, let's make probeStream accept an options object with 'keepOpen' as a property
Fixes #66

@puzrin Lmk if this change makes sense!

I don't see reasons for this change and don't like to change api "just for fun". Http and stream probers are different things, why should they have similar options?

Hi @puzrin, agree we should be careful with API changes.
I thought this change might be useful to reduce the differences between the top level APIs
i.e. probe('', {}) and probe(stream, true) become probe('', {}) and probe(stream, {})
Feel free to close if you think this is not worth the change

Let's keep all as is. Those methods looks similar only at first glance, but are very different by nature. Also, api is battle-tested and stable.


temporary version is too restrictive

I have problems with building the last version with stack, need just to change == to >= for:
temporary ==<IP_ADDRESS>

I have the same problem. Is it necessary to set it too restrictive?

It could be >= <IP_ADDRESS>. I'm on this now.

Just uploaded hi-<IP_ADDRESS>, which depends on temporary >=<IP_ADDRESS>.
https://hackage.haskell.org/package/hi-<IP_ADDRESS>
Thanks for reporting this!

Thanks!


Convert insight page to use global theme for positioning, etc

Currently, pages and components have a lot of hardcoded properties for styles like padding, text size/font/color, hover effects, etc.
To make the site more maintainable and easily modifiable, I want these re-used properties to be shared among these components. I will do this using a sass theme file most pages/components will include.
For this card, I will convert the insight page to use that global styling
Acceptance Criteria:

Insight page uses variable values from global css theme for elements that should be uniform with other pages (spacing, padding, text, etc.)

No more permanent, specific styling for the page: (the img tag is for the placeholder insight chart)

Page still looks the same


mark all modules as sideeffect free

Helps with treeshaking, none of the imports have any side effects so marking them as not having side effects.

@radu-matei can we merge this?
ref: https://webpack.js.org/guides/tree-shaking/#mark-the-file-as-side-effect-free


Add Guides for 'ASOF JOIN' and Full Text Search

I have a PR for this. Any feedback appreciated!

Thanks for the PR! Good stuff.


key l deletes files

Describe the bug
When I press the l key, it deletes the file if it is no longer a folder to go into.
To Reproduce
Steps to reproduce the behaviour:

Go to a file,
Press l

Expected behaviour
Nothing should happen, there is no folder to go into, and therefore nothing should happen (maybe later do a preview or select the file, I don't know)
Screenshots
Not, possible.
System information (please complete the following information):

OS: MacOS
Version: 14.5

I was unsure whether it was just a very dangerous default, but I created a temp folder, and made a couple of files, then opened the directory with spf and then pressed enter on these files. They ended up in Trash.

@denisbr could you please check the delete_item variable in ~/.config/superfile/hotkeys.toml for me?
I'm not sure if this is a coding error or a configuration error

OK I found the reason.
This error only occurs on macos :(

https://github.com/MHNightCat/superfile/commit/65727399e9da359d51d26951889d1d13b9f466ad
This bug has been fixed.
Thanks for your report!

@denisbr  @nkoane
https://github.com/MHNightCat/superfile/commit/65727399e9da359d51d26951889d1d13b9f466ad
This bug has been fixed.
Thanks for your report!

If there are still errors in this, please feel free to reopen it.


Add a howto on determining packages content for an image

This PR is coming from

https://github.com/2i2c-org/infrastructure/issues/2793

as part of the RTD documentation aimed at users of Pangeo Docker Images. It describes

How to find my current image tag
How to finding list of packages in any given tag
How to finding diff of packages between any two tags

@yuvipanda comments?

Hi @yuvipanda . Thanks for the feedback on the changes. I've tried to address your comments.

Thank you for working on this @jmunroe and @yuvipanda. Reading this I came across this statement:

Given the LEAP hub exclusively uses pangeo images

Which is not strictly true currently (we offer the education image I made), and might become a lot less true now that we have the option to specify arbitrary images (which is amazing). I think this documentation here is great, but it is very specific to the pangeo-docker-images. Is there a more general way to list/diff any docker image? Or maybe there is some way to enable this to work at least for comparisons between pangeo images and ones created with the 2i2c template?
To motivate this use-case a bit: I was planning on putting some time and energy into educating the LEAP community how to build their own images. I think that for the diverse needs of LEAP researchers it would often make sense to set up project-specific images maintained by single researchers/groups of researchers. I think upstreaming as much of this to 2i2c and other communities could be very nice.


App hangs on http request using axios, but works on "Debug JS remotly"

Hi!
I'm having problems to perform any http request using axios to a local server:
axios.post(url, data)
and for url I tried:
url = "http://localhost:3000/authenticate"
url = "http://<IP_ADDRESS>:3000/authenticate"
url = "http://<IP_ADDRESS>:3000/authenticate" //server ip address
url = "http://<IP_ADDRESS>:3000/authenticate" //emulator address
and NONE of them worked...
The funny thing (and I can't understand why) is that as soon as "Debug JS Remotely" the following url worked perfectly:
url = "http://<IP_ADDRESS>:3000/authenticate" //emulator address
So, how should it be my set up to make this work without debugging js remotely??

Trying this on a android device.
"dependencies": {
"axios": "^0.18.0",
"babel-eslint": "^8.0.2",
"country-data": "0.0.31",
"hoist-non-react-statics": "^3.0.1",
"libphonenumber-js": "^1.4.3",
"native-base": "^2.7.2",
"prop-types": "^15.6.0",
"react": "16.3.1",
"react-native": "~0.52.2",
"react-native-animatable": "^1.2.4",
"react-native-cli": "^2.0.1",
"react-native-contacts": "^2.2.2",
"react-native-easy-toast": "^1.1.0",
"react-native-elements": "^0.19.1",
"react-native-google-places-autocomplete": "^1.3.9",
"react-native-keyboard-aware-scroll-view": "^0.4.1",
"react-native-linear-gradient": "^2.3.0",
"react-native-maps": "^0.21.0",
"react-native-navigation": "^1.1.479",
"react-native-scrollable-tab-view": "^0.8.0",
"react-native-splash-screen": "^3.1.1",
"react-native-tab-view": "^1.0.2",
"react-native-toaster": "^1.2.2",
"react-native-vector-icons": "^5.0.0",
"react-redux": "^5.0.7",
"redux": "^4.0.0",
"redux-thunk": "^2.2.0",
"tinycolor2": "^1.4.1"
}

@fedecryto, @saleem-hadad
I just found and fixed this issue in my project - a nightmare to track down! This is probably be a bit late for you, but hopefully not for others.
Turns out that I was using Basic Authentication, and btoa isn't defined in RN except when you're using remote debugging. There's a good explanation here:
https://stackoverflow.com/questions/42829838/react-native-atob-btoa-not-working-without-remote-js-debugging
The "js is actually running in chrome with remote debug" aspect of this should (IMHO) really be highlighted more, preferably with big blink tags in the documentation.
Hope this helps....someone.

Downgrade your axios version to 0.18.0.


It is possible to update the title, once loaded the controls?

I want to update title, It will look something like Peoples(0), Where Peoples is title of the page.

Hi! I'm not sure if I understand exactly what you are trying to achieve. Are you talking about reloading the titles when some of the data changes?

Yes, titles need dynamic, It should allow to edit anytime and from anywhere.

You can reload the menu items by calling pagingViewController.reloadData(). There was a bug with reloading items that was fixed recently, so try to target the master branch if you are having any issues. I will get a new version released this weekend.

See I show your update and test it, it is reloading whole controller and creating new instance of pager view controller on reload, instead of just provide the method to reload only menu items.

Yeah, it will reload both the menu items and the view controllers. If you do not want to create new instances of the view controllers, you can store them in a property like this:
class ViewController: UIViewController {
    let viewControllers: [UIViewController]

   ...
}

extension ViewController: PagingViewControllerDataSource {

  ...

  func pagingViewController(_ pagingViewController: PagingViewController, viewControllerForIndex index: Int) -> UIViewController {
    return viewControllers[index]
  }
}

Does that work for you?

@BhaveshKumbhani did you manage to get this working?

Yes, works for me but it was reloading with animation.


EMFILE in writemarkdown

By default you can only have 256 open files at a time on OSX.  writemarkdown tries to write all files in parallel, so eg ulimit -n 256; offline-issues meteor/meteor will crash like this:
$ ./node_modules/.bin/offline-issues meteor/meteor
Wrote data

fs.js:439
  return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                 ^
Error: EMFILE, too many open files '/Users/glasser/Projects/Meteor/offline-issues/node_modules/offline-issues/src/templates/markdown.hbs'
    at Object.fs.openSync (fs.js:439:18)
    at Object.fs.openSync (/Users/glasser/Projects/Meteor/offline-issues/node_modules/offline-issues/node_modules/cpr/node_modules/rimraf/node_modules/graceful-fs/graceful-fs.js:68:26)
    at Object.fs.readFileSync (fs.js:290:15)
    at /Users/glasser/Projects/Meteor/offline-issues/node_modules/offline-issues/src/writemarkdown.js:15:21
    at Array.forEach (native)
    at writemarkdown (/Users/glasser/Projects/Meteor/offline-issues/node_modules/offline-issues/src/writemarkdown.js:13:10)
    at /Users/glasser/Projects/Meteor/offline-issues/node_modules/offline-issues/src/index.js:129:7
    at /Users/glasser/Projects/Meteor/offline-issues/node_modules/offline-issues/node_modules/cpr/node_modules/rimraf/node_modules/graceful-fs/graceful-fs.js:90:5
    at Object.oncomplete (fs.js:108:15)

As a workaround, you can just run ulimit -n 5000 first or something, but maybe writemarkdown should use a mechanism to limit the number of parallel writes being done?

though actually looks like i'm pretty likely to hit the hourly API limit anyway, ah well

Ohhh, snap, didn't know about the limit but that makes sense. I guess it's best to just limit the number of writes :+1:

I just added https://github.com/jlord/offline-issues/commit/01f84d41aeddc82bd89c7aec9846adb83593b6a6 so that it will only ever try to do 250 max, which should be ok for the OS and the GitHub API.
It's not ideal if you truly want all issues however, but since this ☝ error no longer happen I'm going to close this issue and open a new one about processing issues in batches.


passHostHeader doesn't seems to be forward to https request

I have a MVC controller decorated with the [RequiredHttps] attribute which force the a redirection from http to https at the client side.
As you can see in my configuration below, I have set the passHostHeader = true in the frontend config. I have also set the url of my backend service to http://...
I have set it to http:// because when I set the backend service url to https://, the host header does not seems to be forward.
I should be able to combine passHostHeader to https://
What is your environment & configuration (arguments, toml, provider, platform, ...)?
[frontends]
    [frontends.subs]
        backend = "subs"
        passHostHeader = true
        [frontends.subs.routes.any]
            rule = "Host:suba.mysite.com,subb.mysite.com"
...
[backends]
    [backends.subs]
        [backends.subs.servers.1]
        url = "http://<IP_ADDRESS>"

Output of traefik version: (What version of Traefik are you using?)

Version:      v1.5.0-rc3
Codename:     cancoillotte
Go version:   go1.9.2
Built:        2017-12-20_02:24:44PM
OS/Arch:      windows/amd64

Thanks for your interest in Traefik !
Every question asked in issues means less features 😉.
The issue tracker is for reporting bugs and feature requests only.
For end-user related support questions, refer to one of the following:

Stack Overflow using the "traefik" tag
the Traefik community Slack channel


Tweak squashfs for low-memory systems

On low-memory systems (below 2GB of RAM), limit unsquashfs to a single
CPU and to 10% of the RAM for its fragment size.
Closes #2382
Signed-off-by: Stéphane Graber<EMAIL_ADDRESS>

Just want to confirm this works on my low mem env:
Creating barkier-maxton
Starting barkier-maxton
error: Error calling 'lxd forkstart barkier-maxton /var/lib/lxd/containers /var/log/lxd/barkier-maxton/lxc.conf': err='exit status 1'
  lxc<PHONE_NUMBER>0402.013 ERROR lxc_conf - conf.c:lxc_mount_auto_mounts:781 - No such file or directory - error mounting /sys/fs/cgroup
  lxc<PHONE_NUMBER>0402.013 ERROR lxc_conf - conf.c:lxc_setup:3758 - failed to setup the automatic mounts for 'barkier-maxton'
  lxc<PHONE_NUMBER>0402.013 ERROR lxc_start - start.c:do_start:834 - failed to setup the container
  lxc<PHONE_NUMBER>0402.014 ERROR lxc_sync - sync.c:__sync_wait:57 - An error occurred in another process (expected sequence number 3)
  lxc<PHONE_NUMBER>0402.015 ERROR lxc_start - start.c:__lxc_start:1354 - failed to spawn 'barkier-maxton'

Try `lxc info --show-log barkier-maxton` for more info


Guard against deletion of an in-use build engine

rdar://85827825

@swift-ci please smoke test

@swift-ci please test


Fix amp-ad and amp-analytics

In the amp-ads sample, should we rename Using placeholder and Using fallbacks to 'Placeholder' and 'Fallback'?

In the amp-analytics sample, should we not mention the amp-iframe based counter, e.g. remove the amp-iframe comment and the iframe embed:
<!--
  We are going to use a demo analytics endpoint to demonstrate what's possible with `amp-analytics`. The dashboard is embedded via `amp-iframe` and shows the data received by the analytics endpoint in real-time. It should be visible in the bottom right corner.
  -->

Do you plan to remove the ampstart styles in another PR?

It's passing now, @sebastianbenz PTAL


Add outline for ie.enableFullPageScreenshot

Spent some time wrestling with the name of this today, so it thought it was a good candidate for a quick PR.

Except that after version 3.5 of the IE driver (in other words, once spec-compliance became available), this capability is ignored and has no effect.

I did not know that- I'm currently using 3.4 still.  Thanks for the info @jimevans


typo: Double word "capture"

Hi @nschonni , thanks for your help in making our docs better! #sign-off

@MashaMSFT: I'm sorry - only the author of this article, @stevestein, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.


Can you support .xls file format?

I am working with Excel file format (.xls). Can you help me. Thanks

I'm developing mac/win app, so I need to support file format (.xls).

Same here. working with (.xls) file formats at the moment.

Hi! I think it can't be solved, because it's absolutely different structure and format.


PermissionSet: refactoring

Signed-off-by: Mikhail Boldyrev<EMAIL_ADDRESS>

Description of the Change
Previous implementation of PermissionSet used to inherit from std::bitset, which is widely considered a very bad practice. Such design has no visible reasons. This change makes std::bitset a private member.

Benefits
Better design.

Possible Drawbacks

Usage Examples or Tests [optional]

Alternate Designs [optional]

That is very strange, for some reason the review state was cleared. This pr has been already reviewed 13th of June.


Metron agent won't start: Could not use GRPC creds for client: failed to load keypair: tls: failed to find any PEM data in certificate input

Pretty stuck on this one and I'm 99% sure it's cert related but I can't figure out how to fix.   I am doing a brand new bosh deploy to vsphere and I followed the cloud foundry steps exactly (found some doc issues and submitted PRs but you get the idea).
I used the following stub manifest:  https://docs.cloudfoundry.org/deploying/common/vsphere-vcloud-cf-stub.html as a starting point before doing the spiff yaml join to create a manifest.yml
The only place metron is mentioned there in that stub file is under loggregator and the loggregator certs.  However in the final deployment manifest it shows up twice, once as the metron_agent and one under tls so that's slightly confusing.  I used the script in the cf-release repo as per the docs to generate loggregator certs and it didn't seem work.
I also tried the generate certs script in this consul-release repo and used those certs and still no.
Here's my bosh instances --ps output:
consul_z1/0 (ffd7742b-c829-430f-918e-021e8d0b211f)*                        | failing | n/a | small_z1  | <IP_ADDRESS> |
|   consul_agent                                                             | running |     |           |                |
|   metron_agent                                                             | failing |     |           |                |
The metron.log file simply has a pile of these entries:
2017/08/03 01:51:23 Could not use GRPC creds for client: unable to load ca cert file
I've been going in circles so perhaps someone can explain to me what the end deployment manifest needs to look like in terms of the certs for metron_agent.
There are two instances of cert/key pair in my deployment manifest for metron and they are identical.  Like I said, one is nested under tls and one is simply under metron_agent.
Where/how is the best way to generate those certs and should I put those certs in my stub previous to spiffing rather than use the generate loggregator cert script in cf-release?  Or, should I just create new certs and dump them into both places (or one place) in my deployment manifest and deploy from there?  I appreciate any help or direction here.

Hi cwb124 ,
I have the same issue.
Could you correct the error?

I didn't correct this error specifically. I rebuilt my deployment manifest paying very close attention to the Cloud Foundry install instructions and cert creation steps and I got past this error.  I have no idea what I fixed.

ok thanks, i will try the same.

Sorry I couldn't be of more help.  One thing I will stress is pay VERY close attention to how they want you to create certs.  Also as a reference, check the openstack or AWS docs for the same steps you're doing in vsphere (or vice versa) because I've found the documentation to be a little inconsistent.  Sometimes the openstack docs had more up to date info that worked vs. the docs for the vsphere part.


patroni to pgo migration

@dleard it's been run on -dev. It should automatically run on -test upon merging to main, we'll need to monitor that closely


Swift 5.9.2( Xcode 15.2) compilation issue with v10.24.0 using Carthage XCFramework

Description
Hi @paulb777
This is a follow up on https://github.com/firebase/firebase-ios-sdk/issues/12388
I am currently using Xcode 15.2 and we cannot upgrade to Xcode 15.3 due to other reasons. After upgrading the XCFrameworks of Firebase SDKs to v 10.24.0 from v10.15.0, I am observing the following error during the compilation of the app in Xcode 15.2 and unable to proceed. Please help to resolve this issue as we are running into a deadline (May 1st) to upgrade Firebase SDK as mandated by Apple [https://developer.apple.com/support/third-party-SDK-requirements/]
Expected: Compile the app successfully with v10.24.0 with Xcode 15.2.
Actually happened:
Failed to build module 'FirebaseCrashlytics'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.7.1 (swiftlang-<IP_ADDRESS>.3 clang-14<IP_ADDRESS>)', while this compiler is 'Apple Swift version 5.9.2 (swiftlang-<IP_ADDRESS>.56 clang-15<IP_ADDRESS>.5)'). Please select a toolchain which matches the SDK.
Similar reports:
https://github.com/firebase/firebase-ios-sdk/issues/11947
https://github.com/firebase/firebase-ios-sdk/issues/12388
Reproducing the issue
Define the following in the Cartfile and run the "carthage update --use-xcframeworks --no-use-binaries --platform iOS" command.
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseAnalyticsBinary.json" == 10.24.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseMessagingBinary.json" == 10.24.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseCrashlyticsBinary.json" == 10.24.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebasePerformanceBinary.json" == 10.24.0
binary "https://dl.google.com/dl/firebase/ios/carthage/FirebaseRemoteConfigBinary.json" == 10.24.0
I tried to same with SPM and the same issue is observed.
Firebase SDK Version
10.24.0
Xcode Version
15.2
Installation Method
Carthage
Firebase Product(s)
Analytics, Crashlytics, Messaging, Performance, Remote Config
Targeted Platforms
iOS
Relevant Log Output
Failed to build module 'FirebaseCrashlytics'; this SDK is not supported by the compiler (the SDK is built with 'Apple Swift version 5.7.1 (swiftlang-<IP_ADDRESS>.3 clang-14<IP_ADDRESS>)', while this compiler is 'Apple Swift version 5.9.2 (swiftlang-<IP_ADDRESS>.56 clang-15<IP_ADDRESS>.5)'). Please select a toolchain which matches the SDK.

Thanks for reporting, @RajaveluC. It seems that your issue is related to #12794.

As discussed in #11947, we have not been able to reproduce this, so a full repro case would be helpful.
In any case, we're planning to update the binary build to Xcode 15.2 in the 10.25.0 release due out the week of April 29th. See #12737

Hi @RajaveluC, are you importing Firebase into an app target or something else (e.g. framework, extension, etc.)?

Hi @ncooke3 , I am importing Firebase directly into the app target.

@RajaveluC, thanks for confirming. I'm unfortunately not able to reproduce by using 15.2 and the Cartfile snippet to shared in the original post. Are you able to reproduce this in a new, blank project and share it with me?

Hi @ncooke3  I tried to replicate our project setup into a demo project to test it. It works fine on the demo project. I am not sure what kind of settings are preventing the SDK from compiling in our actual project.

Thanks, @RajaveluC. Have you tried doing a fresh install of 10.24.0? So, delete all Firebase XCFrameworks and the Carthage build folder so there are no Firebase related artifacts left in your workspace. Then, re-add Firebase using Carthage.
In any case, as Paul said above, the issue should hopefully be fixed in the next Firebase release as the binaries will be built with Xcode 15.2.

Yes @ncooke3 . I tried that already. Still the same results. I guess I will have to wait for 10.25.0.

Hi @RajaveluC, https://github.com/firebase/firebase-ios-sdk/releases/tag/10.25.0 is now published for Carthage. Please let us know if this resolves the issue you were seeing on 10.24.0.

See also conversation in https://github.com/firebase/firebase-ios-sdk/issues/12877

Hi @andrewheard Yes I was able to upgrade to 10.25.0 successfully. Thanks.


chore(package.json): upgrade typescript to v2.1

BREAKING CHANGE: TypeScript definitions are now for TS 2.1 and higher.
Abstract

This change does not cause any breaking change directly, but we would causes some breaking change by using new features intoduced by v2.1 for the future.
If we upgrade typescript to v2.1, there are some pros/cons.

pros

we can switch to npm:@types type dependencies by https://github.com/Microsoft/TypeScript/issues/11849 is fixed in v2.1.
we can use more powerfull features introduced by v2.1.

We can use tslib to reduce our compiled code size.

we don't have to upgrade major version v5 stable release if we merge this now before v5 stable release.

cons

This would introduce some breaking change for the future.

But we might cause some breaking change intentionally because we don't lock the range of our typescript version to patch version. This might causes to accept new features which uses the lang features introduced by a latest version of TypeScript

Relations links

TypeScript 2.1 RC: Better Inference, Async Functions, and More
Announcing TypeScript 2.1

Related issues

https://github.com/ReactiveX/rxjs/issues/2178

We should wait it if we merge this into master.

I'm closing this PR by https://github.com/ReactiveX/rxjs/pull/2181 as it's superset includes fixes for breaking changes.

@kwonoj ah, okay.


add loglevel to external dependencies

Fixes loglevel dependency error in preload.js.  Re-enables script injection.

@dndrsn hi. Thanks for the attempt, but unless I'm missing something, this doesn't solve #934 , it just causes an Uncaught Exception: Error: Cannot find module 'loglevel' at runtime. There's no reason adding loglevel as webpack external would help, webpack externals are meant to tell webpack "please don't pack <module_xyz>, it's going to be resolvable/importable at runtime". This is what we want for electron (as it's installed in the tree by electron-packager), but loglevel must be packaged by webpack.
Now, looking at this again, I don't get why we're using loglevel at all in the app, it makes no sense (apart from using the "same" logger in cli & app, I guess maybe?). Looking at switching to bare console.{log,info,warn} instead, there's no reason not to in the app.

# build a "prod" build and install it as such
> cd /opt/nativefier/ && npm run build && rm /opt/nativefier/nativefier-8.0.6.tgz && npm pack && npm uninstall -g nativefier && npm i -g /opt/nativefier/nativefier-8.0.6.tgz
# call it with injection on a test site
> rm -rf /tmp/ntest/ && nativefier --verbose 'https://google.com/' --inject ~/inject.css --inject ~/inject.js --name ntest /tmp/ && /tmp/ntest-linux-x64/ntest

results into:

@ronjouch makes complete sense.  My initial fix was to replace loglevel w/ console.log to make the issue go away, but then I assumed, wrongly, apparently, that loglevel was used for a reason.  I understand what using externals does.  I tried it on a whim assuming it was already provided/included elsewhere, and for me I resolved the issue completely, so I assumed that was the intention.  Probably not a good assumption in retrospect.  But, not only does the dependency error go away, but I can see that the injected code is now loading.  Probably because the code never actually tries to use loglevel in my usage and therefore it never gets to the point of failure.
Replacing loglevel with console.log solves the issue as well.  I agree that including loglevel in the app isn't something I would expect but I'm not familiar with the code so I assumed there was a reason.
Unrelated to this issue, builds made with my fork cannot access the camera -- macOS app signing? -- so I gave up on what I was trying to accomplish anyway.  Love the app in general.  Like others, I'm trying to use it for Google Meet, but the lack of screen recording permissions (https://github.com/jiahaog/nativefier/issues/927) is a blocker for me for that. Thanks.

@dndrsn no worry, and thanks again for trying, that's what forced me to look at it (now released in 8.0.7). This thing slipped through my tests, because it only happens in "prod" builds, so inject on my local dev setup worked fine.
Regarding your macOS trouble, I cannot comment much, I don't have a Mac, you're on your own along with the other users in the issue you linked to. But yeah I know we have trouble with both signing and camera, there are open issues for both. Keep bouncing pertinent notes & ideas in the issues, sometimes someone has an idea and one hour later a fix is here.
Cheers.


Build-Checkpoint file should not be deleted

Sometimes my build doesn't go as expected, but it appears to succeed and the checkpoint file is deleted.
The file format isn't friendly to recreate, maybe impossible for some builds.
It would be nice, maybe as an option, to not delete the file so I can at least manually edit the tasks and force a more minimal rebuild.

Let me think about this. Meantime, may Build-JustTask.ps1 help? It was created for solving similar issues after discussing https://github.com/nightroman/Invoke-Build/issues/138

I have added the switch Preserve, see the above branch if you want to try.
I'll release this change after some more testing.


Add docs on Dataset (AIP-48) support

User facing docs for using Datasets feature along with astro python SDK.

[ ] Add example_datasets.py in the documentation(Point it to Airflow docs)
[ ] Describe the URI's and add docs for each operator(inlets and outlets supported,  how to override the inlets and outlets)
[ ] Add a section in CONCEPTS.rst explaining the concept

I have started working on this and ETA for the PR is first half today.

Was a delay for creating the PR, took some time to understand the concepts. [PR](Add docs on Dataset (AIP-48) support #852) is made ready now today morning


First pass at supporting multiple modules

Just the initial start of implementing this feature. Need to add unit tests and complete full testing with a multi-module Maven project. You can view the fork of github-analytics that I've been using to test the multi-project Gradle build here.

Done! Mainly via https://github.com/spring-cloud/spring-cloud-pipelines/commit/e5539f45fbe5b9c85b2d634b5918c89b36214498


Frends.SFTP.DownloadFiles OperationTimeout and KeepAliveInterval attributes needs to be modified

Tasks attributes results that the timeout is not working correctly. Task's execution can't be terminated and the timeout will take 1000 minutes.

Fixed in PR #85


Add a TSL4531 driver and example

Hey I'm back again with another light sensor driver, this time the TSL4531.
TSL4531 Light Sensor
It uses the I2C module from the extras directory of this project.
This driver supports setting an integration time from the presets of (100ms, 200ms, and 400ms), as well as a "skip power save" mode which just comes straight from the data sheet. I played around with the "skip power save" mode a bit but didn't see any noticeable differences. Perhaps it draws less current but I'm not sure at the moment.
The driver uses vTaskDelay when the lux value is requested from the sensor so it has time to integrate the sensors and get a reading. The sensor remains in a "powered down" mode when not in use.
The cool thing about this sensor is it calculates the lux onboard so we can get it straight from the I2C bus. Very convenient, and takes up very little space.

Hi!
You need to refactor your code according to #321


Uncharted Golden Abyss booting and closing emulator fix

App summary

App name: Uncharted: Golden Abyss™
App serial: PCSF00001
App version: 1.03

Vita3K summary

Version: v0.1.6
Build number: 3028
Commit hash: https://github.com/vita3k/vita3k/commit/8744f03
CPU backend:  Dynarmic
GPU backend: Vulkan

Test environment summary

Tested by: Te New Game+ (Johnzx07)
OS: Windows 11 Pro
CPU: AMD Ryzen 95950X
GPU: NVIDIA RTX 3090 Ti
RAM: 32GB

Issues

I wasn't able to run the game properly. After trying many settings the game will launch and close the emulator.  The only workaround that fixed my issue was to launch Vita3k as an admin. After doing so the game opened properly.
Note: My current CPU is a 16-core 32 Threads, running vita3k as admin might be only applicable to a CPU with more than 8-10 cores.
Other settings to take into consideration for PC:
-Resolution 5X (This is a must or there will be many visual glitches)
-Render: Vulkan
-AF 16X
-CPU: Dynamic
Possible fixes: If the game is running with many missing graphics you will have to remove all shader cache and run the game with the settings above.
Screenshots

vita3k.log
Recommended labels

ingame+
Audio bug
Graphics bug

duplicate issue here
https://github.com/Vita3K/compatibility/issues/208


cinnaSparkle-UNAG15HR1MP

I wanted to create something I would love to print on a blot so decided to combine my love of Cinnamonroll, hearts and stars! I am new to coding and this was very hard to learn at the start. Drawing with math is fun once you get the hang of it! To make it more dynamic and generative I randomized the tilt of the head, stars, hearts and color. Yay! Looking forward to trying to print this in real life. =)

Super cool piece! Unfortunately this piece falls short of the requirements due to simplicity. Do you think you can up the wow factor on this? Create a more different background, etc. Also, blot pieces should be able to be drawn without colour, could you create a boolean to turn off the colour? I'd be happy to re-review after you've completed your changes!

Just an update, I will be closing this PR! Please create a new PR once you have updated your art! We are doing this due to new management of the PR system.


Question: is it possible to sort groups?

For example, I have notes grouped by year, sorted by date from newest to oldest.
The order is: 2016, 2017, 2018, [...]
But, I want to have the newest notes on top: 2024, 2023, 2022, [...]
Of course, within each group, the notes are sorted from newest to oldest. But the grouping itself is going from oldest to newest.
Is there a functionality to sort the groups? Or, more specifically, can I reverse grouping like I can reverse sorting? I have tried: groupBy: '-finishDate', for example.

Not currently, but I'll add this as a feature request.


feat: migrate to prisma

Checklist:

[X] I have read freeCodeCamp's contribution guidelines.
[X] My pull request has a descriptive title (not a vague title like Update index.md)

Closes #XXXXX

@SocketSecurity ignore-all


MongoDB CSFLE

We would like use Encryption on field for sensitive data ; it would required MongoDB Entreprise and to use the encryption client.

CSFLE has been implemented, tested and merged on the SK


chore: update index source

:tada: This PR is included in version 1.102.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Calling send() in loop with 11+ iterations causes memory leak warning

Getting the following when I fire off emails inside a loop with 11+ iterations (i.e., 10 or fewer iterations doesn't generate this warning):
c$ node mailer-test.js
(node) warning: possible EventEmitter memory leak detected. 11 listeners added. Use emitter.setMaxListeners() to increase limit.
Trace:
    at SMTPClient.<anonymous> (events.js:133:17)
    at SMTPClientPool.send (/Users/c/dev/mailer-test/node_modules/mailer/lib/node_mailer.js:72:10)
    at dispatchMail (/Users/c/dev/mailer-test/node_modules/mailer/lib/node_mailer.js:112:12)
    at Object.node_mail [as send] (/Users/c/dev/mailer-test/node_modules/mailer/lib/node_mailer.js:159:5)
    at Object.<anonymous> (/Users/c/dev/mailer-test/mailer-test.js:5:10)
    at Module._compile (module.js:425:26)
    at Object..js (module.js:443:10)
    at Module.load (module.js:344:31)
    at Function._load (module.js:303:12)
    at Array.0 (module.js:463:10)

To be clear, everything works (emails are sent)--just reporting the memory leak warning. Maybe a false positive?
Tested with mailer 0.6.7 and node 0.5.7 (darwin) / 0.6.3 (win32) using the following:
var mailer = require('mailer');

for(var i = 0; i < 11; i++) { // Change 11 to 10 and warnings no longer appear
  mailer.send({
      to: 'Some Body<EMAIL_ADDRESS>      from : 'Me<EMAIL_ADDRESS>      subject: 'Test '+i,
      body: 'Blah',
      host : "xxx",
      port : "465",
      ssl: true,
      authentication : "login",
      username : "xxx",
      password : "yyy"
    },
    function(err, result){
      if(err){ console.log(err); }
    }
  );
}

This: http://stackoverflow.com/questions/9768444/possible-eventemitter-memory-leak-detected
gave me a hint as to what was going on, but not sure how to solve this.

+1

I got the problem in my unit tests. The warning s fired only for more than 10 new instance of the "transporter" but there is no warning to send more than 10 email with the same transporter. You just need to make sure nodemailer.createTransport() is called once.
The problem is real if you need to send mails with 11 different configurations


Get new population data

The age-resolved population data, we currently use results in age group sizes
5-11: 5400190
12-17: 4763927
18-59: 46836822
60+: 22697007
Since destatis data used by RKI results in
5267742
4507064
45321314
24089773
we will use a more recent estimation of the population numbers based on https://www.regionalstatistik.de/genesis//online?operation=table&code=12411-04-02-4&bypass=true&levelindex=0&levelid=1642754011748#abreadcrumb.

Unfortunately, https://www.regionalstatistik.de/genesis//online?operation=table&code=12411-04-02-4&bypass=true&levelindex=0&levelid=1642754011748#abreadcrumb is only accessible with an account.
Using the slightly coarser https://www.regionalstatistik.de/genesis//online?operation=table&code=12411-09-01-4&bypass=true&levelindex=1&levelid=1644334930869#abreadcrumb we get approximations:
5-11: 5273605.6 (diff to above: 126584.400)
12-17: 4549120.79 (diff to above: 42056.799)
18-59: 45273393.6 (diff to above: 47920.399)
60+: 24089773


Move Kit selection logic to an application wide menu

Following discussions we had in the past, (I think) it was agreed to move the kit selection to an application wide menu so the end users could select a default kit for Gh in general and not on a node basis.
We could even consider a systems-wide implementation and have the default kit selection be in Manager & Core.
Copied over from specklesystems/ConnectorGrasshopper#36

Ok so we have a basic approach on this. How it currently works:

There is now a hidden Grasshopper setting that is set as soon as the menu gets loaded. This setting holds the name of the default converter set by the user.
This setting is then checked when creating a new node that derives from SelectKitComponentBase.

Ideally, the KitManager should be able to set the current default kit for that machine or user. This would allow me to remove the hidden setting, and keep everything under the manager's roof.


Yatin: Watch (?-i:(z65ZY47ug0w|DfK7OxEDhc0))(?# 2 youtube videos from the same channel, spammed 6 times total)

Yatin requests the watch of the watch_keyword (?-i:(z65ZY47ug0w|DfK7OxEDhc0))(?# 2 youtube videos from the same channel, spammed 6 times total). See the MS search here and the Stack Exchange search in text, in URLs, and in code.

(?-i:(z65ZY47ug0w|DfK7OxEDhc0))(?# 2 youtube videos from the same channel, spammed 6 times total) has been seen in 6 true positives, 0 false positives, and 0 NAAs.

Rejected by cigien in Charcoal HQ. Reason: 'redundant due to PR#6013'


Error after set null. A text for parsing must be a string

Hi! I found an error in my project. If you set the variable to null after loading your component, you get the error "A text for parsing must be a string". Is this behavior only in my project or is it really a component error?
After this error, the component does not work
<template>
  <vue-tel-input v-model="obj.phone"></vue-tel-input>
  <button @click="clickBtn()">Set null</button>
</template>

<script>
import { VueTelInput } from 'vue-tel-input'

export default {
  components: {
    VueTelInput,
  },
  data() {
    return {
      obj : {
        phone : null
      }
    };
  },
  methods : {
    clickBtn() {
      this.obj.phone = null;
      // or this.$set(this.obj, 'phone', null);
    }
  }
};
</script>

how did you cope with it?

any solution?

This is still a problem as far as I can tell. I don't see a good reason why null couldn't be used to express an empty value.

Still broken, this should really be fixed, we're using version 6.0.0-beta.6 which still works.

Hi! I found an error in my project. If you set the variable to null after loading your component, you get the error "A text for parsing must be a string". Is this behavior only in my project or is it really a component error? After this error, the component does not work
<template>
  <vue-tel-input v-model="obj.phone"></vue-tel-input>
  <button @click="clickBtn()">Set null</button>
</template>

<script>
import { VueTelInput } from 'vue-tel-input'

export default {
  components: {
    VueTelInput,
  },
  data() {
    return {
      obj : {
        phone : null
      }
    };
  },
  methods : {
    clickBtn() {
      this.obj.phone = null;
      // or this.$set(this.obj, 'phone', null);
    }
  }
};
</script>

Try with:
//...
data() {
  return {
    obj : {
      phone : ''
    }
  };
},
  //...

This error is caused by libphonenumber-js


Configuration provider for Dapr

Applications needs configuration and with services like Azure App Configuration, it is centralized across apps and environments. It might be beneficial to have a configuration provider abstracting the specifics products.

Now we are discussing configuration API in https://discord.gg/6ScKGxYG.

Duplicate of #2941


fortune formulae violates Homebrew code of conduct

The version of fortune installed by Homebrew is based on a distribution of the tool 'fortune-mod' which includes explicitly racist, homophobic, ethnically insensitive and other offensive content that directly conflicts with the Homebrew's code of conduct.  Please adjust this formulae so that content which violates the code of conduct is not installed by default on a user's machine.
repro steps
(content warning, running these commands will potentially output offensive content)
> brew install fortune
> fortune -o racism
<... racist quote omitted from bug report ...>
> fortune -o hphobia
<... homophobic quote omitted from bug report ...>
> fortune -o ethnic
<... ethnically insensitive quote omitted from bug report ...>

You can investigate all of the offensive databases installed by Homebrew's fortune formulae in its /share/games/fortunes/off directory:
> ls /usr/local/Cellar/fortune/9708/share/games/fortunes/off
astrology          drugs              limerick           misogyny           racism             sex
astrology.dat      drugs.dat          limerick.dat       misogyny.dat       racism.dat         sex.dat
black-humor        ethnic             misandry           politics           religion           songs-poems
black-humor.dat    ethnic.dat         misandry.dat       politics.dat       religion.dat       songs-poems.dat
definitions        hphobia            miscellaneous      privates           riddles            vulgarity
definitions.dat    hphobia.dat        miscellaneous.dat  privates.dat       riddles.dat        vulgarity.dat

Quotes from these databases are sourced randomly when the '-o' (offensive) option is passed to the tool, and/or the database is specified by name as an argument to the tool.
expected behavior
Installing Homebrew's fortune formulae should not add to a user's machine databases of content which violate the Homebrew project's code of conduct.
The fortune tool has a long history and discussion of handling offensive content chronicled in its readme file. It appears the past maintainers attempted to isolate offensive content into explicit databases hidden behind opt in command line parameters, however this content is still distributed and loaded on Homebrew user's machines likely without their knowledge or consent. I would recommend that Homebrew patch the formulae to move these offensive databases outside of the officially distributed package entirely. If users would like to use fortune with content that violates this project's code of conduct they can publish and maintain a tap on their own servers, under their own code of conduct.

Thanks for bringing this to our attention, @tdicola. The latest fortune package as distributed by Homebrew (merged just now, 3fb3c4c) does not contain these offensive quotes.


openllama support

Hi, really nice work here! I really appreciate it that you bring llama inference to consumer grade GPUs!!
There is an ongoing project https://github.com/openlm-research/open_llama which seems to have a lot potentials. Do you think this will be supported in the future?
Thanks!

Afaik should be supported natively, have you tried? the underlying architecture is the same as llama models

Okey good to know @nikshepsvn , I will try that tmrw. Will update here!

I've always assumed as much but just decided I'd look into it when they release a 33B model. I'm an elitist.

Confirming that open_llama_13b, quantized with GPTQ for Llama to 4 bits/32g, works well .


⚠ Avatar API Endpoint has degraded performance

In d2a4189, Avatar API Endpoint (https://avatar.roblox.com/v1/avatar-rules) experienced degraded performance:

HTTP code: 200
Response time: 5110 ms

Resolved: Avatar API Endpoint performance has improved in 5ac3086 after 11 minutes.


Standup endpoint

It would be great to encourage more daily standup information.

Save (from bot or UI) daily standup information
Read daily standup information in daily order desc

Update after discussion with @mstanciu552 below

send the information from EddieBot to the API using axios or fetch and then save them in a users collection in our db

I have a question that would help with this. Specifically with the information from the discord bot.
How would we get the standup from it? Is it something from discord.js or do we need to use the Discord API?

I have a question that would help with this. Specifically with the information from the discord bot.
How would we get the standup from it? Is it something from discord.js or do we need to use the Discord API?

We have a command ^standup <yesterday> || <today> it is nothing technically special, it just rewrites the message as a notifications

We have a command ^standup <yesterday> || <today> it is nothing technically special, it just rewrites the message as a notifications

Oh I see so we could just send the information from EddieBot to the API using axios or fetch and then save them in a users collection in our db.
Is thus the kind of system you are talking about?

Oh I see so we could just send the information from EddieBot to the API using axios or fetch and then save them in a users collection in our db.
Is thus the kind of system you are talking about?

yes that is correct - sorry if I explained it badly, thank you for challenging 👍 - I will update the description

yes that is correct - sorry if I explained it badly, thank you for challenging 👍 - I will update the description

Thanks for helping me to understand. :smile:

Thanks for helping me to understand. :smile:

I think, perhaps we could simplify this and avoid using discord API?
We could have the bot store this on Mongo and then the site could render the content from there?

I think, perhaps we could simplify this and avoid using discord API?
We could have the bot store this on Mongo and then the site could render the content from there?

Yep 👍 the bot will send the data to our API which will store the data in the db

Yep 👍 the bot will send the data to our API which will store the data in the db

This is a suggestion. If you think of anything better please let us know.
We could have a variable in the .env file that points to the URL of the API. Then using axios(or fetch) we make a request.
Then in the API we modify the User model to also have a standup array.
Please share your suggestions.  😄 👍

This is a suggestion. If you think of anything better please let us know.
We could have a variable in the .env file that points to the URL of the API. Then using axios(or fetch) we make a request.
Then in the API we modify the User model to also have a standup array.
Please share your suggestions.  😄 👍

Yep the API url in the Bot and UI will be part of the config, as this will change depending if we are developing locally or in production etc.
Yep, the User model will have a standup array 👍

This question might be a bit redundand.
Does the ^standup command also send the user that called it?

This question might be a bit redundand.
Does the ^standup command also send the user that called it?

It only sends the message in the channel it is called in

It only sends the message in the channel it is called in

Oh .... Do you also know if there is any way to get the sender through discord.js?
Something like message.from?

Oh .... Do you also know if there is any way to get the sender through discord.js?
Something like message.from?

message.author should return the member object for the sender of the message

message.author should return the member object for the sender of the message

Alright so I tested how to get the user.

This will make an object with the id, username and discriminator(the # followed by 4 digits near the username).
We could create Users in the db based on this information, to which we add their standup array.(this could also have a date attached to it)
Share you opinions. It really help. Thank you. 👍 😄

Alright so I tested how to get the user.

This will make an object with the id, username and discriminator(the # followed by 4 digits near the username).
We could create Users in the db based on this information, to which we add their standup array.(this could also have a date attached to it)
Share you opinions. It really help. Thank you. 👍 😄

Nice 👍 , yes we will need to send the user with the standup message - so we can save the standup message against the user
Currently the Discord user API is being created, so we can move things to the API

Nice 👍 , yes we will need to send the user with the standup message - so we can save the standup message against the user
Currently the Discord user API is being created, so we can move things to the API

I could potentially do this.

I think we handle this like the discord-Service where data is stored in an Array until we have a database I'd suggest.
Do we need a Put-Endpoint for Editing Standups?

Thanks @Cahllagerfeld 👍 . Good question, I do not think we need a PUT endpoint

PR merged


Update folly/gen/GroupVarintTables.cpp according to new code generator

From folly/gen subfolder, run:
python ../src/folly/build/generate_varint_tables.py

Reason: PPC64 platform needs it in order to compile hhvm. db3d4d356e0fdabb2f80046bd77f05207d530bba missed it.

@sgolemon : please review.
@mxw : this was needed for PPC64. Now we'll not need to fork the hhvm-third-party anymore.

The second commit shouldn't be needed, as that fix is already in the repo.

ok, I'll remove it from this PR.

strange... I ran git reset --hard 94ea49d77981c1fdf0bbdbff8abd101e9a186821 on this PR branch and, after pushing, I see that your comments look awkward...
Yeah, it removed the second commit, but the user interface on Github is bad. It doesn't point out that there was a commit and now it was removed.
A bit confusing, I'd say... Anyway...


Next signing event

Collecting things to do in next signing event:

add a few more signers
possibly tweak online signing period:

production actually has a 7 day expiry and 3-4 day signing period for timestamp
staging currently has 14 day expiry and 7 day signing period: should make it similar to prod

discuss snapshot periods:

prod snapshot expiry is 24 days. Staging snapshot expiry is as long as targets expiry
I think staging is correct: timestamp enforces timeliness, no reason for snapshot to do it too

thresholds for root & targets?

Signers
From meeting yesterday, volunteer signer list is: @jku, @kommendorkapten, @joshuagl, @mnm678, @dlorenc
If you think you won't have time to do the setup and signing event during next week, leave a comment. Also comment if I left anyone out.
Please do the setup from this manual: https://github.com/sigstore/root-signing-staging/blob/main/docs/signer-manual.md

The manual is minimal: contributions to improve are appreciated
After setup you should be able to confirm some level of functionality:(tuf-on-ci-sign) $ tuf-on-ci-sign sign/nonexistingbranch
Remote branch not found: branching off from main
Signing event sign/nonexistingbranch (commit 888899c)
Nothing to do.

Please ping me/fredrik here or slack if you have issues or would like moral support with e.g. Yubikey PIV setup

Open operational details
My suggestions:

snapshot expiry: leave very long (currently it's at 10 years like root and targets): I don't see much advantage to short snapshot expiry and I will suggest making it longer in prod as well
timestamp expiry: set close to what production does (so 7 day expiry, 4 day signing period)

this means timestamp gets signed every three days if all goes well

thresholds: 1 for targets and 2 for root

intention is to make changes very easy to make
root threshold is not trying to be a security decision, just a way to make sure the software works when more than 1 signature is required

targets expiry: let's set this short so we see how the signing event automation works in that case. Maybe expiry in 6 weeks with a 4 week signing period? We can extend the expiry once we've seen it works.

Known issues

tuf-on-ci uses a single hash algorithm so on first signing event I expect the target files to be listed as "changed":  the only change should be that one hash has been removed

Signing event
If everything seems ready, we'll prepare the signing event early next week (with proposed signer invitations, threshold changes and expiry changes).
Note that there is no particular need for the signing event to be synchronous or to happen within a specific timestamp window: I suggest we try to do it async and leave comments on the PR when we do something.
Once the signing event is successful (hopefully without too much bug fixing) and smoke tests are good, we can enable GCS upload in #45.

Looks good: https://github.com/sigstore/root-signing-staging/actions/runs/8094319619
Thanks everyone!