Rework test-words into "test" namespace

Following http://forum.exercism.org/t/pr-for-sieve-exercise/7500/7
This is a mostly-rewritten test-words file (for the sieve exercise).
It's got:

a namespace
renamed test words
more comments
"SED:" directive
re-organized.

As I mentioned in the forum, the new word names may be too short for newbies.

Putting it all in a namespace is a GREAT idea. Ron might even add it to the libs such that we could do needs test or similar.
I do like your naming ... until you get the the names of the actual tests themselves and then it gets all arcane and Perl-ish: m<n>=. The documentation blurb says that it compares maps. So why not test-maps-equal or two-maps-test-equal? ?

all arcane and Perl-ish: m<n>=

I am of two minds about this. More verbose names are easier to grok. On the other hand, students are expected to quickly learn words like n:+, nip, etc and the 3rd exercise is something like
: +gigasecond \ d -- d
  1t d:+msec ;

Terseness is built into the language.
All that to say, I could go either way.

@softmoth, care to jump in?

I think I prefer the brief names. I feel a bit guilty about it, but not too much.
The "test:maps-equal" name isn't sufficiently specific, as it doesn't mention the type of values being compared. Terse names make it less painful to spell out the specific types.
But I like Perl, so my preferences may be biased. 😁
Tim

I also like Perl. And others like SNOBOL4 and klong (the latter another hyper-terse language).
For argument sake let's see if i can pull @ronaaron and @caraciola into the discussion, otherwise we'll have to go to the other forum.

Maybe explain to me what the notation means and I'll be more sympathetic. The < and > aren't saying less than and more than are they?

Why not variations on map==map??

Hello there; I much prefer the discussion be moved to the 8th forum, where a wider audience can give valuable input.

Regarding a 'test' namespace, that's probably a good idea to add to 8th. Please open a discussion on the forum around that. Note: words like "test_start" or whatever would then be more properly "test:start" or, with "with: test" just "start".
It is valuable to do "words/ m:" (etc) to see what words are already available in a namespace. There's a "m:=" already. If you want a comparator word, why not create "m:cmp" similarly to other 'cmp' words?

Best regards,
Ron

Conversation may continue at https://8th-dev.com/forum/index.php/topic,2745.0.html

I feel that we're getting close

Looking good. I'm still not convinced that a<n>= obviously means anything. That is, that what it means is obvious. By comparison, a:cmp is considerably more obvious once you learn about n:cmp and s:cmp. Perhaps a:cmp! could be used to where the ordering does matter. Then again, I'm doing my own not obvious there. And therein lies my own frustrations with terse programming languages: why can't it say what it means? Maybe COBOL's as bad for the programmer brain as BASIC is supposed to be.

I intend to use Ron's utils/test and harness, and the type-agnostic equal? predicate.

This latest commit will fail, this change to use the utils/test lib and harness.8th (as demonstrted on the forum) requires changes to the testing instructions
EIGHTLIB=./libs 8th -f harness.8th

or instructions to the student to copy the ./libs/utils/test file to their 8th installation (or provide the test lib to them in the installation instructions).
This will be a large change to the track. I'd appreciate comments.
The equals? word is particularly cool, IMO.

Yes I like the equals? as well.
It is a large change but it brings us into line with what the vendor uses. And we're wanting people to take the skills they learn on Exercism into the outside world, so using vendor tools makes for a better outcome long-term.

I am having second thoughts about it though. How long will it take for utils/test to be added into the 8th release zipfile? What to do for users who already have 8th installed, do we tell them "add this file to your 8th distribution"
Also, if we distribute "utils/test" with the exercise, we have to tell people to set the EIGHTLIB environment variable for Windows and Mac and Linux.
I'm circling back to our test_words.8th file, but with simplified testing words:

test:true?
test:false?
test:null?
test:equal?

The simplified test words look good. Given the present unknowns, and the time-cost of the changes, I'm happy for you to go ahead on the course you've just outlined.

Looking back at your other questions:

Ron's churning out updates to the distributed code and libs approximately monthly. Current events in Israel may impact that.
I download the zipfile not quite as regularly, zipcloak it, and then send it on to @ErikSchierboom with the password.
Once the zipfile is in place the UX users have the most recent
For CLI users, they should be requesting the update when it drops and installing it
If a library file is in libs then it should be found by the interpreter without recourse to environment variables

For CLI users, they should be requesting the update when it drops and installing it

Hmm, you have a high opinion of CLI users. I'm generally more of a "get it and forget it" guy, unless a package manager util tells me there's a new version available.

If a library file is in libs then it should be found by the interpreter without recourse to environment variables

That's not my experience: 25.1 8th libraries, include files, and your code

needs uses the 8th installation libs dir, else the EIGHTHLIB env var
f:include looks in the incs dir if it's not in the current dir.

@axtens @softmoth I think I've pounded it into a shape I'm content with. Let me know if I've chiseled away too much.
Main takeaways

test.8th now includes the actual tests, removing one file
test-words.8th is moved to libs/exercism/test
the test words are namespaced, and brought into the work lookup with with: test
equal? should work with numbers, strings, arrays and maps
true? false? null? are also available.
Thus far, I've only tested with the sieve exercise, comparing arrays of numbers.

Regarding needs, don't forget what https://8th-dev.com/words.html says about it

I swear, that wasn't working earlier...

I think I've pounded it into a shape I'm content with. Let me know if I've chiseled away too much.

It looks great. That test:eq? resolves the explosion of names we were trying to manage with a cryptic meta-syntax, without having to resort to, say, converting everything to JSON and doing string comparisons or some other nasty kludge. It can be expanded if needed to handle more kinds of values. And the end result is very clean. I like it!


Rework the converter system

Fixes #505
The goals are twofold: to simplify the registration of new converters and
to add some consistency to the conversion process, and align them with the
way converters are used in generic Spring Messaging listeners, by describing
two possible transformations: inbound, message containing a serialized format (including contentType)->targetClass,
and outbound payload+headers -> message. The idea is for the two
transformations to match the input and output directions of the bound channels.
List of changes:

Create and configure input/output channels distinctly - reflected
in the definitions of BindableChannelFactory and MessageChannelConfigurer;
Replace AbstractFromMessageConverter with bidirectional converters;
Use the channel direction (input/output) to determine whether
toMessage or fromMessage will be invoked;
Use contentType support from AbstractMessageConverter to map
converters to mime types instead;

squashed and merged as https://github.com/spring-cloud/spring-cloud-stream/commit/55b9aa75ddc3cea073855eb4cb9096ba81da8cc5


Add support for additional tags

Adds support for additional tags to be specified as a part of the image spec. This would allow users to manually patch and specify additional tags to be pushed out.
Example use cases -
kp image save --additional-tag myimage:v1.2 --additional-tag myimage:$(git rev-parse HEAD)
where the above would override the additionalTags array entirely with the newly supplied values
to patch and tag images with commit shas or version numbers.
Fixes #802 and possibly #755

Codecov Report

Merging #802 (7174624) into main (00ea813) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main     #802      +/-   ##
==========================================
+ Coverage   71.35%   71.38%   +0.02%
==========================================
  Files         117      117
  Lines        5412     5417       +5
==========================================
+ Hits         3862     3867       +5
  Misses       1183     1183
  Partials      367      367

Impacted Files
Coverage Δ

pkg/apis/build/v1alpha2/image_types.go
50.00% <ø> (ø)

pkg/apis/build/v1alpha1/build_validation.go
88.70% <100.00%> (ø)

pkg/apis/build/v1alpha2/build_validation.go
88.70% <100.00%> (ø)

pkg/apis/build/v1alpha2/image_builds.go
59.66% <100.00%> (+0.68%)
:arrow_up:

pkg/apis/build/v1alpha2/image_validation.go
97.82% <100.00%> (+0.07%)
:arrow_up:

Continue to review full report at Codecov.

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

@matthewmcnew this is ready for a review

@matthewmcnew can we merge this?

@samj1912 We plan on merging today.
Thank you for your patience :)


Create automation to deploy the question ML to SageMaker

Work together with #82

User Story
Integrate the code that creates the Lambda Function into the script that deploys the change through GitHub Actions.
Estimated time to complete
15 hours
Acceptance Criteria

[ ]  Creates Lambda Function
[ ] New code is deployed to the same created Lambda Function in one push.

Activities Documentation

Date
Activity
Time Spent

02/07/2022
Researching integration of Lambda function to script, reviewing code creating function
1 Hour


:tada: First draft

Not sure to understand the goal of this HOC, Could you explain ?

It loads a library only on browserside. In isomorphic apps when the app is rendered on serverside browser's globals like document aren't present it leads to errors like "document is not defined". So it's a secure way to use libraries that use globals 😄

Is this better @fabienjuif ?


Added SerializableComponent to ensure runtime entities don't get serialized.

Use case is questionable but just looking for the worst case scenario where run time entities get serialized for no reason.

LGTM


[IMPROVE] You can use androidx.fragment.app.Fragment constructor and pass R.layout there instead of overriding onCreateView like we used to

https://github.com/JeroenMols/ModularizationExample/blob/77477c62538ed6f562796adf44dca8051e93b766/features/dashboard/src/main/java/modularization/features/dashboard/AlbumsFragment.kt#L10

