Is it time to give this framework its own unique name?

I've been working with this Framework for a long time now and while I think the name Simple MVC Framework has served it well I do feel that as it continues to grow in popularity it may be time for a more distinguishable name. Version 3.0 seems like the right time to make a change like this.
I'm not throwing names out there just yet, but I am curious what the rest community thinks.
Something that sets it apart like the popular frameworks:
Laravel. CodeIgniter. Zend Framework. CakePHP. Symfony. Phalcon. Yii.
Something that lends itself to a unique style of branding.

How about Dave's Framework ?

How about Dave's Framework ?

haha! with things getting a little more advanced maybe it's not so "Simple" anymore. I'm not actively looking to rename the framework but if the right suggestion is made......

maybe it's not so "Simple" anymore

Disagree, it's getting more powerful but essentially a beginner can still come along and pick it up fairly quickly, so simple is still a good description. I'm thinking more about it being generic and easy to confuse with some other framework and being a bit of a mouthful to say.
Sorry if I sound presumptuous by creating this post that wasn't my intention.

Other frameworks are named with 1 word, so call it Simplicity.

For our projects, we need a powerful feline. While are not afraid to tame Tigers (Laravel), or Lions (CodeIgniter), this time we need a special kind of feline, powerful yet built for speed, a Cheetah, small, smart and faster than The Hell. That's why we are there, to tame this special kind of feline.
How about Cheetah Framework?

wow I really like that!! I love the build up too awesome!!

Other frameworks are named with 1 word, so call it Simplicity.

it's good but it's used already.

That's what I'm talking about, something with a backstory, love it!

@LuckyCyborg Really nice name indeed.

I say keep the current name.

@jimgwhit As expected from you... :smirk:

In my opinion it's not simple anymore and the current name is too generic and not ready for v3.0 :laughing:

I just wonder if the logo on the sticky note will also have to change
"Keep it simple"
Which is why I like the framework.
I came from a database management background, which are my interest. That is why SMVC worked so great, you could quickly get into managing and dealing with database records.
You didn't have to worry about entities, repositories, special services, or stuff that had absolutely nothing to do with a database management system.

And by the way folks an entity is nothing more than a record from a table, why some people have to come up with modern names just to make themselves sound good, I can't understand.

New name sounds awesome!

@jimgwhit Why don't you understand that entity is not a record. Record is database specific on MySQL and other relational databases (you should know with your database background right?!).
When using a document database it's documents, you could name these together as entities...
Also, you could still use the old style database here.
I don't know why you just keep complaining abou things that are not true! So stop firing with facts that are not correct or are just thoughts with no substantiation.
Instead, what you said earlier, make your own framework if you need it to be that specific, or stay on 2.* when you don't like the new features.
 I imagine that you are one of those who believe there is really is such thing OOP programming. Well a super fast lesson, all programming is procedural. Yes you can have separate classes, one class may get results from another class, but when all is said and done at the machine language level it's still all broken down procedurally. That's why it cracks me up when someone comes up with five different classes to achieve one thing. Yes I like  MVC,  but I just cannot believe people think that there is true object oriented programming, a separation of code yes but still processed procedurally. And that is an absolute undisputed fact.
So now my next question is how and where to use (integrate) eloquent query builder, or have you made it to where you cannot integrate and use eloquent any longer?

@jimgwhit You can use Eloquent as always, but I for one, I will look to methods to integrate Doctrine, eventually... Don't shoot me, you known, it's something similar with the music, some love  Justin Bieber, I for one, I'm with Metallica... :smirk:

I really don't like animal names for software, please dont change the topic @jimgwhit @LuckyCyborg

I have used doctrine Dbal but not the orm, didn'the like the orm.  But the one I do not like is the one that will be implemented.

@geomorillo  you are right dB should be another topic.

Tomvlk framework

@jimgwhit I'm really confused you're constantly talking about Laravel and comparing to Laravel. It sounds like what you want is Laravel.
You can still bring in eloquent just as you have in the past.

why some people have to come up with modern names just to make themselves sound good, I can't understand

This suggestion is about setting the Framework apart from others, not trying to sound good. Sounding good may happen but that is subjective and depending on your own opinion of the name.
I Searched GitHub for Simple MVC Framework and this framework was not even on the first page, a new name could change that and help it stick in the memory of developers.

I just wonder if the logo on the sticky note will also have to change

I would expect version 2.2 to remain the same in Name, URL, branding, logo. It's Dave's decision of course.
Re-branding for version 3 I think is a good idea, if done well could help the Framework become more popular and increased popularity has seen the framework evolve into what it is becoming today, something many seem to see as a positive.

@kowston agree on the name change, we should do it because the current name isn't unique.
Also, moving a branch to a different repo (technical thinking of rebranding) is not a lot work, just add another remote to git and push to it from the current branch (just technical thinking :gem:)

i dont have any ideas for names right now

@geomorillo same, despite being the one to bring it up, going to try and come up with something.

@kowston in my above comment on fancy names I was talking about database and entity nothing to do with the framework name. And if you look I've come up with the name we should use breeze. Point blank case closed. Breeze is the best name.

To be honest, we don't care how is called the framework, if we have our Cheetah... :smirk:

Oh one other name idea BUFF Framework. I used to work on b-52's, and the b-52 is Nick named buff, I bet you don't know what buff stands for.
 But the B 52 was always beautiful to me.
So Breeze or Buff.

 Uh! Oh! That's Laravel!

Now another member has already agreed that they do not like animal names neither.

We have no interest in the Framework's name. Us we call it Dave's Framwork.

I think a poll would be good with the option to suggest your own name and see what the results are if nothing else it could be interesting.
@licky yeah is a too long I like your suggestion ha but does not encourage community :)

@LuckyCyborg ,please! This is my pseudonym. :smirk:

Sorry I realised after posting I got it completely wrong.
OK I'll take a look once back in front of my computer

I think a poll would be good with the option to suggest your own name and see what the results are if nothing else it could be interesting.

OK here it is vote away, also you can add your own options too! http://goo.gl/WGFw7k

I have a name KITS or KITS FRAMEWORK , kits stands for keep it simple

@jimgwhit my apologies I missed your other comment so read out of context.

Nova / Nova Framework / Nova MVC
I like the idea of using an Astronomy term as often the language used in Astronomy is easy to understand and learn like this framework. Nova - when a star increases in brightness for a period of time.
Magma / Magmatic
Magma - hot and fluid material within the earth crust that can form rock when cooled. The framework is the magma to your project but you create a solid project.
Both names to me suggest transformation and stability
@daveismyname is it possible to add the new suggestions to the poll

@kowston Really like the Nova Framework and Magmatic suggestions!

I love Nova! the poll is not editable I'll look for a better service for that.

I've had to create the poll again so I can now edit it and add new options to here it is again, http://goo.gl/tMcydA
The status unfortunately have been reset so please vote again.

Seems like Nova is my type of Candy, NovaMVC sounds pretty good if you ask me 😉

Looks like Nova is the winner!

@daveismyname BTW, you need a new namespace for your System...
How about \Nova ? We arrive to something like:
use Nova\Net\Router;

Yes absolutely thank you.

OK! I will do it today.
 In several minutes is UP.

:+1:

@daveismyname Pull request for System's namespace changing incoming in several hours, max.
And my and my colleagues, we want to say you Congratulations for Nova Framework!

Really awesome work

@tomvlk and @LuckyCyborg you did a great job! :)


CUDA error: no kernel image is available for execution on the device Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

CUDA error: no kernel image is available for execution on the device
Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.
Have you ever encountered this problem?

same issue, how did you solved it? Thanks!

I solved it by renting a more powerful server with better GPU

Thanks, i'll try it!


ERROR  Invariant Violation: requireNativeComponent: "PhoneNumberToolbarView" was not found in the UIManager.

Getting an error when I try to start the local emulators. Can I get help on this please

Any fix?

Hey! Sorry, the library has fallen behind React Native's latest API. I'll take a weekend later this month to fix it, but please keep in mind I don't need this for my job anymore so it's not super high-priority.

Pretty please.   Had this today from Google Play submission..

Hey! Sorry, the library has fallen behind React Native's latest API. I'll take a weekend later this month to fix it, but please keep in mind I don't need this for my job anymore so it's not super high-priority.

did you fix this error, i am getting error in android, not in ios

if some fix this issue help me also

it looks like, expo users get this issue


[question] How to add "http-reuse " to section e.g. "defaults"?

Hi,
when I tried add http-reuse to configuration of haproxy I couldn't find a way to achieve it. There is no problem if I need add option foo bar but what to do if configuration key doesn't start from option ...?

Hi @marcin-github
Sorry for the late answer, feel free to open a PR, I'll review it :+1:


Invalid typing export

can't use moment typings from bower or with some exotic configs because of export = moment;.
It is usable only with nodejs and require.
need to export moment typings like in DefinitelyTyped/DefinitelyTyped/moment/moment.d.ts

close in favor of #3688


clientv3/integration: add TestKVDelete*

/cc @xiang90 @heyitsanthony
Thanks!

@xiang90 Just addressed. PTAL.
Thanks,

LGTM

Thanks!


If you start client with a port=0, it shows port 0 and doesnt show multiple instances

Describe the bug
Please provide details of the problem, including the version of Spring Cloud that you
are using.
Sample
If possible, please provide a test case or sample application that reproduces
the problem. This makes it much easier for us to diagnose the problem and to verify that
we have fixed it.

Set up  a eureka server
Set up a spring boot client
Start client with port=0
Open eureka UI

It will show the port as 0 and if you spin  up miltiple services with port 0, eureka will only show 1

I did some debugging and found the relevant registry code

The map that holds the key is using registrant.getId() which says the port is 0 but infact it is not as seen in the debugger port information

Duplicates #843


Simplify protostar.toml

As a StarkNet contract developer, I want protostar.toml be more intuitive, so that I don't have to check docs every time I want to modify something.
The current structure is the result of introducing "CLI based configuration" later in the project.

remove ["protostar.project"] section

install, update, remove commands should accept libs_path as an argument

rename  ["protostar.shared_command_configs"] to something shorter:

[protostar.shared], [protostar.general], [protostar.default], [protostar.project](my fav)
this section should be auto generated by the protostar init

protostar init should include a comment explainig this section

remove ["protostar.config"]

move protostar_version to [protostar.project] or shared/general whatever
rename protostar_version to min_protostar_version
initially protostar_version was meant to be named version and indicate version of the protostar.toml

