text:
Yapı kredi Bankası Çekimde

System.ArgumentException: 'ISO-8859-9' is not a supported encoding name. For information on defining a custom encoding, see the documentation for the Encoding.RegisterProvider method. (Parameter 'name')
uyarısı alıyorum.
Banka dökümanında
Servis Genel Yapısı
Posnet XML servisi, posnet işyerlerinin XML dokümanları göndererek posnet işlemi yapmalarını
sağlayan bir servistir. İşyeri sistemlerinin ortam değişkeni olan <%XML_SERVICE_URL%> adresine
(test ortamı: https://setmpos.ykb.com/PosnetWebService/XML) oluşturdukları xml dokümanını UTF8 URL Encode ile encode ettikten sonra “xmldata” parametresinde Content-Type=application/xwww-form-urlencoded; charset=utf-8 ile POST etmesi gerekmektedir. İşlem sonucu yine bir XML
dokümanı olarak işyerine dönülür.
Yardımcı olabilirmisiniz ? tşk.ler

Merhaba,
Encoding'i şu şekilde kullanabilirsiniz.
System.Text.Encoding.GetEncoding("ISO-8859-9").GetBytes(hashstr)

şu şekilde yaptım
VakifbankPaymentProvider.cs
Kaldırdım
var httpParameters = new Dictionary<string, string>();
httpParameters.Add("xmldata", requestXml);
Ekledim
var data = new StringContent("xmldata="+requestXml, System.Text.Encoding.UTF8, "application/json");
Kaldırdım
var response = client.PostAsync(requestUrl, new FormUrlEncodedContent(httpParameters)).GetAwaiter().GetResult();
Ekledim
var response = client.PostAsync(requestUrl, data).GetAwaiter().GetResult();

Merhaba,
Islemi pull request olarak gönderirseniz projeye dahil edelim katkınızı.

üstat son halini gönderirim, tam çalışır hale getirince.
ayrıca
PaymentController 'de
public IActionResult ThreeDGate()
{
//Eskisi
/if (HttpContext.Session.TryGetValue(PaymentSessionName, out byte[] paymentInfo))
return RedirectToAction(nameof(Index));/
//Yenisi, ! ekledim
if (!HttpContext.Session.TryGetValue(PaymentSessionName, out byte[] paymentInfo))
return RedirectToAction(nameof(Index));
....

Teşekkürler gördüğüm kadarıyla sample tarafında bayağı sorunlarımız mevcut :)

sefa bey ilginize tşk.ler, üzerinde çalışıyorum, takıldığım yerlerde sizi yoracağım.

public IActionResult Callback(IFormCollection form)
işleminde sanırım kendi sitemizden ayrılıp banka ödeme sayfasından döndüğümüzde Session'da tuttuğumuz veriler siliniyor! alttaki blokta paymentInfo null oluyor .
Session'daki verilerin silinmemesi bir yöntem varmıdır? tşk.
       **if (!HttpContext.Session.TryGetValue(PaymentSessionName, out byte[] paymentInfo))
            return RedirectToAction(nameof(Index));**

        var paymentModel = JsonSerializer.Deserialize<PaymentViewModel>(paymentInfo);
        if (paymentModel == null)
            return RedirectToAction(nameof(Index));

Merhaba,
Bunun için Cookie SameSite Policy'ye bakmalısınız. Chrome, firefox ve edge yakın zamandaki bir sürümde bu konuda bazı düzenlemeler yaptılar.

tşk.ler.

Selamlar. Nisan'da Chrome SameSite policy'yi değiştirdi. Diğer browser'larda çalışıyorsa ondandır. SessionId'yi tutan cookie'yi SameSite=None yapacak bir update yapmanız gerekir kullandığınız versiyona göre.

xml verisini iletmek için yukarıda değişiklikten bahsetmiştim, bankaya göndermiyormuş!
alttaki şekilde XML verisini yollayabiliyorum, ilgelenen arkadaşların işine yarayabilir.
string requestUrl = "https://setmpos.ykb.com/PosnetWebService/XML";
requestUrl += "?xmldata=" + requestXml;
string responseContent="";
HttpWebRequest webRequest = (HttpWebRequest)WebRequest.Create(requestUrl);
webRequest.Method = "POST";
webRequest.ContentType = "application/x-www-form-urlencoded; charset=utf-8";
            using (HttpWebResponse response = (HttpWebResponse)webRequest.GetResponse())
            {

                if (response.StatusCode != HttpStatusCode.OK)
                {
                   responseContent = String.Format("Server error (HTTP {0}: {1}).", response.StatusCode, response.StatusDescription);

                }
                else
                {
                    System.IO.StreamReader sr = new System.IO.StreamReader(response.GetResponseStream());

                    responseContent = sr.ReadToEnd().Trim();
                }

            }

üst bloktaki gönderim şeklini alttaki koda uyarlamaya çalıştım olmadı! üstad uyarlayabilirseniz hoş olur, tşk.
var httpParameters = new Dictionary<string, string>();
httpParameters.Add("xmldata", requestXml);
var response = client.PostAsync(requestUrl, new FormUrlEncodedContent(httpParameters)).GetAwaiter().GetResult();

Selam,
Bu tarz çözümlerinizi pull request olarak gönderirseniz katkı sağlamış ve aynı sorunu başkalarının yaşamasının önüne geçmiş olursunuz. Hep birlikte geliştirip sanal pos konularındaki belirsizlikleri ve sürekli yaşanan sorunları çözmek adına open-source olarak bu repoyu oluşturdum.

authors: gokhanercan sebahattinkoc sefacan


text:
fix criteo

Total blind shot... we'll see what happens.

Only one test is failing!
  1) Criteo track should track Application Opened with Email correctly:
     Error: Bad Request
      at Request.callback (node_modules/superagent/lib/node/index.js:626:17)
      at IncomingMessage.<anonymous> (node_modules/superagent/lib/node/index.js:795:18)
      at endReadableNT (_stream_readable.js:974:12)
      at _combinedTickCallback (internal/process/next_tick.js:74:11)
      at process._tickCallback (internal/process/next_tick.js:98:9)

source: gharchive/pull-request

repo: segment-integrations/integration-criteo

license: mit

license_type: permissive

license_source: bigquery


text:
Implementación del registro de usuarios

Implementar el registro de un usuario al sistema, incluye desde que el app server recibe el request hasta que manda el mensaje al shared

Closed with 9185347714a066414ec169a9ab553ef060c685f1
Los datos del perfil se pasan por el body

source: gharchive/issue


text:
Simple NPC

Based on top of refactormovement branch.
Fixes #29.  Due to current entity collision code, collisions are not detected if an entity tries to move onto a square that another entity is moving onto.  A GitHub issue could be opened regarding that.
Times are measured in milliseconds.  This should be changed to seconds if the framerate branch #36 is pulled.

Superceded by current codebase.

authors: pmer seisatsu

repo: seisatsu/Driftwood


text:
Placeholder not showing

The placeholder text is not showing when the select element is not initially visible AND it is a "multiple" type select AND using jquery 3.4.1
See the fiddle for example.
Click the button to show the select2 to reproduce.
https://jsfiddle.net/tmw4z7eb/1/

This is a regression in jQuery 3.3.0 (does not occur in jQuery 3.2.1). I suspect they "fixed" an issue and it caused the width calculation to no longer return anything for elements which are not visible.
Until we trace what exactly changed in jQuery, it's unclear if this is a bug in Select2 or a bug in jQuery.

Thanks for confirming @kevin-brown . Is the select2 code for generating multiple much different? As soon as I remove multiple, even using jquery 3.4.1 it works.

Is the select2 code for generating multiple much different? As soon as I remove multiple, even using jquery 3.4.1 it works.

Yes, Select2 generates an actual placeholder for a single select and uses the placeholder attribute for a multiple select. The reason why it is not visible for a multiple select is because we automatically size the <input> which contains the placeholder attribute.
https://github.com/select2/select2/blob/6645ffd4bddcc178c8c1c8588c6b2a93290a4cca/src/js/select2/selection/search.js#L211-L225
And for some reason, jQuery 3.3.0 and up is setting it to 0 when the Select2 is not visible.

Please keep open

@benoitongit I found a reasonable workaround in https://github.com/openculinary/frontend/pull/10 which might work for you too.
Once your select element becomes visible, if you can call $(element).trigger('change') on it, that will internally call the resizeSearch method that Kevin linked to, and it should now pick up the correct element width and display the placeholder text.
Will be nice once this is fixed but that might work in the meantime.

Can we keep this open please?  There's a workaround ( https://github.com/openculinary/frontend/pull/10 ) but it'd be great to identify the root cause so that we can fix the underlying issue.

Thank you @kevin-brown!

With width set to 100%, the input gets rendered at correct width but placeholder for some reason still doesn't.

This has been fixed in the upcoming 4.1.0 release. You can test it out for yourself by using the 4.1.0-beta.1 release which came out a few weeks ago.

If anyone still need a workaround the issue, you can use this code:
Css
.select2-search--inline { 	display: contents; } .select2-search__field:placeholder-shown { 	width: 100% !important; }
JS
`jQuery('select').on("change", function (e) {
const self = jQuery(this);
const field = self.parent().find('.select2-search--inline');
    // Update
    field.css('display', (self.val().length == 0 ? 'contents' : 'block'));
    field.find('input').css('width', (self.val().length == 0 ? '100%' : 'auto'));

});`

If anyone still need a workaround the issue, you can use this code:
Css .select2-search--inline { display: contents; } .select2-search__field:placeholder-shown { width: 100% !important; }
JS ` jQuery('select').on("change", function (e) { const self = jQuery(this); const field = self.parent().find('.select2-search--inline');
    // Update
    field.css('display', (self.val().length == 0 ? 'contents' : 'block'));
    field.find('input').css('width', (self.val().length == 0 ? '100%' : 'auto'));

}); `

it works!!! thanks man, you are the genius!

authors: Jojoshua OussamaKhoubran brazenvoid hilock jayaddison kevin-brown

license: MIT

license_source: github-api


text:
Dependencies/CI: updates to prepare for jQuery 4.0.0-beta testing

This pull request is dependency maintenance.
The following changes were made

Migrate from the deprecated node-sass to sass (Dart SASS) library.

The CSS outputStyle setting is updated accordingly.

Upgrade to grunt-contrib-qunit v10.1.1.

This requires a major version update for QUnit; here the latest v2.22.0 is selected.

Upgrade GitHub Actions workflows to NodeJS v20 iron (the current Long-Term-Support release).

This changeset prepares for an upgrade to jQuery 4.0.0-beta2, and extracts unrelated dependency changes from PR #6332.

cc @kevin-brown

I just want to take a moment to say thank you so much for making this pull request. Please ping me when the builds are back to running (looks like a syntax error is killing them before they start) and I'll merge this in.

You're welcome; thanks @kevin-brown.  These changes should be ready now.

