text:
Dependent rewriting rule

@cangiuli Is this true? This is probably the last step to finish semi-simplicial types.
G, a:A >> M = N in B
G >> P = Q in A
---------------------------------
G >> M[P/a] = N[Q/a] in B[P/a]
G >> M[P/a] = N[Q/a] in B[Q/a]

I wonder how to unify all the rewriting rules into one.

Unless I'm misreading, the first conclusion should be the substitution rule; G >> B[P/a] = B[Q/a] should also from the hypotheses, and the second conclusion should follow from the two previous facts. Is this not currently provable?

Probably not, but I am not sure. The current rewrite can only do a part or the whole judgment. Doing it part by part is doomed. Doing it as a whole will hit the well-formedness of equality types, which demand lots of well-typedness.

So, it seems this is the only structural rule that is not implemented in RedPRL yet, and we are hitting this.
Somehow we were able to merge all other substitution rules into one powerful rewrite. Not sure how to do this one.

By the way, I feel we should check other features of rewrite which are not listed in the papers.

@favonia I'm still a little confused; what's wrong with trying to rewrite one equality type to another? I imagine it does induce a lot of auxiliary subgoals, but aren't those somehow necessary?

Because those auxiliary goals are (probably) not provable in the current RedPRL, but in this case some of them are actually true, and we want them to be (easily) provable.

@favonia Re: the auxiliary subgoals, does your thesis have to do with the fact that for an express "Eq(A; M; N)" to be a type, it has to be true?
Let me describe systematically how I think one ought to be able to prove this:

First show that B[P/a] = B[Q/a] type; this is provable using the existing rewrite, and the fact that B is a family of types (which we must have somewhere anyway).
Next show that M[P/a] = N[P/a] in B[P/a]; this follows from functionality. Is this derivable in RedPRL? It at least seems like it must be admissible / derivable for each specific M,N,P.
Next show that M[Q/a] = N[Q/a] in B[Q/a]; same as above.
By transitivity and (1,2,3), we have either of the conclusions you wanted.

Does this make sense, or did I miss something?

I see what you mean, but I still think this is provable by several rewrites. I believe that having to do several rewrites is dumb, though, and we should maybe have a better rule that can do it all at once (somehow).

Maybe, but again I do not see how to prove that using the current rewrite.

authors: cangiuli favonia jonsterling


text:
Basic Layout 1

Ik ga een grid layout nodig hebben voor deze layout.
Deze links ga ik nodig hebben:
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_grid_layout
https://web.dev/learn/css/layout/
https://github.com/fdnd-task/css-challenges/blob/main/docs/challenge_grid.md

source: gharchive/issue

repo: RenzoWille/layout-in-css

license: MIT

license_type: permissive

license_source: github-api


text:
Add summary and other information to index.md

First draft trying to capture all the key information about the project on the landing page.
Everyone please feel free to have a look and either submit a pull request with fixes/additions or comment in issue #3.
Note that I expect to have to make changes right away as I'm not sure what exactly things will look like once rendered by Jekyll (for future reference; is there some reasonably easy way for me to check this before merging?).

Turns out it looks pretty much as I had hoped when rendered. Nice.

source: gharchive/pull-request


text:
Move some files from src/ into lib/core

See controller/lib/core/README.md -- code needs to live inside of lib/ in order for it to be testable with platformio.
These are the remaining trivial moves.  Moving the rest of the code is more involved, will do in later PRs.
In addition to moving code around, we:

deleted actuators.{h,cpp} and ventilator.{h,cpp}.  These were small files that could easily be "inlined" into their callers.
Fixed the endianness conversion code in communication.cpp.  (Really should have a test; forgive me!)

PR chain:
#123 (Rename FixMoreLungs.cpp -> main.cpp.)
👉 #124 (Move some files from src/ into lib/core) 👈 YOU ARE HERE

Thank you for this review, Sarah!

repo: RespiraWorks/VentilatorSoftware


text:
Couleur invisible dans section Bibliothèque

Vert aufhebung invisible sur iPhone et mobile !

L'enquête avance : en fait c'est WebKit qui foire :
(ici Chromium)

Problème résolu !!!!! Grâce À CE COMMIT INOUÏ HORS DU COMMUN APRÈS DES JOURS DE RECHERCHES !!! JE SUIS UNE LÉGENDE GUI, UNE LÉGENDE !!!!!!
→→→→→→→→→ ce831cb ←←←←←←←←←←

Mais putain mec. L'erreur indétectable.... G_G !

authors: ResponSySS ducdetronquito

license: unlicense

license_source: bigquery


text:
Make setting shared object manager optional/explicit

Right now, any time a new RKObjectManager is created with -initWithHTTPClient:, it will automatically install itself as the global shared object manager if there isn't one already. While this is convenient for many, it makes taking explicit control over managing the RestKit stack very difficult. It would be great if there were some way to make this a more directly controllable process, or at least a way to create an object manager without having it opt in to the shared role.

If you want to use individual RKObjectManagers, just retain them and don't refer to the sharedManager.

… and as long as I can rely on there being no places in our app—or in RestKit itself—where something just assumes that whatever's in the shared instance is OK to use, I guess that'll work. :-/

On Jan 15, 2015, at 18:04, Samuel E. Giddins notifications@github.com wrote:
If you want to use individual RKObjectManagers, just retain them and don't refer to the sharedManager.
—
Reply to this email directly or view it on GitHub.

Nothing in RestKit uses the sharedManager
-Samuel E. Giddins
On Jan 15, 2015, at 5:50 PM, Sixten Otto notifications@github.com wrote:
… and as long as I can rely on there being no places in our app—or in RestKit itself—where something just assumes that whatever's in the shared instance is OK to use, I guess that'll work. :-/

On Jan 15, 2015, at 18:04, Samuel E. Giddins notifications@github.com wrote:
If you want to use individual RKObjectManagers, just retain them and don't refer to the sharedManager.
—
Reply to this email directly or view it on GitHub.

—
Reply to this email directly or view it on GitHub.

authors: segiddins sixten

repo: RestKit/RestKit


text:
0.8indev NetPeer.ProcessPacket NRE

I have run a stress test and spotted an error: NullPointerException at NetPeer.ProcessPacket():785 it's the code line https://github.com/RevenantX/LiteNetLib/blob/82f82dfcd88c0923505708d26949afc4b5ae8857/LiteNetLib/NetPeer.cs#L785
The error was on a server, i.e. incoming connection.
I have no details of the error since it was console only. The #227 would help me to forward error logs to NLog file and see it they happens on production or test server.
Library version: 0.8indev commit 167b125f1
Framework: .NET Core
OS: Windows

@xmedeko maybe you somewhere have double recycle?

+1 on this
it shows up randomly

authors: RevenantX davinpra xmedeko

repo: RevenantX/LiteNetLib

license: mit


text:
Video controls on music page don't work

If you press play/pause on the embedded player in Music, it won't do anything. Only the bottom-left controls work:

Fixed

authors: jprochazk sphinxrave

repo: RiceCakess/Holodex


text:
Update to Angular 17

TODO:

Fix tooltip and popover components
Use signals

Remaining:

#78
https://github.com/Rikarin/xui/blob/master/apps/web/src/templates/angular.ts

Fix https://github.com/Rikarin/xui/issues/79

https://github.com/Rikarin/xui/issues/117

https://github.com/Rikarin/xui/issues/70

Fix #78

:tada: This PR is included in version 1.45.0-develop.1 :tada:
The release is available on:

v1.45.0-develop.1
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.45.0 :tada:
The release is available on:

v1.45.0
GitHub release

Your semantic-release bot :package::rocket:

repo: Rikarin/xui


text:
Started mid sentence a few times

https://lemmings.world/comment/2039215

It can't really handle the name "Which?", it assumes it's a sentence.

authors: HonoraryMancunian RikudouSage

repo: RikudouSage/LemmyAutoTldrBot


text:
Use the correct Docker version and cgroup driver

See: https://kubernetes.io/docs/setup/production-environment/container-runtimes/#docker

Set the Docker version to 19.03 and the cgroup driver to systemd in 8a12c2a7a2c22755d12c5fd6bb35443ebfbd65b1


text:
http request action should log response body in case of an error

Feature Suggestion
Currently, when the http-request action fails, the user will see the following in the scaffolder log:
There was an issue with your request. Status code: ${res.status}
It would be useful for the user to understand the failure reason by seeing the response body.
Possible Implementation
https://github.com/RoadieHQ/roadie-backstage-plugins/pull/499

#499 was merged, this can be closed.

authors: alexef emilgelman

repo: RoadieHQ/roadie-backstage-plugins


text:
Tests and fixes for RoaringBitmap.addOffset

This PR shows up some issues in RoaringBitmap.addOffset and fixes some low hanging fruit.

There was an array index out of bounds in RunContainer.append when a run container was placed after a bitmap container
There was an assertion error when a run container came after a bitmap container and Util.cardinalityInRange was called.
An assertion has been added to RoaringArray.append to reject empty containers.
A test for equivalence of shifted bitmaps before and after (de)serialization has been added.
Tests show some data is lost when the offset is not a multiple of 65536
Remove some very slow fuzz tests for parallel aggregation because I can't be bothered to watch them run
A test case for the data scenario reported in #260 (could not reproduce)

This PR will break because it contains tests which capture bugs but I don't have time  to fix them.

The tests should all be passing now.

Coverage increased (+0.03%) to 91.494% when pulling 5302a7cef1409d5e2be69cec66ca63371b2d8bce on richardstartin:empty-containers into 1f99ab6de6bc90b5b9ed520ab6718a8d6b814795 on RoaringBitmap:master.

I've ported these fixes to the buffer implementation just now (I didn't see any evidence of empty containers there either).

LGTM. Merging.

authors: coveralls lemire richardstartin

repo: RoaringBitmap/RoaringBitmap


text:
CORS Anywhere demo doesn't work

Hello,
I have downloaded the CORS-Anywhere demo.html and put it into my webserver root directory.
I see no any response in output windows after I try to "GET" anything(private or public).
Anyways when I use curl on any public adress I see a response.
Is there any prerequsities to have CORS-Anywhere client side working? What kind of logs should I check if so?
For future I'd like to implement own CORS anywhere server, but I wanted to test first using the demo.
I can reach https://cors-anywhere.herokuapp.com/ from my webserver.
Thank you very much in advance.

demo.html itself doesn't provide any special functionality, and you should be able to use it from anywhere, including the root directory of your server. The most important part of demo.html is the URL at https://github.com/Rob--W/cors-anywhere/blob/4814647a9d21f14858da282387a4295c17f2851d/demo.html#L67
I just tried the demo and loaded example.com. It works flawlessly.

Is there any prerequsities to have CORS-Anywhere client side working?

Documentation is available at https://cors-anywhere.herokuapp.com/
If you are not seeing any response at all, then it is more likely that the CORS Anywhere server that you are using is not reachable, e.g. because you used an invalid URL, or because you haven't started the server. If you used demo.html without modifications and still get not result, check whether you have blocked JavaScript or requests to the CORS Anywhere server in your web browser.

