text:
config_file.json vs config.json

Corrects discrepancy in the code: config_file.json vs config.json.

Pull Request Test Coverage Report for Build 221363759

0 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at ?%

Totals

Change from base Build 221235663:
0%

Covered Lines:

Relevant Lines:
0

💛  - Coveralls

authors: charleygros coveralls

repo: ivadomed/ivadomed


text:
Deprecation warning in browser console

Now in browser console we have deprecation warning
moment.min.js:6 Deprecation warning: moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.
Arguments: [object Object]
Error
    at Function.createFromInputFallback (http://static.tarasov.ca/trip-builder/vendor/datepicker/moment.min.js:6:2710)
    at oa (http://static.tarasov.ca/trip-builder/vendor/datepicker/moment.min.js:6:10865)
    at Ia (http://static.tarasov.ca/trip-builder/vendor/datepicker/moment.min.js:6:14772)
    at Ha (http://static.tarasov.ca/trip-builder/vendor/datepicker/moment.min.js:6:14633)
    at Ga (http://static.tarasov.ca/trip-builder/vendor/datepicker/moment.min.js:6:14353)
    at Ja (http://static.tarasov.ca/trip-builder/vendor/datepicker/moment.min.js:6:15085)
    at Ka (http://static.tarasov.ca/trip-builder/vendor/datepicker/moment.min.js:6:15119)
    at a (http://static.tarasov.ca/trip-builder/vendor/datepicker/moment.min.js:6:202)
    at HTMLInputElement.<anonymous> (http://static.tarasov.ca/trip-builder/js/global.js:32:22)
    at Function.each (http://code.jquery.com/jquery-3.3.1.min.js:2:2573)
t @ moment.min.js:6

This should be fixed

This issue should be fixed with changing vendor for date picking, but not now

source: gharchive/issue

repo: ivan-tarasov/fh-trip-builder

license: MIT

license_type: permissive

license_source: github-api


text:
IngestHasSbom implementation

based on the approach you applied in commit 6ac045c in your PR https://github.com/guacsec/guac/pull/910, I've implemented the IngestHasSbom endpoint.
With this, I managed to successfully collect two test file (i.e. quarkus-deps-cyclonedx.json and alpine-cyclonedx.json)
I hope this can help your effort :+1:

@mrizzi thanks for this Marco, good to see you here again. Merging in.

source: gharchive/pull-request

authors: ivanvanderbyl mrizzi

repo: ivanvanderbyl/guac


text:
add button bar

is possible to add more buttons to the right place?

You want add 1 button or many buttons?

More than One to the right

You can add it as ‘addSubview’. Also need configure and layout it.

authors: boardmain ivanvorobei

repo: ivanvorobei/SPFakeBar


text:
Add rule: "noop" metaparameter should be used for testing purpose only

http://docs.puppetlabs.com/references/latest/metaparameter.html#noop

Fixed in https://github.com/iwarapter/sonar-puppet/pull/223

repo: iwarapter/sonar-puppet

license: mit

license_source: bigquery


text:
issue: missing required error after the input has been changed

Version Number
1.1.3
Codesandbox/Expo snack
https://codesandbox.io/s/react-typescript-forked-j8cy2u?file=/src/App.tsx
Steps to reproduce

Type something in the input then clear it.
Hit submit button.
-> onSubmit called even though the input is empty.

Expected behaviour
Shows *Required error.
Relevant log output
No response

I think we need to check for empty string also:
https://github.com/iway1/react-ts-form/blob/291f32f3e677547a47ec30e9572378147ff20868/src/FieldContext.tsx#L107

It seems I need to change my schema instead. https://github.com/colinhacks/zod/discussions/1950


text:
🛑 21Eurkon is down

In 1baef26, 21Eurkon (https://blog.eurkon.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 21Eurkon is back up in 9691f90 after 21 minutes.

repo: iwyang/check


text:
🛑 05Takagi is down

In 65c38c7, 05Takagi (https://lixingyong.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 05Takagi is back up in ee4608a.


text:
🛑 06IILeeのBlog is down

In 3419baa, 06IILeeのBlog (https://www.iilee.cn) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 06IILeeのBlog is back up in 03ce793.


text:
🛑 28mao is down

In ed94dd7, 28mao (https://meuicat.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 28mao is back up in e32369c.


text:
🛑 05Takagi is down

In ed70bb0, 05Takagi (https://lixingyong.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 05Takagi is back up in 696fcb3 after 9 minutes.


text:
🛑 13Akilarの糖果屋 is down

In 5a9a40a, 13Akilarの糖果屋 (https://akilar.top) was down:

HTTP code: 0
Response time: 0 ms

Resolved: 13Akilarの糖果屋 is back up in 4d89cba after 9 minutes.


text:
[Bug]: Dedicated Server Crash on Statup

Describe the Bug
[19:06:31] [main/ERROR] [minecraft/Main]: Failed to start the minecraft server
net.minecraftforge.fml.LoadingFailedException: Loading errors encountered: [
Ultimine Addition (ultimine_addition) has failed to load correctly
§7java.lang.RuntimeException: Attempted to load class net/minecraft/client/player/LocalPlayer for invalid dist DEDICATED_SERVER
]
at net.minecraftforge.fml.ModLoader.waitForTransition(ModLoader.java:243) ~[fmlcore-1.19.2-43.2.0.jar%23450!/:?] {}
at net.minecraftforge.fml.ModLoader.lambda$dispatchAndHandleError$24(ModLoader.java:208) ~[fmlcore-1.19.2-43.2.0.jar%23450!/:?] {}
at java.util.Optional.ifPresent(Optional.java:178) ~[?:?] {re:mixin}
at net.minecraftforge.fml.ModLoader.dispatchAndHandleError(ModLoader.java:208) ~[fmlcore-1.19.2-43.2.0.jar%23450!/:?] {}
at net.minecraftforge.fml.ModLoader.lambda$gatherAndInitializeMods$14(ModLoader.java:185) ~[fmlcore-1.19.2-43.2.0.jar%23450!/:?] {}
at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?] {re:mixin}
at net.minecraftforge.fml.ModLoader.gatherAndInitializeMods(ModLoader.java:185) ~[fmlcore-1.19.2-43.2.0.jar%23450!/:?] {}
at net.minecraftforge.server.loading.ServerModLoader.load(ServerModLoader.java:32) ~[forge-1.19.2-43.2.0-universal.jar%23454!/:?] {re:classloading}
at net.minecraft.server.Main.main(Main.java:113) ~[server-1.19.2-20220805.130853-srg.jar%23449!/:?] {re:classloading,re:mixin,pl:mixin:A}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] {}
at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77) ~[?:?] {}
at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] {}
at java.lang.reflect.Method.invoke(Method.java:568) ~[?:?] {}
at net.minecraftforge.fml.loading.targets.CommonServerLaunchHandler.lambda$launchService$0(CommonServerLaunchHandler.java:29) ~[fmlloader-1.19.2-43.2.0.jar%2367!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30) [modlauncher-10.0.8.jar%2354!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53) [modlauncher-10.0.8.jar%2354!/:?] {}
at cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71) [modlauncher-10.0.8.jar%2354!/:?] {}
at cpw.mods.modlauncher.Launcher.run(Launcher.java:106) [modlauncher-10.0.8.jar%2354!/:?] {}
at cpw.mods.modlauncher.Launcher.main(Launcher.java:77) [modlauncher-10.0.8.jar%2354!/:?] {}
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26) [modlauncher-10.0.8.jar%2354!/:?] {}
at cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23) [modlauncher-10.0.8.jar%2354!/:?] {}
at cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141) [bootstraplauncher-1.1.2.jar:?] {}
To Reproduce
This Mod with Forge 1.19.2-43.2.1 Server.
Catch the bug In Action!
No response
Crash Report or Log
No response
OS
Linux Ubuntu
Minecraft Version
1.19.2
ModLoader
Forge
Mod Version
v1.0.0 RELEASE

Hi @Wubzzz1337
I'm working on it right now!
I solved this issue in the forge version, but the fabric version is still unstable
I'm sorry for taking so long to answer! ❤

no problem, please tag me when u update the forge version and put it on Curse :p

I uploaded a new update for both versions on Curse. You can check it out now!

repo: ixDarkLorD/UltimineAddition


text:
Reset button in Replay window does not work as expected.

Reset of the replay needs two clicks on the reset button.

The trackedobjects prefab had to many empty emelemts, this is fixed since the first release.

authors: HettmannWladimir JonasDeu

repo: ixperience-lab/VRSTK


text:
NBMetadataCore watchOS

watchOS framework does work due to file not found NBMetadataCore.h

anyone else had this issue?

repo: iziz/libPhoneNumber-iOS


text:
Dependency java-faker:1.0.2 is incompatible with actual Spring Boot 2.7.0

After upgrading Spring Boot version from 2.6.8 to 2.7.0 and using easy-random in my project. I failed into building problem.
I am getting error:
Could not find snakeyaml-1.30-android.jar (org.yaml:snakeyaml:1.30). Searched in the following locations:     https://repo.maven.apache.org/maven2/org/yaml/snakeyaml/1.30/snakeyaml-1.30-android.jar
This happend because easy-random is using java-faker in version 1.0.2 which is  incompatible with actual Spring Boot 2.7.0 version

Below might help, java-faker is replaced with data-faker
https://repo1.maven.org/maven2/io/github/dvgaba/easy-random-core-jdk11/6.1.1/
https://repo1.maven.org/maven2/io/github/dvgaba/easy-random-core/6.1.1/

Created a PR for replacing dependency
https://github.com/j-easy/easy-random/pull/490

Fixed in #490. Thank you @vadim-levotsky!

authors: JeTam3 dvgaba fmbenhassine vadim-levotsky

repo: j-easy/easy-random


text:
Cannot use in EhCache

In my application, my yaml text is saved in the database, so I need to read it from the database and load it as a rules object every time I execute it, so I want to put it into EhCache, but the rules object does not realize serializable, now I have compiled a custom MyRules To replace it, but I still hope that this feature can be supported in your library.

This is similar to #159 but for ehcache instead of spark.

now I have compiled a custom MyRules To replace it

Can you share what you did? If it is reasonable enough without introducing too much complexity, I can consider adding it.

As mentioned in https://github.com/j-easy/easy-rules/issues/159#issuecomment-482925343, there is no plan to make almost all APIs implement serializable.
I'm closing this issue, thank you for raising it anyway.

repo: j-easy/easy-rules


text:
Add Backend as superclass of SerialHardwareBackend

Spotted by @sersorrel in https://github.com/srobo/sr-robot3/pull/2#discussion_r449811261
This also means that the abstract methods are now actually enforced.
We should consider introducing a run-time type check for this, but I am
unable to think of a good place to put it at the moment.
Checklist

[x] I have updated the relevant documentation
[x] I have added the semver-major, semver-minor or semver-patch label as appropriate
[ ] I would like multiple reviewers to approve my code before merging

Why do you want to make these changes?
Stops need to cast to Type[Backend] in environment definitions.
Which parts of the codebase do your changes affect?
SerialHardwareBackend and subclasses thereof, SRV4MotorBoardBackend, SBArduinoHardwareBackend
How do your changes affect student or volunteer experience?
Shouldn't make any difference. This is purely for typing
Are your changes related to any existing issues or PRs? How so?
We had previously attributed this bug to #489, although didn't have an open issue for it :/

mypy's now unhappy because there's a # type: ignore which isn't needed any more, added here as part of #513, fwiw.

authors: sersorrel trickeydan


text:
jMonkeyEngine 3.6.0 crashes on startup

When I dare to start the jMonkEyengine 3.6 I receive
java.lang.IllegalStateException: Missing hosting module org.netbeans.libs.javacimpl for fragment org.netbeans.modules.nbjavac.impl 	at org.netbeans.ModuleManager.refineClassLoader(ModuleManager.java:909) 	at org.netbeans.StandardModule.classLoaderUp(StandardModule.java:527) 	at org.netbeans.ModuleManager.doEnable(ModuleManager.java:1361) 	at org.netbeans.ModuleManager.enable(ModuleManager.java:1331) 	at org.netbeans.ModuleManager.enable(ModuleManager.java:1256) 	at org.netbeans.core.startup.ModuleList.installNew(ModuleList.java:316) 	at org.netbeans.core.startup.ModuleList.trigger(ModuleList.java:252) 	at org.netbeans.core.startup.ModuleSystem.restore(ModuleSystem.java:298) 	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:173) 	at org.netbeans.core.startup.Main.getModuleSystem(Main.java:142) 	at org.netbeans.core.startup.Main.start(Main.java:303) 	at org.netbeans.core.startup.TopThreadGroup.run(TopThreadGroup.java:98) 	at java.base/java.lang.Thread.run(Thread.java:833)
and the death of the JmonkeyEngine instance right there.
Please fix or tell or hint me how to fix it!
I am on Debian Mate and willing to try out stuff.

Do you have a previous version of the SDK installed?

I'm fairly sure this is about having left over settings from some old release. Delete the settings and that should be it. Closing this. Feel free to reopen if the problem persists.

I found that thread also but it does not help me with jMonkey. Which settings would I delete then in/for jMonkey?

find the '.jmonkeyplatform' folder (usually in your 'home' directory).
Rename it to keep the configs.
Install.
Copy the 'config' folder from the renamed folder into the new '.jmonkeyplatform' folder.

authors: forenbuddy neph1 tonihele

repo: jMonkeyEngine/sdk


text:
MPD remote host

The ability to chose a specific host of the mpd module would be helpful for remote setups as it is currently impossible to do this with lemonbuddy.

You can do it when building the project. Got a cmake setting for it. Quite useless though when installing it from packages.
I'll move it to the user config.

repo: jaagr/lemonbuddy


text:
Github Pages

@jaagr @NBonaparte @patrick96 @skystrife, hi everyone.
You all most likely already know what Github Pages is, if not, the link explains it well enough.
I think it would be really awesome if polybar had an actual home page and since hosting is not something we would need to worry about thanks to gh-pages, the only thing needed  to realize that would be the site itself.
Which we also now have. Well, I made something resembling one, at least.
You can take a look at it right now at toncherami.github.io/polybar. It's not much more than a glorified version of the current README, but I like to think that it looks fairly decent, hopefully you do like it.
Technologies used: it is basically plain HTML/CSS + Bootstrap (CSS only) with only like four lines of JS (the scroll-down button callback). I also used Google Fonts and Font Awesome. The source currently resides here.
Now, if you do decide that it's good enough to be the official home page of polybar, there are two ways we can go about setting it up:

The first and the more preferable one, in my opinion, would be to create a repository called polybar.github.io under the polybar organization and have it merged there, which would result in it having the polybar.github.io domain.
The other way is to simply open a PR here and merge it into the gh-pages branch. That would result in it having the domain of jaagr.github.io/polybar which, I believe, is hardly as neat as the first option.

It's ultimately up to you though. For details see here.
I welcome suggestions (as long as they're not too drastic) and criticism, especially regarding the wording as I'm not too confident in it. I'd also appreciate it if you could point out any issues you find.
Can't wait to hear your thoughts!

Wow, the page design looks amazing, thank you very much!
I was planing to create a homepage for polybar as well to maybe also host blog posts about most recent changes, announcements and so on. But I wanted to wait until we agreed that we are going to migrate all polybar repositories to the organization. I actually scheduled to do a migration testrun with dummy repositories in a few weeks.
I particularly like the feature spotlight in the grid.
I think we can use most of the webpage as is with a few minor modifications:

Incorporating the polybar logo into the site
For the rices at the bottom, we probably have to ask the creators for permission and we should also link to the /r/unixporn post as well as use the clean screenshot (without open windows) if available.
While the three bars at the top look great, it would be better, if they were actually generated with polybar, to not give the wrong impression to people, but I think, we should be able to do most of the things on there with polybar.

Guys what do you think? If you're down with adding a webpage, I will create the polybar.github.io repo in @polybar.

In regards to my screenshots being used on this homepage, @patrick96 said that he thought clean screenshots with no windows open would be more suitable for this. I agree and I am willing to provide screenshots of the 3 polybar configs used on the webpage with no other windows open if they would be used on the homepage instead of the ones which were included in my reddit posts.

I think it looks awesome! Great job @TonCherAmi! A website is a living thing so I will not comment on specifics right now since it can be changed later. I vote for making it public as the official Polybar website.

Great idea, this would be an excellent addition to the repo.
Since a blog has been suggested, it might be useful to create a Jekyll theme that matches the current design, so we can easily just create posts in markdown and simply our workflow.
Some quibbles on the design (just my thoughts based on my tastes, don't feel offended or obliged to change):

Megrim (used for the logo in the top left) is horrendous and Josefin Sans isn't well suited to body text.
Too white/plain, feels like I'm going blind. We should have at least one other color.

This is probably a dumb and useless idea, but since you have a "simulation" of the bar, what if we had some form of GUI to show/hide different modules and generate a config?

@NBonaparte having a markdown powered blog sounds pretty neat, though I do have no experience with Jekyll whatsoever. I might look into it if I have free time.
Regarding them quibbles:

I am not one hundred percent sold on that myself, so I would be down to change it for something it different. What do you think of Flamenco for example?
Huh, I believe Josefin Sans is only used for headings and subheadings, if that's what you mean then I guess it's just that our tastes differ. I am totally open to suggestions though, so feel free to suggest something you think would fit better, I'd be glad to check it out.
Well, minimalism is what I was going for, so I guess that's that. I could probably try making the background a little grayer to not cause as much 'eye burn', though I personally have never had any issues with that. (am I the only one who keeps the lights on at night or what?)

That actually sounds like a really awesome idea, though I feel that implementing it without any frameworks would require some sort of a JS ninja, which I am certainly not, heh.

Flamenco is a little bit better, still not too sold on it though.

Sorry, I meant Comfortaa, although I guess my criticism applies to the smaller subheadings (< 20pt) as well. Both fonts are meant to be used at larger sizes, according to the designers. From the popular pairings suggested by Google Fonts, I think Montserrat looks the best (Lato looks nice as well).

Grey tones might help, a single accent color might be nice as well.

Also just noticed that the center mockup bar's shadow is different from the others, is this intentional?

I'm on vacation for the next week, I'll have a look at it afterwards.
On Mon, Sep 3, 2018, 21:22 Vasili Karaev notifications@github.com wrote:

@patrick96 https://github.com/patrick96 hey, I've tried incorporating
the logo into navbar, what do you think?
I also wanted to ask whether it would make sense for me to maintain the
site repo. Myself I'm certainly interested in doing it, though it would be
my first time. So if you guys are willing to allow it I'd be glad to.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jaagr/polybar/issues/1410#issuecomment-418180642, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACVqRiMlJFzVgSgV9uFSmEF7wTP8HRt8ks5uXYFkgaJpZM4WWpJp
.

Cool! :+1:

I think the black-white logo in the navbar looks really good. Would it also work as a favicon?
About the images, @rmw5601 if you can still recreate the exact same bars for all three rices this would be perfect, otherwise don't worry about it and we'll use the busy rices.
@TonCherAmi I have just a few minor changes, after that please open a PR in https://github.com/polybar/polybar.github.io, we will discuss having you as a maintainer for the webpage once we move everything to the organization but I don't think there is anything speaking against it.

In the feature spotlight the description should also link to the wiki not just the icon.
Replace  ALSA and PulseAudio Volume Controls with just Volume Controls that directly links to the pulse module
Since the tray has some issues right now, I don't want to directly promote it, please change the tray feature to something like cpu, ram, or battery

Yeah, I suspected there was too much detail in the other one, the current one will do.
I have recreated the repo to now be empty. You should be good to go.

I have not foreseen this :confused:

Here are the clean versions of the screenshots.
screenshot 1
screenshot 2
screenshot 3

The site is now live at https://polybar.github.io/

@patrick96 could you invite all of us to join the organization?

repo: jaagr/polybar


text:
Feature/1002 Vue3 upgrade

What's included?
Closes #1002
Who should test?
✅ Product owner
✅ Developers
✅ UTG
How to test?
Preview link: https://jac-apply-develop--pr1047-feature-1002-vue3-up-pcbrritf.web.app/
For internal testing please add issues/bugs you find in this Google slide:
https://docs.google.com/presentation/d/1UplMnOMJmQG2lYrKob9xnSST76TzTsWhL5n9F2inCuE/edit?usp=sharing
Create an account

Go to "Create an account" page and check if you can create an account

Sign in

Go to "Sign in" page and check if you can sign in to the platform

Reset your password

Go to "Forgotten password" page and check if you can reset your password

Your profile

Go to "Your profile" page
Check if the information on your profile shows correctly
Check if you can edit your profile
Check if you can edit your email address
Check if you can edit your password

Vacancies

Go to "Vacancies" page
Check if you can see open/future/closed applications
Check if the search and filters work correctly

Apply for vacancy

Find an open application and go to "Vacancy details"
Check if all information about the vacancy shows correctly
Check if you can apply for the vacancy
Check if you can fill in the information in the application
Check if you can submit the application

Current applications

Go to "Current applications" page
Check if you can access sent applications
Check if you can view the advert
Check if you can continue with an application

Character checks

Send the character checks request on admin
Go to "Current applications" page
Check if you can complete character checks consent form

Risk - how likely is this to impact other areas?
🔴 High risk - this includes a lot of changes to shared code
Additional context
Include screen grabs, notes etc.

PREVIEW:DEVELOP
can be OFF, DEVELOP or STAGING

As this is such a large change we are proposing to merge it into our main code base and resume testing there. Note that:

We can hold off deploying main until we have thoroughly tested.
We are able to deploy urgent changes as hot fixes.
This branch has been code reviewed by two devs plus has had an initial round of user testing.

This approach means we will minimise unnecessary merge conflicts and it will be easier to discover and apply fixes as we work on other features.
@nickaddy please can you approve this PR if you are happy with this approach.
@HalcyonJAC once approved by Nick and you are happy please can you merge into main 🚀 💣 💥

authors: HalcyonJAC warrensearle

repo: jac-uk/apply


text:
Java Runtime  old version

Good day all.
I build  Bidder with a docker-compose , but i have error:
`
wait-for-it.sh: minio:9000 is available after 0 seconds
Error: LinkageError occurred while loading main class com.jacamars.dsp.rtb.bidder.RTBServer
java.lang.UnsupportedClassVersionError: com/jacamars/dsp/rtb/bidder/RTBServer has been compiled by a more recent version of the Java Runtime (class file version 61.0), this version of the Java Runtime only recognizes class file versions up to 55.0
`
.
it's have too many time when convert JDK from 11 to version 17 Java,
Please fixed,
I thank you for amazing project. ^-^

I am getting the same error running the docker-compose images

repo: jacamars/Newbidder


text:
settings? Output to file/console?log level?...

I followed your document, but there is nothing output, and no errors. Could you tell me how to configure the log file path, log level ... There is no settings for it?

It's on top of SLF4J. So just use whatever SLFJ setup you already have (over log4j, logback, etc).

It's designed to integrate into any existing app that already runs logging on top of SLF4J. If you look at the code, all it does is relegate the actual logging to the standard SLF4J API, just ensures the log message is properly structured


text:
🛑 Giacomo Debidda is down

In af61bb4, Giacomo Debidda (https://www.giacomodebidda.com/) was down:

HTTP code: 404
Response time: 149 ms

Resolved: Giacomo Debidda is back up in c5f6fe0 after 10 minutes.

repo: jackdbd/uptime-monitors


text:
🛑 Giacomo Debidda is down

In c2ddf80, Giacomo Debidda (https://www.giacomodebidda.com/) was down:

HTTP code: 404
Response time: 181 ms

Resolved: Giacomo Debidda is back up in 2f21221 after 8 minutes.


text:
泰裤辣

这真的是泰裤辣！

泰裤辣！！！


text:
Unicode Characters stripped from URL

Describe the bug
I use files markdown files which names are purely based on non-alphabetical unicode characters.
When I generate the site, these characters are stripped from the url, which leads to inconsistencies.
To Reproduce
Steps to reproduce the behavior:

Create a folder in notes eg. 'Closed'
create two files in this folder named '▾▿⬒▾▿.md' and '▿▾⬒▿▾.md'
observe that one of those files will link to the other, as they now share the same url ('.../Closed/')

Expected behavior
Unicode Characters should not be disregarded, but either encoded in their code or written as is.
Screenshots

Desktop (please complete the following information):

Device: [PC]
OS: [Ubuntu 20.04.4 LTS]
Browser [Chrome]

Another is that the graph links to '.../Closed/▿▾⬒▿▾', but because the real url strips the unicode signs, this leads to an 404 error.

similar bug to https://github.com/jackyzha0/quartz/issues/67 hm I will look into it this weekend!

Hugo (Quartz's underlying engine) seems to strip non-alphabetical unicode :(( Unfortunately looks like Hugo doesn't provide an option to change this. These characters seem supported in the titles though so you might just need to change the filename

Did you in your research by any chance find an overview of all "allowed" characters, they talk about here?
I am thinking about writing a script which would sanitize all filenames and replace the illegal unicode characters with their respective unicode.


text:
Remove Guard derivation, add Guard interpreter

2.0
Guard prevents pure invariance, and can be expressed as an interpreter that wraps Decoder

Can you elaborate? I might be missing something, but

can be expressed as an interpreter that wraps Decoder

is the idea here "decode to A, and if it successfully decodes, it's an A"? if so, doesn't sound right, since our Decoder can change the structure. you can't use a Decoder as a guard for the data type B

The decoder is mappable, but it's the output type that changes.  And guard guards for the input type.
So if we were to express decoder / guard as HKT2s:
Decoder:
declare module 'fp-ts/lib/HKT' {
  interface URItoKind2<_E, A> {
    readonly Decoder: Decoder<unknown, A>
  }

Guard:
declare module 'fp-ts/lib/HKT' {
  interface URItoKind2<E, _A> {
    readonly Guard: Guard<unknown, E>
  }

So the reason that Decoder is sufficient for Guard is because decoder first guarantees that and unknown is E, and then converts to A.

And it follows that if decoder can decode to an A from unknown, it first had to decode successfully to E

I mean, that's not how Guard works in io-ts right now

Yeah, it's a design decision.  And incidentally it won't affect any of the basal io-ts, because io-ts doesn't distinguish between the E and A types.  The only transformation schemables we have are dateFromString (which is kind of loosey goosey anyway), and optionFromExclude (which is itself a bit hard to use)

I think we should leave Guard as checking the domain type since, as noted here, the Decoder already works as an input type check, and there'd be nothing to check if a value is already a domain type or not

Also don't forget we have the entire WithInvariant schemable

Well the whole point would be for making schemable properly invariant.  I have an idea that I'll include here, but ultimately I think what we have is the most convenient way to provide guards for schemata based on transforms.  But let me know what you think of this idea, because I think it has some merit.
HKT3 idea:
Make a Schemable3 based on Input type, Output type, and Transformed type.  So for all the basal schemables like Int or Float Guard (based on Output) would be the branded Int, or Float, and Decoder would be the same.  And for every transformed type Decoder and Encoder would both change, but Guard would remain fixed.
The upsides to this approach is that:

Imap no longer requires a Guard to be passed in
We don't need Guard instances for every Schemable
Guard will still work great for all of our pattern schemata
Guards for most transformed values are trivial anyway, like a guard for Option, or a guard for Date, or a guard for bigint.

The downside is that we would be providing many fewer in-house guards, which is essentially what we're doing for every transformation, and might be marginally more complicated when the type inside a guard matches the per-transformed r type relative to decoder

What is the difference between the "Output type" and the "Transformed type"?
How does an HKT3 (a type-level construct) make imap not require a Guard anymore?

The extra parameter would essentially track the pre-transformed type.   So for example, this could be the theoretical type-lambda for Int as an example:
type Int = Branded<number, IntBrand>

export interface IntSchemable<S extends TypeLambda> {
  readonly int: Kind<S, number, never, Int, Int>
}

And the definition for Invariant would then be:
export interface InvariantSchemable<S extends TypeLambda> {
  readonly imap: (f: (a: A) => B, g: (b: B) => A) => (self: Kind<S, I, never, O, A> => Kind<S, I, never, O, B>
}

And for every Schemable which hasn't been transformed will have an O parameter that's equal to the A parameter.

Oh and the reason Guard won't need to be passed in is that all of the Guard derivations would be removed and the definition of Guard would be adjusted to use the pre-transformed type for which Decoder validly guards for.  And this would allow Guard to be derived from Decoder

G.Option(G.Int)

Because it really isn't valid to say G.OptionFromUndefined(G.Int) because you can't Imap a Guard.  And same for JsonSchema technically.  So it'd be more accurate to generate guards for pre-transformed values and same for JsonSchema

But we could also provide manual guards for the output types, like Option, BigInt, Date, Map, etc.  It just wouldn't get injected into the derivation

Then you have two different schemas, which defeats the entire purpose of this library

I mean if you prefer less accurate / valid representations of schemata then sure

I don't understand the problem with leaving Guard as a guard on the output type.
The main thing is you don't have a situation like imap requiring you to provide a guard because we can't derive one. But that's just one example of a schemable instance which doesn't wholly support all possible Schemables.
I think the solution there is not "let's just delete everything which can't support every possible feature" but "let's figure out a way to make it dynamic, with a fallback mechanism where possible". In the imap case, a fallback is possible: you provide your own Guard
That seems far preferable to me than requiring users to make two schemas for data structures just to get a feature that we already provide right now.

Fair enough.  I was just trying to push the idea as far as possible.  And I think Guard should match Arbitrary, and Arbitrary is imappable.
I do want to keep pushing for JsonSchema using that pre-transformed type though

On the Arbitrary / Guard part, should Arbitrary make input types, or output types?  Because if endpoints (for example) operate on input types,  then the Arbitraries can't be used to test endpoints, because Arbitraries will have already generated the output type (which is not successfully decode)

Hm.
Going a step further ... Original Schemable was only ever free in one term. Decoder is technically a two-param type, but the first is constrained to always be unknown.
We now have a system of two free parameters. It could be argued we might want any given instance from any given perspective.
In this view, with a Schema<E, A>, a Decoder is just a function E -> A but one that also handles (not E) -> Error. Similarly, an Encoder is A -> E (and the secondary case doesn't actually need to be handled because we never have a (not A))
It's easy to argue that, in addition to  Guard, we could also want Guard<E>. An Arbitrary<E> as well as an Arbitrary

That makes sense to me, it's also why Printer has domainToJson (encoder input to SafeJson) and codomainToJson (encoder output to Json) type, which for v2 I'm going to rename to JsonPrinter with printInput (output of encoder), and printOutput (input of encoder).  We could do the same thing with Guard and Arbitrary:
interface Guard {
  readonly is: (a: unknown): a is A
  readonly isInput: (i: unknown) i is I
}

interface GuardTypeLambda extends TypeLambda {
  readonly type: Guard<this["in"], this["target"]>
}

interface Arbitrary {
  readonly getOutputArbitrary: (a: typeof fc): fc.Arbitrary
  readonly getInputArbitrary: (i: typeof fc): fc.Arbitrary
}

interface ArbitraryTypeLambda extends TypeLambda {
  readonly type: Arbitrary<this["in"], this["target"]>
}

interface Decoder {
  readonly decode: (i: unknown): E.Either<DecodeError, A>
}

interface DecoderTypeLambda extends TypeLambda {
  readonly type: Decoder<this["target"]>
}

interface Encoder {
  readonly encode: (a: A): I
}

interface EncoderTypeLambda extends TypeLambda {
  readonly type: Encoder<this["In"], this["target"]>
}

type JsonSchema<O> = Const<JsonSchemaWithDescription, O>

interface JsonSchemaTypeLambda extends TypeLambda {
  readonly type: JsonSchema<this["Out1"]>
}

interface Schema {
  <S extends TypeLambda>(schemable: Schemable<S>): Kind<S, I, never, O, A>
}

And the reason for the O parameter is to capture decoder values before they've been imapd.  This is useful because they are stronger types (i.e. NaturalBrand vs number) than just the input types.

I do still think Decoder should include a reference to the A type in the Left, but maybe it could just have both:
interface Decoder {
  readonly decode: (i: unknown): E.Either<Const<DecodeError, [I, A]>, A>
}

The reason is that the DecodeError is structured relative to the A type and it'd be handy to have that around to create utility functions (e.g. some kind of matching on which fields errored, exactly.)

Not a bad idea, we could have:
export interface DecodeErrorMeta {
  readonly expectedInput: I
  readonly expectedOutput: A
}

export interface Decoder {
  readonly decode: (i: unknown) => Either<Const<DecodeError, DecodeErrorMeta>, A>
}

Closing, domain guards are too valuable

authors: jacob-alford skeate

repo: jacob-alford/schemata-ts


text:
Is it possible for Auto indentation to mark lines as foldpoints?

I am using auto indentation, and would like to be able to determine if a line is a fold point or not. I remember reading somewhere about setting a property to do this. Is this possible?

I really wish we could set labels so not everything is posted as an issue.

IDK if its implemented in ScintillaNET or not but in native scintilla, I think you will use this: SCI_GETFOLDEXPANDED

The SCI_GETFOLDEXPANDED constants translates to the Line.Expanded property in ScintillaNET. That will tell you whether the line is marked as expanded or collapsed, however, to determine if a line is a fold point you should test for the FoldLevelFlags.Header flag. i.e.
if((scintilla.Lines[0].FoldLevelFlags & FoldLevelFlags.Header) > 0)
{
    // ...
}

Sorry, but the code isn't working for me.

Can you be more specific? It's difficult for me to provide assistance with such little information to go on....
When I run the following code, the output matches 1 for 1 with my fold points:
foreach (var line in scintilla.Lines)
{
    var message = "Lines[{0}] - fold level: {1}, is fold point: {2}";
    Debug.WriteLine(message, line.Index, line.FoldLevel, ((line.FoldLevelFlags & FoldLevelFlags.Header) > 0));
}

Okay sorry about that. You example fixed my issue, however I am having trouble folding/expanding a line.
Here is what I have:
public object LineIsFoldPoint(bool linenum)
{
	return ((Scintilla1.Lines(linenum).FoldLevelFlags & FoldLevelFlags.Header) > 0);
}

public void FoldAll()
{
	foreach (Line ln in Scintilla1.Lines) {
		if (LineIsFoldPoint(ln.Index)) {
			ln.FoldLine(FoldAction.Contract);
		}
	}
}

The Fold() method does nothing for me, the same if I try FoldAction.Toggle or FoldAction.Expand

Scintilla.FoldAll(FoldAction.Toggle) does exactly as advertised for me....
Are you implementing custom folding or using one provided by a lexer? If you are implementing your own, the chances are your error is in your implementation. Custom folding can be difficult. Studying the Scintilla lexer source code can be helpful here as can be helper methods which dump your current FoldLevel and FoldLevelFlags as the sample I have above does.

I'm using the automatic folding provided by the lexer, weird.

WHAT, how did I not see this?! Thank you!

authors: JohnyMac jacobslusser theryan722

repo: jacobslusser/ScintillaNET


text:
Rename JAEGER_SAMPLER_MANAGER_HOST_PORT to JAEGER_CONFIG_ENDPOINT

As per https://github.com/jaegertracing/jaeger-client-go/pull/275#issuecomment-378813751 . This change needs to be coordinated with a change to the Java client.
Update 2020-02-07
Per https://github.com/jaegertracing/jaeger/issues/1849, we want to go with the name JAEGER_SAMPLING_ENDPOINT.

Suggestion: JAEGER_CONFIG_MGR_HOST_PORT for consistent naming with all configuration environment variables. @jpkrohling

Be my guest! Just don't remove support for the old one right now. Rather, add the new env var JAEGER_CONFIG_MGR_HOST_PORT that takes precedence over JAEGER_SAMPLER_MANAGER_HOST_PORT and log a message at INFO level whenever this old env var is set, directing to the usage of the new name.

@jpkrohling Thanks! Put up a PR based on your feedback.

@yurishkuro @jpkrohling I see this issue already has a referenced PR #325
Should I rename  JAEGAR_SAMPLER_MANAGER_HOST_PORT to JAEGER_CONFIG_ENDPOINT
As yuri stated:
According to #326, the variable is actually a URL, not a host:port string. Similar to JAEGER_ENDPOINT, we can call this JAEGER_CONFIG_ENDPOINT.

Yes, I believe it does make sense to use JAEGER_CONFIG_ENDPOINT instead. Just make sure that the change is backwards compatible. But before working on that, let's wait a couple of days and see if @masroorhasan still wants to work on this.
@masroorhasan, you are very close with that PR. Would you like to continue working on that?

The Java and Go issues are cross-referencing each other saying "do like it's done in {other ticket}".
We should have a language-agnostic issue in the main repo, agree on the name and the need for the change, and then follow through in different languages.

Let's resolve this first: https://github.com/jaegertracing/jaeger/issues/1849

Solved by #511.

authors: VineethReddy02 jpkrohling masroorhasan yurishkuro

repo: jaegertracing/jaeger-client-go


text:
Errors you may encounter when upgrading the library

An error will happen when upgrading library prometheus/client_golang:
github.com/prometheus/client_golang
-Latest Version: V1.6.0   (Latest commit 6edbbd9 on 28 Apr)
-Where did you use it:
https://github.com/jaegertracing/jaeger-client-go/search?q=prometheus%2Fclient_golang&unscoped_q=prometheus%2Fclient_golang
-Detail:

github.com/prometheus/client_golang/go.mod

module github.com/prometheus/client_golang
go 1.11
require (
	github.com/beorn7/perks v1.0.1
	github.com/cespare/xxhash/v2 v2.1.1
	…
)

github.com/prometheus/client_golang/prometheus/registry.go

package prometheus
import (
	"github.com/cespare/xxhash/v2"
	"github.com/golang/protobuf/proto"
	…
)

This problem was introduced since prometheus/client_golang v1.2.0 .Now you used version v1.1.0. If you try to upgrade  prometheus/client_golang to version v1.2.0 and above, you will get an error--- no package exists at "github.com/cespare/xxhash/v2"
I investigated the libraries'  (prometheus/client_golang >= v1.2.0)  release information and found the root casue of this issue is that----

These dependencies all added Go modules in the recent versions.

They all comply with the specification of "Releasing Modules for v2 or higher" available in the Modules documentation. Quoting the specification:

A package that has migrated to Go Modules must include the major version in the import path to reference any v2+ modules. For example,  Repo github.com/my/module migrated to Modules on version v3.x.y.  Then this repo should declare its module path with MAJOR version suffix "/v3"  (e.g., module github.com/my/module/v3), and its downstream project should use "github.com/my/module/v3/mypkg" to import this repo’s package.

This "github.com/my/module/v3/mypkg" is not the physical path. So earlier versions of Go (including those that don't have minimal module awareness) plus all tooling (like dep, glide, govendor, etc) don't have minimal module awareness as of now and therefore don't handle import paths correctly See golang/dep#1962, golang/dep#2139.

Note: creating a new branch is not required. If instead you have been previously releasing on master and would prefer to tag v3.0.0 on master, that is a viable option. (However, be aware that introducing an incompatible API change in master can cause issues for non-modules users who issue a go get -u given the go tool is not aware of semver prior to Go 1.11 or when module mode is not enabled in Go 1.11+).
Pre-existing dependency management solutions such as dep currently can have problems consuming a v2+ module created in this way. See for example dep#1962.
https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher

Suggested solutions
1. Migrate to Go Modules.
Go Modules is the general trend of ecosystem, If you want a better upgrade package experience, migrating to Go Modules is a good choice.
2. Keep using the dependency manage tool (like dep, glide, govendor, etc).
Because the import paths have different meanings between the projects adopting module mechanism and the non-module mechanism.

https://github.com/golang/go/wiki/Modules#semantic-import-versioning
https://golang.org/cmd/go/#hdr-Module_compatibility_and_semantic_versioning
https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher
https://github.com/golang/dep/issues/1962
https://github.com/golang-migrate/migrate/issues/103

If you prefer to use the dependencies manage tool (like dep, glide, govendor, etc), a textbook example provided by repo github.com/moby/moby can prevent this type of issues.
https://github.com/moby/moby/blob/master/VENDORING.md
https://github.com/moby/moby/blob/master/vendor.conf
In the vendor directory, github.com/moby/moby adds the /vN subdirectory in the corresponding dependencies.
This will help more downstream modules to work well with your package, otherwise they will be stuck in github.com/cespare/xxhash v1.1.0.
Do you plan to upgrade the libraries in near future?
Hope this issue report can help you ^_^
Thank you very much for your attention.
Best regards,
Kate

@yurishkuro  @vprithvi  Could you help me review this issue? Thx :p

Thanks for the analysis, @KateGo520. dep ensure -update still works fine in this repo, but it keeps Prom client on 1.1, even though our target is ^1. You're correct , if we change the target to ^1.2 then dep fails to resolve the dependencies. However, this may not affect the users of Jaeger client who want to pull 1.2 prom client, have you run into any issues on that side?

Thank very much for your reply. This report is a warm prompt for you to prevent or combat this issue. Just let you know the problem if you upgrade this dependency in near future.
Hope this issue report can help you.
Thanks again.
Kate


text:
Allow jaeger to store logs as fields in elasticsearch

Requirement - what kind of business use case are you trying to solve?
Be able to search the jaeger logs in the elasticsearch kibana
Problem - what in Jaeger blocks you from solving the requirement?
Jaeger store the logs as nested objects which cannot be search in kibana search bar
Proposal - what do you suggest to solve the problem or improve the existing situation?
Have a option --es.logs-as-fields.all similar to --es.tags-as-fields.all.
--es.logs-as-fields.all=true would store all the log as fields.
Any open questions to address
None

I don't see how this would work given that logs are not named like the tags, and each log itself is a list of tags.

I will close this as won't fix. If somebody has a viable solution we can re-consider this issue.

authors: pavolloffay raphaelfeng yurishkuro

repo: jaegertracing/jaeger


text:
Jaeger not working with Webclient

Please take a look at https://github.com/winster/jaeger-trace-reactive/blob/master/src/main/java/com/example/demo/JaegerTraceReactiveApplication.java
This is a spring boot application with opentracing. As per the doc, jaeger supports webflux and webclient. But it has been noted that, the trace skips the reactive flow when there is a webclient call.
Is there a way to fix this?
Update
Please find the screenshots attached in README https://github.com/winster/jaeger-trace-reactive
Initial analysis shows that following method are invoked everytime webclient makes http request.

TracingExchangeFilterFunction::filter
TracingClientResponseMono::subscribe
TracingClientResponseSubscriber::onSubscribe

Also noted that SpanLogsAppender::append is called for every log with the same spanId.
It is observed that JaegerSpan::finish is called before missing logs are appended. But span is not null, when the missing logs are being appended.
I tried removing, @Async annotation in service method for which Jaeger shows only POST trace.
I'm stuck, no way to debug further. Looking forward to the support

I don't think this is the right repository for this bug report, sounds like a problem with the instrumentation library you are using?
		<dependency>
			<groupId>io.opentracing.contrib</groupId>
			<artifactId>opentracing-spring-jaeger-cloud-starter</artifactId>
			<version>3.2.0</version>
		</dependency>

I'm not 100% sure, but try opening an issue in the following repository: https://github.com/opentracing-contrib/java-spring-jaeger

authors: jpkrohling winster


text:
Misuse of Ban Command

The Ban command allows to mass ban all mentioned users which can spam the discord api/raid a server who gets malicious perms. Either give a option to disable the command or put a 30s cooldown

The command is functioning as intended. The command does not spam the Discord API, as it respects all of the proper ratelimit headers. It does not bypass any permissions, as the Ban permission (or the Moderator role, assigned by an admin) is required to use the command. It also does not bypass the permission hierarchy, as the executor of the command must have a role above all users they are trying to ban.
Do not use Vortex if you do not trust your moderators; Vortex is intended to give more power to your moderators and allow them to do tasks more efficiently.

repo: jagrosh/Vortex


text:
HTTP Error 503

Im getting "ERROR: Unable to download webpage: HTTP Error 503: Service Unavailable (caused by HTTPError()); please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output."
is there any way to add "-4" in executing youtube-dl?

If it still fails, please post the url you are using?

authors: jaimeMF ocsemp

repo: jaimeMF/youtube-dl-api-server

license: unlicense


text:
Adding a fabform.io contact form to the template

Adding a fabform.io contact form to the template
Hello
Since this a static hugo template and has no contact form or database hooked up.
I was wondering if you could add a contact form to the template to use with https://fabform.io the google forms alternative
It's just a few lines of code
I can update your template or you can if you like and push the changes to your repository
what you think?
Geoff

Hey @callagg1,
This theme is purposefully void of certain features. If you want to extend the theme you can take a look at the documentation in the README. There should be enough information to get you going in the right direction.

repo: jakewies/hugo-theme-codex


text:
Transform files before save the temporary

Hi @jalik
What do you think about add an option to transform files while saving the temp file?
I'm developing an adapter to S3 and it requires the file size before init the (almost fake) stream, and if I add a transformation on the middle I can't figure out the final file size to make the upload works.
My current solution for that is add the transformation before seve the temp file to disk then when we start the stream to S3 we already know the final file size cuz there is no need for a new transformation.
I can develop it quickly if you accept the idea, and I can try to publish a updated adapter to S3 soon.
Thanks

Hi @rodrigok, I am always glad to see improvements and suggestions from the community.
But I don't really understand if that involves code modifications in the UploadFS "core" package.
Could you show a very basic algo, or at least detail how you want to proceed ? (step 1, 2, 3...).
Thank you.

Sorry @jalik, forgot about that, I was trying to implement it and just realized that the uploads is made via chunks (multiple POSTs) so there is no way to intercept the stream cuz there are multiple streams :(
I'll try to solve my problem transforming the file in a sync way inside the method onValidate.
I'll let you know if I have success on that 😄

In fact you should have everything you need (metadata, size, etc) when the temp file is complete and right before uploading to the store, also pre and post transformation are already handled by UploadFS so I don't really understand your goal, sorry I've probably missed something.
FYI, you could write your own client uploader and use it instead of the official one.
You could also write your own server upload code to upload differently than with chunks (I am almost sure you can, haven't checked it but pretty sure it is possible).
Just to know, streams are not available on browsers right ? because when I created this package I made some searches and ended not using streams because they weren't available, I started uploading using meteor methods (websocket) but performances were very poor for large files, this is why I switched to classic HTTP POST.

authors: jalik rodrigok

repo: jalik/jalik-ufs


text:
[critical] Precision lose for DECIMAL type in mysql

When a column has a type of DECIMAL(19,4), the previous schemadump will output DECIMAL(19,0)
This bug of precision lose is critical
NOTE:
My fix has only been tested on MySQL

Thanks for some commits. But might be better in the following code:
private function otherDefinition($column)
{
    $definition = '';

    if ($column->scale !== null && $column->scale >= 0) {
        $definition .= "($column->precision,$column->scale)";

    } elseif (
        ($column->size !== null && !$column->autoIncrement && $column->dbType !== 'tinyint(1)') ||
        ($column->size !== null && $column->unsigned)
    ) {
        $definition .= "($column->size)";
    }

not only DECIMAL type, also corresponds to the FLOAT and DOUBLE types. Please try.

Note:
money: money type, will be converted into "decimal(19,4)" yii\db\QueryBuilder:: getColumnType()

Merged. Thank you!


text:
The slide boxes are not loaded in client end properly

Hello,
I used your slider. But somehow i was seeing that the slides were not loaded after page loaded. If i clicked on it, then the size of each slide increased.

Please report the issue in more detail, including a link to your GitHub project or on stackblitz.com..., as well as the steps to reproduce the issue. This will make it easier for me to support you.

Please report the issue in more detail, including a link to your GitHub project or on stackblitz.com..., as well as the steps to reproduce the issue. This will make it easier for me to support you.

It was actually private project. Is there anyway to connect one to one communication?

@Miltonbhowmick If it is a private project, please recreate the issue on Stackblitz.com for example.

authors: Miltonbhowmick jambonn

repo: jambonn/vue-concise-carousel


text:
🛑 Login is down

In b033d03, Login (https://login.dso.mil) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Login is back up in 413a344 after 4 minutes.

repo: james-martinez/dso-mil


text:
🛑 Repo1 is down

In 65f2e81, Repo1 (https://repo1.dso.mil) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Repo1 is back up in fa89f20 after 10 minutes.


text:
Problem with searching resources

I am using 3.4.0 version of FHIR Server and I am having some issues with the search operation. I do the following steps

Create a resource programmatically
Search for this resource with some criteria
The result is empty

In order to make it work I have to go from the UI of JPA Server and do an update on a resource and after that this resource is appearing in search results.
Do you have any idea how to resolve this issue? Is there any configuration for that?

Hi @karkaletsis ,
Can you please create a concise code snippet showing how to reproduce this issue? (Note that this should be as concise as possible- please remove any code that is not required in order to demonstrate the issue)

Create consent
try {
Consent consent = new Consent();
consent.setDataPeriod(BuilderUtils.buildPeriod(fromdate,todate));
        consent.setPatient(BuilderUtils.buildResourceReference("Patient/1","Patient/1"));
        consent.setStatus(Consent.ConsentState.ACTIVE);
        Consent.ConsentActorComponent consentActorComponent = new Consent.ConsentActorComponent();
        resp = ReaderUtils.readPractitioner(ourClient, doctorId);
        String doctorId_ = resp.getDescription();
        consentActorComponent.setReference(BuilderUtils.buildResourceReference(doctorId_, doctorId_));
        consent.getActor().add(consentActorComponent);
        resp = client.createResource_(consent);
        resp.setStatus(HelperUtil.RESPONSE_OK);
        resp.setDescription(consent.getId());
    } catch (Exception e) {
        resp.setStatus(HelperUtil.RESPONSE_ERROR);
    }

Search Consents
List consents = new ArrayList<>();
    try {
        IUntypedQuery q = ourClient.search();
        IQuery<Bundle> b = q.forResource(Consent.class);
        //ICriterion crit1= new TokenClientParam("status").exactly().code("active");

        ICriterion crit1 = new ReferenceClientParam("patient").
                hasId(patientId_);
        IQuery crit = b.where(crit1);

org.hl7.fhir.dstu3.model.Bundle bundle_ = (org.hl7.fhir.dstu3.model.Bundle) crit
.returnBundle(org.hl7.fhir.dstu3.model.Bundle.class)
.prettyPrint()
.execute();
        for (org.hl7.fhir.dstu3.model.Bundle.BundleEntryComponent be : bundle_.getEntry()) {

            Consent consent_ = (Consent) be.getResource();
            LOG.info(consent_.getPatient().getReference());
            consents.add(consent_);
        }

You can check yourself here in our public server
List of consents
http://ehealthpass.gnomon.com.gr/hapi-fhir-jpaserver4/search?serverId=home&pretty=true&resource=Consent&param.0.qualifier=&param.0.0=&param.0.name=_language&param.0.type=string&sort_by=&sort_direction=&resource-search-limit=
Search for consents from UI
http://ehealthpass.gnomon.com.gr/hapi-fhir-jpaserver4/search?serverId=home&pretty=true&resource=Consent&param.0.0=&param.0.1=Patient%2F1&param.0.name=patient&param.0.type=reference&sort_by=&sort_direction=&resource-search-limit=
As you can see the results are only two, but if you open all the consents you will see that all have reference to the same patient "Patient/1" but the search returns 2 instead of 7

This code contains fields and class references that don't exist. Unfortunately I can not run it. In addition, the formatting is very strange (you have some blocks of the code highlighted as code snippets and other blocks not highlighted).
Again, please create a concise demonstration of the issue if you would like to increase the chances of a solution. In as few lines of code as possible, with no external dependencies, please show how to reproduce this issue.

I think you can check it only from UI without any code. It is the same behaviour
You can check yourself here in our public server
List of consents
http://ehealthpass.gnomon.com.gr/hapi-fhir-jpaserver4/search?serverId=home&pretty=true&resource=Consent&param.0.qualifier=&param.0.0=&param.0.name=_language&param.0.type=string&sort_by=&sort_direction=&resource-search-limit=
Search for consents from UI
http://ehealthpass.gnomon.com.gr/hapi-fhir-jpaserver4/search?serverId=home&pretty=true&resource=Consent&param.0.0=&param.0.1=Patient%2F1&param.0.name=patient&param.0.type=reference&sort_by=&sort_direction=&resource-search-limit=
As you can see the results are only two, but if you open all the consents you will see that all have reference to the same patient "Patient/1" but the search returns 2 instead of 7

Without being able to reproduce the issue locally on my own database, I will not be able to help unfortunately.

I think you can try to add a consent between a patient and a practirioner and try to search from the ui the consents with reference to a patient

Please reopen if you are able to supply a code snippet that allows me to reproduce this issue. Unfortunately you have not supplied enough detail to allow me to reproduce this issue locally and it can not be fixed as such.

Ok, it is not possible to send code snippet as it has methods from other classed. I think that you can reproduce it if you try to add consent and then search for it. It is searchable only after you make a manual update on the consent resource. But anyway, I will try to investigate myself. Thanks for your time!

I have debugged it a bit and can see that the search returns only the resources having resource version 2. Can you imagine where is the problem. I runned it with xrebel in order to find out the queries made in db

That does sound like the initial version isn't getting indexed correctly.
Unfortunately there isn't a way for me to see how it's being indexed unless I have a way of recreating it on a database I can look at.It may take some trial-and-error to come up with a code snippet that does the same thing as your closed source application.

authors: jamesagnew karkaletsis

repo: jamesagnew/hapi-fhir


text:
ModelScanner.init generates 'random' NameToResourceDefinitions

The logic in the ca.uhn.fhir.context.ModelScanner#init uses unordered hashsets for the fields myScanAlso and the local theDatatypes.
This means, that when using custom extended resources, it sometimes adds the definition for the built-in class first, and sometimes for the custom class. Whichever is last in the set, and thereby added to the definitions last, will be the ruling definition.
This shows up for extended resources contained in other extended resources, e.g. a CustomMedicationOrder with a contained CustomMedication resource. When this is parsed, it sometimes goes well and sometimes it reverts to the basic Medication resource.

Hi Thomas,
Oddly enough, this has been fixed as a part of the fix of #315.
Custom resources now have to be explicitly declared via a separate method on the FhirContext and/or parser if you want them to take priority over the default types.

Sounds great. We need to get that snapshot soon and do a test run.

Hmm, I can't seem to make it work. Now it's consistent, though. It always chooses the built-in type, even though the contained resource has it's profile set. The ModelScanner class always ends up with the built-in type in the map.

What are you trying to get it to do? If you want it to parse a tagged resource using your custom type, you need to explicitly declare that type on the context using setDefaultTypeForProfile

We have a profiled MedicationOrder with a contained profiled Medication. When it is parsed, the parser reads the contained resource as a built-in Medication class, not our profiled one.
The outer MedicationOrder is parsed just fine, because we tell the client which type we want. But the list of contained resources is left as they are. Not sure what the best fix would be, reparsing the contained as well or something more elegant? :o)

So, the contained is just being parsed into a plain Medication, not your custom one? That's odd, that should work. Let me try by unit test.

Ok, confirmed, this isn't working.

Ok, this is fixed. setDefaultTypeForProfile wasn't being applied to contained resources. It is now.
I'll deploy a new snapshot this weekend.

Thanks a lot, James, will try it out asap.

authors: TomasSBerg jamesagnew


text:
Fix deleteByUrl to respect InCompartment Authorization

Moved the assignment of the resource to delete before the actual delete as it will be used by the authorization to determine if this resource is in the compartment.

Coverage decreased (-0.005%) to 81.734% when pulling 2114dd77062bf023e25d53ad7629652f4e1db719 on alvinleonard:751-fix-deletebyurl into 432c511a3095f9f637d7a66e78c06c2d2c0ee6f2 on jamesagnew:master.

Nice work, thanks! Merging now.

authors: alvinleonard coveralls jamesagnew


text:
Move files to canonical locations under /usr

Thanks for this package. I noticed that files are currently installed under /etc, which is generally where files that are not managed by the package manager should go. So I moved them to the canonical install locations under /usr.

/etc/pacman.d/hooks -> /usr/share/libalpm/hooks
/etc/pacman.d/hooks.bin -> /usr/share/libalpm/scripts
/etc/systemd/system -> /usr/lib/systemd/system

This should not have any effect on the users of this package.

Closing in favour of #2.


text:
Update progressive_docking.py

fix error in line 227

Thank you for finding this and fixing it!


text:
Google Billing API

The current release of this lib for Xamarin.Forms (5.6.1) is no longer able to publish apps to the Google PlayStore. Can we get an update for the newer billing library? Or is any newer version of this compatible with Xamarin.Forms? As I cannot update all my projects to MAUI because MAUI is still a mess..

The 7.x level works fine for Xamarin Forms...
On 18 November 2023 at 11:42:22, Sebastian Kruse @.***) wrote:
The current release of this lib for Xamarin.Forms (5.6.1) is no longer able to publish apps to the Google PlayStore. Can we get an update for the newer billing library? Or is any newer version of this compatible with Xamarin.Forms? As I cannot update all my projects to MAUI because MAUI is still a mess..
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.

@broda02 7.x is compatible with Forms? I had remembered that @jamesmontemagno sayed somewhere that 5.x is the Version for the old Forms projects and 6.x is for .NET 6 / MAUI. So I assumed 7.x is just .NET 7 / MAUI?

Works fine. I use it with mine On 18 Nov 2023, at 17:47, Sebastian Kruse @.***> wrote:
@broda02 7.x is compatible with Forms? I had remembered that @jamesmontemagno sayed somewhere that 5.x is the Version for the old Forms projects and 6.x is for .NET 6 / MAUI. So I assumed 7.x is just .NET 7 / MAUI?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

@broda02 you mean in release mode?
@jamesmontemagno can you update if any newer version with forms?

Yes in AppStore release mode.. On 20 Nov 2023, at 10:02, AmaluThomas @.***> wrote:
@broda02 you mean in release mode?
@jamesmontemagno can you update if any newer version with forms?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: @.***>

@broda02  Thanks for reply.
What about android? are you able to build in android release mode and able to publish to google console? can you provide the version of inappbilling plugin used and .net version, please?

Just try it, man

Work fine now... just need to update the billing library for all the projects, ie, android native also along with forms project and follow the documentation by james

It is fully supported yes. It says it right here: https://github.com/jamesmontemagno/InAppBillingPlugin#platform-support

repo: jamesmontemagno/InAppBillingPlugin


text:
The payload attribute ?

What payload I must enter
Ex:
MakePurchase("RemoveAds","payload") or MakePurchase("RemoveAds","Durable") or any else

Please read through docs: https://jamesmontemagno.github.io/InAppBillingPlugin/PurchaseNonConsumable.html

authors: jamesmontemagno nguyenthanhliemfc


text:
Image crop with ratio

What about cross platform image cropper with configurable crop area ratio (for example: 1:1 - square etc.)?

This gets too complex and you need an actual custom control to do this, which is not part of this plugin and wont be.

authors: draugaslt jamesmontemagno

repo: jamesmontemagno/MediaPlugin


text:
Permission dialog never displayed when Target Android Version is set to "Automatic"

Bug
On Android 6.0+ The plugin doesn't display a permission dialog when the Target Android Version is set to "Automatic - user target framework version (API 25)"
The ReadMe does say

You MUST set your Target version to API 23+ and Compile against API 23+

Does setting the Target Android Version to  "Automatic - user target framework version (API 25)" meet this criteria, or does the instruction mean that the Target Android Version must be set explicitly?
Version Number of Plugin: 1.2.1
Device Tested On: Nexus 5x running Android v7.1.1
Simulator Tested On: N/A
IDE: Xamarin Studio

Expected Behavior
Plugin should display the permission dialog
Actual Behavior
No permission dialog is displayed
Steps to reproduce the Behavior
1.)Uninstall existing app
2.)Open Android Manifest
3.)Set Target Android Version to "Automatic - user target framework version (API 25)"
4.)Install and run app

Closing this issue because I just noticed this one opened previously:
https://github.com/jamesmontemagno/PermissionsPlugin/issues/36
Basically: The Target has to be explicitly because otherwise its not included in the AndroidManifest.xml.

repo: jamesmontemagno/PermissionsPlugin


text:
Lazy not respected when props change

Thanks to @alansouzati for this report!

Resolved in 2.0.3.

repo: jamesplease/react-request


text:
This project appears to introduce ~532 files via itself and its deps

own files that may be included by mistake:

[x] examples
[x] test

dependencies that may need investigation (499):

[ ] colors      25
[x] lodash     434 (often times, a subset of lodash is sufficient, and many such lodash subsets are individual dependencies)
[ ] string-width      39

With #26, and #27 merged, would you call this fixed?
I don't see an alternative to using colors, though string-width seems to have a surprising amount of dependencies.

string-width has only three dependencies. I don't think that's a big deal. I think we've whittled it down enough.

string-width@2 now only has one dependency, but requires Node.js 4.

authors: jamestalmage sindresorhus stefanpenner


text:
-multi-snapshot leads to staircase traces

I think we don't blow sufficient state away at the end of every snapshot, so we end up inferring incorrect timestamps.
Screenshot

Closed in https://github.com/janestreet/magic-trace/pull/224.

repo: janestreet/magic-trace


text:
Fix #1587: Made intent/bundle/saved/tags instance keys consistent.

Explanation
"Fixes #1587:  Makes intent/bundle/saved/tags instance keys consistent.
Checklist

[x] The PR title starts with "Fix #bugnum: ", followed by a short, clear summary of the changes. (If this PR fixes part of an issue, prefix the title with "Fix part of #bugnum: ...".)
[x] The PR explanation includes the words "Fixes #bugnum: ..." (or "Fixes part of #bugnum" if the PR only partially fixes an issue).
[x] The PR follows the style guide.
[x] The PR does not contain any unnecessary auto-generated code from Android Studio.
[x] The PR is made from a branch that's not called "develop".
[x] The PR is made from a branch that is up-to-date with "develop".
[x] The PR's branch is based on "develop" and not on any other branch.
[x] The PR is assigned to an appropriate reviewer in both the Assignees and the Reviewers sections.

@rt4914, PTAL

@rt4914 PTAL

@janewaitara This PR has been created incorrectly.
By mistake you have created this PR on your personal fork and not on oppia/oppia-android .
To fix this please follow instructions mentioned in this link at each step:
https://github.com/oppia/oppia-android/wiki#instructions-for-making-a-code-change

repo: janewaitara/oppia-android


text:
. default as filter excludes files in target folder

Great addition to a webpack build pipeline! Works great. I especially like the way the HTMLPlugin is used to carry per file prefetch/preload options.
Two remarks:
Using *.* as default excludes files inside of e.g /dist folders. minimatch uses globbing so maybe it should default to '**/*.js' or similar. Or at least that might be mentioned in the README.
The name of the project might be better served having webpack in it. It seems to be a convention for many webpack plugins :)

You are right with both points.
I changed the default to **/*.* and released it under the name resource-hints-webpack-plugin

authors: jantimon matthiasg

repo: jantimon/resource-hints-webpack-plugin


text:
fix(e2e): disable tekton plugins and tekton tests

Description
Temporary measure to fix namespace termination issue
Which issue(s) does this PR fix
https://issues.redhat.com/browse/RHIDP-4752
PR acceptance criteria
Please make sure that the following steps are complete:

[ ] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer

@Omar-AlJaljuli @josephca
Does this also need to be backported to the release-1.3 branch since we are also seeing similar e2e test failures?

@Omar-AlJaljuli @josephca Does this also need to be backported to the release-1.3 branch since we are also seeing similar e2e test failures?

@PatAKnight Yes the Tekton needs to disabled in release-1.3 as well. I'll create the PR now.

Hi @Omar-AlJaljuli, to disable it completely, you have to disable also the install_pipelines_operator
There is OpenShift Pipelines for OpenShift clusters and Tekton Pipelines for Kubernetes cluster (currently only AKS).

authors: Omar-AlJaljuli PatAKnight zdrapela

repo: janus-idp/backstage-showcase


text:
Dockerfile?

Any chance you might wrap this up to have a built in docker build file? It would make testing out and deploying this pretty standard and simple.
For people who make plugins it'd be pretty trivial to just provide what needs to be appended to the dockerfile and build it again.

May be, but later.

Hi @skyler14,
You want to have a Dockerfile to build this project ?
I'll create one and do a PR later if @janvarev accept ?
Thank u.

I tried to run it in docker, but you have hardcoded 127.0.0.1 as listen host, can you please make it optional @janvarev ? Fpr docker I need to listen 0.0.0.0

@zba
Ok, in plans.

authors: AbdelatifAitBara janvarev skyler14 zba

repo: janvarev/OneRingTranslator


text:
refactor: revamp the API

Two newtypes have been added: univariate::Sample and bivariate::Data.
These enforce some invariants (no NaNs, at least two samples), which make
several methods non-panicking in exchange for some assert!s in the
constructors.
The Stats trait has been removed in favor of inherent methods on Sample
The Bootstrap trait has been removed in favor of an inherent method on
Sample, plus two two-sample bootstraps (one vanilla, and the other one
with "prior mixing") are provided as free functions.
Everything works with generic floats now (either f32 or f64)
Everything is at least SIMD accelerated, some linear regression ops are BLAS
accelerated (sdot)
Bootstrap ops that compute several statistics now return a tuple of
distributions, instead of a vector of tuples.
The modules have been reorganized in a more tree-like fashion with univariate
and bivariate namespaces at the root.
Several tests have been fixed, some of them weren't catching uninitialized
values, because those are usually set to zero.

[breaking-change]

Holding this off, until I finish porting criterion to this new API.


text:
Xargo can not find component rust-src

Following along with the intermezzOs, I installed xargo. After installing Xargo, I ran the following command:
$ xargo build --release --target ./x86_64-unknown-metalomai-gnu.json
error: `rust-src` component not found. Run `rustup component add rust-src`.
$

Following the instructions in the error message, I installed the rust-src component.
$ rustup component add rust-src
info: downloading component 'rust-src'
 26.4 MiB /  26.4 MiB (100 %) 377.6 KiB/s ETA:   0 s
info: installing component 'rust-src'
warning: could not delete temp directory: /home/geemili/.multirust/tmp/zgpxf8_tm0kk8a72_dir
$

Then I tried running xargo again.
$ xargo build --release --target ./x86_64-unknown-metalomai-gnu.json
error: `rust-src` component not found. Run `rustup component add rust-src`.
$ # :(

Xargo finds the current sysroot using [this code][find-sysroot]. In bash, that looks like:
$ rustc --print sysroot
/home/geemili/.multirust/toolchains/nightly-x86_64-unknown-linux-gnu
$

Then it walks the directories to [find a file named "version", in a directory named rust.][find-version]. Translating to bash again:
$ find /home/geemili/.multirust/toolchains/nightly-x86_64-unknown-linux-gnu/ -name "version"
/home/geemili/.multirust/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/test/run-make/version
$

The "version" file is not in the "rust" folder, so the program fails.

I don't know why where version is was changed, but depending on this seems like a hack. Perhaps a better way could be found to find the location of rust-src? Maybe someone from who works on rustup could comment.

version is still there in this nightly version:
rustc 1.14.0-nightly (3f4408347 2016-10-27)

Will check with a more recent nightly.
cc @brson What's a reliable way to find the rust-src component within the sysroot. I was under the impression that the packaging code was explicitly adding that version file and that I could rely on it but perhaps I was wrong. Should I search for the libstd/libcore directory inside the sysroot instead? (There's more than one hit for that search query tough) I recall reading somewhere that I should not assume that rust-src is always going to be in $sysroot/lib/rustlib/src/rust.

Will check with a more recent nightly.

FWIW,
rustc 1.14.0-nightly (5665bdf3e 2016-11-02)

also has the file.

Hmm. I'll try updating my version of rustc.

Updating my version of rustc fixed the issue. Still, I would like to know if there is a better way to get the path to rust-src.

@Geemili I think that you can't get the path to rust-src easily using rustup...
You can check if rust-src is installed using rustup component list | grep rust-src - and your current Rust version/compiler using rustc --print sysroot.
By default, rustup install source files/directories in $(rustc --print sysroot)/lib/rustlib/src/

@japaric: I think that you can close this thread.

Looks like this has re-emerged with rustup 1.0.0 (using xargo master and Rust nightly-x86_64-unknown-linux-gnu 8f02c429a), quite possibly for different reasons.
Note that rustup 1.0.0 migrates ~/.multirust to ~/.rustup and replaces it with a symlink.
Just about to look at a strace to see if something obvious sticks out...

Hmm:
/// The `rust-src` component within `rustc`'s sysroot
pub fn rust_src() -> Result<PathBuf> {
    for entry in WalkDir::new(try!(sysroot())) {
        let entry =
            try!(entry.chain_err(|| "error recursively walking the sysroot"));

        if entry.file_type().is_file() && entry.file_name() == "version" {
            let path = entry.path();

Looks like an assumption changed:
$ find $(rustc --print sysroot) -name version -type f | wc -l
0

Is the equivalent of $(rustc --print sysroot)/lib/rustlib/src/rust too naive for xargo?

This is silly and I've removed the nice error messages, but it works. In src/rustc.rs.
/// The `rust-src` component within `rustc`'s sysroot
pub fn rust_src() -> Result<PathBuf> {
    Ok(try!(sysroot()).join("lib/rustlib/src/rust"))
}

@brson recommends changing the logic to search for the 'Cargo.toml' file that belongs to the std crate. See this convo. If anyone wants to update logic, let me know. Otherwise, I'll look at it sometime during the weekend.

Taking a run at this now.

Is there a workaround? I was hoping to get some work done this weekend, but I get the 'rust-src component not found' with the latest nightly.

Just use the PR above. 😃

Doesn't work for me.
manifest path /home/jonathan/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src/src/libstd/Cargo.toml does not exist.

Hmm, double src is interesting, I'll have to fix that. But it shouldn't even get there if you're using rustup. Do you have the rust-src component installed? rustup component add rust-src.

I do.

Oh, that's coming from src/dag.rs. It's expecting rust_src to just be <...>/rust. I wonder why this is even working on my system...

Guess who never cleared his xargo build cache? How embarrassment. One moment, I'll have this fixed in a jiffy. 😄

OK, sorry about that -- give it a whirl now. I suspect the fallback won't work yet, but your default rustup environment should be fine.

I think I've fixed it to :)

@thejpster Your fix seems to have fixed it for me aswell.

@japaric - will there be a release soon? My travis build uses Xargo on crates.io, not my funky patched version.

@thejpster Just released 0.2.3.

authors: Geemili TheZoq2 japaric jdub k0pernicus thejpster

repo: japaric/xargo


text:
Fix copy failure by overriding CARGO_TARGET_DIR

Fixes #286
According to @RalfJung (https://github.com/japaric/xargo/issues/286#issuecomment-607675112). It's better to use default target. So we just need to explicit override the target directory to fix the copy failure.

xargo has its own workspace for building libstd. There is no interaction whatsoever with the workspace of your project. That's why I keep saying xargo should just overwrite the target dir.

Thanks! Indeed I think this makes most sense. td is a temporary directory so this will not pollute people's working directories.
bors r+

Thanks! Indeed I think this makes most sense. td is a temporary directory so this will not pollute people's working directories.
bors r+

Eh, what the heck? The build looks all green...

Eh, what the heck? The build looks all green...

Let's try this again.
bors r+

Let's try this again.
bors r+

authors: RalfJung oxalica


text:
Issue with eliding and ProdMode

I am having some issues with eliding and cannot enable Prod mode.
in my build.sbt I have:
scalacOptions ++= Seq(
  "-deprecation",
  "-encoding", "UTF-8",
  "-feature",
  "-language:existentials",
  "-language:higherKinds",
  "-language:implicitConversions",
  "-unchecked",
  "-Xfatal-warnings",
  "-Xlint",
  "-Yno-adapted-args",
  "-Ywarn-dead-code",
  "-Ywarn-numeric-widen",
  "-Ywarn-value-discard",
  "-Xfuture",
  "-Ywarn-unused-import",
  "-Xelide-below", "OFF"
)

In my code I always do import scalacss.Defaults._, but I noticed that my CSS is not minified. I tried to debug the issue and tried to print out this:
dom.console.log(scalacss.internal.Platform.DevMode)
dom.console.log(scalacss.defaults.DefaultSettings.instance.toString)

which prints:
false
scalacss.defaults.DefaultSettings$Dev$@1

It is very strange as it seems that eliding did work for the first statement, but not for the second. I suspect this is because I am calling the method with @elidable directly from my code which is then compiled with -Xelide-below OFF, but scalacss.defaults.DefaultSettings.instance is already compiled and was compile without -Xelide-below OFF.

Hi @n3ziniuka5 . Which version of Scala were you using?

2.11.8

Confirmed, test case added, and fixed on master.

repo: japgolly/scalacss


text:
Could not resolve .jsx file when import from other .jsx

Current Behavior
Encounter an error
Error: Could not resolve './ComponentC' from src/ComponentB.jsx

When import JSX file from JSX file with than 2 levels deep, eg
index.ts -> A.jsx -> B.jsx -> C.jsx
# Error: Could not resolve './C' from src/B.jsx

index.ts -> A.js -> B.jsx
# Error: Could not resolve './B' from src/A.js

index.js -> A.jsx
#  Error: Could not resolve './A' from src/index.js

Below is working fine
index.ts -> A.jsx -> B.jsx

# or

index.ts -> A.jsx -> B.jsx -> C.jsx
index.ts -> B.jsx

Repo for reproducing

https://github.com/n3tr/tsdx-import-jsx-test

Expected behavior
The build command should be successfully
Suggested solution(s)
I don't really know what is the root cause of this, but trying to set  extensions: ['.mjs', '.js', '.jsx', '.json', '.node'] to rollup-plugin-typescript2 seems to solve the issue.
https://github.com/jaredpalmer/tsdx/blob/3a6d42fb767150233c651056aabda9dd91bd048d/src/createRollupConfig.ts#L105-L111
Additional context

Your environment

Software
Version(s)

TSDX
0.12.3

TypeScript
3.8.2

Browser

npm/Yarn

Node
v12.4.0

Operating System

Weird that it works sometimes but not others... 🤔🤔
(Also you've got a typo here, you wrote rollup-plugin-typescript2 instead of @rollup/plugin-node-resolve)

repo: jaredpalmer/tsdx


text:
prevent !0 in passwords

My password contained !0 which prevented docker from running correctly. It was interpreted by Bash.
The fix was to use inverted commas like these: '(...)!0(...)'.

Hi @GregorGk thanks for your PR 🎉
However, I would vote not to merge this PR as by convention you dont see apostrophes to be used in the synopsis of commands. This synopsis/usage info of the command is not intended to be used directly.
Rather it really depends which shell do you use. Not all shells use apostrophes for quoting..

@jaroslawhartman what do you think about it?

Came in to add an unrelated PR of my own.  As this is a recent request, I support stv0g's opinion that the PR should not be merged.
The user would reasonably be expected to escape any special characters according to their local needs.  Same applies for exclamation points, spaces, etc and wouldn't only be limited to the password field.

authors: GregorGk dbaker-rh stv0g

repo: jaroslawhartman/withings-sync


text:
Test

test 123

@jasoc Devastante

Zugu quiz

authors: VenomBigBozz jasoc

repo: jasoc/clip


text:
Null value at  string userName = ClaimsPrincipal.Current.FindFirst("name").Value;

Hi,
Hope you are fine, I have run into the issue in subject line while following the tutorial.
I am using Visual Studio 2015 on Windows 10.
Firstly, I followed the steps in this link but got stuck on Step 4  part Updated Index action in ./Controllers/HomeController.cs so I thought I must have missed a step.
So I came here to GitHub, downloaded the solution and restored NuGet packages, ran and it failed on exactly the same link as before (see attached file). The line which throws the NullReferenceException is:
string userName = ClaimsPrincipal.Current.FindFirst("name").Value;
Please can you check why is this happening? Am I missing a setup-step or any library etc?
Regards.
.

Interesting. Are you using an Office 365 account or an Outlook.com account to sign in?

Yeah, sorry for late reply, as I got distracted to other projects. So I managed to get it working (somehow going to other account) and I can log in now, but now I get this yellow message error. Somehow the "From" isn't recognised.

PS. I can get the contacts and Calendar Items but for Messages it gives me the above error. Even though the constructor is set as:
 Subject = subject;             ReceivedDateTime = (DateTimeOffset)dateTimeReceived;             From = **from != null** ? string.Format("{0} ({1})", from.EmailAddress.Name,                             from.EmailAddress.Address) : "EMPTY";
I still get null reference as posted in picture above.

Ha well, it took me 5 minutes to sort that out. I changed the code as below (apparently if From is null then provided Linq doesn't like it.
`
var lstMessages = await client.Me.Messages
.OrderByDescending(m => m.ReceivedDateTime)
.Take(10).ExecuteAsync();
            var mailResults = lstMessages.CurrentPage.Select(m => new Models.DisplayMessage(m.Subject, m.ReceivedDateTime, m.From));

            return View(mailResults);`

repo: jasonjoh/dotnet-tutorial


text:
Mouse clicks doesn't work on Windows 10

I tried to change the MouseState enum values with no success.
By the way, thanks for great project!

Hi,
To get the mouse id:

Set both keyboard filter and mouse filter when initialising the input object.

        input = new Input();
        input.KeyboardFilterMode = KeyboardFilterMode.All;
        input.MouseFilterMode = MouseFilterMode.All;
        bool isLoad = input.Load();

Add a global variable mouseId in Intercepter.Input.cs

      private int mouseId;

Get the mouse id in DriverCallback function (Also in Intercepter.Input.cs)

    private void DriverCallback()
    {
    ....
    if (InterceptionDriver.IsMouse(deviceId) > 0)
            {

              mouseId = deviceId;

              if (OnMousePressed != null)
              {
  ....

Change the mouse from 12 to mouseId in the following functions

SendMouseEvent
MoveMouseBy
MoveMouseTo
Remember to the bool useDriver from false to true.

On my platform the correct mouse device is 11.

Thank you. saved my life. mine was also 11.

Yup, correct device is 11
For anyone not being able to send mouse clicks,
try going into the Inteceptor.SendMouseEvent method
and in the line
InterceptionDriver.Send(context, 12, ref stroke, 1);
change the 12 to 11, so now the line looks like this
        InterceptionDriver.Send(context, 11, ref stroke, 1);

repo: jasonpang/Interceptor


text:
Unloading From Event Handler

If I want to listen to a key press and unload on that key press, how do I go about it?
Unload() hangs when executing within the EventHandler.
/cc @jasonpang

Continue'd Info: I was trying to unload on specific key press to disable / enable keyboard listening.

As for why Unload() is hanging, if mousefiltermode is not set to none, Unload will hang because there is a thread that this API uses and for whatever reason the program cannot terminate that thread.
Also, you cannot change keyboard/mousefilter modes after the Load() method has been called.
Now that saying, you can simply use the Keypress event which is offered by this API, and then using a simple if statement, check if the key pressed matches the key want to detect, if it does, just call the unload() method.

@Jamisco I was using an event handler on the key press event.  I wasn't configuring mouse at all, so I'll have to check on that.  I ended up making it a UI application with a click-able button to load/unload which worked fine, though I'd like to create a hot key to Load/Unload.
Regarding mouse listeners, are you saying that using them, there will be threads that never end even after application closes?  I didn't get a chance to check this.

First, off to answer your main question
`           Input InputDispenser = new Input();
InputDispenser.KeyboardFilterMode = KeyboardFilterMode.All;
InputDispenser.MouseFilterMode = MouseFilterMode.None;
InputDispenser.Load();
    private void InputDispenser_OnKeyPressed(object sender, KeyPressedEventArgs e)
    {
        if (e.Key == Keys.F)
        {
                     if(InputDispenser.IsLoaded)
                     {
                               InputDispenser.Unload();
                      }
                      else
                     {
                               InputDispenser.Load();
                     }
            InputDispender.Unload();
        }
    }`

This should work, I dont see any reason as to why it shouldnt
Regarding the moust listeners, Yes that is my experience. There seems to be an unstoppable thread which cannot be terminated even when you close the program and or visual studio all together. The thread randomly hijacks mouse functions and if you want your mouse back, you have to restart the computer. Atleast that has been my experience thus far

authors: Jamisco j


text:
Dev

Pull Request Template
Description
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Test Configuration:

Firmware version:
Hardware:
Toolchain:
SDK:

Checklist:

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

Changes look good.

repo: jassics/learning-python


text:
How to do this in whenever

I need to send job on the first Monday of the month, thus my cron is as follow:
30 8 1-7 * * [ "$(date '+\%a')" = "Mon" ]

Does whenever support such syntax and can it pass through it if it does not understand it?

Hi @mech
From the examples given : https://github.com/javan/whenever#example-schedulerb-file
You can specify a raw cron syntax too
every '30 8 1-7 * * [ "$(date '+\%a')" = "Mon" ]' do
  command "echo 'you can use raw cron syntax too'"
end

Wow, I totally missed that example. I keep thinking it uses some Ruby's expressive language like 1.day, :monday, etc. Tks I will try it.

authors: alfie-max mech

repo: javan/whenever


text:
Unable to resolve type if file and class have different names.

I know that in Java you should define your classes and interfaces in files having the same name, but writing this is not strictly enforces by Java compilers. So JavaSymbolSolver should be able to handle these cases as well.

Might be able to close this one given that my PR #204 was merged?

I think so, closing

authors: batterseapower ftomassetti mlangkabel

repo: javaparser/javasymbolsolver


text:
Add support for receiver parameters

See https://github.com/javaparser/javaparser/issues/806

No need to have this here.


text:
Add settings to all subprojects to force java compilation and javadoc generation to UTF-8

Systems that don't have UTF-8 as a default system encoding will fail on the compilation of com.github.javaparser.symbolsolver.resolution.typeinference.BoundSet.thereIsSomeJSuchThatβequalAlphaJ . This commit forces that UTF-8 is used for the compilation of java sources and for generating javadoc for those sources. An overview of the relevant javadoc parameters here: https://stackoverflow.com/a/1319706 .

Good catch! Thank you for your contribution

authors: WimTibackx ftomassetti


text:
🛑 Brescia, 4 is down

In 62bff12, Brescia, 4 (http://159.65.204.200:7051/) was down:

HTTP code: 502
Response time: 18596 ms

Resolved: Brescia, 4 is back up in 4aecb2f after 1 hour, 4 minutes.

repo: javisu/monitor


text:
🛑 Rodrigo de Triana, 1-8 is down

In 4512c40, Rodrigo de Triana, 1-8 (http://159.65.204.200:7052/) was down:

HTTP code: 502
Response time: 18749 ms

Resolved: Rodrigo de Triana, 1-8 is back up in 3cbb285 after 2 days, 5 hours, 41 minutes.


text:
🛑 Castello 110 is down

In c71728d, Castello 110 (http://159.65.204.200:7007/) was down:

HTTP code: 502
Response time: 18716 ms

Resolved: Castello 110 is back up in 90a6ba0 after 18 minutes.


text:
🛑 Rodriguez Marin, 88 is down

In 3c94f06, Rodriguez Marin, 88 (http://159.65.204.200:7057/) was down:

HTTP code: 502
Response time: 18495 ms

Resolved: Rodriguez Marin, 88 is back up in 87f7b04 after 14 minutes.


text:
🛑 Antonio Acuña, 10 is down

In 5bc3ad4, Antonio Acuña, 10 (http://159.65.204.200:7047/) was down:

HTTP code: 502
Response time: 18557 ms

Resolved: Antonio Acuña, 10 is back up in 88721ff.


text:
🛑 Cardenal Siliceo 25 is down

In ecf0e81, Cardenal Siliceo 25 (http://159.65.204.200:7006/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Cardenal Siliceo 25 is back up in 158c27a.


text:
🛑 Antonio Acuña, 10 is down

In f31fd24, Antonio Acuña, 10 (http://159.65.204.200:7047/) was down:

HTTP code: 502
Response time: 18713 ms

Resolved: Antonio Acuña, 10 is back up in 112c20e.


text:
🛑 Antonio Acuña, 10 is down

In 38cdfdf, Antonio Acuña, 10 (http://159.65.204.200:7047/) was down:

HTTP code: 502
Response time: 18780 ms

Resolved: Antonio Acuña, 10 is back up in 23096c8.


text:
🛑 Norma, 357 is down

In 76bd1fc, Norma, 357 (http://159.65.204.200:7044/) was down:

HTTP code: 502
Response time: 18544 ms

Resolved: Norma, 357 is back up in cbfb74f.


text:
🛑 Valderrebollo, 30 is down

In f920a28, Valderrebollo, 30 (http://159.65.204.200:7050/) was down:

HTTP code: 502
Response time: 18647 ms

Resolved: Valderrebollo, 30 is back up in 8ca2cba.


text:
🛑 Rodrigo de Triana, 1-8 is down

In d8f931a, Rodrigo de Triana, 1-8 (http://159.65.204.200:7052/) was down:

HTTP code: 502
Response time: 18631 ms

Resolved: Rodrigo de Triana, 1-8 is back up in ceac7ed.