Publish Appsmith helm chart

Description

Recreated the helmchart index.yaml and the chart files to reflect the change in values.yaml  appsmith-editor to appsmith-ce
Fixes # (issue)

if no issue exists, please create an issue and ask the maintainers about this first

Type of change

Please delete options that are not relevant.

Bug fix

How Has This Been Tested?
Tests
tested this change from my own repo with changes
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes

@sharat87   can you please review this changes


ByteSequence should cache hash code

We use ByteSequence as a key to a map. When the map needs to be expanded it will rehash a load of keys. As the hashcode of a key should not change we should lazy initialise the hashcode value and memorise it.

fixed on master


SmartScreen warning when using Windows installer 1.0.29

Describe the bug
Windows Defender invokes a SmartScreen warning when launching the .exe file provided in release 1.0.29 for the first time. It can be ignored by clicking on "More information" and "Run anyways".
To Reproduce
Steps to reproduce the behavior:

Download DogeHouse-Setup-1.0.29.exe from https://github.com/benawad/dogehouse/releases/tag/v1.0.29
Run the executable with Windows Defender enabled (default)

Expected behavior
SmartScreen warning should not appear
Screenshots
https://prnt.sc/10zubgf
What device are you on?
Windows 10 PC running 20H2
Additional context
Issue should be self explanatory

Duplicate of #1376

Sorry for the duplicate, the issue did not come up when just searching "SmartScreen".


QG 4 checks (Release 24.05)

QG checks
Please keep this issue open until QG is concluded and will be managed by the Issue Creator!
We will inform you about finding and proposals in separated issues, this issue here is for the Overview of the Checks!
Please keep this issue open until QG is concluded!
Product Owner:   @drcgjung
Dev SPOC:   @drcgjung
Helm Chart Version:  1.12.19
App Version:  1.12.19
Release Managemnet Reference Issue:
Check of Tractus-X Release Guidelines

Currently implemented automatic checks can be found under your product on our Release Guidelines Checks Board
This QG Check is depending on the mandatory information from our current Release Guidelines

TRG 1 Documentation

[x] TRG 1.01 appropriate README.md
[x] TRG 1.02 appropriate install instructions either INSTALL.md or in README.md
[x] TRG 1.03 appropriate CHANGELOG.md
[x] TRG 1.04 editable static files

TRG 2 Git

[x] TRG 2.01 default branch is named main
[x] TRG 2.03 repository structure
[x] TRG 2.04 leading product repository
[x] TRG 2.05 .tractusx metafile in a proper format

TRG 3 Kubernetes

[x] TRG 3.02 persistent volume and persistent volume claim is used when needed

TRG 4 Container

[x] TRG 4.01 semantic versioning and tagging
[x] TRG 4.02 base image is agreed
[x] TRG 4.03 image has USER command and Non Root Container
[x] TRG 4.05 released image must be placed in DockerHub, remove GHCR references
[x] TRG 4.06 separate notice file for DockerHub has all necessary information

TRG 5 Helm

[x] TRG 5.01 Helm chart requirements
[x] TRG 5.02 Helm chart location in /charts directory and correct structure
[x] TRG 5.03 proper version strategy
[x] TRG 5.04 CPU / MEM resource requests and limits and are properly set
[x] TRG 5.06 Application must be configurable through the Helm chart
[x] TRG 5.07 Dependencies are present and properly configured in the Chart.yaml
[x] TRG 5.08 Product has a single deployable helm chart that contains all components
[x] TRG 5.09 Helm Test running properly
[x] TRG 5.10 Products need to support 3 versions at a time
[x] TRG 5.11 Upgradeability

TRG 6 Released Helm Chart

[x] TRG 6.01 Released Helm Chart

TRG 7 Open Source Governance

[x] TRG 7.01 Legal Documentation
[x] TRG 7.02 License and copyright header
[x] TRG 7.03 IP checks for project content
[x] TRG 7.04 IP checks for 3rd party content
[x] TRG 7.05 Legal information for distributions
[x] TRG 7.06 Legal information for end user content
[x] TRG 7.07 Legal notice for documentation
[x] TRG 7.08 Legal notice for KIT documentation

TRG 8 Security

[x] #128
[x] TRG 8.02 Mitigate high and above findings in KICS
[x] TRG 8.03 Mitigate high and above findings in GitGuardian
[x] TRG 8.04 Mitigate high and above findings in Trivy

Hints
Information Sharing

Hi all, before I start I need the following info:
Product Owner:
Dev SPOC:
Helm Chart Version:
App Version:

Also I will need a volunteer committer who does the checks alongside with me. Can you find me someone? Thanks!

Version I'm checking: 1.12.19

I'm done with the first round of checks. There is one issues open regarding critical security findings in the knowledge-agents repository by CodeQL. https://github.com/eclipse-tractusx/knowledge-agents/issues/128

@drcgjung & @almadigabor do we expect a resolution on this one today?

@drcgjung & @almadigabor do we expect a resolution on this one today?

here https://github.com/eclipse-tractusx/knowledge-agents-edc/pull/196
and here https://github.com/eclipse-tractusx/knowledge-agents/pull/131
Best,
CGJ

cool!
so please mark #122(https://github.com/eclipse-tractusx/knowledge-agents/issues/122) completed and update  #641(https://github.com/eclipse-tractusx/sig-release/issues/641) so QG can be fully approved

CodeQl: I approve the findings as FP. The security checks is approved.

As the security findings were false positives as they've already been fixed, the last check is also marked. I approve the QG with the following versions:
App version: 1.12.19
Chart version: 1.12.19


Support rook playbooks

With this change it is possible to add playbooks in osism/ansible-playbooks with the prefix rook and these can then be used in the container.

Required by https://github.com/osism/ansible-playbooks/pull/385


fix: on click event on interactive elements

Closes: #4292
📝 Description
This PR addresses issues related to the onClick event handling in various interactive components and introduces improvements by deprecating onClick in favor of onPress. Additionally, unnecessary packages have been removed, and React Aria internal utilities have been updated.
⛳ Current Behavior (Updates)

The onClick event is used across interactive components like MenuItem, ListboxItem, Link, and Button.
Some internal utilities from React Aria are outdated.
Unnecessary packages deleted

🚀 New Behavior

Fixed the onClick event for MenuItem, ListboxItem, Link, Button, and other interactive components to ensure better consistency.
Deprecated onClick in favor of onPress for interactive elements to align with modern accessibility standards.
Removed unnecessary packages to reduce bundle size and improve maintainability.
Updated React Aria internal utilities for improved performance and compatibility.

💣 Is this a breaking change (Yes/No): Yes

Impact: Users currently relying on the onClick event will need to migrate to onPress as soon as possible.
Migration Path: Update all instances of onClick to onPress in your codebase.

📝 Additional Information

The changes improve accessibility and align with the latest React Aria standards.
Removed dependencies streamline the project and reduce complexity.

@jrgarciadev
After testing, passing the onClick event to both the Button and Link components reveals inconsistent behavior on mobile devices between versions 2.6.7 and 2.6.8, with two differences.
First, the event type for onClick has changed from SyntheticBaseEvent/PointerEvent to PressEvent.
Second, I believe that onClick and onPress are fundamentally different events. For me, when using onPress, if there is another element with an event listener beneath the button (at the same position but on a different layer), touching the button may also trigger that element's listener, whereas this does not happen with onClick. Additionally, in the case of NavbarMenu, sometimes touching a link with onPress does not automatically close the menu, while it does so reliably with onClick.
Overall, the behavior of onClick is more stable, everything was fine on 2.6.7.
I'm not sure if the two situations I mentioned are due to a bug in react-aria or something else, but before 2.6.8 I could work around them using onClick, whereas 2.6.8 changed them all to onPress and did not provide any option to exit this behavior. I did not reproduce the problem addressed by this PR; instead, it introduced new issues.
Thank you for your work, but could you look into any other solutions? I don't want to keep the version at 2.6.7 because future versions may have other bug fixes that I am aware of.

In version 2.6.7, when using onClick, touching the button above the blue avatar does not trigger the event for the blue avatar, while using onPress may trigger it, so I used onClick to avoid this issue. However, in version 2.6.8, this no longer works. Even if onClick is passed, it ultimately all becomes onPress.
In the image is 2.6.7, you can also see that the event is SyntheticBaseEvent/PointerEvent instead of PressEvent.


OnCompleted not called for disposed subscription to Observable.EveryUpdate()

This is similar to #213
I am not sure if the behaviour is correct.
On the one hand, Observable.EveryUpdate() is a never-ending observable.
On the other hand, we might want to dispose a subscription at some time and do some cleanup in OnCompleted.
This pattern does not work:
IDisposable disposable;

void Start()
{
    disposable = Observable.EveryUpdate().Subscribe(DoSomething, Cleanup);
    Observable.Timer(TimeSpan.FromSeconds(2)).Subscribe(Cancel);
}

void DoSomething()
{
    // omitted
}

void Cleanup()
{
    // this is never called!
}

void Cancel()
{
    disposable.Dispose();
}

This pattern does work:
void Start()
{
    var cancellationSource = Observable.Timer(TimeSpan.FromSeconds(2));
    Observable.EveryUpdate().TakeUntil(cancellationSource).Subscribe(DoSomething, Cleanup);
}

void DoSomething()
{
    // omitted
}

void Cleanup()
{
    // now this is called
}

Personally, I'd expect both patterns to call OnCompleted on cancellation, but I might be argued into accepting that EveryUpdate never calls OnCompleted on its own. However, this has already led me (and probably others) into a debugging odyssey.
To "fix" the behaviour, we'd need to change EveryCycleCore in the following way:
static IEnumerator EveryCycleCore(IObserver<long> observer, CancellationToken cancellationToken)
{
    var count = 0L;
    while (!cancellationToken.IsCancellationRequested)
    {
        yield return null;
        observer.OnNext(count++);
    }
    observer.OnCompleted();
}

Observable
     .EveryUpdate()
     .RepeatUntilDestroy(this)
     .Subscribe(_ => { DoSomething(); }, () => { Cleanup(); });

If you insert RepeatUntilDestroy(this), it will call Complete when the gameobject is destroyed.  Is that good enough?

There are a number of potential workarounds, Since I don't have a GameObject at hand, I'm using
Observable.Create<long>(observer =>
{
    var d = new BooleanDisposable();
    Observable.EveryUpdate().TakeWhile(_ => !d.IsDisposed).Subscribe(observer);
    return d;
});

But why should a workaround even be necessary here? Is there any harm in having EveryUpdate() calling OnCompleted() on dispose, like every(?) other observable?

Maybe  because EveryUpdate returns a FromMicroCoroutine which is:
/// <summary>
 /// MicroCoroutine is lightweight, fast coroutine dispatcher.
/// IEnumerator supports only yield return null.
/// </summary>
public static IObservable<T> FromMicroCoroutine<T>(Func<IObserver<T>, CancellationToken, IEnumerator> coroutine, FrameCountType frameCountType = FrameCountType.Update)
{
      return new UniRx.Operators.FromMicroCoroutineObservable<T>(coroutine, frameCountType);
}

that changing EveryCycleCore as you suggested, pumping an OnComplete into FromMicroCouroutine, that it would work against (and be incompatible with) the the whole MicroCoroutine architecture and the performance gains that it brings?  I'm over my head a bit, but that's my first thought after reading "IEnumerator supports only yield return null"