I deployed the CORS-Anywhere server locally and used the demo, it works now partially(Not receiving output for external sites at all, just number 0).
Not any modifications have been made to server, anyways, only access to internal backend is required for my purpose so current functionality is just okay.
Now I need to authorize my request by user and password(or Token), for that I will open another issue to have topic properly named.
Thank you for your answer !

repo: Rob--W/cors-anywhere


text:
CNN MNIST Example is minimizing instead of maximizing

In the CNN MNIST example ...
from evosax import FitnessShaper
fit_shaper = FitnessShaper(centered_rank=True,
                           z_score=False,
                           w_decay=0.1,
                           maximize=False)

Should be
from evosax import FitnessShaper
fit_shaper = FitnessShaper(centered_rank=True,
                           z_score=False,
                           w_decay=0.1,
                           maximize=True)

With this i obtain
ParameterReshaper: 11274 parameters detected for optimization.
ParameterReshaper: 11274 parameters detected for optimization.
Generation: 0 {'train_acc': 0.09507812559604645, 'test_acc': 0.10459999740123749}
Generation: 100 {'train_acc': 0.5151562094688416, 'test_acc': 0.5392000079154968}
Generation: 200 {'train_acc': 0.4524902105331421, 'test_acc': 0.47589999437332153}
Generation: 300 {'train_acc': 0.517333984375, 'test_acc': 0.5645999908447266}
Generation: 400 {'train_acc': 0.5697656273841858, 'test_acc': 0.585099995136261}
Generation: 500 {'train_acc': 0.5973535180091858, 'test_acc': 0.635699987411499}
Generation: 600 {'train_acc': 0.6465820074081421, 'test_acc': 0.670199990272522}
Generation: 700 {'train_acc': 0.571484386920929, 'test_acc': 0.592199981212616}
Generation: 800 {'train_acc': 0.5779687166213989, 'test_acc': 0.6055999994277954}
Generation: 900 {'train_acc': 0.5424999594688416, 'test_acc': 0.5643999576568604}
Generation: 1000 {'train_acc': 0.4705566167831421, 'test_acc': 0.47669997811317444}
Generation: 1100 {'train_acc': 0.47603514790534973, 'test_acc': 0.4980999827384949}
Generation: 1200 {'train_acc': 0.4590234160423279, 'test_acc': 0.5117999911308289}
Generation: 1300 {'train_acc': 0.5096582174301147, 'test_acc': 0.5390999913215637}
Generation: 1400 {'train_acc': 0.5160546898841858, 'test_acc': 0.5342000126838684}
Generation: 1500 {'train_acc': 0.4954589605331421, 'test_acc': 0.5008999705314636}
Generation: 1600 {'train_acc': 0.5203222632408142, 'test_acc': 0.5051000118255615}
Generation: 1700 {'train_acc': 0.4918164014816284, 'test_acc': 0.5573999881744385}
Generation: 1800 {'train_acc': 0.4961327910423279, 'test_acc': 0.505299985408783}
Generation: 1900 {'train_acc': 0.48252928256988525, 'test_acc': 0.501800000667572}
Generation: 2000 {'train_acc': 0.43098631501197815, 'test_acc': 0.4576999843120575}
Generation: 2100 {'train_acc': 0.4217871129512787, 'test_acc': 0.44529998302459717}
Generation: 2200 {'train_acc': 0.419990211725235, 'test_acc': 0.44599997997283936}
Generation: 2300 {'train_acc': 0.42906248569488525, 'test_acc': 0.4562999904155731}
Generation: 2400 {'train_acc': 0.4432031214237213, 'test_acc': 0.4359000027179718}

Also, good default parameter settings are.. train batch_size 256 popsize 400, reaches test acc score of 0.84 in 1000 generations.  There are bigger settings that can go higher, but for a quick demo those settings seem OK.

repo: RobertTLange/evosax


text:
Will sequelize-typescript work with sequelize v5?

@RobinBuschmann , so Sequelize recently released https://github.com/sequelize/sequelize/releases/tag/v5.0.0-beta.2 with various breaking changes, so I wonder how will this affect sequelize-typescript v1 in the near future?

@chanlito Yes it should work. I've tested it a bit with https://github.com/RobinBuschmann/sequelize-typescript-example and it worked very well with v5.

Odd, I get
Cannot find module './v5/Model'

in node_modules/sequelize-typescript/lib/models/Model.js:6:13 with
"sequelize": "^5.0.0-beta.5",
"sequelize-typescript": "^0.6.5-beta.0",

Hey @alexey-pelykh thanks for bringing this up. sequelize@5 will currently only work with sequelize-typescript@canary hope this helps

Thanks for explanation!

With the latest beta release it should work with sequelize@5 as well: sequelize-tyescript@next

Isn't the plan for them to release official TypeScript typings with the original library?
https://github.com/sequelize/sequelize/milestone/18
https://github.com/sequelize/sequelize/issues/9285

Hey @intellix, thanks for bringing this up. So those typings may conflict with @types/sequelize... 🤔

Close this issue due to initial question is answered

authors: RobinBuschmann alexey-pelykh chanlito intellix

repo: RobinBuschmann/sequelize-typescript


text:
Remove scope typing note

Not necessary after https://github.com/RobinBuschmann/sequelize-typescript/pull/206/files

Thanks for adjusting this. Unfortunately this is blocked by a build error #236 . I need to look into this soon.

Codecov Report

Merging #235 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #235   +/-   ##
=======================================
  Coverage   96.71%   96.71%
=======================================
  Files         115      115
  Lines        1004     1004
  Branches      129      129
=======================================
  Hits          971      971
  Misses         15       15
  Partials       18       18

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 6732cf8...8b03bb3. Read the comment docs.

authors: Chocobozzz RobinBuschmann codecov-io


text:
I need prefixed value with 8591824

Hi guys,
i need prefixed value with mask -> 8591824999999999999999999 but everytime i get this
85_1824__________________
I need:
8591824__________________
How can i get this?
Thank you so much.

@JakubKontra ,
85\\91824999999999999999999

TY!

authors: JakubKontra RobinHerbots

repo: RobinHerbots/Inputmask


text:
start typing from right

Describe the bug
Say it.  Spit it out.  What is it exactly?
Live example
Add a link to a codepen, jsfiddle or other example page which shows the problem
Please complete the following information:

OS:
Browser
Inputmask version

Additional context
How do you feel?  Do you want to talk about?  Why do you care?  ;-)

opened in error


text:
Unexpected behavior of remove option in preValidation

<script src="jquery.js"></script>
<script src="jquery.inputmask-504.js"></script>

<input id="id1">

<script>

   var m = {
      mask: '(999)000',
      definitions: {
         '0': { validator: '[0-9]',  },
         '9': { validator: '[0-9- ]' }
      },
      preValidation: function (buffer, pos, c, isSelection, opts, maskset, caretPos) {
         if ( c === ' ' ) return {remove: pos};
         return true;
      },
   };

   var i = $('#id1');
   i.inputmask(m);
   i.inputmask('setvalue', '1  234'); // input contains '(1__)234' as expected
   i.inputmask('setvalue', '   234'); // input contains '(__2)34_', (___)234 expected

</script>

@ilplotkin ,
What do you want to accomplish in the preValidation?

@RobinHerbots
For compatibility reasons, we have to convert masks from another format to Inputmask format. The problem is with leading optional groups (like phone number area code). I know the solution with alternate masks you recommend in #1884. But it is rather difficult to convert foreign arbitrary mask to the array of alternate masks in general case.
I am trying to resolve this problem in the following way. Introduce two definitions: with space for optional symbols and without space for mandatory ones. Before "setValue" invocation, analyze value and prepend/insert spaces according to mask. In preValidation, remove spaces to make it possible to enter symbols in those positions.
Thank you

@ilplotkin ,
I pushed a fix in 5.0.4-beta.37 which disable the skipoptionalprtchar (default is space) when setting the value.  The remove has not much use in your example.  As you remove the position and insert the space at the same position.

@RobinHerbots
Thank you very much.
Now I see <space><space><space>234 (if I remove the line with {remove: pos}).
But I cannot enter anything over spaces until manually remove them using Del or Backspace. Actually this is the intention of remove: to make it possible to enter immediately. With remove I see underscores instead of spaces, can enter immediately but the issue still reproduced. IMHO the necessity to remove spaces manually is confusing.

@ilplotkin ,
something ike this ?
var m = {
			mask: '(999)000',
			definitions: {
				'0': {validator: '[0-9]'},
				'9': {validator: '[0-9- ]'}
			},
			preValidation: function (buffer, pos, c, isSelection, opts, maskset, caretPos) {
				if (maskset.validPositions[pos] && maskset.validPositions[pos].input === " ") return {remove: pos, rewritePosition: pos};
				return true;
			},
		};

@RobinHerbots ,
Probably so...
Unfortunately, I do not quite understand how to finish your idea. Looks like that 'validPositions' is not ready at the moment and also closing parenthesis and one space are skipped.
      preValidation: function (buffer, pos, c, isSelection, opts, maskset, caretPos) {
         console.log(pos, maskset.validPositions[pos] && maskset.validPositions[pos].input);
         setTimeout(function(){console.log(pos, maskset.validPositions[pos] && maskset.validPositions[pos].input)});
         //if (maskset.validPositions[pos] && maskset.validPositions[pos].input === " ") return {remove: pos, rewritePosition: pos};
         return true;
      },

0 undefined
2 undefined
3 undefined
5 undefined
6 undefined
7 undefined
0 "("
2 " "
3 " " // parenthesis and space skipped
5 "2"
6 "3"
7 "4"

Doesn't the example work?
The validpositions only contain validated positions

Unfortunately, it does not. maskset.validPositions[pos] is always undefined.

Go to https://codepen.io/robinherbots/pen/bGVqWZo
Set the caret into the position of the spaces and start typing 123

I expected to see underscores instead of spaces. Misunderstanding. Sorry. Thank you very much.
I just replaced space with underscore in code and, seems, got expected result. I will investigate it.

@RobinHerbots
Thank you very much for your attention to our problem.
When I replace space with underscore I have seen underscores in "optional" positions and can enter digits over them immediately. Very well! Thank you. But I also would like to skip/clear "optional" positions on space key. I mean that, on space key pressed, underscore is appeared in current position, it is possible to enter in this position, caret moves to next position. I tried several variants but, unfortunately, without success. Is that possible? Can you help? Thank you
   var m = {
      mask: '(999)000',
      definitions: {
         '0': { validator: '[0-9]',  },
         '9': { validator: '[0-9_ ]' }
      },
      preValidation: function (buffer, pos, c, isSelection, opts, maskset, caretPos) {
         if ( maskset.validPositions[pos] && maskset.validPositions[pos].input === '_' ) return {remove: pos, rewritePosition: pos};
         return true;
      },
   };

   var i = $('#id1');
   i.inputmask(m);
   i.inputmask('setvalue', '___234');

@ilplotkin ,
I updated the codepen.
https://codepen.io/robinherbots/pen/bGVqWZo

@RobinHerbots ,
Looks like "second idea" is that we are looking for.
Thank you very much.
Great work!

authors: RobinHerbots ilplotkin


text:
Allow Aplhanumeric, space, dot and line