@kevin-brown would you consider releasing a beta/rc of select2 with jquery 4.0.0-beta support?  If so, that'd help me to upgrade both of them, in order to offer some practical testing and/or feedback.
(yep, I could pin specific git commit hashes in package.json.. but I'd prefer/find it easier to use packaged versions distributed through the usual channels if possible)

authors: jayaddison kevin-brown


text:
PopupWindow not visible to inspector (or driver)

Using selendroid 0.17, I can't detect the contents of a popup window within my app, and was able to reproduce this in the selendroid test app:
http://central.maven.org/maven2/io/selendroid/selendroid-test-app/0.17.0/selendroid-test-app-0.17.0.apk
Sample code:
driver.findElement(By.id("showPopupWindowButton")).click();
Thread.sleep(2000); //account for animation delay
String pageSource = driver.getPageSource();
System.out.println("Is popup window detected? Expect true: " + String.valueOf(pageSource.contains("Dismiss")));

Just scanning the source code for "Dismiss" label which is on the button since I can't find it's element ids. The view hierarchy looks the same before and after I click the showPopupWindowButton
The screenshot in the inspector shows the app screen with the popup missing, even though it appears in the emulator.

Maybe you can switch to pop window at first

I'm also getting this issue on Android 6.0 (Genymotion and AVD).
Just to add more info:  This popup is in a different element tree, on previous version of Android i.e. 5.x (lollipop), when this type of popup is visible it becomes the active window but this is not the case on Android 6.0, if you use getPageSource() you'll see that it dumps the content of the main window instead so the element on this popup are not visible.

I'm seeing this issue as well, on Android 6.0.1 and a Nexus 6
The DOM is not getting updated to reflect the new event, and the inspector is not reflecting the change, either.

Also seeing this on Android 4.4 and a Nexus 5.  Selendroid is apparently losing the DOM change.  What appears to be happening are the following steps:

Selendroid lands on page (DOM gets updated)
Test starts filling in form on the page
Test taps popup button (DOM gets updated long enough for test method to verify DOM change to popup, then DOM tree reverts to page DOM) [popup remains visible on screen, and is able to be interacted with manually]
Test method tries to find locator on popup, but can't because the DOM tree is that from the page, not the popup

any updates on this?

Given that they've been on 0.17.0 for quite some time, I expect not.  With Android 7 coming, the project is really falling behind.

authors: EvilOverlordX aiwu jevasco niuniudd vicwomg

repo: selendroid/selendroid


text:
Add opportunity to get screenshot from current thread via ScreenShot Laboratory

For https://github.com/selenide/selenide/blob/master/src/main/java/com/codeborne/selenide/impl/ScreenShotLaboratory.java add opportunity to get latest or all screenshots from current thread
Something like that:
  public File getLastThreadScreenshot() {
      return currentContextScreenshots.isEmpty() ? null : currentContextScreenshots.get(currentContextScreenshots.size() - 1);
  }

or
  public List<File> getLastThreadScreenshot() {
      return currentContextScreenshots.isEmpty() ? null : currentContextScreenshots.get();
  }

or add methods for working with currentContext variable without remove it.
Also don't forget add some logic into https://github.com/selenide/selenide/blob/master/statics/src/main/java/com/codeborne/selenide/Screenshots.java

Hi @Osmyslitelny, thanks for your proposal.
I just wanted to know the cases when you need it and if you still need this opportunity?

I use ScreenShotLaboratory for not creating custom logic/lib/api for making screenshot.
have few threads that point why I work with context.
I have bdd and 1 context its 1 feature/scenario (name not very important), important moment that my context more then few lines (1 test). 1 context could include 10 test-steps. Step number 1,5 and 6 for example could work with screenshot. Every time when step 5 and six failed, my Listener invoked and I have to be sure that into report I will have last making screenshot.
Common view of listener:
class FiledListener { .... public void failed(String step, Throwable cause) {      Log.error("There is step: " step.getStepNumber() + "And there is screenshot" ScreenshotHelper.getCurrentThreadLastScreenshot()) }
As result I'm getting page screenshot of Selenide (default logic). And I get my custom screenshot for every failed test. In common view I could work with my Context values from ScreenShotLaboratory as Context values and I dont need any extra logic for 'screenshotKeeper' for getting and setting them.

authors: Osmyslitelny dstekanov

repo: selenide/selenide


text:
Text & Images are missing

Text is missing here:
the-cause-of-autoimmune-diseases-are-unknown-part-2
original post: https://factastichealth.com/the-cause-of-autoimmune-diseases-are-unknown-part-2
Images are missing:
the-cause-of-autoimmune-diseases-are-unknown-part-6
original post: https://factastichealth.com/the-cause-of-autoimmune-diseases-are-unknown-part-6

@fauno we will check the posts 1 by 1 and comment further about differences if we find any

Hi, is the previous site still up somewhere so I can check?

This is the post contents according to the backup.  It's the same as the migrated, only that the HTML to Markdown conversion removed the newlines, I'll check what happened.

What about the Leaky Gut?

The food choices we make can damage our gut directly with their physical or chemical properties if they are for example: acidic, greasy, digestive-intensive like meat or poor in nutrients.

Indirectly the above-mentioned kind of foods imbalance the microbiome, the most important residents in our gut, billions and billions of microorganisms that live in the mucus layer of our intestines. They form one part of our gut functional barrier.

Physicians ignoring the effect of our diet and how that relates to inflammatory rheumatoid diseases like arthritis or ankylosing spondylitis is very short-sighted and leads to symptom management rather than dealing with the cause of the disease.

Through scientific research, it is known that in most people with inflamed, leaky gut conditions, protein fragments from foods and gut organisms enter the bloodstream after most meals.
Our immune system forms antibodies in response to these foreign bodies and components of milk, wheat or egg proteins for example. The antibodies are formed within a very short time (hours) after consuming these foods.

In Part 3 we will get into foods that are the culprits of a leaky gut.

Website is online here: https://factastichealth.com/ (reverted the DNS changes, so it would be accessible again)

Text under the photos needs to have another format

Hi, for the text under the picture, there's a special markdown syntax you need to follow, I'll put an example on the README. I see you were modifying articles, was that in relation to this issue?

Thanks, that would be great;
the modifying was to change some content.
On Fri, Mar 19, 2021 at 1:53 PM fauno @.***> wrote:

Hi, for the text under the picture, there's a special markdown syntax you
need to follow, I'll put an example on the README. I see you were modifying
articles, was that in relation to this issue?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/selimerunkut/factastichealth_website/issues/8#issuecomment-802811954,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHNRTE3BHIHF3CSFWKNC7NDTENCK3ANCNFSM4ZBG3LJA
.

authors: fauno selimerunkut


text:
Make it work out of the box with Travis build stages

Right now I have to override verifyConditions to not include condition-travis to make it work. That adds a lot of friction in setting semantic-release up. I wonder if there is a way to check if build stages are used and if yes, don't check for the other builds to pass?

There is: see condition-travis#using-travis-build-stages.
You just have to set BUILD_LEADER_ID.

I get that, but I'm saying it's a suboptimal experience, especially for new users of semantic-release. I assume that going forward, people will use release stages over travis-deploy-once, and I wanted to discuss ways how to improve that.
It's also easy to forget to change BUILD_LEADER_ID when adding something to the test matrix. And if you want to run semantic-release in script instead of after_success (which imo you should because after_success swallows errors) then you have to disable condition-travis completely or it will fail. Where "disabling" means you have to override verifyCondition to repeat all the other plugins you do want to run, like @semantic-release/github, @semantic-release/npm.

There is a similar discussion here: semantic-release/semantic-release#486

Another thing to consider with Build Stages is that we have no way in semantic-release to verify that the configuration of Build Stages is done properly. A misconfiguration in the build stages might trigger an unwanted release.
The amount of safety check we should put in the code to prevent problems due to misconfiguration is arguable, but a lot of issue we have are related to a misconfiguration that have created a release or a tag and the user struggles to recover from that. In other type of software, I'd say that failures due to misconfiguration are completely acceptable and expected. In the case of semantic-release it result in an unwanted release which can have a lot of consequences:

Some user might upgrade to the new release before you relaize the problem happened
Tools like greenkeeper will be triggered, creating update PR, that might get merge
Any other automated tool that listening to npm publishes will be triggered (blog posts, mails, tweet, confetis, etc...)
Unpublishing the version on npm prevent to reuse the version later (if you release 2.0.0 and unpublish it, you won't be able to release 2.0.0 it again, ever.You'd have to take manual step to release 2.0.1 or 3.0.0)
All that concerns mostly big projects. But still, it's important for semantic-release to take extra care in checking everything possible before making the release.

We want to do a hard check on the release happening only if the tests of all jobs running on the CI.
That's not possible by running semantic-release on the script step.
The Travis API v3 allow to get some info about the build Stages, but I didn't find a way to determines with certainty which job is supposed to run semantic-release. So we can't guarantee that the release won't happen on the wrong job, or on multiple jobs.
The typical scenario would be to have a test Stage that run the tests on different Node version and OS and a release Stage that runs semantic-release.
But there might be a lot of other situation to handle:
-The jobs in the test Stage also run semantic-release => We need to prevent the release.

The job in the release Stage doesn't run on Node 8
The release Stage is not named release
The release Stage has multiple jobs that run semantic-release
There is another Stage after the release one

The BUILD_LEADER_ID is not ideal but it forces the user to read the doc and think about what they are configuring, rather than doing an unexpected release without the user "consent".
I spent quite some time trying to figure out a better solution, but I couldn't come up with something satisfactory so far...My conclusion is that relying on checks in the CI is cumbersome and necessarily complex. And no matter the solution there will still be the problem of projects running multiple CIs platforms.
So it's probably better to solve this issue by not running semantic-release on the CI anymore and create a Github app that monitor the CI status on the commits and trigger a custom CI build that run semantic-release. That comes with several challenges as well, but it would solve more problems I think.
That said, if you can propose a Build Stage based solution that fulfill the needs mentioned above, I will happily look at it :)

Your points are all valid. I'll have to think about this a bit more, but making some requirements like forcing the stage to be named "release" and doing harder checks could get us there. It should also be possible to validate to config locally before running the build, because it doesn't depend on any runtime things. If we make the CLI spit out guaranteed-to-work config for many use cases we can also eliminate risk. And then, maybe we can disable the check for travis-deploy-once if build stages are detected in a fuzzy way safely.

So it's probably better to solve this issue by not running semantic-release on the CI anymore and create a Github app that monitor the CI status on the commits and trigger a custom CI build that run semantic-release. That comes with several challenges as well, but it would solve more problems I think.

It's not clear to me how the GitHub app would solve all this. Is there a thread with more details that I can join? It feels a bit off-topic here.

but making some requirements like forcing the stage to be named "release" and doing harder checks could get us there.

Yes but I'm not sure it would be that much of an improvement in terms of convenience compared to using BUILD_LEADER_ID.

It should also be possible to validate to config locally before running the build, because it doesn't depend on any runtime things. If we make the CLI spit out guaranteed-to-work config for many use cases we can also eliminate risk.

Not really...The CLI might create a valid config when a user setup semantic-release but nothing prevent further modification of the travis.yml.

It's not clear to me how the GitHub app would solve all this. Is there a thread with more details that I can join? It feels a bit off-topic here.

There is a couple of mentions here and there in the repo issues. Nothing is set in stone, far from that. Once we'll have something to propose we'll open an issue to get feedback from the community.
The first task for me is to get semantic-release in it "current CI iteration" up to speed, stable, maintainer friendly and add important features (language agnostic, multiple branches/dist channel/pre-release). It turns out to be a bigger task than I though :)
I released a lot of features recently, but the documentation is lagging behind...So at the moment, regarding my time investment, writing documentation is a higher priority.