@bearbytes OnNext, OnError and OnCompleted are all semantic values pushed by source observable. You are receiving them when you are subscribed. After unsubscribing (call Dispose on Subscribtion) you don't receive anything. Why? Because you are unsubscribed.
I don't see a good reason to ruin that logic. By the way, second pattern don't receive oncompleted from source observable:
void Start()
{
    var cancellationSource = Observable.Timer(TimeSpan.FromSeconds(2));
    Observable
      .EveryUpdate()
      .DoOnCompleted(_ = { /* not called */ })
      .TakeUntil(cancellationSource)
      .Subscribe(DoSomething, _ => { /* called because this modified observables that states that it runs until cancelationSource, when cancelationSource pushes value, modified observable returns oncompleted */ });
}

Did you see another implementation in rx implementation to any other language, maybe?
By the way, if you need cleanup, it is usually done that way:
For source observable:
var observable = Observable.Create(observer =>
{
  File f = OpenFile();
  while (!f.EndOfFile()) { observer.OnNext(f.ReadLine()) }
  return Disposable.Create(() => CloseFile(f));
}

So, each subscriber will open file, and on unsubscribing will be cleanup. It's common pattern.
For subscriber you can use TakeUntil(closeWindowObservable/destroy/disable/pause).Subscribe(HandleNext, HandleError, CleanupIfNeeded)


FeatureRequest: mini map

Suggest view  mini map or in the corner or called by key.

Hi @Ygarr !
I am not adding any new features to this game anymore (maybe one day... It was mainly made for showing off what I could do in on weeks time).
You are free to fork this repository -> commit & push any changes to your fork -> and make a pull request to this repository if you like to.
Thank you for the suggestion!


Update netty-common to 4.1.114.Final

Rationale
Fix denial of Service attack on windows app using netty: https://github.com/netty/netty/security/advisories/GHSA-xq3w-v528-46rv
Related Pull Requests

N/A

Changes

Update netty-common to 4.1.114.Final

We're actually updating to 4.1.115 here...


chore(devops): Use separate script to install systemd gateway

This prevents us from backslack escape hell when trying to expose this script in different contexts.
Needed as a pre-req to #4011

Need to merge it to test it


[REQ] Will this works with Bloxshade?

Acknowledgement of preliminary instructions

[X] I have read and acknowledged the preliminary instructions.

What idea do you have?
Will this works with Bloxshade?

Yes it does. Did you try it before asking?


Update optimizers.py to be compatible with the latest version of Horovod

We're currently not compatible with Horovod v0.14.0, since size() from horovod.common has been changed from static to a method of the wrapper class HorovodBasics.
Can alternatively specify that we require Horovod v0.13.11 in the docs.
@borisgin

Thanks, Edward and Victor! Resolved.


feat: split-button component

Split button component completed.
Closes #264

Great! 🚀 I have a few notes:

Can we fix the focused state border radiuses like in the design (second image)

I am not sure but in the disabled state, the border line color looks darker than the text and arrow color, they should have the same colors. Can we check? 🙏

Thanks @buseselvi , I fixed the focused state border radiuses and changed the bg-color of split-divider like in the design.


NO-TICK: port nctl fixes

ports changes from closed PR: https://github.com/CasperLabs/casper-node/pull/1159/commits/39b5eeaf3115e3a276f31d0387b56fb8280fa9e3

bors r+


PPF-778: Unable to report updated field name

Version
PyPDFForm=1.4.0
Issue Description
1: Create a pdf
From  editor (Tungsten Power PDF business for Mac)
create form text field :   fieldname = "NAME1"
save it as test.pdf
2: re-open the  test.pdf from the editor
In edit mode, change the above text field name :  fieldname = "NAME2"
save it as test.pdf
3: reopen test.pdf in the editor , the new field name NAME2 is displayed correctly
4: open test.pdf in another editor , such as pdffiller,  the new field name NAME2 is displayed correctly
Code Snippet
pdf = PdfWrapper(test.pdf)
if 'NAME2' in pdf.widgets:
print "( "did NOT found NAME2")
if 'NAME1' in pdf.widgets:
print "( "only found NAME1").  //we always reach here
FYI
#PdfReader from pypdf works correctly
if 'NAME2' in PdfReader(test.pdf).get_form_text_fields():
print "( "did found NAME2").   //we can see NMAE2
Is this a known issue ?

Test  with laster 1.4.37 , the issues can not longer be reproduced


Add VtexStoreVersion=v2 cookie to gatsby plugin

@saviomuniz we already did that when with the A / B test. Wasn't it @igorframos and @lucis?
So, this issue should be closed?


Enhancement: Changing a node to text field on double click

Hi,
I am looking for a soultion to change the double clicked node to text field.Do we have any option for that in lates build if so please let me know.
Thanks,
Sayooj V R

Yes, options.actionMapping.mouse.dblClick.
Please refer to the docs about action mapping:
https://angular2-tree.readme.io/docs/action-mapping


Filter Taxonomy column by query string

Category

[ ] Question
[ ] Bug
[x] Enhancement

Authors
@IvanTheBearable
@VesaJuvonen
Expected or Desired Behavior
I would like to be able to filter a taxonomy column by query string value where the provided input contains or containsany as with the current taxonomy filter behavior for the content query webpart
Observed Behavior
Currently once a field type is detected as a taxonomy column then column values are returned as suggestions

(DELETE THIS PARAGRAPH AFTER READING)

Steps to Reproduce
Add cqwp to page
select taxonomy column
try to enter manual value

As this issue is not related on the samples in this repository, rather a generic ask for support. Please relocate the issue to the http://aka.ms/spdev-issues where we have multiple people helping with the topics on top of others in the community. Thx.

Sorry @VesaJuvonen I placed it here because it was related to the React Content Query Web Part. I see that I put cqwp instead of spelling it out.

Got it - so the comment / question is around the https://github.com/SharePoint/sp-dev-fx-webparts/blob/master/samples/react-content-query-webpart web part developed by @spplante. Reopening the issue then.

@spplante Do you have any idea. Sorry I forgot to include you on this as it relates to the Content Query Web Part solution


Add content to the README file

We need to add:

the different supported languages (Currently French, English and Chinese)
a requirement section

This commit close this issue


[Android] The text in Inputs is cut off

When you use custom themes the text in input fields is maybe larger.
Then it can happen that the text is cut off on the top.
The reason is the bar below the text on android. There is no way to disable the line. You can only hide the line but the padding is still there.
This only occurs when the input has a defined height. Otherwise, the framework arranges everything.

I need large font size on the input. How can I achieve it?

I had the same issue. The line on android in my case needed to be bigger than iOS, as such I fixed by simply increasing the line height.  In your fonts file under or themes folder (if you have one), you can do something similar to this:
const display = {
fontSize: Fonts.displaySize,
lineHeight: Platform.OS === 'ios' ? Fonts.displayLineHeight : Fonts.displayLineHeight * 1.25,
backgroundColor: Colors.transparent
}
Hope it helps.


⚠ SceneTime has degraded performance

In 797dbac, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 15149 ms

Resolved: SceneTime performance has improved in f8a5b7f after 5 minutes.


Disable eventual fairness on wasm32-unknown-unknown

std::time::Instant panics on this target and the external instant crate
adds undesirable external dependencies to the wasm module.
Fixes #269

FWIW, I think it only adds undesirable external dependencies if your host is not a browser. If you target the browser you can configure it and enable features and it compiles just fine.


Merge develop tweaks to master.

Current coverage is 84.90% (diff: 100%)

Merging #353 into master will increase coverage by 0.01%

@@             master       #353   diff @@
==========================================
  Files           137        137
  Lines          5485       5485
  Methods        1141       1140     -1
  Messages          0          0
  Branches        797        798     +1
==========================================
+ Hits           4656       4657     +1
  Misses          513        513
+ Partials        316        315     -1

Powered by Codecov. Last update 378a42a...e9f1d30


TELCODOCS-1905 Validated Patterns Key Concepts - Part 1

This is an automated message:
You can preview this docs PR at http://440.docs-pr.validatedpatterns.io
Note that they get generated every five minutes, so please wait a bit.


(lightalloy) Convert to using AU

@majkinetor can I get you to have a look at this please? Thanks!

@majkinetor so, in order to see the automatic pushing and commiting working... Can I do the following?
The latest version of this package is <IP_ADDRESS>, but the latest pushed to Chocolatey.org is 4.8.8.  If I change the nuspec version to say 4.7.7, check it in, and then let the AppVeyor build run, it should detect the new version, update the files, and push to chocolatey.org, right?

You have to put the version to something higher then already in community feed,  lets say <IP_ADDRESS> (or use NoCheckChocoVersion).
Then it should do all the stuff.

@majkinetor why would it need to be higher? I thought the whole point was that if it found a version, which is higher than the one currently on chocolatey.org, it would update, and push the package out.  What am I missing?!?

Oh yeah, you are right :) I am totally tripping.

@majkinetor said...
Oh yeah, you are right :) I am totally tripping.

ok, cool, we are on the same page then.  I will fix up this PR tomorrow, and set the nuspec version to be an earlier version, and then check to see if everything works correctly from AppVeyor execution.
I am expecting the following...

Update nuspec and chocolateyInstall.ps1 with new values
Create nupkg with higher version number
Commit the changes to the file and push to GitHub
Push the latest package to Chocolatey.org
Update gist with what happened

Does that sound right?

Thats the deal. And may send mail too :P

Just make sure token is set right for github and with right permissions.

@majkinetor said...
Just make sure token is set right for github and with right permissions.

At the minute, it is using my credentials, but I may change that to be the chocobot account, but that will be a test for another day.

@majkinetor said...
Thats the deal. And may send mail too :P

I haven't set up the email configuration yet.  I am just using the built in appveyor mails for when a build fails.  I suspect you are sending emails at other times as well, so I think I will need to get this set up as well.

Ok, I will get this tested out tomorrow, and I will let you know if I run into anything.  Thanks for your help!

You already use token for the gist, you can use the same one for the git, just set it to public repo scope.
Mails are sent when update throws exceptions. Build will fail only if you make it so in the update_all.ps1


Corrects shebang to be more universal

The current shebang doesn't work on OS X, as it says:

-bash: ./phpscanner/phpscanner.py: /usr/bin/python2: bad interpreter: No such file or directory

This fixes the problem.

Thanks, it's merged !


Add an unchecked cast operator

Sometimes the type system is not expressive enough, and especially in Dart 2.x, knowing the explicit static type is important (and in many cases, required - for example, invoking methods, accessors, etc).
Prior art in other nominal type-system languages:
(This seems free in most structural ones)

Language
Support
Notes

Swift
Yes, with as!
I like this feature the most

Kotlin/Java
No

C#
Yes, with unchecked { ... }

C++
Yes, with reinterpret_cast

Current Support
There are three ways to "cast" that I know of:
Implicit Casts
void printSum(int a, int b) => print(a + b);

void foo(dynamic a, dynamic b) {
  printSum(a, b);
}

or
void foo(dynamic a) {
  TypeA actualA = a;
  a.doThing();
}

Explicit Casts
void foo(dynamic a) {
  var actualA = a as TypeA;
  a.doThing();
}

Type Promotion
void foo(dynamic a) {
  if (a is TypeA) {
    a.doThing();
  } else {
    throw new UnsupportedError('Not expected: $a');
  }
}

However, all of these fall short:

Implicit casts hide sources of (real) bugs in code:

List<String> firstThree(List<String> names) {
 return names.subList(0, 2);
}

