Watch errors on gulp-sass when saving file

While having a gulp watch task running, sometimes a file save triggers a SASS-ing, which will provide the following error. Resaving the file will usually solve the problem. sometime more than 1 resave is needed.
ERROR:
[watcher] File d:\....y\scss\breakpoints\_768up.scss was changed, compiling...
[14:02:08] Starting 'sass'...
[14:02:08] Finished 'sass' after 5.16 ms
[gulp-sass] library\scss\style.scss
Error: File to import not found or unreadable: breakpoints/768up
       Parent style sheet: stdin
        on line 64 of stdin
>>      @import "breakpoints/768up";
   -^

I upgraded gulp-sass just last night. I had this error also before the update, but it was a bit less detailed: only the Error: File to import not found or unreadable: breakpoints/768up
Using Windows 8.1
Gulpfile:
'use strict';

// Include gulp
var gulp = require('gulp');

// Include Our Plugins
var jshint = require('gulp-jshint');
 var sass = require('gulp-sass');
var concat = require('gulp-concat');
var uglify = require('gulp-uglify');
var rename = require('gulp-rename');
// var livereload = require('gulp-livereload');
var prefix = require('gulp-autoprefixer');

var paths = {
    styles: {
        src: './library/sass',
        files: './library/scss/**/*.scss',
        dest: './library/css'
    }
}

var displayError = function(error) {

    // Initial building up of the error
    var errorString = '[' + error.plugin + ']';
    errorString += ' ' + error.message.replace("\n",'\n'); // Removes new line at the end - Q nope

    // If the error contains the filename or line number add it to the string
    if(error.fileName)
        errorString += ' in ' + error.fileName;

    if(error.lineNumber)
        errorString += ' on line ' + error.lineNumber;

    // This will output an error like the following:
    // [gulp-sass] error message in file_name on line 1
    console.error(errorString);
}

// Lint Task
gulp.task('lint', function() {
    return gulp.src('library/js/*.js')
        .pipe(jshint())
        .pipe(jshint.reporter('default'));
});

// Compile Our Sass
gulp.task('sass', function() {
    gulp.src(paths.styles.files)
    .pipe(sass({
        // outputStyle: 'compressed',
        sourceComments: 'map'
        // includePaths : [paths.styles.src]
    }))
    // If there is an error, don't stop compiling but use the custom displayError function
    .on('error', function(err){
        displayError(err);
    })
    // Pass the compiled sass through the prefixer with defined
    .pipe(prefix(
        'last 2 version', 'safari 5', 'ie 8', 'ie 9', 'opera 12.1', 'ios 6', 'android 4'
    ))
    // Funally put the compiled sass into a css file
    .pipe(gulp.dest(paths.styles.dest));
    // .pipe(livereload());
});

// Concatenate & Minify JS
gulp.task('scripts', function() {
    return gulp.src('library/js/*.js')
        .pipe(concat('all.js'))
        .pipe(gulp.dest('dist'))
        .pipe(rename('all.min.js'))
        .pipe(uglify())
        .pipe(gulp.dest('dist'));
});

// Watch Files For Changes
gulp.task('watch', function() {
    // livereload.listen();
    gulp.watch('library/js/*.js', ['lint', 'scripts']);
    gulp.watch('library/scss/**/*.scss', ['sass'])
    .on('change', function(evt) {
        console.log(
           '[watcher] File ' + evt.path.replace(/.*(?=sass)/,'') + ' was ' + evt.type + ', compiling...'
        );
    });
});

// Default Task
gulp.task('default', ['lint', 'sass', 'scripts', 'watch']);

Have you gone through the faq at https://github.com/dlmanning/gulp-sass/wiki/Common-Issues-and-Their-Fixes ?

Well, before posting i did make sure to update gulp-sass, but not node-sass [it was not more than a month old though]
I just ran an update, but as this error is a bit sporadic, ill have to wait and see.
aaaaand  here we go again.. =\
[23:47:54] Finished 'sass' after 2.06 ms
[gulp-sass] library\scss\editor-style.scss
Error: File to import not found or unreadable: partials/normalize
       Parent style sheet: stdin
        on line 20 of stdin
>>      @import "partials/normalize";
   -^

Have the same problem. Just goes away after a couple of saves and then appears again out of the blue. I have this isue in a main.scss file where I only import other stuff. I don't touch that file an yet now and then it breaks down with the same error.

+1

I'm pretty sure that gulp.watch will happily start working on files while they are in the process of being modified. I have a gulp.watch task that copies images to dist from a source directory, and I noticed that when I used convert to write processed images directly to my source directory, the copy in dist would only be the beginning of the image.
This could be a related problem. If your editor is in the process of writing out a file and gulp.watch starts processing it while it is still being written, it would probably cause sporadic problems like this.

I'm facing this issue with Github Atom. It doesn't have 'atomic_save' option like Sublime Text.
Is there any workaround?

I read in somewhere that i cannot remember, but in my case the problem was set to gulp-sass .css files, so i just had to remove them.
@rahulnever2far, But I guess that is not what are you looking for.

+1

Might be related to #426 and #425

Unfortunately this issue an issue with gulp.watch and is out of our control. In my experience the issue get's better if you watch less files i.e. exclude bower_components and node_modules.

I'm faced with the same issue. But in my file structure I'm using node modules, so I've just set setTimeout to my require of scss task and it seems to work for me.
For example:
> scss.gulp.js:

'use strict';

const gulp = require('gulp');
const sass = require('gulp-sass');
const notify = require('gulp-notify');

let sassTask = function () {
    return gulp.src('./src/scss/styles.scss')
        .pipe(
            sass()
            .on('error', notify.onError({
		 message: "Error: <%= error.message %>",
	    	 title: "Error in Sass"
	    }))
        )
        .pipe(gulp.dest('./dist/css/'));
}

module.exports = sassTask;

> watch.gulp.js:

'use strict';

const gulp = require('gulp');
const watch = require('gulp-watch');

const paths = {sass: 	'./src/scss/**/*.scss'};
gulp.task('watch', function () {
  watch(paths.sass, () => setTimeout(require('./scss.gulp'), 400));
});

timeout is very best! now @import Error: File to import not found or unreadable: IS SOLVED
my simple is 👍
var admin_css_task = function () {
config.sass.includePaths = _adminSassInc;
gulp.src(_adminSassMain)
.pipe(sass(config.sass))
.pipe(gulp.dest(_adminCssDest));
};
gulp.task('admin-css', admin_css_task);
gulp.task('watch', function () {
gulp.watch(_adminSass, function () {
setTimeout(function () {
admin_css_task();
}, 500);
});
});
gulp.task('run', ['admin-css', 'watch']);


Usage with native Dialog element

Describe the feature / bug 📝:
Unfortunately, Sonner is not possible to use with the native <dialog /> element.
https://stackblitz.com/edit/vitejs-vite-zmfggr?file=src%2FApp.jsx

You can "Fix" this by also adding a Toaster to the dialog see.
https://stackblitz.com/edit/vitejs-vite-ir2t3m?file=src%2FApp.jsx
This isnt ideal because it renders the Toast twice.
I created a feature request that proposes a solution to this:
https://github.com/emilkowalski/sonner/issues/404

yea good solution, containerId would solve this issue.


Replication of STOA for Reuters Dataset

[x] Pack padded sequences in LSTM_baseline

[x] Add TensorBoardX support for Reuters trainer

[x] Add Arxiv Academic Paper Dataset (AAPD)