remove double quotes from sections e.g. ["protostar.test"] -> [protostar.test]
protostar implementing this task should throw an error if the declared protostar_version is lower
use kebab case everywhere
remove ["protostar.contracts"]?

# In this section you can set any argument from any command. <= comment generated by protostar init
# e.g.
# ...
[protostar.project] # <= protostar.config + protostar.project + protostar.shared_command_configs
min-protostar-version="9.9.9" # <= extra field not available from the CLI
libs-path="..."
no-color=true
cairo-path=["...", "..."]

# Some comment explaining this section generated by `protostar init`
[protostar.contracts] # <= consider redesigning `build command` so that this section can be removed and to allow building specific contracts rather than the whole project
# ...

# commands configuration...
[protostar.test]
# ...

remove ["protostar.project"] section
install, update, remove commands should accept libs_path as an argument

This is a good idea, we may provide it in the default config

rename ["protostar.shared_command_configs"] to something shorter:
[protostar.shared], [protostar.general], [protostar.default], [protostar.project](my fav)

[protostar.project] is the best imo too

rename protostar_version to min_protostar_version

I dont think it's very nice, it is more like a source_version (which is terrible name). min_protostar_version does not suggest puropose of this field properly.
Generally very nice proposal!

rename protostar_version to min_protostar_version

I dont think it's very nice, it is more like a source_version (which is terrible name). min_protostar_version does not suggest puropose of this field properly.

what about this?
[protostar.project]
protostar = "9.9.9"
libs-path = ["..."]
cairo-path = ["..."]

I am also out of the loop, but I wonder why there is the protostar. prefix everywhere?

protostar = "9.9.9"
hmm maybe it's better? this field is created_with_protostar_version but it is too wordy

IMO this property is confusing for users (and for me). Should they update the version everytime they upgrade the Protostar? It should be clear why do we need this property.

Maybe we can just name it config-version and put protostar version there?

What's the purpose of this attribute? I am asking just to be sure we are on the same page.

What is left to close this issue?

The integration with the existing code and enabling migrate-config-file command.


Windows store apps in iot core.

Guys this may be a very naive question, but I'm just trying to understand the limitations of iot core in terms of running uwp store apps on iot core.
For example looking at the netflix app for Windows in the store I can see that it supports arm and arm64 architectures.
Given this, is it feasible that these apps could run on iot core on arm, say a pi 3b for example?

Iot Core is stuck @ build 17763 (so win ver 1809) since February 2019. It's pretty much abandoned. You can compile your UWP project with minimal version 17763 and debug it remotely without any problem.
Let alone the Pi: no one has ever implemented graphic drivers with hw acceleration so graphics are sluggish as hell.
Other compatible SBCs or touch panels are pricey AF.
That's my experience.


Additional Packages Electron

[* ] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see use [gitter]
Current behavior
Added additional packages to the project.config, they get dumped out correctly with serve.dev but for electron only the NPM_DEPENDENCIES and additional packages declared in the advanced-seed-config get dumped out to the dev directory's node_modules
Expected behavior
Additional packages from project.config.ts to be correctly discovered and placed the build directory.
Minimal reproduction of the problem with instructions
install any of the @progress/kendo-angular-** packages and declare them in the additional packages section of the project.config.ts like so..
 {
        name: '@progress/kendo-angular-buttons',
        packageMeta: {
          main: './dist/npm/main.js',
          defaultExtension: 'js'
        },
      },

Please tell us about your environment:
Windows 10 Enterprise 64-bit.
VS Code/Vim

Angular Seed Version: 10c72726

Node: node --version = 6.9.5

Here is the issue. A static list of dependencies and only the NPM_DEPENDENCIES get pulled from the whats added by the project.config.ts

PR #353 submitted for review as a possible solution.

I am trying to install new packages through package.json but they are not installed. additional packages are getting escaped while commanding npm install.
how i install all these packages?


Check if clicked widget or its parents has Gesture child

This will allow to correctly check if node can be dragged

Fixed 3be313629ae2dc16646f10fa8c6a7060cd01d7de


feat: generalize continuousOn_prod_of_continuousOn_lipschitz_on etc

It suffices to require continuity in the second argument for the
first argument from a dense set.
Rename lemmas to include lipschitzWith/lipschitzWithOn.

Should we marked this as after-port at least until these files appear on the "completely ported" list?

bors r+
Thanks!


-o options documentation

where can we see the options.
the link provided in documentation appears to be wrong

This link should work. I've updated the wiki. Thanks.


Break.com HTTP Error 404, when used with '-f best'

If I use the '-f best' option with:
http://www.break.com/video/alton-brown-reviews-strange-kitchen-gadgets-2986876
...it fails (see output below)
However
A) if I do not use the '-f best' options is DOES work
b) if I use the '-f best' option with the direct YouTube URL (https://www.youtube.com/watch?v=FgFeVlw2Ywg)...it DOES work
Output:
youtube-dl.py -v -f best "http://www.break.com/video/alton-brown-reviews-strange-kitchen-gadgets-2986876"
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'-f', u'best', u'http://www.break.com/video/alton-brown-reviews-strange-kitchen-gadgets-2986876']
[debug] Encodings: locale cp1252, fs mbcs, out cp850, pref cp1252
[debug] youtube-dl version 2015.12.10
[debug] Python version 2.7.5 - Windows-7-6.1.7601-SP1
[debug] exe versions: ffmpeg N-71727-g46778ab, rtmpdump 2.4
[debug] Proxy map: {}
[Break] 2986876: Downloading webpage
[youtube] FgFeVlw2Ywg: Downloading webpage
[youtube] FgFeVlw2Ywg: Downloading video info webpage
[youtube] FgFeVlw2Ywg: Extracting video information
[youtube] FgFeVlw2Ywg: Downloading DASH manifest
[youtube] FgFeVlw2Ywg: Downloading DASH manifest
[debug] Invoking downloader on u'https://r1---sn-cxaaj5o5q5-tt16.googlevideo.com/videoplayback?dur=338.570&initcwndbps=10890000&sver=3&expire=1449876488&sparams=dur%2Cid%2Cinitcwndbps%2Cip%2Cipbits%2C
itag%2Clmt%2Cmime%2Cmm%2Cmn%2Cms%2Cmv%2Cpcm2cms%2Cpl%2Cratebypass%2Crequiressl%2Csource%2Cupn%2Cexpire&source=youtube&upn=LbwckiqC9ok&signature=C8DBB42C1819E818E26420E0A7E4BF05C2B5C117.1EA722D3F00F50E
9806015CA7E146E664A00AC61&ratebypass=yes&lmt=1449690918520320&key=yt6&itag=22&pcm2cms=yes&mn=sn-cxaaj5o5q5-tt16&mm=31&pl=24&mime=video%2Fmp4&id=o-AIIBI6VsLTKnHHe1Ogs9e4OzMZZLy9wyavxTZEu08YmC&ipbits=0&
requiressl=yes&ip=<IP_ADDRESS>&mv=m&mt=1449854705&ms=au&fexp=9406983%2C9416126%2C9420452%2C9422596%2C9423662'
[download] Resuming download at byte 49807360
ERROR: unable to download video data: HTTP Error 404: Not Found
Traceback (most recent call last):
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\YoutubeDL.py", line 1607, in process_info
success = dl(filename, info_dict)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\YoutubeDL.py", line 1549, in dl
return fd.download(name, info)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\downloader\common.py", line 342, in download
return self.real_download(filename, info_dict)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\downloader\http.py", line 58, in real_download
data = self.ydl.urlopen(request)
File "C:\Transmogrifier\youtube-dl.py\youtube_dl\YoutubeDL.py", line 1884, in urlopen
return self._opener.open(req, timeout=self._socket_timeout)
File "C:\Python27\lib\urllib2.py", line 410, in open
response = meth(req, response)
File "C:\Python27\lib\urllib2.py", line 523, in http_response
'http', request, response, code, msg, hdrs)
File "C:\Python27\lib\urllib2.py", line 448, in error
return self._call_chain(*args)
File "C:\Python27\lib\urllib2.py", line 382, in _call_chain
result = func(*args)
File "C:\Python27\lib\urllib2.py", line 531, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
HTTPError: HTTP Error 404: Not Found
Thanks always
Ringo

Works fine for me.

[download] Resuming download at byte 49807360

Can you reproduce this with fresh download?

hmmm....
still failed multiple times yesterday...but seems to work today.
thanks and/or sorry to bother


Pokémon Trading Card Game (U) fails to launch

Attempting to launch the Pokémon Trading Card Game simply shows a white screen on current GameYob.
Tested on N3DS 11.6U via Luma3DS/Rosalina.

By current, do you mean the latest source or the latest release?

Can confirm this bug has been squashed. Thanks!


Fix indexing status query used for health endpoint

