text:
Typescript support not working

I have a Node project configured with TypeScript. When I installed @retroachievements/api and tried to import it using ESM (import { buildAuthorization } from "@retroachievements/api"), I received an error from ts compiler stating that the library does not export buildAuthorization. Upon further inspection, I found that the library was not exporting any methods, properties, types, or classes.

Please provide a minimal reproduction with a GitHub repo, CodeSandbox, or Stackblitz.

There you go, although I think it is unnecessary, it is probably possible to reproduce this in any TS project.
https://github.com/Hadaward/retroachievements-api-bug
My tsconfig is pretty simple:
{
  "compilerOptions": {
    /* Language and Environment */
    "target": "ES2022",                                  /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */

    /* Modules */
    "module": "NodeNext",                                /* Specify what module code is generated. */
    "rootDir": "./",                                  /* Specify the root folder within your source files. */
    "moduleResolution": "NodeNext",                     /* Specify how TypeScript looks up a file from a given module specifier. */

    /* Emit */
    "outDir": "./dist",                                   /* Specify an output folder for all emitted files. */

    /* Interop Constraints */
    "esModuleInterop": true,                             /* Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility. */
    "forceConsistentCasingInFileNames": true,            /* Ensure that casing is correct in imports. */

    /* Type Checking */
    "strict": true,                                      /* Enable all strict type-checking options. */
    "noImplicitAny": true,                            /* Enable error reporting for expressions and declarations with an implied 'any' type. */
    "strictNullChecks": true,                         /* When type checking, take into account 'null' and 'undefined'. */
    "strictFunctionTypes": true,                      /* When assigning functions, check to ensure parameters and the return values are subtype-compatible. */
    "strictBindCallApply": true,                      /* Check that the arguments for 'bind', 'call', and 'apply' methods match the original function. */
    "alwaysStrict": true,                             /* Ensure 'use strict' is always emitted. */

    /* Completeness */
    "skipLibCheck": true                                 /* Skip type checking all .d.ts files. */
  }
}

it is probably possible to reproduce this in any TS project

No. I have two TypeScript projects using the library and they both work fine. The nuance probably has to do with ESM.
Thank you for the minimal reproduction.

In your tsconfig, try changing:
    "module": "ESNext",
    "moduleResolution": "Node",

This seems to fix the issue lol, sorry for the inconvenience. I'll close this.

No worries at all, thanks again for the minimal reproduction and quick follow-up.

authors: Hadaward wescopeland

repo: RetroAchievements/api-js


text:
[AUTOMATIC] Release/0.7.0

This is an automatic release.
New Features