void foo(List<String> allNames) {
  // RUNTIME ERROR: Iterable<String> is not List<String>
  var firstThree = firstThree(allNames.where((name) => name != 'Matan'));
}

... and is a warning with implicit-casts: false turned on.

Explicit casts, in both Dart2JS, DDC, and the Dart VM, have a cost:

Here is dart2js:
void main(dynamic input) {
  print((input as String).toUpperCase());
}

// Code shared by all dart2js compilations omitted.

main: [function(input) {
  P.print(H.stringTypeCast(input).toUpperCase());
}, "call$1", "main__main$closure", 2, 0, 7]

Type promotion forces awkward if-else handling code:

... as well as having a runtime cost for the is check.
String getBestProprtyOf(dynamic a) {
  if (a is Dog) {
    return a.tail.description;
  } else if (a is Cat) {
    return a.paws.description;
  } else {
    // Uh... I have to fill this in.
    throw new UnsupportedError('Neither a Cat or Dog');
  }
}

Proposal
Add a as! operator (or similar):
void foo(dynamic a) {
  var actualA = a as! _TypeIKnowForSure;
  print(actualA.propertyOnType);
}

Optionally, when assertions are enabled, I'd be OK for this use the normal as.
/cc @yjbanov @hixie who I know have had similar requests.

Potentially related (old) issue: https://github.com/dart-lang/sdk/issues/5031.

How does this differ from as?

+1 , would let us remove implicit downcasts for innerloopy hot code.

@Hixie:

How does this differ from as?

As I mentioned above, as has a runtime cost:
void main(dynamic input) {
  print((input as String).toUpperCase());
}

// Code shared by all dart2js compilations omitted.

main: [function(input) {
  P.print(H.stringTypeCast(input).toUpperCase());
}, "call$1", "main__main$closure", 2, 0, 7]

C# does not support this, as far as I know.  The keyword that you link to only covers overflow checking, not casting.

What about type promotions from asserts?
Instead of
void main(dynamic input) {
  print((input as String).toUpperCase());
}

you can do
void main(dynamic input) {
  assert(input is String);
  print(input.toUpperCase());
}

The issue with doing any of this (unchecked casts, promotion from asserts, etc) in the language is that the implication on native is that arbitrary memory corruption results if you get it wrong (a la C++).  We can certainly go that route, but my understanding is that this is not the semantics that our native compilation customers want?  @Hixie ?
Doing this on web is easier: you still get arbitrary app corruption, but at least your machine doesn't get pwnd.
It seems to me that this is probably something that should be provided at the tooling level for individual platforms as appropriate.

I don't understand this example:
String getBestProprtyOf(dynamic a) {
  if (a is Dog) {
    return a.tail.description;
  } else if (a is Cat) {
    return a.paws.description;
  } else {
    // Uh... I have to fill this in.
    throw new UnsupportedError('Neither a Cat or Dog');
  }
}

How does unchecked cast help you write this code?

Yeah, on the web your worst case is "Undefined is not a function" and the app usually keeps limping along. In Flutter it would be a segfault, which is much less pleasant.
Perhaps dart2js should simply implement as via assert, if the performance benefits outweigh the risk of undefineds?

I wouldn't want this to cause the Dart VM to segfault, even in release mode:
void main() {
  int x = 1;
  (x as! String).trim();
}

It should throw.
I don't really care what it throws, if there's a way to have a really low-level type check that throws an uninformative error like "VMError" in release builds in exchange for making the type check super fast, that's fine by me. (In checked mode I'd like more detail, to aid debugging.)

@leafpetersen:

C# does not support this, as far as I know.  The keyword that you link to only covers overflow checking, not casting.

Thanks, I updated the table.

The issue with doing any of this (unchecked casts, promotion from asserts, etc) in the language is that the implication on native is that arbitrary memory corruption results if you get it wrong (a la C++).  We can certainly go that route, but my understanding is that this is not the semantics that our native compilation customers want?  @Hixie ?

Upon talking to @Hixie in person, seemed fine with @ds84182's idea:
void main(dynamic input) {
  assert(input is String);
  print(input.toUpperCase());
}

This works for me too FWIW.

Doing this on web is easier: you still get arbitrary app corruption, but at least your machine doesn't get pwnd. It seems to me that this is probably something that should be provided at the tooling level for individual platforms as appropriate.

Fine with me, though perhaps it is just showing more a hole in the language.
If I know the following:
void feed(dynamic /* Cat | Dog */ pet) {
  if (pet is Dog) {
    pet.feed();
    return;
  }
  // pet is definitively 'Cat' here, but I can't express it statically.
  (pet as Cat).feed();
}

... then the as! or assert(<var> is <Type>) should safe to do.

The problem is that you might "know" it but maybe someone one day passes in "null" or a dynamic that happens to actually be a string or something.
I think this expresses the semantics you want:
void feed(dynamic pet) {
  assert(pet != null);
  if (pet is Dog) {
    pet.feed();
    return;
  }
  assert(pet is Cat);
  pet.feed();
}

Static analysis and type inference should determine that on that last line, pet is a Cat, but there still needs to be a last-ditch verification somewhere in that method to make sure that that is an actual invariant.

Yeah, on the web your worst case is "Undefined is not a function" and the app usually keeps limping along. In Flutter it would be a segfault, which is much less pleasant.

Just to be clear, neither of these are the worst case.
The worst case on the web is that you begin executing arbitrary (or attacker controlled) unexpected javascript.
The worst case on flutter is that you begin executing arbitrary (or attacker controlled) unexpected bytes.

In particular, consider similar cases like:
void _feed(dynamic pet) {
  assert(pet != null);
  if (pet is Dog) {
    pet._feed();
    return;
  }
  assert(pet is Cat);
  pet._feed();
}

...what if someone (from another module) indirectly passed you an object that implements Cat? There's no way that object can implement _feed, since it's private. At some point before the jump to _feed, the VM or the compiler or someone has to verify that we're dealing with an actual instance of Cat that has _feed on it. Type checking isn't enough.

Totally fair, hence why I posted this thread here so I could get tons of reasons why it is bad :)
To be clear though, it already works this way, on the web, with implicit casts:
void foo(dynamic x) {
  Map mapX = x;
  print(mapX.keys);
}

... I just want to live in a world eventually where implicit-casts: false is enabled. I guess I could just use // ignore: implicit_cast, but something in the language, or a convention (assert) or otherwise would make me happier.

What's wrong with
void foo(dynamic x) {
  Map mapX = x as Map;
  print(mapX.keys);
}

The fact that it generates:
main: [function(input) {
  P.print(H.interceptedTypeCast(input, "$isMap").get$keys());
}, "call$1", "main__main$closure", 2, 0, 7]

... instead of P.print(input.get$keys()).

To be clear though, it already works this way, on the web, with implicit casts:

With implicit casts + --trust-type-annotations --trust-primitives presumably?

Totally fair, hence why I posted this thread here so I could get tons of reasons why it is bad :)

Also to be totally fair, pretty much every language that I know of has some way to escape the constraints of the core language (inline assembly, foreign function interface, JS interop, etc).
I'm not necessarily opposed to providing a way to drop out of the safe subset (particularly on web): you can already do so (on web) via JS interop.  But I do personally see a lot of value in keeping those sharp bits off to the side of the language where most people aren't likely to grab the pointy end by mistake.
I'd actually much prefer us to be in a state where @ferhatb can unsafely optimize his inner loops to his heart's content but the rest of the app runs with runtime checks, over being in a state where everyone just turns off all checking as a matter of course.  I'm a huge fan of giving the programmer close control over performance where they need it.

@matanlurey But you have to have that check regardless, as discussed above. Implicit casts involve the same check.

@leafpetersen:

With implicit casts + --trust-type-annotations --trust-primitives presumably?

Yup!
@leafpetersen:

I'm not necessarily opposed to providing a way to drop out of the safe subset (particularly on web): you can already do so (on web) via JS interop. But I do personally see a lot of value in keeping those sharp bits off to the side of the language where most people aren't likely to grab the pointy end by mistake.

This would be totally fine. If we could write some sort of (my syntax is totally made up):
void foo(dynamic x) {
  final keys = native```
    return ${x as Map}.keys;
  ```;
  print(keys);
}

(If it allowed inline-C/Assembly for the VM, maybe that would be great too for some folks)
I agree this definitely shouldn't be a misused part of the language, though. I could see it even being linted/not allowed outside of very carefully created and maintained code, i.e. framework-level.
@Hixie

But you have to have that check regardless, as discussed above.
Implicit casts involve the same check.

Not really :) In Dart 1.x, type annotations mean nothing outside of checked mode.
So this:
void foo(dynamic x) {
  Map mapX = x;
}

Is basically a no-op, or:
void foo(dynamic x) {
  dynamic mapX = x;
}

in production mode. However, literally every web user of dart2js uses two flags:

--trust-type-annotations
--trust-primitives

They basically let you "cheat", and use otherwise ignored type annotations to drive optimization. They are also dangerous, and basically mean "I've tested all of my code, in checked mode, and the type annotations all work!".
Dart2JS then interprets:
void foo(dynamic x) {
  var mapX = x /* infer: Map */;
  // At this point, mapX is a Map.
}

I know a lot of people on the Dart team weren't super happy about adding this feature, especially when in Dart 1.x type annotations were supposed to be for static tooling only and not driving optimizations.
In Dart 2.x we are sort of in murky water where now they are very important for optimization, but in AOT-runtimes (like Dart2JS), adding a is Map check to something called 1000s of times on a hot loop really hurts code size and runtime performance (these patterns are not always inline-able by V8).

@matanlurey You still have the type check, it's just in the JavaScript VM instead of in the JavaScript code.

Implementation detail :). We don't generate an extra type-check :)

@matanlurey You still have the type check, it's just in the JavaScript VM instead of in the JavaScript code.

I think that is essentially the point that @matanlurey is getting at (and why I am more sympathetic to these arguments on web).  On web, we pay the type check twice: once in the generated JavaScript, and once in the JavaScript VM.  The latter check doesn't strictly dominate the conditions ensured by the former check, but it is enough to ensure memory safety, and so when combined with good test coverage, our web customers are currently "happy enough" relying on it.

Exactly that. I guess I should change to "don't emit a language-level check".

In that case I think the trick with assert is definitely the way to go. It's not a language thing, it's a compiler implementation optimisation.

Hey @hterkelsen @rakudrama - how does the CFE + Dart2JS handle this today?

@matanlurey Not sure what you mean by 'handle this'. Perhaps you mean assert.
dart2js learns nothing from asserts.  assert is completely ignored without --checked or --enable-assert.
The rarely used option of using a function as a condition is too hard to analyze and I hope we remove it.

I'm closing this issue as I think it is confusing, and I want to track it as a dart2js feature.
Related: https://github.com/dart-lang/sdk/issues/31410


[Bug] Cannot install infinity plugin - Plugin not found

Describe the bug
Cannot install plugin "Infinity on Grafana". After clicking install, it shows an error and redirects to the install page again.
Add Administration > Plugins found error
Plugin not found That plugin cannot be found. Please check the url is correct or go to the plugin catalog.
Add Connections > Add new connection found error
Maybe you mistyped the URL or the plugin with the id yesoreyeram-infinity-datasource is unavailable. To see a list of available datasources please click here.
Steps to reproduce
Provide steps to reproduce the issue.

Open Administration > Plugins
Search for "Infinity"
Click the install button
Refresh infinity plugin page
found error page for 1-2 second and redirect to install page