There was an extraneous { in the query that caused graph-node to trip over.

The CI failures here are unrelated to the PR. It seems that running the indexer test suite requires Postgres but that's not part of the test environment at the moment.


http_parser_init does not clear status_code

We use http_parser with HTTP_BOTH flag and reuse the same parser instance for many incoming messages.
Note that messages are carried over UDP so it cannot be determined if the to-be-parsed message is a request or a response.
Also note that complete message is carried in one UDP datagram.
Apparently http parser does not clear its states properly after finished messages (our messages have no Content-Length and no body):

http_parser_init(&parser, HTTP_BOTH);

loop over messages:
    size_t parsed = http_parser_execute(&parser, &settings, data, data_length);
    http_parser_execute(&parser, &settings, NULL, 0); // to indicate end-of-stream

Therefore we resolved to initialise the parser every time before parsing a message:

loop over messages:
    http_parser_init(&parser, HTTP_BOTH);
    size_t parsed = http_parser_execute(&parser, &settings, data, data_length);

But http_parser_init does not clear all state variables of the http parser.
For example status_code remains set from the last message.
If we are using http_parser in an unsupported way, please adjust the documentation.
If this is a bug, then please add the following line at http_parser.c:1859

parser->status_code = 0;

or maybe better, bzero the whole parser structure at the beginning of http_parser_init (perhaps excluding data attribute).

this is a duplicate of #82


build: status of named mode

By named mode I mean zig build -Dn=n.
Currently the code handling the named mode is rather complex.  In order to simplify it we can:

Remove the build -Dn=n install step (see #298)
Remove the build -Dn=n test step
This will make it possible to remove the build_step step and the use of SkipStep, thus simplifying the code.
Remove the build -Dn=n start step
This will greatly simplify the build.zig file.

Only zig build -Dn=n step will remain, where the user needs to manually specify the exercise number.
@ratfactor, @chrboesch What do you think about removing these steps?

Only zig build -Dn=n step will remain

I think this should be enough. Every time when I have watched someone using Ziglings, zig build or  zig build -Dn=x has been used.


feat: add username placeholder

closes #163
closes #58

/rebase

My apologies, has been some very busy weeks. Monday I'll finish this one.
Thanks for the patience.


fix: add appropriate markdown to render missing word

In the rendered README, the word "" is missing. This PR will render the word correctly in markdown.

Thank you, @hokennethk!


need a visual way of seeing which instruments are playing at the top (instrument+global tab)

is it possible to flash the instruments that are being triggered, at the topbar?

it'd really help with figuring out what is playing and where, or if anything is playing.

It is and will definitely do. Also, once we have scopes, it will hopefully also be easier to follow which instruments are doing what.


Fix typo in README - dynamicly to dynamically

Fixed minor typo in README. Had to do a double take to make sure my brain wasn't deceiving me, but Google seems to agree.

Haha, yepp. You and google are definitely correct! Thank you.

No problem!


Start with assuming people will be repeat donors

User stories:

As a standard user having already donated, I would like to create a donation again
As a user with an administrator account, I would like to facilitate the creation of multiple donations with the account
As a volunteer, I need to be able to submit and process multiple donations a day within the application

Acceptance criteria:

A user with donor access can submit multiple donation forms

Pull Request 1 introduces a Firebase Firestore Donation and Donation Details collection for storing donation information.
The donation creation process allows users with a donor claim to create donations.
Pull Request 43 permits users to create donations from the site landing page and the Donation page.


cleanup gestalt module

Removing a whole bunch of stuff not needed with latest Gestalt.
~Relies on latest gestalt snapshot being installed locally.~ EDIT: not anymore
https://github.com/MovingBlocks/DestSolAndroid/pull/10

Hooray Jenkins reported success with all tests good!

Hooray Jenkins reported success with all tests good!

@BenjaminAmos would you mind taking a look at this and ensuring I'm not removing anything important? Noteworthy development is that https://github.com/MovingBlocks/gestalt/pull/76 Is in Gestalt 7.0.5
Thanks

The desktop facade generally runs well with these changes and I could not find any additional issues with the Android facade whilst testing. The removal of the DestinationSolModuleFactory class does re-introduce another bug, however I have described how to resolve that issue below.
Code modules in distributions are broken again. I checked this also on the latest develop commit (https://github.com/MovingBlocks/DestinationSol/commit/42ec5af80db736a35e3c808c21783af54e46b75b) but it works there, so I believe that the changes made in this pull request may be causing the issue. Whilst assets from modules are loaded correctly, any code within these modules is not initialised.
When examining the debug output, the following lines were present, which I could not find when running a develop build:
ERROR [Thread-1] (JavaModuleClassLoader.java:157) - Denied access to class (not allowed with this module's permissions): org.destinationsol.assets.audio.OggSoundFileFormat
ERROR [Thread-1] (JavaModuleClassLoader.java:157) - Denied access to class (not allowed with this module's permissions): org.destinationsol.assets.audio.OggMusicFileFormat
ERROR [Thread-1] (JavaModuleClassLoader.java:157) - Denied access to class (not allowed with this module's permissions): org.destinationsol.assets.emitters.EmitterFileFormat
ERROR [Thread-1] (JavaModuleClassLoader.java:157) - Denied access to class (not allowed with this module's permissions): org.destinationsol.assets.json.JsonFileFormat
ERROR [Thread-1] (JavaModuleClassLoader.java:157) - Denied access to class (not allowed with this module's permissions): org.destinationsol.assets.fonts.FontFileFormat
ERROR [Thread-1] (JavaModuleClassLoader.java:157) - Denied access to class (not allowed with this module's permissions): org.destinationsol.assets.textures.DSTextureFileFormat
ERROR [Thread-1] (JavaModuleClassLoader.java:157) - Denied access to class (not allowed with this module's permissions): org.destinationsol.assets.audio.OggSoundFileFormat
ERROR [Thread-1] (JavaModuleClassLoader.java:157) - Denied access to class (not allowed with this module's permissions): org.destinationsol.assets.audio.OggMusicFileFormat
ERROR [Thread-1] (JavaModuleClassLoader.java:157) - Denied access to class (not allowed with this module's permissions): org.destinationsol.assets.emitters.EmitterFileFormat
ERROR [Thread-1] (JavaModuleClassLoader.java:157) - Denied access to class (not allowed with this module's permissions): org.destinationsol.assets.json.JsonFileFormat
ERROR [Thread-1] (JavaModuleClassLoader.java:157) - Denied access to class (not allowed with this module's permissions): org.destinationsol.assets.fonts.FontFileFormat
ERROR [Thread-1] (JavaModuleClassLoader.java:157) - Denied access to class (not allowed with this module's permissions): org.destinationsol.assets.textures.DSTextureFileFormat
ERROR [Thread-1] (JavaModuleClassLoader.java:157) - Denied access to class (not allowed with this module's permissions): org.destinationsol.assets.audio.OggSoundInfoFormat
ERROR [Thread-1] (JavaModuleClassLoader.java:157) - Denied access to class (not allowed with this module's permissions): org.destinationsol.assets.audio.OggSoundInfoFormat
ERROR [Thread-1] (JavaModuleClassLoader.java:157) - Denied access to class (not allowed with this module's permissions): org.destinationsol.assets.json.JsonDeltaFileFormat
ERROR [Thread-1] (JavaModuleClassLoader.java:157) - Denied access to class (not allowed with this module's permissions): org.destinationsol.assets.json.JsonDeltaFileFormat

After some testing, it appears that this issue occurs when a classpath is detected within the engine archive, as then I think that the engine classes might be re-loaded into the module sandbox. This removes their permissions, leading to the error that occurs. I am still unsure about why this issue only occurrs when the engine is run through the distribution but the initialising the engine module without any specified classpaths appears to fix the issue. I believe that this work-around must have been applied from within the DestinationSolModuleFactory.createClasspathModule method. I have submitted #491 which provides these fixes.
I do not believe that the android facade changes change anything functionally with the code. As the sandbox is disabled on Android (Android's java runtime does not support them), removing permissions should not have any effect.

Hooray Jenkins reported success with all tests good!

Thanks for bringing this to my attention @BenjaminAmos and thanks also for the PR. I was talking to @immortius (Gestalt author) and he says that changing engine to a package module is a more appropriate solution (see<PHONE_NUMBER>d8ebdcfc654e914ebf28622217ce88). The problem at the moment is that everything under org.destinationsol.* is exposed to the sandbox, so a refactor of the engine to org.destinationsol.engine is needed. I'll leave that as an outstanding issue for now as to not pollute this PR.

This is all in #496


Auto-imports don't work when using trigger characters

VSCode Version:
OS Version:

Steps to Reproduce:

In a project:

a.js:
export function foo() {}

b.js:
fo

Trigger suggestions on fo in b.js
Select the auto import suggestion for foo.
Press ( to accept completion

Bug
Auto import not added

Root cause seems to be that the workspaceedit we provide gets invalidated, possibly by the editor bracket completions

@jrieken Just confirmed that this is indeed the root cause. Sequence of behavior is:

User accept suggestion. This suggestion has a command registered on it
The suggest controller processes the suggestion and invokes the command.
Bracket matching kicks in for the original suggestion insertion
The command form the suggestion is invoked in the TS extension. This command builds up a workspace edit.
The workspace edit is applied within the command. However the editor model has changed since the workspace edit was created, so the operation fails

Possible workaround would be to change to use additionalTextEdits instead of a command in TS (however we sometimes would still need the command)

Note that
* additional modifications to the current document should be described with the
* additionalTextEdits-property.

Yeah, don't use a command to edit the text document... We should really work on migrating TypeScript away from such hacks


[Docs]Update release-2.1.md

What type of PR is this：

[ ] bugfix
[ ] feature
[ ] enhancement
[ ] refactor
[ ] others

Which issues of this PR fixes ：

Fixes #
Problem Summary(Required) ：

Checklist:

[ ] I have added test cases for my bug fix or my new feature
[ ] I have added user document for my new feature or new function

run starrocks_admit_test

@mergify backport branch-2.3

@mergify backport branch-2.4


Only allow squash merge

Description
Sometimes it appears that some PR are merged in with all the underlying commits which can create some noise on what was changed and it makes reverts harder. I believe squash merge should be enforced - I think this is the common way to go about for a lib like delta-rs.

https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/configuring-pull-request-merges/configuring-commit-squashing-for-pull-requests
Use Case
Related Issue(s)

I think the default is squash and merge, but you can still select rebase and merge. Not sure why that sometimes is selected though

@ion-elgreco I think it is possible to disable all other kinds if you are the repo owner. I think that should be considered since right now commits on master (if not squash) doesn't directly link to PRs.

We recently adopted the merge queue which doesn't support squash merges, or any of the other merge styles apparently.  We've been doing some squashing manually, but I'm going to close t his out since there's not much we can do until github's merge queue is more featureful


Commit message validation with husky

We'll use commitlint with contenional commit format.

[x] Commit messages should be validated before pushing changes with commitlint and husky.
[x] Commit rules should be documented.
[x] Commit templates should be provided (Example)

This is done via #107


GI: Peformance tune GitHub job "PR Checks / Unit Tests / Standard (pull_request)" to run faster than 17m

:tada: This issue has been resolved in version 0.14.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


tests: Added some Cypress tests for Native Filters

SUMMARY

I added pack of tests for native filters feature.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Requires DB Migration.
[ ] Confirm DB Migration upgrade and downgrade tested.
[ ] Introduces new feature or API
[ ] Removes existing feature or API

Codecov Report

Merging #12180 (12eb880) into master (942e321) will decrease coverage by 3.26%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master   #12180      +/-   ##
==========================================
- Coverage   66.75%   63.49%   -3.27%
==========================================
  Files         994      484     -510
  Lines       49068    29760   -19308
  Branches     4979        0    -4979
==========================================
- Hits        32756    18896   -13860
+ Misses      16184    10864    -5320
+ Partials      128        0     -128

Flag
Coverage Δ

cypress
?

javascript
?

python
63.49% <ø> (-0.77%)
:arrow_down:

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

Impacted Files
Coverage Δ

superset/sql_validators/postgres.py
50.00% <0.00%> (-50.00%)
:arrow_down:

superset/views/database/views.py
62.50% <0.00%> (-25.07%)
:arrow_down:

superset/db_engine_specs/mysql.py
79.59% <0.00%> (-12.25%)
:arrow_down:

superset/db_engine_specs/sqlite.py
65.62% <0.00%> (-9.38%)
:arrow_down:

superset/db_engine_specs/presto.py
74.67% <0.00%> (-8.66%)
:arrow_down:

superset/databases/commands/create.py
83.67% <0.00%> (-8.17%)
:arrow_down:

superset/databases/commands/update.py
85.71% <0.00%> (-8.17%)
:arrow_down:

superset/db_engine_specs/base.py
79.38% <0.00%> (-6.71%)
:arrow_down:

superset/sql_validators/base.py
93.33% <0.00%> (-6.67%)
:arrow_down:

superset/views/database/forms.py
83.33% <0.00%> (-5.56%)
:arrow_down:

... and 523 more

Continue to review full report at Codecov.

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

@villebro I added step for adding new dashboard before suite.

@adam-stasiak would you mind fixing the test and get this PR through as your final task, thanks? 🙏

thank you @adam-stasiak, for pushing it through the finish line and all your great work!


unable to run zotcli: ModuleNotFoundError: No module named 'ConfigParser'

Traceback (most recent call last):
  File "/home/test/.local/bin//zotcli", line 5, in <module>
    from zotero_cli.main import cli
  File "/home/test/.local/lib/python3.10/site-packages/zotero_cli/main.py", line 8, in <module>
    import ConfigParser
ModuleNotFoundError: No module named 'ConfigParser'

However, I have ConfigParser Installed:

Requirement already satisfied: ConfigParser in ./.local/lib/python3.10/site-packages (5.2.0)

What could I do now?
Kind regards :)

@yetipowers Did you have any problems during installation? For me, there is a problem with pathlib
ollecting pathlib>=1.0.1
  Downloading pathlib-1.0.1.tar.gz (49 kB)
     |████████████████████████████████| 49 kB 3.9 MB/s
    ERROR: Command errored out with exit status 1:
     command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-ab9bu1go/pathlib_b726ca21851d47e291260824c74a796a/setup.py'"'"'; __file__='"'"'/tmp/pip-install-ab9bu1go/pathlib_b726ca21851d47e291260824c74a796a/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-qkq_x2rg
         cwd: /tmp/pip-install-ab9bu1go/pathlib_b726ca21851d47e291260824c74a796a/
    Complete output (13 lines):
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/usr/lib/python3.10/site-packages/setuptools/__init__.py", line 16, in <module>
        import setuptools.version
      File "/usr/lib/python3.10/site-packages/setuptools/version.py", line 1, in <module>
        import pkg_resources
      File "/usr/lib/python3.10/site-packages/pkg_resources/__init__.py", line 23, in <module>
        import zipfile
      File "/usr/lib/python3.10/zipfile.py", line 19, in <module>
        import pathlib
      File "/tmp/pip-install-ab9bu1go/pathlib_b726ca21851d47e291260824c74a796a/pathlib.py", line 10, in <module>
        from collections import Sequence
    ImportError: cannot import name 'Sequence' from 'collections' (/usr/lib/python3.10/collections/__init__.py)

From a quick read, I think the import should be from collections.abc and not from collections. Not sure how to fix it though.

I hacked the problem by modifying the system file for collections, which in my ArchLinux is /usr/lib/python3.10/collections/__init__.py.
Right after import _collections_abc I added from _collections_abc import Sequence.
To note that this is a dirty hack, a fix from the developers is needed.

Hello @tigerjack, yes the problem relates to pathlib as I can't get it installed…
! I also run archlinux, I edited the __init__,pyas you mentioned:
import _collections_abc
from _collections_abc import Sequence

but I got this error message, after running through all possible pathlib versions…
ERROR: Could not find a version that satisfies the requirement pathlib (from versions: 0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.97, 1.0, 1.0.1)
ERROR: No matching distribution found for pathlib

What could I do to fix it? Do you have any clues?

Dear @tigerjack, thank you a lot for the hint.
I realized there is an aur package:
python-pathlib
After installing it (version python-pathlib-1.0.1-1), I installed zotero-cli from github following the instructions from the Readme.md, and now it finally works!!
So the solution is simply installing python-pathlib library :)

@yetipowers Glad it worked. For me, the pathlib package from AUR was not solving the problem.


Flesh out compile-time expressions and const types

Summary
Formalise rules for compile-time const expressions, and change array access
modifier to readonly from const.
These updates are generally expected to be consistent with what
implementations already do, but formalised completely into the language
specification.
This also formalises the idea of the expressions that are guaranteed to
be evaluated at compile-time, and thus which expressions are guaranteed
to be valid to use as widths in type declarations, and in qubit
dereferencing.  This change does not attempt to solve the issue of the
allowed "dynamic dereferencing" of qubits, but fully defines the
problem: a reference to a qubit is dynamic if the type of the indexing
value is not const.  Implementations of OpenQASM 3.0 are permitted to
treat this as an error.
This change also fleshes out the section on built-in "scientific
calculator" functions on constant expressions, adding specific rules for
how the particular overload is chosen.
The change of the array access modifier in subroutines is to avoid unnecessary,
misleading conflict with the type modifier const that generally means
"compile-time constant".
Details and comments
This is in draft for initial comments from the types-and-casting WG first (since this is my attempt to formalise in writing what we've discussed and agreed upon).  The majority of the const expression rules here should be largely consistent with what current implementations are already doing in terms of compile-time constant folding, but formalises the rules, to give users a well-defined base point.
This PR does not include two potential extensions to this scheme that have also been discussed:

const type for for-loop variables, requiring the loop to be unrolled at compile time;
const def functions, for user-defined compile-time macros.

I will write up the first of these (for-loop unrolling if the loop variable has const type) in a separate PR on top of this as a potential discussion topic.  That may well not be suitable for the 3.0 release, however.
We have no pressing need for user-defined compile-time macros in the 3.0 spec.

(This is marked "draft" just because it's in the first stages of review with the types-and-casting group first.  I'll move it out of draft and tag for TSC once the internal review is complete.)

I've just rebased this over main, due to minor code-only conflicts caused by the merge of #370.  The text is identical to before the rebase, and is still waiting for TSC review.

@mbhealy volunteered to remove the int/uint change to the rotation operations.

Should we update classical.rst as well if changing the supported operand types of rotl and rotr?
(FWIW, I'm not sure I like the idea of uint promoting to an int automatically, but that sounds like a sailed ship, and I don't have much context anyway.)

@mbhealy volunteered to remove the int/uint change to the rotation operations.

After looking into this more deeply, and after a short discussion in last week's meeting, there was some agreement among attendees that the idea of rotating an int value seems a bit odd. I think limiting rotations to bit and uint types only would make the most sense. Rotation on ints (with stationary or mobile sign bits) is still possible, but doesn't seem like something that needs direct language support/convenience features.

@mbhealy volunteered to remove the int/uint change to the rotation operations.

Updated to uint and bit only in https://github.com/openqasm/openqasm/pull/366/commits/307fa094e8be792a845623101323999a452ab261

I've just pushed a5ab1f7 that includes the changes discussed in the working group meeting today about rotl and rotr, namely:

there are two overloads for each: (bit[n] target, int distance) -> bit[n] and (uint[n] target, int distance) -> uint[n] for all compile-time known n.
the distance argument (number of places to rotate) can be signed, and a negative number is equivalent to calling the other function with a positive number (i.e. rotl(a, -4) is the same as rotr(a, 4)).
the target argument only makes sense as bit[n] or uint[n].  It was never meant to be possible to rotate signed integers, and I think leaving the names out of the parameter specification caused some confusion here.


Use .factfile as file extension in README and all tests and samples

Should factotum facfiles be:

.factotum
.factfile
.fact
.job
.ff
.json (this one is unrelated, but it makes sure most editors pick it up as json)
something else?

Hmm, I hadn't thought of .json! It has some merit...

We ended up standardising on .factfile

Sublist of places that need converting (ticks for is done):

[ ] tests
[ ] samples
[ ] codebase/comments
[ ] wiki
[ ] readme


MB-11467 Make the SAC and TAC Show Up for the TOO

Jira ticket for this change
Summary
The ordersLOA weren't getting passed over into ShipmentDisplay, so I passed them down.
Technical nitty gritty:
MoveDetails transforms the orders information into ordersInfo, which renames stuff like this:
tacMDC: order.tac,
sacSDN: order.sac,
NTStac: order.ntsTac,
NTSsac: order.ntsSac,
The ShipmentDisplay ordersLOA prop is expecting stuff to be named similar to stuff on the right hand side, so had to do some juggling of names in RequestedShipments. I'm not a super big fan, but I also did not want to tackle a refactor.
Setup to Run Your Code

💻 You will need to use two separate terminals to test this locally.
Terminal 1
Start the UI locally.
make office_client_run

Terminal 2
Start the Go server locally.
make server_run

Additional steps

Access the office app
Login as a TOO
Select a move with NTS or NTS-R

Verification Steps for Author
These are to be checked by the author.

[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

Verification Steps for Reviewers
These are to be checked by a reviewer.

Frontend

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers and their phone views (Chrome, Firefox, IE, Edge).
[ ] There are no new console errors in the browser devtools
[ ] There are no new console errors in the test output

Screenshots

Warnings

:warning:
This PR does not include changes to unit tests, even though it affects app code.

Messages

:book:
:link: MB-11467

  Generated by :no_entry_sign: dangerJS against bb3b85a270b5b885e812ace60c56c4b5cbfe705b


☄  Epic 3: Move HykuUp to Valkyrie

Summary
Dependent on

https://github.com/scientist-softserv/adventist_knapsack/issues/112
https://github.com/scientist-softserv/hykuup_knapsack/issues/32

Tasks

[ ] #35
[ ] Update hyku submodule on hykuup_knapsack
[ ] #34

NOTES
GBH Valkyrie:

https://github.com/scientist-softserv/ams/issues/20
https://github.com/scientist-softserv/ams/issues/19
bulrkax: hyrax-4-valkyrie-support
hyrax: hyrax-4-valkyrie-support
rails: 6
breakdown: https://jamboard.google.com/d/1a0WjBjPGYCxFEqJmN2jJj0oXqVx89Xq9jUhHv41KV8U/viewer

Blocked by Epic 1 and 2


Optimize "instanceof" in ADVANCED_OPTIMIZATIONS

Here's a potential improvement for ADVANCED_OPTIMIZATIONS. It could take typedefs into account and optimize away instanceof calls. Given this JS:
function hello(/** (!HTMLCanvasElement) */ element) {
    if (element instanceof HTMLCanvasElement) {
        console.log('hello');
    }
}
hello(
    /** @type {!HTMLCanvasElement} */ (document.getElementById('mycanvas'))
);

Here's what the compiler currently generates:
document.getElementById("mycanvas")instanceof HTMLCanvasElement&&console.log("hello");

Here's the command I used to generate that:
java -jar closure-compiler-v20200927.jar \
--language_in ECMASCRIPT6 \
--language_out ECMASCRIPT5 \
--compilation_level ADVANCED_OPTIMIZATIONS \
canvas_hello.js

Given that the element parameter has been marked as always being an HTMLCanvasElement (via the typedef in the function definition and the typedef on the parameter in the one-and-only call to the function), the compiler should be able to safely determine that element instanceof HTMLCanvasElement is always true — hence optimizing away that call.
The ideal output would be:
console.log('hello');

The compiler treads a fine line and we can't prove (for optimization purposes) that "getElementById" returns the HTMLCanvasElement and that it is safe to remove the check.  We don't want to remove checks that are there for correctness.  For validating checks, the Closure Library provides a variety of methods that work with type checking and are intended to be removed from production code (in the goog.asserts package).
Alternately, the check could be written explicitly to be removed but isn't as useful for type checking (if you don't care about that:
if (!COMPILED && ...) { ... }

The existing behavior is "working as intended" here.


CVE-2024-24790

The latest temporalio/admin-tools, temporalio/server and temporalio/ui images are using a version of Go that is impacted by CVE-2024-24790.
Updating Go to 1.21.11 or newer would fix the issue.

Thanks for reporting this. It's a known issue. Please refer to the following documentation for more information:

https://github.com/temporalio/temporal/issues/5006

Thanks for reporting this. The latest temporalio/admin-tools, temporalio/server and temporalio/ui images are using a version of Go that is impacted by CVE-2024-24790.
Updating Go to 1.21.11 or newer would fix the issue.  You can find more information about updating the Go version in the temporalio/server repository.

Thanks for reporting this. This is a known issue and can be worked around by updating to the latest Temporal Admin tools, Server, and UI images. We recommend following the steps in the Upgrade Temporal guide to ensure a smooth upgrade process.


Support MQTT protocol

Close: #29

Codecov Report
Patch coverage has no change and project coverage change: -1.69 :warning:

Comparison is base (e73b72b) 48.73% compared to head (3772d52) 47.05%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
- Coverage   48.73%   47.05%   -1.69%
==========================================
  Files          11       11
  Lines         476      493      +17
==========================================
  Hits          232      232
- Misses        244      261      +17

Impacted Files
Coverage Δ

src/ingest.rs
100.00% <ø> (ø)

src/ingest/network.rs
6.45% <0.00%> (-0.65%)
:arrow_down:

src/publish/range.rs
13.33% <0.00%> (-0.96%)
:arrow_down:

src/publish/stream.rs
0.00% <0.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


GH2113: Check local NuGet sources before trying remote

Fixes #2113

Should speed up things, and make it more pleasant to work offline...
Merge #2114 first....

@mholo65 your changes have been merged, thanks for your contribution 👍


PTVS Analysis Engine: hovering symbols that do not have hover information results in an error

Environment data

VS Code version: 1.22.0-insiders
Extension version (available under the Extensions sidebar): 2018.4.0-alpha (nightly 11-46-46-464)
OS and version: macOS High Sierra
Python version (& distribution if applicable, e.g. Anaconda): 3.6
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): direnv
Relevant/affected Python packages and their versions: n/a

Actual behavior
An error is reported:
Illegal argument, contents must be defined

Expected  behavior
Nothing happens.
Steps to reproduce:

Make sure the new analysis engine is enabled
Hover a language keyword, a parenthesis, a bracket or a brace symbol.
Check the developer tools console for the error mentioned above.

Logs
Output for Python in the Output panel (View→Output, change the drop-down the upper-right of the Output panel to Python)
[Info  - 13:07:25] No hover info found in file:///Users/patrys/<redacted>/settings.py at (68, 5)

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help)
ERR Illegal argument, contents must be defined: Error: Illegal argument, contents must be defined
	at new <anonymous> (/Applications/Visual Studio Code - Insiders.app/Contents/Resources/app/out/vs/workbench/node/extensionHostProcess.js:430:471)
	at asHover (/Users/patrys/.vscode-insiders/extensions/ms-python.python-2018.4.0-alpha/node_modules/vscode-languageclient/lib/protocolConverter.js:63:16)
	at <anonymous>

OK, fixes on PTVS side. Part of https://github.com/Microsoft/PTVS/pull/4065


support ident across PROXY protocol

Ident won't work through PROXY because we discard the source port information. We should probably attach this to WrappedConn and use it for ident queries when applicable.

This is superseded by #1213. I'm unlikely to do this. Ident must die.


Improved invite acceptance process.

Resolved #373.
Also slightly improved the email html and made Invite code swear-safe.

This should also resolve the error emails we got around invitations.

We could also disable the email field and add help text clarifying that you're not allowed to claim the invitation as someone else.

But that can be a separate ticket.

Out of curiousity, though, what makes the invite code swear-safe? It looks like you made it safe for writing down unambiguously (which seems unnecessary, but fine)? Is that related?

This looks good, though, so I'm gonna merge.


error: A hook (helpers) failed to load!

error: Failed to lift app: ImplementationError: Failed to load helper utils into a Callable!  Sorry, could not interpret "utils" because its underlying implementation has a problem:
• Missing the fn property.
If you are the maintainer of "utils", then you can change its implementation to solve the problem above.  Otherwise, please file a bug report with the maintainer, or fork your own copy and fix that.
[?] See https://sailsjs.com/support for help.
at flaverr (/tmp/konga/node_modules/flaverr/index.js:94:15)
at helpBuildMachine (/tmp/konga/node_modules/machine/lib/private/help-build-machine.js:178:11)
at Function.buildWithCustomUsage (/tmp/konga/node_modules/machine/lib/build-with-custom-usage.js:38:10)
at Hook.furnishHelper (/tmp/konga/node_modules/sails/lib/hooks/helpers/index.js:411:68)
at Hook.wrapper [as furnishHelper] (/tmp/konga/node_modules/@sailshq/lodash/lib/index.js:3250:19)
at /tmp/konga/node_modules/sails/lib/hooks/helpers/private/load-helpers.js:94:31
at /tmp/konga/node_modules/@sailshq/lodash/lib/index.js:3228:15
at baseForOwn (/tmp/konga/node_modules/@sailshq/lodash/lib/index.js:2199:14)
at /tmp/konga/node_modules/@sailshq/lodash/lib/index.js:3198:18
at Function. (/tmp/konga/node_modules/@sailshq/lodash/lib/index.js:3501:13)
at /tmp/konga/node_modules/sails/lib/hooks/helpers/private/load-helpers.js:42:9
at helpBuildDictionary (/tmp/konga/node_modules/include-all/lib/help-build-dictionary.js:135:10)
at Function.module.exports.optional (/tmp/konga/node_modules/include-all/index.js:67:10)
at loadHelpers (/tmp/konga/node_modules/sails/lib/hooks/helpers/private/load-helpers.js:24:14)
at Hook.initialize (/tmp/konga/node_modules/sails/lib/hooks/helpers/index.js:285:7)
at Hook.wrapper [as initialize] (/tmp/konga/node_modules/@sailshq/lodash/lib/index.js:3250:19)
at /tmp/konga/node_modules/sails/lib/hooks/index.js:122:20
at /tmp/konga/node_modules/sails/node_modules/async/dist/async.js:421:16
at processQueue (/tmp/konga/node_modules/sails/node_modules/async/dist/async.js:1565:20)
at taskComplete (/tmp/konga/node_modules/sails/node_modules/async/dist/async.js:1588:9)
at /tmp/konga/node_modules/sails/node_modules/async/dist/async.js:1612:17
at /tmp/konga/node_modules/sails/node_modules/async/dist/async.js:906:16

Hello @kerimcalik , can you try deleting the npm_modules folder and then doing npm install again? Are you facing the same issue? Also, what version of node js are you using?

Hello @kerimcalik , can you try deleting the npm_modules folder and then doing npm install again? Are you facing the same issue? Also, what version of node js are you using?

thanks, the problem is fixed

Hi @kerimcalik , i'm facing the same issue, and i've tried what @pantsel suggested above but it doesn't work. could you tell me how to fix it

Hi @kerimcalik , i'm facing the same issue, and i've tried what @pantsel suggested above but it doesn't work. could you tell me how to fix it

just install kong using downloaded zip file from releases page
https://github.com/pantsel/konga/releases


KAFKA-16855 : Based on tiered state of topic, check for tasks

Resolves https://issues.apache.org/jira/browse/KAFKA-16855
Based on the comments from jira :
Replaying a TopicRecord

If a topic has tiering enabled then it should have both copy and expire tasks
If a topic doesn't have tiering enabled then it should have only expire tasks

Records are replayed in ReplicaManager#applyDelta
Committer Checklist (excluded from commit message)

[X] Verify design and implementation
[X] Verify test coverage and CI build status
[X] Verify documentation (including upgrade notes)

@clolov @showuon
Can you pls take a look at this draft pr if this approach makes any sense.

From the KIP-950, when user changes remote.storage.enable to false, we should do:

The controller creates a ConfigRecord and persists it in the metadata topic. (this is done in current KRaft)
The controller creates a TopicRecord to increment the tiered_epoch and update the tiered_state to DISABLED state. (this should be added)
Broker detects the configuration change, it calls the ConfigHandler to process the ConfigRecord change with tiered storage disablement. (this is done in current KRaft)
The broker ConfigHandler calls RemoteLogManager#stopPartitions(). (this should be added)
Execution of RemoteLogManager#stopPartitions(): (this should be added)
5.1. Removes the scheduled tasks for the topic-partition from the thread pool responsible for archiving logs to remote storage.
5.2. If the disablement policy is set to delete, the Log start offset (LSO) is updated to match the Local Log Start Offset and the remote log is deleted by calling the RemoteStorageManager#deleteLogSegmentData().
5.3. If the disablement policy is set to retain, there is no extra call required to delete remote data as the RemoteLogManager leader partition task will periodically expire segments that are earlier than the log start offset.

I didn't see we do anything based on the KIP description. Could you let me know why? And how we should continue?

@clolov , do you have POC for KRaft implementation? If no, please let me know. I might need some time to implement it.

@muralibasani @kamalcph @clolov , I've created a drafted PR to demonstrate my thought about this task. Please take a look. Thanks.

@muralibasani @kamalcph @clolov , I've created a drafted PR to demonstrate my thought about this task. Please take a look. Thanks.

@showuon Thanks a million. That really helps. Will look into it.

I'm not clear what this PR does. @muralibasani Could you please write a summary about the changes made? Thanks!

I'm not clear what this PR does. @muralibasani Could you please write a summary about the changes made? Thanks!

@kamalcph I apologize for the confusion. I have now updated the summary. It's based on the comments from @clolov in jira.
However, am not sure if this is everything expected from this ticket. Waiting for Chris to take another look.

Based on the recent conversations on the other related PR, I assume this PR is not required anymore ?

Based on the recent conversations on the other related PR, I assume this PR is not required anymore ?

Correct. Thanks for your contribution @muralibasani !


Added support for Brazilian Portuguese language, locale pt_BR

We're currently generating translations for the 'pt_BR' locale however they are not included because they are identical to the generic Portuguese translations in packages/flutter_localizations/lib/src/l10n/material_pt.arb
If the device's locale is 'pt_BR' the 'pt' translations should be used by default. If that's not working or if there are some material_pt.arb translations you think should be changed, please reopen this bug.


weather quite wrong for Oxfordshire, UK

Hi,
I'm not quite sure what's happening, but Pirate weather is showing it to be sunny right now, but there's 100% cloud cover.
This screenshot shows HA's weather card, yours and the the UK Met office card.

I don't have access to Dark Sky's API, but I do use their website which shows:

I am happy to help troubleshoot :-)

Hi- I'm really sorry I missed this. I was camping and it got lost in the deluge of messages when I got back. Now that I've flagged it I'll be faster as responding here. These summer storms are really tricky to get right. They tend to come up pretty suddenly and have very light rain, which is something the models seem to struggle with.
If you can remember, was it raining when this occurred? And do you know if it cleared up at all later in the day?
Let me know if (when) this occurs again and I'll see if I can check the underlying model results to try to tease this out.
Thanks,
Alexander

Hi, thanks!
No, it wasn't raining.
Yes, it got clear up later in the day.

Let me know if (when) this occurs again

...will do - cheers.


orientation.roll is the exact same as accel.x

The readings are exactly the same. Kai plotted them in matlab and they do not differ.

Fixed as part of https://github.com/UCLARocketProject/2014-2015/commit/8beda288ba2c5db84731d50629adfc6e186371b5


Duplicate names of ngModel fields in form controller not supported.

In 1.0.0rc2, a form supports multiple  fields to have the same name.
For example:
<form name="myForm">

        <input ng-model="item.name" name="name">

</form>

We can access the array of ngModelControllers by
{{myForm.name}}

But all versions after that, a form can only register a single modelController with the same name.
In the example above, myForm.name is the last item in the items array, which replaces all others.
Is there a way to access a certain group of fields on the form controller level like
{{myForm.name}}

?
I am trying to validate against uniqueness over multiple fields in a form.

You should use a different name for each field. Since you are using ngRepeat, you could use $index to create unique names. E.g.:
<form name="myForm">

        <input ng-model="item.name" name="name{{$index}}">

</form>

Since multiple form elements with the same name are accessible as an array in form.elements[inputName], maybe angular should do the same?

I've found a way to achieve my goal anyway.
But I still think it would be very helpful to access elements with the same name as an array.
Although it would bring confusion to the entire form scope while accessing a single field as it is not unique by name.

Definitely somewhat confusing when first encountering this issue. If there was an interpolation step in the ngModel -> form control name resolution then you could at least get around the issue usin $index in an ng-repeat, etc.

If there was an interpolation step in the ngModel -> form control name resolution

@booleanbetrayal, (as already mentioned above) there is.

Ahh, I was confused about some of the formController method parameters, and looks like they accept a NgModelController directly, so that's a fine workaround. Thanks!

Not sure what you mean, but if you're happy, I'm happy :stuck_out_tongue:

Hi, I'm having the same issue. I got an ng-form inside of an ng-repeat. I got 2 inputs in this form ng-model="feat.Name"  and ng-model="feat.Description".  The thing is that all inputs are being updated when I type somehting. How can I avoid this behavior? I added to the inputs name=name{{$index}} and it didnt work, also I added that index to the ng-model but then the ng-repeat didnt work. Any help? thanks

@AcarMeel, this sounds like a general support question. Please, use one of the appropriate support channels for these types of questions.
GitHub issues are reserved for bug reports and feature requests.
Thx!


doc site previews from netlify are broken

I might have been wrong about this. Looking at Netlify logs, it seems that the previews are no longer being deployed if, after building, the docs are no different from the live doc site.
I'll keep this open until I'm 100% certain.

As it turns out, the issue is just that a lot of doc preview builds are being automatically canceled if Netlify detects that doc content hasn't changed WRT the PR in question...
Every time you open a new PR, you get a preview.
If you amend a PR and the amendment doesn't change the docs, you don't get a new preview. The old preview still exists, but the link in the "checks" section of the PR will be to the canceled build instead. (Which is strange.)
We can fix this by adding a rule that will build and deploy previews every time as long as there are differences from the main branch in the docs/ directory.  You will always get an updated preview.


Segmentation examples

Hi,
Thanks for the great library.
I noticed that in the examples folder, there is no example for segmentation. Is it possible to add an example for sgmentation, especially using the MeshCNN architecture?

I would be interested to this as well.


bitwise operations are wrongly placed

@IngeniariusSoftware I believe, we made a mistake in #452. These operators should be in bytes, not in int. In order to do left on int we should do:
42 > a
(a.bytes.left 4).as-int

I suggest we fix this.

@IngeniariusSoftware can you move them?

@yegor256 , ok I'll do it

@yegor256 https://github.com/cqfn/eo/pull/458

@IngeniariusSoftware thanks! you can close this ticket, it's yours.

@IngeniariusSoftware thanks!

Job gh:cqfn/eo#457 is not assigned, can't get performer


feat(bvh-region): add raycast query

#725  👈 (View in Graphite)
main

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


Error javax.net.ssl.SSLException: Unrecognized SSl plaintext connection

While executing the script for 30 min it will give this error Error javax.net.ssl.SSLException: Unrecognized SSl plaintext connection. Why this error is occurring.

@tricharu
This is likely not a bug with GtiLab4J, rather a networking issue where it is running.  I would need additional information to look into this, do you have a full stack trace of the error?

Please find the stack trace
org.gitlab4j.api.GitLabApiException: java.net.ConnectException: Connection timed out: connect
at org.gitlab4j.api.AbstractApi.handle(AbstractApi.java:344)
at org.gitlab4j.api.AbstractApi.get(AbstractApi.java:67)
at org.gitlab4j.api.Pager.(Pager.java:84)
at org.gitlab4j.api.ProjectApi.getMemberProjects(ProjectApi.java:352)
at org.samsung.com.Getting_review_comment.extract_review_infomain(Getting_review_comment.java:94)
at org.samsung.com.Login_Window$3.actionPerformed(Login_Window.java:148)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$500(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: javax.ws.rs.ProcessingException: java.net.ConnectException: Connection timed out: connect
at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:287)
at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:252)
at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:684)
at org.glassfish.jersey.client.JerseyInvocation$1.call(JerseyInvocation.java:681)
at org.glassfish.jersey.internal.Errors.process(Errors.java:315)
at org.glassfish.jersey.internal.Errors.process(Errors.java:297)
at org.glassfish.jersey.internal.Errors.process(Errors.java:228)
at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:444)
at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:681)
at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:411)
at org.glassfish.jersey.client.JerseyInvocation$Builder.get(JerseyInvocation.java:311)
at org.gitlab4j.api.GitLabApiClient.get(GitLabApiClient.java:336)
at org.gitlab4j.api.GitLabApiClient.get(GitLabApiClient.java:324)
at org.gitlab4j.api.AbstractApi.get(AbstractApi.java:65)
... 40 more
Caused by: java.net.ConnectException: Connection timed out: connect
at java.net.DualStackPlainSocketImpl.connect0(Native Method)
at java.net.DualStackPlainSocketImpl.socketConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.doConnect(Unknown Source)
at java.net.AbstractPlainSocketImpl.connectToAddress(Unknown Source)
at java.net.AbstractPlainSocketImpl.connect(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.security.ssl.SSLSocketImpl.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.(Unknown Source)
at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at java.net.HttpURLConnection.getResponseCode(Unknown Source)
at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:399)
at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:285)
... 53 more

This is very unlikely an issue with this library.  More likely it is a networking issue, could be caused by a proxy or firewall.  Connection timeouts are just that, a timeout trying to connect to the other end of the connection and it was unable to.  When this occurs I would suggest that you try and manually connect to the GitLab server using a browser to see what happens.

@tricharu I'm going to close this issue, if you need to re-open it please do.


Crash

[AsyncWorker#0 thread/CRITICAL]: Error: "Typed property customiesdevs\customies\block\BlockPalette::$states must not be accessed before initialization" (EXCEPTION) in "F:/PocketMine-MP/plugins/Customies_dev-26.phar/src/block/BlockPalette" at line 95
--- Stack trace ---
  #0 F:/PocketMine-MP/plugins/Customies_dev-26.phar/src/task/AsyncRegisterBlocksTask(42): customiesdevs\customies\block\BlockPalette->sortStates()
  #1 pmsrc/src/scheduler/AsyncTask(81): customiesdevs\customies\task\AsyncRegisterBlocksTask->onRun()
  #2 (): pocketmine\scheduler\AsyncTask->run()
--- End of exception information ---
[12:31:56.573] [Server thread/CRITICAL]: pocketmine\thread\ThreadCrashException: "Worker 0 crashed while running task customiesdevs\customies\task\AsyncRegisterBlocksTask#177188" (EXCEPTION) in "pmsrc/src/scheduler/AsyncPool" at line 226
--- Stack trace ---
  #0 pmsrc/src/scheduler/AsyncPool(266): pocketmine\scheduler\AsyncPool->checkCrashedWorker(int 0, object customiesdevs\customies\task\AsyncRegisterBlocksTask#177188)
  #1 pmsrc/src/scheduler/AsyncPool(241): pocketmine\scheduler\AsyncPool->collectTasksFromWorker(int 0)
  #2 pmsrc/src/Server(1855): pocketmine\scheduler\AsyncPool->collectTasks()
  #3 pmsrc/src/Server(1740): pocketmine\Server->tick()
  #4 pmsrc/src/Server(1110): pocketmine\Server->tickProcessor()
  #5 pmsrc/src/PocketMine(355): pocketmine\Server->__construct(object pocketmine\thread\ThreadSafeClassLoader#6, object pocketmine\utils\MainLogger#2, string[26] F\PocketMine-MP\, string[34] F:\PocketMine-MP\plugins\)
  #6 pmsrc/src/PocketMine(378): pocketmine\server()
  #7 F:/PocketMine-MP/PocketMine-MP.phar(168): require(string[112] phar://C:/Users/Edward Maulidul/AppData/Local/Temp/PocketMine-MP-phar-cache.0/PM)
--- End of exception information ---
[12:31:56.573] [Server thread/EMERGENCY]: An unrecoverable error has occurred and the server has crashed. Creating a crash dump
[12:31:56.607] [Server thread/EMERGENCY]: Please upload the "F:/PocketMine-MP/crashdumps/Fri_Sep_20-12.31.56-UTC_2024.log" file to the Crash Archive and submit the link to the Bug Reporting page. Give as much info as you can.
[12:31:56.608] [Server thread/EMERGENCY]: Forcing server shutdown

isn't this the same as #11? it was fixed in build 28

Owner

Different, pocketmine ng update again :'

hm? I don't really understand what you mean
you can just download the latest Customies to fix it, you still haven't updated it

fixed in the fork


Update Iterators and Generators.md

I suggested that the removed section in the Pull Request be merged because it is showing an incorrect usage of the Set object according to MDN Documentation.
In theory, what the author wanted to communicate with this section makes sense (if they were teaching JavaScript), if you ran that example in JavaScript land it would compile and make sense. But with TypeScript it will throw an error and not even compile depending on how 'strict' the compiler settings are, ie. noEmitOnErrors = true. Therefore it causes only confusion and should be removed in my opinion.
Perhaps there's a better way to to get the same point across that the author wanted to, but I couldn't think of any so far. I could also try to rewrite a similar / different suggestion if anyone had an idea for that.
There's an open issue from 2020 which shows the same confusion I had when I first saw this example link
The error thrown by TS for this example:
Element implicitly has an 'any' type because expression of type '"species"' can't be used to index type 'Set<string>'.
  Property 'species' does not exist on type 'Set<string>'.

On second look, I don't think that this should be changed; this example is showing the fact that an object with an iterator will not have for of go over its own properties, but instead whatever that iterator returns.
I think a better fix would be to explicitly implement one of those, maybe, but I think having this example here is better than nothing.


Missing library in java image when awt is used

What happened?
Hello,
I hope that this is the right place to discuss this topic. Our application uses Spring Boot 2.5.6. Maven builds our application as Spring Boot enabled jar file without problems for quite some time. Now, for initial testing of docker container creation, I used
mvn spring-boot:build-image

to try to automatically create a docker image. This worked right out of the box, so I started a container from this image. Our application first starts as it should, but then we are confronted with a stacktrace:
2021-12-07 10:40:33,956 ERROR [            main                   ] o.a.c.c.C.[Tomcat].[localhost].[/]       : Exception starting filter [javamelody]
java.lang.UnsatisfiedLinkError: /layers/paketo-buildpacks_bellsoft-liberica/jdk/lib/libawt_xawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
        at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
        at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2442)
        at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2498)
        at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2694)
        at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2627)
        at java.base/java.lang.Runtime.load0(Runtime.java:768)
        at java.base/java.lang.System.load(System.java:1837)
        at java.base/java.lang.ClassLoader$NativeLibrary.load0(Native Method)
        at java.base/java.lang.ClassLoader$NativeLibrary.load(ClassLoader.java:2442)
        at java.base/java.lang.ClassLoader$NativeLibrary.loadLibrary(ClassLoader.java:2498)
        at java.base/java.lang.ClassLoader.loadLibrary0(ClassLoader.java:2694)
        at java.base/java.lang.ClassLoader.loadLibrary(ClassLoader.java:2648)
        at java.base/java.lang.Runtime.loadLibrary0(Runtime.java:830)
        at java.base/java.lang.System.loadLibrary(System.java:1873)
        at java.desktop/java.awt.Toolkit$3.run(Toolkit.java:1395)
        at java.desktop/java.awt.Toolkit$3.run(Toolkit.java:1393)
        at java.base/java.security.AccessController.doPrivileged(Native Method)
        at java.desktop/java.awt.Toolkit.loadLibraries(Toolkit.java:1392)
        at java.desktop/java.awt.Toolkit.<clinit>(Toolkit.java:1425)
        at java.desktop/java.awt.Color.<clinit>(Color.java:275)
        at net.bull.javamelody.internal.model.JRobin.<clinit>(JRobin.java:71)
        at net.bull.javamelody.FilterContext.initCollect(FilterContext.java:271)
        at net.bull.javamelody.FilterContext.<init>(FilterContext.java:137)
        at net.bull.javamelody.MonitoringFilter.init(MonitoringFilter.java:148)
        at org.apache.catalina.core.ApplicationFilterConfig.initFilter(ApplicationFilterConfig.java:270)
        at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:105)
        at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:4613)
        at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5256)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
        at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
        at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)
        at org.apache.catalina.core.StandardHost.startInternal(StandardHost.java:835)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1396)
        at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1386)
        at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
        at org.apache.tomcat.util.threads.InlineExecutorService.execute(InlineExecutorService.java:75)
        at java.base/java.util.concurrent.AbstractExecutorService.submit(AbstractExecutorService.java:140)
        at org.apache.catalina.core.ContainerBase.startInternal(ContainerBase.java:919)
        at org.apache.catalina.core.StandardEngine.startInternal(StandardEngine.java:263)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        at org.apache.catalina.core.StandardService.startInternal(StandardService.java:432)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        at org.apache.catalina.core.StandardServer.startInternal(StandardServer.java:927)
        at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:183)
        at org.apache.catalina.startup.Tomcat.start(Tomcat.java:486)
        at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.initialize(TomcatWebServer.java:123)
        at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.<init>(TomcatWebServer.java:104)
        at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getTomcatWebServer(TomcatServletWebServerFactory.java:450)
        at org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory.getWebServer(TomcatServletWebServerFactory.java:199)
        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.createWebServer(ServletWebServerApplicationContext.java:182)
        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.onRefresh(ServletWebServerApplicationContext.java:160)
        at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:577)
        at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:145)
        at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:754)
        at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:434)
        at org.springframework.boot.SpringApplication.run(SpringApplication.java:338)
        at de.foconis.core.app.SysUtils.run(SysUtils.java:289)
        at de.foconis.core.app.SysUtils.run(SysUtils.java:109)
        at de.foconis.zak.runner.ApplicationInitializer.main(ApplicationInitializer.java:58)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        at org.springframework.boot.loader.MainMethodRunner.run(MainMethodRunner.java:49)
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:108)
        at org.springframework.boot.loader.Launcher.launch(Launcher.java:58)
        at org.springframework.boot.loader.WarLauncher.main(WarLauncher.java:59)

