Static files returning 404

Here is the scenario;

Application uses the StaticFiles middleware.
StaticFiles has StaticFilesOptions where FileProvider property is set to a custom provider (EmbeddedFileProvider). EmbeddedFileProvider accepts a PhysicalFileProvider instance which is used to check if the file physically exists. If it does, EmbeddedFileProvider just uses the PhysicalFileProvider to return the requested file, otherwise it checks embedded resources.

// Add static files to the request pipeline.
app.UseStaticFiles(new StaticFileOptions()
{
    FileProvider = new EmbeddedFileProvider(new PhysicalFileProvider(hostingEnvironment.WebRootPath))
});

Run the website using IIS/IIS Express - everything works as expected. The first request hits the homepage (HomeController), Startup methods get called without any issues, etc.
Restart IIS/IIS Express - Do NOT request the HomeController (/Home) but instead, make a request to a static file (that can be either a physical file or an embedded file, does not matter at all). If it is a physical file, the file returns correctly. If it is an embedded file, it returns 404 already. Either case breaks the rest of the process.
Now request the HomeController which has references to static files using <script> tags for Javascript files and <link> tags for stylesheet files. The Home view returns correctly but none of the static files do. They return 404 instead.
Restarting the IIS/IIS Express and making the first request to a valid MVC Controller and then requesting the static files fixes the issue but everytime the first request hits a static file, the StaticFiles middleware breaks.

Can you push your repro app to github so we can clone and try it?

Here is a sample repo: https://github.com/csunali/StaticFiles404
Clear steps to reproduce the issue are below.
Working scenario:

Set the "Launch Browser" property of the web project to "empty" and hit F5. Homepage should appear correctly at http://localhost:41002/. Keep the project running.
Visit http://localhost:41002/lib/foo.js. The embedded javascript should appear correctly - so that the embedded file provider works just fine.

Non-working scenario 1:

Set the "Launch Browser" property of the web project to lib/jquery/jquery.js (this is NOT an embedded file) and hit F5. jquery.js file should appear correctly at http://localhost:41002/lib/jquery/jquery.js
Visit homepage at http://localhost:41002/. The homepage should be working correctly.
Visit http://localhost:41002/lib/foo.js. The foo.js returns a 404 response.

Non-working scenario 2:

Set the "Launch Browser" property of the web project to lib/foo.js (this is an embedded file) and hit F5. foo.js file return a 404 response at http://localhost:41002/lib/foo.js
Visit homepage at http://localhost:41002/. The homepage should be working correctly.
Visit http://localhost:41002/lib/foo.js. The foo.js returns a 404 response.

As you can see, you don't need to hit an embedded file initially in order to break the functionality. Hitting even a physically existing file (jquery.js in this case) breaks it.
What I understand is that, as long as you hit a static file first, the custom file provider breaks for the rest of the process until you restart the web server. If you hit a regular MVC controller first, everything keeps working. I have also seen times when the static file provider broke later on, after some amount of time. That happened under IIS. I found an issue regarding that but it was not of any help as it was closed without any action being taken. That issue can be found at https://github.com/aspnet/StaticFiles/issues/59.

Repro'd. This is an IIS/Express integration bug, not a bug with the static file middleware. It does not repro with WebListener.
Here's what I think is happing:
A) Working scenario:

First request arrivies, pointing to "/"
IIS boots the managed pipeline, Startup runs, everything is set up, then the request is served.
Subsequent requests for "/lib/foo.js" are executed via the managed pipeline and static file middleware.
B) Broken scenario:
First request arrives, pointing to "/lib/foo.js"
IIS sees the ".js" extension and skips directly to the native static file module. The managed pipeline is not booted, Startup does not run, etc..
No such file exists so a 404 is returned.
A subsequent request to "/" causes the managed pipeline to boot and run Startup.
Another request to "/lib/foo.js" still fails because it's being directly routed to the native static file module. (???)

#59 could also be caused by this because IIS can shut down your application if it does not receive any requests for a given period of time. Then when the next request arrives your back in the initial boot up mode.
We need to verify if this also happens in full IIS.

Some additional details:

The contents of your app do not matter, only the repro steps themselves. I was able to repro it with just the empty template.
IIS appears to give priority to whichever module was loaded first.
The problem exists in both full IIS and IIS Express.

Workaround: Add the following to your web.config after publishing
  <system.webServer>
    <modules runAllManagedModulesForAllRequests="true" />
  </system.webServer>

Glad you were able to repro.
Should I take any additional actions on this matter or you will take care of the rest? I mean, shall I create an additional issue on another repo where it suits better for IIS integration issues? If so, where?

Thank you for the workaround by the way.

We'll take care of it, thanks.

This issue was moved to aspnet/Helios#188


api: add exception endpoint

Create a new api endpoint called exception, that communicates exception
backtraces separately back to osbuild, as opposed to dumping them into the
normal log. Additionally, add a corresponding test to check that a call to
api.exception correctly sets API.exception.

Made changes to address @gicmo 's comments and fix the way the exception value is sent

Updated with some suggestions by @dvdhrm

(Hopefully) final updates, thanks to @dvdhrm and @gicmo for the excellent suggestions!


⚠ Bofrost.be has degraded performance

In 31db605, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1517 ms

Resolved: Bofrost.be performance has improved in 552aa4f.


[PE-D][Tester B] Incorrect error message when adding person with tag

When adding a person with a tag that has spaces, for example add n/name t/cs t/cs fun, the error message shown is "Tags names should be alphanumeric". My opinion is the error message should show "no spaces allowed in tags"

Labels: severity.Low type.FeatureFlaw
original: hjuntan/ped#11

Update DG to denote improvement

Fix changed to updating UG to use same alphanumeric wording as error message


Azure Cosmos Emulator - Release notes web page should have dates for releases

Azure Cosmos Emulator - Release notes web page should have dates for releases
How is the reader to know if this a frequently updated product or hasn't been touched in ages. Release notes currently just give the version number, eg: "2.11.1"

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

ID: 1300a10b-16f3-9185-af2a-67437bf428d2
Version Independent ID: 07fd7c5a-0ad5-a7b4-21ef-768f183076aa
Content: Azure Cosmos Emulator download and release notes
Content Source: articles/cosmos-db/local-emulator-release-notes.md
Service: cosmos-db
GitHub Login: @milismsft
Microsoft Alias: adrianmi

@JohnCarmichael3000 yep, good suggestion, we will make sure that we will capture that as part of the next update. Please keep in mind though that unlike other product releases which might offer multiple versions, for Cosmos Emulator we only support the latest version and the release notes are useful to capture what changed between different versions rather than offer a timeline and multiple points of downloading it.

@JohnCarmichael3000 We will now proceed to close this thread. If there are further questions regarding this matter, please comment and we will gladly continue the discussion.

The "Azure Cosmos Emulator - Release notes" web page now has release dates, eg (07/07/2020) It is now easy to see this product is updated on a regular basis, etc! Just a small thing but still pretty cool. Thanks everyone!


Add stackprof benchmark for RailsBench

This commit adds a stackprof benchmark for RailsBench so we can identify places to speed up in YJIT.  Right now it depends on an unreleased version of stackprof (but I will release it soon).
Here is the report from the benchmark:
==================================
  Mode: wall(1000)
  Samples: 42275 (0.00% miss rate)
  GC: 3306 (7.82%)
==================================
     TOTAL    (pct)     SAMPLES    (pct)     FRAME
      2777   (6.6%)        2777   (6.6%)     (sweeping)
      2367   (5.6%)        2367   (5.6%)     IO#write
      1137   (2.7%)        1137   (2.7%)     Rack::Request::Env#get_header
      1194   (2.8%)        1064   (2.5%)     Kernel#respond_to?
       989   (2.3%)         989   (2.3%)     Module#===
      2275   (5.4%)         915   (2.2%)     Hash#fetch
       842   (2.0%)         842   (2.0%)     Time#strftime
       831   (2.0%)         831   (2.0%)     String#gsub!
       779   (1.8%)         779   (1.8%)     Kernel#is_a?
       776   (1.8%)         776   (1.8%)     Kernel#class
       608   (1.4%)         608   (1.4%)     Kernel#hash
      1219   (2.9%)         566   (1.3%)     Concurrent::Collection::NonConcurrentMapBackend#[]
       529   (1.3%)         529   (1.3%)     Process.clock_gettime
       527   (1.2%)         527   (1.2%)     Thread.current
       521   (1.2%)         521   (1.2%)     String#to_s
       518   (1.2%)         518   (1.2%)     (marking)
       516   (1.2%)         516   (1.2%)     String#initialize
       469   (1.1%)         469   (1.1%)     Hash#initialize_copy
       434   (1.0%)         434   (1.0%)     NilClass#to_s
       738   (1.7%)         357   (0.8%)     String#%
       371   (0.9%)         357   (0.8%)     ActionDispatch::Response#committed?
       352   (0.8%)         352   (0.8%)     Thread#[]
       349   (0.8%)         349   (0.8%)     Hash#merge
       333   (0.8%)         333   (0.8%)     BasicObject#initialize
       330   (0.8%)         330   (0.8%)     Time#initialize
       330   (0.8%)         330   (0.8%)     Set#include?
       325   (0.8%)         325   (0.8%)     Kernel#block_given?
       315   (0.7%)         315   (0.7%)     Symbol#to_s
       288   (0.7%)         288   (0.7%)     Regexp#match
       287   (0.7%)         287   (0.7%)     #<Class:0x0000000108697540>#__getobj__

@tenderlove could you post updated numbers with the logging change you made?

I reran this benchmark after changing the logger to :info.


tf.math.sigmoid/tanh for RaggedTensor

I was surprised to see that two common activation functions, sigmoid and tanh, are not provided in tf.ragged module. Makes me wonder how many people are actually using RaggedTensor features with no feature requests for these.
I am currently calculating both via mathematical identities. However, I still think the API's between regular Tensor and RaggedTensor should be as close as possible, as ideally you should be able to just swap in a RaggedTensor and have everything just work.

To apply elementwise ops (or other elementwise functions) to ragged tensors, you can generally use tf.ragged.map_flat_values.  E.g., tf.ragged.map_flat_values(tf.math.tanh, x).
Though I agree that you shouldn't have to do that -- where possible, ops should just work w/ ragged tensors.  I'm not sure why these two ops were left off the list of elementwise ops to dispatch for.
It looks like dispatch for sigmoid was added recently (bc5eddee3dda337c5b9287691b55d7a363b65c7b), but tanh hasn't been added yet.

I went through the ops under tf.math, and checked for any elementwise ops that didn't already have dispatch.  I'll send a PR to add dispatch for these ops.  The ops I identified were:

tf.math.atan2
tf.math.erfcinv
tf.math.nextafter
tf.math.recipricol_no_nan
tf.math.softplus
tf.math.tanh
tf.math.bessel_i0
tf.math.bessel_i0e
tf.math.bessel_i1
tf.math.bessel_i1e

Let me know if you notice any other elementwise ops that should have dispatch enabled.

Fixed by 99f145872e474a603472e5d096631906bba86912.


[WIP] Update ChangeLog to make a new release

Originally thought we hadn't changed much so the next release would be 0.7.1.
However while collecting things for the change log I changed my mind. There are quite a few changes, most in the "making things more stable and reliable and conformant" department. Should we call it 0.8.0?
Please make suggestions about the wording for the change log via the GitHub UI. Not quite sure what tense/form they should take.

sounds good to me!

@minrk @betatim I'd like https://github.com/jupyter/repo2docker/pull/539 to be in this...

The "major" version bump in #539: do you mean major as in 0.7.0 -> 1.0.0 or 0.7.0 -> 0.8.0?
If we do follow sem-ver then I think as long as it is 0.x.y we could go with 0.7.0 -> 0.8.0 as a "major" bump. It seems the rules suggest that "as long as the major is 0 anything might change at any moment".

Looking at the change log I think we should go ahead and call this 0.8.0.

Let's release this tomorrow before the meeting or just after as the change log is already starting to miss things.

Merging this. If we merge more PRs that need to be in the change log please add a line as part of the PR.

Thank you very much for waiting, @betatim!


now evolution time and f1 score over all trials instead of iterations

Fix Based on Understanding

Previous evolution time was not over the total, but instead in one trial.

Current evolution time is now over the total and the iterations of xgboost is ignored.

The best trials is still picked from ten for non-grasp

The likely reason why f1 score is not improving is likely because the num of trials is too small (need testing)


Getting MWC token validation failed error while calling refresh_semantic_model function

While using refresh_semantic_model() function to visualize the refresh, getting the below error. This issue is transient in nature. Sometimes it works, sometime doesn't. As a result I'm not able to use for my production scenario. Please can you guide.
Uploading the error snapshot for your reference.
Error Code:
AdomdConnectionException: MWC token validation failed: Invalid Token type, expected ServiceToken but got AadBasedToken

Do you get this issue only when specifying visualize=True? The token does not seem related to the visualize parameter.

I noticed even when calling fabric.create_trace_connection or create_tom_server these functions from sempy packages.
I suppose the visualise=True inturn call these functions, which is why may be we got this error.
What could be the resolution? Any thoughts...
This happens intermittently/occasionally not all the time .


Suggestion: "Better" Junction Table Support

Users Model:
class Users extends \yii\db\ActiveRecord
{
    public function getGroups()
    {
        return $this->hasMany(Groups::className(), ['id' => 'group_id'])
            ->viaTable('tbl_users_groups', ['user_id' => 'id'])
            ->pivot('unique_1', 'unique_2', 'created', 'updated');
    }
}

Users Controller:
class TestController extends \yii\web\Controller
{
    public function actionGroup()
    {
        $users = Users::find()
            ->with('groups')
            ->all();

        foreach ($users as $user) {
            foreach ($user->groups as $group) {
                if ($group->pivot->unique_1 === "testValue") {
                    echo $group->pivot->unique_1;
                    echo $group->pivot->unique_2;
                    echo $group->pivot->created;
                    echo $group->pivot->updated;
                }
            }
        }
    }
}

http://laravel.com/docs/eloquent#working-with-pivot-tables
This has been taken from the Laravel framework, I was wondering if we could get this type of functionality in the Yii2 Base Framework, and if the developers do not want it to work this way for whatever reason, could someone tell me what is the best way to achieve this type of functionality with what the yii2 framework currently has? The most efficient way that is. Currently I would say this::
Users Model:
class Users extends \yii\db\ActiveRecord
{
    public function getUsersGroups()
    {
        return $this->hasMany(UsersGroups::className(), ['user_id' => 'id']);
    }

    public function getGroups()
    {
        return $this->hasMany(Groups::className(), ['id' => 'group_id'])
            ->via('usersGroups');
    }
}

UsersGroups Model:
class UsersGroups extends \yii\db\ActiveRecord
{
    public function getGroup()
    {
        return $this->hasOne(Groups::className(), ['id' => 'group_id']);
    }
}

Users Controller:
class TestController extends \yii\web\Controller
{
    public function actionGroup()
    {
        $users = Users::find()
            ->with('usersgroups.group')
            ->all();

        foreach ($users as $user) {
            foreach ($user->usersgroups as $userGroup) {
                if ($userGroup->unique_1 === "testValue") {
                    echo $userGroup->group->unique_1;
                    echo $userGroup->group->unique_2;
                    echo $userGroup->group->created;
                    echo $userGroup->group->updated;
                }

            }
        }
    }
}

I ask this because I noticed that there was an issue that "fixed" pivot table's models not being generated by default so it seems as though the second method, currently what I use is not really the intended method to be used in this situation.

Many to Many relations regarding saving and updating, specially, using the ActiveForm widget is a nightmare. I'm not sure, if there is missing or buggy features, or it is limitation in the documentation.
For instance, suppose the following view:
User update or create form with multiple select options list of user's groups to attach or deattach groups to the user via the conjunction table pivot!

@saidbakr so what do you suggest?

@saidbakr There is an extension for your issue:
https://github.com/la-haute-societe/yii2-save-relations-behavior

@samdark What I am looking for is a simple implementation that make the process more easy or more clear. I suggest trying to make something like that in Yii2.

@saidbakr

That worth thinking about. Are you concerned about defining relations, using them or about updates?

@samdark About update, indeed, the mass of the problem lies in the update, secondly, create.

So I did a little research.
Add another product to the current shop instance
// Laravel
$shop = Shop::find($shop_id);
$shop->products()->attach($product_id);

// Yii
$product = Product::findOne($product_id);
$shop = Shop::findOne($shop_id);
$shop->link('products', $product);

Both are OK.
Remove a product from the shop
// Laravel
$shop->products()->detach($product_id);

// Yii
$product = Product::findOne($product_id);
$shop->unlink('products', $product);

Both are OK.
Remove all products from a particular shop:
// Laravel
$shop->products()->detach();

// Yii
$shop->unlinkAll('products');

Both are OK.
Add or remove products with particular ID
// Laravel
$shop->products()->attach([123, 456, 789]);
$shop->products()->detach([321, 654, 987]);

// Yii
$products = Product::findAll([123, 456, 789]);
foreach ($prodcuts as $product) {
    $shop->link('products', $product);
}

$products = Product::findAll([321, 654, 987]);
foreach ($prodcuts as $product) {
    $shop->unlink('products', $product);
}

Yii requires a bit more effort. There's extra syntax in Laravel $shop->products()->attach([123, 456, 789 => ['price' => 49.99]]);  for adding extra data to particular items.
Replace products with a set of IDs
// Laravel
$product->shops()->sync([1, 2, 3]);

// Yii
$shop->unlinkAll('products');
$products = Product::findAll([1, 2, 3]);

foreach ($prodcuts as $product) {
    $shop->link('products', $product);
}

A shortcut could be added to Yii.
Replace products with a set of IDs without detaching existing ones
// Laravel
$product->shops()->syncWithoutDetaching([1, 2, 3]);

// Yii, method 2
$products = Product::findAll([1, 2, 3]);
// find what actually was added/remove and avoid touching existing rows
// way lengthy

A shortcut could be added to Yii. Seems there are extensions for it already:
https://github.com/voskobovich/yii2-linker-behavior#support
Add non-existing, remove existing
// Laravel
$product->shops()->toggle([1, 2, 3]);

// Yii
$ids = [1, 2, 3];
$shopProducts = ShopProduct::find()->where(['product_id' => $ids])->indexBy('product_id');

foreach ($ids as $id) {
    if (isset($shopProducts[$id])) {
        $shop->unlink('products', $shopProducts[$id] );
    } else {
        $shop->link('products', Product::findOne($id));
    }
}

Not sure what's use case for this method. Looks weird.
Attach with setting additional params to junction table
// Laravel
$shop->products()->attach(1, ['products_amount' => 100, 'price' => 49.99]);

// Yii
$product = Product::findOne(1);
$shop->link('products', $product, ['products_amount' => 100, 'price' => 49.99]);

Both are OK.

Thoughts?

I suggest link() & unlink() methods to work with findAll(), so for example:
$products = Product::findAll([123, 456, 789]);
// adding
$products->link('products', $product, $params = [], $sync = false);
// removing
$products->unlink('products', $product, $params = [], $sync = false);

Will be more neat.

I'd rather not mix these and introduce separate methods.

@samdark About Replace products with a set of IDs without detaching existing ones, I'd like to confirm that it should be basic in the framework not by an extension.
Secondly, after testing and releasing those features we should work on, clearly, demonstrating them in the documentation.
Thank you for your efforts.

I'd like to confirm that it should be basic in the framework not by an extension

Agree. I just referenced extension because both description and implementation there looks good.

@saidbakr do you have ideas for method signatures?

@samdark I suggest to be pivot as follows:
pivot(Array relatedModel, [string pivotTableName])

The relatedModel is an associative array with one key string model name and its value is an array of data should be added/synchronized to the pivot table for example, it,  relatedModel, may take two forms as follows :
$relatedModel = [
   'Shop' => [2,3,4]
]

For the above form, suppose we work on a Product model of id equals 10 so this data should add\sync that product to shops 2,3,4 that's make the pivot table have the following data after save:
shop_id | product_id
2   => 10
3  => 10
4  => 10

the second form of the array should maintain  the extra data in the pivot like amount as follows:
$relatedModel = [
  'Shop' => [
     '2' => ['amount' => 120,...],
     '3' => ['amount' => 19,...],
     '4' =>  ['amount' => 23,...],
  ]
]

pivotTableName optional if the table name is not obey conventions. In later phase we could introduce third optional boolean parameter that control weather delete absent attribute or not i.e (sync or attach) in other words, by default it should perform syncing.

@saidbakr "pivot" is a wrong term misused by Laravel and Yii 1.1. Correct term is "junction".

@samdark Although I don't know why pivot is wrong term, however, let it to be junction or relation Indeed to works on the relation mainly.

https://en.wikipedia.org/wiki/Pivot_table

Indeed, Junction table, and as I've understood from the wiki link that you have supplied,  could be regarded as a mean of filtration, exactly like pivot do. In other words, pivot table or the junction table does not introduce new entity.
However, when we use it to handle extra data, and at this point, it may be regarded as a new entity, so the filtration principle, hardly, applied there. i.e pivot is a special case of junction. I hope that I could understand this well.