Hi,
I use this setup:
<input type="text" data-inputmask-mask="[*]" data-inputmask-greedy="true" data-inputmask-placeholder="_" data-inputmask-repeat="8">
How do I allow all letters, numbers and space and - and . ?
Right now I only have the * for alphanumeric.
Thanks!

Use regex option instead of mask like this:
<input type="text" data-inputmask-regex="[A-Za-z0-9\-\.\?]" data-inputmask-greedy="true" data-inputmask-placeholder="_" data-inputmask-repeat="8">

Works great, thanks!


text:
Upgrading all dependencies.

yarn upgrade

Pull Request Test Coverage Report for Build 3867126089

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 3867114326:
0.0%

Covered Lines:
9

Relevant Lines:
9

💛  - Coveralls

authors: RobinTail coveralls

repo: RobinTail/merge-sx


text:
Feature/add map server rviz conf

map server の launch 設定 (普段はlaunchせず、OGMの表示デバッグ用）と、独自 rviz config を使用するように変更しました。
rviz config については適宜変更してもらって大丈夫です。

助かります！ありがとうございます！
マージします！

authors: KentaKato TakashiSato


text:
feat: Prettierを導入 #8

close #8

コンフリクトを防ぐため、#7, #6 のマージ後にマージする

repo: Robot-Inventor/dl-converter


text:
Adding authentication module (not integrated into server yet)

Replicating the logic in https://github.com/GT-RAIL/rosauth/blob/develop/src/ros_mac_authentication.cpp

Close it and wait for later update to submit full PR


text:
APK Generation fails

Description
The app builds well on the simulator when I try to generate the signed APK, I get:
 Transform firebase-analytics-impl.aar (com.google.firebase:firebase-analytics-impl:16.0.0) with AarTransform
> Transform full.jar (project :emoji) with DexingTransform

> Task :app:mergeExtDexPlayRelease FAILED
AGPBI: {"kind":"error","text":"Class descriptor \u0027Landroid/support/customtabs/ICustomTabsCallback/;\u0027 cannot be represented in dex format.","sources":[{}],"tool":"D8"}

FAILURE: Build failed with an exception.

What went wrong:
Could not resolve all files for configuration ':app:playReleaseRuntimeClasspath'.

Failed to transform file 'jetified-classes.jar' to match attributes {artifactType=android-dex, dexing-is-debuggable=false, dexing-min-sdk=22} using transform DexingTransform
Error while dexing.

Devices and Versions

Your Rocket.Chat.Android version: (e.g. 2.1.0)
Your Rocket.Chat Server version: (e.g. 0.63.1-develop)

Mobile device model and OS version: (e.g. "Nexus 7 - Android 6.0.1")
Steps to reproduce

Logs

Any luck with this issue?

Add the following in your app level gradle file inside android tag and try sync, clean build apk .
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

@real19 if you try the above and still no luck, try switching to oracle jdk instead of openjdk and tell us if it all worked fine

Thanks @isanalWipro and @leonardoaramaki . Adding the following worked:
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
targetCompatibility JavaVersion.VERSION_1_8
}

authors: isanalWipro leonardoaramaki real19


text:
Dropbox Oauth Login issue for Recording Jitsi Video Conferences

Really enjoying the Jitsi integration into RocketChat so far!  Looks like we may have found a bug regarding Dropbox oauth and Jitsi video conference recordings.  It occurs in the electron app but not in Firefox or Chrome (details below).
My Setup

Operating System: Windows 10 Enterprise 2016 LTSB x64 Build 14393

Desktop App: RocketChat Electron 2.17.7 (also tested with 2.16.2 and 2.17.9)

Installation type: exe

[x ] I have tested with the latest version

[x ] I can simulate the issue easily

Description
When Jitsi video chat is accessed via electron desktop app, the oauth to dropbox fails consistently.  When accessing the Jitsi video chat room via web browser (Firefox and Chrome), oauth login to Dropbox works and video session is successfully recorded and saved to Dropbox.
RocketChat Electron 2.17.7 (exe install)
Firefox x64 v74.0
Chrome v80.0.3987.149
Current Behavior
While in Jitsi video conference session (Electron client), clicking "Start Recording" brings up an oauth window for Jitsi to access a Dropbox account.

After typing in the correct username and password, the oauth window turns completely white (though I can still see the Electron menu buttons at the top of that window "File", "Edit", "View").  This oauth window does not disappear on its own.  If I close the oauth window, the Jitsi video conference window continues asking me to "Sign In" to Dropbox.

The following doesn't seem to fix the problem: reloading the Jitsi window, reloading the Electron client, completely closing and reopening the electron client.
Expected Behavior
Oauth into Dropbox should succeed if credentials were correct, the oauth window should disappear and Jitsi should present the user with a button to start recording to Dropbox.  (This is what happens when the user accesses the Jitsi video conference in the Firefox or Chrome.)
Has anyone else run into this issue too?

This is a shot in the dark, but I come across a few GitHub posts from April/May 2019 regarding Dropbox support for OAuth on Electron browser.  Not sure if this ever got resolved or whether it's related to what's causing the issue now.
How to authenticate user dropbox access in an Electron desktop app?
https://github.com/dropbox/dropbox-sdk-js/issues/242
https://github.com/dropbox/dropbox-sdk-js/issues/245

Please test if the latest release did solve this. If not please reopen the issue or create a new one and tell us. I will be closing this one for now.
Thank you!

authors: jeanfbrito jimDKE


text:
[New] Invite and kick user intents

This PR introduces these new intents

Invite User
Kick User

updating en-us model with latest intents should be in separate PR

authors: AdarshNaidu Wuvist

repo: RocketChat/alexa-rocketchat


text:
Color picker has no background when changing comment color

Material Maker version:
0.94a4, latest alpha two days ago.
OS/device including version:
Windows 10 64 Bit
Issue description:

Color picker has no background when changing comment color. The color picker is also smaller than other color pickers. I tried disabling DPI scaling, thinking that was effecting it, but that made no difference.

Steps to reproduce:
Add a comment node and select it's color field.

Can confirm. Must be a bug.

Can confirm. Must be a bug.


text:
Seqlengths of GRange contains NA values!

The code I run:
df.rfp <- read.experiment("Abby_Mouse_Ribo-seq")
df.rna <- read.experiment("Abby_Mouse_RNA-seq")
find_uORFome("/n/jobspace/bbcore/schaffer_rpf_abby_min6/two_batches/uORFome", organism = "Mus musculus",
df.rfp = df.rfp, df.rna = df.rna, df.cage = NULL, biomart = NULL)
The error message:
Making training data from CDS and trailers (3' UTRs):
Finding Ribo-seq features for cds
/n/jobspace/bbcore/schaffer_rpf_abby_min6/two_batches/bam/rpf/pshifted/20210125_Index_1_JS8600_S9_R1_001_UMIremoved_pshifted.ofst
Error: BiocParallel errors
1 remote errors, element index: 1
15 unevaluated and other errors
first remote error:
Error in covRleFromGR(x, weight = weight, ignore.strand = ignore.strand): Seqlengths of x contains NA values!

I actually got "Making training data from CDS and trailers (3' UTRs)" done. But have a another error then:
Training data on CDS and 3' UTRs finished
Creating sequence features from ORFs
Finding Ribo-seq features for uORFs
/n/jobspace/bbcore/schaffer_rpf_abby_min6/two_batches/bam/rpf/pshifted/20210125_Index_1_JS8600_S9_R1_001_UMIremoved_pshifted.ofst
Error: BiocParallel errors
1 remote errors, element index: 1
15 unevaluated and other errors
first remote error:
Error in covRleFromGR(x, weight = weight, ignore.strand = ignore.strand): Seqlengths of x contains NA values!
In addition: Warning messages:
1: call dbDisconnect() when finished working with a connection
2: useNames = NA is deprecated. Instead, specify either useNames = TRUE or useNames = TRUE.

traceback()
7: stop(.error_bplist(res))
6: .bpinit(manager = manager, X = X, FUN = FUN, ARGS = ARGS, BPPARAM = BPPARAM,
BPOPTIONS = BPOPTIONS, BPREDO = BPREDO)
5: bplapply(seq(length(paths)), function(x, grl, fiveUTRs, threeUTRs,
cds, startRegion, paths, paths.rna) {
message(paths[[x]])
X <- paths[[x]]
Y <- paths.rna[[x]]
style <- seqlevelsStyle(grl)
RNA <- if (!is.null(Y)) {
fimport(Y, style)
}
else NULL
weight.RNA <- 1L
if (!is.null(RNA)) {
if (!is.null(mcols(RNA)$score))
weight.RNA <- "score"
}
ORFik:::allFeaturesHelper(grl, RFP = fimport(X, style), RNA = RNA,
tx, fiveUTRs, cds, threeUTRs, faFile = NULL, riboStart = 26,
riboStop = 34, sequenceFeatures = FALSE, grl.is.sorted = TRUE,
weight.RFP = "score", weight.RNA = weight.RNA, st = startRegion)
}, grl = grl, fiveUTRs = fiveUTRs, threeUTRs = threeUTRs, cds = cds,
startRegion = startRegion, paths = paths, paths.rna = paths.rna,
BPPARAM = BPPARAM)
4: bplapply(seq(length(paths)), function(x, grl, fiveUTRs, threeUTRs,
cds, startRegion, paths, paths.rna) {
message(paths[[x]])
X <- paths[[x]]
Y <- paths.rna[[x]]
style <- seqlevelsStyle(grl)
RNA <- if (!is.null(Y)) {
fimport(Y, style)
}
else NULL
weight.RNA <- 1L
if (!is.null(RNA)) {
if (!is.null(mcols(RNA)$score))
weight.RNA <- "score"
}
ORFik:::allFeaturesHelper(grl, RFP = fimport(X, style), RNA = RNA,
tx, fiveUTRs, cds, threeUTRs, faFile = NULL, riboStart = 26,
riboStop = 34, sequenceFeatures = FALSE, grl.is.sorted = TRUE,
weight.RFP = "score", weight.RNA = weight.RNA, st = startRegion)
}, grl = grl, fiveUTRs = fiveUTRs, threeUTRs = threeUTRs, cds = cds,
startRegion = startRegion, paths = paths, paths.rna = paths.rna,
BPPARAM = BPPARAM)
3: getGeneralRiboFeatures(df.rfp, df.rna, orfs, preName = ifelse(mode ==
"CDS", "verify", ""), BPPARAM = BPPARAM)
2: makeTrainingAndPredictionData(df.rfp, df.rna, organism = organism,
mode = mode, max.artificial.length = max.artificial.length,
features = features, requiredActiveCds = requiredActiveCds,
BPPARAM = BPPARAM)
1: find_uORFome("/n/jobspace/bbcore/schaffer_rpf_abby_min6/two_batches/uORFome",
organism = "Mus musculus", df.rfp = df.rfp, df.rna = df.rna,
df.cage = NULL, biomart = NULL)

I think the error is from:
orfs <- uORFomePipe:::getUorfsInDb(mode = mode)
To checj, I run
orfs <- uORFomePipe:::getUorfsInDb(mode = "uORF")
orfs has no seqlengths info
seqinfo: 31 sequences from an unspecified genome; no seqlengths

Well impressive investigation I would say. Yes, you are right,ORFik (my core back end package) is now updated, and uorfomePipe is not functional as of now. To fix it I would just need to ensure seqlevels are defined for the saved uorf object, should be a small fix. What you do is add seqinfo argument during creation of object. Either try to do it and send me a Pull request, or I will get to it later.
Just a note that I am working on a newer model and for cross validation with other methods, I highly advice another package called Ribcode, but it is more cumbersome to get large datasets through. It also does not capture short uorfs.
If you have not seen it yet, also test out our we interface which we are working on now called Ribocrypt.org

Thank you for the prompt response. I would wait for you to fix it. In the meantime, I will look into Ribcode and Ribocrypt.org.

Hi, are there any updates on fixing the bugs?

One thing first, this might be a case if you have outdated ORFik.  Can you ORFik devel and test? run devtools::install_github("Roleren/ORFik")
Then restart R(important!) and run uORFomePipe again. It might be something fixed earlier :)