[ ] SGM for multi-label classification (https://arxiv.org/abs/1806.04822)

[ ] Regularizing and optimizing LSTM_baseline (https://arxiv.org/abs/1708.02182)

Work in progress: Please don't merge until all of the tasks above are done.

Corresponding pull-request in Castor-Data: https://git.uwaterloo.ca/jimmylin/Castor-data/merge_requests/11

@achyudhk Regarding the data format, if you keep label text in dataset, you can use some function for conversion.  I use this scripts format for myself. You could do similar thing:
def one_hot_representation(shape, dim, idx, value):
  one_hot = torch.LongTensor(*shape).zero_().to(idx.device)
  one_hot.scatter_(dim, idx, value)
  return one_hot

@Impavidity Thanks, I'll change the existing datasets I pushed to Castor-data to this format.

Additional STOAs :

[x] HAN
[ ] Graph CNN

Steps for LSTM_Regularzation :

[x] NT-ASGD (for SGD as an optimizer)
[ ] Temporal Activation Regularization and Activation Regularization
[ ] Temporal Averaging for Adam (for Adam as an optimizer)

@Impavidity I made the changes you requested. Please take a look at the diff.


Add Missing TagManager for isCombatTag check on CombatTagManager class

Currently only checks CombatTag not CombatTagPlus players if they are combat tagged.  Need to add the check.

Use CombatTagPlus.getTagManager().isTagged(victim.getUniqueId())

Fixed by https://github.com/Civcraft/PrisonPearl/pull/67


A question about the scan_data() function

I tried out the new function scan_data() on some of my data tables at work. It's really great as it is and actually has so much more potential. Just wondering if the HTML can be included in a Connect-based Rmarkdown report?
It would be killer to share daily summaries of changing datasets with Connect in this way. By the way, we are using the validation stuff in this package to great effect. Everyone's pretty impressed with the results from this package and I'm teaching people how to use it (our data changes quite a bit and there are constant data quality issues -- pointblank helps us A LOT in this regard and its honestly a lifesaver)

Well, I have some good news for you: it totally works! You can use scan_data() in an RMarkdown chunk (use echo=FALSE) and it’ll appear in the rendered doc.
There’s also an also to disable the top nav bar of the generated HTML from scan_data(). So, you can include as many of the report’s sections you want (that’s also an option) and put in other content wherever necessary for the reporting.
And, with Connect, you can have a multiple of these reporting documents (with historical reports easily accessible in the same place). Try it out and let me know how it goes. Really glad to hear that you and the team like the package. Always feel free to make more feature requests!


General Error Issue

Problem: So as a pretty new developer, it was hard for me to understand the error message being thrown when "my/your" backend code is incorrect. This had caused me to waste days and the same could probably be said for other countless other devs. Errors in backend code will result in either: No Access Origin Control OR when you add a wildcard origin header to app.php it throws multiple of the same cannot be present.
Solution:
Do your error messages correctly if possible.
|
Make a notice on the front page readme about this issue.
I've not seen this problem mentioned in any of the newer issues, which is why I find it necessary to point and say that this is inexcusable

Can you provide an example what was wrong? Problem is that the response is swallowed by the browser when the headers missing.

This is the example: https://github.com/fruitcake/laravel-cors/issues/447
The error was in my controller in laravel, it contained an error. But, as you can see on the photos there, the errors being thrown are not correct.
tl;dr: backend code is wrong, console throws errors about cors, instead of throwing errors about my code.
I don't know whether you could fix this error message. But it would be nice to know about this problem in the readme so that devs don't have to waste time trying to fix an error which is nonexistent.

Hi @barryvdh @IliaMaz I debug this issue https://github.com/fruitcake/laravel-cors/issues/433#issuecomment-620902302
I have not found any solution yet but I will.

I'm closing this due to inactivity. If you still encounter this issue on the latest version (2.0.1 at the moment), please open a new issue with detailed information.


Add Enabled and OnTopOfCoreBlur to ScreenGui

This change adds the Enabled and OnTopOfCoreBlur props to ScreenGui.

Coverage increased (+0.002%) to 98.059% when pulling 1dd40df918bf88491ca016db7b9053ee94b3784a on dbrooks-roblox:master into bf2f27030e57979a7c320da674ee54c2aefa7545 on LPGhatguy:master.


The connection string is missing the property: Hostname

The connectionstring from connection1.txt file don't work?
The SubscriptionKeyCredenteial used from primary key Shared Key Authentication Microsoft Maps
Somebody show me example about this parameters

The connectionstring in connection1.txt have some character extra.
Solve:
The connection string you'll use in the Node.js app (that follows in the next unit) starts with HostName=, so separate off this part of the string in your text document, so you've one line containing a string that looks similar to the following: HostName=iotc-.azure-devices.net;DeviceId=;SharedAccessKey=.


TokenPicker: Tab to jump to next .

It would be a neat addition for the TokenPicker when using it to autocomplete if pressing Tab would jump to the next .
So if I type
{colors.b
And the plugin gives me suggestions like
colors.black.100
colors.black.200
...

and I press Tab
My new value is
{colors.black.
That way if I know I need a token that is in that colors.black space I can quickly jump to those without having to type.

Added to Featurebase Roadmap : 🪙 Token organization enhancements


Showing different size of disk library while creating it using sdk and manually using cifs share through network path.

Hi,
I am creating the disk library using network path for CIFS share.
I observed 2 different output while creating the disk library manually and the other with SDK.
Using Commvault SDK version- SP11
With SDK-
It is giving me space of windows machine instead of the backup media/disk library.
commcell.disk_libraries.add(library_name="tl1", media_agent="windows2012r2_mediaagent", mount_path="\at86.chs.local\ct", username="admin", password="123")
DiskLibrary class instance for library: "tl1" of Commcell: "windows2012r2"

Manually-
But when I create the disk library manually passing same values to the field using network path it is showing the actual disk size of backup media which is correct output.

Am I missing something here.

Hi @Anu-26 ,
This seems like some API / back-end issue.
Can you please open a TR. Respective teams will take a look and update you.
Thanks,
Jatin

Hi Jatin,
I don't know what is TR.Can you please tell me from where to open a TR.
Regards,
Anmol

Please contact Commvault customer support, and they'll open a ticket, and help you resolving this issue.


feat: Wrap error returned from run with context error

Fixes #1212
This change allows the error returned by p.Run to be checked for a context error.
For example, given this code:
ctx := context.WithDeadline(context.Background, time.Second*5)
p := tea.NewProgram(model, tea.WithContext(ctx))
_, err := p.Run()
if errors.Is(err, context.DeadlineExceeded) {
  // Handle timeout
}

This change now allows this to work.
This opens up more possibilities, allowing a program to cancel a context, and look for the reason for the cancellation.

Ooh, I see go.mod is pinned to version 1.18. That makes context.Cause unavailable. That's unfortunate. I'll revert that commit, so it's compatible with 1.18.

Wow, that was fast! If functionality is the same with the new version, want to also put a little comment in there about how to use the hot, new context.Cause when we're ready to bump the lib up to 1.20?

@meowgorithm Sure. Not a problem. What's the standard way to do that on this project? A // TODO comment above the code, or some other method?

// TODO: is just fine!

Darnit. Looks like this is not possible with this version of go. Pipeline is still failing with:

fmt.Errorf call has more than one error-wrapping directive %w

It works fine on my machine, running 1.23.
I checked back with the old docs. fmt.Errorf says this for 1.18:

It is invalid to include more than one %w verb

But, for 1.20 and after, it says:

If there is more than one %w verb, the returned error will implement an Unwrap method returning a []error containing all the %w operands in the order they appear in the arguments.

Looks like this is a non-starter as long as bubbletea is based on 1.18.
I see that the 2.0 alpha branch is still on 1.18, and not a newer version. Any thoughts on when this upgrade might happen?

Maybe it's time. I know a lot of projects typically support the last two versions of Go, and 1.18 came out about two and a half years ago. Want to reopen this?

@meowgorithm Should I reopen it targeting the 2.0 branch, instead of main?
I imagine bumping the version of go would probably constitute a breaking change, no?

v2 would be ideal, however are you okay working against that version, seeing that it will take some time for us to reach a stable release?

Sounds good. This will be a good one to get in, so thank you.

I'll rebase against the v2 branch, and open a new one. I can't find a way to change the base on GitHub anyway.


Surfing Keys - Browser

Hello, Surfing Keys seems to be missing from the browser section.

This one is new for me. Thanks for sharing.
Feel welcome to open a PR :)

Sure no problem!
On Thu, Apr 13, 2023, 2:41 PM Erik Westrup @.***> wrote:

This one is new for me. Thanks for sharing.
Feel welcome to open a PR :)
—
Reply to this email directly, view it on GitHub
https://github.com/erikw/vim-keybindings-everywhere-the-ultimate-list/issues/9#issuecomment-1507518476,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AOBPJBNPD4Y3GQ4HX7R2JI3XBBJIJANCNFSM6AAAAAAW5NQ3JY
.
You are receiving this because you authored the thread.Message ID:
<erikw/vim-keybindings-everywhere-the-ultimate-list/issues/9/1507518476@
github.com>


As Middleware?

Great stuff you got here!
A question though, I'm trying to make a middleware on Nuxt.js that is role-based. It is basically easier to have like,
 export default {
    name: 'dashboard',
    middleware: ['auth', 'role-admin']
  }

rather than checking each and every component of what role the user has
mounted(){
  if(this.$laravel.hasRole('admin') {
    // redirect
  }
}

So far, I've created a role-admin.js middeware with
export default function(context) {
  if (!process.server) {
    if( context.app.$laravel.hasRole('admin') {
       // redirect to their default page
    }
  }
}

But the thing is, context.app.$laravel is undefined.
Am I missing something? Thanks for your help!

Seems like if I treat it as a middleware, it will hit in every route. So instead, I had it as a plugin:
export default ({ store, redirect, $laravel }, inject) => {
  inject('isAdmin', () => {
    if( !$laravel.hasRole('admin') ) {
      redirect('/')
    }
  })
}

..and called into each component like this.$isAdmin.
But then again, $laravel seems to be undefined.

@ruelluna Laravel Permissions in injected into the Vue instance, try to access it by:
import Vue from 'vue'

export default ({ store, redirect }, inject) => {
  inject('isAdmin', () => {
    if( !Vue.prototype.$laravel.hasRole('admin') ) {
      redirect('/')
    }
  })
}

@Wit3 I invite you to try the new version of Vue Gates! 🎉


feat: add ability to request tx metadata per ecs event

Adds new ecsEventsIncludeTxMetadata flag to a ECSStreamBlockBundleRequest that is used to open a stream. If ecsEventsIncludeTxMetadata is set to true, every ECS event will contain a new field with a TxMetadata struct that contains information about the transaction that originated that event
message TxMetadata {
  string to = 2;
  bytes data = 3;
  uint64 value = 4;
}

in typescript (auto generated)
export interface TxMetadata {
  to: string;
  data: Uint8Array;
  value: number;
}

This is motivated as a replacement for "system call streams"

do i need to run the streaming service in a specific way in order to emit the metadata? i'm testing locally and the metadata is blank

i layered on this PR that parses the SystemCall events out of the stream
https://github.com/latticexyz/mud/pull/254


Microsoft 365 community feedback -

Type of issue
Routine content update
Feedback
Loop has changed a lot since this article was published over a year ago. Integration has been established with Planner and To Do. Loop components are now supported in Teams channels. Components are easier to find, appearing in search results, the M365 feed and recently used files. They are easy to share with people beyond the initial conversation if so desired.
Page URL
https://learn.microsoft.com/en-us/microsoft-365/community/which-task-management-option
Content source URL
https://github.com/MicrosoftDocs/microsoft-365-community/blob/main/Community/which-task-management-option.md
Author
@dfrancoeur
Document Id
74d9a950-4cba-819c-21ec-da1d480d5af8

@DarrellaaS - Any interest in making updates? I can't think of anyone more knowledgeable!

@dfrancoeur - Ditto to you.

@DarrellaaS - Any interest in making updates? I can't think of anyone more knowledgeable!

Sure thing. I can contribute. I haven’t taken the “how to GitHub” course yet. But I’ll figure it out.

@DarrellaaS - Any interest in making updates? I can't think of anyone more knowledgeable!

Sure thing. I can contribute. I haven’t taken the “how to GitHub” course yet. But I’ll figure it out.

Happy to help you get up to speed if you need it. Ideally you make the changes in a PR here yourself so your name is attached to the article.

I'm happy to help as well 🙂

From: Marc D Anderson @.>
Sent: February 15, 2024 9:20 AM
To: MicrosoftDocs/microsoft-365-community @.>
Cc: David Francoeur @.>; Mention @.>
Subject: Re: [MicrosoftDocs/microsoft-365-community] Microsoft 365 community feedback - (Issue #900)
@DarrellaaShttps://github.com/DarrellaaS - Any interest in making updates? I can't think of anyone more knowledgeable!
Sure thing. I can contribute. I haven’t taken the “how to GitHub” course yet. But I’ll figure it out.
Happy to help you get up to speed if you need it. Ideally you make the changes in a PR here yourself so your name is attached to the article.
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/microsoft-365-community/issues/900#issuecomment-1946192861, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AS4B75QBZW6ABKYLKAKQPLTYTYKUHAVCNFSM6AAAAABDCQBA76VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBWGE4TEOBWGE.
You are receiving this because you were mentioned.


[Event Request] Table 5612 "FA depreciation Book" - OnBeforeShowBookValueAfterDisposal

Hello, we would like to get the following new Event OnBeforeShowBookValueAfterDisposal in the procedure ShowBookValueAfterDisposal. Thanks!
procedure ShowBookValueAfterDisposal()
    var
        TempFALedgEntry: Record "FA Ledger Entry" temporary;
        FALedgEntry: Record "FA Ledger Entry";
        IsHandled: Boolean;
    begin
        IsHandled := false;
        OnBeforeShowBookValueAfterDisposal(Rec, IsHandled);
        if not IsHandled then
            if "Disposal Date" > 0D then begin
                Clear(TempFALedgEntry);
                TempFALedgEntry.DeleteAll();
                TempFALedgEntry.SetCurrentKey("FA No.", "Depreciation Book Code", "FA Posting Date");
                DepreciationCalc.SetFAFilter(FALedgEntry, "FA No.", "Depreciation Book Code", false);
                SetBookValueAfterDisposalFiltersOnFALedgerEntry(FALedgEntry);
                PAGE.Run(0, FALedgEntry);
            end else begin
                SetBookValueFiltersOnFALedgerEntry(FALedgEntry);
                PAGE.Run(0, FALedgEntry);

[IntegrationEvent(false, false)]
    local procedure OnBeforeShowBookValueAfterDisposal(var FADepreciationBook: Record "FA Depreciation Book"; var IsHandled: Boolean)
    begin
    end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 52878.


Add a warning to all pages when not explicitly running in production

The warning is controlled by a ENV variable called PHPENV.
Accepted values are: dev, staging, production
This fixes #780.

Why not use the warning box we have on http://elementary.io/docs/installation#recommended-system-specifications ?

Didn't think we already had a style like that. Can rewrite the error to make it look like that.

I apologise in advance for my poor commit titles, the web editor does not lend itself to good practices.


fix: include valid postgres capacity configurations

Fixes https://github.com/cloudtools/troposphere/issues/1600
We are using troposphere and stacker to spin up Aurora Serverless
clusters using Postgresql and received errors that our MaxCapacity
arguments to ScalingConfiguration were failing validation even though
AWS documentation showed them to be correct.
This adds the valid options for postgres as well as mysql

Thanks!


Added DNS Config attribute to allow use of custom dns configuration

Sample DNS Configuration.
dnsConfig:
    nameservers:
    - <IP_ADDRESS>
    searches:
    - svc.cluster.local
    - cluster.local
    - {{ .Values.region }}.compute.internal
    options:
    - name: ndots
      value: '2'

DNS Config allows us to provide custom DNS routing rules to enable Pods with Host network to search Kubernetes services and endpoints.

@TylerHelmuth Closing this PR in the interest of: https://github.com/open-telemetry/opentelemetry-helm-charts/pull/477
The operator might need more changes than expected. Looking into it.


28 new override location

No more edits to library.css
Length edit to library.js NOT implemented as part of these changes
Randomizer and Vidswap now use new uioverrides location

Closes #28


very disappointing :-(

Hi,
you changed installation.
But is it better now?
H:\src\lisp\ocicl-main>sbcl --load setup.lisp
This is SBCL 2.3.2, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
This is SBCL 2.3.2, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
While evaluating the form starting at line 99, column 0
  of #P"H:/src/lisp/ocicl-main/setup.lisp":

debugger invoked on a UIOP/RUN-PROGRAM:SUBPROCESS-ERROR in thread
#<THREAD "main thread" RUNNING {234E0001}>:
  Subprocess with command "sbcl --dynamic-space-size 3072 --no-userinit --eval \"(require 'asdf)\" --eval \"(progn (push (uiop:getcwd) asdf:*central-registry*) (asdf:make :ocicl) (sb-ext:quit))\""
 exited with error code 1

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [CONTINUE] IGNORE-ERROR-STATUS
  1: [RETRY   ] Retry EVAL of current toplevel form.
  2:            Ignore error and continue loading file "H:\\src\\lisp\\ocicl-main\\setup.lisp".
  3: [ABORT   ] Abort loading file "H:\\src\\lisp\\ocicl-main\\setup.lisp".
  4:            Ignore runtime option --load "setup.lisp".
  5:            Skip rest of --eval and --load options.
  6:            Skip to toplevel READ/EVAL/PRINT loop.
  7: [EXIT    ] Exit SBCL (calling #'EXIT, killing the process).

(UIOP/RUN-PROGRAM::%CHECK-RESULT 1 :COMMAND "sbcl --dynamic-space-size 3072 --no-userinit --eval \"(require 'asdf)\" --eval \"(progn (push (uiop:getcwd) asdf:*central-registry*) (asdf:make :ocicl) (sb-ext:quit))\"" :PROCESS NIL :IGNORE-ERROR-STATUS NIL)
   error finding frame source: Bogus form-number: the source file has probably
                               changed too much to cope with.
   source: NIL
0] 7

After removing --dynamic-space-size 3072:
H:\src\lisp\ocicl-main>sbcl --load setup.lisp
This is SBCL 2.3.2, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
This is SBCL 2.3.2, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
; compiling file "H:/src/lisp/ocicl-main/package.lisp" (written 09 MAY 2024 09:04:22 PM):

; wrote C:/Users/Marc/AppData/Local/cache/common-lisp/sbcl-2.3.2-win-x86/H/src/lisp/ocicl-main/package-tmp7LQ0A0VI.fasl
; compilation finished in 0:00:00.000
; compiling file "H:/src/lisp/ocicl-main/unix-opts.lisp" (written 09 MAY 2024 09:04:22 PM):

; wrote C:/Users/Marc/AppData/Local/cache/common-lisp/sbcl-2.3.2-win-x86/H/src/lisp/ocicl-main/unix-opts-tmp74KGUNRZ.fasl
; compilation finished in 0:00:00.083
; compiling file "H:/src/lisp/ocicl-main/deflate.lisp" (written 09 MAY 2024 09:04:22 PM):

; wrote C:/Users/Marc/AppData/Local/cache/common-lisp/sbcl-2.3.2-win-x86/H/src/lisp/ocicl-main/deflate-tmpCEL1YIM2.fasl
; compilation finished in 0:00:00.189
; compiling file "H:/src/lisp/ocicl-main/minitar.lisp" (written 09 MAY 2024 09:04:22 PM):

; wrote C:/Users/Marc/AppData/Local/cache/common-lisp/sbcl-2.3.2-win-x86/H/src/lisp/ocicl-main/minitar-tmpHAMQABTV.fasl
; compilation finished in 0:00:00.031
; compiling file "H:/src/lisp/ocicl-main/ocicl.lisp" (written 09 MAY 2024 09:04:22 PM):

; wrote C:/Users/Marc/AppData/Local/cache/common-lisp/sbcl-2.3.2-win-x86/H/src/lisp/ocicl-main/ocicl-tmpUPMG0IBO.fasl
; compilation finished in 0:00:00.126
[undoing binding stack and other enclosing state... done]
[performing final GC... done]
[saving current Lisp image into H:\src\lisp\ocicl-main\ocicl.exe:
writing 5888 bytes from the static space at 22110000
writing 22740992 bytes from the dynamic space at 22210000
writing 5719096 bytes from the read-only space at 04350000
done]
While evaluating the form starting at line 100, column 0
  of #P"H:/src/lisp/ocicl-main/setup.lisp":

debugger invoked on a SB-EXT:FILE-DOES-NOT-EXIST in thread
#<THREAD "main thread" RUNNING {234E0001}>:
  The file #P"H:/src/lisp/ocicl-main/oras/oras_1.1.0_windows_arm64.tar.gz" does
  not exist:
    Das System kann die angegebene Datei nicht finden.

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [CREATE   ] Reopen with :if-does-not-exist :create
  1: [CONTINUE ] Retry opening.
  2: [USE-VALUE] Try opening a different file.
  3: [RETRY    ] Retry EVAL of current toplevel form.
  4:             Ignore error and continue loading file "H:\\src\\lisp\\ocicl-main\\setup.lisp".
  5: [ABORT    ] Abort loading file "H:\\src\\lisp\\ocicl-main\\setup.lisp".
  6:             Ignore runtime option --load "setup.lisp".
  7:             Skip rest of --eval and --load options.
  8:             Skip to toplevel READ/EVAL/PRINT loop.
  9: [EXIT     ] Exit SBCL (calling #'EXIT, killing the process).

(SB-IMPL::FILE-PERROR #P"H:/src/lisp/ocicl-main/oras/oras_1.1.0_windows_arm64.tar.gz" 2 SB-EXT:FILE-DOES-NOT-EXIST)
0]

I am on my home windows machine again, so this should not be arm but oras_1.1.0_windows_amd64.tar.gz
Also the executable is written to:
H:\src\lisp\ocicl-main\%UserProfile%\AppData\Local\ocicl\bin\ocicl.exe

and not the user profile!

I am very disappointed :-(
Marc

after some wrangling, I have it working.
Last time installing usocket worked, but now:
H:\src\hl7.lisp>ocicl install usocket
; downloaded ghcr.io/ocicl/usocket@sha256:03fe799dbff5b3d80e319c727d92471151105d99681c4b9c1514470b3bfc3dae
; downloaded ghcr.io/ocicl/split-sequence@sha256:3a37662eedd99c42995587b9d443c4631f25c4c523091bcca31a27b880585b8e

debugger invoked on a SB-INT:EXTENSION-FAILURE in thread
#<THREAD "main thread" RUNNING {251C0049}>:
  Don't know how to REQUIRE sb-bsd-sockets.
See also:
  The SBCL Manual, Variable *MODULE-PROVIDER-FUNCTIONS*
  The SBCL Manual, Function REQUIRE

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [RETRY                        ] Retry
                                     completing load for #<REQUIRE-SYSTEM "sb-bsd-sockets">.
  1: [ACCEPT                       ] Continue, treating
                                     completing load for #<REQUIRE-SYSTEM "sb-bsd-sockets">
                                     as having been successful.
  2:                                 Retry ASDF operation.
  3: [CLEAR-CONFIGURATION-AND-RETRY] Retry ASDF operation after resetting the
                                     configuration.
  4:                                 Retry ASDF operation.
  5:                                 Retry ASDF operation after resetting the
                                     configuration.
  6: [ABORT                        ] Exit from the current thread.

(REQUIRE "sb-bsd-sockets" NIL)
0]

Can you help fix it?
I'm surprised %UserProfile% is not substituted in.  Do get have to getenv() it, and then format it into the path?

I've fixed the %UserProfile% problem.  I'll see if I can replicate the other one.

I can't.  What version of sbcl are you using?   What does features say?

Latest precompiled 2.4 something?Am 09.05.2024 23:59 schrieb Anthony Green @.***>:
I can't.  What version of sbcl are you using?   What does features say?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

quick note:
SBCL 2.3.2
features
(:OCICL :ASDF3.3 :ASDF3.2 :ASDF3.1 :ASDF3 :ASDF2 :ASDF :OS-WINDOWS
:NON-BASE-CHARS-EXIST-P :ASDF-UNICODE :X86 :GENCGC :ANSI-CL :COMMON-LISP
:IEEE-FLOATING-POINT :LITTLE-ENDIAN :PACKAGE-LOCAL-NICKNAMES :SB-LDB
:SB-PACKAGE-LOCKS :SB-SAFEPOINT :SB-THREAD :SB-UNICODE :SBCL :WIN32)

It should be fixed now.  Please try it out.
On Fri, May 10, 2024 at 5:59 AM Marc Rohrer @.***>
wrote:

quick note:
SBCL 2.3.2
features
(:OCICL :ASDF3.3 :ASDF3.2 :ASDF3.1 :ASDF3 :ASDF2 :ASDF :OS-WINDOWS
:NON-BASE-CHARS-EXIST-P :ASDF-UNICODE :X86 :GENCGC :ANSI-CL :COMMON-LISP
:IEEE-FLOATING-POINT :LITTLE-ENDIAN :PACKAGE-LOCAL-NICKNAMES :SB-LDB
:SB-PACKAGE-LOCKS :SB-SAFEPOINT :SB-THREAD :SB-UNICODE :SBCL :WIN32)
—
Reply to this email directly, view it on GitHub
https://github.com/ocicl/ocicl/issues/40#issuecomment-2104319275, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAV7CNZZZTI2NL4RGYUDNLZBSLAXAVCNFSM6AAAAABHPLLK4CVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMBUGMYTSMRXGU
.
You are receiving this because you commented.Message ID:
@.***>

Hi,
very much improved!
But: wat is the problem with the "--dynamic-space-size 3072" option?
It gives me an error all the time! I simple remove it and it always works immediately.
H:\src\lisp\ocicl-main>sbcl --load setup.lisp
This is SBCL 2.3.2, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
This is SBCL 2.3.2, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
While evaluating the form starting at line 103, column 0
  of #P"H:/src/lisp/ocicl-main/setup.lisp":

debugger invoked on a UIOP/RUN-PROGRAM:SUBPROCESS-ERROR in thread
#<THREAD "main thread" RUNNING {234E0001}>:
  Subprocess with command "sbcl --dynamic-space-size 3072 --no-userinit --eval \"(require 'asdf)\" --eval \"(progn (push (uiop:getcwd) asdf:*central-registry*) (asdf:make :ocicl) (sb-ext:quit))\""
 exited with error code 1

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [CONTINUE] IGNORE-ERROR-STATUS
  1: [RETRY   ] Retry EVAL of current toplevel form.
  2:            Ignore error and continue loading file "H:\\src\\lisp\\ocicl-main\\setup.lisp".
  3: [ABORT   ] Abort loading file "H:\\src\\lisp\\ocicl-main\\setup.lisp".
  4:            Ignore runtime option --load "setup.lisp".
  5:            Skip rest of --eval and --load options.
  6:            Skip to toplevel READ/EVAL/PRINT loop.
  7: [EXIT    ] Exit SBCL (calling #'EXIT, killing the process).

(UIOP/RUN-PROGRAM::%CHECK-RESULT 1 :COMMAND "sbcl --dynamic-space-size 3072 --no-userinit --eval \"(require 'asdf)\" --eval \"(progn (push (uiop:getcwd) asdf:*central-registry*) (asdf:make :ocicl) (sb-ext:quit))\"" :PROCESS NIL :IGNORE-ERROR-STATUS NIL)
   error finding frame source: Bogus form-number: the source file has probably
                               changed too much to cope with.
   source: NIL
0]

Marc

Ok, I've made this customizable.  Just search for 2048 in the docs.

Great! Thanx!Am 11.05.2024 20:26 schrieb Anthony Green @.***>:
Ok, I've made this customizable.  Just search for 2048 in the docs.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Hi,
unfortunately, this is not working. The varioable from the command line 8192 does not get used, but the set default.
H:\src\ocicl-main>sbcl --eval "(defconstant +dynamic-space-size+ 8192)" --load setup.lisp
This is SBCL 2.3.2, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
This is SBCL 2.3.2, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.

SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses.  See the CREDITS and COPYING files in the
distribution for more information.
While evaluating the form starting at line 106, column 0
  of #P"H:/src/ocicl-main/setup.lisp":

debugger invoked on a UIOP/RUN-PROGRAM:SUBPROCESS-ERROR in thread
#<THREAD "main thread" RUNNING {24F500E9}>:
  Subprocess with command "sbcl --dynamic-space-size 3072 --no-userinit --eval \"(require 'asdf)\" --eval \"(progn (push (uiop:getcwd) asdf:*central-registry*) (asdf:make :ocicl) (sb-ext:quit))\""
 exited with error code 1

Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [CONTINUE] IGNORE-ERROR-STATUS
  1: [RETRY   ] Retry EVAL of current toplevel form.
  2:            Ignore error and continue loading file "H:\\src\\ocicl-main\\setup.lisp".
  3: [ABORT   ] Abort loading file "H:\\src\\ocicl-main\\setup.lisp".
  4:            Ignore runtime option --load "setup.lisp".
  5:            Skip rest of --eval and --load options.
  6:            Skip to toplevel READ/EVAL/PRINT loop.
  7: [EXIT    ] Exit SBCL (calling #'EXIT, killing the process).

(UIOP/RUN-PROGRAM::%CHECK-RESULT 1 :COMMAND "sbcl --dynamic-space-size 3072 --no-userinit --eval \"(require 'asdf)\" --eval \"(progn (push (uiop:getcwd) asdf:*central-registry*) (asdf:make :ocicl) (sb-ext:quit))\"" :PROCESS NIL :IGNORE-ERROR-STATUS NIL)
   error finding frame source: Bogus form-number: the source file has probably
                               changed too much to cope with.
   source: NIL
0]

I can only get it to work, when I completely remove the "--dynamic-space-size" parameter for sbcl. Don't know what the default for windows is though. I tried various values up to 24GB.
For a potential user, this should work out of the box I guess. The more you need to know, the lesser the probability he will be a real user...
Marc

Please try this again with the latest code.


Add manifest to avoid dotnet failure on iast TestURI

Description
Fix dotnet test failures introduced in the PR https://github.com/DataDog/system-tests/pull/1672
Motivation

Workflow

⚠⚠ Create your PR as draft
Follow the style guidelines of this project (See how to easily lint the code)
Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
Mark it as ready for review

Once your PR is reviewed, you can merge it! :heart:
Reviewer checklist

[ ] Check what scenarios are modified. If needed, add the relevant label (run-parametric-scenario, run-profiling-scenario...). If this PR modifies any system-tests internal, then add the run-all-scenarios label (more info).
[ ] CI is green

[ ] If not, failing jobs are not related to this change (and you are 100% sure about this statement)

[ ] if any of build-some-image label is present

is the image labl have been updated ?
just before merging, locally build and push the image to hub.docker.com

[ ] if a scenario is added (or removed), add (or remove) it in system-test-dasboard nightly

Replace this PR by:  https://github.com/DataDog/system-tests/pull/1827


Fixes data loss on unplug the power on download files. If we would no…

…t fsync here and update a metadata and then unplug power we lose data.

Changes Unknown when pulling 3cdfe630d261710d78e530b9de82c398c88286ed on julianhille:feature/fix_sync_issues into ** on theupdateframework:develop**.

This does NOT fix the issue if you unplug the power cable directly after the destination file has been opened with 'wb' and ANY data has been written. It will be empty afterwards

Thanks for these pull requests (including #367) to force downloaded metadata to be written to disk (mentioned in issue #366).


CNN for text classifcation in R : how to structure input data for mxnet (not an issue)

Hi,
If this is not the right forum to ask below question, kindly direct me to the right one. I didnot see any activity on stack overflow for mxnet  R package:
I am really new to deep learning and trying to implement a CNN model for text classification based on the paper Convolutional Neural Networks for Sentence Classification by Yoon Kim. He has provided the code on github which is in python. I don't know python.
I know how to run a CNN in mxnet based on the following blog post
I need help in how to structure the input dataset required by mxnet. I know how to convert every sentence into word vectors using package "text2vec" glove function. But since there will be many sentences how do i create the final training dataset for input into CNN model.
I appreciate all your help.
regards,
Amit Bothra

Hi amitkb3. Did you solve this problem? Could you share with me? Thank you

@Anppy @amitkb3
You can find a complete example using CNN in MXNet R from the link below:
https://github.com/Azure/Cortana-Intelligence-Gallery-Content/tree/master/Tutorials/Deep-Learning-for-Text-Classification-in-Azure/R
It includes the code for data processing and training.

@thirdwing    The provided link doesn't work, is it possible too see the complete code somewhere?

@hodarahmati Please use the link below: https://github.com/thirdwing/Cortana-Intelligence-Gallery-Content/tree/master/Tutorials/Deep-Learning-for-Text-Classification-in-Azure/R


Access to all commandkeys?

In my application I need access to all existing circuitbreakers for an own dashboard implementation. So I'm searching for a possibility to get all command keys. Is there any option? Otherwise I have to manage them in my application on my own.

Ok, found them via Metrics. ;-)


Test Issue created at Wed, 14 Jul 2021 15:24:17 GMT

Test issue body  Wed, 14 Jul 2021 15:24:17 GMT

Comment on issue at Wed, 14 Jul 2021 15:24:20 GMT


pouchdb-find is merged in pouchdb

Pouchdb-find is on the process of merging in pouchdb mono repo. Reference

Thank you very much... I will update my dependencies.


INSTALL_FAILED_INVALID_APK

After adding this library to my android project I can't launch the app on devices/emulators
Install process is failing with The application could not be installed: INSTALL_FAILED_INVALID_APK
If I remove the library everything is working ok...
Any idea why?
Maybe it's worth mentioning that I have a multiple module app

Never mind. It was an issue in my side


TcpListener.accept is not cancellation safe, an open fd can be leaked

It took some finagling but I was able to create a scenario where the Future created by a TcpListener.accept call was partially polled, but not to completion. In select! parlance, a test I wrote shows the Future is not cancellation safe because the side effect was that file descriptors were being assigned by the kernel and never closed (until the process was terminated).
This is what I had expected but only after seeing the more obvious case of the multi accept Stream being dropped while the kernel races to create file descriptors that the user land will never get to recognize - they are put into the cq and read out as cqe's that were being ignored.
So some cleanup function should be definable for the singleshot accept case and the multishot accept case where the ignored lifetime variant still has a way to reclaim resources in a synchronous way, based on the type of operation that is now being ignored.
I was going to work on the multishot case for this fd leak but after realizing it can affect the singleshot case too, and getting an example binary that can reproduce the singleshot case, planning a solution first for the more general singleshot case seems prudent.

#207 provides an example of this leak in action.

We really need to audit and cleanup our cancellation semantics.

I agree. I think the cancellation of the future itself, with respect to the slab and what not is working but here is a case where we would need some cleanup function to be called, to avoid leaking a resource that the kernel (and libc?) have given us.
Want to propose something?

I'd like to do so soon, but I'm flying again today to visit family and won't be back at my place until Sunday night. I might be able to do something between then and now but probably not.

I'm wondering if an API where we build the future for the op, but before calling await, we hydrate it somehow with a cleanup handler. For this particular case, some type of handler that takes the result and closes the file descriptor that can be gleaned from it.

This is what I've been thinking about as well. I kinda wanna do this with my upcoming (soon:tm:) draft PR of new "builder-style" op semantics. I'd like to generify a few things like this.


Setting loop count in website

Hi,
an advanced option on the website to set the amount of loops for an APNG would be great. 0 could act as default for infinite looping.
Greets,
midzer

Hello,
Thanks for the input. I went ahead and built in loop control and you can use it on the website now under advanced. 0 or leaving it blank will be infinite. It always defaulted to infinite looping before because that was by far the most common.

Just checked it out and it works fine for me. Awesome!


Make call to Sprintf lazy

This results in a measurable performance improvement (~ 10% better) on a large test suite due to the number of iterators created
CLA signed and submitted

benchmark                                   old ns/op     new ns/op     delta	mult
BenchmarkNamePredicate                      400559        382713        -4.46%	-1.05x
BenchmarkLargeSetsNoIntersection            6462063       5786903       -10.45%	-1.12x
BenchmarkVeryLargeSetsSmallIntersection     12796114      10848564      -15.22%	-1.18x
BenchmarkHelplessContainsChecker            42974392      38127931      -11.28%	-1.13x
BenchmarkHelplessNotContainsFilms           42733549      38866808      -9.05%	-1.10x
BenchmarkHelplessNotContainsActors          41440420      38027936      -8.23%	-1.09x
BenchmarkNetAndSpeed                        2993519       2864484       -4.31%	-1.05x
BenchmarkKeanuAndNet                        2742137       2617562       -4.54%	-1.05x
BenchmarkKeanuAndSpeed                      2898534       4645030       +60.25%	+1.60x
BenchmarkKeanuOther                         6235815       5927680       -4.94%	-1.05x
BenchmarkKeanuBullockOther                  9494207       8492887       -10.55%	-1.12x
BenchmarkSaveBogartPerformances             42541420      10034930      -76.41%	-4.24x

I'll point out the "big win" and "big loss" are due to my laptop hanging on one or the other. Net over net, it seems to be a solid 5-10%-er for the memstore, logically enough, more on deeper queries.


Missing display and LED controls in HA

Hi Frode. I just installed this integration and the climate control seems to be working perfectly! Awesome work!
I’m just missing the LED and display controls. Any idea why? I’ve disconnected the display from the ventilation unit and hooked up the a+b wires to the usb to HA.
The ventilation unit is a Lindab LVAM 300 (with nilan CTS600)

Nice, I didn't know there were non-Nilan units with the CTS600.
The LED is not a "control" but rather a "sensor" entity. From your photo it seems to me you get no sensors at all, is that true?
For my Nilan VPL15 I get 15 sensors including the LED, flow speed and various temperature sensors.
Would you be able to turn on HA debug logging for the CTS600 and see if there are some interesting messages as HA starts up?

From your log it looks like this is the same as issue #5. Could you see if there's an update available through HACS and if that update helps?

No update was available in HACS. But I switched from version '2023-09-11' to 'main' (fafbe6e) version and that fixed the problem. Now it wants to update again though.

Right, I'll try and make a proper release version soon.


test: PFM test case for CI job ictest-forward is failing on main

After the upgrades to the PFM to accommodate ibc-go v8 we are seeing one of the test cases fail in CI
see: https://github.com/cosmos/ibc-apps/actions/runs/7454152262/job/20284768753?pr=158

this may just be flakey. re-runnint - github did some networking changes recently and have seen more fail because of failed starts

this may just be flakey. re-runnint - github did some networking changes recently and have seen more fail because of failed starts

that was my initial thought as well but i re-ran it a few times between last night and today and it kept failing in the same way so figured i would at least open an issue so we can verify tests are passing locally. it looked like they were passing in the initial PR so perhaps it is just a GitHub runner issue causing weirdness

re-run passed: https://github.com/cosmos/ibc-apps/actions/runs/7454152262/job/20318173217


Add gzip compression

When running as server this provides a nice performance boost. Not sure if locally it helps.

great

Juste released a 0.7 version (which contains your patch) ...
So I close this PR (can't merge)
thanks a lot !


changes to blue theme

this change makes blue theme have a darker style. if wanted I also made a light version of blue theme though I think this looks better. I also added ping counter color to this. shortly I will start adding the variable to other styles along with a couple other variables.

Way less eye soaring than the current iteration 👍.


Update chokidar to 0.12.5

Resolves problems with beefy and live reloading / fs watching on latest OSX. Lots of these kinds of errors:
npm: 2.1.17
node: 0.10.35
2015-01-03 12:33 node[11267] (CarbonCore.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
2015-01-03 12:33 node[11267] (CarbonCore.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
2015-01-03 12:33 node[11267] (CarbonCore.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)
2015-01-03 12:33 node[11267] (CarbonCore.framework) FSEventStreamStart: register_with_server: ERROR: f2d_register_rpc() => (null) (-21)

Updates chokidar to 0.12.5
Other projects having same issues:
https://github.com/substack/watchify/issues/106
https://github.com/joyent/node/issues/5463
https://github.com/ember-cli/ember-cli/issues/2226
etc ;)
Thanks!

Thanks! Merged in c25bc823ba9caad2a57f41743e0ab661aebfc3fd.


Carousel and safari

Carousel stops to slide after some time. So if I open page and wait for 10-15 minutes (use another tabs, some action else) carousel stops and buttons (prev, next) don't work. If I refresh page or go to another route and come back it start to work again.
I use 'disable-animate' directive to remove ngAnimate influence on the carousel.
I can reproduce this only in Safari. So is there any suggestion?

+1

Needs more info e.g. plunkr & angular/bootstrap/angular-ui versions

hey, I've got it with
-AngularJS v1.3.0
-AngularUI 0.12 ( only carousel compontent )
-ngAnimate disabled by this hack
    angular.module('ui.bootstrap.setNgAnimate', ['ngAnimate']).directive('setNgAnimate', [     '$animate', function($animate) {       return {         link: function($scope, $element, $attrs) {           $scope.$watch(function() {             return $scope.$eval($attrs.setNgAnimate, $scope);           }, function(valnew, valold) {             $animate.enabled(!!valnew, $element);             return void 0;           });           return void 0;         }       };     }   ]);
I can't use next/prev when I replaced collection of slides (if I use carousel-indicators before click on next/prev they're works again).
if ngAnimate with hack has been removed, everything works fine.

AngularJS v1.2.16.
When I use ngAnimate - I need to disable it for carousel by using $animate.enabled(false, element);
After these I get frozen carousel in Safari after a while (10-15 minutes)

Can we have a reproduction of this on Plunker?

The carousel now fully supports ngAnimate, so reading this ticket more carefully, I think it is now fixed by https://github.com/angular-ui/bootstrap/commit/431b9c76b05f2bab693e05b60d3c50b51a1459ee#diff-30d1e93e1beedfb395ccbc9fb0658f81.
Let us know if this is still an issue.


lexicon.json not found.

(leolani) ➜  cltl-chatbots git:(main) python src/chatbots/bots/episodic_text_memory.py
/home/tk/.virtualenvs/leolani/lib/python3.8/site-packages/rdflib_jsonld/__init__.py:9: DeprecationWarning: The rdflib-jsonld package has been integrated into rdflib as of rdflib==6.0.1.  Please remove rdflib-jsonld from your project's dependencies.
  warnings.warn(
[nltk_data] Downloading package punkt to /home/tk/nltk_data...
[nltk_data]   Package punkt is already up-to-date!
Traceback (most recent call last):
  File "src/chatbots/bots/episodic_text_memory.py", line 6, in <module>
    from cltl.triple_extraction.api import Chat
  File "/home/tk/.virtualenvs/leolani/lib/python3.8/site-packages/cltl/triple_extraction/api.py", line 15, in <module>
    from cltl.triple_extraction.analyzer import Analyzer
  File "/home/tk/.virtualenvs/leolani/lib/python3.8/site-packages/cltl/triple_extraction/analyzer.py", line 4, in <module>
    from cltl.triple_extraction.utils.helper_functions import *
  File "/home/tk/.virtualenvs/leolani/lib/python3.8/site-packages/cltl/triple_extraction/utils/helper_functions.py", line 19, in <module>
    lexicon = json.load(open(os.path.join(ROOT, 'data', 'lexicon.json')))
FileNotFoundError: [Errno 2] No such file or directory: '/home/tk/.virtualenvs/leolani/lib/python3.8/site-packages/cltl/triple_extraction/utils/../data/lexicon.json'

I tried several hacks (e.g., copying the lexicon.json in to the directory where it's expected), but it causes more errors.
This should be fixed in a right way.


Dashboard ingress and custom view

Description
This PR adds:

an ingress for the dashboard during the installation of liqo. The user will have to input the host as a variable (DASHBOARD_INGRESS) exported before the installation and add a certificate (and key) in the secret created with the ingress.
the custom views CRD, used by the dashboard to create views that show a subset of CRDs selected by the user.

ref #230

/rebase

Pull Request Test Coverage Report for Build 249463808

0 of 0   changed or added relevant lines in 0 files are covered.
8 unchanged lines in 2 files lost coverage.
Overall coverage increased (+0.06%) to 50.91%

Files with Coverage Reduction
New Missed Lines
%

internal/liqonet/tunnelEndpointCreator-operator.go
2
65.4%

internal/kubernetes/endpoints.go
6
72.78%

Totals

Change from base Build 249428643:
0.06%

Covered Lines:
6772

Relevant Lines:
13302

💛  - Coveralls


Update ecb.py sample problem to python3

pycrypto not included by default, install via problem pip_requirements

Nice. Thanks for fixing this.

Note: the previous output from ecb.py was in lowercase. It is now caps.


Wolf Pack not properly updated, clan form links need updating

1 => Need to add The Wolf Pack to the list
2 => Forms should be updated wordpress links

Solved in #104


nix-fallback-paths.nix: Update to 2.4

Motivation for this change
Created by the Nix release script. This is not tested and should be combined with changing nixStable to point to 2.4.
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

See also #144197 “nix: 2.3.16 -> 2.4”.

I cherry-picked this into #144197

Included #144197


map_clear_deep removes reference

I don't know if it's intentional or not buf if you use map_clear_deep map becomes invalid. It seems that map_clear don't reproduce this error.
Code:
new Map:test = map_new();
map_clear_deep(test);

for_map(i : test)
{

}

Message log:
[PawnPlus] map_iter: map reference is invalid (value 0x629CD4)

Already fixed by 28e569dd86edb9d8b87a0e6ef91bceb50ea86548.


(Re)move trigger related fields from R0/R1/DL0 Container

It is stored in event.trigger, these fields were simply forgotten when we made that transition.


Make sure to close an existing connection before every transaction since it's currently not being handled properly by ethers

I have also encountered https://github.com/wighawag/hardhat-deploy/issues/88 where ethers doesn't close (or reuses)  open HID connections correctly, which makes it impossible to execute the scripts using a Ledger device, resulting in a crash in node-hid.
This PR fixes this issue by keeping track of an opened LedgerSigner instance and closing it before ethers attempts to open another connection to the device.
I tested this on our heavy deployment (https://github.com/bancorprotocol/contracts-v3/tree/dev/deploy), and everything works properly.

Hey @wighawag, could you take a look? We have been using this for over a month very successfully with many transactions in a single script

@wighawag?

Hey @wighawag, this is the very last missing piece for hardhat-deploy to fully work with Ledger (or at least a Ledger Nano X). I haven't looked at the conflict of this branch but my guess is that it should be easy to merge. 🙏

Hey @lbeder would you mind reviewing the changes and fixing the conflict.
sorry all for not being very quick on all these PR/issues, been carried away with many other things

Hey @wighawag, done and done. Please check it out 🙏

Excelent, thanls @lbeder
published under 0.11.28


virtual-scroll inside mat-select new values not visible & big space

Bug, feature request, or proposal:
Bug
What is the expected behavior?
cdk-virtual-scroll-viewport inside a mat-select or mat-autocomplete should align with the overlay panel.
<mat-form-field>
    <mat-select placeholder="State">
	<cdk-virtual-scroll-viewport [itemSize]="10">
      	  <mat-option *cdkVirtualFor="let state of states" [value]="state">
             {{state}}
          </mat-option>
	</cdk-virtual-scroll-viewport>
   </mat-select>
</mat-form-field>

What is the current behavior?
When scrolled cdkVirtualFor does not seem to add more elements and moreover shows a big space from last element of the initial set of items to the end.
What are the steps to reproduce?
https://stackblitz.com/edit/angular-h4xptu-dgjd87?file=app/select-reset-example.html
What is the use-case or motivation for changing an existing behavior?

Occasionally I run into scenarios where the items in the list are too many and makes the page unresponsive.

Seem-less integration of cdk-virtual-scroll-viewport with other components.

mat-select essentially can handle any number of elements when this works.

Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular CLI: 6.1.5
Node: 10.0.0
OS: win32 x64
Angular: 6.1.4
... animations, common, compiler, core, forms, http
... platform-browser, platform-browser-dynamic, router

Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.7.5
@angular-devkit/build-angular      0.7.5
@angular-devkit/build-ng-packagr   0.7.5
@angular-devkit/build-optimizer    0.7.5
@angular-devkit/build-webpack      0.7.5
@angular-devkit/core               0.7.5
@angular-devkit/schematics         0.7.5
@angular/cdk                       6.4.7
@angular/cdk-experimental          6.4.7
@angular/cli                       6.1.5
@angular/compiler-cli              6.1.7
@angular/flex-layout               6.0.0-beta.17
@angular/language-service          6.1.7
@angular/material                  6.4.7
@ngtools/webpack                   6.1.5
@schematics/angular                0.7.5
@schematics/update                 0.7.5
rxjs                               6.2.2
typescript                         2.9.2
webpack                            4.9.2

Is there anything else we should know?
Great work

Workaround:-
https://stackblitz.com/edit/angular-h4xptu-zyj4yh?file=styles.css
Added class virtual-scroll to mat-select
mat-select placeholder="State" class="virtual-scroll">

and add global styles as below:-
In styles.css add
.mat-select-panel.virtual-scroll {
    max-height: 100% !important;
    overflow: inherit !important;
}
.mat-select-panel .cdk-virtual-scroll-viewport {
   max-height: 240px !important;
}

.mat-select-panel .cdk-virtual-scroll-content-wrapper {
    position: inherit !important;
    top: inherit !important;
    left: 0;
}

I think the real solution is that mat-select-panel should ideally behave like cdk-virtual-scroll-viewport which is what this workaround crudely tries to do in totality by negating scrolling properties of mat-select-panel and having cdk-virtual-scroll-viewport take charge.

Not quite the workaround above: The above workaround has problems when the overlay is closed and reopened and scrolled in between.
When scrolled to a few elements down and the select panel is reopened next time we see a blank space above.
This is solved by setRenderedRange to the initial range which gets set initially on the scrolledIndexChange event.
Then further when the mat-select emits openedChange on close we reset the rendered range to the initialRange that we preserved upfront.
https://stackblitz.com/edit/angular-h4xptu-kuu5xg?file=app%2Fselect-reset-example.ts
  scrolledIndexChange($event) {
    if (!this.initialRange) {
      this.initialRange = this.cdkVirtualScrollViewport.getRenderedRange();
    }

  }
  openedChange(opened) {
    if (!opened) {
      this.cdkVirtualScrollViewport.setRenderedContentOffset(0);
      this.cdkVirtualScrollViewport.setRenderedRange(this.initialRange)
    }
  }

Another issue with mat-select (for anyone working on this):-
If the currently selected value is not in the mat-options the SelectionModel fails because the world according it is limited to the options query which may not have this options if it is out of range.
Workaround:
Supplement additional mat-option in addition to mat-option that has cdkVirtualScroll.
<mat-option *ngIf="selectCtrl?.value" [value]="selectCtrl?.value"></mat-option>

Related to https://github.com/angular/material2/issues/10122
@yogeshgadge Thanks for posting these findings, good stuff to know.

workarround for mat select using @yogeshgadge s approach with a form control
(css in stylus syntax)
<ng-container *ngIf="isMultiple">
        <mat-option class="selected-options-bottom" *ngFor="let option of control.value" [value]="option">{{option.caption}}</mat-option>
      </ng-container>
      <ng-container *ngIf="!isMultiple">
        <mat-option class="selected-options-bottom" *ngIf="control.value" [value]="control.value">{{control.value.caption}}</mat-option>
      </ng-container>

with css:
.selected-options-bottom
   visibility hidden
   position absolute

giving the mat-select a panelClass, e.g. custom-mat-select with
::ng-deep .mat-select-panel.custom-mat-select

  overflow hidden
  max-width 280px

I just gave the example in the issue desription a quick look - itemSize should be the height of individual items, not the length of the array?

Also cdk-virtual-scroll-viewport inside a mat-menu doesn't work properly. Sometimes, blank space appears with mouse wheel scrollling.
StackBlitz

@StefanoLucchi Same thing happen to me. And when you reopen the menu it's empty

@StefanoLucchi @justindiaw I had the same problem, but helped me increasing minBufferPx and maxBufferPx to eg. 300 and 600

The solution above didnt work for me to prevent the dropdown from blanking out when you scroll away from the selected item. I just used the placeholder to always show it:
<mat-select #select [placeholder]="select.triggerValue">

And I hid the original one using
.mat-select-value-text { display: none; }

A slight change to @yogeshgadge's solution and changing the buffers as suggested by @kubex320 solved all the white space issues.
    <mat-select
      (openedChange)="onOpenedChange($event)"
    >
      <cdk-virtual-scroll-viewport
        [itemSize]="optionSizePx"
        [style.height.px]="numOptionsToShow * optionSizePx"
        [minBufferPx]="300"
        [maxBufferPx]="600"
      >
        <mat-option
          *cdkVirtualFor="let item of listOptions | async; let index = index"
          [value]="item.value"
          (onSelectionChange)="onSelectionChange(index)"
        >
          {{item.viewValue}}
        </mat-option>
      </cdk-virtual-scroll-viewport>
    </mat-select>

  @Input()
  optionSizePx = 48;

  @Input()
  numOptionsToShow = 5;

  @ViewChild(CdkVirtualScrollViewport, {static: true})
  cdkVirtualScrollViewport: CdkVirtualScrollViewport;

  selectedIndex: number;

  onOpenedChange(isOpen) {
    if (isOpen && this.selectedIndex) {
      this.cdkVirtualScrollViewport.setRenderedContentOffset(0);
      this.cdkVirtualScrollViewport.scrollToIndex(this.selectedIndex);
    }
  }

  onSelectionChange(i: number) {
    this.selectedIndex = i;
  }

Not quite the workaround above: The above workaround has problems when the overlay is closed and reopened and scrolled in between.
When scrolled to a few elements down and the select panel is reopened next time we see a blank space above.
This is solved by setRenderedRange to the initial range which gets set initially on the scrolledIndexChange event.
Then further when the mat-select emits openedChange on close we reset the rendered range to the initialRange that we preserved upfront.
https://stackblitz.com/edit/angular-h4xptu-kuu5xg?file=app%2Fselect-reset-example.ts
  scrolledIndexChange($event) {
    if (!this.initialRange) {
      this.initialRange = this.cdkVirtualScrollViewport.getRenderedRange();
    }

  }
  openedChange(opened) {
    if (!opened) {
      this.cdkVirtualScrollViewport.setRenderedContentOffset(0);
      this.cdkVirtualScrollViewport.setRenderedRange(this.initialRange)
    }
  }

Exactly what I was looking for. Thank you. I was wondering why the panel seems to show white div space when scroll in between and close and reopen again.

Thanks to those who shared workarounds - it's very helpful! Anyone got the keyboard navigation (up/down arrow keys to browse through the options) working with virtual scrolling? It doesn't scroll when I use keyboard and I couldn't figure out how to get this working. I'm thinking of implementing custom keyboard event handlers for up/down arrow keys and manually setting the virtual scroll position (or the rendered index), but not sure if it's the best way to do as mat-select already has the keyboard handlers implemented. Would appreciate any inputs on this :)

Thanks to those who shared workarounds - it's very helpful! Anyone got the keyboard navigation (up/down arrow keys to browse through the options) working with virtual scrolling? It doesn't scroll when I use keyboard and I couldn't figure out how to get this working. I'm thinking of implementing custom keyboard event handlers for up/down arrow keys and manually setting the virtual scroll position (or the rendered index), but not sure if it's the best way to do as mat-select already has the keyboard handlers implemented. Would appreciate any inputs on this :)

I had a issue with only seeing a white dropdown after I selected a option and reopened the select. This only happened when I selected an option where I needed to scroll to get to.
I solved it purely in the template and just want to leave this here for reference in case someone else stumbles across this:
It's basically just a combination of a template variable and calling scrollToIndex on it
<mat-form-field>
	<mat-select [formControl]="form" placeholder="State" class="virtual-scroll"
		(openedChange)="scrollViewport.scrollToIndex(states.indexOf(form.value))">
		<cdk-virtual-scroll-viewport itemSize="10" #scrollViewport>
			<mat-option *cdkVirtualFor="let state of states" [value]="state">
				{{state}}
			</mat-option>
		</cdk-virtual-scroll-viewport>
	</mat-select>
</mat-form-field>

https://stackblitz.com/edit/angular-h4xptu-mmtdbj?file=app%2Fselect-reset-example.html

<mat-option           *cdkVirtualFor="let item of listOptions | async; let index = index"           [value]="item.value"           (onSelectionChange)="onSelectionChange(index)"         >           {{item.viewValue}}         </mat-option>
The onSelectionChange was firing everytime I scrolled. I fixed it by just setting it to use the click event:
 <mat-option           *cdkVirtualFor="let item of listOptions | async; let index = index"           [value]="item.value"           (onSelectionChange)="onSelectionChange(index)"         >           {{item.viewValue}}         </mat-option>

Another smaller issue I saw here was that mat-active is being inappropriately assigned to options in the virtual scrolling component.
Using yogeshgadge's stackblitz (https://stackblitz.com/edit/angular-h4xptu-zyj4yh?file=styles.css) you can see that if you select the first option and then reopen the dropdown and start scrolling down, every 11th or so option will have the mat-active class set on it.

Thanks to those who shared workarounds - it's very helpful! Anyone got the keyboard navigation (up/down arrow keys to browse through the options) working with virtual scrolling? It doesn't scroll when I use keyboard and I couldn't figure out how to get this working. I'm thinking of implementing custom keyboard event handlers for up/down arrow keys and manually setting the virtual scroll position (or the rendered index), but not sure if it's the best way to do as mat-select already has the keyboard handlers implemented. Would appreciate any inputs on this :)

Did you ever figure out a way to do this? I'm currently trying to implement this, but it seems like set scrollToIndex or setRenderedRange stops the next option from being selected/highlighted/focused.

Hello,
We are using Angular 16 and still facing issue.
If we select an item wich is not in default rendered view range (0 to N), the viewport appears blank until a scroll event.
Is there some news ?


Add language support for Japanese

i18n all the things

Translations are done on Transifex. Now I just need to set up tappy for the ja locale.


Admin app template needs ConnectionPoolManagement?

I'm new to Padrino. I had trouble with a fresh install using the admin template. Following the advise of this thread, 1767, I added use ConnectionPoolManagement to the top of the admin/app.rb and it sorted it out. Just thought you might want to add it to the template if this is the right thing to do.

@mushishi78 Thanks for pointing out!


lint very slow

Short description of the problem:
Lint is very slow.
What behavior are you expecting?
lint in less than ~20 seconds.
Steps to reproduce:

ionic-app-scripts build --prod

> ionic-app-scripts build --prod

[15:45:28]  ionic-app-scripts 1.3.8
[15:45:28]  build prod started ...
[15:45:28]  clean started ...
[15:45:28]  clean finished in less than 1 ms
[15:45:28]  copy started ...
[15:45:28]  ngc started ...
[15:45:39]  ngc finished in 10.45 s
[15:45:39]  preprocess started ...
[15:45:39]  deeplinks started ...
[15:45:39]  deeplinks finished in 663 ms
[15:45:39]  optimization started ...
[15:45:40]  copy finished in 11.48 s
[15:46:04]  optimization finished in 24.72 s
[15:46:04]  preprocess finished in 25.38 s
[15:46:04]  webpack started ...
[15:46:39]  webpack finished in 35.25 s
[15:46:39]  sass started ...
[15:46:39]  uglifyjs started ...
[15:46:42]  sass finished in 2.98 s
[15:46:42]  cleancss started ...
[15:46:45]  cleancss finished in 3.08 s
[15:46:59]  uglifyjs finished in 19.98 s
[15:46:59]  postprocess started ...
[15:46:59]  postprocess finished in 7 ms
[15:46:59]  lint started ...
[15:49:26]  lint finished in 147.19 s
[15:49:26]  build prod finished in 238.30 s

Which @ionic/app-scripts version are you using?
1.3.8
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
$ ionic info
global packages:
@ionic/cli-utils : 1.4.0
Cordova CLI      : 7.0.1
Ionic CLI        : 3.4.0

local packages:
@ionic/app-scripts              : 1.3.8
@ionic/cli-plugin-cordova       : 1.4.0
@ionic/cli-plugin-ionic-angular : 1.3.1
Cordova Platforms               : android 6.2.3 browser 4.1.0
Ionic Framework                 : ionic-angular 3.4.2

System:
Node       : v8.1.2
OS         : Windows 10
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed
npm        : 4.6.1

I see the same behavior as well
global packages:

    @ionic/cli-plugin-proxy : 1.3.1
    @ionic/cli-utils        : 1.4.0-alpha.e838a5d7
    Cordova CLI             : 6.5.0
    Ionic CLI               : 3.4.0-alpha.e838a5d7

local packages:

    @ionic/app-scripts              : 1.3.8
    @ionic/cli-plugin-cordova       : 1.4.0
    @ionic/cli-plugin-ionic-angular : 1.3.1
    Cordova Platforms               : android 6.2.3 ios 4.4.0
    Ionic Framework                 : ionic-angular 3.4.0

System:

    Node       : v7.10.0
    OS         : OS X El Capitan
    Xcode      : Xcode 8.2.1 Build version 8C1002
    ios-deploy : 1.9.0
    ios-sim    : 5.0.8
    npm        : 5.0.3

Running ionic-app-scripts lint takes ~ 400s for me with 1.3.8 and same takes ~ 3.09 s with 1.3.7

Because of the updated deps lint "more". We are working on updating to a newer version: https://github.com/ionic-team/ionic-app-scripts/pull/1024

I've updated to ionic-app-scripts 1.3.12 and I'm still getting: " lint finished in 322.80 s"
Cordova CLI: 6.5.0
Ionic Framework Version: 3.4.2
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.3.12
OS: Windows 10
Node Version: v6.11.0

Same here. Had to downgrade to 1.3.7.
global packages:

    @ionic/cli-utils : 1.4.0
    Cordova CLI      :  You have been opted out of telemetry. To change this, run: cordova telemetry on. 7.0.1
    Ionic CLI        : 3.4.0

local packages:

    @ionic/app-scripts              : 1.3.7
    @ionic/cli-plugin-cordova       : 1.3.0
    @ionic/cli-plugin-ionic-angular : 1.3.0
    Cordova Platforms               : You have been opted out of telemetry. To change this, run: cordova telemetry on.  browser 4.1.0
    Ionic Framework                 : ionic-angular 3.5.0-201707031118

System:

    Node       : v6.8.0
    OS         : Linux 4.4
    Xcode      : not installed
    ios-deploy : not installed
    ios-sim    : not installed
    npm        : 4.6.1

This is fixed in 2.0.0.
Thanks,
Dan


renderer: some minor improvements (factorisation etc.)

Move reflective specular computation in specular computation in computeLight glsl file.
Move lightGrid color computation in computeLight file to avoid copy paste.
Move blending after the test to discard fragment based on alpha (do not blend what would be discarded).

This is spartaa!!


LeftSubmenu should remain expanded

Is is possible to create a Submenu, which is always expanded/open?

Yes you can add the menu elements wrapped inside components to your liking. The shipped component with this addon does not support it.


[Enhancement] (schema) add column type check

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

LGTM

run buildall

run buildall


Efficiency column in new datastructure of pd.Dataframe is filled correctly

All production exchanges which have "kWh" as an unit and an efficiency over 1 (they are between 1.9 to 3.8)  are allocated datasets which produce electricity as a by-product.
E.g: sulfate pulp production from different kinds of biomass; or sawing and planing
Thus, we assume that these efficiencies are fine, @romainsacchi?

I'd say so, yes.


How do i trace a cap app where the time is sink

@albertlast
about performance how do i trace a cap app where the time is sink? is the business logic the elephant in the room or is the cds/db modell a bottleneck, how do i know what sql command got sended to the db that i could run a vizplan on this?

Specifically to your question of the SQL Command if you set the DEBUG env, CDS will output the generated SQL to the console.  There is even a nice, recent blog on this topic: https://blogs.sap.com/2020/06/04/debug-generated-sql-by-cap-framework/  and @qmacro covered this some months back in his live stream as well:
https://blogs.sap.com/2019/10/22/annotated-links-episode-40-of-hands-on-sap-dev-with-qmacro/#debug


ESP32S3 uses QSPI to send large data, resulting in only a small part of the information sent (IDFGH-8462)

Board
ESP32-S3-WROOM-1U
Device Description
The pins are connected via board jumpers.
Hardware Configuration
#define PIN_LCD_TE                      11
#define PIN_LCD_CS                      6
#define PIN_LCD_CLK                     7
#define PIN_LCD_D0                      8
#define PIN_LCD_D1                      18
#define PIN_LCD_D2                      17
#define PIN_LCD_D3                      16
#define PIN_LCD_RES                     15
Version
v2.0.5
IDE Name
PlatformIO
Operating System
windows 10
Flash frequency
80
PSRAM enabled
yes
Upload speed
115200
Description
Use ESP32-S3 to drive SH1106 chip in QSPI mode. SH1106 is mostly the same as ST7789, but needs to use QSPI to drive. When I send data, I need to set the size of the form and then send the pixel data.
Problem: Works fine when I send an image size of 150x109. The waveform I captured is shown below.

When I send the image size is 150x110. The waveform is as shown below. The ESP32-S3 only sent a small amount of data. It looks like there is only one line on the screen.

I have set max_transfer_sz to 3,862,536 (longer than the image data length) at initialization.
Sketch
static void lcd_gpio_init() {
  pinMode(_lcd_setting->cs_gpio_num, OUTPUT);
  pinMode(_lcd_setting->res_gpio_num, OUTPUT);

  digitalWrite(_lcd_setting->cs_gpio_num, HIGH);
  digitalWrite(_lcd_setting->res_gpio_num, HIGH);
}

static void lcd_send_cmd(uint32_t cmd, uint8_t *dat, uint32_t len) {
  spi_transaction_t t;
  memset(&t, 0, sizeof(t));
  t.flags = (SPI_TRANS_MULTILINE_CMD | SPI_TRANS_MULTILINE_ADDR);
  t.cmd = 0x02;
  t.addr = cmd;
  t.length = 8 * len;
  if (len != 0) {
    t.tx_buffer = dat;
  } else {
    t.tx_buffer = NULL;
  }
  spi_device_polling_transmit(spi, &t);
}

void lcd_address_set(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2) {
  lcd_cmd_t t[3] = {
      {0x2a00, {x1 >> 8, x1, x2 >> 8, x2}, 0x04},
      {0x2b00, {y1 >> 8, y1, y2 >> 8, y2}, 0x04},
      {0x2c00, {0x00}, 0x00},
  };
  for (uint32_t i = 0; i < 3; i++) {
    lcd_send_cmd(t[i].addr, t[i].param, t[i].len);
  }
}

void lcd_push_colors(uint16_t x, uint16_t y, uint16_t width, uint16_t hight,
                     uint16_t *data) {

  size_t len = width * hight * 2;
  lcd_address_set(x, y, x + width - 1, y + hight - 1);

  /***********4 line***********/
  Serial.println("len : " + String(len));
  spi_transaction_t t;
  memset(&t, 0, sizeof(t));
  t.flags = (SPI_TRANS_MODE_QIO /* | SPI_TRANS_MODE_DIOQIO_ADDR */);
  t.cmd = 0x32;
  t.addr = 0x002C00;
  t.tx_buffer = (uint8_t *)data;
  t.length = 16 * len;
  Serial.println("t.length : " + String(t.length));
  ESP_ERROR_CHECK(spi_device_queue_trans(spi, &t , portMAX_DELAY));
}

void lcd_init(lcd_settings_t *config) {
  _lcd_setting = config;
  lcd_gpio_init();
  esp_err_t ret;
  horizontal = 0;

  spi_bus_config_t buscfg = {
      .data0_io_num = config->d0_gpio_num,
      .data1_io_num = config->d1_gpio_num,
      .sclk_io_num = config->clk_gpio_num,
      .data2_io_num = config->d2_gpio_num,
      .data3_io_num = config->d3_gpio_num,
      .max_transfer_sz = (LCD_WIDTH * LCD_HEIGHT * 32 * 2) + 8,
      // .flags = SPICOMMON_BUSFLAG_MASTER | SPICOMMON_BUSFLAG_QUAD |
      //          SPICOMMON_BUSFLAG_GPIO_PINS,
      .flags = SPICOMMON_BUSFLAG_MASTER | SPICOMMON_BUSFLAG_GPIO_PINS,
  };

  spi_device_interface_config_t devcfg = {
      .command_bits = 8,
      .address_bits = 24,
      // .dummy_bits=1,
      .mode = TFT_SPI_MODE,
      .clock_speed_hz = SPI_MASTER_FREQ_8M,
      .spics_io_num = config->cs_gpio_num,
      .flags = SPI_DEVICE_HALFDUPLEX,
      .queue_size = 3,

      // .pre_cb=lcd_spi_pre_transfer_callback,  //Specify pre-transfer callback
      // to handle D/C line
  };
  ret = spi_bus_initialize(SPI2_HOST, &buscfg, SPI_DMA_CH_AUTO);
  ESP_ERROR_CHECK(ret);
  ret = spi_bus_add_device(SPI2_HOST, &devcfg, &spi);
  ESP_ERROR_CHECK(ret);

  LCD_RES_Clr(); // reset
  delay(200);
  LCD_RES_Set();
  delay(200);

  lcd_cmd_t *t = sh8501_cmd;
  for (uint32_t i = 0; i < (sizeof(sh8501_cmd) / sizeof(lcd_cmd_t)); i++) {
    lcd_send_cmd(t[i].addr, t[i].param, t[i].len & 0x7f);
    if (t[i].len & 0x80) {
      delay(120);
    }
  }
}

void setup() {
  Serial.begin(115200);
  Serial.println("1.47 AMOLED Demo");
  Serial.println(String(ESP.getPsramSize() / 1024) + " KB");
  // lcd module :SH1106
  lcd_settings_t lcd_config = {.clk_gpio_num = PIN_LCD_CLK,
                               .d0_gpio_num = PIN_LCD_D0,
                               .d1_gpio_num = PIN_LCD_D1,
                               .d2_gpio_num = PIN_LCD_D2,
                               .d3_gpio_num = PIN_LCD_D3,
                               .cs_gpio_num = PIN_LCD_CS,
                               .res_gpio_num = PIN_LCD_RES,
                               .frequency = 5000000};

  lcd_init(&lcd_config);
  delay(1);
  lcd_push_colors(10, 10, 150, 109, (uint16_t *)gImage_image_logo);
  //lcd_push_colors(10, 10, 150, 110, (uint16_t *)gImage_image_logo);
}

Debug Message
The program just doesn't display properly, no error message appears.

Other Steps to Reproduce
LCD.zip
I have checked existing issues, online documentation and the Troubleshooting Guide

[X] I confirm I have checked existing issues, online documentation and Troubleshooting guide.

It seems normal that it sends a small amount of data. In the example, the length is 194 x 110 x 2 x 16=682,880(bit). Only a small number of messages are sent.

Looks like some 16KiB transaction limitation ?
150109 = 16350 (< 16384)
150110 = 16500 (> 16384) , 116 bytes over , maybe only those got sent ?
From ESP-IDF SPI Master:
"Maximum transfer size, in bytes. Defaults to 4092 if 0 when DMA enabled..."
may be it got *4 because of QSPI type of transaction

Hi, I meet the same issue, when my data is more than 32,000 bytes like 34,000 big, it'll only send 2,000 byte. But it's normal when I send 34,000 bytes one by one

I get the same issue too but it seems to behave a little differently, when I transfer a large amount of data, the QSPI bus will stall every 32768 dat and an error will occur when the transmitted data is greater than 32768 * 8 bytes.
E (1627) lcd_panel.io.spi: panel_io_spi_tx_color(387): spi transmit (queue) color failed
is esp32s3 max dma transfer size 32768 bytes?


1.6.0

What type of pull request is this?

[x] Non-breaking code change
[ ] Breaking code change
[ ] Documentation change/addition
[ ] Tests change

Description

Merges Dev into Master
Checklist

[x] I've formatted my code with Black
[x] I've ensured my code works on Python 3.10.x
[x] I've tested my code

You forgot to bump the version :P

I always do that after approvals in case there are any changes that would cause the version to not be what i expected

Fair


Roadmap & future

Haul - Roadmap & future
Problems and issues
It's no secret that Haul, as well as other software solutions has many issues and problems. Some of them, can be fixed in Haul, some of them cannot. With Haul the primary objective was to leverage Webpack ecosystem, which also has it's own limitations and problems. Some of the open issues on our repository, are partially or even fully connected with Webpack. More often that we would like, we are not able to provide any solution or workaround for issues with Webpack, but what we can do is to help you narrow it down and provide better debugging experience with Haul.
Plan for upcoming weeks
Convert to monorepo
We've decided to convert haul to monorepo, there are multiple reasons why, but the major one is that the old logic is being moved to haul-core-legacy, which means that the old logic is becoming legacy. We want to rewrite core to make it more robust and improve performance. The new packages will be written in TypeScript to make the developer expecinece and contributions easier and nicer.
Drop support for Node below 8
We are dropping support for older versions of Node, below 8.16.1 including Node 6 due to end of life set for 2019-04-30.
Introducing presets
It is very common that the new release of React Native breaks Haul. That's why we want to create presets for each React Native version starting from 0.59.x with it's own specific Webpack config, polyfills and tweaks. This will allow for better and quicker support for new and old versions of React Native.
Better E2E tests
In order to ensure that new changes won't brake current React Native projects, we want to add E2E test for each new release of React Native. Those tests would create a new React Native project, initialise Haul inside, build an app with Haul and ensure that it can successfully render the welcome screen.
RAM bundle support
We are working on adding a new command - ram-bundle to Haul along side with haul-ram-bundle-webpack-plugin, which will be automatically added when building RAM bundle. You can read more about RAM bundles here.
Better Haul debugging
One of the biggest problem with Haul is debuggability. There's a lot of room for improvement. Currently, figuring out what went wrong is very difficult. Especially in cases when the command silently failing with no error being reported. We want to change that and make debugging as easy as possible. That's why we will introduce optional CLI tool - haul-inspector, which will allow to haul processes to connect to the inspector and send all events that are happening inside Haul. For instance, this will allow you, to monitor haul process when it running in XCode build and in other scenarios when Haul is being spawned by other process/tool/IDE.

cc: @thymikee @Krizzu @acoates-ms


Remove remaining data-modifying options from sumologic exporter

Exporters shouldn't modify data, as this messes with fan-out in pipelines and leads to race conditions with multiple exporters. We have a few remaining options in the Sumo exporters that we should either get rid of or move to the sumo schema processor.

[ ] clear_logs_timestamp - move to sumo schema processor, or just use transform processor?
[ ] routing_attribute_to_drop - drop, routing processor now does this
[ ] json_logs.add_timestamp and json_logs.flatten_body shouldn't modify the otlp record

See https://github.com/SumoLogic/sumologic-kubernetes-collection/pull/2933 for examples on how these features can be reproduced using the transform processor.

@swiatekm-sumo necessary to reproduce these features elsewhere before removal? Are there other issues filed for this?

Thanks, it seems pretty straightforward!

https://github.com/SumoLogic/sumologic-otel-collector/pull/1201
https://github.com/SumoLogic/sumologic-otel-collector/pull/1372
https://github.com/SumoLogic/sumologic-otel-collector/pull/1371

#1373 and #1378 should be closed before we close this issue.


UART / GPS driver sample buffer overflow bug

What is the status of the UART / GPS driver buffer overflow bug?
See Stack Overflow: uart-gps-driver-sample-buffer-overflow
Is a new version of the GPS driver planned?

I think it's on @devunwired radar already.

Fixed with #30


Cross-reference known sequence variants

If we have a known Uniprot Sequence we could cross-reference known sequence variants.
If we go for that, we could also query the Uniprot API in general and add relevant information.
However, I am not sure if this is the way to go as it could potentially blur the edges between prediction and experimental data.
What do you guys think? @C-Marquet @sacdallago

This is specifically a prediction server, if someone inputs a uniprot ID, they get a link to uniprot where they can check out all they care that's on uniprot:

I think it's overkill

Alrighty! We will leave it at that for now, then.


Feature/add shields to readme

Fixes #6

Changes Unknown when pulling 28873867e50531629dee0a355eda0e4a4421c83f on feature/add_shields_to_readme into ** on master**.


Refactor how config/secrets are managed so that all operations go through the controller

Currently the controller and CLI both operate directly on ftl-project.toml, as there was previously no mechanism for propagating config down to modules.  But now that we have ModuleContext we should change this. We'll need to for the production launch to support AWS anyway, but also because it's quite annoying.
This will entail adding new gRPC endpoints for secrets/config. Another consideration is that currently the CLI allows users to select a different provider (eg. 1Password, Keychain, etc.) per secret. To preserve this behaviour the desired provider will need to be passed to the Controller. However, the valid set of providers will vary depending on the target environment, so the Controller may error if an invalid provider is specified. eg. only ASM will be valid in production, so setting --keychain must error.
We want to start separating out "backend traffic" from "admin traffic", so to that end this new endpoint should be part of a new AdminService gRPC service rather than being part of the ControllerService.

When we pick this up, should we also think about possibly renaming the existing structs in backend/controller/controller.go named CommonConfig and Config? I don't have strong feelings at the moment, but it could get confusing if we have a ton of different data types in there all named variations of "Config". That said, I don't find the cronjob.Config reference confusing since its package name clearly delimits its scope, so possibly this won't be an issue at all.


pg126-127 error below?? devops toolkit... aslo typo pg127N vs nginx

vagrant@cd:~$ ansible-playbook > /vagrant/ansible/confd.yml > -i /vagrant/ansible/hosts/serv-disc
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
ERROR! Syntax Error while loading YAML.
did not find expected
The error appears to have been in '/vagrant/ansible/hosts/serv-disc': line 2,
column 1, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
[etcd]
<IP_ADDRESS>[1:3]
^ here
also...very odd behavior with confd.yml, the file is blank, and i tried git fetch, git pull as i see in repo file is there w/ data.  tried to add via vi the file with the code from repo, and it gets overwritten to a blank file... not sure what im missing here.  thanks in advance!!

book/tech is old, viktor sent me a coupon for new book


Adding snyk check to this repo

Purpose
Adding Snyk check
Changes
Adding Snyk check to this repo

PR Checklist
Please ensure the following when opening a PR:

[ ] This PR added or updated tests.
[ ] This PR updated docstrings or documentation.
[ ] Let Jodi (jodihir) know when there is user-facing documentation updates needed!
[ ] This PR applied the Mint style guide for WDL.
[ ] This PR has no WDL linting errors reported by miniwdl
[ ] This PR considered generalizability beyond our own use case.

Follow-up Discussions
Please append follow-up discussions and issues during the review process below:

No follow-up discussions.

Do you know why the badge shows unresponsive instead of a number here @rhiananthony?

Also what do you think about moving the badge into the readme for the cellranger docker image? https://github.com/HumanCellAtlas/skylab/blob/master/docker/cellranger/README.md
Or maybe change the label?

Interesting 🤔 It works for me:

Oh that's what I see now too @rexwangc! Nevermind!


updated code 29/04

Summary
Briefly describe the purpose of this PR.
Description
Explain in detail what this PR is all about. This should include the problem you're solving, the approach taken, and any technical details that reviewers need to know.
Images
Include any relevant images or diagrams that can help reviewers visualize the changes, if applicable
Issue(s) Addressed
Enter the issue number of the bug(s) that this PR fixes

Template should be strictly Closes <issue_number>
Example: Closes #1

Prerequisites

[ ] Have you followed all the CONTRIBUTING GUIDELINES?

updated code 29/04


use rule label not just number

Hello. I suggest when the user has requested to show (as a new line) which rule caused a firewall action in the firewall log gui, you show not only the rule number, which is pretty useless by itself, to show the rule number PLUS the LABEL which describes the rule.
I posted a longer explanation here: https://forum.opnsense.org/index.php?topic=6735.msg29086#msg29086

The new live firewall log for 18.1 already includes labels

Only small detail is that when rules change, the label might be wrong (due to the fact that the label is from the active rule).

That is a nice improvement for the live view... I will certainly enjoy that!
Still, if you are keeping the 'show rule number on a second line' option for the the standard log view, and if it's not too much work, I think you should still consider my suggestion. Thanks.

The old log view goes away in 18.1, so there's no real need to change anything there.

Indeed! Makes sense. Thanks.


Decide on fate of gh pages & gh-pages branch

One serious contender is: https://docusaurus.io/docs. Here is a web page in less than 30mins with an iframe embedded.


Create an intro

Add an intro about yourself: who are you, what is your strength, why are you here.

Changed structure in the final resume, added instead skills category, tools etc.


camelCase eventEmitter file name

Hey thanks for the contribution,
This change makes sense however test specs also need to be updated, because now they will fail.
I've forgotten to enable builds for PR on Circle CI, but now it should work and catch such changes.

Good catch! Seems to be some problem with the Selenium server now.

Interesting, I need to check it, otherwise your code looks good! I will try to fix the selenium and merge your code.
Cheers

E2E tests are working on CircleCi

Hey @jonathanp I've seen you've fixed the code, but tests still failed, I think you forgot to merge master branch to your pull request - it should help with failing e2e tests.

Thanks!


[DPE-1928] Update lib

Update with the changes from data_platform_libs on KafkaRequires and add an integration test on wildcard usage.
Only the test needs review.

Uhm, could we handle the error and rather put the charm into blocked state (with a sensible message) should the validation for the topic name not pass?

Uhm, could we handle the error and rather put the charm into blocked state (with a sensible message) should the validation for the topic name not pass?

We can do that, but I was letting it fail on purpose as a way of also stopping all events from triggering.

But the relation would be created anyway in the juju model, right? I mean, you would only stop anything from happening at the data-integrator side I suppose. We could always put the charm into a blocked status and then allow the user to change the configuration (topic_name) and if the user then provides sensible values (with juju config and handling config_changed events), then everything solves by itself

But the relation would be created anyway in the juju model, right? I mean, you would only stop anything from happening at the data-integrator side I suppose.

Not exactly, KafkaRequires is invoked in the init method. Since we don't update relation databag, the config information is not being used on kafka side either.
But I see that this is creating some unexpected outcomes, as I don't think setting status on init is a good option.

Changes look all right, but let's trigger the discussion of handling validation inside and outside DataPlatform to understand the long-term solution. But fine to be merged for the time being.
There are a number of failing integration tests although, that needs to be fixed before merging.


Remove the (Preview) tag from the primary App Name

This is part of the v1 polish.

@msftbot merge this in 1 hour