linking https://github.com/yiisoft/yii2-collection/issues/8 as this could probably be solved in the collection extension.

@cebe Could you please show how could it be solved? I looked at the Change Log of 2.0.13 and I could not find it.

Won't be implemented for 2.0.


Control.Layers zoom jumps when using LayerGroup as basemap

Expected behavior
I expected that using a LayerGroup (e.g. of two tile layers with different zoom levels) as a basemap in Control.Layers works.
Current behavior
Basically it works, however there is an undesired side effect:
The Control.Layers does not always keep the current zoom level when switching between base layers but jumps.
Environment

Leaflet version: 1.4
Browser (with version): Firefox 65
OS/Platform (with version): Ubuntu Linux

Minimal example reproducing the issue
See this example here: try to switch between the base layers several times:
https://plnkr.co/edit/MU4eekv2ZdLyIeBtSnuo?p=preview
https://gist.github.com/evod/c8540fe88147056975113a668fb678e5

Looks like the min/max zoom level calculation is happening just after adding the first tilelayer from the layergroup, not after all tilelayers of the layergroup have been added to the map.
:thinking:

I think only the the min/max zoom of the first layer in the layergroup is respected. My dirty workaround for this bug is to add an empty GridLayer with the combined zoom range as first layer of the layer group.
var minMaxZoomLayer = L.gridLayer({
	minZoom: 0,
	maxZoom: 19
});
var cartodbPositronLowZoom = L.tileLayer('https://{s}.basemaps.cartocdn.com/light_all/{z}/{x}/{y}{r}.png', {
	attribution: '© OpenStreetMap contributors © CARTO',
	subdomains: 'abcd',
	minZoom: 0,
	maxZoom: 15
});
var osmHiZoom = L.tileLayer('https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
	minZoom: 16,
	maxZoom: 19,
	attribution: 'map data & imagery © OpenStreetMap contributors'
});
var mixed = L.layerGroup([minMaxZoomLayer, cartodbPositronLowZoom, osmHiZoom]);


Introduces import snippets for static functions

Adds snippets for import of modules and their exported functions to the API documentation.
Example output for ol/sphere:

Thanks for this, @KaiVolland.


Improve exception handling when reading STDIN/STDERR

When the chrome process dies and we try to read STDIN/STDERR, we get
ValueError: I/O operation on closed file or
OSError: [Errno 9] Bad file descriptor.
We modify readline_nonblock method to return the buffer it read up to
this point.

Example exceptions:
[2019-05-23 09:46:13,869: WARNING/ForkPoolWorker-13] chrome pid 14431 exited with nonzero status 1
[2019-05-23 09:46:13,870: ERROR/ForkPoolWorker-13] unexpected exception
Traceback (most recent call last):
  File "/opt/spn2/lib/python3.5/site-packages/brozzler/chrome.py", line 261, in _read_stderr_stdout
    buf = readline_nonblock(self.chrome_process.stdout)
  File "/opt/spn2/lib/python3.5/site-packages/brozzler/chrome.py", line 255, in readline_nonblock
    [f],[],[],0.5)[0]:
OSError: [Errno 9] Bad file descriptor

[2019-05-23 09:46:13,962: WARNING/ForkPoolWorker-24] chrome pid 14443 exited with nonzero status 1
[2019-05-23 09:46:13,963: ERROR/ForkPoolWorker-24] unexpected exception
Traceback (most recent call last):
  File "/opt/spn2/lib/python3.5/site-packages/brozzler/chrome.py", line 261, in _read_stderr_stdout
    buf = readline_nonblock(self.chrome_process.stdout)
  File "/opt/spn2/lib/python3.5/site-packages/brozzler/chrome.py", line 256, in readline_nonblock
    buf += f.read(1)
ValueError: I/O operation on closed file


Naviagte insertion point to a particualr point with respect to line number and characterafter?

The whole idea is to insert text at desired location.
Like "_"(if there was no underscore.. I would say to add underscore at 2nd line 7th characterposition

You can search your document for an anchor and insert data based on that anchor. By that I mean iterate through the document for some text or style etc, then insert whatever it is that you want. The documentation has examples for this sort of thing.


Line sdf gradient rebase

alanchenboy:lineSDFGradient rebased to latest metal-sep25-merge

thanks for this update.


Vet clinic database: query and update animals table

Vet clinic database: query and update animals table
Heyo! :smiley:

In this PR I:

[ ] Add a column species .
[ ] Insert the data into the table.
[ ] Set species column to unspecified., then roll back the change .
[ ] Inside a transaction:  Set species column to digimon then to digimon.
[ ] Inside a transaction: Delete all animals born after Jan 1st, 2022,  create a savepoint for the transaction,  update all animals' weight to be their weight multiplied by -1, finaly, rollback to the savepoint and update all animals' weights that are negative to be their weight multiplied by -1.
[ ] Create queries to answer the questions.
[ ] Follow GitFlow.

Here is the demos for those queries:

Cheers! :star:


Added Hangman in Python and also structured the directory correctly

===============================
Added Hangman in Python and also structured the directory correctly
===============================
Checklist

[x] I read the contributing guidelines
[x] I structured my project as stated in the contributing guidelines
[x] My project uses dependencies
[x] I starred the repo
[x] I had fun contributing!

Hey @theadeyemiolayinka can you please review it and add it under the hacktoberfest label, thank you very much, and I really appreciate your work :)

Thank you @Svrajj
This still isn't the right structure. I believe the right structure for your projects should be:
src/Svrajj/Fractal Trees/...
src/Svrajj/Hangman Game/...
Your projects should be contained in a folder named after your username as stated in the contributing guidelines.


Interface bugs when using freeCAD

Hyprland Version
0.33.1
Bug or Regression?
Bug
Description
In freeCAD 0.21.2 behavior of menus and window focus is erratic:

When editing textfield of constraints or measures the focus is changing randomly
The mouse cannot go outside of a popup, it is constantly brought back to the middle of the popup
Selection lists are deformed

How to reproduce

Start freecad
Create a sketch and circle on it
Apply a constraint on the diameter of the circle and enter a formula as a value

You shall observe focus loss and the selection list deformation
Crash reports, logs, images, videos

Ok i just get The Wayland connection experienced a fatal error: Protokollfehler and then its gone...

Can confirm that this is also happening on Ondsel fork (they have diff ui + Opendark and stuff) so this is very likely an issue with the underlying toolbox (GTK). On both Freecad and Ondsel, the loss of focus seems only to occur when the suggestion popup box appears, or when the text shows up to berate you for typing in a value which doesn't exist.


Paper link returns 404

Seems the Paper link in the readme broke.

Just submitted a PR to fix this.
In the interim:
https://people.cs.umass.edu/~emery/pubs/stabilizer-asplos13.pdf


build-artifacts: fix path for cmake file containing multiple paths on single line

Is your feature request related to a problem? Please describe.
Example of problemtic cmake file
$ rg nonexistent
c/civetweb/v1.15/76b26eb3e5ce43e486cfdc0d14b1ae2f/lib/cmake/civetweb/civetweb-targets.cmake
52:  INTERFACE_LINK_LIBRARIES "-lpthread;/nonexistent/.xmake/packages/o/openssl/1.1.1m/fc2f462ae44846c1bcb8a958bc1b7a89/lib/libssl.so;/nonexistent/.xmake/packages/o/openssl/1.1.1m/fc2f462ae44846c1bcb8a958bc1b7a89/lib/libcrypto.so;/nonexistent/.xmake/packages/z/zlib/v1.2.11/8dc724df8cab415090b0f31e34c33cea/lib/libz.a"

The current fix path code prints a warning about this case instead of fixing the path.
Describe the solution you'd like
I will add a search pattern (([^%s;]+)) to cmake files case in https://github.com/xmake-io/xmake/commit/58d882b87f497705211294f156c4a9172f8a1ae5#diff-48079b78bab521d35135de125039d2c7efb2d51b575b51b04a62f2466a88323eR157
This pattern is quite general, but I can't come up with a more restricted pattern for now.
For my usage, I can use the known path prefix (/nonexistent/.xmake/packages/) to limit search pattern. But this solution is not general.
To make the solution general, can we we associate path prefix information when adding a build-artifacts repo? With known path prefix, the search pattern can be more simple and precise.
Describe alternatives you've considered
No response
Additional context
No response

I added it. https://github.com/xmake-io/xmake/commit/b178f763015779488df34e75990667eccb82521a
you can replace remotedir to package:installdir().
local remotedir
local manifest = package:manifest_load()
if manifest and manifest.artifacts then
    remotedir = manifest.artifacts.remotedir
end

Thanks for such quick response. I'll have a try.


[go_router_builder] Path and query parameters are not preserved in TypedStatefulShellRoute

Steps to reproduce

Run the code sample
Chosse an app to navitate to
Navigate among tabs

Expected results
The "id" parameter should stay the same as before, the tab path should change (navigationShell.currentIndex)
Actual results
The Id stays the same, but the nested path won't change
Code sample
https://github.com/brunodmn/deeply_nested_typed_navigation_sample
Screenshots or Video

Screenshots / Video demonstration

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.22.1, on Linux Mint 21.3 6.5.0-35-generic, locale en_US.UTF-8)
    • Flutter version 3.22.1 on channel stable at /home/bruno/Dev/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a14f74ff3a (2 weeks ago), 2024-05-22 11:08:21 -0500
    • Engine revision 55eae6864b
    • Dart version 3.4.1
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /home/bruno/Android/Sdk
    • Platform android-34, build-tools 33.0.0
    • Java binary at: /opt/android-studio/jre/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at google-chrome

[✗] Linux toolchain - develop for Linux desktop
    ✗ clang++ is required for Linux development.
      It is likely available from your distribution (e.g.: apt install clang), or can be downloaded from https://releases.llvm.org/
    ✗ CMake is required for Linux development.
      It is likely available from your distribution (e.g.: apt install cmake), or can be downloaded from https://cmake.org/download/
    ✗ ninja is required for Linux development.
      It is likely available from your distribution (e.g.: apt install ninja-build), or can be downloaded from https://github.com/ninja-build/ninja/releases
    • pkg-config version 0.29.2
    ✗ GTK 3.0 development libraries are required for Linux development.
      They are likely available from your distribution (e.g.: apt install libgtk-3-dev)

[✓] Android Studio (version 2021.2)
    • Android Studio at /opt/android-studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.89.1)
    • VS Code at /usr/share/code
    • Flutter extension version 3.64.0