Screenshots
Error after refresh when install at Administration > Plugins

Error after refresh when install at Connections > Add new connection

Version Details:

Grafana version: v10.2.2 (161e3cac5075540918e3a39004f2364ad104d5bb)
Plugin version: 2.9.1

i fix issue by give permission to Grafana plugin path

i fix issue by give permission to Grafana plugin path


Cleaned the previous code and also fixed the image issue with api.

Cleaned the previous code and also fixed the image issue with api.

Yep
On Mon, Jan 31, 2022, 17:05 Mansiviramgama @.***> wrote:

@.**** commented on this pull request.
In backend/pharmacy/api/urls.py
https://github.com/YadavGulshan/pharmaService/pull/6#discussion_r795584527
:

 path('token/', MyTokenObtainPairView.as_view(), name='token_obtain_pair'),

 path('token/refresh/', TokenRefreshView.as_view(), name='token_refresh'),
 path('token/verify/', TokenVerifyView.as_view(), name='token_verify'),

]
+
+urlpatterns = format_suffix_patterns(urlpatterns)
+
+
+# For media files
can we say that this section is particularly handling images
—
Reply to this email directly, view it on GitHub
https://github.com/YadavGulshan/pharmaService/pull/6#discussion_r795584527,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APH7MBA332QULFKERDTK2ADUYZXZ3ANCNFSM5NEJYKGA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Proxy support in cli

Running bin/gpm index behind a corporate proxy results in a foreach error.
Haven't done PHP this decade, but someone pointing me in the right direction will likely in a pull request :-)

Yah I don't think we have run into this before.. Couple of things would need to be done:

Have some proxy configuration settings in system.yaml, so they can be overridden by the user's config: https://github.com/getgrav/grav/blob/develop/system/config/system.yaml

Utilize these in Response.php: https://github.com/getgrav/grav/blob/develop/system%2Fsrc%2FGrav%2FCommon%2FGPM%2FResponse.php

Would prefer to use environment variables, to avoid hardcoding auth credentials in yet another file :)
Just got things installed and running, will look around and issue a pull request if I can get to it.

curl allows you to set the proxy as an environment variable (http_proxy & https_proxy), without changes needed in Grav, see http://stackoverflow.com/questions/7559103/how-to-setup-curl-to-permanently-use-a-proxy. You might need to disable allow_url_fopen to avoid Grav using fopen instead of curl

@flaviocopes we have a winner! Didn't know allow_url_fopen could unintentionally bypass all env variables set for curl to work. Looks like that is the easy fix, however it might be good to check in that foreach and spit out "unable to connect, could you be behind a proxy?" type of message instead of the php fatal.

That's because in Grav fopen is given priority over curl, if available.
The error message is annoying, you're right!

vote for reopen or new ticket for enhanced proxy support:
currently i have to add this in my system.yaml if i don't want to use curl
gpm:
  proxy_url: 'tcp://proxy.example.com:8080'

but i would prefer to let the grav read it from my env variables.
i configured my php to set the defaults for stream contexts in a php file which always gets included:
php.ini
auto_prepend_file = "proxy.php"

proxy.php
<?php

$stream_default_opts = array(
  'http'=>array(
    'proxy'=>"tcp://proxy.example.com:8080",
    'request_fulluri' => true,
  )
);

stream_context_set_default($stream_default_opts);

but it looks like grav overwrites this somewhere. i needed the proxy setting in the yaml file to make it work. other php apps on my system work out of the box with the proxy


Allow Measurement name to specified as a common attribute

Similar to tags and timestamps, it may be desirable to allow a Measurement name to be a common attribute of a batch of points.

Common attributes are not supported in the line protocol and the JSON protocol is deprecated. Closing issue.


CollisionPolygon2D doesn't display colors per generated quadrangle

Not sure of the "quadrangle" here. But look at this example : using Godot 1.1

and now, with latest 2.x :

This is the same scene, in which there is a sprite for the background, with a CollisionPolygon2D drawn on top of it, for having "solid" walls for interaction wiht the player. I suppose this is not a totally 100% correct workflow, but it works.
The colors were very useful, because the CollisionPolygon2D generates all those "quadrangles", i think this is the same be it in 1.x and 2.x ? Anyway there are some rare cases where one quadrangle is not drawn correctly and the collisions are ignored for that buggy area, which can be corrected by moving/adding some points in order to generate the missing quadrangle.

It is controlled by a compile-time flag, but it's still there. Should this flag be exposed run-time?

What flag?

DEBUG_DECOMPOSE. Line 149 of /scene/2d/collision_polygon_2d.cpp

Indeed: https://github.com/godotengine/godot/blob/9251298/scene/2d/collision_polygon_2d.cpp#L155
It was commented out by @reduz in https://github.com/godotengine/godot/commit/83d9a692be648668b5b363f2424c619e15639843#diff-90d27e5985a7771fb7e81ed5d76ae317R149
Should it be reactivated? Or exposed at an editor setting?

the commit comment reads -Customizable colors in project settings
maybe it is already exposed as an editor settings then......

anyway i can't find this setitng, if it's there.


Old published resources without an organization in resource.xml crash the IPT during loading.

In version 2.6.3, when a resource has been published but doesn't have an organization in resource.xml, other resources are loaded and a warning shown:

This can happen with resources last published before v2.2 (March 2015); I don't know the background for why this might have been necessary.
Starting in version 2.7.0, the IPT stops loading at this point without logging any error, so only some resources (depending on the order in the directory) are loaded.  Visiting /setup.do does show the stack trace:
Caused by: java.lang.IllegalArgumentException: Failed to reconstruct resource version because not all of organisation, version history, or version eml file were provided
	at org.gbif.ipt.utils.ResourceUtils.reconstructVersion(ResourceUtils.java:65)
	at org.gbif.ipt.service.manage.impl.ResourceManagerImpl.toSimplifiedResourceReconstructedVersion(ResourceManagerImpl.java:271)
	at org.gbif.ipt.service.manage.impl.ResourceManagerImpl.addResource(ResourceManagerImpl.java:254)
	at org.gbif.ipt.service.manage.impl.ResourceManagerImpl.load(ResourceManagerImpl.java:1539)
	at org.gbif.ipt.service.admin.impl.ConfigManagerImpl.loadDataDirConfig(ConfigManagerImpl.java:233)
	at org.gbif.ipt.service.admin.impl.ConfigManagerImpl.<init>(ConfigManagerImpl.java:90)
	at org.gbif.ipt.service.admin.impl.ConfigManagerImpl$$FastClassByGuice$$39b45602.newInstance(<generated>)
	at com.google.inject.internal.DefaultConstructionProxyFactory$FastClassProxy.newInstance(DefaultConstructionProxyFactory.java:89)

and adding a log statement before this exception is thrown shows it is organization that's missing.
I think this is because this try-catch block accommodating resources last published before v2.2 (March 2015) has gone: https://github.com/gbif/ipt/commit/647b80179582ca6d1c5f0cf2d600dc749879849c#diff-9cdea1d2cd4e8f47aba1c7add95b76ef315f2f473fbdacf6568d9a68a644c4bdL76-L96

Mikhail; this was an old, test dataset.  Depending who was first to log in to the IPT, it could be that the warning has gone unnoticed for years.  This can be a low priority (or maybe no priority at all) unless we see other cases, it should be very unusual.

Thanks Matt. This is something that we have to address in the next version. It silently swallows exception and does not load any resources after the exception.


[Addition]: Kerlink cluster is cheating all the time

Hotspot b58 Addresses
11ZcqpkCkwETKciaxw8amdVktiGWH6ShKf9H2p5M5G8FrDnnQsb
112b3TjQwKFRKZWguY4dRfCUVURwRQYyH2Lzvqyfe9QFxYnNzWKa
112gxeGkpECBQNmMnuLAhcqgGXENeJUxanFGRKgoPoh7vkFAqpTd
112G16cBBzsZNyNePrmgZVRfuz1d8H3QySuTuYxQ6xT2n6fFrSE7
11mmLzaMCvkaVMA5Y6brtBZD9H519DFYQoj6bZ2vd7BH1pVELda
112QFpAcfp56xJe56kAjoET63VF9j6bxfvQbuG7TGnnT5RwGjLyj
112wM65RrKjc6eds7cwtyEyaDdiKWZwrMRpUZaGi56Ef6anypi2a
112r7imxaHrgjhPYjB88Z4C3UXHnzBG6YKi8m5V8vD3G9DJARr1x
11UnXwL657Z8zwwLp5ZuW9P9gWBgHD1FpoLnUhXP8xVNNPNEU4g
11j9TJmUbQTYUSxW1NbozNGQjhwa7N5MBzZRyB7Yt2yoWckp5X8
112vFCr9rfE24Ryn9b3EAgmjx239yhTZf3aNuE5xbtXPBtG54VLC
11HTTZcGCnd4Bht9iuFhoDVkbJ6tQB8L34qmdHyNntxBKXStSzi
Discord Handle
No response
Reason(s)
they are obvious self-witnessing and impossible long distance
Well spread across 3 locations with perfect transmission scale
This is a cluster of many hotspots witnessing each other only.

Really self witnessing ?
As I can extract : no

Maker
Number of witnessed

Cal-Chip Connected Devices
2

Kerlink
2

SenseCAP
8

Nebra Ltd
5

Bobcat
9

Milesight
3

PantherX
1

None
3

Pisces Miner
2

Heltec Automation
2

The farest is : obedient-admiral-grasshopper	28.311 km	SenseCAP!!


Fix ZPath construction

fixes #1 for ZPath

haha I fixed it in the meantime on my side thanks. Fixed in 0.1.1 via https://github.com/AlexandreBonaventure/vue-zdog/commit/18fc2a80215cc999fd54a3287ea030bac6cb6061


Update "strings2.rs" link

Add 1 newline to the "strings2.rs" link on rust playground so that the hints at the bottom are completely obscured on the initial page load.
Used the "Shorten Link" option from the Playground to create the new url.

Ooooh good catch! I'm going to keep the link long though, since there's a script I can run on the code files to create them all automatically instead of having to make shortlinks, but I've got the code from your shortlink :) Thank you!!! ❤


Reword the reinit_missing_repos message to be clear about what it does

I was confused by current wording, which seemed to imply that
records would be initialized, while instead the function initializes
the git repositories instead, where missing but referenced.

LGTM

LGTM


xdebug and opcache not working. Fixed

After installing the full package installer 0.8.4 some php extensions where not installed on folder php/ext.
With Webinstaller  0.8.4 the extensions were downloaded properly but couldn't get xdebug and opcache to work.
I found the following error on php.ini on line 2012
instead of:
zend_extension=php_opcache.dll
Should be:
zend_extension=C:/server/bin/php/ext/php_opcache.dll
and should add the following line in order to have xdebug working:
line 2013 should add:
zend_extension=C:/server/bin/php/ext/php_xdebug.dll
Hope it helps someone

Ok, lets fix this...

[ ] PHP Extensions not extracted

download and extraction works in Webinstaller
extraction fails in Full/Standard installer

[ ] xdebug not properly configured in php.ini
[ ] opcache not properly configured in php.ini


[GitHub Review Requests] Bug if you don't choose read:org

Extension
https://github.com/raycast/extensions/tree/34c65c7f190ad172e46c75384600aa938f932e98/extensions/github-review-requests/
Description