I installed  ORFik from git-hub. I still got the same error.

This is now fixed (from October 10th), let me know if there is anything else.

repo: Roleren/uORFomePipe


text:
Savage World Tabbed sheet missing + icon to add new skills

Hello, I love the Savage Worlds Tabbed sheet, but I cannot find the + icon to add new skills.  The wiki says there should be a + icon, but I don't see one on the player tab or the configuration tab.  I see where I can rename skills, but I need to add some setting-specific skills for Beasts and Barbarians which is not available under the configuration tab either.
The + skills button is missing where the skills wrench is active or not.  I've tried the Github sheet, as well as the one you can select on Roll20, and it's missing on both.
Am I missing something, or was this feature removed?  Here is the wiki I'm looking at:
https://wiki.roll20.net/Savage_Worlds_Tabbed
thank you in advance.

If you click the crossed Hammer/Wrench icon, you can select the Knowledge/Other skill. That will add the + icon at the bottom of the skill list so you can add a custom skill.
The other option would be to rename an existing skill you're not using that uses the same linked attribute.
I hope this helps.

Closing this issue as it seems to be resolved. If there are residual problems, please feel free to create a new issue.

authors: finderski nmbradley williambbertram


text:
[Das_Schwarze_Auge_4-1] Contributed Fixes

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

Changes / Description
My relatively recent changes seem to really have made the sheet more approachable to people other than me and so there is quite the influx of changes to my clone of the character sheets repo :tada:
These are the first small changes, more is on the horizon :)

Bug Fixes

Checks of talents with a negative value can now be successful (45be2f6d45)
Dark Mode: Enhance readability of labels and table headers in the character sheet (312ddcfa8a)

Preparation of New Version

Add new author/developer "Pascal Stein" (6bd0d7a377)
Add info on latest version (68021c4b5a)
Bump version number (61d731cb1f)
Regenerate sheet files (c1c3c391d0)

Character Sheet Info Roll20 Internal Use only.


text:
[DEGENESIS] Picture links + translation fixed

Picture links changed to roll20 ones
Fixing translation issue

Changes / Comments
Roll20 Requests
Comments are very helpful for reviewing the code changes. Please answer the relevant questions below in your comment.

[ ] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[ ] Does this add functional enhancements (new features or extending existing features) ?
[ ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[ ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[ ] If this is a new sheet, did you follow Building Character Sheets standards ?

If you do not know English. Please leave a comment in your native language.

Hello! Your Pull Request includes changes to translation files. We will not deny your Pull Request, but we would prefer sheet contributors use Crowdin for translations. Please email Cassie at cassie@roll20.net and she will get you an invite to our Crowdin within 48 hours. Please use that for future translation updates! Thanks for all you do!

authors: Thalar oliviakristiansen


text:
PHP errors on location search

As reported on Facebook, PHP errors on location search: https://ropewiki.com/Location?jform&locsearchchk=on&locname=seattle&locdist=30mi&skinuser=
Notice: Undefined index: egMapsGMaps3ApiKey in /usr/share/nginx/html/ropewiki/vendor/mediawiki/maps/includes/geocoders/Maps_GoogleGeocoder.php on line 41

Notice: Undefined index: egMapsGMaps3ApiKey in /usr/share/nginx/html/ropewiki/vendor/mediawiki/maps/includes/geocoders/Maps_GoogleGeocoder.php on line 42

Notice: Undefined index: egMapsGMaps3ApiVersion in /usr/share/nginx/html/ropewiki/vendor/mediawiki/maps/includes/geocoders/Maps_GoogleGeocoder.php on line 44

Notice: Undefined index: egMapsGMaps3ApiVersion in /usr/share/nginx/html/ropewiki/vendor/mediawiki/maps/includes/geocoders/Maps_GoogleGeocoder.php on line 45

The example URL above looks like this now:

authors: hcooper llamafilm

repo: RopeWiki/app


text:
called Option::unwrap() on a None value

I tried to run this-week-in-past on Kubernetes: I have mounted my image folder to /resources, but the pod crashes with this error:
[2024-04-11T14:56:14Z INFO  this_week_in_past] 👋 Welcome to this-week-in-past version 1.23.1                                                                                │
│ [2024-04-11T14:56:14Z INFO  this_week_in_past] 📅 System time: 2024-04-11 14:56:14                                                                                │
│ [2024-04-11T14:56:14Z ERROR r2d2] database is locked                                                                                │
│ [2024-04-11T14:56:14Z INFO  this_week_in_past] 📅 Database time: 2024-04-11 14:56:14                                                                                │
│ [2024-04-11T14:56:14Z INFO  this_week_in_past] 🚀 Launching webserver on http://0.0.0.0:8080 🚀                                                                                │
│ [2024-04-11T14:56:14Z INFO  actix_server::builder] starting 1 workers                                                                                │
│ [2024-04-11T14:56:14Z INFO  actix_server::server] Actix runtime found; starting in Actix runtime                                                                                │
│ [2024-04-11T14:56:14Z INFO  this_week_in_past::scheduler] Begin resource indexing                                                                                │
│ [2024-04-11T14:56:14Z INFO  this_week_in_past::scheduler] Indexing resources, this may take some time depending on the amount of resources...                                                                                │
│ thread '<unnamed>' panicked at src/filesystem_client.rs:90:58:                                                                                │
│ called `Option::unwrap()` on a `None` value

Do you have an idea what could be the reason for this error and how to fix it? I assume it has something to do with my setup and not with your code, but I'm struggling to get any further and would appreciate hint :)
I'm using the latest docker image: rouhim/this-week-in-past:1.23.1
I also tested the same volume with https://github.com/filebrowser/filebrowser and I can open the folders and files.

I'm running the container in k3s thus it should work for you too. How does your resource definition looks like?

I've also improved the logging at this point, which should make it easier for us to look in the right direction.

[2024-04-11T18:59:42Z INFO  this_week_in_past] 👋 Welcome to this-week-in-past version 1.24.1
[2024-04-11T18:59:42Z INFO  this_week_in_past] 📅 System time: 2024-04-11 18:59:42                                                                                [2024-04-11T18:59:42Z INFO  this_week_in_past] 📅 Database time: 2024-04-11 18:59:42
[2024-04-11T18:59:42Z INFO  this_week_in_past] 🚀 Launching webserver on http://0.0.0.0:8080 🚀                                                                                [2024-04-11T18:59:42Z INFO  actix_server::builder] starting 1 workers
[2024-04-11T18:59:42Z INFO  actix_server::server] Actix runtime found; starting in Actix runtime
[2024-04-11T18:59:42Z INFO  this_week_in_past::scheduler] Begin resource indexing
[2024-04-11T18:59:42Z INFO  this_week_in_past::scheduler] Indexing resources, this may take some time depending on the amount of resources...
thread '<unnamed>' panicked at src/filesystem_client.rs:99:10:                                                                                called `Option::unwrap()` on a `None` value

---
apiVersion: apps/v1
kind: Deployment
metadata:
  name: this-week-in-past
  namespace: photoprism
  labels:
    app: this-week-in-past
spec:
  replicas: 1
  selector:
    matchLabels:
      app: this-week-in-past
  template:
    metadata:
      labels:
        app: this-week-in-past
    spec:
      containers:
        - name: this-week-in-past
          image: rouhim/this-week-in-past:1.24.1
          volumeMounts:
            - name: resources
              mountPath: /resources
          env:
            - name: SLIDESHOW_INTERVAL
              value: "40"
            - name: REFRESH_INTERVAL
              value: "60"
            - name: WEATHER_ENABLED
              value: "false"
            - name: IGNORE_FOLDER_MARKER_FILES
              value: ".irgnore,nsfw"
      volumes:
        - name: resources
          persistentVolumeClaim:
            claimName: pvc-pictures-smb

Looks good to me, maybe there is an issue with the smb mounting?
I've further increased the logging, the pipe is running... Will be in 1.25.0

1.25.0 should be there

Thanks for the updates!
My assumption is also that something is wrong with the volume, but I can't figure it out at the moment. That's why I attached the filebrowser to the same volume, but I can see the folders and view the pictures. 😕
I still get an error with version 1.25.0
[2024-04-18T20:30:07Z INFO  this_week_in_past::scheduler] Indexing resources, this may take some time depending on the amount of resources...
thread '<unnamed>' panicked at src/filesystem_client.rs:102:31:
called `Option::unwrap()` on a `None` value

Its still on my mind, if I have some spare time, I'll further improve logging at this point.

Can you please try 1.25.1 and message the error message back?

Sorry for the delay. I got some news with 1.25.17:

thread '' panicked at src/filesystem_client.rs:95:13:                                                                                > Failed to convert folder name to string for path: /resources/2023/20230506_Stra�e

The original name of the folder is 20230506_Straße.
I had no issues with this folder when mounting the samba share in docker. I also get an error with filebrowser. It shows the folder but can't access the content.
Thanks a lot for the additional logging! Now I can dig further into the issue.

repo: RouHim/this-week-in-past


text:
Automated testing with selenium

I am having trouble implementing drag and drop in our automated UI tests using Selenium I was wondering if this is possible and if yes could you point me to the solution?

Hi, I once tried to write the tests using Selenium for Sortable, but after researching this problem prishol to the conclusion that it is not possible to do using Selenium.

Hi, I once tried to write the tests using Selenium for Sortable, but after researching this problem has come to the conclusion that it is not possible to do using Selenium.

It's not possible for apps using native HTML5 DnD, as mentioned in this issue. You could try this workaround that is mentioned in the GitHub issue or this more advanced NPM package - it even has webdriverio integration.

authors: LewisW RubaXa SivaLutalica

repo: RubaXa/Sortable


text:
npm version optimization

"scripts": {
      "preversion": "npm test",
      "version": "npm run build && git add -A dist",
      "postversion": "git push && git push --tags && rm -rf build/temp"
    }

https://docs.npmjs.com/cli/v6/commands/npm-version

repo: Ruben-Arushanyan/guide-open-source


text:
added build instructions for building from source

just for the fork

@RubenSchellekens I updated the readme and rebased onto your master, thanks for reviewing :)

repo: Ruben-Sten/TeXiFy-IDEA


text:
🛑 Website (rubenfixit.com) is down

In 186f1b6, Website (rubenfixit.com) (https://rubenfixit.com) was down:

HTTP code: 503
Response time: 346 ms

Resolved: Website (rubenfixit.com) is back up in f84a239.

repo: RubenFixit/upptime


text:
Do A Barrel Roll incompatibility

When this mod is installed, the camera rotation caused by DABR during elytra flight doesn't work anymore.
I suspect it is caused by your mod since it can also modify the camera.

I'll try my best to add compatibility, but i cant promise any compatibility for any non "None" camera modification

It's also incompatible with Better Third Person


text:
Rotate pictures

While I do appreciate the horizontal and vertical flips, sometimes images I import come out sideways for some reason despite being oriented correctly in other photo apps. Is there a possibility of adding the ability to rotate (even if it's only by 90° at a time)?

I'm having this exact same issue and I second this.

authors: SplitterTriplets pieartsy


text:
Feature/dev8

Now it prompts you for all the inputs before running all the actions sequentially. This is done to prevent user from having to wait and respond back to a prompt once an action is done when manually having to enter response to prompt.
DELETE_AUDIO set to y now deletes audio even if DOWNLOAD_AUDIO is set to y.
Added AUTO_LOAD_ENV to automatically load .env file, preventing user from having to answer y to loading .env file every time.

Approved.


text:
Release

0.1.13 had a broken worker due to upgrade of RQ

Coverage increased (+0.4%) to 96.926% when pulling 221cddc1c6619a8d19379f4ea543c4e3c3358ec0 on develop into 4b4482b05996755556e6387f648256c03593da00 on master.

repo: RulersOfAsgard/alamo-alerter


text:
maven test case-(testInstrumentHttpJspPage && testInstrumentServlet) failed

We tried to make the maven test cases ,but failed on Test for com.ibm.javametrics.instrument.
The detail as below:
testInstrumentHttpJspPage(com.ibm.javametrics.instrument.InstrumentTest)  Time elapsed: 3.017 sec  <<< FAILURE!
java.lang.AssertionError: Should be emitting Http data
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at com.ibm.javametrics.instrument.InstrumentTest.testInstrumentHttpJspPage(InstrumentTest.java:102)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:507)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:507)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)
testInstrumentServlet(com.ibm.javametrics.instrument.InstrumentTest)  Time elapsed: 3.027 sec  <<< FAILURE!
java.lang.AssertionError: Should be instrumenting HttpServlet.service
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.assertTrue(Assert.java:41)
at com.ibm.javametrics.instrument.InstrumentTest.testInstrumentServlet(InstrumentTest.java:141)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:507)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.runLeaf(ParentRunner.java:325)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:78)
at org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:57)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
at org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at org.junit.runners.ParentRunner.run(ParentRunner.java:363)
at org.apache.maven.surefire.junit4.JUnit4Provider.execute(JUnit4Provider.java:252)
at org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:141)
at org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:112)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:507)
at org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray(ReflectionUtils.java:189)
at org.apache.maven.surefire.booter.ProviderFactory$ProviderProxy.invoke(ProviderFactory.java:165)
at org.apache.maven.surefire.booter.ProviderFactory.invokeProvider(ProviderFactory.java:85)
at org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess(ForkedBooter.java:115)
at org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:75)