[✓] Connected device (2 available)
    • Linux (desktop) • linux  • linux-x64      • Linux Mint 21.3 6.5.0-35-generic
    • Chrome (web)    • chrome • web-javascript • Google Chrome 125.0.6422.141

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

This issue emerged after #129878 was closed.

I checked https://github.com/flutter/flutter/issues/129878 again on the latest version go_router: ^14.1.4 with sample code at https://github.com/flutter/flutter/issues/129878#issue-1784132072, I see that issue has been fixed. I also print navigationShell.currentIndex when switching tabs and see it printed out the correct index.
With the given sample code on this issue, I see pathParameters persists with {id: 0} when navigating between tabs but navigationShell.currentIndex is not changed (always is 0). I think this is a go_router_builder rather than go_router issue. Labeling this for further insights. The current reproducible version is go_router_builder: ^2.7.0.

flutter doctor -v (stable and master)
[✓] Flutter (Channel stable, 3.22.1, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.22.1 on channel stable at /Users/huynq/Documents/GitHub/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision a14f74ff3a (13 days ago), 2024-05-22 11:08:21 -0500
    • Engine revision 55eae6864b
    • Dart version 3.4.1
    • DevTools version 2.34.3

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode15.3.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)

[✓] VS Code (version 1.89.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.90.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 125.0.6422.142

[✓] Network resources
    • All expected network resources are available.

• No issues found!

[!] Flutter (Channel master, 3.23.0-13.0.pre.117, on macOS 14.1 23B74 darwin-x64, locale en-VN)
    • Flutter version 3.23.0-13.0.pre.117 on channel master at /Users/huynq/Documents/GitHub/flutter_master
    ! Warning: `flutter` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/flutter, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    ! Warning: `dart` on your path resolves to /Users/huynq/Documents/GitHub/flutter/bin/dart, which is not inside your current Flutter SDK checkout at /Users/huynq/Documents/GitHub/flutter_master. Consider adding /Users/huynq/Documents/GitHub/flutter_master/bin to the front of your path.
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision d3a273971c (44 minutes ago), 2024-06-05 21:45:25 -0400
    • Engine revision f51e0ad3ab
    • Dart version 3.5.0 (build 3.5.0-226.0.dev)
    • DevTools version 2.36.0
    • If those were intentional, you can disregard the above warnings; however it is recommended to use "git" directly to perform update checks and upgrades.

[✓] Android toolchain - develop for Android devices (Android SDK version 34.0.0)
    • Android SDK at /Users/huynq/Library/Android/sdk
    • Platform android-34, build-tools 34.0.0
    • ANDROID_HOME = /Users/huynq/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 15.3)
    • Xcode at /Applications/Xcode15.3.app/Contents/Developer
    • Build 15E204a
    • CocoaPods version 1.15.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2023.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • android-studio-dir = /Applications/Android Studio.app/
    • Java version OpenJDK Runtime Environment (build 17.0.10+0-17.0.10b1087.21-11572160)

[✓] VS Code (version 1.89.1)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.90.0

[✓] Connected device (2 available)
    • macOS (desktop) • macos  • darwin-x64     • macOS 14.1 23B74 darwin-x64
    • Chrome (web)    • chrome • web-javascript • Google Chrome 125.0.6422.142

[✓] Network resources
    • All expected network resources are available.

! Doctor found issues in 1 category.

Hello @huycozy,
Thank you for quick reply.
I also noticed that running flutter pub run build_runner build after upgrade has not changed any code on routes.g.dart, which strongly suggests that the changes published on go_router version 14.1.2 were not implemented on the builder to generate de typed routes accordingly.
I am looking forward to have news on this matter.


Changes don't render

The changes i did doesn't get rendered so i'm stuck.
I just copied the html to an blank page and it worked, but in the test, it didn't changed.
My nested element was:

View more cat photos

But in the simulation i got the same as i if did just
cat photos

But when i refreshed it worked.. This could demotivate people..
Challenge Nest an Anchor Element within a Paragraph has an issue.
User Agent is: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/52.0.2743.116 Chrome/52.0.2743.116 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

<link href="https://fonts.googleapis.com/css?family=Lobster" rel="stylesheet" type="text/css">

CatPhotoApp

View more cat photos

Kitty ipsum dolor sit amet, shed everywhere shed everywhere stretching attack your ankles chase the red dot, hairball run catnip eat the grass sniff.

Purr jump eat the grass rip the couch scratched sunbathe, shed everywhere rip the couch sleep in the sink fluffy fur catnip scratched.

You have syntax errors, you should use the Help Room and close the issue :+1:

Even if we give the correct syntax, the page is not getting rendered. Only after we referesh the entire page, it gets rendered.Please take a look at it again.

@jayaganthan what browser are you using?

@marhyorh Chrome Version 53.0.2785.113 m

@jayaganthan i'm using Chrome v 51.*  If it happens again, pls refresh the page again. This will be solved in the new version.


Incorrect Output for CesiumMath.Factorial

There is a bug in CesiumMath file. The function factorial does not produce outputs as supposed to.
Ex:
//Compute 7!, which is equal to 5040
var computedFactorial = Cesium.Math.factorial(7);
returns : 7
The function's output is always equal to the input!

Thanks @rshaikhha but this was already fixed with https://github.com/AnalyticalGraphicsInc/cesium/pull/7969.


switching to devo mac pool

Build is broken though, missing msbuild

I will add msbuild to the PATH env variable

I'm unable to setup xamarin-android correctly. Putting this on hold until I have more time to investigate.

Will be done in  the future :rocket:


Email is mandatory but phone number is optional in the enrolment form

PT-891. Enrolments does not require a phone number anymore.
Added missing required-attributes to emails and names. Removed required-attributes and validations from phone fields.
Enrolment's email notifications are now mandatory. The checkbox is auto selected and disabled in UI, so it appears as checked but passive. GraphQL mutation does not allow sms only notifications anymore. It should be noted that API still allows them!

Codecov Report

Merging #97 (ba12a4d) into master (d48fa14) will decrease coverage by 0.03%.
The diff coverage is 50.00%.

@@            Coverage Diff             @@
##           master      #97      +/-   ##
==========================================
- Coverage   90.76%   90.72%   -0.04%
==========================================
  Files          86       86
  Lines        2176     2178       +2
  Branches      418      420       +2
==========================================
+ Hits         1975     1976       +1
- Misses        197      198       +1
  Partials        4        4

Impacted Files
Coverage Δ

...omain/enrolment/enrolmentForm/ValidationSchema.tsx
96.29% <ø> (ø)

...c/domain/enrolment/enrolmentForm/EnrolmentForm.tsx
96.42% <50.00%> (-1.72%)
:arrow_down:

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 d48fa14...ba12a4d. Read the comment docs.


Missing help for crate clue (Ape Atoll).

There's no current help on this clue in the client.
Here's a picture which should have enough info so it can be added in the plugin.

Duplicate of #3392, but the inventory ID will help fix this.

Fixed in #3777


Error 'Enter a valid date'

My excel file record like this:
user	dump_type	cur_date	cur_time
SY-R-GIB1	TSV_TNEW_PAGE_ALLOC_FAILED	12/21/2016	10:35:29
ZHANG279	LOAD_PROGRAM_NOT_FOUND	12/21/2016	20:02:41
When I want to import excel file, error occur. And I see the format of date had changed.
Line number: 1 - Column 'cur_date': Enter a valid date.
SY-R-GIB1, TSV_TNEW_PAGE_ALLOC_FAILED, 42725.0, 0.44130787037
Traceback (most recent call last):
File "build\bdist.win32\egg\import_export\resources.py", line 434, in import_row
instance, new = self.get_or_init_instance(instance_loader, row)
File "build\bdist.win32\egg\import_export\resources.py", line 258, in get_or_init_instance
instance = self.get_instance(instance_loader, row)
File "build\bdist.win32\egg\import_export\resources.py", line 252, in get_instance
return instance_loader.get_instance(row)
File "build\bdist.win32\egg\import_export\instance_loaders.py", line 32, in get_instance
params[field.attribute] = field.clean(row)
File "build\bdist.win32\egg\import_export\fields.py", line 68, in clean
raise ValueError("Column '%s': %s" % (self.column_name, e))
ValueError: Column 'cur_date': Enter a valid date.
Part of DumpResource :
class DumpResource(resources.ModelResource):
cur_date = fields.Field(column_name='cur_date',widget=DateWidget(format='%m/%d/%Y'))
What should I do to solve this problem?

This could be an Excel-Error. Try forcing text-format on the datecolumn. 42725 is 12/21/2016 in excels dateformat. Hope this helps.


Combine time lagged members into single ensemble

Time lagged can be handled in loading code and all subsiquent code doesn't need to worry.
When time lagging you might have to take the date - 1 h, date - 2h, etc. Just select N tame lagged members separated by a fixed offset. Visualisation suite works on relative time to the current forecast validity period, which is the most recent run for that cycle.
To ensure cube merging works correctly we might have to normalise times to a consistent reference time. E.g. merge 13:00 + 2T and 12:00 + 3T to 12:00 + 3T both. Member numbers might need reissuing to avoid duplicates.

Duplicate of #281 (That issue has more detail.)


bump some dependencies

What type of PR is this?
kind/dependencies
What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:

Codecov Report

Merging #730 (8ca5654) into main (e2ffa5f) will decrease coverage by 0.64%.
Report is 98 commits behind head on main.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
@@            Coverage Diff             @@
##             main     #730      +/-   ##
==========================================
- Coverage   13.60%   12.96%   -0.64%
==========================================
  Files          66       76      +10
  Lines        7492     8713    +1221
==========================================
+ Hits         1019     1130     +111
- Misses       6391     7499    +1108
- Partials       82       84       +2

see 51 files with indirect coverage changes


Get the non aggregated connectors to a point where they can be included in the aggregate

[ ] kafka-connector
[ ] kinesis-datastreams-connector

PR for kafka-connector - https://github.com/zio/zio-connect/pull/157


v0.1.28 RC: CUDA error: out of memory

Ollama v0.1.28 RC
Ryzen 7 1700 - 48GB RAM - 500GB SSD
GeForce GTX 1070ti - Driver v551.61
Windows 11 Pro
My Python code (running on a Debian 12 instance - making remote calls over local network) is looping through deepseek-llm, llama2, gemma LLMs doing this:
        client = AsyncClient(host='OLLAMA_API_URL')
        response = await client.chat(
                                     model=llm,
                                     stream=False,
                                     messages=[
                                             {
                                                 'role': 'user',
                                                 'content': content
                                             },
                                             ],
                                     options = {
                                                 'temperature' : 0
                                             }
                                     )