Add amountMicros to Price interface (#170) via Toni Rico (@tonidero)

Bugfixes

Create a preload method in Purchases to prefetch branding information. (#169) via Toni Rico (@tonidero)

Dependency Updates

Bump svelte from 4.2.12 to 4.2.19 (#168) via dependabot[bot] (@dependabot[bot])

Other Changes

ECO-1398: Added the possibility to pass a currency in the demo app query string params (#167) via Nicola Sacco (@nicfix)

Remaking to include #173

source: gharchive/pull-request

authors: RCGitBot tonidero

repo: RevenueCat/purchases-js

license: MIT

license_type: permissive

license_source: github-api


text:
Question: Does relay-nextjs implement render-as-you-fetch?

Does relay-nextjs implement the render-as-you-fetch pattern, so that data requests are made as rendering starts?

Nope! Next.js doesn't support the pattern yet. When Next.js + React 18 is stable I'll begin investigating it 😄

source: gharchive/issue

authors: WillPCowan rrdelaney

repo: RevereCRE/relay-nextjs


text:
Populate Boolean values in autoFill()

This patch populates values of type Boolean when using auto fill, and logs any other variable types not handled.

Good call, thanks for the pull request.

repo: RhinoSecurityLabs/Swagger-EZ


text:
Twitter archive with Openwayback

Hi, I have recorded some twitter pages with conifer desktop app  it replay smoothly on conifer. But when I try to replay .Warc files it on Openwayback it gives error and don't display the content.

Unfortunately, twitter pages will not work with openwayback as it doesn't have the capability to replay dynamic pages.
You can use: pywb, or replayweb.page, or the replayweb.page app if you want to host a local version of a twitter capture.
You can even embed it online using replayweb.page, for example, like here: https://webarchive-demo2.glitch.me/

@ikreymer  I have tried it with Brozzler that comes with an embedded pywb but still I got this error

authors: ikreymer mashalahmad

repo: Rhizome-Conifer/conifer


text:
cjk text rendering not correct

Steps To Reproduce
run todo example on master, input chinese text, text not rendered correctly.
also because of no subpixel rendering said in https://github.com/RibirX/Ribir/discussions/608, i can see "1"s have inconsistent thinness, very different from alacritty on the left. and other gtk and qt software.
Screenshots

Environment:

Ribir version: master
Rust version:  nightly
OS: archlinux, x11, 1080x1920, Xft.dpi:100

That is not a bug, as the default font family in the theme does not support Chinese characters. You can change the font family of the text to resolve this issue.

authors: M-Adoo tkkcc

repo: RibirX/Ribir


text:
Can't load babel-plugin-styled-components

https://bundle.run/babel-plugin-styled-components@1.10.0
Error is ENOENT: no such file or directory, open '/var/app/current/.tmp/5e3d0376ee07f7ee82fade73933be9e40942eb0b/package/lib/index.js.js'
Came across this when trying to play around with styled components on the Babel REPL, which uses packd to load more esoteric plugins.

It's loading fine on my side, I'm invalidating the entry in the CDN.

Has been invalidated, could you please confirm it works on your side?

Yeah, it's working fine now thanks!

authors: liamness xtuc

repo: Rich-Harris/packd

license: mit

license_source: bigquery


text:
Furaffinity ripper now uses RipUtils.getCookiesFromString to load cookies

Category
This change is exactly one of the following (please change [ ] to [x]) to indicate which:

[X] a refactoring

Description
I made the ripper use RipUtils.getCookiesFromString when loading cookies and added a login unit test
Testing
Required verification:

[ ] I've verified that there are no regressions in mvn test (there are no new failures or errors).
[ ] I've verified that this change works as intended.

[ ] Downloads all relevant content.
[ ] Downloads content from multiple pages (as necessary or appropriate).
[ ] Saves content at reasonable file names (e.g. page titles or content IDs) to help easily browse downloaded content.

[ ] I've verified that this change did not break existing functionality (especially in the Ripper I modified).

Optional but recommended:

[X] I've added a unit test to cover my change.

None of the failed tests have anything to do with these changes

repo: RipMeApp/ripme


text:
Usages of concat/append/etc conflict between JsArray and Array

There are places in bastet_js/src/JsArray and bastet/src/Array that use Js.Array.concat and ArrayLabels.concat/ArrayLabels.append respectively. The behavior of these functions yields different results, though, so it looks like each module would not pass the tests of the other.
eg:
JsArray.Monad.flat_map([|1, 2|], x => [|x, x|]) == [|2, 2, 1, 1|];
Array.Monad.flat_map([|1, 2|], x => [|x, x|]) == [|1, 1, 2, 2|];

JsArray.Unfoldable.unfold(x => x > 5 ? None : Some((x, x + 1)), 0) == [|5, 4, 3, 2, 1, 0|];
Array.Unfoldable.unfold(x => x > 5 ? None : Some((x, x + 1)), 0) == [|0, 1, 2, 3, 4, 5|];

Is this desired?

Ah no, it needs to be flipped like
  let alt = (a, b) => ArrayLabels.append(b, a);

for Array as well. I'll push up a fix

You were using a slightly older version -- this was resolved in the 1.2.2 release from #23
I'll add some tests to avoid any confusion

#23 fixed the issue for Alt but not Monad or Transferable

Would you be willing to submit a PR for those fixes? I'm not sure when I'd get around to it tbh

Definitely; I'm throwing one up right now.
I'd love to add a test for clarity/surety but the difference between how bastet/src/Test.re and bastet_js/src/Test_JsArray.re work is eluding me.

You can look at my last commit on how to do it, you can just copy pasta that and change the assertion. bastet/src/Test.re is a functor that accepts any generic unit and generative test framework.
bastet_js/test/Test_JsArray just runs it using mocha and jsverify (native runs on alcotest and qcheck)
No worries though if you don't feel like it

Actually don't worry about adding tests -- I think the best solution might be to get Monad and Unfoldable to use the Array.alt function directly instead of ArrayLabels (you'd need to move Alt to be before Monad. That way code is never out of sync and alt is already tested

authors: Risto-Stevcev amsross

repo: Risto-Stevcev/bastet


text:
Shashank

Added auto-subscribe to joined rooms.
Created get messages API

Changes look good. Approving the PR!

repo: RoadTripppin/wazzup


text:
Hardcore Ender Expansion heads rendering error

https://github.com/user-attachments/assets/d28b601a-842d-4cfa-a1ce-2cc3fbb61002

Lmao, wtf is HEE doing??

Cannot reproduce

This is also a problem caused by AsieLib

I've installed AsieLib and still cannot reproduce this issue.

Now I find that backhand is the cause of the problem

Still cannot reproduce with backhand installed on a minimal instance

I've gone to work now. I may have to wait for the weekend to sort out the problem

I found that with the latest SimplesKinbackport-F67FA888-master +f67fa8890c-dirty, this bug disappeared

I think we can consider it fixed then! Thanks for testing

Btw, I hope my new skin solution has worked good so far, my goal was to replace SkinPort and other skin backport alternatives.

Thank you for your hard work, thank you!


text:
Using the latest MongoDB.Driver ?

Are there any plans to switch to the latest stable MongoDB driver aka 2.3.0? That would be great since I was using the latest version before installing this package and now it replaced the installed versio and some of my code broke.

See #4

authors: RobThree taofik-nos

repo: RobThree/MongoRepository


text:
Consider adding code device ready check to ANSI term library.

One of the problems I've been encountering with many of the little arduino boards that are using native serial connections on the USB,  is that some don't reset when a serial monitor such as putty connects.   The little Seeed Xiao / Adafruit similar boards, start up the serial connect very quickly.   That can result in people thinking the little boards are dead or not working.
The real issue is that they are fast,  boot fast,  and you just can't see the early text flying by.
There is a simple solution that can help with this -- add a "Device Status Check" to the library such that if the serial monitor supports emulation of a ANSI, VT52, VT100 - the library checks the type... blocking until a device status is returned.
The check is quite simple,  it works also for the Arduino IDE serial monitor -- because it repeats the same escape sequence over and over again until there is a response... with the IDE serial monitor,  you just simply hit the "SEND" button and it continues - but of course all the "escape" codes are sent as unknown character boxes.
Here is the short code for testing - added into your example for the ANSI library.
Serial.begin(115200);
delay (100);
int read_len = 0;
delay(300);
Serial.setTimeout(500);
do {
Serial.write(27);
Serial.print("[0c");
read_len = Serial.readBytes(buffer,3);
} while (read_len == 0);
ansi.clearScreen();
The delays could possibly be remoted.
If the code is added to a routine that is called  say  ANSI.deviceType   It could block  and return simple code 0, for dumb device does not support ANSI codes,   1  = VT52,  2= VT100,  3= VT220,  etc.
I have the test sequences for about a dozen different terminal types.  And can work with you to provide the list.

Sounds like an excellent addition to the library.
As I am ill at the moment it can rake some weeks before i can dive into this. (Work is piling up).

I'm not in any hurry.
That little script really makes a difference - it does eliminate many of
the delay(xxxx); that you see people add.   For the little Seeed Xiao,
Seeed RP2040 - it makes a huge difference because the little boards boot
up so fast - you can't possibly open up terminal and connect to the com
port.
I've also used escape sequences over the years to tell the VTxxx / ANSI
devices to echo or log data to serial ports attached to the dumb
terminal.  I believe Putty supports the escape sequence to send data to
a logfile.
If you are interested I can try some snippets of code.
The identify device string that comes back can be easily mapped to the
more precise terminal type and features.  In the snippet I had written
on github,  it just blocks progress until a response has been sent by
putty (or another terminal emulator) and received by the arduino device.

Dennis Heidner
(206) 817-1164
On 2022-04-07 20:53, Rob Tillaart wrote:

Sounds like an excellent addition to the library.
As I am ill at the moment it can rake some weeks before i can dive into
this. (Work is piling up).
--
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
You are receiving this because you authored the thread.Message ID:
@.***>

Links:
[1] https://github.com/RobTillaart/ANSI/issues/9#issuecomment-1092415323
[2]
https://github.com/notifications/unsubscribe-auth/ALN7EVWVIM34LOXKFRQEPCDVD6UU3ANCNFSM5S2UDORA

Definitely interested in examples. These help as test reference for the library implementations

I'm behind on some work also,  but I'll try cranking out snippets and
test examples and forward to you.  I'd rather help the author of a
library and not cause a fork at this point.

Dennis Heidner
(206) 817-1164
On 2022-04-08 03:11, Rob Tillaart wrote:

Definitely interested in examples. These help as test reference for the
library implementations
--
Reply to this email directly, view it on GitHub [1], or unsubscribe
[2].
You are receiving this because you authored the thread.Message ID:
@.***>

Links:
[1] https://github.com/RobTillaart/ANSI/issues/9#issuecomment-1092701572
[2]
https://github.com/notifications/unsubscribe-auth/ALN7EVUVMEFE7QWZSIZTV5DVEAA6TANCNFSM5S2UDORA

I will make a separate branch to add the new functions so testing them won't interfere with the master.

I need to finish my US taxes over the next couple of days.    Then
resurrect some of the older Windows machines that have the various
emulators on them.  I forgot Microsoft doesn't automatically include the
Hyperterm in their distribution anymore.

Dennis Heidner
(206) 817-1164
On 2022-04-11 12:02, Rob Tillaart wrote:

@heidnerd [1]
update - https://github.com/RobTillaart/ANSI/tree/develop

added int deviceType(uint32_t timeout) timeout in milliseconds.

Please have a look if it works for you as it should.
I get always the value 2 (Teraterm and Arduino IDE) and -1 (Putty) so I
don't know if it works as it should.
Don't have other terminal-emulators
--
Reply to this email directly, view it on GitHub [2], or unsubscribe
[3].
You are receiving this because you were mentioned.Message ID:
@.***>

Links:
[1] https://github.com/heidnerd
[2] https://github.com/RobTillaart/ANSI/issues/9#issuecomment-1095444122
[3]
https://github.com/notifications/unsubscribe-auth/ALN7EVRQSETW5KCTZEPZXV3VERZODANCNFSM5S2UDORA

@heidnerd
Any progress to report?

Actually I think I've finally gotten a solution to test with.
I didn't want to test with putty only,  incase the implementation and a quirk.  I wanted to verify using a couple of other emulators.   I'd planned to simply use hyperterm  - which used to be distributed with Windows.  That changed with the introduction of Windows 8 & 10, hyperterm is now a separate product sold by the original software company.   So my next attempt was to test on an older windows XP laptop with hyperterm,  Secure92 (Minisoft) product and one other terminal emulator.   Those emulators worked find on Windows XP --- but I could not successfully get the USB driver to correctly load for the little XIAO (SAMD21 and RP2040).
I tracked down another emulator from Turbosoft (Australia)  TTWIN 4,  it does have all of the emulations for the DEC terminals plus many others which supported VT like escape sequences.   And I finally got an update for the MInisoft terminal emulator - this should help provide TWO verifications besides putty.
The VT terminals have the ability to send an escape sequence that sends data to a remote printer.  I want to test that also,  I have verified in putty that I could create a "printing device" that is actually a file.  This would make it possible to put info on the screen and also log data to a flat file.
I'm hoping to actually finish the testing of the work you'd done - then confirm the printing sequences and that they work on putty, TTWIN 4, Secure92 and perhaps hypertem...
Sorry for the delay,  I'd forgotten how old WinXP is and the issues with trying to use new drivers on it.
I'd gone out and bought a USB floppy drive so I could load the old software on my Win 10 PC,  only to discover that the old terminal software - fails to start - because the OS detects it's not compatible....

One thing that I've learned -- I have a whole lot of old 5.25 inch floppies that I need to go through while I still have older Windows machines that can read them... and consolidate or transfer to newer media.    I have some pictures on an optical WORM - that I may never be able to recover.  Iomega zip media which will be a challenge.  Some with pictures of kids when they were younger.

One thing that I've learned

Have a similar archive over here, although I have copied most of the data to a NAS server.

I'd gone out and bought a USB floppy drive so I could load the old software on my Win 10 PC, only to discover that the old terminal software - fails to start - because the OS detects it's not compatible....

What I did in a previous job is using VMware to create a virtual PC with XP. Might be a solution?

I have several TB+ NAS servers in my home.  Some pictures had already been moved onto them - but I'm also discovering that I'm needing to do more replacement on failed RAID drives over time.  I've even use LTO and DAT tapes.  It's a challenge.
I do have VMWare on some machines, but I think they're XP.   I have ubunto (under Win10) on this laptop.  I had looked to see if MS had an older image that they would allow me to install in a Microsoft virtual machine... but hadn't found one.   Key is that the terminal emulators were windows based.
Yesterday I received updated demo keys for two of the emulators... so that's where I will focus.
my email is dennis (at) rextorgroup (dot) com,  my little test board for trying some of these things is a simple xiao (seeed/adafruit) based with added level shifting and connectors on the PCB.  If interested I can send a small PCB - version I created is so that I can use for sniffing or simple testing of sensors - a board with umph behind it but I could also keep simple and protect it with a 3D printed base.

@heidnerd
Any progress?

@heidnerd
I merge the branch as this pull request is open for almost 5 months, which I consider quite long.
Merging will possibly bring some feedback from other users on the new function added.
Feel free to reopen the issue to add your feedback and results as these are still appreciated.

authors: RobTillaart heidnerd

repo: RobTillaart/ANSI


text:
Godot only reloads changes to export_presets.cfg on restart

Should probably implement _get_export_options() and increment that way.
Might need to fire _should_update_export_options() after.

Fixed by ae0c392

repo: Robert-K/godot-auto-version-code


text:
What am I doing wrong?

Works on codepen.io
Is not currently working locally

    Credit Card

    <input id="cc" type="text" data-inputmask="'mask': '9999 9999 9999 9999'" />

    Date
    <input id="date" data-inputmask="'alias': 'date'" />

    Phone

    <input id="phone" type="text" inputmask="'alias': 'phone'" />

    Currency

    <input data-inputmask="'alias': 'currency'" />

    Social Security

    <input id="ssn" type="text" />

@CodeQuadrant ,
You are missing the js part from de codepen
$(":input").inputmask();

$("#phone").inputmask({"mask": "(999) 999-9999"});

$("#ssn").inputmask({"mask": "999-99-9999", "jitMasking": "true"});

$("#ssn").keyup(function() {console.log($("#ssn").inputmask('unmaskedvalue'))});

authors: CodeQuadrant RobinHerbots

repo: RobinHerbots/Inputmask


text:
Backspace w/ Conditional Mask

First, thank you for your support with this project.
Second, I am having an issue when handling backspaces and conditional masks.
See: https://jsfiddle.net/b85r457c/
I have dug around through closed and open issues alike and have found similar topics, but none as described (I believe).
As you will see, with the attached sample, if you input "22" followed by "%" then hit backspace, the user is left with "2" instead of "22".  The same may be seen with it as "22.23%" as well as anywhere else where conditional input is treated as such.  Is this a simple update to the parameters used, or is there something I can do to address this?

I suppose it is worth mentioning that if I add the following attribute...
            definitions: {
                '.': {
                    validator: "[.]",
                    cardinality: 1
                },
                '%': {
                    validator: "[%]",
                    cardinality: 1
                },
            }

... I have no issue.

@Hypnotec ,
In the first case he sees the . and % as static content and jumps over it as convenience when deleting.  But as they are also optional this gives the aboved described (strange) behavior.
Adding them to the definitions makes them not be treated as static content.
I will see if I can fix this,

@Hypnotec ,
This works with verison 5.0.0-beta
https://jsfiddle.net/b85r457c/

authors: Hypnotec RobinHerbots


text:
Germany phone numbers

I can't type germany phone numbers in +49(####)###-#### format.

@drtzack ,
Finally fixed in the latest version on github.

authors: RobinHerbots drtzack


text:
Broken "Data Stores" documentation link fix

Changes

Fixed a broken documentation link (Data Stores) which redirected to https://create.roblox.com/cloud-services/data-stores instead of https://create.roblox.com/docs/cloud-services/data-stores (/docs/ missing), thus causing a 404 error.

Text "See Data Stores for an in-depth guide on data structure, management, error handling, etc." on page https://create.roblox.com/docs/reference/engine/classes/DataStoreService
Checks
By submitting your pull request for review, you agree to the following:

[X] This contribution was created in whole or in part by me, and I have the right to submit it under the terms of this repository's open source licenses.
[X] I understand and agree that this contribution and a record of it are public, maintained indefinitely, and may be redistributed under the terms of this repository's open source licenses.
[X] To the best of my knowledge, all proposed changes are accurate.

Thank you @CesarBerriot for the alert! I'll push this into production very soon.

authors: CesarBerriot dandrettarbx

repo: Roblox/creator-docs


text:
waitForFragment() call fails though Fragment is visible

From m...@thomaskeller.biz on November 07, 2012 08:27:56
We're getting many random test errors with Robotium (3.4.1 and also 3.5.1). One particular issue we've picked out so far is that sometimes the waiting for a particular fragment fails.
Through a longer debugging intercourse we've found out that Robotium is unable to find the fragment because it uses a fragment manager internally that has already been destroyed (mDestroyed member of FragmentManagerImpl is true) and as such no fragment was registered for it any longer (mAdded and mActive of the private FragmentManagerImpl are NULL). The fragment manager itself was in state 5 (apparently Fragment.RESUMED).
If we stop the debugger at this moment and try to retrieve the current active activity and its fragment manager again, then the fragment manager is valid and we get the positive (expected) response that the queried fragment exists.
Original issue: http://code.google.com/p/robotium/issues/detail?id=348

From renasr...@gmail.com on November 14, 2012 02:21:46
Thanks for reporting this. I'm not sure what can be done with this issue. The fragment manager is returned by the activity:
activityUtils.getCurrentActivity().getFragmentManager();
The issue here is that the activity returns a destroyed fragment manager.

From renasr...@gmail.com on November 18, 2012 22:50:58
Please direct this issue to the Android team.
Status: Invalid

repo: RobotiumTech/robotium


text:
agvs_sim kinetic joint_states not published

I have been trying to run agvs_sim tutorials in kinetic version .http://wiki.ros.org/agvs_sim/tutorials For the following command roslaunch agvs_robot_control agvs_robot_control.launch
I am getting the following response.
AGVSControllerClass::starting
It is continous in loop.
After investigating,
rostopic echo /agvs/joint_state we found the following warning message
WARNING: no messages received and simulated time is active. Is /clock being published?
What would be the issue?

I have faced a similar issue with indigo as well. On reviewing the code, we found that agvs_robot_control node is not able to get the robot state from /agvs/joint_states topic and is not able to initialize.
Could the maintainers please comment on this problem?

authors: MrYelameli buntyke


text:
Empty FQDN in clients list

 user 暭 curl http://engineering:8080/clients
[{"targets":[""],"labels":null}]
 ~/src/go 暭
 user 暭

with
 user 暭 bin/client --proxy-url=http://engineering:8080/ --log.level=debug --fqdn="engineering"

and
 user  bin/proxy
level=info ts=2017-10-03T09:10:19.78520441Z caller=proxy.go:104 msg=Listening address=:8080

Found the bug!
14:37:52.252929 IP6 (flowlabel 0x15289, hlim 64, next-header TCP (6) payload length: 20) localhost.45382 > localhost.webcache: Flags [.], cksum 0x001c (incorrect -> 0xb091), seq 1, ack 1, win 683, length 0
`.R....@.................................F..Qo..g.~qP.......
14:37:52.253125 IP6 (flowlabel 0x15289, hlim 64, next-header TCP (6) payload length: 167) localhost.45382 > localhost.webcache: Flags [P.], cksum 0x00af (incorrect -> 0x3fcb), seq 1:148, ack 1, win 683, length 147: HTTP, length: 147
	POST //poll HTTP/1.1
	Host: engineering:8080
	User-Agent: Go-http-client/1.1
	Content-Length: 9
	Content-Type:
	Accept-Encoding: gzip

	localhost[!http]
`.R....@.................................F..Qo..g.~qP.......POST //poll HTTP/1.1
Host: engineering:8080
User-Agent: Go-http-client/1.1
Content-Length: 9
Content-Type:
Accept-Encoding: gzip

localhost
14:37:52.253136 IP6 (flowlabel 0x2a7e9, hlim 64, next-header TCP (6) payload length: 20) localhost.webcache > localhost.45382: Flags [.], cksum 0x001c (incorrect -> 0xafed), seq 1, ack 148, win 700, length 0
`......@...................................Fg.~qQo.cP.......
14:37:52.253346 IP6 (flowlabel 0x2a7e9, hlim 64, next-header TCP (6) payload length: 168) localhost.webcache > localhost.45382: Flags [P.], cksum 0x00b0 (incorrect -> 0x0b5e), seq 1:149, ack 148, win 700, length 148: HTTP, length: 148
	HTTP/1.1 301 Moved Permanently
	Location: /poll
	Date: Tue, 03 Oct 2017 12:37:52 GMT
	Content-Length: 0
	Content-Type: text/plain; charset=utf-8

`......@...................................Fg.~qQo.cP.......HTTP/1.1 301 Moved Permanently
Location: /poll
Date: Tue, 03 Oct 2017 12:37:52 GMT
Content-Length: 0
Content-Type: text/plain; charset=utf-8

14:37:52.253357 IP6 (flowlabel 0x15289, hlim 64, next-header TCP (6) payload length: 20) localhost.45382 > localhost.webcache: Flags [.], cksum 0x001c (incorrect -> 0xaf59), seq 148, ack 149, win 700, length 0
`.R....@.................................F..Qo.cg...P.......
14:37:52.253485 IP6 (flowlabel 0x15289, hlim 64, next-header TCP (6) payload length: 177) localhost.45382 > localhost.webcache: Flags [P.], cksum 0x00b9 (incorrect -> 0xb147), seq 148:305, ack 149, win 700, length 157: HTTP, length: 157
	GET /poll HTTP/1.1
	Host: engineering:8080
	User-Agent: Go-http-client/1.1
	Content-Type:
	Referer: http://engineering:8080//poll
	Accept-Encoding: gzip

`.R....@.................................F..Qo.cg...P.......GET /poll HTTP/1.1

See?  There's a redirect from //poll to /poll which the client follows while implicitly converting to a GET.
if the URL in the cmd line is http://localhost:8080/, then the URL is being concatenated without removing the forward slash of /poll, and that causes problems.  Without the ending forward slash in the URL, it works.
What would be the fix?

repo: RobustPerception/PushProx


text:
Fix _ - typo

this will close #672

FYI @thomas-neitmann

repo: Roche-GSK/admiral


text:
WIP: Show specific fields on rights form depending on basis

This is very much a work in progress, but I'm getting stuck with both django-crispy-forms and Javascript/Vue.js.
I've been using these resources:

Dynamic forms with Django and Vue.js https://medium.com/swlh/building-dynamic-forms-with-django-formsets-and-vue-js-f3c6e2dddd4a#81c0
Vue.js in a Django template https://vsupalov.com/vue-js-in-django-template/
Django crispy forms https://django-crispy-forms.readthedocs.io/en/latest/form_helper.html

I've done the following so far:

In forms.py, I added a form for the basis field only and a form for copyright specific fields (if this is the right approach, the plan is to add forms for each of the bases). I'm not sure if these should be forms or formsets, or if there's another way of handling these. My idea was that the basis would always be rendered, and the other forms would be conditionally rendered.
In views.py, I added references to both forms that I added.
In base.html I added a line to include vue.js
In manage.html, I rendered the new forms and added a placeholder area for vue.js code

I think what I want to do is:

Add a vue data binding to the rights basis field
Depending on the user input to the rights basis field, render one of the basis-specific forms

I'm struggling with (at least) the following two things:

Adding an attribute to a field in a crispy form
Writing the Vue.js script to refer to that variable and then do something with it

This is now working and fixes #53. However, I'm not sure if it could be DRYer.
I've done the following:

Added the v-model attribute for the rights basis field in forms.py
Included a Vue script in rights/manage.py to set a variable on the rights basis dropdown
Used Vue if statements to show different fields based on user input in rights basis dropdown
Use the as_crispy_field parameter in rendering fields to use the power of django-crispy-forms

There are placeholders for widgets for the additional fields that I ended up not needing for #53, but I've left them as placeholders because I branched off of this branch to work on #52.

This all makes sense to me from looking at it. If you wanted to be DRYer, I think the easiest thing would be to create multiple forms in Django, and then show/hide based on that. That way you could take advantage of subclassing and model inheritance and keep your templates clean.

This is done, right? It all seems to be functioning well.

I think docstrings in the forms is a good idea, especially since this requires some knowledge of PREMIS.

Thanks all! I'm going to merge without the docstrings addition, because there will be specific things to include there as part of tackling issue #52 (and I'll include them in that PR).

authors: HaSistrunk bonniegee helrond

repo: RockefellerArchiveCenter/aquila


text:
Patch 3

@RocketChat/android
:portugal: translations!
Enjoy!
:tada:

Sorry for the double commit but stupidly I forgot to put the edited file instead the original one in the 1st commit


text:
Screenshare support

We need to add screenshare support into electron.  Unfortunately we can't just drop the chrome extension in, but we should be able to port it over.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/34107172-screenshare-support?utm_campaign=plugin&utm_content=tracker%2F19476668&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F19476668&utm_medium=issues&utm_source=github).

Duplicate of https://github.com/RocketChat/Rocket.Chat.Electron/issues/65

authors: geekgonecrazy xenithorb


text:
Mac os client sucks

Any plan for update Mac OS client to get rid of this piece of shit?

Really nice contribution mister "developer".

authors: AliBayatMokhtari jeanfbrito


text:
System Tray Icon Issues in KDE/Fedora.

Howdy,
I'm having some trouble with the system tray icon even with the latest RocketChat version.
My Setup

Operating System: Fedora 21
Desktop Environment: KDE 4.14.9
App Version: 2.10.1

Description
There are really two issues:
The first is all icons displayed in the tray are not being scaled to fit the space:

The second issue is that left clicking the icon still has no effect. It sounded like this was fixed by: #44 but I'm still having the same behavior in 2.10.

Hi. If You still have this problem try this solution. It's working on plasma 5.
http://www.webupd8.org/2017/04/fix-appindicator-not-working-for.html
env XDG_CURRENT_DESKTOP=Unity rocketchat

So I WAS still having this problem and the specific suggestion did NOT work; however, it put me on the path to a solution which was to set XDG_CURRENT_DESKTOP to "GNOME".

Howdy,
Me and my coworkers (on Kubuntu) have the exact same issue (truncated icon + left clic not working). The fix that @rbland  worked, but I think it should be fixed deeper (the client seems to be bot working properly on every KDE version).
In addition, I'm forced to launch it from a console which is not very handy.
What do you think ?

authors: Kamilko47 XecKiE rbland


text:
Improve "save" functionality

Currently, saving a wool scripts simply "downloads" a wool file with the currently loaded file name. It would greatly improve workflow to allow "save" to overwrite the currently loaded file.

This is not possible with a browser-only environment. The Electron version now saves directly to the currently loaded file.

authors: borisvanschooten hopdenakker

repo: RoessinghResearch/wool


text:
native windows support

I'm using msys2 environment on Windows, which is very smooth for many tasks. It has good support for shells like bash, zsh, etc..
You can just upload binary releases built for windows and directly support windows then.

The problem is actually because Comonicon doesn't support windows since I don't know how to configure terminals on windows

authors: Roger-luo thautwarm


text:
Look into .Net Core's Service Model

Reminder from Discord

Grabbed by Finite

Turns out the service model is part of ASP.Net Core, not .Net Core, and I dont want to bring in another dep from outside of the corefx. Closing this.

Don't think the service model is a part of ASP.Net Core, but instead a part of Microsoft.Extensions.DependencyInjection or Microsoft.Extensions.DependencyInjection.Abstractions NuGet packages.

That's the namespace which ASP.NET DI uses; see https://github.com/aspnet/DependencyInjection

authors: FiniteReality RogueException gehnster khionu


text:
Avatar and Username Update

I found that change of user avatars or usernames are not updated until the bot is restarted which results the commands return the old avatar and username info however nicknames changes and other guild related changes like roles works just fine. Is this a known bug?

Was not able to reproduce username issue, I get the following errors with avatar.
Error: Error getting value from 'WriteTimeout' on 'System.Net.Http.StreamContent+ReadOnlyStream'.
Using a Stream returned from HttpClient.GetStreamAsync()
Error: Error getting value from 'ReadTimeout' on 'System.IO.FileStream'.
Using a FileStream for a local file.

authors: AntiTcb samdivaio


text:
[Totality_of_Ygg] Added version 2 of the ToY character sheet

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)

New Sheet Details

The name of this game is: <   >  (i.e. Dungeons & Dragons 5th Edition, The Dresden Files RPG)

The publisher of this game is: <   > (i.e. Wizards of the Coast, Evil Hat)

The name of this game system/family is: <   > (i.e. Dungeons & Dragons, FATE)

[ x] I have followed the Character Sheets Standards when building this sheet.

[x] This sheet has been made on behalf of, or by, the game's publisher.
[x] This game is not a traditionally published game, but a copy of the game rules can be purchased/downloaded/found at: < https://totalityofygg.com  >
[x] This sheet is for an unofficial fan game, modification to an existing game, or a homebrew system.

Changes / Description

Character Sheet Info Roll20 Internal Use only.

Hey @totalityofygg ( & @gadhra )
Two quick notes before we can merge this in - as this seems to be a significant visual upgrade to the sheet, would you mind also changing the preview image to match this latest version of the sheet?
Also, we had some variations in appearance loading this game in a custom sandbox.  You may want to check that this sheet looks as intended with all browser extensions disabled (namely dark-mode extensions).  Could be that the issue's on our end, but we noticed that many labels on the Adventurer tab were invisible without a dark-mode extension enabled, regardless of whether or not the game itself had dark mode on.
Thanks!

You guys are the best, thank you!  I'll make these changes and resubmit.
-Stefan
On Thu, Feb 15, 2024 at 1:58 PM Lucas Hall @.***> wrote:

Hey @totalityofygg https://github.com/totalityofygg ( & @gadhra
https://github.com/gadhra )
Two quick notes before we can merge this in - as this seems to be a
significant visual upgrade to the sheet, would you mind also changing the
preview image to match this latest version of the sheet?
Also, we had some variations in appearance loading this game in a custom
sandbox. You may want to check that this sheet looks as intended with all
browser extensions disabled (namely dark-mode extensions). Could be that
the issue's on our end, but we noticed that many labels on the Adventurer
tab were invisible without a dark-mode extension enabled, regardless of
whether or not the game itself had dark mode on.
Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/Roll20/roll20-character-sheets/pull/12592#issuecomment-1946974545,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BAUVIQBSULC6QOOYY5ST6DDYTZLG3AVCNFSM6AAAAABDJQMQNOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBWHE3TINJUGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

Turns out I was still in legacy mode!  Sorry about that. I've updated the screenshot and changed the html and css files to be CSE compatible.

authors: BronsonHall roll20deploy totalityofygg


text:
[L'Empire des Cerisiers V1.2] New features and updates

Added : players can now check for gm roll on top of the character sheet
Added : bonus on armor
Updated : change on some labels
Updated : players can now equip multiple pieces of armor
Updated : when using arrows for selecting associated field,  players can now select "blank" to remove association
Updated : split skill and ritual calculator in two separated forms

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

[x] Does the pull request title have the sheet name(s)? Include each sheet name.
[ ] Is this a bug fix?
[x] Does this add functional enhancements (new features or extending existing features) ?
[x] 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.

The pull request title include the sheet name and version.
This update contains new features.
Some labels have been updated.
No attributes were changed or removed in the process.


text:
Conan_Undreamed v1.3 updates

Changes / Comments
1.3 (2021-03-28)

Added Threaten as a weapon type, and Display as a Size option.
Changed the Talent button icon to a chat bubble to better represent its purpose. Conditionally shows only fields with values.
Sorted Talents dropdown lists.
Added chat icon button to Belongings.
Added Equipped checkbox to Belongings.
New Treated counter for Wounds and Trauma.
Number of wounds and treated displayed on physical skill rolls.
Number of traumas and treated displayed on mental skill rolls.
A new Status button will whisper the characters status to the GM.
Add a new armor damaged display indicator.  Click on the gold banner atop each armor piece to toggle its damaged indicator.
Upkeep spends reset damaged armor.
Fixed Warfare skill role to function properly.
Fixed some typos.
Updated the armor list; also expanded font size on armor dropdown.
Reduced Belongings Description field height.
Removed Attribute roll button.
Added complication roll of 19 & 20 when skill expertise is zero.

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

[Yes ] Does the pull request title have the sheet name(s)? Include each sheet name.
[Yes] Is this a bug fix?
[Yes ] Does this add functional enhancements (new features or extending existing features) ?
[Yes ] Does this add or change functional aesthetics (such as layout or color scheme) ?
[User Testing ] If changing or removing attributes, what steps have you taken, if any, to preserve player data ?
[Existing ] 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.

Character Sheet Info Roll20 Internal Use only.


text:
🛑 RPI Owncloud is down

In 30da18c, RPI Owncloud (https://pi.lebbadi.fr/owncloud/) was down:

HTTP code: 403
Response time: 39 ms

Resolved: RPI Owncloud is back up in 2e852f9.


text:
Swagger - Controller method parameter with array type

Informations
Question about swagger on tsed
@tsed/swagger: 4.30.1

Description
My controller contains get method, which include param of type string[] (string array).
The param is decorated with @BodyParams().
When I check the swagger I get the next code example:
{
"myParam": [
{}
]
}
How can I change the swagger documentation to be:
{
"myParam": []
}

Hi @Romakita
I have used an Array Param on @QueryParams but on my controller, string doesn't split on "," see :

http://localhost:8001/[...]/update/toto?modules=generic-case,toto
Module's doesn't split on the comma.
But works with
http://localhost:8001/[...]/update/toto?modules=generic-case&modules=toto
In the swagger specs we can specify a serialization method (see Parameter Serialization) to explode to separate with many items.
Thanks.

authors: Tlahey YehonatanVonage

repo: Romakita/ts-express-decorators


text:
Fix getUUID and URIUtil re-exports

getUUID and URIUtil are default exports, you need to use the export * as … syntax to re-exports them.
As noted in #136 which made this (incorrect) change, those 2 exports never worked and do not appear in type definitions, so maybe the correct fix is to remove them entirely?
I spotted this by using https://microsoft.github.io/rnx-kit/docs/tools/metro-serializer-esbuild in my project, which uses esbuild to optimise the bundle code, and it error-ed because of this invalid export.
This PR fixes the issue when tested locally with my setup, but again those 2 exports probably never worked so I dont think anybody used them.

No, even this PR can fix react-native-web product build will export 'URIUtil' (reexported as 'URIUtil') was not found, but this PR will cause error when react-native run android:
error: node_modules/react-native-blob-util/index.js: /home/SOME_APP/node_modules/react-native-blob-util/index.js: Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`.
  57 |
  58 | export {ReactNativeBlobUtilConfig, ReactNativeBlobUtilResponseInfo, ReactNativeBlobUtilStream} from './types';
> 59 | export * as URIUtil from './utils/uri';
     |        ^^^^^^^^^^^^
  60 | export {FetchBlobResponse} from './class/ReactNativeBlobUtilBlobResponse';
  61 | export * as getUUID from './utils/uuid';
  62 | export default {

So comes the #201

authors: flyskywhy renchap

repo: RonRadtke/react-native-blob-util


text:
Atom image not displayed correctly in project list

🐞 Problem
The image for atom does not display correctly in the project list.
🎯 Goal
To enhance the user's experience while navigating through various projects.
💡 Possible solutions
Change the image source.

@memmo01 I see the atom icon now, is it working for you as well?
Can we close this issue then?

repo: Roshanjossey/first-contributions


text:
OrthoXML parser has problems with hierarchical-groups output

The OrthoXML parser seems to have a problem with nested ortholog groups.
Use the ortho-xml java library (API) to parse it
http://www.orthoxml.org/xml/OrthoXML_Java.html

Here is some example data with nested ortholog groups
HierarchicalGroups.part.zip

@KeywanHP is this resolved or outdated? Please, could you close it if yes?

Closing, reopen if it still needs changes.

authors: KeywanHP Monika-Mistry marco-brandizi

repo: Rothamsted/knetbuilder


text:
Search for CoExpCluster names does not return hits

Searching wheat KnetMiner with CoExpCluster names does not return any hits, eg "WGCNA_global_module_9"
However the concept and concept name exist in the KG:

Odd. Need to check if CoExp names have weird  tags in them that may break search. Not sure if that's the reason or something else in the OXL

is this still an issue @KeywanHP ?

is this still an issue @KeywanHP ?

add CoExpCluster/ study as end node in semantic motifs

add CoExpCluster/ study as end node in semantic motifs

authors: AjitPS KeywanHP

repo: Rothamsted/knetminer


text:
Feature: The Great Split.

Ripout campaigns functionality (that will be available in a separate SDK, going forward).
Instead of emitting events directly to the Rover Campaigns cloud API, they are instead emitted as local Android broadcast intents that may be subscribed to within the app by any interested client code.

Duplicate. Used an epic instead.

repo: RoverPlatform/rover-android


text:
Style file asks for documentclass

I've got a documentclass suggestion for style files. I believe that this inspection should never be applied to styles.

Already fixed for b0.5. See commit 2d92ca1.

authors: RubenSchellekens altavir

repo: Ruben-Sten/TeXiFy-IDEA


text:
🛑 Website (rubenfixit.com) is down

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

HTTP code: 503
Response time: 295 ms

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

repo: RubenFixit/upptime


text:
🛑 Website (rubenfixit.com) is down

In 497be7f, Website (rubenfixit.com) (https://rubenfixit.com) was down:

HTTP code: 503
Response time: 444 ms

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


text:
TreeMap support is not perfect

I got the same byte array with my workmate got from Redis. But somtimes I got the empty TreeMap object from FST like {}, and size() of it is -19, isEmpty() of it is false . When I changed to HashMap, it works perfectly.

Thanks for your report. Can you provide a reproducing testprogram, pls ? Just to ensure its not caused by racing conditions or IO issues of your application.

also platform running on + version would be a nice information :)

@RuedigerMoeller I didn't use FST directly, I used a plugin from a MVC framework to get data from Redis, the source code of the directly invoked method is as below:
`public Object valueFromBytes(byte[] bytes) {
if(bytes == null || bytes.length == 0)
return null;
	FSTObjectInput fstInput = null;
	try {
		fstInput = new FSTObjectInput(new ByteArrayInputStream(bytes));
		return fstInput.readObject();
	}
	catch (Exception e) {
		throw new RuntimeException(e);
	}
	finally {
		if(fstInput != null)
			try {fstInput.close();} catch (IOException e) {LogKit.error(e.getMessage(), e);}
	}
}`

I passed the same byte array with my workmate but got the different result randomly.
And my JDK version is 1.7.067，FST version is 2.47

problem might be if the treemap has a comparator set, if your local implementation of the comparator differs from your collegue you're in trouble. Another issue might be different versions of fst used.
I really need a reproducer, as I don't run into errors using your snippet above with a treemap.
What do you mean with randomly ? Same byte array, different results or same use case (but different byte arrays) ?
btw:

you can decode a byte[] faster using FSTConfiguration.asObject(byte[]).

@RuedigerMoeller "Randomly" means same byte array, different results, I simply used the redis plugin(from a famous Chinese MVC framework called JFinalhttps://github.com/jfinal/jfinal ) as below:
final Cache redisCache = Redis.use(CACHE_NAME);
redisCache.set(TEST_CACHE_NAME, obj);
...
redisCache.get(TEST_CACHE_NAME);
public  T get(Object key) {
Jedis jedis = getJedis();
try {
return (T)valueFromBytes(jedis.get(keyToBytes(key)));
}
finally {close(jedis);}
}

Hi,
actually I don't have time to get involved with the framework and stuff.
I will investigate if you can provide me a breaking ready-to run testcase. I have spent a lot of time debugging 3rd party issues such as concurrent modification of data-in-serialization and so on.
Sorry, but at least I don't make any mony from open source, so its a community effort which means we need to share workload. And reproducing an issue is often a big part of solving an issue.

closed, no help from user

authors: Lintel-X RuedigerMoeller

repo: RuedigerMoeller/fast-serialization


text:
Should this merge with my own code, or start anew with a new structure?

I happened to have implemented a RustCrypto based suite at stevefan1999-personal/rustls-provider-rustcrypto (github.com). Although it clearly indicates that the code is a PoC, but its crude structure is already capable of running, and I have also implemented some key suites missing from the provider-example in the main rustls repo, this is also mentioned in #1.
Well, it is not because that I don't want to send a PR, but I think the intensive use of generics would make it hard to maintain (at least I think code review could be harder), yet at the same time we should NRY (not repeat yourself)...
It's quite a conflict for me over this.

@stevefan1999-personal happy to go with whatever approach you prefer. You could either PR your existing code as-is, or try to break it up into a series of smaller, more incremental PRs that might be easier to review

Also re: crate names, rustls-provider-rustcrypto is an option as well. Curious to see if other providers adopt that convention.

repo: RustCrypto/rustls-rustcrypto


text:
frozenset.copy shouldn't return a new object.

Feature
CPython:
>>> f = frozenset(range(1000))
>>> f2 = f.copy()
>>> f is f2
True

RustPython:
>>>>> f = frozenset(range(1000))
>>>>> f2 = f.copy()
>>>>> f is f2
False

Calling copy on a frozenset should return itself and not a new object.

@whgusdn321 do you want to handle this?

@whgusdn321 There is difference in id of frozenset copy between rustpython and cpython.
rustpython
>>>>> a = frozenset(range(100))
>>>>> b = a.copy()
>>>>> id(a)
94675967765472
>>>>> id(b)
94675967759248
>>>>> a is b
False

cpython
>>> a = frozenset(range(100))
>>> b = a.copy()
>>> id(a)
140340461132704
>>> id(b)
140340461132704
>>> a is b
True

I think copy method work of PyFrozenSet need to be modified.

I think this issue doesn't fit for bare new comer. It requires understanding of PyRef which doesn't fit to common sense of rust programmer.

I fixed this issue in #2883 by fixing copy method in PyFrozenSet

authors: DimitrisJim Snowapril youknowone

repo: RustPython/RustPython


text:
Modify data model when observing

Hi, I am new to RxSwift and RxDataSource
I have a pretty basic question but i can not figure it out, on how to modify the data model when observing,
My code is like
//Init with data source
 let dataSource = RxTableViewSectionedReloadDataSource<MySection>()
 dataSource.configureCell = { ds, tv, ip, item in
            let cell = tv.dequeueReusableCell(withIdentifier: "Cell") ?? UITableViewCell(style: .value1, reuseIdentifier: "Cell")
            cell.textLabel?.text = " \(item.id)"
            return cell
        }
//Use a view model to call web API service and bind to table view
viewModel?.fetchData().bindTo(MyTableView.rx.items(dataSource: dataSource)).addDisposableTo(disposeBag)

//I use the method to observe the selected data model
MyTableView.rx.modelSelected(MyListItem.self).subscribe(onNext: { myListItem in
            print("Select cell id: \(myListItem.id!) ")
            //I want to do something like changing the id of my data model, like myListItem.id =  "new id" when selecting the cell, but the item is a "let" variable
        }).addDisposableTo(disposeBag)

My question is that if i want to modify the data model that I selected, how should i do inside the closure ? I think there should be some more "React" way to do this.
In traditional way, I would get the data model in the the delegate method, tableView:didSelectRowAtIndexPath:, with the indexPath,  and modify it
like
var myListItem = myDataArray[indexPath.row]
myListItem.id = "new id"

Please forgive me for such  question, Thank you

This is not an issue.
Please find some help inside http://rxswift-slack.herokuapp.com/.

@kzaher Hi, I write the same question on rxswift on slack, but i didn't have nothing answer!!! Can you write me ??
Thank
J

@moonorblue Did you know the answer now?

authors: MobanMichael kzaher moonorblue pjcau

repo: RxSwiftCommunity/RxDataSources


text:
Week4, Unit 3, Step 2.10 - Code snippet has different description than in screenshots and text

https://github.com/SAP-samples/abap-platform-rap-opensap/blob/main/week4/unit3.md#step-2-create-control-structures-and-mappings
The coded snippet in step 2.10 has the description 'Input flag structure for node Booking' while everywhere else you refer to it as 'Control structure booking'

done

repo: SAP-samples/abap-platform-rap-opensap


text:
Grammar Tracing support.

Debugging the grammar is easy, but sometimes a little bit of tracing can come in handy as well.
At a minimum console logging should be provided.
More advanced capabilities to consider and investigate:

Save an entire Parse flow in memory.
???

To avoid a performance impact investigate this
https://reaktor.com/blog/javascript-performance-fundamentals-make-bluebird-fast/
3. Use no-op functions and overwrite them lazily to implement costly optional features

Part of #370

repo: SAP/chevrotain


text:
Lexing mode stack vs a state machine (how to implement alternating modes)

I'm in a situation where it doesn't make sense to pop out of a particular mode. Instead 2 modes just alternate between each other. The example: https://github.com/SAP/Chevrotain/blob/master/examples/lexer/multi_mode_lexer/multi_mode_lexer.js implies that every push mode should have a pop. What would happen if 2 modes just keep pushing into each other?
Also referring to this question: https://stackoverflow.com/questions/11592083/how-can-a-lexer-extract-a-token-in-ambiguous-languages it seems I need some sort of state machine instead of a mode stack.

I just tried a token that defined both POP_MODE and PUSH_MODE, it seems like this should do something similar to what I want, simultaneously pop out of its mode, and push into another mode. And 2 alternating modes wouldn't result in a stack overflow.

If the debug:true for lexer config could show the internal state of the mode stack, this would confirm whether this was true or not and whether something would result in a mode stackoverflow.

I actually removed the debug:true in a recent commit, But your suggestion is good.
Some form of tracing could help debug more complex lexers.
I added this idea to the development mode issue (#370)

The concepts of transitions is weaker than one using a stack as there is no "memory".
I would rather ensure it is possible to use the lexer modes to more easily model the transitions
than create a new API and abstractions.
Because supporting transitions would require additional validations (unreachable state),
Additional documentation and runnable examples.
I like the idea of combining POP and PUSH to model a transition.
This could be made easier if you did not get the errors when trying to pop the "last" mode
If I understand correctly the complexity is due to some workaround to avoid that error.
It seems fairly simple to disable this validation given a certain flag during lexer construction. (transitions). I will look favorably on a PR implementing this and will prefer the PR to also include
a tiny example (like the multi_mode_lexer example) that shows a small usage of transitions.
Note that you do not have to to manually add POP_MODE:true in each and every one of your transition points.
function createToken(options) {
  if (options.transition) {
     options.pop_mode = true,
     options.push_mode = options.transition
  }

  return chevrotain.createToken(options)
}

const myToken = createToken({name:"myToken", pattern: "/\w+", transition:"state1"})
const myOtherToken = createToken({name:"myOtherToken", pattern: "/\d+", transition:"state2"})
// ...

Also note that if the lexer definition gets too complex you can always write your own lexer by hand
and integrate it with a Chevrotain Parser.
I don't have any example of this yet but there is a similar concept demonstrated in the ECMA5 grammar, which uses Acorn to tokenize the input and transforms the Acorn tokens to Chevrotain tokens. See:  https://github.com/SAP/chevrotain/blob/master/examples/grammars/ecma5/ecma5_lexer.js#L18-L25

The debug setting currently is really useful to know which token was actually parsed, without it, there's no way to verify lexer behaviour?
Yea that was the problem with the combination of push and pop, the very first push and pop resulted in an error. If this is a "pattern" to implement transitions, then it could be simplified with a transition key that did a push and pop while also disabling that pop on empty stack error (but only specifically for that token that defined the transition key).

The debug setting currently is really useful to know which token was actually parsed, without it, there's no way to verify lexer behaviour?

I added a "type" property on each lexed token that points to the tokenType (the return value of createToken). This may reduce performance by 1-2% but as you said makes debugging so much easier...

while also disabling that pop on empty stack error (but only specifically for that token that defined the transition key).

Sounds like in improvement.
After the recent addition of the "type" property. you could do something like:
 let pop_mode = popToken => {
            // TODO: perhaps avoid this error in the edge case there is no more input?
if (modeStack.length === 1 && !popToken.type.transition) { ... }

The type property is just a number, how does it relate to the actual name of the token itself? I use es6 class extension and with debug, it just shows the es6 class name, which is much easier to understand what's going on.

The tokenType is just a number. There is a change on master that adds a new property called type.

I think this should resolve the problem without needing new flags
https://github.com/SAP/chevrotain/commit/a427ea274b0994d684f7725938d21bba9a005a9f

(There was also a previous commit with a bug...)

I'm confused, if there's no more debug setting, what has to happen so I can see the actual token name like "QuotedStringT" being mentioned in the resulting token vector?

Another workaround I discovered was the usage of regex lookaheads to create matchers that don't consume anything. This is useful for transitioning between modes on a particular token. https://github.com/sgarciac/bombadil/blob/master/src/lexer.ts#L83-L87
All these lexing tricks should probably go into a wiki.

I'm confused, if there's no more debug setting, what has to happen so I can see the actual token name like "QuotedStringT" (es6 class name) being mentioned in the resulting token vector?

in the next version (unreleased yet) you can do
lexResult.tokens[0].type to get the "tokenConstructor" which should be displayed in your ide with
the correct name (using the Function.name) property.

Try it in 0.35.0
https://www.npmjs.com/package/chevrotain

The new .type parameter is so much better even for writing tests!

The new .type parameter is so much better even for writing tests!

That was the intent.
I realized I was too focused on performance & memory usage in that regard instead of ease of use.


text:
[Feature Request] - Deployment ready releases

It would be awesome if the releases of this tool would have an option for preinstalling the helper tool in a standardised way. This is helpful if the users receiving the app are already standard users or have been previously demoted.
These are two scenarios I could think of:

Distribute the app in .pkg format
Add a CLI option post-install tasks (e.g. like Xcode /usr/bin/xcodebuild -runFirstLaunch)

This would make future deployments easier to maintain and more resilient to errors and changes.

There is an option using a tool called AutoPkg to generate an installer package for Privileges. For more information on this, please see the link below:
https://derflounder.wordpress.com/2022/04/20/building-a-privileges-installer-package-using-autopkg/

I am already using AutoPkg with your recipe and this has been fine. Just wondering why this is not part of the official release.
It would make life easier for small businesses, tech aware users who update them self and the like to have a "it just works" type of installer.
I am writing this because I have been in an "unrecoverable" state where I couldn't grant myself admin privileges anymore.
Previously I updated Privileges manually by replacing the app and got demoted by external means without starting the app after update.

We're satisfied with the AutoPkg method for generating an installer package for Privileges.

This may be worth revisiting.  Jamf lists the SAP Privileges app as one of the titles they will distribute through their App Installers feature.  It's unclear if they're building the pkg to deploy or if they're downloading directly from the Media Source URL they list.  The latter would be a direct link to the Privileges.zip hosted here that is missing the pre/post-install scripts from that DerFlounder link above.  That is an issue on Jamfs end, but it may be good to head it off by adding the deployment ready pkg anyway.

authors: Bretterteig rougegoat rtrouton

repo: SAP/macOS-enterprise-privileges


text:
FEATURE - Persist generated mockdata

As a developer,
I want to the option to write the generated mockdata to the filesystem,
so that I manipulate it to my needs.
Description
I am heavily using the generateMockData: true feature with new projects since I don't need more specific mockdata for many of my tests. However, sometimes, I would like to slightly modify it for my needs, therefore, I would like to get a way to generate the mockdata and then being able to manipulate it.
I could see following options:

get a cli command e.g. mock generate
have an additional flag that writes the mockdata to the filesystem when I run it the first time

Technical Design
What modules need to be created or enhanced?
How would the functionality be exposed and how can it be consumed?
Acceptance Criteria
GivenWhenThen format (https://martinfowler.com/bliki/GivenWhenThen.html)
Given I have a the feature
when I execute mock generate and then manipulate the mockdata files to my needs
then I will be able to better test my application with mockdata.
Notes
Tasks

[ ]
[ ] Unit Tests added
[ ] Test Cases defined

Hi,
If you want to use you custom data for specific entity set, you can add a JSON file in the /localService/data.
If you have an entity set named SalesOrdes then the file should be named : SalesOrders.json, the middlewear will use that file instead of the generated data.
Regards,

We can actually close this feature request since there is an alternative available in the SAP Fiori tools. More information at https://github.com/SAP/open-ux-odata/discussions/194.

authors: jberthe tobiasqueck

repo: SAP/open-ux-odata


text:
sap.m.Panel: expanding / collapsing fast desynchronizes arrow angle

OpenUI5 version
Since https://github.com/SAP/openui5/commit/d8741f3bebd87d24a08b93e37f9eaae9c0a54455 (1.79)
URL (minimal example if possible)
https://openui5.hana.ondemand.com/entity/sap.m.Panel/sample/sap.m.sample.PanelExpanded
Steps to reproduce the problem:

Open the above sample page
Expand and collapse one of the panels consecutively fast either by double-clicking or by pressing Space twice.

What is the expected result?
No matter how many times and how fast the user performed the expand / collapse action consecutively, the arrow is always showing the correct direction: down when the panel is expanded, right otherwise.
What happens instead?

or

Hello boghyon,
thank you for providing such a detailed explanation of the issue. I have created an internal incident and forwarded it to the responsible development team. Please refer to incident ID 2080210438 for further questions.
Regards Sebastian

Hello @boghyon,
Thanks for sharing your findings!
The issue is fixed with b8ff9e2
Kind Regards,
Niya

authors: HerzogIgzorn boghyon niyap


text:
Unable to use ODataModel v2 with amd: true in sap.ui.loader.config

OpenUI5 version: 1.79.0
Browser/version (+device/version):

Chrome Version: 84.0.4147.89
Firefox Version: 76.0.1

URL (minimal example if possible): https://jsbin.com/toxoyegabo/edit?html,console,output
Steps to reproduce the problem:

Enable AMD exposion of the ui5 loader
Try access an ODataModel

What is the expected result?
A working ODataModel
What happens instead?
2020-07-20 11:58:24.478310 [ODataMetadata] initial loading of metadata failed -
f @ Log-dbg.js:456
L.error @ Log-dbg.js:232
l @ ODataMetadata-dbg.js:94
Promise.catch (async)
constructor @ ODataMetadata-dbg.js:117
constructor @ ODataModel-dbg.js:366
...

Log-dbg.js:456 2020-07-20 11:58:24.478550 Error: O.request is not a function -

Any other information? (attach screenshot if possible)
Currently the datajs library supports the native AMD syntax. If disabled it will fallback to the window object. Then it works as expected. But with the native AMD syntax enabled in the ui5 loader the ODataModel / ODataMetadata are unable to load the datajs library correctly.

That's interesting.
the datajs module provides two main APIs: datajs and OData. When we migrated our framework code to AMD module syntax, we decided for the OData export as the more important one and configured that one in the shims and thereby made it the (only) export of sap/ui/thirdparty/datajs. All our ODataModel code expects that API as export of the sap/ui/thirdparty/datajs module.
But when an AMD loader is present (check for define.amd) sap/ui/thirdparty/datajs registers its two APIs under two different module IDs: 'datajs' and 'OData'. Our loader even detects that the registered module IDs don't match the requested module ID (sap/ui/thirdparty/datajs), picks one export (the first one) and uses the requested module ID as alias for it.
But unfortunately, the first export is datajs, so the end result doesn't fit the expectation of the ODataModel code.
A very simple solution should be to switch the two exports in datajs.
Another solution would be to introduce a second module for the second export and thereby allowing to address each of them. Unfortunately, the datajs name is already in use with OData as export. Would be strange now to define a new OData module with datajs as export :-(

According to the documentation the loader allows to disable the amd exposion for specific modules but this also does not work for me:

The amd flag of a shim is a ui5loader-specific extension of the standard AMD shims. If set, the ui5loader hides a currently active AMD loader before executing the module and restores it afterwards. Otherwise, it might miss the export of third party modules that check for an AMD loader and register with it instead of exporting to a global name. A future version of the ui5loader might ignore this flag when it acts as an AMD loader by itself.

sap.ui.loader.config({
    shim: {
        'sap/ui/thirdparty/datajs': {
            amd: true,
            exports: ['OData', 'datajs'],
        },
    },
});

It looks like the flag is already ignored.
As workaround in my current situation I use the following code:
sap.ui.loader.config({
	// activate the exposion of the AMD module loader
	amd: true,

	map: {
		'*': {
			'sap/ui/thirdparty/datajs': 'path/to/workaround/datajs',
		}
	},

	shim: {
		'path/to/workaround/datajs': {
		  amd: true,
		  exports: ['OData', 'datajs'],
		},
	},
});

In path/to/workaround/datajs.js I commented out the AMD definition.

The amd-shim is mainly intended to avoid issues with external loaders in mixed loader scenarios. When the loader exposes itself as AMD loader, hiding define.amd from modules that it loads, doesn't make much sense.
Your configuration + the patched copy of datajs is a good workaround, but we should fix that nevertheless. If switching the define calls works as expected, that would be a fairly simply solution.

@codeworrior I expected the same issue with the hasher.js thirdparty library if amd: true with the @sapui5/ushell lib. There are many files where hasher is used as global variable from the window object.
Some:
sap/ushell/services/ShellNavigation.js
sap/ushell/adapters/local/LaunchPageAdapter.js

Well, if 3rdparty is used via globals, I would rate this as a bug in the consuming module - at least if the module claims to be AMD compliant.  Not sure if this applies to the ushell code, I'll ask the colleagues.

Hello @danielang ,
Thank you for sharing this finding. I've created an internal incident 2080356740. The status of the issue will be updated here in GitHub.
Regards,
Dobrin Dimchev

This Github issue was closed as the OpenUI5 part has been fixed. The internal incident remains open and will be forwarded to the sap.ushell colleagues.
Either they or myself will update this issue here, based on their feedback.

authors: codeworrior danielang dobrinyonkov


text:
[Migration] Remove tablefunction schema removal before the synonym generation

Schemas must be removed before a public synonym is generated for the table function.

@Fluctuationqt do you mean the modifications of table functions should happen before generating synonyms? Also, is this why we currently have some escaped quotes and schemas in the generated synonyms for table functions?

authors: Fluctuationqt vmutafov

repo: SAP/xsk


text:
Create an Account on the Gateway Demo System

Tutorial: https://developers.sap.com/tutorials/gateway-demo-signup.html
It appears that the SAP Gateway Server link in Step 1 is down:

link: https://register.sapdevcenter.com/SUPSignForms/

@jung-thomas Sorry to bother you here but who is responsible for this?

@jung-thomas Sorry to bother you here but who is responsible for this?

@bri-davis I see on the sign-in page that there is planned maintenance from Jan. 22-24. Please try again tomorrow and let us know if it works. Sorry for the inconvenience.

@bri-davis I see on the sign-in page that there is planned maintenance from Jan. 22-24. Please try again tomorrow and let us know if it works. Sorry for the inconvenience.

@thecodester  I tried again and I was able to successfully sign up. Thank you for the help.

@thecodester  I tried again and I was able to successfully sign up. Thank you for the help.

authors: bri-davis thecodester

repo: SAPDocuments/Issues


text:
Import Tables and Large Datasets (XS Advanced)

Tutorial URL: https://developers.sap.com/tutorials/xsa-import-shine-data.html
Please specify the step you are referring to Step 3.
Hello,
I get the following error if I BUILD the DB:
--> to here, everything is fine!
Deploying "src/data/load.hdbtabledata$0.expand"...
Expanded from "src/data/load.hdbtabledata"
--> first error
Error: com.sap.hana.di.tabledata: The "include_filter" definitions in the table import files "src/data/load.hdbtabledata" and "src/data/loads/PurchaseDemo.hdbtabledata" use key values that are not disjunct; "src/data/load.hdbtabledata" has an empty filter set [8251511]       at "src/data/load.hdbtabledata" (54:22)
-->second error
Error: Worker 4 has encountered an error; all remaining jobs will be canceled [8214600]
Error: com.sap.hana.di.tabledata: The "include_filter" definitions in the table import files "src/data/load.hdbtabledata" and "src/data/loads/PurchaseDemo.hdbtabledata" use key values that are not disjunct; "src/data/load.hdbtabledata" has an empty filter set [8251511]       at "src/data/load.hdbtabledata" (14:22)
-->Build failed...
Inserted 2 records of the data source file "header.csv" into the target table "PurchaseOrder.Header"    Deploying "src/data/loads/PurchaseDemo.hdbtabledata$0.expand"... ok
Inserted 20 records of the data source file "item.csv" into the target table "PurchaseOrder.Item"    Deploying "src/data/loads/PurchaseDemo.hdbtabledata$1.expand"... ok
Error: Processing work list... failed [8212102]
Make failed (4 errors, 67 warnings): tried to deploy 61 files, undeploy 2 files, redeploy 2 dependent files  Error: Making... failed [8211605]
Error: Starting make in the container "DB_1" with 61 files to deploy, 2 files to undeploy... failed [8214168] Command failedDeployment to container DB_1 failed - error: HDI make failed [Deployment ID: none].
Error: HDI make failed(50s 658ms)npm ERR! code ELIFECYCLEnpm ERR! errno 1npm ERR! deploy@ start: node node_modules/@sap/hdi-deploy/deploy.jsnpm ERR! Exit status 1npm ERR! npm ERR! Failed at the deploy@ start script.npm ERR! This is probably not a problem with npm. There is likely additional logging output above.npm ERR! A complete log of this run can be found in:npm ERR!     /hana/shared/HXE/xs/controller_data/executionagent/executionroot/768bc893-0bc8-4969-a833-9a396ee5f1d1/app/META-INF/cache/node8.14/.npm/_logs/2019-05-28T11_55_12_177Z-debug.log
13:55:10 (Builder) Build of /HANA_APP/db failed.

Hi, What is the content of the files causing the error? What version of HXE is this?

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

I just had the same issue as the one posted here.

Can you open a new ticket -- and provide the information on the files?

Done #3772 raised.

authors: Git-DT Lsubatin marcobuescher thecodester

repo: SAPDocuments/Tutorials


text:
Set Up Your SAP Cloud Platform Integration Tenant

I am trying to add capability 'Cloud Integration' to the Integration Suite. The status remains in progress and progress is 83%.
I tried a couple of times without success. What can I do?

Hi @PaulLwrs ,
Thanks for reaching out to SAP.
With reference to your concern, could you please check now? Ideally tenant provisioning might take sometime, not more than 20 mins.
If the same issue persisting, try creating new sub account or delete the existing one and recreate it to check the same.
Regards,
Vikram Kulkarni

Hi @PaulLwrs ,
Thanks for reaching out to SAP.
With reference to your concern, could you please check now? Ideally tenant provisioning might take sometime, not more than 20 mins.
If the same issue persisting, try creating new sub account or delete the existing one and recreate it to check the same.
Regards,
Vikram Kulkarni

Thank you for your feedback. This channel is for problems with tutorials only, so I am closing the issue.
If you you are experiencing product related issues, please open a bug ticket.

Thank you for your feedback. This channel is for problems with tutorials only, so I am closing the issue.
If you you are experiencing product related issues, please open a bug ticket.

authors: MichaelCzcz PaulLwrs Vikramkulkarni01


text:
Process call_stars () terminated with an error exit status (1)

Describe the bug
When run on my data, the last process 'call stars' is terminated and no output alleles is generated. It produce only variants:
BWA-hs37d5.WGS_cyp2d6.vcf.gz
BWA-hs37d5.WGS_cyp2d6.vcf.gz.tbi
Sorry, I didn't find the logs in work directory.
To Reproduce
-Ubuntu 20.04 virtual machine on server
-Singularity/Docker (same error)
-N E X T F L O W  ~  version 21.10.1 (same on DSL1 an DSL2)
-command: nextflow run main.nf -profile standard --build hg19 --gene cyp2d6
Screenshots

@twesigomwedavid,
Thank you for quick response!
I actually use WGS with 34x coverage.
Traceback (most recent call last):
File "bin/stellarpgx.py", line 28, in
cn = get_total_CN(cov_file)[0]
File "/home/tony-lupara/StellarPGx/scripts/cyp2d6/b37/bin/sv_modules.py", line 25, in get_total_CN
av_2d7_ex2_in8 = float(all_reg[10][3])/(float(all_reg[10][2]) - float(all_reg[10][1]))
IndexError: list index out of range

@TonyLupara
Thanks. How about the content of the depth file in work/08/1ff463<tab_key>/
Also, is this error happening for all your samples or just this one

@twesigomwedavid,
chr22   42522300        42522800        61140
chr22   42522000        42526000        473627
chr22   42520000        42531500        1234331
chr12   48235320        48298814        4470025
chr22   42526000        42531500        512865
chr22   42538400        42540600        237348
chr22   42535500        42538100        313146
chr7    55086678        55279262        9578555
chr22   42536550        42539583        324698
chr22   42539583        42540600        118488
I find that it missing 2 regions from  ~/resources/cyp2d6/cyp_hg19/test3.bed:
chr22   42535490        42536560
chr22   42536550        42538400
I've tried it only on 1 sample, waiting to process another sample's bam.

@TonyLupara,
Thanks. This was caused by a delimiter issue i.e. those 2 lines had spaces instead of a '\t' delimiter.
Please download the fix to your local StellarPGx directory using:
git stash
git pull
git stash pop

Excellent, it works!
@twesigomwedavid, thank you so much for your help!

authors: TonyLupara twesigomwedavid

repo: SBIMB/StellarPGx


text:
Update App.js / optimize filter setVariables

We have quite large styleguide and seems that setVariables filter have some performance problems.
Our variables arrays has almost 300 items and  using _.memoize we can reduce cpu 100% usage from ~65s -> ~2.5s.

fixing test, then ill make new one


text:
Unable to Install Multiple Versions of SCons Side-by-Side for SCONS 4.2.0

Hi,
For my development works, I need to have multiple versions of scons installed on my PC (SCONS-3.1.2 and SCONS-4.2.0). I went through the SCONS user guide for finding some info for a way to achieve this and find out I can use an command python setup.py install --version-lib
The above command worked fine when I am trying to install SCONS 3.1.2 but when I try to install SCONS 4.2.0 then it fails saying error: option --version-lib not recognized .
Can you please help me with a way to achieve this so that I can work with two versions of scons on my PC?
Thanks and please let me know if you need any more info.

Here is the cmd output I am receiving  when I try to install SCONS 4.2.0
C:\Users\grb1rlz\Desktop\AllStuff\EXE\AllOrganized\BuildTools\scons\scons-4.2.0>python setup.py install --version-lib
C:\Users\GRB1RLZ\AppData\Local\Programs\Python\Python39\lib\site-packages\setuptools\dist.py:642: UserWarning: Usage of dash-separated 'project-urls' will not be supported in future versions. Please use the underscore name 'project_urls' instead
warnings.warn(
C:\Users\GRB1RLZ\AppData\Local\Programs\Python\Python39\lib\site-packages\setuptools\dist.py:642: UserWarning: Usage of dash-separated 'dist-dir' will not be supported in future versions. Please use the underscore name 'dist_dir' instead
warnings.warn(
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
or: setup.py --help [cmd1 cmd2 ...]
or: setup.py --help-commands
or: setup.py cmd --help
error: option --version-lib not recognized

repo: SCons/scons


text:
CSV is not escaped.

CSV data is not escaped correctly, a quote character (") should be escaped as a double quote("").
Example:
"The "elephant" in the room. "
Should be:
"The ""elephant"" in the room. "
It should also be un-escaped before import.

If you mean from Json to CSV, yes we have an issue there
But {"The ""elephant"" in the room. "} is not a valid Json I think it should be {"The "elephant" in the room. "} when exporting to CSV will be {The "elephant" in the room. }
Please correct me if I am wrong

authors: esamelzain iMoppel

repo: SDN-X/SuperConvert


text:
Feature/#96 add payments to dashboard

Pull Request Information
Relates to Github Issue: #96

What is the PR Type: Feature

Describe the added/fixed behaviour: Added payment component as shown in HiFi

Checklist

[x] Pull request has suitable title, adequately described and associated with a github issue
[x] Branch name follows correct convention (e.g. feature/[id]-some-feature)
[x] Branch builds and executes with no errors
[ ] Test cases has been generated for the feature and test cases pass
[x] Updated relevant wiki/documentation

Final Reminders
Please remember to squash the commits

Actually don't merge, this breaks the site as it includes the bootstrap CSS files. It is required but everyone else based their work on it not being present...

Redoing this


text:
API: Analytics

De klant wilt graag dat wij manier voorzien om statistieken en analyses te kunnen bekijken en opstellen. Deze meta issue dient voor bijhouden van de vooruitgang op deze functionaliteit.
Gevraagde analyses
Ronde

Wanneer er begonnen is aan de ronde
Wanneer de ronde afgemaakt is
Hoeveel tijd nam de ronde in beslag
Gemiddelde tijd dat de ronde nam in beslag

Gebouwen

Rendabiliteit van het gebouw (TODO: wat precies moet dit worden?)
Hoeveel tijd er gespendeerd wordt vs verwachtte hoeveelheid tijd + delta

Studenten

Hoeveel tijd spendeert de student per gebouw vs verwachting
hoeveel tijd spendeert de student per ronde vs verwachting
hoeveel tijd spendeert de student per week vs verwachting

Taak
Voorzie een API endpoint /stats om deze statistieken te kunnen opvragen.
Bereid databank voor om deze data bij te houden.
Deze statistieken dienen enkel opgevraagd kunnen worden door superstudenten/admins.
Statistieken omtrent het gebouw dienen ook door syndici opgevraagd kunnen worden.
Optional: Kunnen/mogen studenten hun eigen statistieken bekijken?

Ik heb al eens opgelijst wat er in de frontend getoond moet worden. Volgens mij moeten er 5 tabellen getoond kunnen worden, eventueel op aparte pagina's.
Rondes

Naam Gebruiker (voor- en achternaam)
Email gebruiker
Starttijd
Eindtijd
Duur (eind-start)
Gemiddelde duur van alle studenten

Gebouwen:

Naam gebouw
Verwachte tijd (gebudgeteerde tijd)
Gemiddelde gespendeerde tijd van alle studenten
Verhouding
Percentage winst/verlies

Student gebouwen

Naam student (voor- en achternaam)
Email student
Naam gebouw
Gespendeerde tijd
Gemiddelde tijd van alle studenten

Student ronde

Naam student (voor- en achternaam)
Email student
Gemiddelde tijd van student
Gemiddelde tijd van alle studenten

Student week/maand

Naam student (voor- en achternaam)
Begindatum
Einddatum
Gewerkte uren
Gemiddelde aantal gewerkte uren van alle studenten

De query builder zal hiervoor aangepast worden. Bij Round en Building zal ik een extra methode toevoegen om alle statistieken op te vragen. Bij User zal ik hiervoor 3 aparte methodes toevoegen.

authors: JanneCools TheMessik


text:
Details templates

Error handling voor alles van beide templates en kleine fixes.

@novdamme Als ik iets aanpas bij Containers voor deze vuilnis planning dan slaat hij dat gelijk niet op.

@novdamme Als ik iets aanpas bij Containers voor deze vuilnis planning dan slaat hij dat gelijk niet op.

Oei bij mij wel dus misschien best een derde persoon die probeert

@novdamme Als ik iets aanpas bij Containers voor deze vuilnis planning dan slaat hij dat gelijk niet op.

Oei bij mij wel dus misschien best een derde persoon die probeert

Zou het kunnen doordat er iets verkeerd gemerged is?

@novdamme Als ik iets aanpas bij Containers voor deze vuilnis planning dan slaat hij dat gelijk niet op.

Oei bij mij wel dus misschien best een derde persoon die probeert

Zou het kunnen doordat er iets verkeerd gemerged is?

Bij mij werkt het op deze branch hoe hij nu is dus denk het niet.

@novdamme Als ik iets aanpas bij Containers voor deze vuilnis planning dan slaat hij dat gelijk niet op.

Oei bij mij wel dus misschien best een derde persoon die probeert

Zou het kunnen doordat er iets verkeerd gemerged is?

Bij mij werkt het op deze branch hoe hij nu is dus denk het niet.

Bij mij past het ook aan maar niet direct. Ik zie het pas voorschijn komen als ik terug ga naar de /admin/Afvaltemplates en dan weer op de template klik

authors: KaiHozee WouterDeBolle novdamme


text:
Bad and choppy rendering when trying to draw shapes

Subject of the issue
I tried to draw some basic shapes like a rectangle rotated 45 degrees or a circle
Your environment

Your OS / distro / window manager used
Solus Linux Fortitude 4 /Budgie DE
Your version of SFML (2.5.0, git master, etc)
2.5.1
Your compiler and compiler version used
g++ , version 9.2.0
Special compiler flags used
g++ sfml_test.cpp -o sfmlapp  -lsfml-graphics -lsfml-window -lsfml-system -lsfml-audio -lGL -LGLU -lm

Steps to reproduce
#include <SFML/Graphics.hpp>

int main()
{
    sf::RenderWindow window(sf::VideoMode(500, 500), "SFML works!",sf::Style::Default);
    sf::CircleShape shape(200.f);
    shape.setFillColor(sf::Color::White);
shape.setOutlineColor(sf::Color::Black);
shape.setOutlineThickness(2.f);
    while (window.isOpen())
    {
        sf::Event event;
        while (window.pollEvent(event))
        {
            if (event.type == sf::Event::Closed)
                window.close();
        }

        window.clear(sf::Color::White);
        window.draw(shape);
        window.display();
    }

    return 0;
}

Expected behavior
See a perfectly drawn circle with smooth outline
(This image was generated using Processing to show that is not my GPU's fault that the shapes are not rendered corectly)

Actual behavior
I see pointy outline, very ugly with SFML and C++

Compared to the first one, the SFML circle lacks two things:

antialiasing (sf::ContextSettings in window constructor -- see documentation)
more edges than the default number (constructor of sf::CircleShape)

I did some research on sf::ContextSettings in the window constructor but it show me a warning and sets the antialising to the 16 and everything to the default, what I am trying to say is that it doesn't matter what options I write it says it takes others

Questions: What are the maximum numbers that can be passed as arguments to sf::ContextSettings options ?

It totally depends on your graphics card capabilities.

So how could I find out ?

repo: SFML/SFML

license: Zlib


text:
OpenGL extension SGIS_texture_edge_clamp unavailable

Subject of the issue
From commit 4fcef893c9d67630ad6d9e9bbf2ee48a62f95eef onwards the following error appears in the terminal, presumably only on nvidia cards
OpenGL extension SGIS_texture_edge_clamp unavailable
Artifacts may occur along texture edges
Ensure that hardware acceleration is enabled if available
Your environment

nvidia 3080 GPU, Ubuntu 20.04 (driver 460.39) and Windows 10 (driver 461.33)
GCC 9.3.0, Visual Studio 2019

Steps to reproduce
Any program making use of a texture
#include <SFML/Graphics.hpp>

int main()
{
    sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
    sf::CircleShape shape(100.f);
    shape.setFillColor(sf::Color::Green);

    sf::RenderTexture T;
    T.create(200, 200);

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

        T.clear();
        T.draw(shape);
        T.display();

        sf::Sprite spr;
        spr.setTexture(T.getTexture());

        window.clear();
        window.draw(spr);
        window.display();
    }

    return 0;
}

I managed to get the error to go away by changing line 11988 in https://github.com/SFML/SFML/blob/master/extlibs/headers/glad/include/glad/gl.h from
    SF_GLAD_GL_SGIS_texture_edge_clamp = sf_glad_gl_has_extension(version, exts, num_exts_i, exts_i, "GL_SGIS_texture_edge_clamp");

to it's old value
    SF_GLAD_GL_SGIS_texture_edge_clamp = sf_glad_gl_has_extension(version, exts, num_exts_i, exts_i, "GL_SGIS_texture_edge_clamp") | sf_glad_gl_has_extension(version, exts, num_exts_i, exts_i, "GL_EXT_texture_edge_clamp");

It looks like this an issue in the past which I'm assuming was manually fixed, https://github.com/SFML/SFML/issues/880. I'm assuming that when this file was regenerated the fix didn't get  carried over.

It's a regression from #1769.
Question is, did we previously manually edit the glad.h file or is there an option for glad to apply this for future generations?
Before
    SF_GLAD_GL_SGIS_texture_edge_clamp = sf_glad_gl_has_extension(version, exts, num_exts_i, exts_i, "GL_SGIS_texture_edge_clamp") | sf_glad_gl_has_extension(version, exts, num_exts_i, exts_i, "GL_EXT_texture_edge_clamp");

After
    SF_GLAD_GL_SGIS_texture_edge_clamp = sf_glad_gl_has_extension(version, exts, num_exts_i, exts_i, "GL_SGIS_texture_edge_clamp");

For maintenance reasons, we should handle this in our own code instead of having to remember to manually tweak glad every time we update it (like was done in the past).

This should be fixed in #1789.

Thank you, I just pulled and tested that commit and it's working without error on my rig.


text:
Create FirstProblem.py

Pull Request Template
What have you Changed(must)
Write here what you have changed in the codebase
Issue no.(must) -
Pr will be close and marked as spam. If issue number not found or issue was assigned to someone else.
Marking as spam can block your account from HacktoberFest.
Self Check(Tick After Making pull Request)

[ ] This issue was assigned to me if not it will be marked as spam.
[ ] My file is in the proper folder
[ ] I am following clean code and Documentation.
[ ] I have added the title and what program will do first in the file
[ ] I have named the file as (Problem #). (Problem Title(in Camel Case)).(extension)
ex. 2. AddToNumbers.py

README - How to Contribute

@mantosh1 you have to mention the issue number in the PR Body.

repo: SHY-Corp/LeetCode-Solutions


text:
Poor optimization of texture replacement work, like optifine

Low fps from armor that replaces texture via cit resewn.
Hello, it's very unfortunate to report that we switched from optifine(optifabric) to this mod precisely because of better optimization, since the presence of replaced armor textures through optifine on the screen lowers fps in large numbers, often even below ten.(
Does the author have any ideas for optimizing the work of the mod or is it planned to work on this directly in the plugin itself in the future?
We put 8-12 sets of armor in front of us on the screen and compare the fps with the resource pack, which replaces the armor without it.
Without a resource pack with armor fps 140+, with it about 48-65. The Iris shader engine finishes off the fps, dropping it to 38-45 in idle and 15-27 when looking at the armor. Sometimes even up to 7 frames.
Our server is running with a lot of changed armor, we often have large squads of players together, arranging battles or peaceful events. Armor has a terrible effect on fps.(

It works, it's a must-have. Thank you!

There is not much I can do besides that really for optimization. I added the cache slider config after I noticed the performance issues with large packs as well. The default config is every 1 tick rather than realtime which seems to be the best option for most pack setups.
Of course, if you are using large packs you can increase that and you'll just have to let your players know to do that.

Perhaps in the cit config file you can specify the update rate so packs that need to change it can. With multiple packs the lowest cache refresh rate wins, and manually changing the slider from default overrides the pack configs

@DonFlymoor

Perhaps in the cit config file you can specify the update rate so packs that need to change it can. With multiple packs the lowest cache refresh rate wins, and manually changing the slider from default overrides the pack configs

Packs by default wont declare what cache rate they need, making the default be once a tick(like it is by default in the mod config).
Once a tick works great for most packs and computers, this should only really be changed if either is beyond the norm. (large packs or slow pcs)

authors: DonFlymoor SHsuperCM ccyounga

repo: SHsuperCM/CITResewn


text:
Crash exit Code -1 when launchign 1.20.4

Whenever I try to launch 1.20.4 I get exit code -1, and I cant find anything a bout it online. It also launches fine whenever I don't have CIT resewn in the mod folder

The mod isn't updated for 1.20.4.

As dicedpixels says, the mod is not out on 1.20.4 yet. Also exit codes are not useful without the logs.

authors: SHsuperCM dicedpixels maxrcobl


text:
about timestamp

thanks for your apply for anwser for
https://github.com/SICKAG/sick_scan_xd/issues/119#issue-1412769021, but i'm still confued for the code:

the code set the timestamp after  accept the datagram, so why the time is not  the timestamp of the last point ,since the timestamp of the last point  is laster than the first point。（ROS2.0,Tim5XX ）
By the way，what is the param use_generation_timestamp used for, does it effect the timestamp of  /sensor_msgs/laser_scan?
thanks sincerely.

The information you are looking for can be found in the following explanation:

https://github.com/SICKAG/sick_scan_xd/blob/0c35a36cc4cf40d2a04325e2145112c27623acd1/doc/timing.md
https://github.com/SICKAG/sick_scan_xd/blob/0c35a36cc4cf40d2a04325e2145112c27623acd1/doc/software_pll.md

In a nutshell:
The lidars do not work with absolute time stamps but with "ticks". There are two types of tick timestamps:

Tick timestamps for the generation
Tick timestamps for sending the message
To match the tick timestamps against the system time, a straight line equation is estimated via the so-called software PLL, which can be used to calculate from the system time to the ticks in the lidar (and vice versa). The assumption is that the tick timestamp for sending the message corresponds to the system time when receiving the message. In reality there will be a tiny delay here. This delay can be ignored.

With the help of this straight line equation, one can now calculate the system time at which the data is generated in the lidar.
Summary:

lidar: stamp with ticks the generation (first shot in the scan) (TICK_GEN)
lidar: stamp with ticks the sending of the scan message (TICK_TRANSMIT)
PC: Stamp with system time the receiving of the message
PC: Calculate back to system time of generation:
System time of generation = System time of receiving - (TICK_TRANSMIT - TICK_GEN)/TICK_FREQUENCY


text:
Refactoring deliverables and milestones sections?

The deliverables sections now list activities and process description and not an overview of specifications and/or documents that are to be delivered?
The milestones section should be used to connect a timeline to the different deliverables?
as for example done by the DELEG wg?
see: https://datatracker.ietf.org/wg/deleg/about/

Not all charters look like DELEG. Take for instance MIMI: https://datatracker.ietf.org/group/mimi/about/
Milestones are actually managed by the datatracker, so there is no real need to put that in the charter itself.
The deliverables section is merely to communicate to the IESG and the rest of the IETF that the working group isn't gonna just do stuff without a plan. It isn't totally necessary (see MIMI), and making it too specific constrains the working group.

maybe drop the milestones section then? and merge the text of the 2 sections into a single deliverables section?

To be clear, merge the milestones and deliverables section into a single deliverables section? If so, sounds good to me.

yes, i'll create a PR

created pull request #12

repo: SIDN/ietf-wg-rpp-charter


text:
make update_publication util script

make an update_publication script which uses ADS to complete DOI, Bibcode, and Description fields.

This script will help close #122

repo: SIMPLE-AstroDB/SIMPLE-db


text:
🛑 DNS1.electro is down

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

HTTP code: 0
Response time: 0 ms

Resolved: DNS1.electro is back up in 94c85cf after 30 minutes.

repo: SIRMaxis/uptime-robot


text:
🛑 DNS2.electro is down

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

HTTP code: 0
Response time: 0 ms

Resolved: DNS2.electro is back up in ae08277 after 29 minutes.


text:
🛑 DNS2.electro is down

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

HTTP code: 0
Response time: 0 ms

Resolved: DNS2.electro is back up in d50396d after 10 minutes.


text:
🛑 DNS1.electro is down

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

HTTP code: 0
Response time: 0 ms

Resolved: DNS1.electro is back up in addcbfb.


text:
🛑 DE Server is down

In 5c3ccb6, DE Server (de1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DE Server is back up in add8084 after 51 minutes.


text:
🛑 DNS1.electro is down

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

HTTP code: 0
Response time: 0 ms

Resolved: DNS1.electro is back up in 0748af1 after 27 minutes.


text:
🛑 DE Server is down

In aba7019, DE Server (de1.elteam.ir) was down:

HTTP code: 0
Response time: 0 ms

Resolved: DE Server is back up in cc4451a after 18 minutes.


text:
🛑 Website is down

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

HTTP code: 0
Response time: 0 ms

Resolved: Website is back up in 346afb3 after 8 minutes.


text:
🛑 DNS1.electro is down

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

HTTP code: 0
Response time: 0 ms

Resolved: DNS1.electro is back up in 3e899e9 after 8 minutes.