html_formatter.rb:141:in extra_failure_content': undefined method map' for nil:NilClass (NoMethodError)

RSpec crashes here and in the Output it says 'Couldn't get snippet for'. Any ideas how to fix this?
Ruby 2.2.2
Rspec 3.3.1
Full Stacktrace:
/Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/formatters/html_formatter.rb:141:in `extra_failure_content': undefined method `map' for nil:NilClass (NoMethodError)
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/formatters/html_formatter.rb:78:in `example_failed'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/reporter.rb:184:in `block in notify'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/reporter.rb:183:in `each'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/reporter.rb:183:in `notify'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/reporter.rb:135:in `example_failed'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example.rb:404:in `finish'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example.rb:363:in `fail_with_exception'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example_group.rb:529:in `block in run'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example_group.rb:567:in `each'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example_group.rb:567:in `for_filtered_examples'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example_group.rb:571:in `block in for_filtered_examples'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example_group.rb:569:in `each'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example_group.rb:569:in `for_filtered_examples'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example_group.rb:571:in `block in for_filtered_examples'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example_group.rb:569:in `each'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example_group.rb:569:in `for_filtered_examples'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example_group.rb:529:in `rescue in run'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/example_group.rb:534:in `run'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/runner.rb:115:in `block (3 levels) in run_specs'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/runner.rb:115:in `map'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/runner.rb:115:in `block (2 levels) in run_specs'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/configuration.rb:1627:in `with_suite_hooks'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/runner.rb:114:in `block in run_specs'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/reporter.rb:77:in `report'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/runner.rb:113:in `run_specs'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/runner.rb:89:in `run'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/runner.rb:73:in `run'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/lib/rspec/core/runner.rb:41:in `invoke'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/gems/rspec-core-3.3.1/exe/rspec:4:in `<top (required)>'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/bin/rspec:23:in `load'
	from /Users/moritzkroger/Documents/dev/ace/vendor/ruby/2.2.0/bin/rspec:23:in `<main>'

It appears that in your case you've got an exception where exception.backtrace returns nil rather than an array as expected.  I'm not sure how you're getting that (the only way I can find to simulate it is to explicitly call exception.set_backtrace(nil), which would be an odd thing to do in any context besides that of a test that is simulating an exception without a backtrace...) but I've got a fix in #2023 if you want to try it out.


Store DependencyDescriptor in recursive_dependencies

This provides consistent behavior between get_dependencies(), get_recursive_dependencies() and .dependencies[foo], which all represent dependencies using the DependencyDescriptor type. The inheritance already used on the DependencyDescriptor type should ensure that this won't break any existing uses of PackageDecorator.recursive_dependencies.

Codecov Report

Merging #174 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #174      +/-   ##
==========================================
+ Coverage   77.94%   77.94%   +<.01%
==========================================
  Files          53       53
  Lines        3033     3034       +1
  Branches      506      506
==========================================
+ Hits         2364     2365       +1
  Misses        641      641
  Partials       28       28

Impacted Files
Coverage Δ

colcon_core/topological_order.py
100% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

This requires #173.


Bug report on Minimal application

Expected behavior
When Reminder is set on the app I believe it should alert me with sound when the set timed reached
Actual behavior
I set reminder on the app but when the set timed reach there was no sound of alarm I checked if the issue was from my device but I realized it is a bug
How to reproduce
How to reproduce
(1) Download Minimal application
(2) Launch It and open write any title and set the remind me
Device used: Gionee P5 mini
Operating system: Android version 5.1
*App version: 1.2
Recording Of The Bug
https://youtu.be/u2cOP3hViuM
Posted on Utopian.io -  Rewarding Open Source Contributors

I think this bug has been cleared


💡[FEATURE]: Redesign Contact Us page

Is your feature request related to a problem? Please describe.
The current contact us page looks simple
Describe the solution you'd like
I want to redesign with a new contact us form having image at the side as well
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

@komal-agarwal5 ok


Failure to install on macOS Catalina

I am encountering an installation failure on macOS Catalina. I have the most recent version of Apple’s compiler suite, as well as OpenMPI 4.1.1_2 (installed through Homebrew). I have Python 3.9.8 (also installed through Homebrew). I did the pip installation in a newly-created virtual environment, into which I had already install numpy (1.21.4), cython (0.29.24), greenlet (1.1.2) and wheel (0.37.0).
The complaint at the end of the installation (full log is appended to this submission) says “Cannot link C++ programs with mlicxx”. I have verified that mpicxx can, in fact, compile and link a simple MPI program.
charm4py-install.log

Hi Marc,
As a debug step, can you attempt to install Charm4Py without the MPI backend enabled? It would help confirm a suspicion I have regarding the build system.

I have tried again, on the same machine with the same setup. This time my installation command was:
python3 -m pip install charm4py --no-binary charm4py

The installation now makes it further, but still fails while compiling   charm4py/charmlib/charmlib_cython.c. I have attached the complete log to this messag
charm4py-install.log
e.


WIP: Release 0.9.0

This change is

Coverage decreased (-0.04%) to 42.99% when pulling e113c7474709d2dd7d4cb05cc0a8507b881b9dc6 on aledbf:release-0.9 into 8f9b71002b1dfb8784f3744a611a85c3e7cf7f7f on kubernetes:master.

Add renaming of body-size to proxy-body-size

Coverage remained the same at 43.193% when pulling 86226fed47907a947322fa4a7dd76cca66692f3e on aledbf:release-0.9 into 74512c127659d2383d75fe71514454bb6f596634 on kubernetes:master.

Running this image in my cluster currently (along with a bump to gcr.io/google_containers/defaultbackend:1.2). Outside of needing to update the --nginx-configmap flag to --configmap, everything appears to be running smoothly. Will post any issues or bugs that pop up.

@od0 thanks for testing!


[to do] Set up Librato alerts for OpenSearch (we should definitely do this before we cutover)

I opened a ticket with IAS to help me set this up: https://github.com/cdlib/cdlsys/issues/511


Information of night battles won't be shown correctly when both sides deal no damage

e.g. One fleet containing 6 SS faces pattern 2/3 on 5-4-I (6/5 SS).
In such cases, no damage produce, and the plugin won't show even name tables of the enemy.
When you get into the debug mode, an exception occurred due to the function GetData (line 309) in CommonTypeExtensions.cs whose parameter source = null.
Could you find some ways to fix it, thx.

Well after messing around with 1-5 using a sub in night battles it seems the api response is a little different for night battles then it is for day ones in terms of what is nulled. Adding one more check seems to have fixed it. Assuming you use the english viewer the attached version will work, otherwise you will have to build from the PR branch.
BattleInfoPlugin (for eng viewer).zip


Use tabs instead of buttons on network page for separating user lists

New frontend repo at http://github.com/tanvibhakta/cypherpost/


Revert " Replace enum32 with enum-compat (fixes #89)"

Reverts blockchain/api-v1-client-python#91

Thank you


getNetworkType() returns None and getPhoneType() returns None and typo in getSimState()

From @GoogleCodeExporter on May 31, 2015 11:30
What device(s) are you experiencing the problem on?

Motorola Android

What firmware version are you running on the device?
android 2.2.3 baseband C_01.43.01P kernel <IP_ADDRESS>-g68eeef5 android-build@apa26
#1 Build number FRK76

What steps will reproduce the problem?

1. droid.getNetworkType() and droid.getPhoneType() on CDMA phone
2.
3.

What is the expected output? What do you see instead?

both return None

What version of the product are you using? On what operating system?

sl4a_r5x.apk (and earlier)  Also, I am on Verizon Wireless, so this is CDMA
rather than GSM (I don't know if it works for GSM)

Please provide any additional information below.

'uknown' is misspelled in getSimState() in file
http://code.google.com/p/android-scripting/source/browse/android/Common/src/com/
googlecode/android_scripting/facade/PhoneFacade.java

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 14 Mar 2012 at 1:28
Copied from original issue: damonkohler/android-scripting#613

From @GoogleCodeExporter on May 31, 2015 11:30
Same for me with Motorola devices.

Original comment by<EMAIL_ADDRESS>on 25 Jul 2012 at 9:47


CCS and DAC updates

This PR has 2 updates:

Remove operation reserve potential for DAC. The values are for electricity storage-equipped DAC but this variant is removed in this implementation
Update injection rate for CO2 according to the recent tests and agreed values

How to review
Required: describe specific things that reviewer(s) must do, in order to ensure that the PR achieves its goal.
If no review is required, write “No review:” and describe why.

PR checklist

[ ] Continuous integration checks all ✅

[ ] Add or expand tests; coverage checks both ✅

[ ] Add, expand, or update documentation.

[ ] Update doc/whatsnew.

Also, if I look at the input/output flows, it seems co2_stor can output dac_co2 to the level useful. This seems like the wrong technology to do this, right? I would expect co2_trans to output to two different technologies: storage and utilization
cc @macflo8 @OFR-IIASA

@ywpratama it likes also leakage assumptions have changed?
I see that co2_trans and stor_co2 have output efficiencies of 99%. I presume this means a 1% leakage rate? If so, that would be good to add as a comment. It would also be good to make a comment on relation_activity_CO2_cc stating that the assumption there (1%) and the assumption in the output efficiency must add to 1.

Hi Matt, the assumption is still the same. I just switched "value" and "commodity scale" so it will be more consistent with other techs.

Also, if I look at the input/output flows, it seems co2_stor can output dac_co2 to the level useful. This seems like the wrong technology to do this, right? I would expect co2_trans to output to two different technologies: storage and utilization.
The below is how the flow has been described previously, and to the best of my knowledge, that is not how it is implemented here:

cc @macflo8 @OFR-IIASA

Ah, yes, true. For some reason we used to have "exports" as output for co2 storage. If I remember correctly someone (I forgot who) said it was to track and see if co2 storage actually does some activity. So I wanted to keep it, just in case. I remember now Oliver also questioned this at some point. So, if we don't need it anymore, we can remove it. At the moment co2 "useful" is just floating around doing nothing in the model. CO2 trans output is at level final, which can feed into storage or util.

If there is no connection, we can still keep it in the model, but we need to make sure that it cant be used as a free alternative to he storage. You could put a temporary bound_activity_up of 0 on it for example; or comment it out in the yaml file so it just doesnt get generated. A quick fix is acceptable, but we shouldnt forget to refine this later on for e-fuels in the industry/materials sector.

sounds fine to me.

@macflo8, @OFR-IIASA, @gidden, thanks for all the comments. CO2 useful is now removed from the output. @gidden, for the "hardcoded" values issue, I am afraid it requires a bit of changes in the "add_tech" function. I know what to changes, but I cannot test it at the moment as I am outside IIASA network. So, perhaps should not take the risk of making the function not working properly at this stage? Happy to implement once I am back

Yes, definitely not blocking, that's why we made an issue - so we remember for the future =). Thanks @ywpratama !


Difference between SWC and TSC, compilation of inheritance (class a extend b), the constructor is not enumerable in SWC

Describe the bug
class a extends b
In SWC the extends is done through following _inherits method

function _inherits(subClass, superClass) {
    if (typeof superClass !== "function" && superClass !== null) {
        throw new TypeError("Super expression must either be null or a function");
    }
    subClass.prototype = Object.create(superClass && superClass.prototype, {
        constructor: {
            value: subClass,
            writable: true,
            configurable: true
        }
    });
    if (superClass) _set_prototype_of(subClass, superClass);
}

The constructor is explicitly set as writable and configurable but not enumerable
In TSC, the extends is done through __extends method

var __extends = (this && this.__extends) || (function () {
    var extendStatics = function (d, b) {
        extendStatics = Object.setPrototypeOf ||
            ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
            function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
        return extendStatics(d, b);
    };
    return function (d, b) {
        if (typeof b !== "function" && b !== null)
            throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
        extendStatics(d, b);
        function __() { this.constructor = d; }
        d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
    };
})();

Since the constructor is done through simple (=) assignment, it is by default enumerable.
The constructor not being enumerable cause issues in our code when modifying inherited objects down the line. Adding
enumerable: true,
in

subClass.prototype = Object.create(superClass && superClass.prototype, {
        constructor: {
            value: subClass,
            writable: true,
            configurable: true
        }
});

solve our issues.
Input code
class MyButton {
    name:string;
}
class SelectionMenuButton extends MyButton {
    sex:string;
}
console.log(SelectionMenuButton.prototype.propertyIsEnumerable('constructor'));

Config
{
    "jsc": {
      "experimental": {
        "plugins": [["swc_mut_cjs_exports", {}]]
      },
      "transform": {
        "useDefineForClassFields": false
      },
      "target": "es5",
      "parser": {
        "syntax": "typescript",
        "tsx": true,
        "dynamicImport": true,
        "decorators": true
      },
      "loose": false,
      "externalHelpers": false,//true,
      "keepClassNames": false
    },
    "module": {
      // You can specify "commonjs", "es6", "amd", "umd"
      "type": "commonjs",
      "strictMode": false,
      "lazy": {
        "patterns": [
            ".*"
        ]
      },
    }
}

Playground link (or link to the minimal reproduction)
https://play.swc.rs/?version=1.4.2&code=H4sIAAAAAAAAA21Sy26DMBC88xVWLgEUhTuoh1Sq1BySVMoHVAa2DpXxInvJQxX%2FXhtIeCQ%2BWLZ3dnbGu5nkxrDd7b0mQsX%2BPGaX4iXEhnShROI1npe1oC%2Bs8Ay6x1RYHeztCEQWZmJMfyGjpI1lqGx2nRFqv5whgi7dLToVZj3jYW%2FskdGRNU5BFMK1Qk1hxDoxR5CWrEC1A1X34uFKoPKJm5aBC7F3jtjdknssueIC8kMrKmaHkXwDtBFCg%2BCugG9Gl%2F3wMyuGffJrY31Va2hOkEyBEyUWjmMtTbtHYdjlhGyrCmIl0Anz%2Finq%2BlGnsshYYcN%2BwAYtZ65dr1znckhrYQsouNyb6Q%2FA1vkJL5%2FAc9Ax%2B%2BHSwOopvNEaL0%2FRJph6mn3hhGXx3etZTNnHKh%2BBYBgCN1UoYS1R%2BC%2Fav640EtKtAneqQNNtaz5UXYLmqQR%2FOZrKZRAk%2F3gXxpD6AgAA&config=H4sIAAAAAAAAA21QsU7EMAzd7yuijKiiEwysoBMMsCPEYKUu6pHEke1KV079d5LqLrQ6slh%2B78X2e6edyc8exNkHc1qa3CpDlJ44rMAMj4JP2A8R98SPHkT2A%2FpOsqgHL3gWzk0dA%2FyFmmmLcmcrnIAFeTtapqhwLFKdEorjIWn9UUZJIZVHXIHdFCEM7iUkYv2HRkcMSixn7upATyR4Ob%2BieFTkCP4ZfUKu9pq2XS%2Bw34hpSeENAm5DOG%2BwgbrR48pp25p3Go2DaCShG%2FrJWEchUDyIbUpO96VA6EoZc6lZ5lhKPH%2FqCyPKg9NX6q6dePiZtjkn0GKunPtR0YW5vbEV%2BNwmNe%2FmXxLxurAoAgAA
Edit - Simpler repro:
https://play.swc.rs/?version=1.4.2&code=H4sIAAAAAAAAA22MMQrDMBAEe71Cne3GD4i7QIoUrvICRV6MQb4TdyewCPl7YpMikGw1xczGFFT9WM%2FFjMk%2FnH%2BPwoqTmiw0D%2B7p4uHckBBtYRpB5aNjM9D00yu275xJOaFPPLd%2FTvosbGw1Y6cMsXrVC5UVEu4JbbP3JiUaS9N1wwtaLJnXsgAAAA%3D%3D&config=H4sIAAAAAAAAA21QsU7EMAzd7yuijKiiEwysoBMMsCPEYKUu6pHEke1KV079d5LqLrQ6slh%2B78X2e6edyc8exNkHc1qa3CpDlJ44rMAMj4JP2A8R98SPHkT2A%2FpOsqgHL3gWzk0dA%2FyFmmmLcmcrnIAFeTtapqhwLFKdEorjIWn9UUZJIZVHXIHdFCEM7iUkYv2HRkcMSixn7upATyR4Ob%2BieFTkCP4ZfUKu9pq2XS%2Bw34hpSeENAm5DOG%2BwgbrR48pp25p3Go2DaCShG%2FrJWEchUDyIbUpO96VA6EoZc6lZ5lhKPH%2FqCyPKg9NX6q6dePiZtjkn0GKunPtR0YW5vbEV%2BNwmNe%2FmXxLxurAoAgAA
SWC Info output
Operating System:
    Platform: darwin
    Arch: x64
    Machine Type: x86_64
    Version: Darwin Kernel Version 23.4.0: Wed Feb 21 21:44:31 PST 2024; root:xnu-10063.101.15~2/RELEASE_X86_64
    CPU: (12 cores)
        Models: Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz

Binaries:
    Node: 20.11.0
    npm: 10.2.4
    Yarn: N/A
    pnpm: N/A

Relevant Packages:
    @swc/core: 1.4.2
    @swc/helpers: 0.5.6
    @swc/types: 0.1.5
    typescript: 5.4.3

SWC Config:
    output: N/A
    .swcrc path: N/A

Next.js info:
    output: N/A

Expected behavior
I believe SWC and TSC should behave the same in this case, otherwise not sure how to fix this issue.
Actual behavior
No response
Version
1.4.2
Additional context
No response

Again, SWC is correct here, at least with your simplified reproduction.
SWC does not break ECMAScript specification

You can try running the original source code via browser console and run the transpiled source code to check if the transpilation is corect

Thank you for looking into it.
Does that mean that TSC is incorrect/TSC break ECMAScript specification in that case ?
If SWC is supposed to be a drop in replacement for TSC then this difference can be an issue, at least for us this means thousands of tests no longer passing that can't be easily fixed.
If this behavior breaks specifications then is there any chance a plugin similar to what was done for mutable CJS exports could be developed ? So devs can move and then optimize their code step by step ?
If TSC behavior does not break specification, what would be the performance impact of this change ? Seems like it would be easier to have the same behavior.
Thanks.

Does that mean that TSC is incorrect/TSC break ECMAScript specification in that case ?

I think so.

If SWC is supposed to be a drop in replacement for TSC then this difference can be an issue, at least for us this means thousands of tests no longer passing that can't be easily fixed.

Being drop-in replacement is about mimicking the behavior when the input code is correct. It's not the case here. If the input code depends on a bug, it's not something that should be mimicked.

If this behavior breaks specifications then is there any chance a plugin similar to what was done for mutable CJS exports could be developed ? So devs can move and then optimize their code step by step ?

Of course, you can do it.

If TSC behavior does not break specification, what would be the performance impact of this change ? Seems like it would be easier to have the same behavior.

There will be almost no performance difference.


fix(build): Upgrade React to 16.8.6 to remove importing of shallowCompare

Closes #2
Closes #5
Closes #7
This commit upgrades React to v16.8.6 due to shallowCompare being deprecated.

Hey @MarkLark86 is this version released on npm? https://www.npmjs.com/package/react-geolookup
I still see this error happening with a clean yarn install
Module not found: Error: Can't resolve 'react/lib/shallowCompare' in '/Users/nfs-admin/locus/frontend/covid-hotspots/node_modules/react-geolookup/dist'


AdMob Banner won't show on iPhone simulator or real device in landscape mode

Hi,
I've been fighting this for a lot of days now! It is really weird.
I configured admob using smartBannerLandscape, and works perfectly in iPad.
However, when trying it on an iPhone simulator or real iPhone device (tested on iPhone 5s, simulator and device), the ad won't show. It does load the request since the adapter hits the "didReceiveAd" method.
If i force the simulator in portrait mode through the info.plist.xml file, the ad DOES show.
I also tried any other type of banner, but none will show in landscape mode for iPhone.
Am i missing something here?
Thanks in advance!
This is my ad configuration (i already tried many many variations here with no success, even the libgdx's offcial one):
UIViewController controller = iOSApplication.getUIViewController();
		UIWindow window = new UIWindow(UIScreen.getMainScreen().getBounds());
		mGADBannerView = new GADBannerView(GADAdSize.smartBannerLandscape());
		mGADBannerView.setRootViewController(controller);
		mGADBannerView.setAdUnitID(ADMOB_BANNER_ID);
		mGADBannerView.setFrame(new CGRect(0, window.getBounds().getSize()
				.getHeight()
				- mGADBannerView.getFrame().getSize().getHeight(),
				mGADBannerView.getFrame().getSize().getWidth(), mGADBannerView
						.getFrame().getSize().getHeight()));
		GADRequest req = new GADRequest();
		mGADBannerView.loadRequest(req);
		mGADBannerView.setDelegate(new GADBannerViewDelegateAdapter());
		controller.getView().addSubview(mGADBannerView);
		Foundation.log("[info] " + LogUtil.TAG + ": "
				+ "Ad created!!");

Update: the problem seems to happen on iOS 7.1.
Tried it on iPhone 4, 5s, 6, 6 plus simulators with iOS 8.1 and worked perfectly.

You can use this code, it copy from one of my game has been publish to appstore.
``
// We need a view controller to see ads.
bannerViewController = new UIViewController();
viewadd = bannerViewController.getView();
	// Create a admob banner.
	GADBannerView banner = new GADBannerView(GADAdSize.smartBannerLandscape());
	banner.setAdUnitID(admob_id);
	banner.setDelegate(new GADBannerViewDelegateAdapter() {
		@Override
		public void didReceiveAd(GADBannerView view) {
			super.didReceiveAd(view);
			Gdx.app.debug("didReceiveAd banner", "");
		}

		@Override
		public void didFailToReceiveAd(GADBannerView view,
				GADRequestError error) {
			super.didFailToReceiveAd(view, error);
			Gdx.app.debug("didFailToReceiveAd banner:", error.toString());
		}
	});

	banner.setRootViewController(gdxApplication.getUIViewController());
	viewadd.addSubview(banner);
	banner.setFrame(new CGRect(
			(screenWidth - banner.getFrame().getWidth()) / 2, 0, banner
					.getFrame().getWidth(), banner.getFrame().getHeight()));
	// banner.setBackgroundColor(new UIColor(1, 0, 0, 1)); // Remove this
	// after testing.
	banner.loadRequest(request);
	gdxApplication.getUIViewController().getView().addSubview(viewadd);

``

Thanks dzungpv.
Just tried this (and many other variations) but the banner still does not show on iOS 7.1 in landscape mode.
Does it work for you in landscape with iOS 7.1?

Add this code for ios 7.1
double screenWidth = UIScreen.getMainScreen().getApplicationFrame()
.size().height();
if(majorOsVersion>7){
screenWidth = UIScreen.getMainScreen().getApplicationFrame()
.size().width();
}

It Worked!!
Not sure why i should use inverted width for ios7, but worked!
Thanks a lot dzungpv!
Mariano  Colombo
Blyts - www.blyts.com
Buenos Aires, Argentina.
On Thu, Jan 22, 2015 at 11:12 AM, dzungpv<EMAIL_ADDRESS>wrote:

Add this code for ios 7.1
double screenWidth = UIScreen.getMainScreen().getApplicationFrame()
.size().height();
if(majorOsVersion>7){
screenWidth = UIScreen.getMainScreen().getApplicationFrame()
.size().width();
}
—
Reply to this email directly or view it on GitHub
https://github.com/BlueRiverInteractive/robovm-ios-bindings/issues/146#issuecomment-71025270
.

hi. i am trying to integrate admob in my libgdx game. from last 2 weeks but nothing works help me on this thanks in advance pls help help

is i need to create separate class for ad showing or withing ioslauncher class.. pls help me on this

AdMob is now officially supported as a RoboPod: https://github.com/robovm/robovm-robopods
Just add the following to your Gradle:
dependencies {
   ... other dependencies ...
   compile "org.robovm:robopods-google-mobile-ads-ios:1.5.0"
}

or maven files:
<dependency>
   <groupId>org.robovm</groupId>
   <artifactId>robopods-google-mobile-ads-ios</artifactId>
   <version>1.5.0</version>
</dependency>

Please use the RoboPod from now and post any issues you encounter on their issues list. Thanks!


Allow option with the filter command to remove filtered out values from chart

Currently the filter command uses the un-filtered data to determine what categories exist on the axis, or the axis range.  I would like an option to allow the filter to exclude the filtered out data from the chart, so the axes do not show categories/ranges that do not exist in the filtered data.

We will need to defer this for after 2.0.  It is high risk due to axis scale recalculations on the client.  This is also needed for chart-in-chart..


Out of memory after upgrade to latest version

Command
build
Is this a regression?

[X] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
12
Description
After upgrading from angular 12 to angular 17 the build command started to go in Out of memory.
Minimal Reproduction
I cannot provide a minimal reproduction as I would have to upload my entire project.
Exception or Error
I tried to build with a --max-old-space-size=12000 and there is the log after the OOM error:
<--- Last few GCs --->

[69393:0x7feef0100000]   214299 ms: Mark-Compact 11821.8 (12037.0) -> 11819.9 (12036.0) MB, 4539.15 / 0.00 ms  (average mu = 0.277, current mu = 0.034) allocation failure; scavenge might not succeed
[69393:0x7feef0100000]   220253 ms: Mark-Compact 11835.7 (12036.0) -> 11833.9 (12066.0) MB, 5930.46 / 0.00 ms  (average mu = 0.139, current mu = 0.004) allocation failure; scavenge might not succeed

<--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
 1: 0x1052b5b15 node::Abort() [/Users/francesco.mancuso/.nvm/versions/node/v20.9.0/bin/node]
 2: 0x1052b5cf6 node::OOMErrorHandler(char const*, v8::OOMDetails const&) [/Users/francesco.mancuso/.nvm/versions/node/v20.9.0/bin/node]
 3: 0x105468d6c v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [/Users/francesco.mancuso/.nvm/versions/node/v20.9.0/bin/node]
 4: 0x105658e07 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/Users/francesco.mancuso/.nvm/versions/node/v20.9.0/bin/node]
 5: 0x105657669 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/Users/francesco.mancuso/.nvm/versions/node/v20.9.0/bin/node]
 6: 0x10564bed1 v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Users/francesco.mancuso/.nvm/versions/node/v20.9.0/bin/node]
 7: 0x10564c915 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [/Users/francesco.mancuso/.nvm/versions/node/v20.9.0/bin/node]
 8: 0x10562ea02 v8::internal::Factory::NewFillerObject(int, v8::internal::AllocationAlignment, v8::internal::AllocationType, v8::internal::AllocationOrigin) [/Users/francesco.mancuso/.nvm/versions/node/v20.9.0/bin/node]
 9: 0x105aac5e0 v8::internal::Runtime_AllocateInYoungGeneration(int, unsigned long*, v8::internal::Isolate*) [/Users/francesco.mancuso/.nvm/versions/node/v20.9.0/bin/node]
10: 0x68d39a536
11: 0x68d33dd72.

Your Environment
Previous versions:
Package                            Version
------------------------------------------------------------
@angular-devkit/architect          0.1200.4
@angular-devkit/build-angular      0.1000.5
@angular-devkit/build-ng-packagr   0.1000.5
@angular-devkit/core               12.0.4
@angular-devkit/schematics         12.0.4
@schematics/angular                12.0.4
ng-packagr                         10.0.3
rxjs                               6.5.5
typescript                         4.2.3
zone.js                               0.10.3

Actual version:
@angular-devkit/architect       0.1703.7
@angular-devkit/build-angular   17.3.7
@angular-devkit/core            17.3.7
@angular-devkit/schematics      17.3.7
@angular/cli                    17.3.7
@schematics/angular             17.3.7
ng-packagr                      17.3.0
rxjs                            7.4.0
typescript                      5.3.3
zone.js                         0.14.5

Anything else relevant?
The components and the various file in the project are the same.
Previous the upgrade the maximum quantity of RAM that the process took up was 4 GB now it grows without limits.
I tried to take a memory heap dump but without success as the dump was getting stuck

Unforunyley without a memory snapshot there is nothing that we can inveiagte, ou can generate a memory snapshot by uisig the below command.
node --heapsnapshot-near-heap-limit=1<EMAIL_ADDRESS>build

I tried with the node options to create heap snapshot but it create an empty file

After 2 hours the empty file became a 5GB file, you can find it here: https://drive.google.com/file/d/1lpiqn4R6q7o3BIAix8LtlsFYW8n_QKJx/view?usp=drive_link

+1 Here for this as well

I've noticed builds are slower and it's more memory hungry too, multiple reloads over time cause heavy memory pressure. the Facebook team is rewriting the react compiler in rust, maybe it's time to consider doing the same here... I am using biomejs instead of eslint and the difference in memory/cpu usage was dramatic.

Closing because it seems the issue has been resolved.