Ollama Server crashes at around 10th iteration.
Ollama Crash error:
CUDA error: out of memory
current device: 0, in function ggml_cuda_pool_malloc_vmm at C:\Users\jmorg\git\ollama\llm\llama.cpp\ggml-cuda.cu:8587
cuMemAddressReserve(&g_cuda_pool_addr[device], CUDA_POOL_VMM_MAX_SIZE, 0, 0, 0)
GGML_ASSERT: C:\Users\jmorg\git\ollama\llm\llama.cpp\ggml-cuda.cu:256: !"CUDA error"
Please let me know if any further information is needed.

1070ti 8Gb card will likely struggle with 7b or larger models, and especially when swapping between multiple models. Try grabbing models that are < 4Gb in size and see if that resolves your issue.

Unfortunately it looks like our memory prediction algorithm didn't work correctly for this setup and we attempted to load too many layers into the GPUs and it ran out of VRAM. We're continuing to improve our calculations to avoid this.
In the next release (0.1.29) we'll be adding a new setting that can allow you to set a lower VRAM setting to workaround this type of crash until we get the prediction logic fixed. OLLAMA_MAX_VRAM= For example, I believe your GPUs is an 8G card, so you could start with 7G and experiment until you find a setting that loads the as many layers as possible without hitting the OOM crash. OLLAMA_MAX_VRAM=7516192768

Hey Daniel, thanks for getting back to me. It's nice to reconnect after our time at VMware! I was surprised by the crashes too, considering the 1070ti has 8GB VRAM. Since it was affecting my POC project, I've switched the machine from Windows 11 to Debian 12, and version 0.1.28 has been running smoothly on the new setup without any crashes. Currently, I have a setup with three dedicated Ollama Servers: one M1 Max with 32GB RAM, one M1 Mac Mini with 16GB RAM, and one Ryzen 7 1700 with 48GB RAM, plus the 1070ti with 8GB VRAM. These servers are load balanced by Nginx, and it's giving me the performance I need for now. I plan to invest in more suitable hardware eventually.

Merging with #1952


100% CPU on ng build --prod, hangs on scss

Bug Report or Feature Request (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request

Area
- [x] devkit
- [ ] schematics

Versions
darko@wrk ~ $ node --version
v10.4.1
darko@wrk ~ $ npm --version
6.1.0
ng --version

     _                      _                 ____ _     ___
    / \   _ __   __ _ _   _| | __ _ _ __     / ___| |   |_ _|
   / △ \ | '_ \ / _` | | | | |/ _` | '__|   | |   | |    | |
  / ___ \| | | | (_| | |_| | | (_| | |      | |___| |___ | |
 /_/   \_\_| |_|\__, |\__,_|_|\__,_|_|       \____|_____|___|
                |___/

Angular CLI: 6.0.8
Node: 10.4.1
OS: linux x64
Angular:
...

Package                      Version
------------------------------------------------------
@angular-devkit/architect    0.6.8
@angular-devkit/core         0.6.8
@angular-devkit/schematics   0.6.8
@schematics/angular          0.6.8
@schematics/update           0.6.8
rxjs                         6.2.1
typescript                   2.7.2

Repro steps
I can't. I could upload the source somewhere and give you temporary access to it.
The log given by the failure
There is no log. There is no way to debug the build process.
ng build --prod --verbose
 10% building modules 3/4 modules 1 active …ormProjects/raidrecruit/src/styles.scss

ps auxw
darko    10312  113  1.8 1423532 309616 pts/0  Rl+  11:11   0:30 ng

Desired functionality
The build process should not be stuck on scss of all things.
Mention any other details that might be useful
It worked yesterday and previously.
It works when building without --prod.
How can I debug the build process?

When downloading the css and replacing imports in styles.scss it still hangs goes through but it takes a few minutes and it appears to hang at the same point.
The one thing that was changed were button classes. from roughly [class]="condition ? 'btn btn-block btn-success':'btn btn-block btn-danger'" to <button *ngIf="user_id === raid.keycloak_id && raid.setup.dps_2.healer !== ''" class="btn btn-block btn-danger">

Err. I don't know what's happening.
I use Webstorm. Now and when the css build process went through I did something in Webstorm and that particular file, for instance I pressed ctrl+z when the css build process was running, and now I marked and ctrl+c
Could it be an issue with file watchers?

Can you please create a small reproduction?

I believe I have to upload all of it somewhere, it's the sum not just one part.
I went and run ng build --prod then took a shower and returned to find it actually compiled.
Date: 2018-06-20T15:49:25.602Z
Hash: 908a22a2d61e441fc450
Time: 564130ms
chunk {0} runtime.a66f828dca56eeb90e02.js (runtime) 1.05 kB [entry] [rendered]
chunk {1} styles.928ece099bd66621c9f1.css (styles) 128 kB [initial] [rendered]
chunk {2} polyfills.2f4a59095805af02bd79.js (polyfills) 59.6 kB [initial] [rendered]
chunk {3} main.832118c83f0ddb93f360.js (main) 861 kB [initial] [rendered]

However it took almost 10 minutes but the app isn't really all that big or complicated, about a week worth of work.
Still I don't want it to be public.
I can give you access over at https://git.icod.de/ but I'd need an email address.

I had a look at this, and it looks like the angular compiler is taking too long.
Running the below
node_modules\.bin\ngc -p src\tsconfig.app.json

takes a lot of time.

Thanks, I guess I'll have to. This is my first larger angular project involving 7 or more models.
I already thought about splitting it all into sub-components because on every change I would need to change all copies and this was really time-consuming.
I've removed the public flag, if you need access again in the future, please let me know.

What I suggest is that you create a dump component which doesn't fully reflect your model but rather be slightly more generic
Something along these lines;

			{{ name }}

{{subTitle}}

		<button *ngIf="sRole(Name) && !isSigned()" (click)="joinRaid(name)">
			Join
		</button>
		<button (click)="leaveRaid(name)">
			Unsign {{firstName}}
		</button>
		<button (click)="leaveRaid(name)">
		Kick From Raid
		</button>

As most of your templates are the same and just the data is different.

You know what. I don't want to do that. It's unnecessary waste of time.

There's some pretty good discussion here, and this seems like some performance issue with ngc proper (which is maintained at https://github.com/angular/angular).
I don't want to close this one because of all the information here already but you'll get a lot more traction at https://github.com/angular/angular, especially if you include a repro of the component that cause the low performance.

No problem. I was reporting a bug and I finished the project I was working on. If you'd like to forward it or not that's your thing. Close at will.

We have an angular 7.1.4 project with ionic v4 and are experiencing the same identical hang on prod ng build, precisely at the styles.scss file as well. Our source is not public so wondering if there’s any other clues or info I could provide to help out.

same problem, stuck on scss on 38%. help?

Same here.  What's going on? How do I get some debug info, or where are the log files?

Me too.

We've been tracking performance issues for Angular CLI 8 in https://github.com/angular/angular-cli/issues/13734. I think it's better to close this issue in favor of that one. Please see https://github.com/angular/angular-cli/issues/13734#issuecomment-521743839 for the latest update.


23 gather assets

I added:

members folder: containing profile pics of HappyLlamas
deleted the homepage images (because it was not in a folder) and created a folder for homepage images
added project folder: containing necessary images to develop project page
added members-list folder: containing necessary images to develop members list page

LGTM!


add small_model_filename

hello you all.
I just noticed that my last pr was merged. it was missing this change.
my apologies -- I was expecting a comment first before the pr was merged.
but yea this takes care of the chat_gpt model from this issue #165. In my last PR I handled gpt. thanks

closes #165


Using Library

Please how do make use of your Library, does it have a .jar file and .dex file or how do I use it's code; sorry am not that good at do this.

The instructions how to use this library with Gradle can be found on the main page.


Container linking doesn't work reliably under docker-compose 1.7

Environment: docker 1.10, docker-compose 1.7, Ubuntu 15.10
Background:
I've just updated docker to 1.10 and docker-compose to 1.7 on my Ubuntu 15.10 box. I am using around 7-8 containers linked with docker-compose, and it was working perfectly under docker-compose 1.6, but with 1.7, some containers don't see other (linked) containers. This seems to be related to the changed name resolution (changed from /etc/hosts to the /etc/resolv.conf-based approach).
Let's say I have containers named A and B. B is linked to A, and the Java code running inside the container wants to connect to 'A'. B starts up, I am getting exceptions saying "cannot connect to ". Note that  is the random (?) ID of the container, not its name.

How does B know the ID of A? Somehow the DNS must return this ID when trying to look up 'A'.
If the DNS returns this ID, then why can't B connect to A through its ID?

So somehow, something must have regressed between 1.6 and 1.7.

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

Closing this as docker-compose is in a separate project


Chef Server LDAP authentication issues - error 409 conflict

I setup my Chef-server for LDAP login but I have some unexpected issues.
The users manage to get past the login page, and when they click "Link Account" they get redirected again to the login page.  In the logs all I see is error 409 "Conflict", even though I don't have these already defined in the chef-server database.
==> crash.log <==
2018-06-18 17:12:35 =ERROR REPORT====
{<<"method=GET; path=/users/qsjs6747; status=404; ">>,"Not Found"}

==> erchef.log <==
2018-06-18 17:12:35.217 [error] {<<"method=GET; path=/users/qsjs6747; status=404; ">>,"Not Found"}

==> current <==
2018-06-18_15:12:35.22976 [error] {<<"method=GET; path=/users/qsjs6747; status=404; ">>,"Not Found"}

==> erchef.log <==
2018-06-18 17:12:37.433 [error] {<<"method=POST; path=/users; status=409; ">>,"Conflict"}

==> crash.log <==
2018-06-18 17:12:37 =ERROR REPORT====
{<<"method=POST; path=/users; status=409; ">>,"Conflict"}

==> current <==
2018-06-18_15:12:37.44319 [error] {<<"method=POST; path=/users; status=409; ">>,"Conflict"}

My chef-server.rb:
ldap['base_dn'] = 'OU=users,OU=kerberos,DC=rouen,DC=francetelecom.fr'
ldap['bind_dn'] = 'CN=admin,DC=rouen,DC=francetelecom.fr'
ldap['host'] = 'hostname.rouen.francetelecom.fr'
ldap['port'] = '636'
ldap['bind_password'] = '*********'
ldap['ssl_enabled'] = true
ldap['login_attribute'] = 'uid'

Why would I get these errors? What could be the root cause?
I know it's not really a bug, but I'm out of ideas.
Your Environment

Chef Server Version: 12.17.33-1
Total/free RAM: 8G/6G RAM
Operating System and Version: Ubuntu 18.04

The issue was because of the LDAP server which was missing some user records like mail and name;
When you manually create a user in chef, mail and full name are mandatory fields which need to be filled.
Probably when Chef tried to create users based on LDAP information it failed miserably due to this.
Thanks


batch-system: increase max batch size

Signed-off-by: Little-Wallace<EMAIL_ADDRESS>
What problem does this PR solve?
Problem Summary:
If user does not enable hibernate-region and there are a lot of region in each TiKV instance(This is a big TiKV cluster), TiKV will process a lot of heartbeat msg. The default value of max-batch-size for batch-system is too small and it will make TiKV must flush after only processing few msg(256 regions). Too frequently flush operations will block raftstore thread too long in system call fsync and make the performance of TiKV worse much than release-3.0, in which the default value of max-batch-size is 1024
Related changes

PR to update pingcap/docs/pingcap/docs-cn:
PR to update pingcap/tidb-ansible:
Need to cherry-pick to the release branch

Check List
Tests

Unit test

Release note

change the default value of apply-max-batch-size and store-max-batch-size to 1024.

/merge

/merge


Create an Item

As a customer
I need to add an item to the system
So that I can add the item to the order afterward
Details and Assumptions

We need to create a model Item

Acceptance Criteria
When we use the API to create a new item
Then after refreshing the page, I should see the new item just created on the page.

Should incorporate overall integration of the portal with the database.


Performance improvements for pagination query

Performance improvements for pagination query
This basically fixes the performance issue when doing pagination on VERY Large data sets with a Group By.

Please send to 5.1.

Please send to 5.1.

@GrahamCampbell, I have a project that is running laravel 4.2, and needs this fix, for now I just created a fork and started using that I'n my app, I will check if 5.x has the same issue and also create a patch for it if need, but for now, would it be possible to have this approved for 4.2.x once I polish it? :smiling_imp:

@GrahamCampbell  And by polish I just mean, fix any code that does not look worthy of being the in core (Like the lines that @crynobone pointed out) and updating the testsuite.
Please let me know If you would consider a merge once I have done those things :smile_cat:

We're not accepting fixes to 4.2, sorry. This must go into 5.1.

@GrahamCampbell, May I know why? :disappointed:

Because we don't support it anymore, and that's it.

Created new PR for 5.1 fix, Pull Request #9055


Active Leaning for QnA Maker

We are in the process of enabling Active Learning (https://qnamaker.ai/Documentation/ActiveLearning). As QnA maker is primarily a key word matching solution only as of date, we are making an attempt to provide active learning process which will allow users to have multiple options.
One issue is that the default configuration of Active learning is 50 user clicks and I was trying to figure out if we can reduce that to 5 or 6. Have anyone tried this before or can provide me some suggestions.
Thanks
Aniruddha

We are looking towards making it configurable in future. As a work-around for now, you can try updating the feebackRecords array with same entries but different user Ids.

Thank you for opening an issue against the Bot Framework Cognitive Services repo. As part of the Bot Framework v4 release, we’ve moved all the Luis and QnA work to platform SDK repo. We will continue to support and offer maintenance updates via this repo.
From now on, https://github.com/Microsoft/botframework-sdk repo will be used as hub, with pointers to all the different SDK languages, tools and samples repos.
As part of this restructuring, we are closing all tickets in this repo.
For defects or feature requests, please create a new issue in the Bot Framework repo found here:
https://github.com/Microsoft/botframework-sdk/issues
For product behavior, how-to, or general understanding questions, please use Stackoverflow.
https://stackoverflow.com/search?q=bot+framework
Thank you.
The Bot Framework Team


Compilation error since adding the cache

Since adding the cache I can't launch my worker, the error :
Error: Cannot find module 'fs/promises'
Require stack:

/snapshot/nexrender/packages/nexrender-core/node_modules/cacache/lib/entry-index.js
/snapshot/nexrender/packages/nexrender-core/node_modules/cacache/lib/get.js
/snapshot/nexrender/packages/nexrender-core/node_modules/cacache/lib/index.js
/snapshot/nexrender/packages/nexrender-core/node_modules/make-fetch-happen/lib/cache/entry.js
/snapshot/nexrender/packages/nexrender-core/node_modules/make-fetch-happen/lib/cache/index.js
/snapshot/nexrender/packages/nexrender-core/node_modules/make-fetch-happen/lib/fetch.js
/snapshot/nexrender/packages/nexrender-core/node_modules/make-fetch-happen/lib/index.js
/snapshot/nexrender/packages/nexrender-core/src/tasks/download.js
/snapshot/nexrender/packages/nexrender-core/src/index.js
/snapshot/nexrender/packages/nexrender-worker/src/bin.js

If you want to compile the package/file into executable, please pay attention to compilation warnings and specify a literal in 'require' call. 2) If you don't want to compile the package/file into executable and want to 'require' it from filesystem (likely plugin), specify an absolute path in 'require' call using process.cwd() or process.execPath.
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
at Function.Module._resolveFilename (pkg/prelude/bootstrap.js:1346:46)
at Function.Module._load (internal/modules/cjs/loader.js:862:27)
at Module.require (internal/modules/cjs/loader.js:1042:19)
at Module.require (pkg/prelude/bootstrap.js:1225:31)
at require (internal/modules/cjs/helpers.js:77:18)
at Object. (/snapshot/nexrender/packages/nexrender-core/node_modules/cacache/lib/entry-index.js:11:5)
at Module._compile (pkg/prelude/bootstrap.js:1320:22)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1176:10)
at Module.load (internal/modules/cjs/loader.js:1000:32) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/snapshot/nexrender/packages/nexrender-core/node_modules/cacache/lib/entry-index.js',
'/snapshot/nexrender/packages/nexrender-core/node_modules/cacache/lib/get.js',
'/snapshot/nexrender/packages/nexrender-core/node_modules/cacache/lib/index.js',
'/snapshot/nexrender/packages/nexrender-core/node_modules/make-fetch-happen/lib/cache/entry.js',
'/snapshot/nexrender/packages/nexrender-core/node_modules/make-fetch-happen/lib/cache/index.js',
'/snapshot/nexrender/packages/nexrender-core/node_modules/make-fetch-happen/lib/fetch.js',
'/snapshot/nexrender/packages/nexrender-core/node_modules/make-fetch-happen/lib/index.js',
'/snapshot/nexrender/packages/nexrender-core/src/tasks/download.js',
'/snapshot/nexrender/packages/nexrender-core/src/index.js',
'/snapshot/nexrender/packages/nexrender-worker/src/bin.js'
],
pkg: true
}