Yes, Those tests require the jvm to be started with the -javaagent specified. I think I will disable them for now.

authors: robbinspg xunavy

repo: RuntimeTools/javametrics


text:
Зафиксировать минимэп внизу окна

Я вернул дефолтную прокрутку и добавил минимальную высоту страницы. Теперь на окне, ниже 690px включается вертикальная прокрутка. Само решение не самое элегантное, но пока ладно. При этом есть проблема.
Поскольку позиция интро-минимэпа зависит от размеров окна, он не всегда примагничивается к низу. Я добавил в скрипт примитивную поддержку минимальной высоты, но этого недостаточно: при маленьком окне основная часть фиксируется у нижнего края, а интро болтается за краем, внизу страницы. Иногда, наоборот, оно сползает куда-то кверху. Короче, я запутался совсем.
Я хочу, чтобы весь минимэп всегда фиксировался внизу, а страница жила своей жизнью где-то под ним. Т.е. выглядел прямо как элемент окна.

Вот, я даже нарисовал:

@krauklish Вроде в https://github.com/RusPosevkin/evolution/commit/5556285f65df3b4f1a9884581f372e55caa53ab7 сделал как ты просил. Проверь, все ли ок, верно ли я тебя понял :)

У меня сейчас вот так :)

↑ Это, конечно, если уменьшить размер окна, а потом проскролить вниз.

@krauklish Добавил суровых костылей и вроде работает как нужно, проверь.
Весь minimap у нас fixed. Проблема заключалась в том, что при горизонтальном скролле, у нас должна прокручиваться intro часть, при этом при вертикальном скролле она же должна прилипать к нижней части экрана (что достигается fixed позиционированием). Все конфликтующие манипуляции со стилями я перенес в скрипты, вместо прокрутки intro части при горизонтальном скролле, она просто сдвигается через left-позиционирование.
Короче, это жесть, но она работает.
Сейчас еще приведу все сделанные изменения в нормальный вид и тогда закрою багу

fixed in https://github.com/RusPosevkin/evolution/commit/cb00719d813b8a17a875c3e6d3d4b629b136ee5a

works like a charm 👍
Я еще увеличил немного нижний отступ у дерева, чтобы фиксированный таймлайн на него не налезал. Теперь у нас достаточно сносный уровень адаптивности по вертикали

authors: RusPosevkin krauklish

repo: RusPosevkin/evolution


text:
Day is off by one

I initialized the dates like so
$scope.events = [
{ date: "2015-10-22" },
{ date: "2015-10-22" },
{ date: "2015-10-24" },
{ date: "2015-10-25" },
];
But the dates displayed are off by one day. Is this a time zone issue that I'm missing?

I had the same issue, so, as I did not find what as going on I create a plugin to add a day to a date:
var myDate = addDay(myDay, 1);
var myDateArray = addOneDay(arrayOfDates);
Maybe it could work to you.
add-a-day.zip

Please look at my comment on issue #30
solution is to give the full date in event.date
_event[iTips].date
Tue Sep 13 2016 00:00:00 GMT-0400 (Eastern Daylight Time)

authors: guazelli jasonandress shashu10


text:
Настройки finetuning

Здравствуйте, подскажите если не секрет, какие вы использовали настройки в rugpt3 модели для перефразирования?

Добрый день!
Для обучения какие-то конкретные параметры интересуют? или для генерации какой-то более стабильный вариант?
При обучении ничего не мудрила как в репе обучала https://github.com/sberbank-ai/ru-gpts/blob/deepspeed_full/examples/Finetune_RuGPTs_with_HF.ipynb по дефолту.
Для генерации можно пробовать разные параметры, лучше подбирать под свою задачу и свои тексты.


text:
rsa is not compatible with rand 0.8.0

If I update my dependency of rand from 0.7.3 to 0.8.0 I get the following error:
the trait bound rand::rngs::OsRng: rand_core::RngCore is not satisfied  the trait rand_core::RngCore is not implemented for rand::rngs::OsRng  note: required because of the requirements on the impl of rand::Rng for rand::rngs::OsRng
I'm using rsa 0.3.0.

This seems to require that num-bigint is updated to rand 0.8 first and I've added an issue in that project.

This seems to require that num-bigint is updated to rand 0.8 first and I've added an issue in that project.

Still waiting a little bit longer to propagate this through libraries, breaking rand changes are quite painful and dividing in the ecosystem. Last time around it took months for the ecosystem to rally behind the latest version.

PR is here: https://github.com/RustCrypto/RSA/pull/85 , requires upstream PR to be merged first.

We'll be bumping (most of) the rest of the RustCrypto to use rand_core v0.6 later this month / early next month so it's probably a good time to upgrade.
Definitely agree these are really painful upgrades, especially as rand is the most used crate in the entire Rust ecosystem, according to the "Most Downloaded" list on https://crates.io/

rand 0.8 was support was added to num-bigint 0.4.0 so #85 is no longer blocked?

authors: alechenthorne brmmm3 dignifiedquire littledivy phayes tarcieri

repo: RustCrypto/RSA


text:
Update sbt to 1.5.5

Updates org.scala-sbt:sbt from 1.5.4 to 1.5.5.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

labels: library-update, semver-patch

Superseded by #90.


text:
Add ntl

Addition:
ntl - Interactive cli menu to list and run npm scripts.
Cheers, Michael

Sorry, should have said, should be in Miscellaneous section.

Makes sense.

@mischah Thanks! Would you be interested in becoming a collaborator here with push access? We're an http://openopensource.org/ project, and I'd be happy to add you here.

authors: RyanZim mischah

repo: RyanZim/awesome-npm-scripts


text:
Feature request: Home Assistant Event entity for command errors

Is it possible to get some kind of feedback in Home Assistant when commands to the car fail?
Maybe implement an Event type sensor that publishes command error when command fail?
Typical error
saic-mqtt-gateway    | 2024-11-02 13:01:01,520 [ ERROR  ] return code: 8, message: Your operation is too frequent. For vehicle safety, please use the physical key to start the vehicle and try again after turning off the engine.(72) - __main__

I feel so dumb for  not having thought of this before that I'm going to implement it right away

I feel so dumb for not having thought of this before that I'm going to implement it right away

Sweet!
sidenote:
Now that services can respond the optimal solution would be to catch the error somehow not sure how that can be done using MQTT switches though. Probably would have to implement some kind of custom service that waits for an OK response on MQTT


text:
Not able to connect to SAP ECC from CAPM application

Hi,
We have a CAPM application, from which we call a OData service to fetch some details using cds.connect in service.
But we were getting "Error during request to remote service: \ngetaddrinfo ENOTFOUND pg1" error.
So, we updated the SAP Cloud SDK version from 3.2 to 3.6 and now we getting the getting the below error.
Error during request to remote service: (0 , internal_1.getTenantIdWithFallback) is not a function
Please help us resolving this.
Regards,
Ragav

Hi Ragav, you must keep all cloud sdk dependency versions in sync, otherwise, they will break.
We also recommend upgrading to the latest version, as we do not support outdated ones.

Hi @hasanciftci26, the function was removed, however, this error can only occur if you do not keep the SDK dependencies aligned, no package of version 3.20.0 is calling the removed function.

repo: SAP/cloud-sdk-js


text:
Updating link to GitHub docs

GitHub moved part of their docs. Looks there was only one reference to those docs in this project.
This updates the link.

Thank you for this contribution, well spotted!

authors: Michadelic spier

repo: SAP/project-portal-for-innersource


text:
doc: document printing out HTTP error details

Relates #105

Codecov Report

Merging #107 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #107   +/-   ##
=======================================
  Coverage   92.81%   92.81%
=======================================
  Files           6        6
  Lines        2465     2465
=======================================
  Hits         2288     2288
  Misses        177      177

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 fa7ac90...ec2235d. Read the comment docs.

authors: codecov-commenter filak-sap

repo: SAP/python-pyodata


text:
Design Check boxes

goal: check boxes style.
Current

Pain points

Disproportional label text in relation with the Check box element size
Low contrast of the label

Tasks