I do, It was added in 1.1.0 (as seen here: https://developer.android.com/jetpack/androidx/releases/fragment#version_110_3):

FragmentActivity LayoutId constructor: Subclasses of FragmentActivity can now optionally call into a constructor on FragmentActivity that takes an R.layout ID, indicating the layout that should be set as the content view as an alternative to calling setContentView() in onCreate(). This does not change the requirement that your subclass have a no-argument constructor.

Fragment LayoutId constructor: Subclasses of Fragment can now optionally call into a constructor on Fragment that takes an R.layout ID, indicating the layout that should be used for this fragment as an alternative to overriding onCreateView(). The inflated layout can be configured in onViewCreated().


Question: v2.1-beta4 How can I restrict what HTTP requests App Insights tracks?

I have an app that sends all logs to a remote log collector using HTTP. When I upgraded to v2.1-beta4 I noticed these requests are being tracked by application insights. Is there a way to restrict these http requests from being tracked to reduce bandwidth while not affecting the metrics I care about?

See if this solve your problem
https://github.com/Microsoft/ApplicationInsights-aspnetcore/issues/416

Reposting @DamianEdwards answer from #416:
Put this in your Startup.Configure method:
var modules = app.ApplicationServices.GetServices<ITelemetryModule>();
var dependencyModule = modules.OfType<DependencyTrackingTelemetryModule>().FirstOrDefault();

if (dependencyModule != null)
{
    var domains = dependencyModule.ExcludeComponentCorrelationHttpHeadersOnDomains;
    domains.Add("core.windows.net");
    domains.Add("core.chinacloudapi.cn");
    domains.Add("core.cloudapi.de");
    domains.Add("core.usgovcloudapi.net");
}

@dnduffy I cannot get that to work. I have tried adding the suggested into my application with no luck. I then created a new web project and added a simple HTTP GET to www.google.com. I see the dependency in Visual Studio's Application Insights logs both when I exclude www.google.com and include it.
Startup.cs
namespace WebApplication24
{
    public class Startup
    {
        public Startup(IHostingEnvironment env)
        {
            var builder = new ConfigurationBuilder()
                .SetBasePath(env.ContentRootPath)
                .AddJsonFile("appsettings.json", optional: false, reloadOnChange: true)
                .AddJsonFile($"appsettings.{env.EnvironmentName}.json", optional: true)
                .AddEnvironmentVariables();
            Configuration = builder.Build();
        }

        public IConfigurationRoot Configuration { get; }

        // This method gets called by the runtime. Use this method to add services to the container.
        public void ConfigureServices(IServiceCollection services)
        {
            services.AddApplicationInsightsTelemetry(Configuration);

            // Add framework services.
            services.AddMvc();
        }

        // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
        public void Configure(IApplicationBuilder app, IHostingEnvironment env, ILoggerFactory loggerFactory)
        {
            loggerFactory.AddConsole(Configuration.GetSection("Logging"));
            loggerFactory.AddDebug();

            var modules = app.ApplicationServices.GetServices<ITelemetryModule>();
            var dependencyModule = modules.OfType<DependencyTrackingTelemetryModule>().FirstOrDefault();

            if (dependencyModule != null)
            {
                var domains = dependencyModule.ExcludeComponentCorrelationHttpHeadersOnDomains;
                domains.Add("www.google.com");
            }

            app.UseMvc();
        }
    }
}

ValuesController.cs
namespace WebApplication24.Controllers
{
    [Route("api/[controller]")]
    public class ValuesController : Controller
    {
        // GET api/values
        [HttpGet]
        public async Task<IEnumerable<string>> Get()
        {
            using (var client = new HttpClient())
            {
                await client.GetAsync(new Uri("http://www.google.com"));
            }

            return new string[] { "value1", "value2" };
        }
    }
}

Application Insights Logs

@billpratt : AFAIK this disables only the attaching of correlation id headers. If you want to disable DependecyTracking completely you have to use the following code in your ConfiureService Method
var module = services.FirstOrDefault(t => t.ImplementationFactory?.GetType() == typeof(Func<IServiceProvider, DependencyTrackingTelemetryModule>));
if (module != null)
{
    services.Remove(module);
}

This disables DependecyTracking completly.

I dont want to disable dependency tracking completely. I would like to restrict what dependencies Application Insights tracks.

This is afaik currently not possible?!

@dnduffy @yantang-msft Any ideas?

@billpratt Sorry for the confusion. Yes, ExcludeComponentCorrelationHttpHeadersOnDomains only disable injecting CorrelationId in http headers.
For your question, we hard coded to not track AI requests as dependency, but don't have an option for custom exclusion list yet.
@dnduffy @SergeyKanzhelev is this something we can think about in the next release?

Use telemetry processors to filter out unwanted data.


How to change Highcharts object configuration locally?

I am wondering if there is a way to set options and stuff localy, not only globally.
I use following plugin instalation:
Highcharts.Pointer.prototype.reset = function () {
    return undefined;
};

Vue.use(VueHighcharts, { Highcharts });

Unfortunately, this means that the reset function is not working in all charts in all pages. Is there a way, how to set some config options only for certain chart?

What specific stuff do you want to implement? Modifying methods of library itself is never a good practice.

I want to implement chart synchronisation, as it is in following snippet:
https://www.highcharts.com/blog/snippets/synchronisation-of-multiple-charts/
But not globally, only for three certain charts.
Is it possible with VueHighcharts somehow?

The official demo will also affect the global Highcharts. It's wrong.
I rewrite it. See https://codepen.io/weizhenye/pen/NYPZMK

Perfect! Thanks a lot, it works!


Crash 1.12 (game won't start)

crash-2017-06-15_14.27.15-client.txt
used forge 2327

Yeah, known issue.  Will push a build shortly, has to be recompiled on latest forge.

hey ah, it crashes with forge 2333
crash-2017-06-17_21.55.50-client.txt

bleh


In Visual Studio 2017, TS2304 errors occur when viewing a JavaScript file

TypeScript Version:  2.1
Code
https://github.com/jimbarrett33/VS2017_Typescript_Test
Although not a full Angular project, it uses the core Angular packages to demonstrate the problem.
tsconfig.json
{
   "compilerOptions": {
      "target": "es5",
      "module": "commonjs",
      "moduleResolution": "node",
      "lib": [ "es2015", "dom" ],
      "emitDecoratorMetadata": true,
      "experimentalDecorators": true,
      "noImplicitAny": true,
      "suppressImplicitAnyIndexErrors": true,
      "sourceMap": true
   },
   "include": [
      "src/**/*"
   ]
}

Summary
In Visual Studio 2017, TS2304 errors occur when viewing a JavaScript file that is not in the "include" path and with "new JavaScript language service" enabled. Generally I'm trying to get a handle on Visual Studio TS2304 errors appearing and disappearing (which occur frequently for me) and this is the first consistently reproducible project I have been able to create.
Details:

tsconfig.json uses  "include": [ "src/**/*" ]
someConfigFile.js is in the VS project but not in the TS project – it is not under src
when I open someConfigFile.js, the errors appear after about 30 seconds (sometimes longer), and the TypeScript/JavaScript Virtual Project displays as in the below pic
although not in the test project code, I did try it with "allowJs": true in tsconfig.json and still got errors
when I disable "new JavaScript language service", the errors go away after closing and re-opening the someConfigFile.js. (but what if I wanted both TS and JS language service?)

Questions
Does the JavaScript language service does use tsconfig.json?  If not how do I tell it what files to exclude? In my case I want to exclude them all since all my real source is in TypeScript.
Depending on above answer, why do I have to disable "new JavaScript language service" when the JS file is not in my tsconfig.json include section?
Why do the errors only start happening when I open the JS and after about a 30 second delay?
Why do the errors clear when I close the JS file?
Is there a way to invoke the TS/JS language services on demand instead of whatever time period Visual Studio is using?
Shouldn't "enable the new JavaScript language service" be a project-level option and not a VS-level option?
Expected behavior:
No TS2304 errors and/or TS2304 errors to be removed even if file is still open
Actual behavior:
TS2304 errors when file is opened and remain until file is closed

I apologize for the slow response @jimbarrett33. I believe that this issue has been fixed. Can you try downloading the latest VS 2017 Preview build? I can't reproduce this in 15.2 26421.1-Preview.

@bowdenk7  Thanks that is great news!  And it's OK regarding response time, I'm just glad the TS2304 errors are getting attention from the team. Quick questions before I try since I haven't used preview builds before.
Will the preview work side-by-side with an existing VS 2017 installation or will it overwrite what I have?  If so, is it stable enough to keep using on my dev machine(s)?
Thanks.

@bowdenk7 this problem does seem to be fixed. I verified it in version 15.2 26419.1-Preview which was the latest available version on the VS 2017 Preview site.  Thanks for that.
I do however still have problems with TypeScript files that are "Miscellaneous" files according to the TypeScript Virtual Project. I think you should be able to have TypeScript files in the solution/project that are not included in the build (or that might be later) and be able to edit them. Currently these lead to hundreds of TS2304 errors when they are opened, making it hard do determine real errors. As with the JavaScript files in this issue, the errors all go away when the TS file is closed. If I have time I may create repo to reproduce this but this and open a new issue.

I assume those loose files are referencing types that they aren't able to resolve though (as they are in Miscellaneous and not part of any project)? What behavior do you suggest - that we don't show type errors in TypeScript files that aren't part of a project? The issue is we always create some type of project content for them, as they may well just /// reference the files they need, and be compiled directly on the command-line (e.g. tsc file1.ts).

@billti thanks for getting back. I understand your point. In my case I'm using modules in an Angular 2 app and the app entry point is just a couple files and then the rest gets resolved via node module resolution.
   "files": [       "src/app/app.module.ts",       "src/main.ts"
Also important is that I have disabled Visual Studio TypeScript build and instead using npm externally so I guess that means I'm only talking about the Language Service here. I imagine this will be a popular configuration given the move to JS modules and bundlers like Webpack. (I have talked to other Angular 2 devs and they left Visual Studio to use VS Code because of the errors. I very much do not want to do that).
A common thing in Angular 2 app is to have a few separate files for an AoT build (main-aot.ts, lib-aot.ts, etc.) and a separate tsconfig-aot.json for them. When I open the AoT files in the project they are Miscallenous and most of the errors have to do with not being able to resolve modules in node_modules @angular/<...>. In addition, this also happens when starting starting a new TS file or including an existing TS file in the project (I'm converting an AngularJS project to Angular) and it hasn't been imported into app.module.ts.
So to answer your question, maybe there could be a tsconfig.misc.json (or similar) that the TypeScript Language service uses for  Miscellaneous files. This could be configured by the developer to either include and/or exclude files in order to avoid the errors. For example, "include": ["src/**/*"] and "moduleResolution": "node" so it could resolve all the types in the project and under node_modules.
I'm not sure about this but it would seem that the language service must use some default (in-memory) tsconfig.json for Miscellaneus files or else how would it know that these are errors in the first place? If that's the case then I'm just asking that this file (optionally) comes from disk instead of memory. I may be way off on this.
Thanks.

Thanks for the additional details. Part of the problem here I believe is that we don't default to a moduleResolution: node settings for miscellaneous files. If we did, it would still resolve the Angular files correctly.
@mhegazy , we still default to classic for legacy reasons I believe. Is that really still useful? Is it too big a breaking change to default to node?

Problly not. But it is stilll a breaking change. We can lump that with es5 default target in TS 2.4.

@billti, @mhegazy thanks for the responses.  Yes, moduleResolution: node will help but there are other things that cause the errors such as not having "experimentalDecorators": true for Angular components, pipes etc. and not finding types under node_modules\@types, unless moduleResolution: node does that. And if the Miscellaneous files reference other files in the solution, for instance model classes, it finds errors in those files also, most of the "cannot find name/module" variety.
I see at least two use cases in addition to the use case in my previous comment regarding AoT files. A developer working on an existing project adds a new (or existing) TS file and just wants to start coding, importing modules as necessary from other project files and using types under node_modules@types, and without getting errors in VS. Later they add it to the app, however it is bootstrapped, say in app.module.ts for Angular. A workaround to the errors here is to always add new files to the app immediately which may not be too much to ask.
Second use case is a common library (coded by the developer) that has a various services, components, pipes, utilities, etc. and are part of the project. However, only a subset of these are added to the app and module resolution / build will automatically exclude the modules not added to the app from the output. In VS however the modules not added to the app currently result in errors. A workaround for this is to add all service, components, etc. to an Angular Module and include it in the app and hope that the TypeScript build and/or tree shaking will get rid of the dead code.
I thought I read something recently about VS Code supporting project level errors. I'd be interested to see how it will be handled there since it seems to work with loose (miscellaneous) files.

Similar issue here (with internal .ts files): numerous TS2304, TS2503, TS2339, TS2694 complaining about not finding namespaces, members, types, etc are showing upon build in VS2017 even though it builds successfully.
TypeScript Intellisense is not working. The project was originally developed in VS2015 and everything is fine there. Adding ///<reference path="..ts" /> seems to help, but shouldn't it find .ts files within the project automatically just like VS2015 does?
VS 15.2 (26430.13) with Typescript 2.3.

Should be fixed in 15.3. please reopen if you are still running into issues.

I'm still having this issue although not 100% sure if it's the same. In my case, if I have a typescript file opened as well as an html file that's in the same directory, then TS spews false errors in VS2017 - any ideas?
I also filed this here but there hasn't been any movement


System.DLLNotFoundException:e_sqlcipher assembly: type: member:(null)

All i have done is created a xamarin.mac(cocoa App)  and added sqlite-net-sqlcipher to my project.
These are the packages that got added automatically after adding sqlite-net-sqlcipher

This what i have in my code

this is where the error is being triggered

this is the exception it throws

I have a huge code base which uses sqlite-net-pcl for localdatabase
now i need to implement encryption so i am switching package and it throws the same error. so i have created a sample project it fails even here. But it works with wpf project
What might have gone wrong or am i missing anything..?
Thanks in advance

@praeclarum  help me solve i am stuck


Document more workflows for vcs packages

Initially this PR removed aur-vercmp-devel and introduced documentation changes that were biased towards a repo-based workflow for vcs packages.
Since these are actually two actions, the removal was split into PR #622.

See #961 for a new idea on this topic. If we store the "seen" upstream git commits somewhere, they can be queried them via APIs (github, gitlab) instead of running aur-srcver. This require some effort though and is specific for a small subset of VCS packages...
The "seen" commit would be more informative if it is linked to the built package. Apart from storing pkgname-pkgver <-> upstream commit manually, this could be part of the package itself: see https://lists.archlinux.org/pipermail/pacman-dev/2022-February/025511.html for a proposal on this regard.


ORACLE_BASE = /opt/oracle already exists

Just tried to spin up <IP_ADDRESS> DB, provisioning failed on this step:
# create directories
mkdir $ORACLE_BASE && \
chown oracle:oinstall -R $ORACLE_BASE && \
mkdir /u01/app && \
ln -s $ORACLE_BASE /u01/app/oracle

It seems the oracle dir already exists, which poses problem with above script (&&):
[root@oracle-12201-vagrant opt]# ll /opt
total 4
drwxr-xr-x. 2 root root    6 Jun 26 11:28 oracle
drwxr-xr-x. 9 root root 4096 Apr 24 08:06 VBoxGuestAdditions-5.1.24

oracle-12201-vagrant: INSTALLER: Oracle preinstall and openssl complete
oracle-12201-vagrant: mkdir:
oracle-12201-vagrant: cannot create directory ‘/opt/oracle’
oracle-12201-vagrant: : File exists
oracle-12201-vagrant: INSTALLER: Oracle directories created
....
oracle-12201-vagrant: Preparing to launch Oracle Universal Installer from /tmp/OraInstall2018-06-26_11-49-22AM. Please wait ...
oracle-12201-vagrant: [FATAL] [INS-32012] Unable to create directory: /opt/oracle, on this server.
oracle-12201-vagrant:    CAUSE: Either proper permissions were not granted to create the directory or there was no space left in the volume.
oracle-12201-vagrant:    ACTION: Check your permission on the selected directory or choose another directory.
oracle-12201-vagrant: [FATAL] [INS-32012] Unable to create directory: /opt/oracle/product/<IP_ADDRESS>/dbhome_1, on this server.
oracle-12201-vagrant:    CAUSE: Either proper permissions were not granted to create the directory or there was no space left in the volume.
oracle-12201-vagrant:    ACTION: Check your permission on the selected directory or choose another directory.

mkdir -p ?

Hm, I cannot reproduce that issue. Can you share what your $ORACLE_BASE is set in the Vagrantfile (if changed) and how you are provisioning the VM?

I think regardless we can just happily add the -p but just would like to understand why you are receiving this.

I left the locations at defaults. That was second run of provisioning, initial attempt failed on yum upgrade - had to add proxy setting, so quite possibly it only created the dir before.

The directories are created after yum upgrade and co. Guess depending when you killed the provisioning and how you resumed it. Anyway, will add the-p in any case, won't do any harm.

I let it run to completion ( fail fast :) ), so I guess mkdir succeded and chown failed (no oracle user).
It's not easy to make this process restartable - surely it's easier just to start from scratch, but in this case I had no choice. Thanks!

Actually I've immediately added echo 'proxy=http://myhost:3128' >> /etc/yum.conf to install.sh script to avoid this in the future, but ran provisioning again on the existing box...
Should be easy to add proxy as an option.


Missing link to create a new guide category

The Guide Categories page should have a link to create a new category (next to the "New Guide" link).
/cc @AndrewRadev @soff22 @BubetoManolova

Also, the individual guide category page should not have a link to create a new category: https://www.rubygamedev.com/guide_categories/1
Implement a breadcrumb navigation (like posts) so you can return to the list of Guide Categories


Registration btn disable for past dates

Disabled registration button for events if the registration date has been passed and,
Not be able to add past date in ''add-event''
fixes issue #47

just post working video i will merge it in preview build there is error in state flow auth


Hugo test branch

Checkmarx One – Scan Summary & Details – 1c130464-73c0-42e2-bad9-43659d4204f1
No New Or Fixed Issues Found


Connect to a running Flutter app and hot reload

As part of add-to-app effort, we should make Flutter work with the existing application runner. So, one step towards letting developers use their existing deployment flow is enabling hot reload without a flutter runner.
This would also help with when vm_service loses connection to the device. Currently, we recommend developers to rebuild/redeploy their apps. While we track frequent connection loss as separate bugs (internal b/79702390), being able to reconnect would be a better workaround than a full rebuild which often takes 30+ seconds.

Related: https://github.com/flutter/flutter-intellij/issues/2250

@mehmetf we now have a new flutter attach command for this. Can you see if that works for the google internal workflow also?

This issue is for external flow so if there's a command to do this now, the issue can be closed. We will need to do some work to wire it in; tracked internally (b/111230095).

Great, closing


Preformat tests

Since I add some helpers... @oliver---- just in case, take a look please!

Looking good 👍


Depth Parameter not respected by SDK

Brief bug description
When setting the depthParameter to 1, we expected modular item values to not be resolved as part of the normal SDK behaviour (i.e value should either be an empty array or only contain the codename of the item, like in the REST API). However, we have found that if for example you set depth param 1, but have a modular content item at level 2 (Content Item 1 -> Content Item 2 -> Content Item 1) that has already been included as part of the response at some other level (Content Item 1 -> Content Item 2 -> Content Item 1), the SDK will automatically resolve the value of the modular content item at level 2. In cases where we are trying to avoid a circular dependency, this behaviour can be problematic.
Repro steps

Create two content items with a Linked Item field.
Add the second content item as a linked item to the first content item AND the first content item as a linked item to the second.
Try to call the item('codename_item_1') method with a depthParameter of 1.
Notice that the linked item field in the in the second content item resolves the value object of the first content item, essentially creating a circular dependency, even though we set the depth param to 1:

// This is the linked item element in the 2nd content item
          linked: LinkedItemsElement {
            rawData: {
              type: 'modular_content',
              name: 'Linked',
              value: [ 'content_1' ]
            },
            name: 'Linked',
            type: 'modular_content',
            itemCodenames: [ 'content_1' ],
            value: [ [Circular *1] ]
          },

Expected behavior
SDK should not try to resolve content items at level X if depthParameter is set to X-1.
Test environment

Platform/OS: Node V16.9.1
Version 10.4.1

Additional context
Our current workaround (not ideal) involves cloning and manually cleaning-up the data before using it. Something similar to the below:
export const limitModularContentDepth = ({ data, limit }: { data: IContentItem; limit: number }): IContentItem => {
  const iterate = (item: IContentItem, level: number) => {
    const object = item;
    const keys = Object.keys(object);
    keys.forEach((key) => {
      if ((object[key] as Elements.LinkedItemsElement).type === ElementType.ModularContent) {
        if (level < limit) {
          (object[key] as Elements.LinkedItemsElement).value.forEach((linkedItem) => {
            iterate(linkedItem, level + 1);
          });
        } else {
          (object[key] as Elements.LinkedItemsElement).value = [];
        }
      }
    });
    return object;
  };
  return iterate(clone(data), 0);
};

// JSON stringify will throw an error if there's a circular dependency so we use limitModularContentDepth to ensure nothing goes beyond depth of 1.
JSON.stringify(limitModularContentDepth({ data: itemData, limit: 1 }))

Hi @benmorana, this is really intended behavior and this will not be changed in 10.x.y SDK. The 11.0.0 allows you to disable SDK mapping (see https://github.com/Kentico/kontent-delivery-sdk-js#handling-circular-references).
Alternatively, you may use flatted package to handle circular JSON (https://www.npmjs.com/package/flatted)


add form wizard, add more config options, switch to font awesome, add…

Added .env Form wizard with validation.
Changed out icons with Font Awesome.
Added console output.
Updated Controllers and Helpers.
Added more config options.
Updated screenshots.
Updated EN language file.

I would also suggest updating the GitHib description which is currently "A web installer for Laravel 5.1"

Man! This is amazing.
Please do follow me for a little chat http//twitter.com/rashidlaasri

Hello @RachidLaasri . Please create the new release. As this PR is great :)


feat(dialog): Support default dialog options as part of a dialog component

Feature Description
Allow adding a default mat dialog config to a specific component. Maybe even through the MAT_DIALOG_DEFAULT_OPTIONS token or a static property.
Use Case
Mostly when creating a dialog component the one developing it decides what's the recommended width, height, autoFocus, etc...
It seems to me like having the ability to add default dialog options on a specific component can make sure that opening it from many places will be with the same options and won't require duplicating the options or remembering to reference an options constant when opening.
The order of options will be:
Opening options > Specific component options > global MAT_DIALOG_DEFAULT_OPTIONS

The MAT_DIALOG_DEFAULT_OPTIONS is passed in through DI so you should be able to achieve this by providing the token at a lower level in dependency tree. E.g. you can have one set of options at the top-level module and another one somewhere further down in a feature module.

@crisbeto But providing it on the dialog component doesn't work...


New feature request if not already present?

New feature request if not already present?
New options:

To list currently installed skills
remove/ uninstall installed skills.

Thank you.

Indeed, both of those are in the first-party analogue. I'm gonna repurpose this issue to keep track.
Present in MSM, absent in OSM:

[ ] osm list
[ ] osm remove
[ ] osm info


Good job

Great work, my absolute favorite!
can we have a command line argument to change directly?
OXR_Switcher.exe /oculus
OXR_Switcher.exe /virtualdesktop
OXR_Switcher.exe /steamvr
UAC access is not avoidable right?
regkey is inside HKLM so admin permissions are needed

i second this request!

Hi, ok, i adding command line! Yes UAC warning message not disable, but if you're user in local Administrator then warning message missing.

Done, injoy Release 2<IP_ADDRESS>

Done, injoy Release 2<IP_ADDRESS> PS: see new description

hello i can't understand how use correctly the command prompt line

https://raw.githubusercontent.com/jonyrh/OXR_Switcher/main/cmd_help.pnghttps://raw.githubusercontent.com/jonyrh/OXR_Switcher/main/cmd_help.png


Cannot find module './assets/empty-module.js'

Whenever I try to run react-native I get this error:
react-native run-ios
module.js:474
    throw err;
    ^

Error: Cannot find module './assets/empty-module.js'
    at Function.Module._resolveFilename (module.js:472:15)
    at Function.resolve (internal/module.js:27:19)
    at Object.<anonymous> (/Users/esen/Github/App/node_modules/react-native/packager/react-packager/src/node-haste/DependencyGraph/ResolutionRequest.js:20:29)
    at Module._compile (module.js:573:32)
    at loader (/Users/esen/Github/App/node_modules/babel-register/lib/node.js:144:5)
    at Object.require.extensions.(anonymous function) [as .js] (/Users/esen/Github/App/node_modules/babel-register/lib/node.js:154:7)
    at Module.load (module.js:490:32)
    at tryModuleLoad (module.js:449:12)
    at Function.Module._load (module.js:441:3)
    at Module.require (module.js:500:17)

React Native version: 0.37.0
Platform: Both
Operating System: MacOS

Uninstalling and reinstalling react-native seems to have fixed the error.

Also ran into this; touch-ing empty-module.js also seems to do the trick:
$ (
  cd node_modules/react-native/packager/react-packager/src/node-haste/DependencyGraph/
  mkdir -p assets
  touch assets/empty-module.js
)

We had the same problem when using yarn. Creating the empty-module.js by hand is just a quickfix which was not an option for our build server.
Thanks to the yarn community it turned out to be a conflict with the .yarnclean file which contained the assets directory.
Deleting the line assets in the .yarnclean solved the problem.

I ran into this when I innadvertantly ran yarn clean. Uninstalling and reinstalling worked - touching the assets/empty-module.js ultimately did not (just ran into more missing files when running my app in the emulator).

Did you check the .yarnclean file which is automatically created when running yarn clean?

Since I didn't intend to run yarn clean I removed .yarnclean and reinstalled the module - sounds like removing assets from .yarnclean would work too.

@dsummersl Thanks very much!

directory doesnt exist >> node_modules/react-native/packager/react-packager/src/node-haste/DependencyGraph/

@rroehrig Thanks;
delete .yarnclean and reinstall


Use new logo as favicon in output files in HTML format

The cool new logo should be taken into use as a favicon of log, report and Libdoc and Testdoc result files.

The new favicon takes more space than the earlier. The difference isn't big enough to really matter, but if someone with better image editing skills can create a smaller variant that would be great. The original logo (which obviously needs to be cropped) can be found from here: https://github.com/robotframework/visual-identity/blob/master/logo/robot-framework.png

I did some operations on your favicon.ico, removed transparency layer (changed to white) and reduced the number of colors. This is the resulting link:
<link rel="icon" type="image/x-icon" href="data:image/x-icon;base64,AAABAAEAEBAQAAEABAAoAQAAFgAAACgAAAAQAAAAIAAAAAEABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAgAAHB4dACMlIwA6PDsASkxLAFRWVQB2eXcAh4qIAJOXlQChpKIAur27AMvOzADf4uAA7fDuAPz//QAAAAAA7lAAAAAABe7kASIiIiIQTlA+7u7u7uMFA+7u7u7u7hAD7oiIiIjeIAPmAAAAAC4gA+67u7u77iAD7u7u7u7uIAPqfonmru4gA+MLEeAE7iAD7AAJ7jBuIAPu587u7e4gA+7u7u7u7iBQTu7u7u7kBOQDMzMzMzA+7lAAAAAABe4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA">

Also attach the file
robot-framework2.zip
.

I will re-do it, then.

Great! If making smaller favicons without lowering quality too much turns too complicated, we can simply keep using the current ones. If we want to make logs/reports smaller, time would be better spent in studying how could HTML, Javascript and CSS be minified.

So this is the final edit of the favicon.ico. From my previous icon size increased from 318 bytes to 894 bytes.
<link rel="icon" type="image/x-icon" href="data:image/x-icon;base64,AAABAAEAEBAAAAEAGABoAwAAFgAAACgAAAAQAAAAIAAAAAEAGAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA/1UA/1UAAwEAAgAAAgAAAgAAAgAAAgAAAgAAAgAAAgAAAgAAAgAAAwEA/1UA/1UA/1UAAwEAAgAAAgEAAgAAAgAAAgAAAgAAAgAAAgAAAgAAAgAAAgEAAgAAAwEA/1UAAwEAAgAAAwEA/1UA/1UA/1UA/1UA/1UA/1UA/1UA/1UA/1UA/1UAAwEAAgAAAwEAAgAAAwEA/1UA/1UA/1UA/1UA/1UA/1UA/1UA/1UA/1UA/1UA/1UA/1UAAgEAAgAAAgAAAwEA/1UA/1UACQUACQUACQUACQUACQUACQUACQUACQUAKg4A/1UAAgAAAgAAAgAAAwEA/1UABgIAAgAAAgAAAgAAAgAAAgAAAgAAAgAAAgAAAgAA/1UAAgAAAgAAAgAAAwEA/1UA/1UADwUADwUADwUADwUADwUADwUADwUADwUA/1UA/1UAAgAAAgAAAgAAAwEA/1UA/1UA/1UA/1UA/1UA/1UA/1UA/1UA/1UA/1UA/1UA/1UAAgAAAgAAAgAAAwEA/1UACwQABgIA/1UACQUACAMA/1UABgIACwQA/1UA/1UA/1UAAgAAAgAAAgAAAwEA/1UAAwEAAgAADwUAAgEAAgEA/1UAAgAAAgAAAwEA/1UA/1UAAgAAAgAAAgAAAwEA/1UAGAgAAgAAAgAAAgAACAMA/1UA/1UAAwEAAgAABgIA/1UAAgAAAgAAAgAAAwEA/1UA/1UA/1UABgIAGAgA/1UA/1UA/1UA/1UAKg4A/1UA/1UAAgAAAgAAAgAAAwEA/1UA/1UA/1UA/1UA/1UA/1UA/1UA/1UA/1UA/1UA/1UA/1UAAgAAAgAAAwEAAgAAAwEA/1UA/1UA/1UA/1UA/1UA/1UA/1UA/1UA/1UA/1UAAwEAAgAAAwEA/1UAAwEAAgAAAwEAAwEAAwEAAwEAAwEAAwEAAwEAAwEAAwEAAwEAAgAAAwEA/1UA/1UA/1UAAwEAAgAAAgAAAgAAAgAAAgAAAgAAAgAAAgAAAgAAAgAAAwEA/1UA/1XAAwAAgAEAAB/4AAA//AAAP/wAACAEAAA//AAAP/wAAD+8AAAkjAAAMcQAAD/8AAA//AAAH/gAAIABAADAAwAA">

Again attach the file:
robot-framework2.zip

This version isn't as good quality as the current version. In the example below, the one on left is the current and the one on right the new one.

After base64 encoding this version is 1192 characters while the current one is 1536. The new one is clearly smaller, but in my opinion the difference in size isn't big enough to compensate the difference in quality.

I agree.
I will do one more attempt.


Filament\Forms\Components\Select::isOptionDisabled(): Argument #2 ($label) must be of type string, null given

Filament\Forms\Components\Select::isOptionDisabled(): Argument #2 ($label) must be of type string, null given

can you please attach your script?

@abdulmejidshemsu did you get this sorted out I'm having the same problem

I have the same error on a fresh install.
`class ListAlumnos extends ListRecords
{
protected static string $resource = AlumnoResource::class;
protected function getActions(): array
{
    return [
        Actions\CreateAction::make(),
        ImportAction::make()
            ->fields([
                ImportField::make('legajo')->label('Legajo'),
                ImportField::make('nombre')->label('Nombre'),
                ImportField::make('apellido')->label('Apellido'),
                ImportField::make('tipo_doc')->label('Tipo de documento'),
                ImportField::make('nro_doc')->label('Nro. de documento'),
                ImportField::make('fecha_inicio')->label('Fecha de Inicio'),
                ImportField::make('calidad')->label('Calidad'),
                ImportField::make('carrera')->label('Carrera'),
            ])
            ->label('Importar Alumnos')
    ];
}

}`

I am encountering the same error when I have a Resource that defines a Forms\Components\Select::make(...)->relationship(..) which is a Relationship pointing to the same class as the Resource class.
My Company has a nullable ParentCompany but if I add that to the $form->schema([ it fails with the mentioned error.

I've just had this same error and came across this issue by chance (I'm not using filament-import so I think this is related to the core).
Can confirm that I'm trying to create a relationship with the same model as the resource that I'm in.
class QuestionsRelationManager extends RelationManager {
    protected static string $relationship = 'questions';
    // ....
    Repeater::make('hide_logics')
      ->relationship()
      ->schema([
          Select::make('value_question_id')
              ->label('Related Question')
              ->relationship('related_question', 'id')
              ->options(function (RelationManager $livewire) {
                  return $livewire->ownerRecord->questions()->get()->filter(fn($q) => $q->id != $livewire->id)->pluck('text', 'id');
              })
              ->searchable()
              ->required(),

Haven't found a solution yet, just thought I'd chime in with a confirmation of the issue.

I found the issue is that in the options field of select null is returned. In the above one
return $livewire->ownerRecord->questions()->get()->filter(fn($q) => $q->id != $livewire->id)->pluck('text', 'id');
is returning ['someId' => null ]. so make sure that the text is not null for all reords.

I had the same issue.
It's surely related to Core, but since this thread is the first on Google for this issue, I'm reacting here.
Here is how I fixed it for those who are still struggling.
In my case, the issue raised when at least one of the related option was missing the 'name'.
I just filtered my query with 'whereNotNull' as below.
                       Select::make('organization_id')                             ->label('Organization')                             ->options(Organization::whereNotNull('name')->pluck('name', 'id'))                             ->disabled()                             ->default(function (RelationManager $livewire) {                                 return $livewire->ownerRecord->organization_id ?? '';                             }),
Hope this helps.

"The error was caused by a null value as the second parameter in the database, which I forgot to make non-null when writing the code. An empty value was inserted into the database, resulting in an error."


firstChild working error

Problem
while i use createDocumentFragment with appendChild, it break infinite loop
`
const el = document.createDocumentFragment()
const p = value
while (p.firstChild) {
el.appendChild(p.firstChild)
}
`
Expected behavior
`
const el = document.createDocumentFragment()
const p = value
while (p.firstChild) {
el.appendChild(p.firstChild)
}
`
Minimal reproduction URL

Version
1.4.3
Node.js version
v20.16.0
Package manager
pnpm
Operating system
Windows
Bugs are expected to be fixed by those affected by it

[X] I'm interested in working on this issue

Compensating engineering work financially will speed up resolution

[ ] I'm willing to offer financial support

Sorry, I don't understand what you're reporting.
Please elaborate and if possible, provide a reproduction, and we can re-open this.


misc(ci) adjust how defaults are set

build requirements were getting split between git://kong/.requirements and git://kong-build-tools/Makefile instead have one sole source of truth that is .requirements of the relevant source
proof of concept that this is sensible:
.requirements
hello=world

Makefile
hello ?= `grep hello .requirements | awk -F"=" '{print $$2}'`

test:
        @echo $(hello)

make test
world
export hello=foo
make test
foo

Aside from the commit type, this seems good to me.

This could go to master as well?


Get rid of pickle

Pickle is a security issue.

Hi KOLANICH, thanks for pointing this out.
If using pickle is unacceptable to you due to the related security concerns, it would be helpful if you explained in a bit more details your situation - for example, is it a general problem regardless of circumstances or just in certain situations?
While I understand and agree with you that pickle, in general, is not safe by design, please bear in mind that this is a research project and is not intended to be used in production (as a research lab we do not have enough manpower to maintain production-grade software). Consequently, we assume things are run in a trusted and self-contained environment - I believe under this assumption using pickle should not be a threat, but I'm happy to re-consider this if there is a genuine case where it is a problem.

If this is about our dataset, we certainly can release it in whatever alternative format would suit you best - just let me know what your preference is.

Hi, thank you for responding.

is it a general problem regardless of circumstances or just in certain situations?

Usually it is a general problem. If one can avoid them, one probably should.

If something executes arbitrary code, that code should be explicitly visible and auditable, not concealed within pickle blobs.
In a lot of cases choice of a code-executing format over the one which is safe to deserialize is unjustified and puts additional burden on the ones who gonna open it: they have to use the means to reverse engineer pickles instead of just loading the data.

To be honest I myself has used pickles, but only for locally-created cache in the circumstances when every other serialization method turned out to be much slower. But distributing premade pickles is surely not good and should be avoided.

Consequently, we assume things are run in a trusted and self-contained environment

If I understand right, "contained environment" is an impossible thing, unless a separate real disposible air-gapped machine is used. The code is Turing complete, it is impossible to create a program returning 1 if any code does unauthorized access, like exploiting flaws in OS, sandboxes, VMs and hardware and 0 if it does authorized things.

If this is about our dataset, we certainly can release it in whatever alternative format would suit you best - just let me know what your preference is.

I guess, TSV. Or maybe a custom bihary format made of stream of records like
seq:
  - id: header
    type: header
  - id: records
    type: record
    repeat: expr
    repeat-expr: header.count
types:
  header:
    seq:
      - id: version
        type: version
      - id: name
        type: strz
      - id: count
        type: u4
    types:
      version:
        seq:
          - id: major
            type: u1
          - id: minor
            type: u1
  record:
    seq:
      - id: latency
        type: f8
      - id: len
        type: u1
      - id: ops
        type: u1
        enum: op
        repeat: expr
        repeat-expr: len
    enums:
      op:
        0: none
        1: skip_connect
        2: nor_conv_1x1
        3: nor_conv_3x3
        4: avg_pool_3x3
        5: input
        6: output
        7: global

in Kaitai Struct syntax (can be compiled into parsing code).

Hi, apologies for a delayed response - I was traveling and only came back a couple of days ago.
So, as far as I understand your main concern is related to the dataset that is being redistributed - here I completely agree that pickle might not be the best choice so be assured I will soon upload a safer alternative. (Hopefully within the next couple of days but worst case scenario might happen early August.)
When it comes to my comment about execution environment I was referring to the default workflow of our tool, which allows you to produce your own measurements and then use them to train some predictors - we use pickle to save and then load results in different parts of our codebase and in my opinion this particular use case does not introduce significant issues as the user is both the producer and the consumer of pickle data. Under this scenario any security issues related to using pickle in our codebase would need to assume that your system had already been compromised so I am leaning towards saying it is irrelevant.

Hi, apologies for a delayed response - I was traveling and only came back a couple of days ago.

No problem, I also was on vacation ;)

So, as far as I understand your main concern is related to the dataset that is being redistributed - here I completely agree that pickle might not be the best choice so be assured I will soon upload a safer alternative.

Yeah. Thank you.


vscode theme?

The new vscode config can be a good thing as the vscode usage is growing.
Here is the reference: https://code.visualstudio.com/docs/getstarted/theme-color-reference

Thanks, @marcos-hotmart —yes, this is definitely on the backlog. I'll keep this thread posted with progress.

@marcos-hotmart @wcastand @longsien @ShanMen Check out https://github.com/mjswensen/themer-vscode, I think I've got most of the bases covered on full VS Code support. Since I don't use VS Code full-time, if you find anything strange/broken with the theme feel free to log an issue over there.


Inconsistent naming of features

Thanks for the extensive codebase and the nice config/batching system. I have a few questions & remarks:

The documentation does not say that keypoint and descriptor names should be lowercase, and the feature importer does not enforce this.

It would be nice to have a script that converts the training sequences into the validation format, so that a larger validation set can be used (the current one is small).

Why do you force the model estimator to be the 8-point algorithm when custom matches are provided? This forces the users to write custom code to run the robust estimators on the test matches. It also introduces a discrepancy between validation and test - an estimator might perform a geometric refinement, which the current setup does not allow.

What is the relocalization task?

Thanks for the extensive codebase and the nice config/batching system. I have a few questions & remarks:
The documentation does not say that keypoint and descriptor names should be lowercase, and the feature importer does not enforce this.
Thank you for catching that. Could you please do PR with the fix into the docs?

It would be nice to have a script that converts the training sequences into the validation format, so that a larger validation set can be used (the current one is small).
We are planning to just release training set in a val format in ~1-2 weeks.

Why do you force the model estimator to be the 8-point algorithm when custom matches are >provided? This forces the users to write custom code to run the robust estimators on the test >matches.
Well, we treat custom matcher as robust estimator - and - your own superglue confirmed that 8pt (DLT) is better than RANSAC in such cases.
DEGENSAC is open-sourced (https://github.com/ducha-aiki/pyransac)  and I see no problems of merging it into the custom matcher.

It also introduces a discrepancy between validation and test - an estimator might perform a > > > geometric refinement, which the current setup does not allow.

Why? You are free to do geometric refiniment

What is the relocalization task?
So far it is non-existent ;)

Thank you for catching that. Could you please do PR with the fix into the docs?

Sure, will do so shortly.

We are planning to just release training set in a val format in ~1-2 weeks.

Great!

Well, we treat custom matcher as robust estimator - and - your own superglue confirmed that 8pt (DLT) is better than RANSAC in such cases. DEGENSAC is open-sourced (https://github.com/ducha-aiki/pyransac) and I see no problems of merging it into the custom matcher.

Whether 8-pt or *SAC is better does not matter here: my point is that it would be nicer & easier to export geometrically-verified matches for the test images from the run.py script.

Why? You are free to do geometric refiniment
No, since the essential matrix is always estimated from the 8-pt algorithm for custom matches, and the keypoint location are shared for all pairs. It would be nice to allow participants to submit fundamental matrices or even poses, so they are free to use their own model estimators.

We are planning to allow pose submission, but it is not ready yet.

Fixed by #11


Fix image message bug

Fix image message bug, should only handle text.length >= 3
Note : text.length < 3 won't be consider as new article sent in.

Limit the number of image messages linebot can process simultaneously.
Too many image messages process simultaneously will easily cause messages timeout.

Pull Request Test Coverage Report for Build 635

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

Totals

Change from base Build 631:
0.0%

Covered Lines:
219

Relevant Lines:
225

💛  - Coveralls

It is working great on staging.
The concurrent number 3 is pretty good; when I pass 3 images to staging chatbot, I receive memory quota exceeded error, but since it's not "memory quota vastly exceed" that triggers restart, the 3 images do process in time. I believe we cannot raise the number anymore or we will use up all memory.


Fix #16668
Signed-off-by: Andrew Thornton<EMAIL_ADDRESS>

Codecov Report

Merging #16812 (983aadd) into main (1cd4a3b) will decrease coverage by 0.02%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##             main   #16812      +/-   ##
==========================================
- Coverage   45.50%   45.47%   -0.03%
==========================================
  Files         762      762
  Lines       85940    85975      +35
==========================================
- Hits        39108    39101       -7
- Misses      40521    40559      +38
- Partials     6311     6315       +4

Impacted Files
Coverage Δ

modules/git/log_name_status.go
61.98% <0.00%> (-0.52%)
:arrow_down:

routers/web/repo/setting.go
14.41% <0.00%> (-0.02%)
:arrow_down:

modules/util/timer.go
42.85% <0.00%> (-42.86%)
:arrow_down:

modules/git/repo.go
43.31% <0.00%> (-4.40%)
:arrow_down:

services/archiver/archiver.go
54.47% <0.00%> (-4.40%)
:arrow_down:

models/repo_list.go
77.64% <0.00%> (-0.79%)
:arrow_down:

modules/queue/workerpool.go
53.05% <0.00%> (-0.77%)
:arrow_down:

cmd/embedded_stub.go
0.00% <0.00%> (ø)

modules/public/dynamic.go
100.00% <0.00%> (ø)

modules/options/dynamic.go
56.86% <0.00%> (ø)

... and 30 more

Continue to review full report at Codecov.

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


[WIP] Implement R/W Lock

Basic version of the Concurrent::RWLock class - implementation of Readers/writer lock.
Closes #477

@st0012 a couple of notes about this PR:

it's the basic version; I will add the methods acquire_*_lock in a second iteration
the UTs can be made much more efficient when merging #498; right now, I have to use integer sleeping times; with the mentioned PR, I could use fractions of seconds.

@st0012 do you have any insights about the build failure (link)? the tests I wrote pass when I execute them locally, but when running the full build, it seems go is detecting threading issues (is it the testing framework?):
WARNING: DATA RACE
Read at 0x00c420582460 by goroutine 106:
  github.com/goby-lang/goby/vm.(*thread).hasError()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:95 +0x9e
  github.com/goby-lang/goby/vm.(*thread).evalCallFrame()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:51 +0x67b
  github.com/goby-lang/goby/vm.(*thread).startFromTopFrame()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:42 +0xa6
  github.com/goby-lang/goby/vm.(*thread).builtinMethodYield()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:140 +0x4c4
  github.com/goby-lang/goby/vm.builtinConcurrentRWLockInstanceMethods.func1.1()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/concurrent_rw_lock.go:80 +0xe2
  github.com/goby-lang/goby/vm.(*thread).evalCallFrame()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:63 +0x356
  github.com/goby-lang/goby/vm.(*thread).startFromTopFrame()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:42 +0xa6
  github.com/goby-lang/goby/vm.(*thread).evalBuiltinMethod()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:240 +0x66d
  github.com/goby-lang/goby/vm.glob..func25()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/instruction.go:487 +0x7a3
  github.com/goby-lang/goby/vm.(*thread).execInstruction()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:124 +0x107
  github.com/goby-lang/goby/vm.(*thread).evalCallFrame()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:50 +0x66a
  github.com/goby-lang/goby/vm.(*thread).startFromTopFrame()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:42 +0xa6
  github.com/goby-lang/goby/vm.(*thread).builtinMethodYield()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:140 +0x4c4
  github.com/goby-lang/goby/vm.builtinClassCommonInstanceMethods.func17.1.1()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/class.go:984 +0x60
Previous write at 0x00c420582460 by goroutine 107:
  github.com/goby-lang/goby/vm.(*baseFrame).insertLCL()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/call_frame.go:120 +0x85
  github.com/goby-lang/goby/vm.glob..func9()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/instruction.go:165 +0x253
  github.com/goby-lang/goby/vm.(*thread).execInstruction()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:124 +0x107
  github.com/goby-lang/goby/vm.(*thread).evalCallFrame()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:50 +0x66a
  github.com/goby-lang/goby/vm.(*thread).startFromTopFrame()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:42 +0xa6
  github.com/goby-lang/goby/vm.(*thread).builtinMethodYield()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:140 +0x4c4
  github.com/goby-lang/goby/vm.builtinConcurrentRWLockInstanceMethods.func1.1()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/concurrent_rw_lock.go:80 +0xe2
  github.com/goby-lang/goby/vm.(*thread).evalCallFrame()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:63 +0x356
  github.com/goby-lang/goby/vm.(*thread).startFromTopFrame()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:42 +0xa6
  github.com/goby-lang/goby/vm.(*thread).evalBuiltinMethod()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:240 +0x66d
  github.com/goby-lang/goby/vm.glob..func25()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/instruction.go:487 +0x7a3
  github.com/goby-lang/goby/vm.(*thread).execInstruction()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:124 +0x107
  github.com/goby-lang/goby/vm.(*thread).evalCallFrame()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:50 +0x66a
  github.com/goby-lang/goby/vm.(*thread).startFromTopFrame()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:42 +0xa6
  github.com/goby-lang/goby/vm.(*thread).builtinMethodYield()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:140 +0x4c4
  github.com/goby-lang/goby/vm.builtinClassCommonInstanceMethods.func17.1.1()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/class.go:984 +0x60
Goroutine 106 (running) created at:
  github.com/goby-lang/goby/vm.builtinClassCommonInstanceMethods.func17.1()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/class.go:983 +0x3fa
  github.com/goby-lang/goby/vm.(*thread).evalCallFrame()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:63 +0x356
  github.com/goby-lang/goby/vm.(*thread).startFromTopFrame()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:42 +0xa6
  github.com/goby-lang/goby/vm.(*thread).evalBuiltinMethod()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:240 +0x66d
  github.com/goby-lang/goby/vm.glob..func25()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/instruction.go:487 +0x7a3
  github.com/goby-lang/goby/vm.(*thread).execInstruction()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:124 +0x107
  github.com/goby-lang/goby/vm.(*thread).evalCallFrame()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:50 +0x66a
  github.com/goby-lang/goby/vm.(*thread).startFromTopFrame()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:42 +0xa6
  github.com/goby-lang/goby/vm.(*VM).startFromTopFrame()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/vm.go:270 +0x4e
  github.com/goby-lang/goby/vm.(*VM).ExecInstructions()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/vm.go:166 +0xc98
  github.com/goby-lang/goby/vm.(*VM).testEval()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/vm_test.go:185 +0xc2
  github.com/goby-lang/goby/vm.TestRWLockWithReadLockSharedRead()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/concurrent_rw_lock_test.go:40 +0x81
  testing.tRunner()
      /home/travis/.gimme/versions/go1.9.2.linux.amd64/src/testing/testing.go:746 +0x16c
Goroutine 107 (finished) created at:
  github.com/goby-lang/goby/vm.builtinClassCommonInstanceMethods.func17.1()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/class.go:983 +0x3fa
  github.com/goby-lang/goby/vm.(*thread).evalCallFrame()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:63 +0x356
  github.com/goby-lang/goby/vm.(*thread).startFromTopFrame()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:42 +0xa6
  github.com/goby-lang/goby/vm.(*thread).evalBuiltinMethod()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:240 +0x66d
  github.com/goby-lang/goby/vm.glob..func25()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/instruction.go:487 +0x7a3
  github.com/goby-lang/goby/vm.(*thread).execInstruction()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:124 +0x107
  github.com/goby-lang/goby/vm.(*thread).evalCallFrame()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:50 +0x66a
  github.com/goby-lang/goby/vm.(*thread).startFromTopFrame()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/thread.go:42 +0xa6
  github.com/goby-lang/goby/vm.(*VM).startFromTopFrame()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/vm.go:270 +0x4e
  github.com/goby-lang/goby/vm.(*VM).ExecInstructions()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/vm.go:166 +0xc98
  github.com/goby-lang/goby/vm.(*VM).testEval()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/vm_test.go:185 +0xc2
  github.com/goby-lang/goby/vm.TestRWLockWithReadLockSharedRead()
      /home/travis/gopath/src/github.com/goby-lang/goby/vm/concurrent_rw_lock_test.go:40 +0x81
  testing.tRunner()
      /home/travis/.gimme/versions/go1.9.2.linux.amd64/src/testing/testing.go:746 +0x16c

@saveriomiroddi Looks like it is because multiple threads want to check if there's error on the stack, but they all want to access the same stack (I guess it's the main stack).
I can't really tell where goes wrong, but you can reproduce this locally by running test with go test ./vm --run TestRWLockWithReadLockSharedRead -race

@st0012 I've opened an issue (#499); the minimal test case that triggers the error doesn't involve Concurrent::RWLock:
	code := `
	finish_message = nil

	thread do
    finish_message = "thread"
	end

	sleep 1
	finish_message
	`

	v := initTestVM()
	v.testEval(t, code, getFilename())

so I suppose there's a problem either with the testing framework, or the interpreter. I definitely think that threading needs unit testing (especially since it's a selling point of Goby), also to find out if the testing framework is adequate, or needs to be improved.

@st0012 following up on #499, I had a look at the travis configuraiton; do you want to adopt a convention for not testing race conditions on some UTs? For example, all those including Threaded in the UT name should not be tested with the race detector?

@saveriomiroddi This is what I'm concerning about. If there really are multiple threads running in a test case, the race condition will very likely to happen. So in this case, use race condition detector doesn't make sense. However, it'll be hard to find out some cases that race condition might cause nil pointer error.

OK, this is ready. You could recycle the noracedetection build tags for those test suites that need to be tested without race detector.

I'm putting a WIP tag again - I need to be 100% sure that the build doesn't run in an unexpected way.

@st0012 The build tag strategy didn't work for filtering the tests to be performed without race detector (because untagged test suites are always run). I also had a fair amount of hair pulling because I didn't understand how the travis test (plugin) filtering was working - turns out, it was broken (see #518).
Therefore, I've used the strategy used in #519 (environment variable+UT naming convention).

This PR builds on top of #519, so I'm marking as blocked by it.
Blocked by #519.

Removed the Blocked status label. Build is now green.

ok, I've fixed the failures from the master merge; once the build is green, it's ready for merge.


Roll Flutter from 17c1dbc47378 to b2672fe8355f (26 revisions)

https://github.com/flutter/flutter/compare/17c1dbc47378...b2672fe8355f
2022-11-30<EMAIL_ADDRESS>Revert "Add Material 3 support for TabBar (#116110)" (flutter/flutter#116273)
2022-11-30<EMAIL_ADDRESS>Roll Flutter Engine from e20362343564 to d5690468da0f (2 revisions) (flutter/flutter#116244)
2022-11-30<EMAIL_ADDRESS>Roll Flutter Engine from 25a2ac85f6aa to e20362343564 (2 revisions) (flutter/flutter#116243)
2022-11-30<EMAIL_ADDRESS>shrinkWrap nuke (flutter/flutter#116236)
2022-11-30<EMAIL_ADDRESS>Updated useMaterial3 documentation to include missing M3 components. (flutter/flutter#116234)
2022-11-30<EMAIL_ADDRESS>Add offline docs, up the h2 size (flutter/flutter#116241)
2022-11-30<EMAIL_ADDRESS>Fix Slider semantic node size (flutter/flutter#115285)
2022-11-30<EMAIL_ADDRESS>Fix Material 3 BottomSheet example (flutter/flutter#116112)
2022-11-30<EMAIL_ADDRESS>Updated the M3 textTheme to use onSurface color for all styles. (flutter/flutter#116125)
2022-11-30<EMAIL_ADDRESS>Adjust Material 3 textfield padding to align with specs (flutter/flutter#116225)
2022-11-30<EMAIL_ADDRESS>25a2ac85f [Impeller Scene] Wire up pipelines (flutter/engine#37961) (flutter/flutter#116233)
2022-11-30<EMAIL_ADDRESS>labeledTapTargetGuideline should passe if textfield does not have label (flutter/flutter#116221)
2022-11-29<EMAIL_ADDRESS>[flutter_tools] normalize windows file path cases in flutter validator (flutter/flutter#115889)
2022-11-29<EMAIL_ADDRESS>Add onFocusChange property for ListTile widget (flutter/flutter#111498)
2022-11-29<EMAIL_ADDRESS>3956f6d02 Roll Skia from 829527b29b32 to 6d759de2e5b2 (2 revisions) (flutter/engine#37967) (flutter/flutter#116228)
2022-11-29<EMAIL_ADDRESS>[tools]build ipa validate app icon size (flutter/flutter#115594)
2022-11-29<EMAIL_ADDRESS>Add Material 3 support for TabBar (flutter/flutter#116110)
2022-11-29<EMAIL_ADDRESS>Create DropdownMenu Widget to Support Material 3 (flutter/flutter#116088)
2022-11-29<EMAIL_ADDRESS>iOS 16 context menu (flutter/flutter#115805)
2022-11-29<EMAIL_ADDRESS>Roll Flutter Engine from 05e2de7e3e67 to d85707af0987 (2 revisions) (flutter/flutter#116217)
2022-11-29<EMAIL_ADDRESS>05e2de7e3 Build platform dills with unevaluated constants (flutter/engine#37940) (flutter/flutter#116215)
2022-11-29<EMAIL_ADDRESS>fbf31015f [gn] embed mac codesign metadata in android artifacts (flutter/engine#37951) (flutter/flutter#116209)
2022-11-29<EMAIL_ADDRESS>Roll Flutter Engine from 7c4b01fe9a1f to e9dc20ed05c9 (2 revisions) (flutter/flutter#116197)
2022-11-29<EMAIL_ADDRESS>Use Isolate.run as implementation for compute (flutter/flutter#115779)
2022-11-29<EMAIL_ADDRESS>Revert "Update SnackBar to support Material 3" (flutter/flutter#116199)
2022-11-29<EMAIL_ADDRESS>Update SnackBar to support Material 3 (flutter/flutter#115750)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins
Please CC<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Plugins: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


Definition parameter +no_defs crashes pyproj

Any definition parameter without an '=' will actually crash the logic on init.py, line 698:
File "/usr/local/lib/python2.7/dist-packages/pyproj/init.py", line 698, in new
k,v = kvpair.split('=')
The definition I used was: +proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +units=m +nadgrids=@null +no_defs +x_0=5113560.997131 +y_0=2662158.879021

I'm running pyproj 1.9.4.
from pyproj import Proj, transform

p_grid = Proj('+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +units=m +nadgrids=@null +no_defs +x_0=5113560.997131 +y_0=2662158.879021')
p_wgs = Proj('+init=epsg:4326')
transform(p_wgs, p_grid, -87.6, 34.5, 0)

>>>  (-4626894.447280438, 6758297.919468232, 0.0)

I tried transforming a point to that projection and it gave me output and didn't crash.  I couldn't replicate this.
Could you give a code sample that demonstrates the crash?

import pyproj
g=pyproj.Geod("+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +units=m
+nadgrids=@null +no_defs +x_0=5113560.997131 +y_0=2662158.879021")
Traceback (most recent call last):
File "", line 1, in
File "/usr/local/lib/python2.7/dist-packages/pyproj/init.py", line
697, in new
k,v = kvpair.split('=')
ValueError: need more than 1 value to unpack
Version 1.8.9, but the crashing code is the same
On Mon, Oct 5, 2015 at 6:26 PM, Micah Cochran<EMAIL_ADDRESS>wrote:

I'm running pyproj 1.9.4.
from pyproj import Proj, transform
p_grid = Proj('+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +units=m +nadgrids=@null +no_defs +x_0=5113560.997131 +y_0=2662158.879021')
p_wgs = Proj('+init=epsg:4326')
transform(p_wgs, p_grid, -87.6, 34.5, 0)

(-4626894.447280438, 6758297.919468232, 0.0)

I tried transforming a point to that projection and it gave me output and
didn't crash. I couldn't replicate this.
Could you give a code sample that demonstrates the crash?
—
Reply to this email directly or view it on GitHub
https://github.com/jswhit/pyproj/issues/22#issuecomment-145673179.

Using that Proj.4 definition in Geod() on version 1.9.4 raises a ValueError exception.
With the exception of +a= and +b= parameters, everything else in that string is nonsensical input for Geod().  What should pyproj when given input that is a valid Proj.4 string, but not valid for defining an ellipse?  My hunch is that it should ignore the invalid parameter, which is what it seems to do for all the other Proj.4 parameters.

I guess that the library already ignores it. We should check if the
parameter contains an '=' before splitting it. I don't know what to do with
the parameter after that, as it expects a pair for every one.
On Tue, Oct 6, 2015 at 11:21 AM, Micah Cochran<EMAIL_ADDRESS>wrote:

Using that Proj.4 definition in Geod() on version 1.9.4 raises a
ValueError exception.
With the exception of +a= and +b= parameters, everything else in that
string is nonsensical input for Geod(). What should pyproj when given
input that is a valid Proj.4 string, but not valid for defining an ellipse?
My hunch is that it should ignore the invalid parameter, which is what it
seems to do for all the other Proj.4 parameters.
—
Reply to this email directly or view it on GitHub
https://github.com/jswhit/pyproj/issues/22#issuecomment-145871405.

Proj.__new__() only does .split('=') when preserve_units=False and only to get rid of the +units parameter in order to force the units to meters.   Proj() feeds the Cython code a Proj.4 string, even if you gave dictionary input.  I assume that string gets passed up to the Proj.4 C library, but I quit reading it--too much information.
Underneath the Geod Cython Code there is a C port of GeographicLib (natively a C++ library), which is included in the Proj.4 library.  Interestingly enough, there is a Python port of GeographicLib, but it does not include other ellipses.  I assume the intent of the Geod class is mirror the geod command.  The Geod.__new__(), passes only what the values of +a and +f are to the Cython code.
Checking if the parameter contains a '=' before splitting is a great workaround.  Would you like to code it or would you like someone else to code the workaround?

I can do it. I will just fork it  and push the change to you.
On Tue, Oct 6, 2015 at 5:25 PM, Micah Cochran<EMAIL_ADDRESS>wrote:

Proj.new() only does .split('=') when preserve_units=False and only
to get rid of the +units parameter in order to force the units to meters.
Proj() feeds the Cython code a Proj.4 string, even if you gave dictionary
input. I assume that string gets passed up to the Proj.4 C library, but I
quit reading it--too much information.
Underneath the Geod Cython Code there is a C port of GeographicLib
http://geographiclib.sourceforge.net/ (natively a C++ library), which
is included in the Proj.4 library. Interestingly enough, there is a Python
port https://pypi.python.org/pypi/geographiclib of GeographicLib, but
it does not include other ellipses. I assume the intent of the Geod class
is mirror the geod command https://trac.osgeo.org/proj/wiki/man_geod.
The Geod.new(), passes only what the values of +a and +f are to the
Cython code.
Checking if the parameter contains a '=' before splitting is a great
workaround. Would you like to code it or would you like someone else to
code the workaround?
—
Reply to this email directly or view it on GitHub
https://github.com/jswhit/pyproj/issues/22#issuecomment-145989631.

Can this be closed?

I think so. The issue is fixed and there is a unit test for it.
On Jan 17, 2016 6:22 PM, "Micah Cochran"<EMAIL_ADDRESS>wrote:

Can this be closed?
—
Reply to this email directly or view it on GitHub
https://github.com/jswhit/pyproj/issues/22#issuecomment-172377099.


Subscribe after reconnect

Pretty urgent to get this deployed; any AMQP broker restart breaks integrations

Coverage increased (+0.05%) to 74.389% when pulling 05d44e7918e8191c33b2f1b83078c19ecb54a416 on fix/amqp-reconnect into 5df4b8844b253295c6e77557d677e6f14b3de4ec on develop.


Amazon Kinesis

Example scenario: consume streams from a Kinesis Data Stream, filter/manipulate data and publish into another Kinesis stream using a produce(r) task in a similar way how AWS EventBridge Pipes does that with Lambda functions https://aws.amazon.com/eventbridge/pipes/

Proposed task: PutRecords
Proposed syntax:
id: kinesis_data_streams_producer
namespace: dev
tasks:
  - id: records
    type: io.kestra.plugin.aws.kinesisdatastreams.PutRecords
    streamName: required string
    records: # required list of maps or JSON string in a structure as below:
      - data: my custom blob object e.g. "user sign-in event"
        partitionKey: required string for sharding e.g. "user1"
        explicitHashKey: optional hash value overriding the partition key
      - data: user sign-out event
        partitionKey: user1
    records2: | # showing only to show JSON-string payload to "records"
        [
          {
            "Data": "user sign-in event",
            "PartitionKey": "user1"
          },
          {
            "Data": "user sign-out event",
            "PartitionKey": "user1"
          }
        ]

in theory, we could offer streamArn property, but I believe it would lead to overly complicated logic -- I can't imagine anyone preferring to use streamArn over just streamName. Still, if we were to provide that as an option, we would add:
    streamArn: required string if streamName is not provided. there must always be either streamName or StreamArn set. if this is too difficult to handle, we can provide just the "stream" property and detect whether this is ARN based on the pattern arn:aws.*:kinesis:.*:\d{12}:stream/\S+


If the first page is an explicit #page call state and counter updates before it are ignored

Description
Take a look at the following snippet:
#let number = counter("part-number")
#part_number.update(10)
#page[#number.display()]

The resulting document has only one page and the number is 0, when it should be 10. The same also happens with states.
My guess is that typst removes the first page if it only contains whitespace to not have an empty page before the first page it the document starts with an explicit #page call, though I have not verified if this is really what's happening.
If this is the reason possible solutions would be to either not threat state/counter updates as whitespace in this context (so the above snippet would start with an "empty" page containing only the update) or to automatically move the update into the page.
Reproduction URL
No response
Operating system
Linux
Typst version

[X] I am using the latest version of Typst

Same as #2134, this was caused by #1929 and is unfortunately not fixed by #2141. Bit of a similar issue as the second snippet in https://github.com/typst/typst/pull/1929#issuecomment-1718332099. Like you said, the explicit page leads to stuff around it being deleted.


Update README.md with link to CLA.

Makes the CLA easier to find.

Codecov Report

Merging #816 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #816   +/-   ##
=========================================
  Coverage     60.95%   60.95%
  Complexity     2891     2891
=========================================
  Files           441      441
  Lines         13122    13122
  Branches       1429     1429
=========================================
  Hits           7998     7998
  Misses         4512     4512
  Partials        612      612

Continue to review full report at Codecov.

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


[Feature Request] Implement analytics for public website

Github page offers limited analytics.
We should have more comprehensive analytics for public website. We can create similar AppInsight integration as Typescript website.

est: 8


Add testcloud provisioner

This MR adds provisioning of qcow2 images via testcloud.
To test with a qcow2 from url:
tmt run -a provision -h testcloud --image https://kojipkgs.fedoraproject.org/compose/branched/latest-Fedora-32/compose/Cloud/x86_64/images/Fedora-Cloud-Base-32-20200301.n.0.x86_64.qcow2

To test with a local qcow2:
tmt run -a provision -h testcloud --image file:///home/user/fedora.qcow2

To test with latest Rawhide:
tmt run -a provision -h testcloud --image fedora
tmt run -a provision -h testcloud --image rawhide
tmt run -a provision -h testcloud --image fedora-rawhide

Other mappings will come later, as it is a bit PITA to do ....
Signed-off-by: Miroslav Vadkerti<EMAIL_ADDRESS>

Note that testcloud will print on stdout information about formatting the VM disk, here is a patch for that for testcloud:
https://pagure.io/testcloud/pull-request/61

Seems the StrictHostKeyChecking should be added to rsync commands as well:
Warning: remote host identification has changed!
Failed to run command 'rsync -Rvaze "ssh -i ...

Or shall we include -o UserKnownHostsFile=/dev/null in the ssh options as well?

@psss all should be fixed, waiting for ssh to be available was added ... options needed for seamless connection via ssh added to everyting ...
Kindly asking for next round of review

Nice, thanks! The ssh retry fixed the connection problem. One last thing: Perhaps we should remove -v from rsync. I don't think it's necessary to print all synced files on the output.

Nice, thanks! The ssh retry fixed the connection problem. One last thing: Perhaps we should remove -v from rsync. I don't think it's necessary to print all synced files on the output.

ok

@psss done


Replace futures with futures-util

@messense — FYI, I just published Moka v0.6.1 to crates.io. Thanks!


No Generators Detected

I am unable to use the ignite generate commands, whenever I attempt to, I get the error dialog shown in the attached image.

Steps to reproduce

Install a new ignite app using npx ignite-cli new PizzaApp --expo
Run ignite generate

npx ignite-cli doctor results:

@amorain2 Based on your ignite doctor, it looks like you have an old global version (3.5.3) of ignite-cli installed. Can you remove that and try again?

Updating solved the problem! Thanks for the suggestion! Not sure how that happened


Question on train1.py's and train2.py's runtimes.

Hi,
I'm trying this out, but I've only a gtx 960 gpu. I was wondering what kinds of training run times do you have for these 2? Will it take me weeks, days, hours? When I started python train1.py, A few lines of logging came out, but seems to have frozen already, with no sign of life nor error.
I hope you can give me an idea what to expect.
Thank you very much,
=)

@jswilson would you mind sharing how long train2 took you, if you tried it on the arctic dataset?

I've been running Train2 for over a day now and my results are more erratic than a mountain goat on LSD, so I'm a tad concerned that it'll never converge.

@VictoriaBentell any news? did it converged?

No, I assume that it's similar to this issue. It seems like the arctic dataset itself might be the problem, and so I'm going to try and find another dataset to replace that.

@VictoriaBentell  May I ask when you were using train2, did you use your own voice corpus? If so, how did you do that?

Originally I was using the arctic dataset, but I haven't done anything with it since my last response, so I'll try making my own corpus and get back to you on the results. As far as I'm aware, it should be as straightforward as replacing each wav file in bdl and slt with any source and target respectively. As long as the source and target are saying the same things for 3 or 4 seconds each, the result should be fine... I hope.

@VictoriaBentell
May I ask if your model converges now? Did it work out using arctic dataset? If you have train2 result, could you please share it with me for a try?


Remove unnecessary use directives

Suggested by "cargo clippy".

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

Comparison is base (eb676b2) 93.02% compared to head (000ecb8) 93.02%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master       #5   +/-   ##
=======================================
  Coverage   93.02%   93.02%
=======================================
  Files           2        2
  Lines         215      215
=======================================
  Hits          200      200
  Misses         15       15

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


AfterFX.exe crashing with dialog

We've encountered several situations where the AfterFX.exe process crashes with a dialog that prevents the process from terminating, and subsequently hangs the nexrender worker until the render timeout elapses. This is obviously problematic, especially when the workers are running as background services, and took us a while determine the cause.
Does anyone know if there's a way to avoid displaying this dialog in the event of a crash? Apparently checking 'Don't show again' doesn't help!
Alternatively, it'd be good if nexrender could detect this situation, and automatically terminate the process.

Any information what is the cause of the crash within the dialog box as reported by AfterFX?

Not that I can see, although there is a process dump provided.

I experienced this hangs myself. They are indeed a rare occurrence, happening once per 100 renders or so.
However, I was never able to understand the root cause.

I'm fairly sure there are some AEP files that consistently crash with aerender, but I'm sure the converse is also true.
Do you think there would be anything we could put into place to detect this crash, and kill the process early?

This happened to me twice in the past week.  Here is the windows event log.  I also saved the dmp file from the after effects crash window if that might help.
AE Error.txt

I noticed RADAR_PRE_LEAK_64 in the log, which points me to this: https://answers.microsoft.com/en-us/windows/forum/all/radarpreleak64/a534e186-65ab-42c9-97e2-b654a713f0db
Could be that there is some bug in AE that causes extensive memory leak, which then in turn causes OS to terminate the process, or something along those lines.


Where is path to Ubuntu.exe?

I need to use this to hyper.is terminal and for VSCode.
Now in hyper.is it's looks like this:
shell: 'C:\\Windows\\System32\\bash.exe',
And in VSCode:
"terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\bash.exe",
But if I change this to:
shell: 'C:\\Windows\\System32\\Ubuntu.exe',
or:
"terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\Ubuntu.exe",
that's does not work.
I need to use Ubuntu.exe instead of bash.

@therealkenc thanks. I did not know about where command in windows. That's path works in VSCode.

@ketozhang I had the same issue on mine.
I managed to fix it by going to "Add or remove programs" then selecting Ubuntu
Inside the Advanced Options, ran the Repair and this fixed it so ubuntu worked at the cmd prompt again.

@jdunkerley I had the same issue on mine.、
But I could not found Ubuntu in "Add or remove programs"
See the snapshot below.

After I installed ubuntu or kali in the Store, I could found the ubuntu or kali.

I think the problem was that the ubuntu I was using was the Legacy one.

This shouldn't be closed. It should be possible to find out a program's location by right clicking it.

I have a same issue with the configuration totally, can't find the program checked if Ubuntu was installed by the SHOP it was, but the Windows Subsystem For Linux is not installed
How can we ever change from a Linux Distribution to another Hyper-v only works with real ISO files & slows down the performances of the Machine & otherwise screws up wireless connections

I installed mine via the Windows Store and couldn't find the location either. I found in Apps & Features a selection that allows you to see App execution aliases and i was able to determine that the Ubuntu exe was ubuntu1804.exe l searched my C:\ for the file and found it in Users/youruser/AppData/Local/Microsoft/WindowsApps/C:\Users\ericw\AppData\Local\Microsoft\WindowsApps\CanonicalGroupLimited.Ubuntu18.04onWindows_79rhkp1fndgsc/
I hope this helps anyone who is still lost.

To compound on that, this in my hyper config gives me a working CLI:
    shell: "C:\\Users\\ericw\\AppData\\Local\\Microsoft\\WindowsApps\\ubuntu1804.exe",
    shellArgs: [],

Having shellArgs as an empty array is key :-)

I have moved my Ubuntu installation using export and import commands and then removed Ubuntu which had installed from MS Store. Now I work with the Ubuntu which I have exported. Is there a way so that I could find a file like ubuntu.exe for this exported Ubuntu?
In the exported place I have these files :
temp      // An empty folder with size 0 bytes
ex4.vhdx  // A .vhdx file with size 14.1 Gbytes
fsserver  // A file which is 0 bytes

I have moved my Ubuntu installation using export and import commands and then removed Ubuntu which had installed from MS Store. Now I work with the Ubuntu which I have exported. Is there a way so that I could find a file like ubuntu.exe for this exported Ubuntu?
In the exported place I have these files :
temp      // An empty folder with size 0 bytes
ex4.vhdx  // A .vhdx file with size 14.1 Gbytes
fsserver  // A file which is 0 bytes

Were you able to find the exact path of the executable?

@subhamX  No, I didn't find any solutions.

I have moved my Ubuntu installation using export and import commands and then removed Ubuntu which had installed from MS Store. Now I work with the Ubuntu which I have exported. Is there a way so that I could find a file like ubuntu.exe for this exported Ubuntu?
In the exported place I have these files :
temp      // An empty folder with size 0 bytes
ex4.vhdx  // A .vhdx file with size 14.1 Gbytes
fsserver  // A file which is 0 bytes

same with you,here are my solutions:

add -s params when you install .tar.xz through using LxRunOffline,then U can have an ‘executable' link to start ubuntu
maybe U can solve the problems by reading WSL-DistroLaunchcher or WSL-Distribution-Switcher

@therealkenc thanks. I did not know about where command in windows. That's path works in VSCode.

same :O

I don't know how but I lost my ubuntu.exe in C:\Users\USERNAME\AppData\Local\Microsoft\WindowsApps
I checked C:\Windows\System32 which is where wsl.exe and bash.exe is located but ubuntu.exe still not found
Window Store executable exist in C:\Program Files\WindowsApps\CanonicalGroupLimited.UbuntuonWindows_1604.2017.922.0_x64__79rhkp1fndgsc however executable is locked from even admin.
Anyway to generate the executable without reinstall Ubuntu?

I managed to unlock the executable by going into the security settings of it, making my Admin account owner and then giving myself full access.

C:\Windows\system32\wsl.exe -d Ubuntu

You can add %localappdata%\Microsoft\WindowsApps to your path:
This will point to: C:\Users\<username>\AppData\Local\Microsoft\WindowsApps, which will allow ubuntu.exe to be in your path.
Or you can add C:\Users\<username>\AppData\Local\Microsoft\WindowsApps\ubuntu.exe to the Ubuntu profile under the "Command Line" setting in Settings (either directly paste it in or browse to it.) Don't forget to change your username.
Note: I uninstalled and reinstalled Ubuntu and before that I tried to reset and repair in the apps Advanced Settings, but that still didn't work, so I knew it still couldn't find the executable in the path.


Add DELETE function

Add function for delete
Test coverage 100%

I think it's already added

I think it's already added

Oh, yes I missed it🥹