I try to restart npm run i
npm run install-child
npm run pkg

make-fetch-happen use cacache who  use fs/promises => then error
I try to clear npm cache without results

What node version are you using?

v18.7.0

@benoitRodde Can you provide a bit more info about your setup? Have you confirmed that both the server and worker are running on node 18.7.0?


bug: nodejs version

Project cannot run with the latest nodejs version. Try with NodeJs 16.0.0

this is not a bug. just a configuration issue.


Get an SSL certificate for opengeometadata.org

Opengeometadata.org is pointing to HTTP, not HTTPS. @thatbudakguy can we get an SSL certificate for the site?

could someone with admin permissions for the repo try following these instructions for enforcing HTTPS? GitHub should be able to request a cert for you via LetsEncrypt. let me know if this doesn't work.

That worked Nick. Thanks!


the host should is host:port

In -allSPDYHeader of NSURLRequest + SPDYURLRequest.m.

NSMutableDictionary *spdyHeaders = [[NSMutableDictionary alloc] initWithDictionary:@{

@":method"  : self.HTTPMethod,

@":path"    : path,

@":version" : @"HTTP/1.1",

- @":host"    : url.host,

@":scheme"  : url.scheme

}];

the host should is host:port。
(http://dev.chromium.org/spdy/spdy-protocol/spdy-protocol-draft3#TOC-3.2.1-Request)
":host" - the hostport (See RFC1738) portion of the URL for this request (e.g. "www.google.com:1234"). This header is the same as the HTTP 'Host' header.

Good find, thanks! Feel free to submit a pull request.


Unnecessary return is removed and .idea is added to gitignore

Hi Moe,
Great spot! Thank you for contributing.
I'll get this merged tomorrow
Many Thanks


Add FusedParam Support for Gluon LSTMs

This is a feature request to have the Gluon LSTM operator use FusedParams for LSTMs and RNNs.
Here is the inference latency for the LSTM operator from the MKLDNN PR branch for a 1 layer 300dim lstm:
Total: 475us
    - rnn_param_concat: 250us
    - Reshape: 100us
    - RNN Op: 125us

As you can see a lot of overhead is spent concat'ing and reshaping individual params together into a fused param. Would be faster to just use fused params from the beginning.

@mxnet-label-bot add [feature request, gluon]


Add quotes that fits the mood according to the hour of the day..

hmm this would be hard because of the timezone

I'm going to close this for now because it'd be more of an advanced feature


Revert to async-http-client-2.12.1

Based on what I understand to be the fruits of @hamnis' investigation.

This ain't it.


[Spark] Pass sparkSession to commitOwnerBuilder

Which Delta project/connector is this regarding?

[X] Spark
[ ] Standalone
[ ] Flink
[ ] Kernel
[ ] Other (fill in here)

Description

Updates CommitOwnerBuilder.build so that it can take in a sparkSession object. This allows it to read CommitOwner-related dynamic confs from the sparkSession while building it.
Does this PR introduce any user-facing changes?

No

spark master test failures are independent of this PR


Expose .dylib for node.js

How can I expose a dylib to a node.js code...I can require a module in node.js now with cpp codes built into a .node file...but my library is not exposed...this is my binding.gyp file:
{
  'targets': [
    {
      'target_name': 'abc',
      'include_dirs': ['libabc'],
      'sources': [ 'main.cpp'],
      'link_settings': {
        'libraries': [
        '/Users/user/Developer/Projects/abc/libabc/libabc.dylib',
        '/Users/user/Developer/Projects/abc/libabc/libabc.4.dylib',
        '/Users/user/Developer/Projects/abc/libabc/libabc.4.8.2.dylib'
      ]
      },
      'libraries': [
        '/Users/user/Developer/Projects/abc/libabc/libabc.dylib',
        '/Users/user/Developer/Projects/abc/libabc/libabc.4.dylib',
        '/Users/user/Developer/Projects/abc/libabc/libabc.4.8.2.dylib'
      ]
    }
  ]
}

this is how the files places in the abc folder:
abc ->
        - binding.gyp
        - main.cpp
        - libabc ->
                      - libabc.dylib
                      - libabc.4.dylib
                      - libabc.4.8.2.dylib

and this is my main.cpp file (including a test sample from here):
// addon.cc
#include <node.h>

namespace demo {

    using v8::Exception;
    using v8::FunctionCallbackInfo;
    using v8::Isolate;
    using v8::Local;
    using v8::Number;
    using v8::Object;
    using v8::String;
    using v8::Value;

    // This is the implementation of the "add" method
    // Input arguments are passed using the
    // const FunctionCallbackInfo<Value>& args struct
    void Add(const FunctionCallbackInfo<Value>& args) {
        Isolate* isolate = args.GetIsolate();

        // Check the number of arguments passed.
        if (args.Length() < 2) {
            // Throw an Error that is passed back to JavaScript
            isolate->ThrowException(Exception::TypeError(
                                                         String::NewFromUtf8(isolate, "Wrong number of arguments")));
            return;
        }

        // Check the argument types
        if (!args[0]->IsNumber() || !args[1]->IsNumber()) {
            isolate->ThrowException(Exception::TypeError(
                                                         String::NewFromUtf8(isolate, "Wrong arguments")));
            return;
        }

        // Perform the operation
        double value = args[0]->NumberValue() + args[1]->NumberValue();
        Local<Number> num = Number::New(isolate, value);

        // Set the return value (using the passed in
        // FunctionCallbackInfo<Value>&)
        args.GetReturnValue().Set(num);
    }

    void Init(Local<Object> exports) {
        NODE_SET_METHOD(exports, "add", Add);
    }

    NODE_MODULE(addon, Init)

}

p.s. I can access the add function in main.cpp from node.js with require.

Is your question how to write glue code for your shared library?  That's either an add-on programming question or a general C++ question.  Either way, this bug tracker isn't the right place to ask.
For add-on related questions, try https://github.com/nodejs/help/issues.  Note that you shouldn't expect answers when it's something you can find in the documentation.
For questions specific to the shared library that you're writing bindings for, you should consult its documentation.  Good luck.

@bnoordhuis would you mind giving me a link to the documentation that shows how to expose the dylib library to node js...if it was that obvious I assure you I wouldn't bother you this much.

The add-ons documentation on https://nodejs.org/ explains how to write C++ code that is accessible to JS code.  Interfacing that C++ code with your library is not something I or anyone in this community can help you with but google around for other add-ons that are bindings to existing libraries (like e.g. node-iconv.)

I've actually looked for an answer for a while now, but thank you for the tip @bnoordhuis...I'll look into it.


Improve sql query validator pattern

This PR improves the sql validator pattern adding the following capabilities.
Jira: APPSRE-3316

Add comments to queries with the /* [comment] */ format. -- at the end of line is not supported
explain analyze select is now supported. A tenant might require to use this statement to evaluate costs, etc.
The regexp restricts the usage of explain analyze to use just select statements

I got late here...
I'm wondering if we need the .*? in some of the places. I was about to test something like this:
(?i)^(select|explain(?!\\s+?analyze\\s+(insert|update|delete)))\\s+((\\/\\*.*\\*\\/)|[^;\\*-])+;

Which removes the .*?
Removes the non-capturing group to make things more consistent


Use common approach for java clients when throwing exceptions

Client connectors should have a similar approach when throwing exception. For example some java clients are throwing unchecked exceptions, some are throwing checked exceptions for similar cases.

Are these connectors or clients?  Either way, the exceptions are part of the interface.
Generally checked exception are clearer and preferred.
However, whether the excceptions are checked or unchecked, they should be Egeria exceptions with defined status code, message, system action and user response.
Could you give a list of the differences that you are seeing? @ruxandraRosu

I am referring to java client like for asset-catalog or open-lineage-services. I've noticed when integrating OLS client into ui component that the approach is different for these 2 clients and I think a general approach, like a guideline for all java clients is desirable. One of the clients is throwing InvalidParameter and PropertyServerException checked exceptions, the other only runtime exceptions.

This makes sense ... we should have a joint call to discuss this.  I made an assumption that our FFDC principles and requirements are well known and I realize that this is not the case.

As discussed in today's functionality call, 2 approaches are preferable:

Client should throw checked exceptions instead of runtime exceptions, in accordance with the response received from server
2.Use RestClientConnector instead of RestTemplate

I have assigned this to my list to cover the definition of the design guidelines - if we agree changes then we can have specific issues for the clients that should change

This issue is moving forward as there is a drive to get all to use the REST Connector and many clients use the OCF/ODF and GAF base classes for clients.
I will leave this open for another release and do an assessment of where we are


Separate tests from classes

Presently test declarations build on class declarations. We want to be able to use the tests in the simple vm where there are no classes.
The original intent was to create the test declaration class as a holding pen for test set data and simply not map the reference so it was never findable by user code. But now we run tests inside a child vm, they are much freeer to make sweeping changes and minimise their side effects.
This should result in all current ulox test scripts still passing and introducing simplevm ulox tests that execute a the non-class requiring subset of the ulox tests.

The assert library is build as a class, this means the base + tests engine has to support dot and invoke. This is not ideal but it is preferable to supporting two versions of our asset library.


Fix package.json

Hi! Currently package.json has an extra comma, giving the following error upon installation:
npm ERR! Failed to parse json
npm ERR! Trailing comma in object at 10:1
npm ERR! }
npm ERR! ^
npm ERR! File: /var/folders/54/zqj9kxq17yl0ckzr738d_9c0mlyy56/T/npm-65694-c9384f76/git-cache-a959c3fb/ea2390d761d4a3e363b9e9b4cc2906de3173aef1/package.json
npm ERR! Failed to parse package.json data.
npm ERR! package.json must be actual JSON, not just JavaScript.
npm ERR!
npm ERR! This is not a bug in npm.
npm ERR! Tell the package author to fix their package.json file. JSON.parse