And other thing to consider is that Build Stages are in beta version and can change at any time. In addition it's not supported on Travis Pro.
Maybe it would be simple and helpful enough to check if there is a Build Stage name release or semantic-release limit the jobs considered by travis-deploy-once to the ones within this build stage?
This way if you have a Build Stage named release with one job then travis-deploy-once will automatically consider it as the build leader. If you have multiple jobs configured in the release Stage (because you do different type of release for some reason) then travis-deploy-once will use the same algorithm but limit to those jobs, so the highest Node version within the Build Stage release will be used.
We would have to modify travis-deploy-once to accept a new argument stages that will be a list of the possible Build Stages to consider. Then travis-deploy-once will consider the first one in the list that exist in the current Travis Build. Then conditions-travis would call travis-deploy-once passing ['semantic-release', 'release'].

Yeah that sounds good to me, and I think it's reasonable to default it to release if we document that.

I’d like to wait for this until stages are out of beta, because things might still change. It adds quite a lot of complexity based on a lot of assumptions right now. Do you think there is any way to get data to back "I assume that going forward, people will use release stages"?  Maybe you could ping Travis if they have any data how the adoption is going of build stages in node projects?

Sure they are in beta, but so is semantic-release ^10 - for using semantic-release for non-npm projects, semantic-release ^10 and build stages are the best way. Eventually both will come out of beta.

Maybe you could ping Travis if they have any data how the adoption is going of build stages in node projects?

Maybe @Lyoness knows?

@felixfbecker would #30 be an acceptable solution for you?
It would work transparently (without BUILD_LEADER_ID ) as long as:

the job in the release stage has a node version higher or equal to every other jobs
the release stage is the last stage to run

So you can just create a Build Stage that runs last and set it's node version to the highest in your build, or even better you can set it to node_js: node so it will always run the latest stable version and will always be considered the highest.

I think #30 is unrelated?

Oops, I meant semantic-release/travis-deploy-once#30

authors: felixfbecker gr2m pvdlg

repo: semantic-release/condition-travis


text:
[tauri] add splashscreen for initial load

https://tauri.app/v1/guides/features/splashscreen

Hi , can I work on this ?

@oranjan of course :)

Hi, can you explain

this : according to the doc provided  distDir is the folder where we need to make splashscreen.html ,however    in tauri.config.json  "distDir": "../out" is written but there is no file/folder named out

@oranjan this is generated by npm run export, or when doing npm run tauri build

Arbius has a $75 AIUS bounty for this issue!
Brief: Fix/Complete Issue.
Please read carefully:
To begin work on a bounty, reply by saying “I claim this bounty” - you will have 48 hours to submit your PR before someone else may attempt to claim this bounty.
To complete the bounty, within 48 hours of claiming, reply with a link to your PR referencing this issue and an Ethereum address. You must comply with reviewers comments and have the PR merged to receive the bounty reward. Please be sure to focus on quality submissions to minimize the amount of time reviewers must take.

I claim this bounty

#87
0xD44248b6Ab4B6580cd982A80D4B26dC7058264f2

Thank you. Merged.

Bounty sent rewards with #49 : https://etherscan.io/tx/0xb50e3b438db231e3de48ad674af3dcefbcde8090cf1461333c290362ecd2606b?__cf_chl_tk=iEk9B0QAmaj2zaBd8r_MGtGQjHgl4mOm_AwchPgWodo-1712532013-0.0.1.1-1514

authors: flukexp kasumi-1 oranjan slowsynapse

repo: semperai/amica


text:
BadRequestError

SDK version: sendbird_sdk: ^3.1.4
I received error: "BadRequestError":

i has updated sendbird_sdk: ^3.1.1 to sendbird_sdk: ^3.1.4 but i still receive same error. Please let me know what should i do.

@BatunaAz, are you still seeing that BadRequestError in version 3.1.7?

authors: BatunaAz jalakoo

repo: sendbird/Sendbird-Flutter


text:
Pass missing properties to renderChatItem

Description Of Changes
We have date seperator in ui kit, but if anyone want to use their custom components like chatItem, chat message, they have to struggle to identify the date seperator in between messages, so adding it as it is readyly available before calling the renderChatItem
Please refer - https://community.sendbird.com/t/please-add-additioinal-props-to-renderchatitem/2731
Types Of Changes

[y] Bugfix
[y] New feature
[ ] Documentation (correction or otherwise)
[ ] Cosmetics (whitespace, appearance (ex) Prettier)
[ ] Build configuration
[ ] Improvement (refactor code)

@sravan-s @HoonBaek

Hi @satya-imaginea, FYI we do not accept external pull requests.

Hi @satya-imaginea, FYI we do not accept external pull requests.

Thanks for the quick reply @tylerhammer, I would use a forked repository.

Thanks @satya-imaginea
It will be applied in https://github.com/sendbird/sendbird-uikit-react/pull/13

authors: HoonBaek satya-imaginea tylerhammer

repo: sendbird/sendbird-uikit-react


text:
Merging Develop into Master 2.13.2019 - Fixing Automation docs formatting

Description of the change:
Reason for the change:
Link to original source:

Closes #

Hello @Whatthefoxsays,Thanks again for the PR! We appreciate your contribution and look forward to                                              continued collaboration. Thanks!                                             Team SendGrid DX

authors: Whatthefoxsays thinkingserious

repo: sendgrid/docs


text:
useNewDirectoryStructure does not work with default SF3 setup

Given you're installing Symphony 3.0 and putting it into Git, this will most likely fail. useNewDirectoryStructure checks if the var directory exists but it is excluded from being added to git in the default SF3 project templates git ignore list.
Effectively this renders cache clearing broken because it never will resolve to the new SF 3.0 directory structure in cases where you use git.

It seems this issue is not related to this bundle. Feel free to reopen if you encounter this issue again.

authors: HeahDude danielsreichenbach

repo: sensiolabs/SensioDistributionBundle


text:
sensu_check resource not working from Chef LWRP

Hello.
I have created a wrapper cookbook that builds and configures Sensu as required for our environment using chef-sensu. I created a LWRP resource named 'aggregate' which creates the required check files and it uses the sensu_check resource included in this cookbook.
However, I get this error when Chef calls the sensu_check resource:
resource file[/etc/sensu/conf.d/checks/sensu_rabbitmq_node_health_aggregate.json] is configured to notify resource ruby_block[sensu_service_trigger] with action create, but ruby_block[sensu_service_trigger] cannot be found in the resource collection. file[/etc/sensu/conf.d/checks/sensu_rabbitmq_node_health_aggregate.json] is defined in /tmp/kitchen/cookbooks/sensu/providers/json_file.rb:14:in block in class_from_file'`
If I include the sensu_check resource in a normal recipe it works perfectly fine.
The 'sensu::default' cookbook is included in the wrapper cookbook.
Expected Behaviour
The sensu_check resource should work when calling from a LWRP resource.
Current Behaviour
It fails to notify sensu_service_trigger, as per the error above.
Steps to Reproduce (for bugs)

Include a sensu_check resource within a custom LWRP resource.
Then call your custom LWRP resource within a recipe in the wrapper cookbook.

Context
Writing a cookbook that wraps chef-sensu and deploys check configuration files that are specific to our requirements.
Your Environment

Version of this cookbook used: 2.12.0
Version of Sensu used: 0.25.1-1
Version of Chef used: 12.5.1
Operating System and version (e.g. CentOS 7, Ubuntu 14.04): CentOS 7.2.1511

Hi @thomasriley, thanks for opening this issue. I think this may be fixed by #468 which was part of the recent 3.0.0 release. If you are still seeing this behavior with version 3.0.0 or newer, will you please open a new issue to let us know?
Thanks!

authors: cwjohnston thomasriley

repo: sensu/sensu-chef


text:
If the value in a check definition includes invalid characters in the source field, sensu-api crashes.

If the value in a check definition includes invalid characters (spaces) in the source field, sensu-api crashes instead of just marking the check as invalid and moving on.
Sensu version 0.20.3.
{
"_index": "logstash-2015.12.07",
"_type": "json",
"_id": "xxxsomeid",
"_score": null,
"_source": {
"timestamp": "2015-12-07T14:05:59.350300-0700",
"level": "fatal",
"message": "check source cannot contain spaces or special characters",
"object": {
"handlers": [
"notify_slack"
],
"command": "/etc/sensu/conf.d/team/plugins/check-http.rb -s -h xxsomehost -u 'https://xxsomehostapi/v0.1/healthcheck/' -q '"message": "OK",'",
"interval": 60,
"subscribers": [
"xxsome-poller-phx"
],
"source": "foo.host.com PHX",
"name": "check_url_api_phx"
},
"@version": "1",
"@timestamp": "2015-12-07T21:05:59.651Z",
"type": "json",
"host": "xxxsomehost",
"path": "/var/log/sensu/sensu-api.log",
"sensu_team": "xxxsometeam"
},
"sort": [
1449522359651,
1449522359651
]
}

Sensu's configuration validation is strict and this applies to the Sensu API, as it too interacts with Sensu check definitions, e.g. check request publishing.

authors: portertech xyntrix

repo: sensu/sensu


text:
Fix eodata tests

Refactored old test of del
Added some failure messages to test for copying + lazy loading
added tests for get_spatial_dimensions, get_features and reset_feature_type

Have two suggestions: Add scope of mini_eopatch to "module" (test will fail, solution do changes on copied EOPatch) Add missing types

what is the point of setting a scope and then copying it manually?
I'll add the types.

Have two suggestions: Add scope of mini_eopatch to "module" (test will fail, solution do changes on copied EOPatch) Add missing types

what is the point of setting a scope and then copying it manually?
I'll add the types.

ATM when for example test_reset_feature_typeget called:
mini_eopatch is first created and then copied,
if the scope is set to  "module" the creation step is skipped,
which save space and time ("free lunch" ... more like a gum in this case)

Codecov Report
Base: 89.50% // Head: 89.63% // Increases project coverage by +0.12% :tada:

Coverage data is based on head (aa68a61) compared to base (4ef1d29).
Patch has no changes to coverable lines.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop     #542      +/-   ##
===========================================
+ Coverage    89.50%   89.63%   +0.12%
===========================================
  Files           57       57
  Lines         5298     5305       +7
===========================================
+ Hits          4742     4755      +13
+ Misses         556      550       -6

Impacted Files
Coverage Δ

mask/eolearn/mask/mask_counting.py
100.00% <0.00%> (ø)

mask/eolearn/mask/snow_mask.py
98.07% <0.00%> (+0.05%)
:arrow_up:

mask/eolearn/mask/masking.py
88.46% <0.00%> (+0.22%)
:arrow_up:

core/eolearn/core/graph.py
95.95% <0.00%> (+1.01%)
:arrow_up:

core/eolearn/core/eodata.py
91.07% <0.00%> (+1.53%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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

authors: codecov-commenter jgersak zigaLuksic

repo: sentinel-hub/eo-learn


text:
Minor edit

Reference Issues/PRs
What does this implement/fix? Explain your changes.

Discord badge added
Minor edits

Any other comments?

Codecov Report

Merging #63 (52fe4ca) into dev (a13bde6) will increase coverage by 0.02%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev      #63      +/-   ##
==========================================
+ Coverage   96.40%   96.42%   +0.02%
==========================================
  Files           2        2
  Lines         194      195       +1
  Branches       22       22
==========================================
+ Hits          187      188       +1
  Misses          4        4
  Partials        3        3

Impacted Files
Coverage Δ

nafas/functions.py
95.31% <100.00%> (+0.04%)
:arrow_up:

Continue to review full report at Codecov.

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

@sadrasabouri Please review this PR, if everything is okay Squash/Merge it after approval 🚀

Take a deeper look at the discord links, badges, and server-id

authors: codecov-commenter sepandhaghighi

repo: sepandhaghighi/nafas


text:
Nullabor module: create?

What do you think, @tseemann  ?

An example is Tom Connor's tutorial at
https://discourse.climb.ac.uk/t/nullarbor-tutorial-automated-bacterial-sequence-mapping-variant-calling-mlst-assignation-and-resistance-screening/32

repo: sepsis-omics/tutorials


text:
Support putting data on over int16 timecode jump

Force switching to a next fragment.

@seqsense/cloud_backend please take a look

repo: seqsense/kinesisvideomanager


text:
Serde json fails to deserialize vector of enum values with serde(untagged) if one of enum values is a scalar

Serde fails to deserialize vector of untagged enum values when possible enum options are structs and scalars.
Serialization works. Deserialization for single values works, but not for vector.
Err value: Error("data did not match any variant of untagged enum Foo", line: 0, column: 0)'
Full repro - Playground
use serde::{Deserialize, Serialize};

#[derive(Serialize, Deserialize, Debug)]
#[serde(untagged)]
enum Foo {
    A(usize),
    B{x: u8, y: u8 },
}

fn main() {
    let foo_a = Foo::A(10); // Works
    let foo_b = Foo::B {x: 1, y: 2}; // Works
    let vector = vec![foo_a, foo_b]; // Vector doesn't work

    let serialized = serde_json::to_string(&vector).unwrap();
    println!("serialized = {}", serialized); // serialized = [10,{"x":1,"y":2}]

    let deserialized: Foo = serde_json::from_str(&serialized).unwrap();
    println!("deserialized = {:?}", deserialized); // Fails with "did not match any variant"
}

You are serializing a Vec<Foo> but deserializing only a Foo. The code works if you change it to let deserialized: Vec<Foo>.

Jonas, thanks for pointing to a mistake. I created a bad repro example and that lead me to a wrong conclusion. The original deserialization error I have in my code is related
to an already opened bug Deserializing a RawValue inside an untagged enum always fails.
Closing, as it's not a bug/no repro.

authors: Mekanik jonasbb

repo: serde-rs/serde


text:
i finally got it working! but its taking representation from my files? i thought it was going to cross reference the facial features of this person in the photo of mine with the endless list of people with photos of your facial rec listing?

this extracting faces from mutliple files of mine but i only wanted it to scan the photo i gave it to cross reference it with others that you have stored in your facial rec of every person who has uploaded their own pictures on the internet

It compares image given in img_path and images in db_path.

It compares image given in img_path and images in db_path.

wait you mean your application isnt going to compare images that it already has instored in it because your application has no stored images?

It compares image given in img_path and images in db_path.

does your application not have all the stored images of every person who ever uploaded their pictures on the internet?

Of course no!

Of course no!

wait then how is it a facial rec application?
im talking the facial rec of websites where you can upload a picture and they use their dataspace of all the stored pictures of people who posted theirs online to cross reference the facial features of the one you have giving you a list of potential sourses thus finding out who the person in your picture you uploaded is by the list provided, that has social media and etc of the listed results?

authors: olstice serengil

repo: serengil/deepface


text:
StringExpressionCalculator

Hi John pls review the string calculator.
thanks in advance.
moses

Nice work Moses, great use of streams!

authors: mosesarn wakaleo


text:
when i complie code use pythran it occurs error: Attribute 'encode' unknown

mycode is
’‘’
_f.write(text.encode('ascii'))
‘’‘

i find a function
https://stackoverflow.com/questions/65555435/write-text-files-in-pythran-fails

repo: serge-sans-paille/pythran


text:
How to get only the tags of the POS Tagger?

Hello sergey-tihon,
really good work! I managed to get the example in c# (VS2015) to work. Now i want to get only the tags of the POS Tagger.
var text = "Ich. Du. Machen. Legen. Hans. Peter.";
normal output with Console.WriteLine(Sentence.listToString(taggedSentence, false))
"Ich/PPER ./$. Du/PPER ./&. Machen/VVINF ./$. Legen/VVINF ./$. Hans/NE ./$. Peter/NE ./$"
with Console.WriteLine(Sentence.listToString(taggedSentence, true)) i get only the input sentence without the tags. I need only the tags, sort it and analyse the text with some metriks.
Thank you for your help!!!

You can analyze your parse tree (Tree object) recursively
.label() - returns label of the current node
.isLeaf() - returns true/false if it is leaf or not
.getChildrenAsList() - returns children nodes
Here you can find my F# sample
Just DFS the tree and print whatever you need.

Thank you for your fast reply!. I checked the links and tried your parser code example in c#.
I thought there would be a list which contains only the tags or something like that.
Now i think its easier to search in tagged sentences for the wanted tag (eg. "VMPP") and extract/count them for further analyse -> Problem solved.
Thank for your help!

authors: falkindustries sergey-tihon


text:
Make generateState protected

Reason for PR
As state is the most logical way for AWS cognito (https://docs.aws.amazon.com/cognito/latest/developerguide/authorization-endpoint.html) and suppose also other Oauth2 clients for passing on some parameters between request for authorization and redirect after authorization.
It would be handy for being able to adjust this value if needed/wanted.
In our case we used it for passing on a redirectTo url to our callback page

This has been requested before (#1), the state should be a random token, using it to pass parameters would make the state guessable.
If you need to pass data from the request redirecting to Cognito to the callback URL the user is redirected back, you should store that data on the session yourself, that's the safes way to do it.

Hi @sergiodxa
That is depending of the implementation of the custom value imho.
Currently i for example would use combination of a parseable value containing the redirect URL added with a uuid-v4 param..
Storing it in a session was also a path I tried but didn't found a great way for making sure if somebody has no session data available, to save the current-url in a session and commit that session + make sure the session commit from remix-auth-oauth2 isn't ignoring my changes.
When somebody has already a correct session, this was of course not an issue.

authors: TimmersThomas sergiodxa


text:
Customize getting FormData to validate, e.g. with UploadHandler

Fixes https://github.com/sergiodxa/remix-utils/issues/46 by teaching verifyAuthenticityToken() to accept a FormData as well as a Request. This allows passing in a pre-parsed body, e.g.
await verifyAuthenticityToken(
  await unstable_parseMultipartFormData(request, uploadHandler),
  session);

Updated from a convoluted extra parameter to something much more straightforward.

repo: sergiodxa/remix-utils


text:
Where to get release files for v2.0.80

What version of Serilog.Sinks.Elasticsearch is affected?  Please list the related NuGet package.
2.0.80
https://www.nuget.org/packages/Serilog.Sinks.ElasticSearch/2.0.80
**What is the target framework and operating system? See [target frameworks]

[ ] 4.0.x

Please describe the expected behavior?
Would like old reference code for the package that supports .Net 4.0 (v 2.0.80)
We have an very old legacy app that we cannot upgrade at the moment, but would like to add logging to Elasticsearch.
I am well aware and researched that for .Net 4.0, the last versions supporting it are:

Serilog 1.5.14
Serilog.Sinks.Elasticsearch 2.0.80

I just need direction on how to get the 2.0.80 tests/code/samples for Serilog.Sinks.Elasticsearch
I managed to get the code for Serilog https://github.com/serilog/serilog/releases/tag/v1.5.14

You might use the dll from the nuget package and analyse it with https://github.com/0xd4d/dnSpy...

Been a while but still helpful. Thanks, @SeppPenner!

If I look at the dates of the packages, then I think it is this commit: https://github.com/serilog/serilog-sinks-elasticsearch/commit/ecdf748d830c2be2c43a6795fbfbb0fdb7cdeac6
Maybe that helps to get a version of the code that is linked to that package, or at least generate your own package.

authors: SeppPenner mivano tinonetic

repo: serilog/serilog-sinks-elasticsearch


text:
Span and Trace Id not populated on log events

I'm currently using Serilog for all logging purposes in our codebase.
Versions

Serilog 3.1.0
Serilog.Sinks.OpenTelemetry 1.1.0 and 1.2.0-dev-00247

I have the below code to configure serilog for OTEL logging.
logConfiguration
  .Enrich.FromLogContext()
  .Enrich.With(new ThreadIdEnricher())
  .Enrich.With(
      new WebRequestEnricher(
          serviceProvider.GetRequiredService<IHttpContextAccessor>()
      )
  )
  .Enrich.WithExceptionDetails()
  .WriteTo.OpenTelemetry(options =>
  {
      options.Endpoint = otelEndpoint;
      options.Protocol = OtlpProtocol.Grpc;
      options.Headers = new Dictionary<string, string>()
      {
          ["signoz-access-token"] = ingestionKey
      };
      options.ResourceAttributes = new Dictionary<string, object>
      {
          ["service.name"] = cfg.OpenTelemetry.ServiceName,
          ["service.version"] = cfg.OpenTelemetry.ServiceVersion,
          ["service.region"] = cfg.Platform.Region,
          ["service.environment"] = cfg.Platform.Environment
      };
      options.RestrictedToMinimumLevel = GetLevel(cfg.OpenTelemetry.Level);
  })
  .CreateLogger();

However all logs are missing the Span and Trace Id, they are simply empty strings:
{
  "body": "<redacted>",
  "id": "2Xftx5oQG4IDztIN92n9NgEhkH7",
  "timestamp": "2023-11-09T18:32:45.6567739Z",
  "attributes": {
    // Shortened for brevity
  },
  "resources": {
    // Shortened for brevity
    "telemetry_sdk_language": "dotnet",
    "telemetry_sdk_name": "serilog",
    "telemetry_sdk_version": "1.2.0-dev-00247"
  },
  "severity_text": "Information",
  "severity_number": 9,
  "span_id": "",
  "trace_flags": 0,
  "trace_id": ""
}

Could anyone provide some insights as to what might be wrong?
Trace and Span Ids are correctly added to traces in the system.

Hi @NicolaiOksen! My bet is that you are using Microsoft.Extensions.Logging's ILogger<T> and haven't added a dependency on the latest preview version of the Serilog.Extensions.Logging package.
There are a few aspects to the new trace and span id propagation used by version 1.2.0 of this sink that need buy-in by other Serilog libraries, and those are all scheduled to ship RTM versions next week alongside .NET 8.
If it sounds like I'm on the right track, you can grab Serilog.Extensions.Logging v7.0.1-* or v8.0.0-* (previews) from NuGet; note that you'll need it even if your project doesn't have a direct dependency on that package currently (this will go away when RTMed).
You'll also need the latest preview of Serilog.AspNetCore if you're using UseSerilogRequestLogging(), in order to get trace and span ids in with those events.
The other, lower-hassle, option, is to use v1.1.0 of this package for now, since it doesn't depend on any Serilog updates in order to capture and propagate trace and span info.
Hope this helps, keen to hear how you go!

Hi @nblumhardt
Thanks for getting back to me - I'll try the suggestions you made.

The other, lower-hassle, option, is to use v1.1.0 of this package for now, since it doesn't depend on any Serilog updates in order to capture and propagate trace and span info.
Hope this helps, keen to hear how you go!

I've already tried 1.1.0 and the span and trace ids are still not propagated.
Does that mean the issue is somewhere else?`

Sounds like it's somewhere else - stepping through in the debugger should pinpoint it pretty quickly if that's an option 👍

Hi @NicolaiOksen; any luck so far?

Hi @nblumhardt
Thanks for your help - the issue was else where.
We registerede our ILogger instance directly as a Singleton and did not use UseSerilog and AddSerilog.
So going from:
services.AddSingleton(
    f => LogConfigurator.CreateLogger( f.GetRequiredService<LogConfiguration>())
);

to:
Log.Logger = LogConfigurator.CreateLogger(configuration, logConfiguration);
services.AddSerilog(Log.Logger);

fixed the issues I was seeing.
Thanks for helping :)

Great! 👍

@nblumhardt I have a similar issue. But my code is based on the ASP.NET example with Two Stage Initialization.
And I can't get it working. TraceId and SpanId are nog longer passed to OpenTelemetry (in my case I don't see them anymore in Grafana).

Hi @jochenjonc - posting a copy of the code, including CSPROJ files and other configuration, to a new Stack Overflow post will be the best way to get eyes on it (it'll be a week or two before I'm able to loop back here).

Hi @nblumhardt, while trying to create a sample project I found the issue. I'm still on .NET 7 and in the project I'm referencing Serilog.AspNetCore 7.0.0.
When I upgrade the project to .NET 8 and update the reference to Serilog.AspNetCore 8.0.0, the traceIds are back.
Another option is to lower the Serlog version to 3.0.1.
It has nothing to do with OpenTelemetry and this repo. This was just the place where I noticed traceids and spanids were missing.

authors: NicolaiOksen jochenjonc nblumhardt

repo: serilog/serilog-sinks-opentelemetry


text:
Spawn nmap with -Pn

Some services don't respond to simple pings. At least adding an option to enable -Pn to scan the active ports would be nice

You can now set the nmap args yourself by using NMAP_ARGS as an env var.
Depending on what you use, it may break the output parsing.


text:
[BUG] Icon change not possible

Describe the bug
Its possible to upload a new icon and its shown in the settings but as soon as you press save the icon disappears in the settings and where Gopher was seen is only a broken image shown. When tried to open the picture in another tab it shows "http://api/files/settings_public/qiitgg0zlmv5jh5/logo_gwpc_vektor_wa_an_ls2_sad_SvA38m7IY5.svg"
When i add the 172.30.9.130:8080/ in front (like: http://172.30.9.130:8080/api/files/settings_public/qiitgg0zlmv5jh5/logo_gwpc_vektor_wa_an_ls2_sad_SvA38m7IY5.svg)  it shows the image.
To Reproduce
Change icon
Expected behavior
New Logo should be shown in the top left corner.
Screenshots

Host OS (and version)
Ubuntu 22.10
Brower (if relevant)
Chrome Version 111.0.5563.147

Thanks


text:
Parameter 'category' not found in 'COMPANY' category for 'ja' locale

https://github.com/serpro69/kotlin-faker/blob/b128f4142fb78ad31aff5ad82793600c12be8740/core/src/main/resources/locales/ja/company.yml#L5

should be fixed by #142


text:
🛑 [KaKi87] Invite Tracker - Discord bot is down

In 2a6e951, [KaKi87] Invite Tracker - Discord bot (https://discord.com/api/guilds/1184503220060573746/widget.json) was down:

HTTP code: 503
Response time: 355 ms

Resolved: [KaKi87] Invite Tracker - Discord bot is back up in 2708800 after 33 minutes.

repo: server-KaTys/status


text:
load schema from https://serverlessworkflow.io

Many thanks for submitting your Pull Request :heart:!
What this PR does / why we need it:
Load schema from https://serverlessworkflow.io
Special notes for reviewers:
Additional information (if needed):

https://github.com/serverlessworkflow/sdk-python/pull/1#issuecomment-1013784555

@antmendoza yay!!! this looks to me at lest much better. wdyt?

authors: antmendoza tsurdilo

repo: serverlessworkflow/sdk-python


text:
Better way to handle "This can cause a mismatch with Serverpod's CLI version" error?

Describe the bug
The following error started showing up:
Error on line 23, column 34 of pubspec.yaml: The package is defined with a version range (for example "^1.1.0"). This can cause a mismatch with Serverpod's CLI version. It's preferred to use "1.1.0" over "^1.1.0" for the Serverpod packages.
   ╷
23 │   serverpod_auth_google_flutter: ^1.1.1
   │                                  ^^^^^^
   ╵

This is pretty annoying, since using ^ as a version prefix is the only (and the best) way to avoid dependency hell, since it gives pub get some flexibility in its version resolution, which means that with version ranges in use, the version of each package can be either held back or brought forward until all the dependencies can be satisfied. The pub ecosystem literally depends upon this feature. It wouldn't survive without it, because you'd almost always get dependency conflicts with a project of any real complexity if you used only exact versions.
Instead of reporting this error, I suggest:

Reporting an error if pubspec.yaml depends on multiple different versions for different Serverpod packages (actually use the version that pub get fetched, in pubspec.lock, not the minimum version specified in pubspec.yaml); and
When the serverpod command is run, automatically downloading and compiling the version of serverpod_cli that matches the version of the dependencies, if that version of the CLI is not already downloaded and compiled.

Additionally serverpod_cli shows this warning with one of Serverpod's own yaml files:
$ dart ../vendor/serverpod/tools/serverpod_cli/bin/serverpod_cli.dart generate
Development mode. Using templates from: ../vendor/serverpod/templates/serverpod_templates
SERVERPOD_HOME is set to ../vendor/serverpod
WARNING: The version of the CLI may be incompatible with the Serverpod packages used in your project.
Error on line 13, column 21 of ../vendor/serverpod/tools/serverpod_cli/test/serverpod_packages_version_check/test_assets/approximate_1.1.0/pubspec.yaml: The package is defined with a version range (for example "^1.1.0"). This can cause a mismatch with Serverpod's CLI version. It's preferred to use "1.1.0" over "^1.1.0" for the Serverpod packages.
   ╷
13 │   serverpod_shared: ^1.1.0
   │                     ^^^^^^
   ╵

It's very hard for us to guarantee that Serverpod will function correctly if the CLI and the project uses different versions of Serverpod. Currently with the ^ notation, you can create a project with serverpod create (say for version 1.1), you wait a couple of months until we have a version 1.2 out. Now, Dart may or may not upgrade the Serverpod packages in your project to 1.2, but the CLI hasn't updated. This means that if we've added features in 1.2, even though they are backwards compatible, it may not work with the older 1.1 code generation.
This is why we from 1.2 and forward recommend you to use an explicit version of Serverpod. All other dependencies are still referred to using the ^ annotation, which should mitigate the dependency hell (hopefully).
For backwards compatibility we guarantee that the protocol isn't changed in a way so that old clients cease to work with a newer version of the server. But you will need to use the same version of CLI for serverpod generate as you use in your package references. The only way (at least for now) we can do this is through the use of explicit versions.
As a side note. If you are using the CLI tooling from the main branch (which can be somewhat instable between releases), it's very much recommended that you also use the same branch for your packages (you can do this by referring to the packages with the path notation in your pubspec files.  The version on the main branch should generate new projects with the explicit notation going forward, and we are hoping to encourage Serverpod users to update and move to the explicit notation by displaying that warning on serverpod generate.
Long message. Hope it made some sense! 😅

Additionally serverpod_cli shows this warning with one of Serverpod's own yaml files:
$ dart ../vendor/serverpod/tools/serverpod_cli/bin/serverpod_cli.dart generate
Development mode. Using templates from: ../vendor/serverpod/templates/serverpod_templates
SERVERPOD_HOME is set to ../vendor/serverpod
WARNING: The version of the CLI may be incompatible with the Serverpod packages used in your project.
Error on line 13, column 21 of ../vendor/serverpod/tools/serverpod_cli/test/serverpod_packages_version_check/test_assets/approximate_1.1.0/pubspec.yaml: The package is defined with a version range (for example "^1.1.0"). This can cause a mismatch with Serverpod's CLI version. It's preferred to use "1.1.0" over "^1.1.0" for the Serverpod packages.
   ╷
13 │   serverpod_shared: ^1.1.0
   │                     ^^^^^^
   ╵

This is a bug that we will fix!

What I was suggesting is checking that (1) all the serverpod dependencies resolve to the same version as each other; and (2) then downloading and compiling the matching serverpod_cli version whenever the serverpod command is run, if the version of serverpod_cli does not match the version of the serverpod dependencies of the project.

That would be a cool solution. You know any reliable way to achieve this that will work across all platforms?

@vlidholt I haven't looked into it closely, but I noticed that when I run serverpod generate, if I have updated something, it says something along the lines of Version mismatch, rebuilding, and it re-builds the tool.
It might be even simpler than messing with that process though. I imagine you could turn the serverpod command into a bash script that gets the requested version using pub, then finds the path in the pub cache to the specific version you want to run, and runs just that version directly from the cache.

authors: lukehutch vlidholt

repo: serverpod/serverpod


text:
🛑 ge.ipservers.xyz is down

In 4cd997e, ge.ipservers.xyz (ge.ipservers.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: ge.ipservers.xyz is back up in 34f6b3e.

repo: serversshnet/uptime


text:
🛑 fr1-7.ipservers.xyz is down

In 72706be, fr1-7.ipservers.xyz (fr1-7.ipservers.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: fr1-7.ipservers.xyz is back up in 16b4a4c.


text:
🛑 sg4-ray.ipservers.xyz is down

In 15f34d5, sg4-ray.ipservers.xyz (sg4-ray.ipservers.xyz) was down:

HTTP code: 0
Response time: 0 ms

Resolved: sg4-ray.ipservers.xyz is back up in db0f42f after 1 hour, 5 minutes.


text:
Restore v1alpha3 API support

Implement conversion interfaces between v1beta1 and v1alpha3, and install validation webhooks for v1alpha3 requests. The v1alpha3 API is now implemented in terms of v1beta3 types to avoid duplication of business logic.
Resolves #333

@ChunyiLyu does this fix your issue?

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

Comparison is base (d185b32) 81.53% compared to head (8c67d89) 81.42%.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #334      +/-   ##
==========================================
- Coverage   81.53%   81.42%   -0.12%
==========================================
  Files          15       17       +2
  Lines        1446     1448       +2
==========================================
  Hits         1179     1179
- Misses        219      221       +2
  Partials       48       48

Files Changed
Coverage Δ

...beta1/clusterworkloadresourcemapping_conversion.go
0.00% <0.00%> (ø)

.../v1beta1/clusterworkloadresourcemapping_webhook.go
96.33% <ø> (ø)

apis/v1beta1/servicebinding_conversion.go
0.00% <0.00%> (ø)

apis/v1beta1/servicebinding_webhook.go
94.87% <ø> (ø)

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

@scothis Thanks for the quick fix. I tested with the samples/spring-petclinic example. I can create and delete the following binding:
---
apiVersion: servicebinding.io/v1alpha3
kind: ServiceBinding
metadata:
  name: spring-petclinic-db
  annotations:
    kapp.k14s.io/change-group: binding
    kapp.k14s.io/change-rule.service: "upsert after upserting service"
    kapp.k14s.io/change-rule.service-delete: "delete before deleting service"
    kapp.k14s.io/change-rule.workload: "upsert before upserting workload"
    kapp.k14s.io/change-rule.workload-delete: "delete after deleting workload"
spec:
  # direct Secret reference is used for compatibility, but not recommended for dynamically provisioned services
  service:
    apiVersion: v1
    kind: Secret
    name: spring-petclinic-db
  workload:
    apiVersion: apps/v1
    kind: Deployment
    name: spring-petclinic

authors: ChunyiLyu codecov-commenter scothis

repo: servicebinding/runtime


text:
Adjust Sass variables with lighten/darken functions.

Summary
The Bootstrap CSS custom variables mechanism does not support Sass functions such as darken and lighten which are used in several places in our .scss files.
Therefore, replace these Sass functions with the rgba function which works with Bootstrap CSS variables, wherever we need lighter or darker versions of a color.
Details
Refer to Bootstrap Github issue for a suggestion on the lighten/darken function replacement.
Alternatively, pre-define some shades of specific colors before hand and switch at runtime only between these values in the maps:  :root[data-theme="dark]" or :root[data-theme="light"]
Acceptance criteria

[ ] UI customizability is preserved.

Additional context
N/A.

@farmakiG
I believe that these functions is not necessary. The darken function is applied with rgba. And using this feature, it was possible to obtain both a dark and a light mode for the marketplace. The customer can still customize the page with rgba, for example, defining two shades of color.

authors: KabacinskiPiotr farmakiG

repo: servicecatalog/oscm


text:
🛑 Wolverhampton Repairs is down

In 880f242, Wolverhampton Repairs (https://wolverhamptonrepairs.co.uk) was down:

HTTP code: 500
Response time: 3101 ms

Resolved: Wolverhampton Repairs is back up in 7c3ad24.

repo: servicesite/upptime


text:
🛑 Sutton Repairs is down

In 7acdba7, Sutton Repairs (https://suttonrepairs.co.uk) was down:

HTTP code: 500
Response time: 3097 ms

Resolved: Sutton Repairs is back up in 31443b0.


text:
Remove old DynamicServoFactory which reads from saltfs

Now that the new dynamic factory is working (which reads the steps
configuration from the main servo repo), remove the old one.
However, re-use the old name (DynamicServoFactory instead of
DynamicServoYAMLFactory) for concision and clarity.
Fixes #316. Blocked on servo/servo#13611.

This change is

r? @edunham

FYI I did this at 2am, so I'd like to take another look in the morning :)

servo/servo#13611 has merged, so this is no longer blocked.

steps.yml was changed, now blocked on a follow-up PR.

:umbrella: The latest upstream changes (presumably #503) made this pull request unmergeable. Please resolve the merge conflicts.

The followup PR merged. It would be really great to get this reviewed and throw the switch before we change steps.yml again.

This looks good. I think we can land this (even though it'll bitrot my MSVC PR). @aneeshusa Is this good to go?
My only worry is that now to add/change builders we have to do coordinated commits AND buildbot restarts across servo/servo and servo/saltfs and that's certainly going to cause breakage every time we have to do it.

Yes, this should be ready. This will optimize for the common case (changing steps for pre-existing builders), and I don't think having to make an extra PR to add/remove a builder (less common) is too onerous.

@bors-servo r+

:pushpin: Commit 4075ac4 has been approved by larsbergstrom

:zap: Test exempted - status

This has been deployed.

Oh, hrm, should we have removed steps.yml from saltfs, too?

I made #513 for that, good call.

What's the easiest way to back this out via salt? The salt-run stuff that I did to stage the new mac?

If #514 doesn't work, easiest is probably to git revert the commits from before this PR up to current master, run a regular highstate, and prepare another PR (with a test builder on Windows!) at our leisure.
The other option is using the override folder and checking out an old git revision, notes at https://github.com/servo/saltfs/blob/b64ff04d219d1fe34c653ae5939f43fc4311d30b/salt/files/master/ADMIN_README.

authors: aneeshusa bors-servo jdm larsbergstrom

repo: servo/saltfs


text:
DirectDrawInvalidParametersException thrown when alt-tabbing and then navigating to a new scene.

In the main menu, alt-tab so the game is minimized. Maximize the game, then navigate to another scene; a DirectDrawInvalidParametersException will be thrown. Here's the stack trace:

Fatal Error: DirectDrawInvalidParametersException thrown. IDirectDrawSurface7::Blt: one or more of the parameters passed to the method are incorrect.
Stack trace:    at Video.Blit(Rectangle sourceRect, Rectangle destinationRect, Surface surface) in c:\projects\project ball buster\src\pbb\game\video.cpp:line 1352
at Font.Render(Int32 x, Int32 y, String text, Object[] args) in c:\projects\project ball buster\src\pbb\game\font.cpp:line 94
at Label.Render() in c:\projects\project ball buster\src\pbb\game\label.h:line 79
at MenuItem.Render() in c:\projects\project ball buster\src\pbb\game\menuitem.h:line 136
at MenuItemContainer.Render() in c:\projects\project ball buster\src\pbb\game\menuitemcontainer.h:line 172
at Scene.Render() in c:\projects\project ball buster\src\pbb\game\scene.h:line 149
at Game.Render() in c:\projects\project ball buster\src\pbb\game\game.cpp:line 135
at Game.Update() in c:\projects\project ball buster\src\pbb\game\game.cpp:line 175
at WinMain(HINSTANCE__* hInstance, HINSTANCE__* hPrevInstance, SByte* lpCmdLine, Int32 nCmdShow) in c:\projects\project ball buster\src\pbb\game\main.cpp:line 195

the garbage collector was deleting the IDirectDrawSurface instance via the finalizer which I don't want it to do, ever so I removed it. The direct draw surface can be deleted via Surface::Release().

repo: sethballantyne/Game-Demos


text:
🛑 media-mstd (Cloudflare CDN, S3) is down

In 96c0324, media-mstd (Cloudflare CDN, S3) (https://media-mstd.seungjin.net/accounts/avatars/109/737/937/659/013/254/original/626c9187e341632b.jpg) was down:

HTTP code: 0
Response time: 0 ms

Resolved: media-mstd (Cloudflare CDN, S3) is back up in e0fb7d2 after 8 minutes.

repo: seungjin/uptime


text:
Addition of apocryphal books

Hello, first of all, have a happy new year and thank you for this beautiful project!
Man, it would be interesting if this project had apocryphal books along with the canonical books. That way it would be more inclusive and serve more Christian programmers.
This is just a suggestion...

Sorry I just don't have the motivation to do this. Closing for now.


text:
🛑 URL shortener is down

In 5784e3a, URL shortener (https://svrnbrn.es) was down:

HTTP code: 502
Response time: 973 ms

Resolved: URL shortener is back up in 1d84662.

repo: severnbronies/status


text:
Failed dependencies when npm install or when commiting

Description
I run node v4.2.0 and I have some dependencies errors when running npm install and when trying to commit my work.
Here are the following messages when commiting:
running validate...failed!
npm WARN unmet dependency /Users/thierry/Documents/workspace/cfc/brigadehub/node_modules/express-validator requires lodash@'4.6.x' but will load
npm WARN unmet dependency /Users/thierry/Documents/workspace/cfc/brigadehub/node_modules/lodash,
npm WARN unmet dependency which is version 4.11.1

Ok I managed to solve the problem updating Node.JS to 4.4.3 version (following Trent's advises and using the 2nd answer from http://stackoverflow.com/questions/8191459/how-to-update-node-js).
Then I ran npm run cleaninstall (following Trent's advises again) and I worked!
I still have a Warning but I guess it'll be another issue.
npm WARN package.json Dependency 'require-dir' exists in both dependencies and devDependencies, using 'require-dir@^0.3.0' from dependencies

The new issue is #208

repo: sfbrigade/brigadehub


text:
Issue 7 add ensuite client equivalent

First PR for this issue to merge with master.
Second one will be done later in november
Fixes #7

I try to run the solution but I don't acheive it. What are the steps and commands to run ? it seems that npm start isn't enough

du coup pour lancer la solution et tester, on fait quoi ?

npm start
npm run tc-master

Vu qu'il n'y a pas encore de server de dev le npm start ne sert à rien pour le moment.
Il faut juste lancer npm run tc-master

je viens de tester et donc en effet ça marche mieux :) on est d'accord que cette PR ne fait rien de plus qu'afficher la prez ? Elle ne s'occupe pas encore de brancher les événements de key etc ?

Oui c'est ça, cette PR ne fait rien de bien nouveau :p

ok, j'approuve donc la PR :)

authors: GildasMorel TristanElain jefBinomed

repo: sfeir-open-source/talk-control


text:
ArgumentError (invalid date) in datetime.rb

I have a Date field in one of my models and rails_admin give me a nice datepicker for it. However, if a user enters an incorrectly formatted date manually (i.e. "2013") they get the following 500 error:
ArgumentError (invalid date)

Here's the end of the stack trace:
/Users/james/.rvm/rubies/ruby-1.8.7-p374/lib/ruby/1.8/date.rb:1576:in `new_by_frags'
/Users/james/.rvm/rubies/ruby-1.8.7-p374/lib/ruby/1.8/date.rb:1621:in `parse'
activesupport (3.1.12) lib/active_support/values/time_zone.rb:273:in `parse'
rails_admin (0.4.9) lib/rails_admin/config/fields/types/datetime.rb:49:in `parse_date_string'
rails_admin (0.4.9) lib/rails_admin/config/fields/types/datetime.rb:44:in `normalize'
rails_admin (0.4.9) lib/rails_admin/config/fields/types/date.rb:18:in `parse_input'
rails_admin (0.4.9) lib/rails_admin/config/proxyable/proxy.rb:31:in `__send__'
rails_admin (0.4.9) lib/rails_admin/config/proxyable/proxy.rb:31:in `method_missing'
rails_admin (0.4.9) app/controllers/rails_admin/main_controller.rb:102:in `sanitize_params_for!'
rails_admin (0.4.9) app/controllers/rails_admin/main_controller.rb:102:in `each'
rails_admin (0.4.9) app/controllers/rails_admin/main_controller.rb:102:in `sanitize_params_for!'
rails_admin (0.4.9) lib/rails_admin/config/actions/edit.rb:27

The full stack trace: https://gist.github.com/jamesmkur/8118398
My gemfile.lock: https://gist.github.com/jamesmkur/8118420
I tried adding validations to the field to ensure the string was parsable as a Date, but parse_date_string() is getting called before and I still get the error.
Since the parsing happens directly on a user input field, should there be a layer of validation?
thanks

:+1:
For anyone coming across this, you can monkey-patch and use something like chronic to get more flexible date parsing:
module RailsAdmin
  module Config
    module Fields
      module Types
        class Datetime < RailsAdmin::Config::Fields::Base
          class << self
            # Parse normalized date strings using time zone
            def parse_date_string(date_string)
              Chronic.parse(date_string)
            end
          end
        end
      end
    end
  end
end

Closed by https://github.com/sferik/rails_admin/commit/01e8d5fc8ec94e68af6fdbd80759a751cd83f74a .

authors: jamesmk mshibuya patbenatar


text:
rails_admin.css and .js files are missing

Rails Admin works locally for me, but when I deploy to Heroku, it fails with:
ActionView::Template::Error (The asset "rails_admin/rails_admin.css" is not present in the asset pipeline
I am on Rails 5.2.6 and Rails Admin 2.0.2
I added initializers/assets.rb with this line:
Rails.application.config.assets.precompile += ['rails_admin/rails_admin.css', 'rails_admin/rails_admin.js']
but those files do not exist in assets/javascripts and assets/stylessheets.
This app was originally built as an API only app, but I've added all the missing middleware to make it work as a normal Rails app.
This is my application.rb:

require_relative 'boot'

require "rails"
# Pick the frameworks you want:
require "active_model/railtie"
require "active_job/railtie"
require "active_record/railtie"
require "action_controller/railtie"
require "action_mailer/railtie"
require "action_view/railtie"
require "action_cable/engine"
require "sprockets/railtie"
# require "rails/test_unit/railtie"

# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)

module CheckwizApi
  class Application < Rails::Application
    # Initialize configuration defaults for originally generated Rails version.
    config.load_defaults 5.1

    # Settings in config/environments/* take precedence over those specified here.
    # Application configuration should go into files in config/initializers
    # -- all .rb files in that directory are automatically loaded.

    # Only loads a smaller set of middleware suitable for API only apps.
    # Middleware like session, flash, cookies can be added back manually.
    # Skip views, helpers and assets when generating a new resource.
    config.api_only = false

    # use uuid's as primary_key
    config.active_record.primary_key = :uuid
    config.generators do |g|
      g.orm :active_record, primary_key_type: :uuid
    end

    config.i18n.default_locale = :en

    config.active_job.queue_adapter = :sidekiq

    # Added because RailsAdmin needs them
    config.middleware.use ActionDispatch::Cookies
    config.middleware.use ActionDispatch::Flash
    config.middleware.use Rack::MethodOverride
    config.middleware.use ActionDispatch::Session::CookieStore
  end
end

Note that I have set config.api_only = false and added back the required middleware, but to no avail. If I set it to true, same error.
If I remove the assets file I added above, same error.
The assets/javascripts and assets/stylesheets folders are empty. Is that the problem?
I have looked at several other closed issues related to this and most of them advise adding the above middleware, or clearing tmp/cache and restarting. Neither worked for me sadly.

I've added this as a SO question with a bounty if anyone can help, thanks.
https://stackoverflow.com/questions/69291912/cannot-find-rails-admin-css-in-rail-5-4-2

Did you take a look at this?
https://stackoverflow.com/questions/67121203/the-asset-rails-admin-rails-admin-css-is-not-present-in-the-asset-pipeline

@mshibuya Thanks, I had read that.
I've solved the problem (there were multiple inter-connected issues) and updated my SO post.

authors: mshibuya rmcsharry


text:
Custom scope for rails_admin

Hello!
I am facing the following problem and i dunno how to fix it ... It might be a "Feature request" or just a "Documentation issue".
I have created an application that requires all the frontend models to be marked as active, so, the easiest way to achieve that was to add a "default_scope" in my models to match the default policy.
Now, while i am developing the admin ... i am facing a new problem ... I need to find all my records ... not only that are active... Basicallly, i'd need to use something like :
MyModel.unscoped ...
How could i achieve that ?

default_scope is a design smell, usually, and your problem with RA reflects it.
I would create another model, inherit from the first one, and scope it.
MyModel < MyScopedModel
And exclude the scoped model from RA.

authors: alecslupu bbenezech


text:
Allow .parent method to exist on models

If you define a parent method on your model then this line becomes a problem.  We can get the original method and bind it to our model like this.  Perhaps a bit klugey.  I'm open to other suggestions

Test needed!

Test needed!

Totally!  I just added a .parent class method to the Player ActiveRecord model in the specs.  I think this is causing things to fail still, so maybe it's not limited to just the place that I fixed.  I need to do other work at the moment, but I can look more later

This became unnecessary because of https://github.com/sferik/rails_admin/commit/fd26cfb1f5ec1b89d3779982cd5df6176ff154d7#diff-bd5e679f57bbfa55594c30d60628e519R90.

authors: cheerfulstoic mshibuya


text:
Fix localization of "time ago in words"

Not all languages have the same order as English ("x months ago" <-> "il y a x mois")

It's giving SyntaxError...

should be fixed now

Looks good, thanks!

authors: mshibuya sedubois


text:
🛑 Nodo is down

In 110fa69, Nodo (https://nodotecnologico.catamarcacapital.edu.ar/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Nodo is back up in e73940c.

repo: sfvc/upptime


text:
write lcov coverage to a file - cmd line reporting

For discussion only: resolves #13
This sets up a testemMiddleware and installs a custom reporter for blanket
When the tests are complete we post the lcov data to the middleware and write to lcov.txt
SF:xx-utils/helpers/format-money
DA:1,1
DA:5,1
DA:7,1
DA:32,1
DA:33,0
DA:37,0
DA:38,0
DA:41,0
end_of_record

Open issues:
[] Biggest issue is that the lcov data is tied to the moduleName from app.js - when blanket runs in the browser it is annotating a cloned node from the original source in the browser.  This works for in-browser display as the line numbers match up.  We'll have to either reconcile the lcov.txt with the original source map files (e.g. postprocess) or evaluate other ways to match things up.
[] bunch of hardcoded stuff (url, output filename, etc)
[] figure out why blanketReporter (the mocha one) is being called twice
so not a bad start, but much to do

[] either add blanket-reporter.js to blanket-loader.js or update blueprint to add to tests.html
I'll get back to this tonight or tomorrow - upon reflection I think doing the LCOV generation in browserland is wrong - I'll update the PR to serialize the coverageData directly from blanket to the middleware.
nodeland is a much friendlier place to do output formatting and will allow us to support many report formats (lcov, cobertura, etc) and deal with the sourcemap reconciliation.
I'm interested in any thoughts folks have about the sourcemap conundrum

This is a fantastic starting point for the discussion, thanks Jeff.
I definitely agree that LCOV generation should be driven from nodejs - I'm assuming phantomjs is probably the right place to start with this.  Have you had any luck with the headless running via ember test?

Yes. Ember test writes Lcov.txt in the root directory. Updated PR coming tomorrow with a new reporting approach
-jeff

On Mar 31, 2015, at 6:58 PM, Steven Glanzer notifications@github.com wrote:
This is a fantastic starting point for the discussion, thanks Jeff.
I definitely agree that LCOV generation should be driven from nodejs - I'm assuming phantomjs is probably the right place to start with this. Have you had any luck with the headless running via ember test?
—
Reply to this email directly or view it on GitHub.

So good news and bad news:
Good: we are now writing lcov.txt to the root directory when running ember test
Bad: The output data suffers from an impedance mismatch
ember-cli transforms the data through ember-cli-babel (es6->es5) and then applies the es6 module transforms resulting in app.js and vendor.js
The blanket transformer (currently running in the browser) then transforms the loaded code, adding line and branch tracking statements.
So an input file (app/utils/maths.js)
starts thusly:
var addNumbers,
    average,
    sumArray,
    averageArray,
    getAverage,
    percentDelta;

addNumbers = function(a, b) {
    var aIsNan = isNaN(a),
        bIsNan = isNaN(b);

    if (aIsNan && bIsNan) {
        return 0;
    }

In app.js
define('xx-utils/utils/maths', ['exports'], function (exports) {
    'use strict';

    var addNumbers,
        average,
        sumArray,
        averageArray,
        getAverage,
        percentDelta;

    exports.addNumbers = addNumbers = function(a, b) {
        var aIsNan = isNaN(a),
            bIsNan = isNaN(b);

        if (aIsNan && bIsNan) {
            return 0;
        }

In the browser, the markedup source looks like:
["define(\"xx-utils/utils/maths\", "
	, "  [\"exports\"], "
	, "function (exports) {",
	"",
	"    'use strict';",
	"",
	"    var addNumbers,",
	"        average,",
	"        sumArray,",
	"        averageArray,",
	"        getAverage,",
	"        percentDelta;",
	"",
	"    exports.addNumbers = addNumbers = function(a, b) {",
	"        var aIsNan = isNaN(a),",
	"            bIsNan = isNaN(b);",
	"", "        if (aIsNan && bIsNan) {",
	"            return 0;", "        }",
	"        if (aIsNan) {",
	"            return b;",

The line numbers that are reported from blanket relate solely to the last file's structure, including the gratuitious linebreaks between exports and function (exports)
So no derivable coorelation between what we started from and the output
I've delved into the generated source maps using (https://github.com/mozilla/source-map/) but these get us only back to the intermediate form (where the file is located in app.js or vendor.js)
The testemMiddleware (https://github.com/sglanzer/ember-cli-blanket/pull/38/files#diff-168726dbe96b3ce427e7fedce31bb0bcR32) is providing the glue between the browser and ember-cli.
The browser fires off a POST (https://github.com/sglanzer/ember-cli-blanket/pull/38/files#diff-c1a0ca0ae9997d37108b9580a48466bcR59) with the results of the coverage run which the middleware then writes to the filesystem.  No need to modify phantom
I'm going to leave this up for discussion and further exploration but IMO not mergeable - even with cleanup until we reconcile and can stand behind the reported data

Isn't this the case with all of the reported coverage so far?  The ES6 -> ES5 conversion makes a mess of things and the additional wrapping in the module definition ('define') doesn't help matters either.
I would absolutely love to fix the sourcemap issue (there was a mention of better sourcemaps being available in ember-cli a month or so back, not sure what the status is), but I wouldn't necessarily block the headless runner because of that - it's really a separate issue that the web client reporting also suffers from.

The issue as I see it is less about line number matching between the covered code and the original (potentially es6) code than between the code that leaves ember-cli and that which is annotated by blanket.
So the real question is what do people do with the generated lcov/cobertura data?
In my case i want to visualize the uncovered lines/branches.
secondarily I want an extractable value that I can use in a CI environment to graph coverage/prevent success if coverage < last value etc
So we have been chasing lcov output here but we have all the data that the web reports have - we could (as a first pass) generate an HTML report with the coverage data embedded - the coverage lines are self relative to the annotated code.
A different reporter could output JSON stats
We can emit LCOV data in LCOV format but it’s not useful IMO as raw data without being able to correctly visualize the covered/uncovered source lines

On Apr 2, 2015, at 12:01 AM, Steven Glanzer notifications@github.com wrote:
Isn't this the case with all of the reported coverage so far? The ES6 -> ES5 conversion makes a mess of things and the additional wrapping in the module definition ('define') doesn't help matters either.
I would absolutely love to fix the sourcemap issue (there was a mention of better sourcemaps being available in ember-cli a month or so back, not sure what the status is), but I wouldn't necessarily block the headless runner because of that - it's really a separate issue that the web client reporting also suffers from.
—
Reply to this email directly or view it on GitHub https://github.com/sglanzer/ember-cli-blanket/pull/38#issuecomment-88719731.

Let me summarize to see if I understand the conceptual issue:

LCOV reports the same lines/coverage as the web based reporter currently
This is reasonably acceptable in the web based reporter because it is paired with the converted ES6 code so that the corresponding lines are visible
This is not acceptable in the LCOV report because there is no visible code pairing and the LCOV lines don't align to the original source

Is this accurate?

Yes.
So now we have a mechanism to persist coverage data - what do we want to persist?

On Apr 2, 2015, at 8:58 AM, Steven Glanzer notifications@github.com wrote:
Let me summarize to see if I understand the conceptual issue:
LCOV reports the same lines/coverage as the web based reporter currently
This is reasonably acceptable in the web based reporter because it is paired with the converted ES6 code so that the corresponding lines are visible
This is not acceptable in the LCOV report because there is no visible code pairing and the LCOV lines don't align to the original source
Is this accurate?
—
Reply to this email directly or view it on GitHub https://github.com/sglanzer/ember-cli-blanket/pull/38#issuecomment-88888210.

Cool, I definitely understand your hesitation then.
At a minimum we can currently report coverage percentages and the ideal goal would be to provide accurate mappings back to uncovered source code.  If you believe it's acceptable to move this in stages, then the percentage data extracted from the LCOV report could be paired with the web based report as a temporary measure.  Not the end goal, but workable in my opinion.
Basically - "if the automated LCOV measurements drop below 80%, run the web based LCOV report and look for under-covered sections of the code".
Is this a reasonable approach from your perspective?  I believe people would be excited just to have some data, even if it is just percentages, generated from a headless run.

I’ll polish up the PR and add a stats reporter - reporters are setup to be pluggable - we can document that and see if anyone else riffs on it - and of course I’ll keep plugging away.
One other thing (and we can do this in a separate pr) is that lib/ is becoming noisy with browserland and nodeland files comingled - I’d like to refactor that to have a lib/client dir to house the client destined files - we can do the magic in index.js to preserve the existing output/import into tests.html
I can have something in the next few days

On Apr 2, 2015, at 9:08 AM, Steven Glanzer notifications@github.com wrote:
Cool, I definitely understand your hesitation then.
At a minimum we can currently report coverage percentages and the ideal goal would be to provide accurate mappings back to uncovered source code. If you believe it's acceptable to move this in stages, then the percentage data extracted from the LCOV report could be paired with the web based report as a temporary measure. Not the end goal, but workable in my opinion.
Basically - "if the automated LCOV measurements drop below 80%, run the web based LCOV report and look for under-covered sections of the code".
Is this a reasonable approach from your perspective? I believe people would be excited just to have some data, even if it is just percentages, generated from a headless run.
—
Reply to this email directly or view it on GitHub https://github.com/sglanzer/ember-cli-blanket/pull/38#issuecomment-88890658.

I believe people would be excited just to have some data, even if it is just percentages, generated from a headless run

Yes indeed, I'm watching this repo because of just the possibility that you guys will be able to work out the LCOV stuff ;-)  I haven't been able to find anyone working on it right now, but it'd make a big difference for my team.  Thanks guys!

Sounds like a good start to me, thanks Jeff.
For the source mapping, I think we need to engage the ember-cli core team to see if there are any suggestions.

sure
cc: @rwjblue @steffanpenner
any thoughts you guys may have would be appreciated.

On Apr 2, 2015, at 9:17 AM, Steven Glanzer notifications@github.com wrote:
Sounds like a good start to me, thanks Jeff.
For the source mapping, I think we need to engage the ember-cli core team to see if there are any suggestions.
—
Reply to this email directly or view it on GitHub https://github.com/sglanzer/ember-cli-blanket/pull/38#issuecomment-88892703.

also big caveat on current WIP PR - just realized that this is only working for mocha projects - I've annotated a qunit project and will push a sample project when I have it working as well

I've pushed an update to #outputCoverage that includes qunit support
I've written a JSON reporter that outputs a file with stats
a sample is here: https://gist.github.com/jschilli/c720f73b9257274c8ef3
A project with working command line coverage is here:
https://github.com/jschilli/todo-mvc-ember-cli-tdd/tree/qunit-blanket
Seemed like a reasonable project to test coverage on
The blanket-options.js file format changed to support consumption by both browsers and nodeland
/* globals blanket */
var options = {
    modulePrefix: "todomvc-ember-cli",
    filter: "//.*todomvc-ember-cli/.*/",
    antifilter: "//.*(tests|template).*/",
    modulePattern: "\/(\\w+)",
    branchTracking: true,
    loaderExclusions: [],
    enableCoverage: true,
    cliOptions: {
      outputFile: 'test-output.json',
      reporters: ['json']
    }
  };

if (typeof exports === undefined) {
  blanket.options(options);
} else {
  module.exports = options;
}

(the cool discovery here was modulePattern which summarizes stats by module - supported in the json reporter)
There is still some cleanup and testing to do but feel free to give it a whirl.
I've also started a test suite npm test for the project
I open for feedback - this is still WIP but hope to wrap something up over the weekend or early next week

I think this one is ready to go.
Would love eyes on some of the decisions.
Tested and working with QUnit and Mocha
test qunit project at: https://github.com/jschilli/todo-mvc-ember-cli-tdd/tree/qunit-blanket

Wow, this is a huge amount of work, fantastic job Jeff!

Yess. Having this for TravisCI will be amazing.

This would be great to have for ci testing.

I think it’s good to go - will merge in the next day or so and then we’ll cut a release

On Apr 16, 2015, at 6:22 PM, Anthony Kirwan notifications@github.com wrote:
This would be great to have for ci testing.
—
Reply to this email directly or view it on GitHub https://github.com/sglanzer/ember-cli-blanket/pull/38#issuecomment-93861088.

@sglanzer can you do the needful to publish a release?
I'll close the impacted tickets and open up new issues for the additional work (multiple reporters, additional reporters etc)

Absolutely!

authors: acorncom amkirwan jschilli sglanzer tim-evans

repo: sglanzer/ember-cli-blanket


text:
Calculate jaccard overlap for two same sets in model.py?

In model.py, Line 478
overlap = find_jaccard_overlap(class_decoded_locs, class_decoded_locs)  # (n_qualified, n_min_score)
Isn’t this two same sets? I think the purpose of the function is to calculate overlap for two different
sets with shape (n_qualified, 4) and (n_min_score, 4)?
Am I missing something here?

I also have this problem. Have you solved it?


text:
Chessboard rendering as black square

here is the code:

    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width">
    <title>chess</title>
    <link href="{{ url_for('static', filename='css/style.css') }}" rel="stylesheet" type="text/css" />

When I run the website (on flask), this is what it looks like. Any idea what is happening?

Fixed by ovverriding css, recoloring the black and white squares.

Did you include the cm-chessboard.css?

authors: cheesebellies shaack

repo: shaack/cm-chessboard


text:
The Select style are wrong inside Dialog

Don't know why, my website other where using Select have hover effecet
But place it inside Dailog, it was gone. No hover effect

Having the same issue @lucasjinreal , any luck on figuring it out?

✋🏽 Same problem here when using the select in a dialog

+1

authors: Marcosfitzsimons lucasjinreal rafael-ferreira-11 zaleGZL

repo: shadcn-ui/ui


text:
Force light theme on specific component

I'd like to always apply the light theme to a specific Dialog component in my project, even if the selected theme is dark mode. Is this somehow possible?

Hi @benbaessler you can add a custom light class like this:
Update the globals.css file:
@layer base {
  :root, .light {
  /* rest of css file */

And the you can use it in your components:

  Forced light mode

This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.

Hi @benbaessler you can add a custom light class like this:
Update the globals.css file:
@layer base {
  :root, .light {
  /* rest of css file */

And then you can use it in your components:

  Forced light mode

This did not work for me

same here!

authors: FrancescoSaverioZuppichini benbaessler bhatvikrant dan5py shadcn


text:
TCP relay block when first packet includes payload

when I copy left buffer manually at first, it is woking.
func relay(left, right net.Conn) (int64, int64, error) {
	type res struct {
		N   int64
		Err error
	}

	ch := make(chan res)

	buf := make([]byte, 1024)
	for {
		nread, _ := left.Read(buf)
		if nread > 0 {
			right.Write(buf[0:nread])
		}
		if nread != 1024 {
			break
		}
	}

	go func() {
		n, err := io.Copy(right, left)
		right.SetDeadline(time.Now()) // wake up the other goroutine blocking on right
		left.SetDeadline(time.Now())  // wake up the other goroutine blocking on left
		ch <- res{n, err}
	}()

	n, err := io.Copy(left, right)
	right.SetDeadline(time.Now()) // wake up the other goroutine blocking on right
	left.SetDeadline(time.Now())  // wake up the other goroutine blocking on left
	rs := <-ch

	if err == nil {
		err = rs.Err
	}
	return n, rs.N, err
}

Sorry I didn't understand the problem. What happened here? And what's the step to reproduce it?

@riobard
go-shadowsocks2 client use socks5 proxy protocol, send address to server at first,
then send request header to server.
but my client use http proxy protocol, send address and request header to server.

Are you using go-shadowsocks2 as an HTTP proxy?

no, i write a shadowsocks client that provides http proxy.

Sorry I'm confused. Is this issue a bug report? What was wrong here?

@cute  Maybe you'd better read the comments about the io.Copy()

// Copy copies from src to dst until either EOF is reached
// on src or an error occurs. It returns the number of bytes
// copied and the first error encountered while copying, if any.
//
// A successful Copy returns err == nil, not err == EOF.
// Because Copy is defined to read from src until EOF, it does
// not treat an EOF from Read as an error to be reported.
//
// If src implements the WriterTo interface,
// the copy is implemented by calling src.WriteTo(dst).
// Otherwise, if dst implements the ReaderFrom interface,
// the copy is implemented by calling dst.ReadFrom(src).

@riobard
shadowsocks tcp protocol is  [target address][payload], http request through local proxy:
local socks5 proxy send data to server:

write [target address]
write [payload]
read

local http proxy send data to server:

write [target address][payload]
read

If address and payload is sent together, server can not process the data correctly.

I think I understand the problem now. Do you have a code snippet to reproduce the bug?

@riobard what's your email? I want to send you an iOS app promotion code.

me at riobard dot com

Got the code. What's the step to produce the bug?

Problem identified: this is actually caused by a bug in the implementation of AEAD stream reader. The fix has been committed into my fork here https://github.com/riobard/go-shadowsocks2/commit/de996c889eae0ad0356d654eff7b2ff7aa489096 and a new test release is created at https://github.com/riobard/go-shadowsocks2/releases/tag/v0.0.9

@riobard seem still not work with shadowrocket

fixed through https://github.com/riobard/go-shadowsocks2/pull/8

Fixed by #40

authors: arthurkiller bigtan cute riobard


text:
Why is the extension removed from Firefox addons store?

Salams,
This is exactly what I was searching for! Thanks for the work.
I note that the extension is removed from the Firefox addons store, do you happen to know why and will it be released by any other means?

Salam @kisanme , unfortunately Firefox found an issue in the code that requires resolving. It's not major, however, it's hard maintaining both the Chrome and Firefox extensions. As the Chrome extension has more users I decided to focus on it for now.
I hope you understand!

authors: kisanme shahednasser

repo: shahednasser/quran-extension-firefox


text:
Update Trimmer.java

Add FFmpegMediaMetadataRetriever.OPTION_CLOSEST option to line 480 where bmp is generated to retrieve a frame that may or may not be a sync frame but is closest to or the same as time.
In reference to #255

Hi @adamawang Thank you for the PR.
Just read the spec and believe that this should fix the #255 issue.
Merging now


text:
Allow webpack-cli 5.x

Close #209

Disclaimer ⚠
I've tested with a local application by running npm pack and referencing shakapacker as "file:../shakapacker/shakapacker-6.5.4.tgz" in package.json. I'm not a javascript developer, so I may miss something important, please double check

Seems OK!

Thanks @tagliala

repo: shakacode/shakapacker


text:
🛑 Shakedown Social - Uploads is down

In 2b76ab3, Shakedown Social - Uploads (https://files.shakedown.social/accounts/avatars/109/357/389/718/265/462/original/dd80d2c95e48cfd2.jpeg) was down:

HTTP code: 403
Response time: 322 ms

Resolved: Shakedown Social - Uploads is back up in 920e3bf.

repo: shakedown-social/upptime