Error:
Error: Your token has not been granted the required scopes to execute this query. The 'id' field requires one of the following scopes: ['read:org', 'read:discussion'], but your token has only been granted the: ['repo'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens.: {"response":{"errors":[{"type":"INSUFFICIENT_SCOPES","locations":[{"line":51,"column":17}],"message":"Your token has not been granted the required scopes to execute this query. The 'id' field requires one of the following scopes: ['read:org', 'read:discussion'], but your token has only been granted the: ['repo'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens."},{"type":"INSUFFICIENT_SCOPES","locations":[{"line":52,"column":17}],"message":"Your token has not been granted the required scopes to execute this query. The 'name' field requires one of the following scopes: ['read:org', 'read:discussion'], but your token has only been granted the: ['repo'] scopes. Please modify your token's scopes at: https://github.com/settings/tokens."}],"status":200,"headers":{}},"request":{"query":"query SearchPullRequestsWithDependencies($query: String!) {\n  search(type: ISSUE, first: 50, query: $query) {\n    nodes {\n

176:         You must pass the onSecondaryRateLimit and onRateLimit error handlers.
---

p:actionablePullRequests.js:173:15966
Object.next:actionablePullRequests.js:173:15270
s:actionablePullRequests.js:173:14828

Steps To Reproduce
No response
Current Behaviour
No response
Expected Behaviour
No response

Oh. That's bad. Thank you for spotting this. I'll look into showing errors instead of crashing

I have a hard time finding when I can tackle this 😐
Please keep this open for a little bit longer, raycast bot


Fix the building of docker image

Fixes #523.
Building Docker image was failing due to the outdated ruby base image. Updated to ruby:latest.

This should also fix the automated container build.

Sadly all attempts to run the container ends with:

2021-06-06 10:48:39,502 DEBG 'unicorn' stdout output:

2021-06-06 10:48:39 - ActiveRecord::RecordNotFound - Couldn't find User with 'id'=1:

	/app/vendor/bundle/ruby/2.3.0/gems/activerecord-4.2.10/lib/active_record/core.rb:155:in `find'
	/app/app/repositories/user_repository.rb:7:in `fetch'
	/app/app/helpers/authentication_helpers.rb:20:in `current_user'
	app/views/layout.erb:22:in `block in singleton class'
	app/views/layout.erb:-5:in `instance_eval'
	app/views/layout.erb:-5:in `singleton class'
	app/views/layout.erb:-7:in `__tilt_14856460'
	...
	/usr/local/bin/bundle:22:in `load'
	/usr/local/bin/bundle:22:in `<main>'

Any ideas? The problem is clearly with initial user creation, but I don't have time to solve it now. This is WIP until resolved.

Should work now. Please check


better match nested comment blocks

Nice!  Really glad to have this bug fixed, thanks.  Available in version 2.4.0.


Add CRD to helm chart

Towards: https://github.com/giantswarm/giantswarm/issues/22490
Add CRD to helm chart

This will work and I think it's a good approach. Just FYI this approach is not the same approach we have been following on other components for managing CRD. There are some apps that use a different helm chart just for the CRD. And there are others (CAPI for example) where we kubectl apply the CRDs from a helm job.

This will work and I think it's a good approach. Just FYI this approach is not the same approach we have been following on other components for managing CRD. There are some apps that use a different helm chart just for the CRD. And there are others (CAPI for example) where we kubectl apply the CRDs from a helm job.

that is what I was asked to do ¯_(ツ)_/¯


Remove mode

adios modios

Site is forcing false as well so all restarts will flip

I wish. I didn't code it that way, but should have. devAllowed only gated the UI.


[TFLM] Person detection benchmark build broken when generating Makefile projects

@tensorflow/micro
System information

Host OS Platform and Distribution (e.g., Linux Ubuntu 16.04):
TensorFlow installed from (source or binary):
Tensorflow version (commit SHA if source):
Target platform (e.g. Arm Mbed OS, Arduino Nano 33 etc.):

Describe the problem
Please provide the exact sequence of commands/steps when you ran into the problem
When generating a Makefiles project for the person detection benchmark build fails due to some missing headers.
Command used: make -f tensorflow/lite/micro/tools/make/Makefile  generate_person_detection_benchmark_make_project
I will open a PR shortly with a fix.

@yair-ehrenwald
We see that you have raised a pr, this issue will close once the pr is merged.
please update the tf version in the template.


windows10 s.Read(buffer) is empty

config := &serial.Config{Name: "COM3", Baud: 2400, Parity: 'E', StopBits: 1, ReadTimeout: time.Second * 5}
port, err := serial.OpenPort(config)
checkErr(err)
defer port.Close()
n, err := port.Write([]byte("FEFEFEFE68310010111819681104333334333516"))
checkErr(err)

//read
buffer := make([]byte, 1024)
n, err = port.Read(buffer)
checkErr(err)
log.Printf("read：%q", buffer[:n])

//I added sleep. It's OK.
time.Sleep(1 * time.Second)
buffer := make([]byte, 1024)
n, err = port.Read(buffer)
checkErr(err)
log.Printf("read：%q", buffer[:n])

I added sleep. It's OK.Is there any other way?

Read in a loop until you got everything. If read repeatedly returns early, add a sleep calculated from expected data length and baud rate.


E2E tests failed on sctp traffic test due to "cannot allocate memory"

Describe the bug

In ipv6-only-e2e:
0510 19:38:36.982973   22476 k8s_util.go:175] z-tmlmurdy/c -> y-tmlmurdy/a: expected Con but got Err: err - command terminated with exit code 1 /// stdout -  /// stderr - OTHER: cannot allocate memory
OTHER: cannot allocate memory
OTHER: cannot allocate memory

I0510 19:38:36.994847   22476 k8s_util.go:175] x-tmlmurdy/a -> y-tmlmurdy/c: expected Con but got Err: err - command terminated with exit code 1 /// stdout -  /// stderr - OTHER: cannot allocate memory
OTHER: cannot allocate memory
OTHER: cannot allocate memory

I0510 19:38:37.008945   22476 k8s_util.go:175] y-tmlmurdy/b -> z-tmlmurdy/b: expected Con but got Err: err - command terminated with exit code 1 /// stdout -  /// stderr - OTHER: cannot allocate memory
OTHER: cannot allocate memory
OTHER: cannot allocate memory

I0510 19:38:37.814663   22476 k8s_util.go:175] z-tmlmurdy/b -> z-tmlmurdy/a: expected Con but got Err: err - command terminated with exit code 1 /// stdout -  /// stderr - OTHER: cannot allocate memory
OTHER: cannot allocate memory
OTHER: cannot allocate memory

In ipv6-only-networkpolicy:
May 10 17:30:46.566: INFO: ExecWithOptions {Command:[/agnhost connect [fd74:ca9b:172:17::28d9]:80 --timeout=1s --protocol=sctp] Namespace:sctp-network-policy-3362-y PodName:b ContainerName:cont-80-tcp Stdin:<nil> CaptureStdout:true CaptureStderr:true PreserveWhitespace:false Quiet:false}
May 10 17:30:46.566: INFO: >>> kubeConfig: /tmp/kubeconfig-570473931
May 10 17:30:46.872: INFO: sctp-network-policy-3362-y/b -> fd74:ca9b:172:17::28d9: error when running command: err - command terminated with exit code 1 /// stdout -  /// stderr - OTHER: cannot allocate memory
May 10 17:30:46.872: INFO: Starting probe from pod b to fd74:ca9b:172:17::603a

ipv6-only-e2e.log
ipv6-only-networkpolicy.log

The issue is not fixed and not root caused, reopening it for tracking


http-client-java, do not generate model under models sub package, for unbranded

also bump TCGC
output

No changes needing a change description found.


Feature request: Option to disable info popup

New Issue Checklist (tick off like this: [x])

[x] I checked existing issues (open and closed) for possible duplicates
[x] I can reproduce the problem on the latest stable version (not nightly!)

What is your browser?

[ ] Firefox
[x] Chrome

What is your operating system?

[ ] Linux
[ ] Mac
[x] Windows

Description (please include examples/screenshots where applicable)
It is necessary to have an option to disable info popup when changing scaling mode.
In my case, I only use two modes: Natural size and Fit image to browser window (respecting the aspect ratio), and it is obvious which one is selected, info popup only distracts and irritates.
For the time being, I've done this for myself by deleting 2 lines in function flashInfo():
showInfo();
infoTimeout = setTimeout(hideInfo, 2000);

I will probably make the time configurable. So 0 for off and then whatever value is provided as argument to setTimeout. But I don't have much time on my hands at the moment...


fix: make game end with losing player last move when twosided resign

for twosided resign only
handle cases where game is adjudicated one ply later compared to cutechess when black is the one winning

also got rid of the " loses by adjudication" message since that does not exist in cutechess


Delete socket if it already exists in virt-launcher

Signed-off-by: Roman Mohr<EMAIL_ADDRESS>

retest this please

retest this please

retest this please


Lambdas and functional programming

This may be overkill, and I think it's slipping dangerously close to the realm of a Real Programming Language. BUT I think it'd be useful. (Just stay away from loops, conditionals, system interface, ...).
Brainstorming:
f = \Int x, Int y {
    z = x + y;
    z^2
};
f(1, 2);
map(f, {1, 2}, {3, 4});
zip({1,2}, {3, 4});
reduce(...);
apply(f, 1, 2);
filer(\ Int x { x % 3 == 0 }, 1..100); ---> {3, 6, 9, ...}
g = \Real x {
    x^2 - 2*x + 1
};
find_roots(g, initial_value: 0);   --> returns {-1}
compose(\Real x { x^2 }, \Real x { 2*x });
curry(f, 0);
derivative(curry(f, 1), 0);  --> numerical derivative of ( around 0
h = \ { 1 }; ---> constant function
---> can omit types or use Any
u = \ x, Any y { floor(y) * x };

Function calls would work by first checking the built-in functions, then variables.
Outstanding questions:

How to handle nested functions. Presumably want lexical closures. Probably simple-ish to do capture-by-value.
What about variable shadowing? How to define a new variable when it potentially shadows one in an outer scope?
(Less essential) How to curry by providing the i-th argument out of N? Not sure what that interface would look like. How does Haskell do it... then again, Haskell is more restricted by being statically typed.

Alternatively, functions could be restricted to only mathematical expressions. No assignments or nothin'. Then they could be symbolically derived.

ALSO, a way to define a function in the "namespace" of a type. So kinda like calling a method of an object.
array.filter(...).map(...) is more readable than map(filter(array)), methinks.
Or, perhaps x.f(y, z) is just syntax sugar for f(x, y, z).


HAPI-215 views in hdx python database

Integrating changes from: https://github.com/OCHA-DAP/hdx-python-database/pull/5

You'll need to upgrade to hdx-python-database 1.2.8


Make QR (links) page responsive.

OBSERVED BEHAVIOUR
The newly created QR page  containing important links for OLS looks good on desktop. However, it is not very responsive on mobile. Some texts are spilling out of their containers, as seen in the image below.

EXPECTED BEHAVIOUR:
Make page responsive, with content occupying appropriate width and height.
ADDITIONAL INFORMATION:

The layout for this page is found here.
The styling for this page is located here  in this stylesheet.

Thank you!

This is quite out of date - @NPDebs can you review and update the status when you have time?

Fixed with PR #860.


TotalEDVisits, TotalInpatientVisits, TotalEDInpatientVisits

The counts aren't necessarily making sense.
Action: Review scenarios and reach out to James/Emily if needed.

Tables were validated against raw data.
Skew relates to Active_In_Year, the treatment of single-year data pulls versus multi-year data pulls, as well as the fact that the 2010 and 2011 tables were generated from an earlier batch than the tables from later years.

SUMMARY:
COHORT:4 (Active_In_Year = 1, created in year 2010)
2016
ED 19550, 748, 545,...
Inpatient 21881, 517, 156,...
ED/Inpatient 19547, 734, 547,...
2010
ED 13877, 3562, 1429,...
Inpatient 18796,3500,469,...
ED/Inpatient 640, 15059, 4002 ...
COHORT:98 (Active_In_Year = 1, created in year 2016)
2016
ED 4866, 17637, 10565,...
Inpatient 40747, 10569, 2193,...
ED/Inpatient 4585, 17609, 10634,...
2010
ED 51342, 1818, 698,...
Inpatient 53926, 641, 116,...
ED/Inpatient 51069, 1911, 752,...
COHORT:3 (all, created in year 2010)
2016
ED 107516, 17638, 10567,...
Inpatient 143401, 10571, 2194,...
ED/Inpatient 107235, 17610, 10636,...
2010
ED 139057, 13879, 3564,...
Inpatient 155126, 3500, 469,...
ED/Inpatient 136966, 15061, 4004,...
COHORT:101 (all, created in year 2016)
2016
ED 107516, 17638, 10567,...
Inpatient 143401, 10571, 2194,...
ED/Inpatient 107235, 17610, 10636,...
2010
ED 137394, 13720, 3504,...
Inpatient 153287, 3434, 459,...
ED/Inpatient 135353, 14867, 3938,...
COHORT:3 n=163266 and COHORT:101 n=161348. Theoretically, the cohorts should be identical. Difference is due to patients with age >= 90 in 2016 but age < 90 in 2010.

Other options for Active_In_Year are under review.

10.26.20: Confirmed with Emily and James that our approach for calculating Active_In_Year is valid.
From Hao, 10.21.20:
Currently, we take the union of all pids from all years. and generate a row for each pid for every year. The Active_In_Year feature in icees tables is calculated from the Patient resources. For each year, the pids in the Patient resources in that year have value 1, pids not in the Patient resources in that year have value 0.
I'm working on a new version which doesn't depend on the patient resource. Rather, it looks at other resources in the dataset. The interpretation is that: if Active_In_Year is 0 for a pid in a year, then there is no Medication/Condition/Diagnosis/Encounter/Lab/etc for that patient in that year in the dataset. Otherwise, then there is at least one Medication/Condition/Diagnosis/Encounter/Lab/etc for that patient in that year in the dataset.

Validated data.
Confirmed with Emily and James on 10.26.20 that current approach is appropriate.


LinkedIn scraping

Hi @nikhil25803, I am a GSSOC'23 contributor
A feature that gets the LinkedIn information of a user could be added.
Using web scraping, we can fetch information about a user's profile on LinkedIn, such as: bio, education, experiences, activity, connections, followers, etc.
Kindly assign me this issue.

hi @nikhil25803  i also used web-scraping in my project named as course differentiator using beautiful soup where I scrape the data of course providing platforms like coding ninjas, Coursera, etc. I can easily scrape the LinkedIn data easily please assign this task to me I m a GSSOC'23 contributor

Sure, go ahead @mvpfrever. Make a different module and class first as per the project structure. Do not add multiple methods at first. Start with your name and bio.
So @mvpfrever - Create a Separate class and create a method to get the name on the providing account ID.
Eg. - For the URL https://www.linkedin.com/in/nikhil25803/, my Id is nikhil25803. Create a method .get_name() to scrape the name.
And @mvpfrever - You work on the scraping of the Bio of the user.
You two can connect for this issue, so that do not create a separate module at once.

@nikhil25803  sir I have to scrape both name and bio?

@nikhil25803  sir I have to scrape both name and bio?  And 1 more thing we have to scrape a data of any organization's employee or whole the linkdin user because there are so many user in LinkedIn

Scrape the name only at first @mvpfrever.
And we have to scrape the data of a particular user based on the user ID provided. I have shown you the example as well.

@nikhil25803 Since I have created this issue and have asked for it to be assigned to me first, can I have the first shot at it?

Sure @DyuthiVivek !! Get in touch with @mvpfrever and co-ordinate on this.

Sir name scrapped what next?

@nikhil25803 I am working on scraping the bio, I will be done by the weekend.

Hi,
I'm Babar Rasheed (Contributor GSSOC'23)
Many websites don't offer API so to tackle this we can use Web Scraping to access data in an easy and structured manner.
Python libraries like bs4, BeautifulSoup, Scrapy, Selenium, etc. are generally used for web scraping.
Here I'm willing to apply these libraries and use an effective way of Multiprocessing to speed up Web Scraping.
Multiprocessing is very helpful when multiple URLs are scraped to get the data. It will perform scraping on multiple URLs thus saving our time.

@DyuthiVivek  is bio scraping done?

@mvpfrever I am working on it and will raise my pr as soon as I am done. If there is no dependency for you, you can raise your pr.

Guys @mvpfrever and @DyuthiVivek, any updates?

@nikhil25803  sir I already completed my part waiting for your call what next I have to do

Make a PR @mvpfrever

@nikhil25803 LinkedIn seems to be resisting scraping by throwing a captcha or by forcing to add a verification code sent via e-mail. This breaks the scraping logic. It seems to work for only some profiles. Any tips on how to avoid verification?

@DyuthiVivek | Maybe that is the issue, I do not have any solution in mind for now.
If possible, give it one more try, else close the issue for now.

@nikhil25803 closing the issue.


Make a custom Material UI theme to match Joy UI default theme

Is your feature request related to a problem? Please describe.
Default Material UI component styling such as Typography is different to default Joy UI styling. This makes my website styling inconsistent.
Describe the solution you'd like
Make the Material UI theme match the Joy UI theme.

#22 makes this issue no longer needed. Typography component in Timeline component uses Joy UI Typography


enabling sockets on 0.4.6

How do you enable sockets for testing in the latest version? I have tried adding the following to conftest.py:
from pytest_socket import enable_socket

def pytest_runtest_setup():
    """Enable socket for tests - default is to disable."""
    enable_socket()

and the following in the test function:
async def test_cms_responses(hass, socket_enabled):

but still get pytest_socket.SocketConnectBlockedError: raised when the test runs.

I'm not very familiar but have you tried the built in fixture?
https://github.com/MatthewFlamm/pytest-homeassistant-custom-component/blob/47521e5ffc41f921ec822390199307c1325c7bdd/pytest_homeassistant_custom_component/plugins.py#L96

I'm not very familiar but have you tried the built in fixture?
https://github.com/MatthewFlamm/pytest-homeassistant-custom-component/blob/47521e5ffc41f921ec822390199307c1325c7bdd/pytest_homeassistant_custom_component/plugins.py#L96

How do you use the fixture in a test function or conftest.py,  I tried passing socket_enabled to the function as per the example above but that didn't work.

How do you use the fixture in a test function or conftest.py, I tried passing socket_enabled to the function as per the example above but that didn't work.

Like you did in your original comment.  I'm not sure how the socket functionality works, but if you figure it out, we can put in a pointer here.

All the examples in the core repo look something like this:
https://github.com/home-assistant/core/blob/4746ff379823fe552cb241a5fa65ebb59cdc20f3/tests/components/motioneye/test_camera.py#L66

I have not had any luck with resolving, this suggests it may be related to the fixture resolution order:
https://github.com/miketheman/pytest-socket/issues/45
and a similar issue reported here:
https://github.com/miketheman/pytest-socket/issues/57

Does having pytest_runtest_setup in the plugin override or prevent enable_socket being set by the local test function setup?

I believe that the default behavior in the plugins here is to allow only host <IP_ADDRESS>.  Have you verified that it isn't failing because of trying to reach another host?

Thanks, I managed to get it working by changing all localhost references explicitly to <IP_ADDRESS> and using the socket_enabled marker. In my view the plug-in code should also explicitly allow ::1 which is equivalent to <IP_ADDRESS> and referenced in the error message as a blocked address.

In my view the plug-in code should also explicitly allow ::1 which is equivalent to <IP_ADDRESS> and was referenced in the error message as a blocked address.

I'm going to close this, since it seems you have an issue with either pytest-socket or the implementation thereof in home-assistant/core.  The plugins here are taken directly from home-assistant/core with only minimal changes needed for custom components.  These minimal changes are mainly due to file path changes when testing directly in core vs. as a custom component.


How to disable translation?

For single language website, how to disable translation?

Hi,
You can first remove the locale from the url by setting this setting to true: https://github.com/AsgardCms/Platform/blob/develop/config/laravellocalization.php#L33
Followed by removing the Translatable trait , Translation model, its migrations etc.
You can check https://github.com/dimsav/laravel-translatable for more information on that

Thanks, for current need it works.
How about put this setting to database so we can enable/disable this feature via backend setting?


Added new hover color

Added a new Hover color to the link inside Footer

This was completed in PR #113


Feature Request: attach samples/pairs in set to participant

dalmatian has a function to attach all samples/pairs in the workspace to corresponding participants, but I want to attach just samples/pairs in a set.

So basically, it would do the same function to update participant.samples_ (or pairs) but only on a given sample_set or pair_set?

Yes, exactly.


Web Interface

The web interface should be extremely easy to set up by automatically laying out things based on their semantic relationships that are already defined. It should also be very easy to override this behavior when desired and to create completely custom control panels which are separately linked to items.

Currently partially implemented as a module. Will leave open until it's much more reasonable and looks nicer

Good enough for now. Issue should be moved to idiotic-config or idiotic-modules anyway


File not found in pod does not result in an error

Describe the Bug
File not found in a pod when using --volume prints
tar: results: Cannot stat: No such file or directory
tar: Exiting with failure status due to previous errors
unable to tar pod files "dir": command terminated with exit code 1

but doesn't actually cause kubectl-ran to fail.
Expected Behavior
It's intentional that mirroring a volume that doesn't exist locally works, but if the volume doesn't exist in the pod after executing the command that seems like a command failure and should cause an error.
Steps to Reproduce
Steps to reproduce the behavior:

kubectl ran busybox --volume dir:dir -- mkdir notdir

Environment

Version 0.1.2
Platform macOS + Docker Desktop

This was somewhat intentional - https://github.com/puppetlabs/kubectl-ran/blob/main/pkg/ran/copy.go#L48 - but I don't think it's the right behavior. We should capture that error and fail the run.


Manual sorting still triggering row sort

Describe the bug
I added the manualSorting flag to my table setup to be able to use server side sorting, as stated in the documentation:
Enables sorting detection functionality, but does not automatically perform row sorting. Turn this on if you wish to implement your own sorting outside of the table (eg. server-side or manual row grouping/nesting)

To Reproduce
  const {
    pageOptions,
    previousPage,
    nextPage,
    state: { pageIndex, pageSize, sortBy },
    getTableProps,
    getTableBodyProps,
    headerGroups,
    page,
    prepareRow,
    canPreviousPage,
    canNextPage,
    setPageSize,
    gotoPage,
  } = useTable(
    {
      columns,
      data,
      initialState: { pageSize: 10 },
      disableMultiSort: true,
      manualSorting: true,
    },
    useSortBy,
    usePagination,
  );

Expected behavior
As the documentation states, I expect the internal state to be updated but no actual sorting taking place until I manually trigger it.
Desktop (please complete the following information):

OS: [e.g. iOS] Mac OS X Catalina
Browser [e.g. chrome, safari] Chrome

Hmmm. Do you have a codesandbox I can look at that exhibits this bug?

Also, make sure you're using the latest version of the library, and take note that manualSorting was renamed to manualSortBy recently.

can you share an example of how to implement server-side sorting


Enhance the Search Capability by allowing Key Word

*Problem:
Currently tables are the only that can searched by key_word. Schemas, Fields do not have this feature. It will be also useful to be able to search the key word at any part of the schema, field or table.
This is an example of how it should look, this is an Athena Feature:

Here we are interested in finding all the Schemas with the key word - "_prod", which bring all the matches at the part of the name of the schemas. It will be extremely useful to apply this to fields and tables. Without this feature in the case of Schemas for our purposes it will be easier to find the data needed directly from Athena.

@ShaileshParmar11 I am assigning it to you since we discussed it this morning.
Thank you @jsuarez-ravenpack for the UX improvement suggestion.

Thanks for looking into this!!
On Mon, Oct 10, 2022 at 3:17 PM Nahuel @.***> wrote:

@ShaileshParmar11 https://github.com/ShaileshParmar11 I am assigning it
to you since we discussed it this morning.
Thank you @jsuarez-ravenpack https://github.com/jsuarez-ravenpack for
the UX improvement suggestion.
—
Reply to this email directly, view it on GitHub
https://github.com/open-metadata/OpenMetadata/issues/8060#issuecomment-1273299892,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3BMUQXPMMYI7KOHPLEV4B3WCQJOLANCNFSM6AAAAAARBKYPKU
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Juan Carlos Suarez
Data Acquisition Specialist
[image: RavenPack International]
Tel: +34-952907390 <+34%20952%2090%2073%2090>
Fax: +34-952907391 <+34%20952%2090%2073%2091>
===========================================
This message and any files transmitted with it may contain
confidential and/or proprietary information, is the property of
RavenPack International SL and/or its subsidiaries, and is directed
only to the addressee(s). If you are not the designated recipient
or have reason to believe you received this message in error,
please delete this message from your system and notify the
sender.

@ShaileshParmar11 please give an update on this

Hi, @harshach This is something related advance search, highlighting the keyword in the result! still, work is pending on this we will prioritize this!
cc @aniketkatkar97


Landscape splash screens generate but iPhone SE simulator shows stock Cordova splash

From @EWBears on April 19, 2017 20:1
Ionic version:  (check one with "x")
[ ] 1.x
[X] 2.x
[X] 3.x
I'm submitting a ...  (check one with "x")
[X] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
I ran ionic generate resources in terminal and the three iOS splash screens were generated
Default-Landscape-736h.png
<EMAIL_ADDRESS>Default-Landscape~ipad.png
When I run ionic emulate ios the default iPhone SE simulator does not use any of these images as a splash.  Running the other iOS simulators does use these splashes.
Expected behavior:
iPhone SE simulator will use one of the three generated splash screens.
Steps to reproduce:
Set config.xml preference to landscape, run ionic resources, run ionic build/emulate ios
Related code:
From config.xml
 <platform name="ios">
    <allow-intent href="itms:*"/>
    <allow-intent href="itms-apps:*"/>
    <icon src="resources/ios/icon/icon.png" width="57" height="57"/>
    <icon<EMAIL_ADDRESS>width="114" height="114"/>
    <icon src="resources/ios/icon/icon-40.png" width="40" height="40"/>
    <icon<EMAIL_ADDRESS>width="80" height="80"/>
    <icon<EMAIL_ADDRESS>width="120" height="120"/>
    <icon src="resources/ios/icon/icon-50.png" width="50" height="50"/>
    <icon<EMAIL_ADDRESS>width="100" height="100"/>
    <icon src="resources/ios/icon/icon-60.png" width="60" height="60"/>
    <icon<EMAIL_ADDRESS>width="120" height="120"/>
    <icon<EMAIL_ADDRESS>width="180" height="180"/>
    <icon src="resources/ios/icon/icon-72.png" width="72" height="72"/>
    <icon<EMAIL_ADDRESS>width="144" height="144"/>
    <icon src="resources/ios/icon/icon-76.png" width="76" height="76"/>
    <icon<EMAIL_ADDRESS>width="152" height="152"/>
    <icon<EMAIL_ADDRESS>width="167" height="167"/>
    <icon src="resources/ios/icon/icon-small.png" width="29" height="29"/>
    <icon<EMAIL_ADDRESS>width="58" height="58"/>
    <icon<EMAIL_ADDRESS>width="87" height="87"/>
    <splash src="resources/ios/splash/Default-Landscape-736h.png" width="2208" height="1242"/>
    <splash<EMAIL_ADDRESS>width="2048" height="1536"/>
    <splash src="resources/ios/splash/Default-Landscape~ipad.png" width="1024" height="768"/>
  </platform>
<preference name="Orientation" value="landscape"/>

Other information:
Ionic info: (run ionic info from a terminal/cmd prompt and paste output below):
Cordova CLI: 6.5.0
Ionic Framework Version: 3.0.1
Ionic CLI Version: 2.2.1
Ionic App Lib Version: 2.2.0
Ionic App Scripts Version: 1.3.0
ios-deploy version: 1.9.1
ios-sim version: 5.0.13
OS: OS X El Capitan
Node Version: v6.10.1
Xcode version: Xcode 8.2.1 Build version 8C1002

Copied from original issue: driftyco/ionic#11281

I am having this same issue for iOS builds, it's working fine for 6s plus but not for 6s.
*splash screen issue

This issue has been automatically closed because it had the v2 label. Please install the new CLI v3 (npm install -g ionic@latest). See CHANGELOG.md#Upgrading from CLI v2 for details.
If this issue is still a problem in CLI v3, please create a new issue. Thank you!


Add --compatible-only option to benchmark tools

This option enables the compatible benchmark filtering based on the detected device information. And we disable the compatible filter by default.
With the new benchmark suite, we provide a list of benchmarks to run. And the benchmark tools only run benchmarks of the target device specified by --target_device_name. This means the list of benchmarks has been filtered for a specific device. Therefore, by default we can disable the compatible benchmark filtering (based on detected devices) and let users to enable it when needed.
This will give the benchmark tools a simpler behavior (no auto-filtering) and more visible errors (failures) when trying to run incompatible benchmarks.

Kindly ping


Identifying new teacher account holders

Heather and I would like to keep our records up to date, without repeatedly asking for downloads.
Would it be possible to add another field to the results returned by the Administrative Tools 'Find user'?
Currently it tells us
Name	Email	User Role	School Set	Member Since	Last Seen	Actions
Could you add to that 'Teacher Since'?
Then we'd be able to sort by recency of 'teacher since' and add any new teacher account holders to our contacts s/s.
Otherwise, when we send out important mailings, we can't be sure that we are including everyone.

This is currently not possible as we don't store this information.
When we move database management system we will be able to take this into account.


Precision - DalyBMS

Hi!
I was reading this post  here
It is mentioned that they calibrate the voltage and current measurements with a 6 1/2 digit resolution HP/Agilent meter but from the program, this precision isn't displayed. Is there a way to modify and get the higher precision?
Thank you always!
Nesrine

Hi,
the program doesn't round up the values, it displays them with the same precision that gets from the BMS and as the Windows app does.
For which use-case do you need a higher precision? I'm using the data from the BMS to set limits for other devices (inverter, charger), but my battery pack is so big that I don't rely on multi-digit decimal values.

Hello!
I did a more thorough analysis and was able to confirm that it is due to the chip itself.
Thanks for the quick response!


Adds mask to ZoI rings and does not allow growth off the plate

 Kirby: Prevent movement outside of the petri area (or don't count it in the simulation)


Conversion options

Discussed in https://github.com/peter88213/zim2obsidian/discussions/7

Originally posted by peter88213 July 22, 2023
Currently (v0.4), zim2obsidian has a fixed set of features:

Remove each note's first level heading and rename the file accordingly.
Replace Setext-style headers with Atx-style headers.
Convert horizontal rulers.
Convert internal links to other pages from Markdown standard to Obsidian style.

The script could be re-designed in a modular way, so that each feature is implemented in a subroutine that is called optionally.
The options can be passed by command line parameters, or read from a configuration file.

Currently (v0.6.0), you can edit the script to enable/disable the options:
# Configuration (to be changed by the user).

RENAME_PAGES = True
# if True, rename pages according to the names given by the top first level heading.

REMOVE_FIRST_LINE = True
# If True, remove the top heading inserted with Zim's default Markdown exporter template.

CHANGE_HEADING_STYLE = True
# If True, replace Setext-style headings with Atx-style headings; convert rulers.

REFORMAT_LINKS = True
# If True, change Markdown-style links to Obsidian-style links.

With version 0.13.0, an argument parser is introduced.


[test] Don't Run Unit Tests Concurrently

Description
This PR closes https://github.com/demikernel/demikernel/issues/748

Looks fine to me but we probably don't need to run the unit tests twice for any of the other libOSes either, so I'm fine with just removing line 149.

Sure, I'll drop it as well.


fix: add popper/core

Maybe this is fixed in another PR, ~but currently master doesn't build because of it.~
Actually, node_modules issues 🤦

@kyranjamie I'm not sure I understand,

Actually, node_modules issues

What's the error? LGTM otherwise.


KIOST-ESM-tasmax.yaml fails clean step in a variety of colorful ways.

From run https://argo.cildc6.org/workflows/default/e2e-tasmax-jobs-f8dkt
KIOST-ESM tasmax fails cleaning validation a couple different errors.
Log from ssp245:
Validating gs://clean-b1dbca25/cmip6/ScenarioMIP/KIOST/KIOST-ESM/ssp245/r1i1p1f1/day/tasmax/gr1/v20191202.zarr
Traceback (most recent call last):
  File "/argo/staging/script", line 18, in <module>
    _test_timesteps(ds, data_type, time_period)
  File "/opt/dodola/dodola/core.py", line 645, in _test_timesteps
    assert (
AssertionError: projection cmip6 file is missing timesteps, only has 21535

From ssp126 (note the different timestep count):
Validating gs://clean-b1dbca25/cmip6/ScenarioMIP/KIOST/KIOST-ESM/ssp126/r1i1p1f1/day/tasmax/gr1/v20191202.zarr
Traceback (most recent call last):
  File "/argo/staging/script", line 18, in <module>
    _test_timesteps(ds, data_type, time_period)
  File "/opt/dodola/dodola/core.py", line 645, in _test_timesteps
    assert (
AssertionError: projection cmip6 file is missing timesteps, only has 4380

ssp585, on the other hand, bombs validation with invalid tasmax values:
Validating gs://clean-b1dbca25/cmip6/ScenarioMIP/KIOST/KIOST-ESM/ssp585/r1i1p1f1/day/tasmax/gr1/v20191202.zarr
Traceback (most recent call last):
  File "/argo/staging/script", line 44, in <module>
    tasks = dask.compute(*tasks)
  File "/opt/conda/lib/python3.9/site-packages/dask/base.py", line 570, in compute
    results = schedule(dsk, keys, **kwargs)
  File "/opt/conda/lib/python3.9/site-packages/dask/threaded.py", line 79, in get
    results = get_async(
  File "/opt/conda/lib/python3.9/site-packages/dask/local.py", line 507, in get_async
    raise_exception(exc, tb)
  File "/opt/conda/lib/python3.9/site-packages/dask/local.py", line 315, in reraise
    raise exc
  File "/opt/conda/lib/python3.9/site-packages/dask/local.py", line 220, in execute_task
    result = _execute_task(task, data)
  File "/opt/conda/lib/python3.9/site-packages/dask/core.py", line 119, in _execute_task
    return func(*(_execute_task(a, cache) for a in args))
  File "/argo/staging/script", line 29, in clear_memory_intensive_tests
    _test_temp_range(d, v)
  File "/opt/dodola/dodola/core.py", line 684, in _test_temp_range
    assert (ds[var].min() > 150) and (
AssertionError: tasmax values are invalid

the historical cleaning fails when trying to crop late-end off of the ssp data before appending it to historical:
  File "pandas/_libs/hashtable_class_helper.pxi", line 4562, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: cftime.DatetimeNoLeap(2025, 12, 31, 23, 59, 59, 999999, has_year_zero=True)

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/argo/staging/script", line 17, in <module>
    ds = ds.sel(time=slice(from_time, to_time))
  File "/opt/conda/lib/python3.9/site-packages/xarray/core/dataset.py", line 2474, in sel
    pos_indexers, new_indexes = remap_label_indexers(
  File "/opt/conda/lib/python3.9/site-packages/xarray/core/coordinates.py", line 421, in remap_label_indexers
    pos_indexers, new_indexes = indexing.remap_label_indexers(
  File "/opt/conda/lib/python3.9/site-packages/xarray/core/indexing.py", line 117, in remap_label_indexers
    idxr, new_idx = index.query(labels, method=method, tolerance=tolerance)
  File "/opt/conda/lib/python3.9/site-packages/xarray/core/indexes.py", line 198, in query
    indexer = _query_slice(index, label, coord_name, method, tolerance)
  File "/opt/conda/lib/python3.9/site-packages/xarray/core/indexes.py", line 91, in _query_slice
    indexer = index.slice_indexer(
  File "/opt/conda/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 5278, in slice_indexer
    start_slice, end_slice = self.slice_locs(start, end, step=step, kind=kind)
  File "/opt/conda/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 5483, in slice_locs
    end_slice = self.get_slice_bound(end, "right", kind)
  File "/opt/conda/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 5397, in get_slice_bound
    raise err
  File "/opt/conda/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 5391, in get_slice_bound
    slc = self.get_loc(label)
  File "/opt/conda/lib/python3.9/site-packages/xarray/coding/cftimeindex.py", line 466, in get_loc
    return pd.Index.get_loc(self, key, method=method, tolerance=tolerance)
  File "/opt/conda/lib/python3.9/site-packages/pandas/core/indexes/base.py", line 3083, in get_loc
    raise KeyError(key) from err
KeyError: cftime.DatetimeNoLeap(2025, 12, 31, 23, 59, 59, 999999, has_year_zero=True)

Nudging @dgergel. This one is more interesting.

@brews I'd say we table this one for now - this is a lot of failures. The invalid tasmax values are cause for concern, and looks like ssp126 is actually missing data. We might want to push this to our second round.

Moving this to 2nd round

Closed with PR #365


Adding high-level documentation on the build system

Content with help from @martinmaly

LGTM (LGTM1 applied)

I like the information presented in here and I won't register too many nits because it looks like this is all pretty well dissected already. My one significant piece of feedback is that the structure  / outline of the doc could be improved.
Some concrete suggestions:
The h2 currently titled "Composition" might be better renamed as "Structure," with a goal of describing the structure in general terms. i.e. There's a top level Makefile and also one per constituent component. To accomplish this, there are a few introductory sentences from the subsequent sections that could be moved up into this section.
The h2 currently titled "Structure" could become an h3 and be retitled as "Top Level Makefile."
The h2 titled "Subdirectory Makefiles" could become an h3.
The h2 titled "Common Code" could become an h3.
I would recommend adding a new h2 at the bottom and have that section contain crib notes or a cheat cheat on what targets are available and what they do... better yet, describe a reasonable workflow for people who are hacking on one or more components in this repo.

Requested changes made. @duglin @martinmaly @pmorie PTAL again.
@krancour I'd like to leave those title & structural changes to a new PR. Also, would you care to create an issue to describe what the cheat sheet should contain? I'm not following you enough to describe it myself in an issue.

My LGTM1 still holds. Thanks for doing this and working through all the feedback!


Icons modified by theme are broken in FF 75.0b4

Sanity checks (must complete)

[X] I have read and followed the installation instructions in the README
[X] I have not modified the userChrome.css file
[X] I have tested the latest release or commit on master (on both 72 and 74 branches)

Describe the bug
Icons that are modified by the theme (in my instance all but the Synced Tabs and the Overflow Menu) are not loading correct colors or SVGs (or there is a extra SVG being loaded).
I've tried modifying them with Firefox Color and trying all the default themes + resetting all settings to default, as well as a fresh profile - problem still persists.
To Reproduce
Steps to reproduce the behavior:

Setup theme on FF 75.0b4

Screenshots

System info

OS: Windows 10
Firefox version: 75.0b4

You need to set svg.context-properties.content.enabled to true (see README).

Ah right, thanks! The 75 update for some reason reverted this for me.


Topic/blaze server cleanup

This PR consists of two commits that both fall under the umbrella of 'cleanup'.
Commit c4dd4fd:
Move the http1 parsing bits into its own class resulting in cleanup of the Http1ServerStage. Functionally the behavior of the library is unchanged by this commit.
Commit 03a0be1:
Allow the drainBody function of Http1Stage to 'give up' on draining the body after a parameterized number of bytes. This allows the server to avoid reading,parsing, and then simply discarding an excessive number of bytes that the client may have left on the wire.

I like it in principle.  I will have to come back later to examine the implementation, unless someone beats me to it.

Any more opinions on this? I think there is plenty of room for debate as to the default body to swallow before aborting: a part of me wonders if 64 KB would be better, or even 0.

:+1: to cutting it.

:+1: to cutting it.

Is this done?  :+1: in current form.

@rossabaker: I think so.


Spying on an object says "TypeError: Cannot redefined property"

Hi,
I have managed to spy on a couple of objects from node but lately I tried with a mapping library called morphism and i get the following error
Type error: Cannot redefined morph

I am doing the following
import * as morphism from "morphism"

The probem is, this happens on the spy(instance) - see above... so I am not sure what i can do.
It seems its trying to override a type.
I also checked the issues on the github for that library and it seems jest can mock this but I really didn't want to mix mocking frameworks.
Anybody have an idea if I can do anything ?

I have some stacktrace if it helps
TypeError: Cannot redefine property: morph
[Info]          at Function.defineProperty (<anonymous>)
[Info]        at Spy.Object.<anonymous>.Spy.createInstancePropertyDescriptorListener (node_modules/ts-mockito/src/Spy.ts:53:16)
[Info]        at node_modules/ts-mockito/src/Mock.ts:125:26
[Info]            at Array.forEach (<anonymous>)
[Info]        at node_modules/ts-mockito/src/Mock.ts:118:65
[Info]            at Array.forEach (<anonymous>)
[Info]        at Spy.Object.<anonymous>.Mocker.processProperties (node_modules/ts-mockito/src/Mock.ts:117:58)
[Info]        at new Spy (node_modules/ts-mockito/src/Spy.ts:14:18)
[Info]        at Object.spy (node_modules/ts-mockito/src/ts-mockito.ts:32:12)

and I presume its this from the source
export function morph<Target>(schema: Schema<Target>, type?: Constructable<Target>) {
  const mapper = transformItems(schema, type);
  return decorator(mapper);
}

line 205 https://github.com/nobrainr/morphism/blob/ef1ceca2977378253b52ce4045262b383e4504fb/src/morphism.ts

Closing this issue, as it has gone unanswered for over 6 months, and I have since worked around it.


Create Sticky Top Navigation (action buttons)

[Create Sticky Top navigation (Action buttons - Save, Copy, Delete button at least). Since APIs and Oauth Servers will be long pages with a lot of plugins and request users will have to scroll down an app to Save/Delete/Clone. We should add sticky top navigation for action buttons, so users can perform changes without scrolling up or down for confirmation or any other changes.]
As a inspiration believe it or not we have decided to look at our BOB :-)
Screenshots attached:

Nice idea, @JuricDavor 👍
But I'd like to see them on the side... on the dark side 🕶


Added optional pceid parsing in tcbinfo json

The recent TCB Info contains pceid field, which is not supported by the the current hardcoded CBInfo parser. This PR is to make the parser can optionally handle an pceid field.

bors r+

bors r+

bors r+

bors r+

bors r+


Cannot instantiate google object ( google is undefined )

I am using MeteorJS ( 1.4.4 ) + ReactJS, currently i can get the map, markers, working properly. I am using ' withScriptjs.js ' async method to render the map, because i tried without the async and it does not work. Here is my problem, i want to use the DirectionsRenderer to draw direction, which is must needed for my traffic jam project, and following the example, I cannot get it works because of google is undefined when the code runs until
const DirectionsService = new google.maps.DirectionsService(); throws the error inside componentDidMount().
Because I am still on testing the package, so there is no complex code, and my code was just exactly the same as the example code ( directions ). Thanks you very much for helping.
PS: Awesome package with almost google api completed.

I could solve this using window.google object

@xshadowlegendx I have faced this same issue before. So please refer to my question on same topic (ex )

Connect the ape tag before the bundle.js

Solved it by adding:
<script src="https://maps.googleapis.com/maps/api/js"></script>

to the head of my index.html.
@tomchentw This should be documented, willing to send in a pull request.

This helped resolve my 'google is undefined issue'.
https://stackoverflow.com/questions/43714895/google-is-not-defined-in-react-app-using-create-react-app
My build is React.js with Next.js.

@sebasgarcep I'll put a PR together and add it to the README, because this comes up way too often.  Since you haven't sent a PR yet, I'll just open it up now.

A possible solution is using withScriptjs
https://tomchentw.github.io/react-google-maps/#directionsrenderer

You can try this after imports :
const google = window.google


Added a few words for clarity

Changes made to the third paragraph under OO concepts.

[x ] I have read freeCodeCamp's contribution guidelines.
[ x] My pull request has a descriptive title (not a vague title like Update index.md)
[x ] My pull request targets the master branch of freeCodeCamp.
[x ] None of my changes are plagiarized from another source without proper attribution.
[x ] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Closed and Reopened this PR to attempt to resolve a specific Travis build failure.

Thank you for your contribution to the page! 👍
We're happy to accept these changes, and look forward to future contributions. 📝


SchemaEditor error

I have problems in database migration, as I can solve this error.
I requirements:
Python 3.5
Django 1.8
Pyodbc 3.0.7
django-pyodbc 1.1.0
Error:
'The SchemaEditorClass attribute of this database wrapper is still None')
NotImplementedError: The SchemaEditorClass attribute of this database wrapper is still None

Duplicate of https://github.com/lionheart/django-pyodbc/issues/110.


Merge lambda-events into lambda

Executing https://github.com/typelevel/feral/issues/57#issuecomment-992056584.

Let's merge in natchez too while we're at it.

Eh, nevermind, I've got a fix a few things for that first.


Uses a string not a list of chars for the count.

This was causing an issue when using the Ecto MySQL adapter. Fixes #9.
I don't know the best way to get the tests set up with MySQL right now, but I tested this within the application I found the problem and it worked.

:facepalm: Thanks!

No worries, I'm just pleased I spotted it!

Oh man! Or just do count(1)!

This has been released with version 0.10.0. Thanks again.