Thanks for picking this up.
As an aside: you shouldn't really need to npm install. The lib has no dependencies and no build processes.


The deployment hangs after upgrading to <IP_ADDRESS>

The deployment hasn't completed after 1 hour 20 mins:

There must be something broken for the twas-cluster offer.

After the initial investigation, the root cause is that the return code of curl $dmgrHostName:$dmgrPort --output - >/dev/null 2>&1 is expected to be 56, but it's 0 after upgrading to <IP_ADDRESS>.


Add CIS Microsoft Azure Foundations Benchmark v2.0.0

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
v2.0.0 - 02-14-2023
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Wrong association


All generic install stuff should be done in init install file

Move install stuff into init file. A non-exhaustive list:

[x] user creation
[ ] consider never enabling the root user
[x] key installation
[x] sudo no password

I should probably be better about merging branches so that I can roll up sloppy commits. I should be better about quantizing the changes as well.


UI should work without Internet Connection

Feature Request
Considering the user scenario, the UI is likely to be run without an internet connection.

It makes sense, now it seems only the diagnosis report depends on the external CSS and js files from CDN, we should put them in local, but we need to consider how to build them in the go binary as well.

@baurine Yes. This need to be carefully designed.

This issue can be closed after #307 is merged.


Harvest Chances for missing crafts

If somebody wants to do the other Harvest crafts, here are the numbers:

Reforge more likley has a 90x multiplier
Reforge [tag], [tag] more common has a 10x multiplier (Its a guess like fossils)
Devine lucky, roll twice keep better one

These numbers are from Craft of Exile.

That will be very useful, thanks!

Quick question though, about "reforge more likely": do you know what is multiplied exactly? My guess would be all mods with the same mod group as mods already on the item, but it could also be by tag instead?

Yes for what I know it is by mod group.

Less likely has a 0.01 multiplier.
Added to main post