JavaMelody is integrated into our application and it is initialized during bootup. When I look into JRobin.java:71, I see:
private static final Color PERCENTILE_COLOR = new Color(200, 50, 50);`

Judging from the imports, this class needs a few other awt classes as well:
import java.awt.Color;
import java.awt.Font;
import java.awt.GradientPaint;
import java.awt.Paint;

So when intializing this class, it tries to load the libawt_xawt.so library, which in turn tries to load libXtst.so.6, which is not present in the image. I also tested it with the full image, but I get the same error.
It seems to me, that there is a library missing in the base image that Java needs to function properly. Can this be integrated into one of the images?
Build Configuration
We use spring-boot-2.5.6 as basic framework. These are the configuration changes of the spring-boot-maven-plugin (I tested it with base and full, therefore the comment, I tested it without the whole image-Block as well):
<image>
	<!--<builder>paketobuildpacks/builder:full</builder>-->
	<env>
		<BP_JVM_TYPE>JDK</BP_JVM_TYPE>
		<BP_JVM_VERSION>11.*</BP_JVM_VERSION>
		<BPL_DEBUG_ENABLED>true</BPL_DEBUG_ENABLED>
		<BPL_HEAP_DUMP_PATH>/tmp/heapdump.hprof</BPL_HEAP_DUMP_PATH>
	</env>
</image>

I see this output when running spring-boot:build-image:
[INFO]  > Pulling builder image 'docker.io/paketobuildpacks/builder:base' 100%
[INFO]  > Pulled builder image 'paketobuildpacks/builder@sha256:5f5b269e93b0519f993562b0560ba73fbf24f50d3fe4a5f62ba40cb323571fa0'
[INFO]  > Pulling run image 'docker.io/paketobuildpacks/run:base-cnb' 100%
[INFO]  > Pulled run image 'paketobuildpacks/run@sha256:b1e8add4fc569e37085342cd05186d17cb81e128ee60fd9fd633337e25ac7808'
[INFO]  > Executing lifecycle version v0.13.1
[INFO]  > Using build cache volume 'pack-cache-bc545c05cd44.build'
[INFO]
[INFO]  > Running creator
[INFO] Layout: WAR
[INFO]     [creator]     ===> DETECTING
[INFO]     [creator]     6 of 19 buildpacks participating
[INFO]     [creator]     paketo-buildpacks/ca-certificates   3.0.1
[INFO]     [creator]     paketo-buildpacks/bellsoft-liberica 9.0.1
[INFO]     [creator]     paketo-buildpacks/syft              1.0.1
[INFO]     [creator]     paketo-buildpacks/executable-jar    6.0.1
[INFO]     [creator]     paketo-buildpacks/dist-zip          5.0.1
[INFO]     [creator]     paketo-buildpacks/spring-boot       5.1.0
[INFO]     [creator]     ===> ANALYZING
[INFO]     [creator]     Restoring metadata for "paketo-buildpacks/ca-certificates:helper" from app image
[INFO]     [creator]     Restoring metadata for "paketo-buildpacks/bellsoft-liberica:jdk" from app image
[INFO]     [creator]     Restoring metadata for "paketo-buildpacks/bellsoft-liberica:helper" from app image
[INFO]     [creator]     Restoring metadata for "paketo-buildpacks/bellsoft-liberica:java-security-properties" from app image
[INFO]     [creator]     Restoring metadata for "paketo-buildpacks/syft:syft" from cache
[INFO]     [creator]     Restoring metadata for "paketo-buildpacks/spring-boot:helper" from app image
[INFO]     [creator]     Restoring metadata for "paketo-buildpacks/spring-boot:spring-cloud-bindings" from app image
[INFO]     [creator]     Restoring metadata for "paketo-buildpacks/spring-boot:web-application-type" from app image
[INFO]     [creator]     ===> RESTORING
[INFO]     [creator]     Restoring data for "paketo-buildpacks/bellsoft-liberica:jdk" from cache
[INFO]     [creator]     Restoring data for "paketo-buildpacks/syft:syft" from cache
[INFO]     [creator]     ===> BUILDING
[INFO]     [creator]
[INFO]     [creator]     Paketo CA Certificates Buildpack 3.0.1
[INFO]     [creator]       https://github.com/paketo-buildpacks/ca-certificates
[INFO]     [creator]       Launch Helper: Reusing cached layer
[INFO]     [creator]
[INFO]     [creator]     Paketo BellSoft Liberica Buildpack 9.0.1
[INFO]     [creator]       https://github.com/paketo-buildpacks/bellsoft-liberica
[INFO]     [creator]       Build Configuration:
[INFO]     [creator]         $BP_JVM_TYPE                 JDK                  the JVM type - JDK or JRE
[INFO]     [creator]         $BP_JVM_VERSION              11.*                 the Java version
[INFO]     [creator]       Launch Configuration:
[INFO]     [creator]         $BPL_DEBUG_ENABLED           true                 enables Java remote debugging support
[INFO]     [creator]         $BPL_DEBUG_PORT              8000                 configure the remote debugging port
[INFO]     [creator]         $BPL_DEBUG_SUSPEND           false                configure whether to suspend execution until a debugger has attached
[INFO]     [creator]         $BPL_HEAP_DUMP_PATH          /tmp/heapdump.hprof  write heap dumps on error to this path
[INFO]     [creator]         $BPL_JAVA_NMT_ENABLED        true                 enables Java Native Memory Tracking (NMT)
[INFO]     [creator]         $BPL_JAVA_NMT_LEVEL          summary              configure level of NMT, summary or detail
[INFO]     [creator]         $BPL_JFR_ARGS                                     configure custom Java Flight Recording (JFR) arguments
[INFO]     [creator]         $BPL_JFR_ENABLED             false                enables Java Flight Recording (JFR)
[INFO]     [creator]         $BPL_JMX_ENABLED             false                enables Java Management Extensions (JMX)
[INFO]     [creator]         $BPL_JMX_PORT                5000                 configure the JMX port
[INFO]     [creator]         $BPL_JVM_HEAD_ROOM           0                    the headroom in memory calculation
[INFO]     [creator]         $BPL_JVM_LOADED_CLASS_COUNT  35% of classes       the number of loaded classes in memory calculation
[INFO]     [creator]         $BPL_JVM_THREAD_COUNT        250                  the number of threads in memory calculation
[INFO]     [creator]         $JAVA_TOOL_OPTIONS                                the JVM launch flags
[INFO]     [creator]       A JDK was specifically requested by the user, however a JRE is available. Using a JDK at runtime has security implications.
[INFO]     [creator]       BellSoft Liberica JDK 11.0.13: Reusing cached layer
[INFO]     [creator]       Launch Helper: Reusing cached layer
[INFO]     [creator]       Java Security Properties: Reusing cached layer
[INFO]     [creator]
[INFO]     [creator]     Paketo Syft Buildpack 1.0.1
[INFO]     [creator]       https://github.com/paketo-buildpacks/syft
[INFO]     [creator]
[INFO]     [creator]     Paketo Executable JAR Buildpack 6.0.1
[INFO]     [creator]       https://github.com/paketo-buildpacks/executable-jar
[INFO]     [creator]       Class Path: Contributing to layer
[INFO]     [creator]         Writing env/CLASSPATH.delim
[INFO]     [creator]         Writing env/CLASSPATH.prepend
[INFO]     [creator]       Process types:
[INFO]     [creator]         executable-jar: java org.springframework.boot.loader.WarLauncher (direct)
[INFO]     [creator]         task:           java org.springframework.boot.loader.WarLauncher (direct)
[INFO]     [creator]         web:            java org.springframework.boot.loader.WarLauncher (direct)
[INFO]     [creator]
[INFO]     [creator]     Paketo Spring Boot Buildpack 5.1.0
[INFO]     [creator]       https://github.com/paketo-buildpacks/spring-boot
[INFO]     [creator]       Creating slices from layers index
[INFO]     [creator]         dependencies
[INFO]     [creator]         spring-boot-loader
[INFO]     [creator]         snapshot-dependencies
[INFO]     [creator]         application
[INFO]     [creator]       Launch Helper: Reusing cached layer
[INFO]     [creator]       Spring Cloud Bindings 1.8.0: Reusing cached layer
[INFO]     [creator]       Web Application Type: Contributing to layer
[INFO]     [creator]         Non-web application detected
[INFO]     [creator]         Writing env.launch/BPL_JVM_THREAD_COUNT.default
[INFO]     [creator]       4 application slices
[INFO]     [creator]       Image labels:
[INFO]     [creator]         org.springframework.boot.version
[INFO]     [creator]     ===> EXPORTING
[INFO]     [creator]     Reusing layer 'paketo-buildpacks/ca-certificates:helper'
[INFO]     [creator]     Reusing layer 'paketo-buildpacks/bellsoft-liberica:helper'
[INFO]     [creator]     Reusing layer 'paketo-buildpacks/bellsoft-liberica:java-security-properties'
[INFO]     [creator]     Reusing layer 'paketo-buildpacks/bellsoft-liberica:jdk'
[INFO]     [creator]     Reusing layer 'paketo-buildpacks/executable-jar:classpath'
[INFO]     [creator]     Reusing layer 'paketo-buildpacks/spring-boot:helper'
[INFO]     [creator]     Reusing layer 'paketo-buildpacks/spring-boot:spring-cloud-bindings'
[INFO]     [creator]     Reusing layer 'paketo-buildpacks/spring-boot:web-application-type'
[INFO]     [creator]     Reusing 4/5 app layer(s)
[INFO]     [creator]     Adding 1/5 app layer(s)
[INFO]     [creator]     Reusing layer 'launcher'
[INFO]     [creator]     Reusing layer 'config'
[INFO]     [creator]     Reusing layer 'process-types'
[INFO]     [creator]     Adding label 'io.buildpacks.lifecycle.metadata'
[INFO]     [creator]     Adding label 'io.buildpacks.build.metadata'
[INFO]     [creator]     Adding label 'io.buildpacks.project.metadata'
[INFO]     [creator]     Adding label 'org.springframework.boot.version'
[INFO]     [creator]     Setting default process type 'web'
[INFO]     [creator]     Saving docker.io/library/foconis-zak-war:1.43.0-RC5-SNAPSHOT...
[INFO]     [creator]     *** Images (795c8545a3bb):
[INFO]     [creator]           docker.io/library/foconis-zak-war:1.43.0-RC5-SNAPSHOT
[INFO]     [creator]     Reusing cache layer 'paketo-buildpacks/bellsoft-liberica:jdk'
[INFO]     [creator]     Reusing cache layer 'paketo-buildpacks/syft:syft'
[INFO]
[INFO] Successfully built image 'docker.io/library/foconis-zak-war:1.43.0-RC5-SNAPSHOT'

All of that was tested in Debian 11.1 running in WSL2.
Checklist

[x] I have included log output.
[x] The log output includes an error message.
[ ] I have included steps for reproduction.

OK, so you're correct. The base images that Paketo ships do not have that library.
The general thought process is that these are headless containers, so AWT is probably not something that would be necessary. AWT is largely used with Java Swing and desktop applications (side note: we don't ship JavaFX support either). Not shipping these extra dependencies helps to keep image sizes as low as possible.
That gives you a couple of options:

You can add the missing libraries. There's a StackOverflow Post with instructions here. I would probably take a look at option #4, using apt buildpack. I believe that should work, as it's setting LD_LIBRARY_PATH. If the app still has problems loading the native library after you get it installed with apt buildpack, then you may need to set the -Djava.library.path system property to include the path to which apt buildpack installs the dependencies.

I'm not familiar with JavaMelody, but you could take a look and see if there's a way you can make it disable whatever part of the codebase that is requiring Java AWT. Ultimately, this is a cleaner option as you don't have to install any of that into your container and load it all into memory. If there is a legitimate reason it needs AWT, for functionality that you cannot disable, then you'll have to go with the previous option and install the dependencies.

Hi,
thank you for your reply. JavaMelody is not trying to draw a GUI, it just uses these awt classes internally. I also looked through the call trace, I do not see any option to turn off that behaviour.
The whole purpose of using buildpacks is to avoid writing a Dockerfile. The apt buildpack is experimental and not production ready. Apart from that, a separate file has to be maintained with the package list. It is also unclear if the whole "apt-without-root"-approch leads to a working image. In that case, it is much simpler for us to go down the Dockerfile route, along with the flexibility it provides.
Best regards,
Manuel

The apt buildpack is experimental and not production ready.

Are you looking at the right buildpack?  I don't believe that https://github.com/fagiani/apt-buildpack is experimental, and it gets a pretty good amount of use.

It is also unclear if the whole "apt-without-root"-approch leads to a working image.

Did you try it? I'd say there's probably a 90-95% chance it'll work. When it doesn't work, it's because the program you're running cannot locate a shared library, due to it being in a non-standard location. I don't think that'll happen, but if it does for some reason it's very easy to tell the JVM where to find things, using -Djava.library.path.


When built on github pages, site.theme is primer, not jekyll-theme-primer, so sass import breaks

The instructions say that /assets/css/style.scss should start with the following:
---
---

@import "{{ site.theme }}";

This build fine locally. However, this leads to the following error on a github pages build:
 Your site is having problems building: Your SCSS file assets/css/style.scss has an error on line 1: File to import not found or unreadable: primer. Load path: /tmp/jekyll-remote-theme-20210722-6-at4n5p/_sass. For more information, see https://docs.github.com/github/working-with-github-pages/troubleshooting-jekyll-build-errors-for-github-pages-sites#invalid-sass-or-scss.
It works when I hard-code the sass to say:
---
---
@import "jekyll-theme-primer";

+1 to a fix for this as we have a lot more repos that will need workarounds

While working on this I noticed that the README mentions remote_theme<EMAIL_ADDRESS>which then gives:
... 404 - Not Found - Loading URL: https://codeload.github.com/pages-themes/primer/zip/v0.2.0 (Jekyll::RemoteTheme::DownloadError)

It looks like it should be v0.6.0?

This has been fixed! There are both primer and jekyll-theme-primer scss files.