[x] Define use cases
[ ] Visual design
[ ] Document results on wiki
[ ] Update files on Box

Use Cases
The main use case for a Check Box is to mark a setting, option or flag as active.
For instance:

[ ] Send promotional emails to my email address

[ ] Use this object as reference

UX Elements

Element
Description

Input
The element that can reflect the status of the checkbox. Checked or Unchecked

Label
The label describes what will happen when the checkbox is activated

Status

Status
Description

Normal
The Check Box doesn't have the focus.

Mandatory
Setting a Check Box as mandatory means: the user have to activate the option to validate the screen or continue with the flow. The label is displayed in bold and a * at the end, indicating that field is mandatory.  This is the only case where the Check Box can be put to Invalid after performing the validation.

Focused
Like the rest of the Form Inputs the Input Element will highlight indicating to the user that the element have the focus. Only the input element will be highlighted, not the Label

Disabled
The Input element and the label are dimmed/grayed out so signal they cannot be used

Invalid
The Input Element with highlight in a error color and a message will be displayed right bellow the mandatory checkbox

@LeoT7508
These are the uses cases and status for the Check Box.
Please take in count the pain points from https://github.com/SAP/techne/issues/801#issue-242646618

@joseegm

Looking good, thanks @LeoT7508.
Things to improve

The checked check box is blue. When putting the check boxes along with other inputs. That color will draw too much attention to it. see attached screenshot:

The checked check box with the square filled looks very heavy in comparison with the other inputs -see above screenshot. **We can try removing the fill and using only the check icon inside the square.

There is no apparent difference between the focused and the checked.

Let's try this
Put the Normal checked checkbox color to black, leaving only the blue for the focused status. That will solve 1, 2 and 3

@LeoT7508
There is also a unbalance with the error messages. We are going to try and find a better solution that works for the inputs as well as the check boxes. The ticket is opened at #841

@joseegm
These comments are addressed the same way as radio buttons.

@joseegm
Updated Check Boxes

Results documented on:
https://github.com/SAP/techne/wiki/Check-Boxes

@xak
This is ready for implementation.

repo: SAP/techne


text:
[BUG] Error on existing subscription when trying to add another subscription

Is there an existing issue for this?

[X] I have searched the existing issues

What version of Terraform are you using?
0.2.0-beta
What type of issue are you facing
bug report
Describe the bug

throws the above error when trying to add another subscription after already creating a subscription in an earlier apply
Expected Behavior
no errors.
Steps To Reproduce
Setup and create the infrastructure and include the below block.
resource "btp_subaccount_subscription" "businessApplicationStudio" {
subaccount_id = btp_subaccount.subaccount.id
app_name      = "sapappstudiotrial"
plan_name     = "trial"
}
Then after applying the above and creating the infrastructure. Add the below block and try applying the changes. The below block will force the existing subscription to fail with the above shown api error.
resource "btp_subaccount_subscription" "launchpadService" {
subaccount_id = btp_subaccount.subaccount.id
app_name      = "SAPLaunchpad"
plan_name     = "standard"
}
Add screenshots to help explain your problem
The planned changes for BAS subscription is shown below even though it should not be impacted

Additional context
No response

I am not able to reproduce the error. Here my Setup:
Initial Setup with entitlement and subscription to BAS:
###
# Creation of subaccount
###
resource "btp_subaccount" "project" {
  name      = local.project_subaccount_name
  subdomain = local.project_subaccount_domain
  region    = lower(var.region)
}

###
# Entitlement of subaccount for BAS - plan "standard"
###
resource "btp_subaccount_entitlement" "bas_standard" {
  subaccount_id = btp_subaccount.project.id
  service_name  = "sapappstudio"
  plan_name     = "standard-edition"
}

###
# App subscription of subaccount for BAS - plan "standard"
###
resource "btp_subaccount_subscription" "businessApplicationStudio" {
subaccount_id = btp_subaccount.project.id
app_name = "sapappstudio"
plan_name = "standard-edition"
depends_on = [ btp_subaccount_entitlement.bas_standard ]
}

Result of first terraform apply:

After that I added the following blocks as you described to the main.tf:
###
# Entitlement of subaccount for SAP Build Workzone Standard Edition - plan "standard"
###
resource "btp_subaccount_entitlement" "saplaunchpad_standard" {
  subaccount_id = btp_subaccount.project.id
  service_name  = "SAPLaunchpad"
  plan_name     = "standard"
}

###
# App subscription for SAP Build Workzone Standard Edition - plan "standard"
###
resource "btp_subaccount_subscription" "launchpadService" {
subaccount_id = btp_subaccount.project.id
app_name = "SAPLaunchpad"
plan_name = "standard"
depends_on = [ btp_subaccount_entitlement.saplaunchpad_standard ]
}

Result of second terraform apply:

@cerpass-86LAK Did you perform any steps in between that impacted the Terraform state?

@cerpass-86LAK : That sounds like the root cause for the issue and is indeed something we detected as a side effect in #351.
The issue #351 is fixed with PR #352 and will be available in the next release of the Terraform provider.
I will therefore close this issue

repo: SAP/terraform-provider-btp


text:
Create an SAP Fiori Elements-Based UI

Tutorials: https://developers.sap.com/tutorials/btp-app-create-ui-fiori-elements.html
Step 2, isn't these Fiori Elements (e.g. List Report Object Page) available in @sap/generator-fiori instead of @sapui5/sapui5-templates

Hi @sqjlin,
Thank you for reporting it. We need to reproduce this issue with the latest release and will get back to you asap.
Best regards,
Iwona

Hi @sqjlin,
The_List Report Object Page_ is one of four floorplans as shown in the screenshot here when using the template wizzard provided by the package @sap/generator-fiori.
@sapui5/sapui5-templates will be used later in the tutorial Create a UI Using Freestyle SAPUI5.
What is your concrete question or issue here?
Best regards,
Iwona

Hi @sqjlin,
We haven't heard from you in a while, so we are closing the issue. If you still have questions, feel free to open a new issue.
Best regards,
Iwona

authors: iwonahahn sqjlin

repo: SAPDocuments/Issues


text:
HANA One Console cannot get instance status

According to the https://s3.amazonaws.com/hanaone-documentation/Rev+122.60.0/Getting+started+guide.pdf, after created Hana One instance from AWS, we need to Log on to the SAP HANA One Portal Console to configure Hana One, wait till Initial HANA settings are updated then I can see the instance status from the HANA One Console. These steps worked a few months ago! But for the Hana One instances I created in the recent 2 days, Instance Status can not be showed in the Hana One Console even after I waited a whole night. And I tried to reboot the instance, still not work. [it is always said : getting cpy/memory/disk usage...]
And I cannot use the system user password I set in the Hana One Console to connect to hana:

10: authentication failed SQLSTATE: 28000
So I guess the init steps are not done successfully.

What tutorial does this relate to?

Thank you for your feedback. We haven't heard from you, so we are closing the issue.
If you still have questions, feel free to reopen the issue.

repo: SAPDocuments/Tutorials


text:
Deploy Your Business Application to Cloud Foundry

Tutorial URL: https://developers.sap.com/tutorials/appstudio-cap-deploy-app.html
Step 2: Run your app with SAP HANA
I've followed the GROUP: Develop a CAP Node.js App Using SAP Business Application Studio and until this step no deploy to the HANA was executed. I would suggest to add this step before Step 2:
Bring the @sap/cds-dk package to the latest version by executing:
npm i -g @sap/cds-dk
then run
cds add hana
to add the dependency "@sap/hana-client". Run:
npm i
to install the additional dependency. Then:
cds deploy --to hana
can be executed to deploy the schema to the HDI container.

@Paolaufer I also do not get Liat in the dropdown but I can still enter @liatbor into the message and it will reference her. Can you?
@liatbor Did you get notified that your help is needed?

Yes :)

Hi,
Thank you for your suggestion, but we are currently displaying the procedure we want our users to follow.
We will update it when other scenarios are enabled.
Regards,
Pao

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.

authors: MichaelCzcz Paolaufer gregorwolf liatbor thecodester


text:
Incorrect Envirponment name - Fiori using ABAP

Hello,
Scenario URL: https://developers.sap.com/tutorials/abap-environment-deploy-cf-production.html
Issue: Step 4.5: Configure data source, system and service -> ABAP Environment: abap-cloud-default_abap-trial :: Environment name is: "default_abap-trial"
Screenshot in the tutorial also confirms that.
please update the screenshot.
Thanks,
Shubham
Landscape Labels: trail1, trail2
Sprint Label: SCPTest-2009A
Scenario Label:SCPTest-fabap
priority label: high-prio

Hi @i353590 ,
this has been updated. @MichaelCzcz we can close this ticket.
Best regards,
Merve

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.


text:
Automatic commit: Move cp-mobile-dev-kit-create-customer, cp-mobile-d…

resized some of existing images

@thecodester sure I will do that .
Just to understand it more clear- do I need to make changes to all MD files (tutorials associated with this PR) or either one is fine ?

You need to touch every MD that includes an image that you are updating/adding/removing.

@thecodester i now updated MDs with some text, does it work now?

Next time you can just add a space somewhere -- that's good enough :-)

authors: jitendrakansal thecodester


text:
Term change suggestion SDG14,15 - [rehabitilitat]

SDG:14, 15
Target & phrase: 14.4 ++
Suggested term/change: rehabilit as a synonym for habitat/fish stock restoration
Reason:

Present in 15.1

repo: SDGforskning/sdg-strings