I have added more/less likely. Still need to implement more common.
(Divines would require storing mod values which Kalandralang currently doesn't, but maybe later.)

Added reforge more common crafts.

Awesome addition, now only aisling is missing and all the big stuff is taken care off (for base items)
Closed since stuff got implemented


google-chrome fails to find libpangocairo

Issue description
Google chrome uses some rather unusual approach to set it's LD_LIBRARY_PATH:
  env = buildEnv {
    name = "google-chrome-env";
    paths = [ pango cairo ...  ]
  }

  LD_LIBRARY_PATH="${env}/lib:${env}/lib64"

etc.
In current master (366c19ffd8bda28012081e660beb45e52686c29e) this doesn't work anymore as google-chrome can't find libpangocairo.so. This happens because it isn't in the buildEnvs output.
nix-build . -A pango generates results-dev with only contains /lib/pkgconfig/..., not libpangocairo.so.
To fix this, I had to change pango to pango.out (not permanently, just as a check) which contains the necessary libs in /lib. Unfortunately, google-chrome continues failing to start, this time by failing to load libdbus.so.
This leads me to the assumption that this goes deeper and is related to the closure-size merge.
Steps to reproduce
nix-build . -A google-chrome && result/bin/google-chrome
nix-build . -A pango
nix-build . -A pango.out
Technical details

System: 3ae4d2a and later
Nix version: 1.11.2
Nixpkgs version: 16.09.git.366c19f

CC @vcunat @msteen

I think I've fixed that in https://github.com/NixOS/nixpkgs/pull/14658 , but I may have overlooked several places.

Ah! makeLibraryPath looks like a good solution. I'll try porting google-chrome over to it.

We also have makeBinPath and makeSearchPathOutputs "lib64" ["lib"] (which I've added recently and want to replace with makeSearchPathOutput "lib" "lib64" in https://github.com/NixOS/nixpkgs/pull/14694 -- but feel free to use it, I'll update it in the PR).

I left a note in 0c5ed43 as I'm not absolutely sure if adding stdenv.cc.cc to makeLibraryPath was the correct call here. If it's not, feel free to reopen and I'll fix it.

@the-kenny That approach of setting LD_LIBRARY_PATH was chosen because I based the initial version of the google-chrome package on Atom, which had similar requirements.

Hm, I've recently replaced buildEnv with makeLibraryPath for atom to fix it. Would it cause problems?

@abbradar I do not think so, since as far as I know the reason for using buildEnv in Atom was the same as for the google-chrome package, to simplify setting the paths.

When I created the PR for #14447 , there was no error. However, now that it has been merged I get the same error message, when trying to nix-env -iA nixpkgs.vscode:
code: error while loading shared libraries: libpangocairo-1.0.so.0: cannot open shared object file: No such file or directory

Could this be related to the error described here? If so, what is the solution?

buildEnv has many more use cases than this broken one, but I agree - we should check those. Could you create another ticket and tag it with the closure-size tag (like this one)?


Sync Queue Issues with PySide2

PySide2 is introduced in https://github.com/pypeclub/OpenPype/pull/1744
Sync Queue has couple of issues:

not working sorting
not working menu on projects
painting of files Detail view starts too late

[cuID:PYPE-1298]

Not caused by PySide2


Remove unnecessary use of "backend/mongo" package

Thanks for your contribution.
Can I talk with you in Slack for a while?
https://communityinviter.com/apps/dev-yorkie/yorkie-framework


Formatters: BufferedMediaTypeFormatter and MediaTypeFormatter

Trying to implement a custom HalFormatter (HATEOAS)  for Web Api in ASP.Net core 2.0 but none of these 2 types seem to be available.  Package references set to Microsoft.AspnetCore.All.  Am i missing something? Were these retired?

You probably want to take a look at OutputFormatter, TextOutputFormatter or JsonOutputFormatter.

Do you really want a custom formatter for HAL?  I don't know exactly what you're doing, but it seems more likely to be simpler to implement as a combination of object model and filters.

Closing because there are no plans to implement this. It seems that there exist other ways to do what's being discussed here.

I eventually implemented thus by deriving from jsonoutputformatter

Glad to hear!


GH-2374 fix docker build

GitHub issue resolved: #2374
Briefly describe the changes proposed in this PR:

PR Author Checklist (see the contributor guidelines for more details):

[ ] my pull request is self-contained
[ ] I've added tests for the changes I made
[ ] I've applied code formatting (you can use mvn process-resources to format from the command line)
[ ] every commit message starts with the issue number (GH-xxxx) followed by a meaningful description of the change
[ ] every commit has been signed off

Note: we merge all feature pull requests using squash and merge. See RDF4J git merge strategy for more details.

We should also start looking into making this part of the maven build process, so that it can be produced alongside the other distribution assemblies (the SDK and onejar). I haven't looked into a maven docker build plugin yet, but if there is one we should consider using that, instead of tinkering about with shell scripts.

@hmottestad @barthanssens what's the status of this PR?

Need to address Barts comment. And if your comment about that maven command still holds I guess that needs to be addressed too.

Need to address Barts comment.

Fair enough.

And if your comment about that maven command still holds I guess that needs to be addressed too.

I'd keep that out of scope. I'd rather we merge this so we at least have an easy manual way to create docker image. We can address integration in the build process in a followup.

You said the maven build command was failing for you on the first run through.

You said the maven build command was failing for you on the first run through.

Ah right, forgot about that. If nobody can reproduce that problem though, I'm happy to call it a glitch on my end for now.


Immediate vs. Carryover Response percentage

Project Robyn
Describe issue
I came from the following post in the Robyn community !
https://www.facebook.com/groups/robynmmm/permalink/1346385012796295/
I have set the Weibull Adstock CDF parameters to c(0.0001) for some ads.
However, looking at the modeling output, there seems to be a carryover effect. (red ads)

I understand with the answer on Robyn Community. (Thanks! @gufengzhou)

Settings shape and scale to very small doesn't mean adstock will be 0.

But It seems strange that there're a carryover effect over 40% even though the adstock is as close to zero as possible.
（By the way, I use daily data.）
I tried setting both shape and scale to 0, but I got an error.
Error in check_hyper_limits(hyperparameters_ordered, "shapes") :
FBIG_S_shapes's hyperparameter must have lower bound >0

It would be nice if shape/scale could be set to 0 as well, but if there is a reason why it cannot be set to 0, I would appreciate it if you could tell me :)
Thanks!
Environment & Robyn version

Robyn version 3.9.0
R version 4.2.1

Can you please test the update and see if it works? You  can set shape and scale to 0 now to have 0 adstock / carryover for a channel.

I was able to confirm the output when scale and shape were set to 0. (red ads)
Thank you for dealing with it so quickly!!

Robyn 3.10.3 is having issues with scales being equal to 0 again. I'm running an old model exactly as is on a newer version of Robyn and it is giving me an error. Setting the range to non-zero allows the model to run without issue. Is this an intentional change?
getting an error : Error in { :
task 1 failed - "'names' attribute [20] must be the same length as the vector [18]"
@gufengzhou

Hi there, this is still not resolved as of version 3.10.7.  Would anyone be able to take a look here?  Thank you for the great product!

Hi @jstrome-lmp and @jaylin1, thanks for reporting. this is fixed is the latest v<IP_ADDRESS>00.


Github home Wiki page is broken

As in title, I wanted to check wiki for stuff and homepage is broken
Screenshot:

Yeah, I saw this as well. I hadn't changed anything with the wiki though, and after a while this was fixed again for me.
If you are still experiencing this, try clearing your cache of the GitHub domain.

GamyGamer, has the wiki fixed for you, and if so about how long did it take? I have cleared the cache and waited for a little over an hour.

Having the same issue here. No fixes, and it's been happening for about an hour or two.

clearing cache of the GitHub domain fixed it for me


Formatting of usage instructions in README.md

Wrap the usage instructions in a code block to make them easier to read

thanks for those PRs!


Provide a way to add Manager and manage approvals

Currently it isn't clear from instructions that the manager and champion roles must be assigned manually through Champions List.
For a user not familiar with SharPoint wouldn't know how to manage approvals or change assign manager role to others.
It would be better if the app can provide a way to manage approvals and champion/manager role assignments directly in Teams app.

@bhargavshukla thank you for the feedback here, approvals are still currently located in the List location and for the time being will be managed from that location. Additionally you could build a powerautomate to send approvals via approval app in Teams and update the column from pending to approved (or even champion status). I'll look to publish a blog article outlining that potential to shed some insights on it for others as well.
There could be some elements where the list can be pinned into a management channel or access from the List app itself as well.

@bhargavshukla - also one other update here, there is an approval process in app to complete this process. The app (v1.2) has manage approvals button, selecting that will allow to approve from there or reject from there. It is updating the status field in the list for members.

Thank you @JoshLeporati that is fantastic news!


feat: update image tag values

@AhmedMItman
There is another way you can set tag in values-gke.yaml file
image:
  tag: "v{{.Chart.AppVersion}}"

and in the templates/deployment.yaml file set image
image: "{{ .Values.image.repository }}:{{ tpl .Values.image.tag . }}"

@AhmedMItman is this PR tested bro?

@AhmedMItman I opened another PR with the same changes and fixed couple of things https://github.com/swvl/semantic-release-helm/pull/16


Update cassandra, clickhouse, cockroachdb, ... to 1.20.1

About this PR
📦 Updates

org.testcontainers:cassandra
org.testcontainers:clickhouse
org.testcontainers:cockroachdb
org.testcontainers:couchbase
org.testcontainers:db2
org.testcontainers:dynalite
org.testcontainers:elasticsearch
org.testcontainers:gcloud
org.testcontainers:influxdb
org.testcontainers:jdbc
org.testcontainers:kafka
org.testcontainers:localstack
org.testcontainers:mariadb
org.testcontainers:milvus
org.testcontainers:minio
org.testcontainers:mockserver
org.testcontainers:mongodb
org.testcontainers:mssqlserver
org.testcontainers:mysql
org.testcontainers:neo4j
org.testcontainers:nginx
org.testcontainers:oracle-xe
org.testcontainers:orientdb
org.testcontainers:postgresql
org.testcontainers:presto
org.testcontainers:pulsar
org.testcontainers:rabbitmq
org.testcontainers:redpanda
org.testcontainers:selenium
org.testcontainers:solr
org.testcontainers:testcontainers
org.testcontainers:toxiproxy
org.testcontainers:trino
org.testcontainers:vault

from 1.19.8 to 1.20.1
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.testcontainers" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.testcontainers" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #358.


Test logs aren't in report

The test logs can be seen in the overall build log but I would expect the test report UI to be able to show full logs of each test. Currently it can only shows a stack trace of failed tests.

Probably, this might be cause:
Failed to run anaylsis:
pop from empty list
No elasticsearch_server specified in config. Results stored locally


Add files via upload

Have you read the Contributing Guidelines ?
(Write your answer here.)
Description
(Write your answer here.)
Checklist

[x] I've read the contribution guidelines.
[ ] I've checked the issue list before deciding what to submit.
[ ] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)

Let's add the contributing files Covid19_statewise dataset using Streamlit library

Let's add my contributing  file Iriswebapp using streamlit library


Bug: Navigating Network Folders in Location Bar causes error

Description
Trying to navigate back in a network drive folder by clicking a parent folder in the application bar:

But get error message instead:

If I back out and re-navigate to the location it works fine.
Steps To Reproduce

Go to a network drive folder.
Open up and navigate within a sub-folder or two depth
Click in the navigation address bar one of the parent folders
See error

Steps to fix

Display network folder at the given location without error dialog

Files Version
Preview <IP_ADDRESS>
Windows Version
Windows 10 - 21H2 19044.2604
Log file
Don't see anything related to networking here, but here it is: debug.log

We fixed part of this in #11414 but looks like we missed something.

Yeah, it's weird as well, as I have to like click back elsewhere to some other local folder or the 'Network' folder and then re-enter the address to get back. If I just try and use the addressbar and hit enter on the same exact path it won't reload either.

This seems to be a different bug than #11414. I will investigate further and submit a PR when I figure out how to fix it.


HTML reindent lines with enters in table data cells cause staircase effect

Issue Type: Bug
When using enters in table data cells, the next tags will be indented one indent too far when using reindent lines from the command palette, causing a ripple effect with a lovely table staircase.
Example:
<!DOCTYPE html>

                Task
                Text
                Text

                Text
                More Text
                Text

Add an enter between More and Text, select Reindent lines and watch the staircase effect happen. Remove the enter, select Reindent lines and the indentation is as you would expect.
VS Code version: Code 1.38.1 (b37e54c98e1a74ba89e03073e5a3761284e3ffb0, 2019-09-11T13:31:32.854Z)
OS version: Darwin x64 18.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8210Y CPU @ 1.60GHz (4 x 1600)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 2, 2

Memory (System)
8.00GB (0.25GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

Playing around with it some more, it seems the problem might be bigger than just this. Lines with the ending tag not on a separate line also trigger this behaviour. I.e.:

Text
    Text

Text

I suggest that you use a formatter instead of reindent lines, since reindent lines is language agnostic.

Did some more searching and finally landed on https://code.visualstudio.com/docs/languages/html#_formatting — Format Document is what I needed.
Coming from other editors this distinction between Reindent lines and Format Document is not immediately apparent and could be better highlighted, IMHO.

Let’s use issue #29727 to track. Our auto indentation is based on regex rules while it is not fully aware of the context/scope and it also doesn’t support different indentation formats.