text:
Add missing translations (fix #554)

Closes #554

@n00bS-oWn-m3, the GH fails.

Still one missing, I suppose?

Still one missing, I suppose?

The reason it was translated locally on my machine, was because there were translations of venv in the .po file. I think I fixed it with an extra middleware.

authors: TiboStr jonathancasters


text:
Module 2 Exercise 3 [MARVIN AYEH]

Please "drag & drop" exercise 3 file below.

Please UPDATE THE TITLE of this "Issue" in the title bar above with your name.
M.A_W4M2E3.docx

Great analysis!

authors: JuliePeeling Marvesc

repo: SERVIR-WA/GALUP


text:
Module 2 exercises [KESEGO MOTSWASELE]

Please "drag & drop" exercise 1
POINT OF INTEREST OF PANDA EX 1 MODULE 2.pdf
pdf file below.

Please "drag & drop" exercise
PANDA IDU IN CLOSE PROXIMITY TO CATTLEPOST Ex 2 Module 2.pdf
2 pdf file below.

Please "drag & drop" exercise 3 pdf f
CLAY CONTENT OF PANDA EX 3.pdf
ile below.

Please "drag & drop" exercise 4 pdf file below.

Please UPDATE THE TITLE of this "Issue" in the title bar above with your name.

If you haven't done so, please go back to Module 2 and make sure to take the post-training survey. Participating in surveys is required for receiving the "GALUP Certificate" by the University of Florida.

Well done, Kesego. You clearly grasped the material outlined in Module 2 and successfully applied it to these exercises. Thank you for your participation!

authors: Achidago CASSIEMOTS


text:
Thumbnails load too slowly

Originally reported by: lisa ballard (Bitbucket: basilleaf, GitHub: basilleaf)

likely because they are being resized in the HTML
figure out: what size is the thumbnail going to be? is it reasonable to size it down in the html (good for retina?) and if so by how much is ok? or is it decide on a size and then make a set that size?
Or.. can this be remedied by CDN which it probably needs anyway?

Bitbucket: https://bitbucket.org/ringsnode/opus2/issue/55

This is fixed because we now show thumbnails in their native size.

authors: basilleaf rfrenchseti

repo: SETI/pds-opus


text:
Feature #33

Pr contains two recipes for issue #33 and covers the vanilla salesforce part of it. One of the recipes contains Account, Contact, and multiple opps related to the account and contact created and another recipe contains a salesforce lead example ( might not be part of the issue, just created it since there is no lead example in the repo)

Updated the PR by removing the geolocation fields as suggested


text:
findCharacterPos doesn't report the correct Y location

Prerequisite Checklist

[X] I searched for existing issues to prevent duplicates
[X] I searched for existing discussions on the forum to prevent duplicates
[X] I am here to report an issue and not to just ask a question or look for help (use the forum or Discord instead)

Describe your issue here
findCharacterPos is offsetting the Y position too high and reporting incorrect values.
Your Environment

OS / distro / window manager: linux / kde / x11
SFML version: 2.6.1
Compiler / toolchain: CMake sample project
Special compiler / CMake flags: N/A

Steps to reproduce
Run this code:
#include "SFML/Graphics/CircleShape.hpp"
#include "SFML/Graphics/Color.hpp"
#include "SFML/Graphics/Font.hpp"
#include "SFML/Graphics/Rect.hpp"
#include "SFML/Graphics/RectangleShape.hpp"
#include "SFML/Graphics/RenderWindow.hpp"
#include "SFML/Graphics/Text.hpp"
#include "SFML/System/Vector2.hpp"
#include "SFML/Window/Event.hpp"
#include "SFML/Window/VideoMode.hpp"
#include <cstddef>
#include <cstdio>
#include <optional>

void print_float_rect(const sf::FloatRect &rect) {
  printf("top: %lf left: %lf width: %lf height: %lf\n", rect.top, rect.left,
         rect.width, rect.height);
}

void print_float_vector(const sf::Vector2f &vec) {
  printf("x: %lf y:%lf\n", vec.x, vec.y);
}

std::optional<float> get_character_width_at_idx(const sf::Text &text,
                                                size_t idx) {
  float width = text.findCharacterPos(idx + 1).x - text.findCharacterPos(idx).x;
  if (width < 0) {
    return {};
  }

  return {width};
}

int main() {
  sf::RenderWindow window(sf::VideoMode(200, 200), "SFML Works!");
  window.setFramerateLimit(60);

  sf::Font font;
  if (!font.loadFromFile("SourceCodePro-SemiBold.ttf")) {
    printf("Failed to load font!\n");
    return 1;
  }

  sf::Text text;
  text.setFont(font);
  text.setCharacterSize(32);
  text.setString("M");
  text.setPosition(sf::Vector2f(100, 100));

  sf::CircleShape mouse_dot;
  mouse_dot.setFillColor(sf::Color::Red);
  float radius = 3;
  mouse_dot.setRadius(radius);
  mouse_dot.setOrigin(radius / 2, radius / 2);
  mouse_dot.setPosition(sf::Vector2f(-100, -100));

  sf::RectangleShape letter_box;
  letter_box.setOutlineColor(sf::Color::Blue);
  letter_box.setOutlineThickness(2);
  letter_box.setFillColor(sf::Color::Transparent);
  letter_box.setPosition(sf::Vector2f(-100, -100));

  while (window.isOpen()) {
    sf::Event event;
    while (window.pollEvent(event)) {
      switch (event.type) {
      case sf::Event::Closed:
        window.close();
        break;
      case sf::Event::MouseButtonPressed: {
        sf::Vector2f position(event.mouseButton.x, event.mouseButton.y);
        sf::Vector2f char_pos = text.findCharacterPos(0);
        sf::FloatRect rect(char_pos.x, char_pos.y,
                           get_character_width_at_idx(text, 0).value_or(0),
                           text.getGlobalBounds().height);

        print_float_rect(rect);
        print_float_vector(position);
        printf("letter contains mouse %s\n",
               rect.contains(position) ? "true" : "false");

        letter_box.setSize(rect.getSize());
        letter_box.setPosition(rect.getPosition());
        mouse_dot.setPosition(position);
      } break;
      default:
        break;
      }
    }
    window.clear(sf::Color::Black);
    window.draw(text);
    window.draw(mouse_dot);
    window.draw(letter_box);
    window.display();
  }

  return 0;
}

Expected behavior
That blue box around the letter should actually be around the letter.
Actual behavior
The blue box is offset up due to an incorrect calculation from findCharacterPos

I am not sure this is a bug. I think there is a misunderstanding of what findCharacterPos is doing. Probably the documentation is too vague.
You can achieve what you want with glyph bounds provided by the font.
Example:
#include <SFML/Graphics.hpp>

int main() {
  sf::RenderWindow window(sf::VideoMode(400, 400), "SFML Works!");
  window.setFramerateLimit(60);
  window.setView(sf::View(sf::FloatRect({}, {100, 100})));

  sf::Font font;
  if (!font.loadFromFile("SourceCodePro-SemiBold.ttf")) {
    return 1;
  }

  sf::Text text("M", font, 32);
  text.setPosition({50.f, 10.f});
  text.setScale({2.f, 2.f});
  text.setRotation(20.f);
  const sf::FloatRect glyphBounds =
      font.getGlyph(text.getString()[0], text.getCharacterSize(), false).bounds;

  sf::RectangleShape box;
  box.setOutlineColor(sf::Color::Blue);
  box.setOutlineThickness(2);
  box.setFillColor(sf::Color::Transparent);
  // relative to text coordinate system
  box.setPosition(text.getInverseTransform() * text.findCharacterPos(0) +
                  sf::Vector2f(0, static_cast<float>(text.getCharacterSize())) +
                  glyphBounds.getPosition());
  box.setSize(glyphBounds.getSize());
  const sf::FloatRect boxRect(box.getPosition(), box.getSize());

  while (window.isOpen()) {
    for (sf::Event event; window.pollEvent(event);) {
      switch (event.type) {
      case sf::Event::Closed:
        window.close();
        break;
      case sf::Event::MouseMoved: {
        const sf::Vector2i mouseInWindow(event.mouseMove.x, event.mouseMove.y);
        const sf::Vector2f mouseInWorld =
            window.mapPixelToCoords(mouseInWindow);
        const sf::Vector2f mouseInText =
            text.getInverseTransform() * mouseInWorld;
        box.setOutlineColor(boxRect.contains(mouseInText) ? sf::Color::Green
                                                          : sf::Color::Blue);
      } break;
      default:
        break;
      }
    }

    window.clear();
    window.draw(text);
    window.draw(box, text.getTransform());
    window.display();
  }
}

For reference, this is the documentation you are talking about: https://www.sfml-dev.org/documentation/2.6.1/classsf_1_1Text.php#a2e252d8dcae3eb61c6c962c0bc674b12
It says it applies all transformations including translation. Currently it doesn't look like it is applying the local bound translation, hence why I added it. Also, it seems a little weird from a user perspective that I have to do all of that to find the actual character position. If the current implementation is correct, wouldn't that suggest we should rename the function?

I am not sure this is a bug. I think there is a misunderstanding of what findCharacterPos is doing. Probably the documentation is too vague.
You can achieve what you want with glyph bounds provided by the font. Example:
#include <SFML/Graphics.hpp>

int main() {
  sf::RenderWindow window(sf::VideoMode(400, 400), "SFML Works!");
  window.setFramerateLimit(60);
  window.setView(sf::View(sf::FloatRect({}, {100, 100})));

  sf::Font font;
  if (!font.loadFromFile("SourceCodePro-SemiBold.ttf")) {
    return 1;
  }

  sf::Text text("M", font, 32);
  text.setPosition({50.f, 10.f});
  text.setScale({2.f, 2.f});
  text.setRotation(20.f);
  const sf::FloatRect glyphBounds =
      font.getGlyph(text.getString()[0], text.getCharacterSize(), false).bounds;

  sf::RectangleShape box;
  box.setOutlineColor(sf::Color::Blue);
  box.setOutlineThickness(2);
  box.setFillColor(sf::Color::Transparent);
  // relative to text coordinate system
  box.setPosition(text.getInverseTransform() * text.findCharacterPos(0) +
                  sf::Vector2f(0, static_cast<float>(text.getCharacterSize())) +
                  glyphBounds.getPosition());
  box.setSize(glyphBounds.getSize());
  const sf::FloatRect boxRect(box.getPosition(), box.getSize());

  while (window.isOpen()) {
    for (sf::Event event; window.pollEvent(event);) {
      switch (event.type) {
      case sf::Event::Closed:
        window.close();
        break;
      case sf::Event::MouseMoved: {
        const sf::Vector2i mouseInWindow(event.mouseMove.x, event.mouseMove.y);
        const sf::Vector2f mouseInWorld =
            window.mapPixelToCoords(mouseInWindow);
        const sf::Vector2f mouseInText =
            text.getInverseTransform() * mouseInWorld;
        box.setOutlineColor(boxRect.contains(mouseInText) ? sf::Color::Green
                                                          : sf::Color::Blue);
      } break;
      default:
        break;
      }
    }

    window.clear();
    window.draw(text);
    window.draw(box, text.getTransform());
    window.display();
  }
}

Also i really think it's a bug now that I've done more digging. If you look at my test code in the PR, you will see the code I'm using to run this test.
So the blue box is an sf::Rect that uses the global bounds from the text object to represent itself. This is what it looks like:

But with the current 2.6.x code, whenever you use the value from "findCharacterPos" as the top left corner of your rect that surrounds the character, you get this:

I don't think it makes sense for the return value of the "top left" coordinate to be above the global bounds value that you get from rect.
For reference, if you do the fix lapinozz suggests in the PR I opened, you will see the top left corner match the global bounds top left corner. This is a picture running the same exact test code, but with the SFML fix:

I really think it's a bug here and not a documentation issue.

For reference, if you do the fix lapinozz suggests in the PR I opened, you will see the top left corner match the global bounds top left corner.

This works for the first letter but it is wrong in general.
Example running your test code with your suggested fix when the first character is an underscore.

Consider the following program and a corresponding screenshot.
I think findCharacterPos current behavior is valid and useful to position a vertical cursor in a text field or to highlight selected text. I use it to draw the background pattern in my example below. Note it also gives a sensible output for the space character.
One problem I see is that having a local position would be more useful that a global position when there is some rotation (that is why I transform findCharacterPos output with text.getInverseTransform()), but returning global position is the documented behavior so all good.
To get a tight bounding box on a specific character, glyph bounds give the needed information.
#include <SFML/Graphics.hpp>

int main()
{
    auto window = sf::RenderWindow{sf::VideoMode{800, 600}, "Text", sf::Style::Default};
    window.setFramerateLimit(60);

    auto font = sf::Font{};
    if (!font.loadFromFile("resources/tuffy.ttf"))
        return 1;

    constexpr auto characterSize = 200;

    auto text = sf::Text{L"ïyÏ~Ô @!", font, characterSize};
    text.setPosition(100.f, 100.f);
    text.setRotation(10.f);

    auto backgroundRects = std::vector<sf::RectangleShape>{};
    for (auto i = std::size_t{}; i < text.getString().getSize(); i++)
    {
        const auto position = text.getInverseTransform() * text.findCharacterPos(i);
        const auto next     = text.getInverseTransform() * text.findCharacterPos(i + 1);
        const auto size     = sf::Vector2f{next.x - position.x, font.getLineSpacing(characterSize)};
        auto&      rect     = backgroundRects.emplace_back(size);
        rect.setPosition(position);
        rect.setFillColor(i % 2 ? sf::Color{64, 64, 0} : sf::Color{0, 64, 64});
    }

    auto letterBounds = std::vector<sf::RectangleShape>{};
    for (auto i = std::size_t{}; i < text.getString().getSize(); i++)
    {
        const auto bounds   = font.getGlyph(text.getString()[i], characterSize, false).bounds;
        const auto position = text.getInverseTransform() * text.findCharacterPos(i) + sf::Vector2f{0.f, characterSize} +
                              bounds.getPosition();
        auto& rect = letterBounds.emplace_back(bounds.getSize());
        rect.setPosition(position);
        rect.setFillColor(sf::Color::Transparent);
        rect.setOutlineColor(sf::Color::Green);
        rect.setOutlineThickness(1.f);
    }

    auto textBounds = sf::RectangleShape{};
    {
        const auto bounds = text.getLocalBounds();
        textBounds.setPosition(bounds.getPosition());
        textBounds.setSize(bounds.getSize());
        textBounds.setFillColor(sf::Color::Transparent);
        textBounds.setOutlineColor(sf::Color::Red);
        textBounds.setOutlineThickness(1.f);
    }

    while (window.isOpen())
    {
        for (auto event = sf::Event{}; window.pollEvent(event);)
            if (event.type == sf::Event::Closed)
                window.close();

        window.clear();
        for (const auto& rect : backgroundRects)
            window.draw(rect, text.getTransform());
        window.draw(text);
        for (const auto& bounds : letterBounds)
            window.draw(bounds, text.getTransform());
        window.draw(textBounds, sf::RenderStates{sf::BlendAdd, text.getTransform(), nullptr, nullptr});
        window.display();
    }

    return 0;
}

I'm going to create a different PR targetting master that has a way to fetch an axis aligned bounding box of a character in a sf::Text

@eXpl0it3r could you remove the bug tag and change the milestone. I agree with kimci here about this. I see the issue he is talking about. I think having a feature as described in my previous comment would be better

For reference, if you do the fix lapinozz suggests in the PR I opened, you will see the top left corner match the global bounds top left corner.

This works for the first letter but it is wrong in general. Example running your test code with your suggested fix when the first character is an underscore.

Consider the following program and a corresponding screenshot.
I think findCharacterPos current behavior is valid and useful to position a vertical cursor in a text field or to highlight selected text. I use it to draw the background pattern in my example below. Note it also gives a sensible output for the space character. One problem I see is that having a local position would be more useful that a global position when there is some rotation (that is why I transform findCharacterPos output with text.getInverseTransform()), but returning global position is the documented behavior so all good.
To get a tight bounding box on a specific character, glyph bounds give the needed information.
#include <SFML/Graphics.hpp>

int main()
{
    auto window = sf::RenderWindow{sf::VideoMode{800, 600}, "Text", sf::Style::Default};
    window.setFramerateLimit(60);

    auto font = sf::Font{};
    if (!font.loadFromFile("resources/tuffy.ttf"))
        return 1;

    constexpr auto characterSize = 200;

    auto text = sf::Text{L"ïyÏ~Ô @!", font, characterSize};
    text.setPosition(100.f, 100.f);
    text.setRotation(10.f);

    auto backgroundRects = std::vector<sf::RectangleShape>{};
    for (auto i = std::size_t{}; i < text.getString().getSize(); i++)
    {
        const auto position = text.getInverseTransform() * text.findCharacterPos(i);
        const auto next     = text.getInverseTransform() * text.findCharacterPos(i + 1);
        const auto size     = sf::Vector2f{next.x - position.x, font.getLineSpacing(characterSize)};
        auto&      rect     = backgroundRects.emplace_back(size);
        rect.setPosition(position);
        rect.setFillColor(i % 2 ? sf::Color{64, 64, 0} : sf::Color{0, 64, 64});
    }

    auto letterBounds = std::vector<sf::RectangleShape>{};
    for (auto i = std::size_t{}; i < text.getString().getSize(); i++)
    {
        const auto bounds   = font.getGlyph(text.getString()[i], characterSize, false).bounds;
        const auto position = text.getInverseTransform() * text.findCharacterPos(i) + sf::Vector2f{0.f, characterSize} +
                              bounds.getPosition();
        auto& rect = letterBounds.emplace_back(bounds.getSize());
        rect.setPosition(position);
        rect.setFillColor(sf::Color::Transparent);
        rect.setOutlineColor(sf::Color::Green);
        rect.setOutlineThickness(1.f);
    }

    auto textBounds = sf::RectangleShape{};
    {
        const auto bounds = text.getLocalBounds();
        textBounds.setPosition(bounds.getPosition());
        textBounds.setSize(bounds.getSize());
        textBounds.setFillColor(sf::Color::Transparent);
        textBounds.setOutlineColor(sf::Color::Red);
        textBounds.setOutlineThickness(1.f);
    }

    while (window.isOpen())
    {
        for (auto event = sf::Event{}; window.pollEvent(event);)
            if (event.type == sf::Event::Closed)
                window.close();

        window.clear();
        for (const auto& rect : backgroundRects)
            window.draw(rect, text.getTransform());
        window.draw(text);
        for (const auto& bounds : letterBounds)
            window.draw(bounds, text.getTransform());
        window.draw(textBounds, sf::RenderStates{sf::BlendAdd, text.getTransform(), nullptr, nullptr});
        window.display();
    }

    return 0;
}

So after looking at this image, I ask myself if people really want a feature like this. For me, I don't need this. If I'm the only one advocating for something like this, then we shouldn't add more features than necessary. I was definitely using / expecting the wrong things from the "findCharacterPos" function. It's truly finding the glyph's charactar position which seems like that is what it really should do. Whenever I was comparing it to the text's global bounds, it made it look weird. Thing is, that wasn't the point of the function. I definitely think there could be some more touching up in the documentation as to what this function does specifically.

Looking at the refactoring from local coordinates to global coordinates, it seems suspicious that Y is never updated for "normal" characters, but only special characters.
While the calculation is still for local bounds first and then transformed to global coordinates afterwards, I wonder whether we shouldn't still consider the vertical spacing for the local bounds for normal charaters.
https://github.com/SFML/SFML/commit/5bae08a2d8d0dba34268150d96071a4546ab49c5#diff-22c1fd53bbab429b4a348662278b21abb1d7a063aa14b175a8f3a5451c783b6cR152-R193

This seems related to #2172, i.e. lacking documentation on font metrics.

This pr addresses that the findcharactarpos will return the top of the line position.

repo: SFML/SFML

license: Zlib


text:
🛑 Mining Site is down

In ddb4789, Mining Site (https://mining-server.azurewebsites.net/) was down:

HTTP code: 503
Response time: 708 ms

Resolved: Mining Site is back up in 62aa54e.


text:
1629 | Slowest Key | C++

Slowest Key -
What will change -
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code
[ ] Improving Code
[ ] Improving Documentation
[ ] Bug Fix

Programming Language
Please add/delete options that are not relevant.

[ ] Python
[x] C++
[ ] Java
[ ] SQL

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

Could you assign it to me, I had already created a pull request regarding this issue

@SSKale1  please could you check this pull request, I had verified this code, also got accepted in LeetCode.

repo: SHY-Corp/LeetCode-Solutions


text:
41 | First Missing Positive | Python3

Title - First Missing Positive
What will change - Add solution in python3 for the mentioned problem
Type of Issue -

[x] Adding New Code

Programming Language

[x] Python

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

Awaiting assignment for the same

Could you please assign this issue to me?


text:
Feature rhythm game

This is the second prototype.

bug fix
add variable difficulty

Confirmed pull request #8.

authors: blacksg dungbik


text:
Expose the port from the Docker container

Little edit so the port 8075 is exposed from the container.
This is really useful when used with https://github.com/jwilder/nginx-proxy.

Tusen takk :beers:

authors: fmauNeko yellowiscool


text:
🛑 DNS1.electro is down

In ca7b1b6, DNS1.electro (ns1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS1.electro is back up in 907420a after 8 minutes.

repo: SIRMaxis/uptime-robot


text:
🛑 Website is down

In bb6af08, Website (ELTeam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Website is back up in 1611048 after 30 minutes.


text:
🛑 DNS2.electro is down

In 3122216, DNS2.electro (ns2.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS2.electro is back up in 40543f3 after 55 minutes.


text:
🛑 DNS2.electro is down

In 4a9691d, DNS2.electro (ns2.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS2.electro is back up in 9b16074 after 1 hour, 17 minutes.


text:
🛑 DNS2.electro is down

In 902af7d, DNS2.electro (ns2.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS2.electro is back up in 0cf20d5 after 21 minutes.


text:
🛑 DNS1.electro is down

In 0d46099, DNS1.electro (ns1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS1.electro is back up in 9fe0f93 after 8 minutes.


text:
🛑 DNS1.electro is down

In d0b81d7, DNS1.electro (ns1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DNS1.electro is back up in 8510253 after 40 minutes.


text:
Hard-coded numbers in synthesis.py

Calls to wkernelaf in synthesis.py contain hard-coded numbes 257 and 15. Those would be better understood if they had text names. Also, should those be adjustable in any way?

I will try to have a look at this. However, in case I don't Vlad could you please put it onto the the list of things to look into?

Yes, I'll have a look.
On 19/03/15 17:25, bnikolic wrote:

I will try to have a look at this. However, in case I don't Vlad could
you please put it onto the the list of things to look into?
—
Reply to this email directly or view it on GitHub
https://github.com/SKA-ScienceDataProcessor/crocodile/issues/2#issuecomment-83683452.

I've removed the hard coded values and replaced them with parameters. The choice of parameters is illustrated in file doc/wkernel.rstw in commit
22ec7f538e8aefe2cc1ff672114de81d517ac586

I think that closes it for now. We should have a function which computes suitable size of the far-field given maximum w value in a dataset

authors: LeviBarnes bnikolic vlad7235

repo: SKA-ScienceDataProcessor/crocodile


text:
Adapter nicht (mehr) in der sources-dist.json

Leider scheint der Adapter nicht mehr in den offiziellen Repositories (stable & beta) gelistet zu sein. Kann er wieder aufgenommen werden?

Ist derzeit beantragt. Weiss leider nicht, wie lange das dauert.

Ah, ok. Habe das nur für deinen 2 Adapter gesehen. Und das war ne längere Diskussion ;-)

Die Wallbox? Ja, wegen dem Namen ... Nunja. Der wurde auch noch nicht aufgenommen - zumindest sind die PR noch offen.

authors: SKB-CGN volkerrichert