Regarding 18 Pins Socket on Diagram

@morcibacsi just quick question is the 18 pins socket is display socket? Do I need to connect the HU to be able to write VAN to that socket. How about sending CAN message to RD4x display? Do you have any schematic and arduino sketch?
Thanks

Yes, the 18 pins socket is the socket of the mfd. You don't need to connect the head unit, to get it work just the wires you can see on the schema. For sending CAN messages, the schematics is exactly the same as you can see on the page of the VAN receiver project. The only difference is the ISO-A block, as the RD4x has a quadlock type connector (ESP32->CAN transceiver->Quadlock pin 10,13). Here is the pinout for the RD4:  http://rt4.wikidot.com/pinouts For sending CAN messages with the ESP32 basically I used the code which can be found in the examples of the ESP-IDF: https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/can.html#examples

Sorry for dumb question here, I am very newbie using Arduino. I just git clone this project and open it using Arduino IDE, when push verify button it missing the header file. How to build this project?

What error message do you got? Have you copied the contents of the src directory to your documents\arduino\esp32_arduino_rmt_van_tx folder?

I am using osx, I already copied all src content into where .ino file resides. The error is unable found the header file.
esp32_arduino_rmt_van_tx:9:38: error: esp32_arduino_rmt_van_tx.h: No such file or directory
 #include <esp32_arduino_rmt_van_tx.h>

                                      ^
compilation terminated.
exit status 1
esp32_arduino_rmt_van_tx.h: No such file or directory

I don't know where should be the arduino libraries on osx but you have two options.
The first is to create a zip file which contains the files from the src folder. And import that zip file into arduino like described here: https://www.arduino.cc/en/guide/libraries#toc4
The second option is (if you have the contents of the src folder beside the .ino file) to include the library in the .ino file like this: #include "esp32_arduino_rmt_van_tx.h" (notice the < and " around the name of the file name)

the import things is worked, many thanks


Can't Send Transaction

HI Anthony,
Love your wallet,
Can you help me figure out why this error?

I sent a 1 BTCZ transaction and it worked fine, send a 2,590 BTCz transaction, gave me error, coins are now locked and didn't arrive to destination. What can I do?

You received coins directly from a mined block without shielding. All mined
coins must pass through a z_address before they can be spent.
This is quite a problem that some pools are adding donation addresses and
other addresses into the list of addresses to submit when block found.
On Sun, Oct 29, 2017 at 6:50 PM NEU<EMAIL_ADDRESS>wrote:

HI Anthony,
Love your wallet,
Can you help me figure out why this error?
[image: image]
https://user-images.githubusercontent.com/32342476/32150539-c959f0c4-bcea-11e7-9fc2-6c9e87a6c3c7.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/anthony19114/MyBitcoinZ/issues/3, or mute the thread
https://github.com/notifications/unsubscribe-auth/AQ_nYukumhn6H0mtTUVZysVgFBNDLtJCks5sxR1VgaJpZM4QKjXK
.

How can I solve this?

 Will I recover them?

OK, I did recover them (removed the lock) how can I make this coins usable?

The 1 BTCZ was not from a mined block input. The others are. What needs to be done is input the private key for the address that has the 'locked funds' from not being shielded. Import them to a zcashd coin base, either the linux or windows wallet etc. Then start sending the inputs to a z_address then back to a t_address.
https://coinomi.com/recovery-phrase-tool.html
You can enter your recovery phrase there. Then the bip32 derivation path is m/44'/0'/0'/0
Then your addresses with private keys will start to list.
Input to the coinbase using command line or windows SWING UI wallet.
zcash-cli.exe help
./zcash-cli help
Now you need to get a z_address.. so
zcash-cli z_getnewaddress
then now you need to start sending the inputs that you see on that t1 address from the explorer. I recommend shielding the same exact amounts that were sent to you since I believe you have mined coin inputs and other normal inputs in the same address.
zcash-cli z_sendmany "t1J8GmG3BCLp9iPHzUQ6d1u2cYJ2geRBSQg" "[{"amount": 249.999, "address": "zcChRTHZqfiHfeu73uHio8cS1iM2kWwgoJtMkJWsa29319DXroZkR3HvfkfNwpBP1uRee3MmfUJ7HC9XnpyDgUJ5q6fSRCB"}]"
you need to change the t1 address and z address to owns in your own.
Then it gives you an opid then with the opid you can lookup the process of the transaction. Or all this can be done in the windows swing ui wallet also.
Its bad procedure to send coins by aggregating t1 addresses before the funds are shielded.

How can I export private keys from this wallet? I will try to unshield them from the other local wallet. IT has a Z address on it.

Man, I was able to do all this, but cant get to download keys. Don't know how to, Can I PM you the secret phrase so that you recover these and send me so that I can import to the local wallet? You can keep some of the BTCz as a tip for helping me.

You need to know your wallet address.....
On Mon, Oct 30, 2017 at 9:31 AM NEU<EMAIL_ADDRESS>wrote:

I was able to see hundreds of Private Keys and imported 2 of them to try
them. No balance. Is there an easier way? Download the whole private key
with all these?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/anthony19114/MyBitcoinZ/issues/3#issuecomment-340481458,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQ_nYgeEBh8yW67IraUDaqkzzknw-ThJks5sxeu-gaJpZM4QKjXK
.

Got it, I could not find them before, now I count 2 out of 3, will keep loading them. Thank you very Much!


fix model params of openai

when the response_format specified, there is a 400 error which states zod error from server that expected data type is not fulfilled. That's because this paramter is an object which modelParameters currently does not support. So add object support for modelParamters
Problem

Changes

Release info Sub-libraries affected
Bump level

[ ] Patch

Libraries affected

[ ] langfuse-js

Changelog notes

Added support for X

fix for issue 2520

👍 , your fix is nice.


[Suggestion] Repeat last command hotkey

It'd be handy to be able to repeat the most recently run command via a hotkey.

That's a pretty cool idea. I'll try to implement that after Easter.

Done. You can now repeat the last command/message by typing @ in the config menu. I plan to also make it so that you repeat second last, third last etc. using @1, @2 but that's not implemented yet.

Awesome, thanks!


Requested format is not available. Use --list-formats for a list of available formats

DO NOT REMOVE OR SKIP THE ISSUE TEMPLATE

[X] I understand that I will be blocked if I intentionally remove or skip any mandatory* field

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I have updated yt-dlp to nightly or master (update instructions)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched known issues and the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Provide a description that is worded well enough to be understood
I am using this code to download playlists
 yt-dlp -o "%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s" "URL" -f 'bv*[height=720]+ba'

it works sometimes but for some videos it doesn't and shows this
ERROR: [youtube] 9twcmtQj4DU: Requested format is not available. Use --list-formats for a list of available formats

so i add this   -S vcodec:h264,res,acodec:aac
so it becomes
 yt-dlp -o "%(playlist)s/%(playlist_index)s - %(title)s.%(ext)s" -S vcodec:h264,res,acodec:aac "URL" 'bv*[height=720]+ba'

but this doesn't work and downloads any video quality
i want something like this which allows me to download a playlist with quality of my choice (example: 720p)
Provide verbose output that clearly demonstrates the problem

[X] Run your yt-dlp command with -vU flag added (yt-dlp -vU <your command line>)
[ ] If using API, add 'verbose': True to YoutubeDL params instead
[X] Copy the WHOLE output (starting with [debug] Command-line config) and insert it below

Complete Verbose Output
Extracting URL:
[youtube] OJX1umVCsJc: Downloading webpage
[youtube] OJX1umVCsJc: Downloading ios player API JSON
[youtube] OJX1umVCsJc: Downloading mweb player API JSON
[youtube] OJX1umVCsJc: Downloading m3u8 information
ERROR: [youtube] OJX1umVCsJc: Requested format is not available. Use --list-formats for a list of available formats

Drop the -f and only use -S vcodec:h264,res:720,acodec:aac.
The problem is that for the video 9twcmtQj4DU, no video stream with a height of exactly 720 pixels exists. -f is strict with what format should be used, while -S just sorts the formats so it prefers the highest resolution, that is 720p or below.

Thank you this works


[BUG] UDP transport with stm32f767zi hangs after a while, and network disconnected.

Issue template

Hardware description: nucleo-stm32f767zi connecting a router with ip <IP_ADDRESS>
RTOS: FreeRTOS
Installation type: micro_ros_setup like, the src code is in https://github.com/ZhenshengLee/ros2_mcu/tree/master/libs/custom_stm32f767zi
Version or commit hash: galactic

Steps to reproduce the issue
https://github.com/ZhenshengLee/ros2_mcu/tree/master/libs/custom_stm32f767zi
compile and flash with udp configuration.
colcon.meta is https://github.com/ZhenshengLee/ros2_mcu/blob/master/mcu_ws/colcon.meta
app-colcol.meta is https://github.com/ZhenshengLee/ros2_mcu/blob/master/apps/int32_publisher/app-colcon.meta
Expected behavior
ping stm32 device success, udp connectiong success, with agent output info. as long as possible.
Actual behavior
ping failer, and udp connection hangs, agent output hangs. After a period of time, around 500s
Additional information
This issue may be related with https://github.com/micro-ROS/micro_ros_setup/issues/295 https://github.com/micro-ROS/micro_ros_setup/issues/469 https://github.com/micro-ROS/freertos_apps/issues/40
the STM32 auto-generated code is by using STM32CubeMX 6.4.0 and Firmware v1.16.0

I tried to change FreeRTOSConfig.h and main.c accoring to https://github.com/micro-ROS/freertos_apps/issues/40#issuecomment-736597706
But did't solve that.

@ZhenshengLee Please increase the value of INTERFACE_THREAD_STACK_SIZE 500 here: LWIP/Target/ethernetif.c#L42 and give feedback.

@ZhenshengLee Please increase the value of INTERFACE_THREAD_STACK_SIZE 500 here: LWIP/Target/ethernetif.c#L42 and give feedback.

@Acuadros95
I changed INTERFACE_THREAD_STACK_SIZE from 350 to 1350.
It seems work. And I will give it a long-term test.

@Acuadros95
24-hour int32_publisher through udp test successed.
Closing this.


Chan.Part.API IT: avoid flakiness with findLeader and transaction broadcast + some cleanup

Type of change

Test update

Description
First commit:

nwo.GetConfigBlock is flakey when there isn't a current Raft leader and can return SERVICE_UNAVAILABLE when that is the case. Instead, retry the fetch until it succeeds.

Second commit:

Avoid flakiness when broadcasting transactions, which may fail on a first attempt but succeed on subsequent attempts. Also, avoid using findLeader as it is flakey itself and transaction resubmission until success is reliable.

Related issues
FAB-18287

/azp run

/azp run

/azp run


♻ Mobile | Double the size of total points in flyout

Cc: @adamcogan @sethdaily @matt-goldman-ssw

Hi
What code could be improved?

As per Adam's email (subject "Rewards - please double the font of the middle one") the total points in the flyout should have its font doubled to stand out more.

Figure: The middle one should have its font doubled
Tasks

[ ] Update size of total points

Acceptance Criteria

[ ] Meets Definition of Done - https://github.com/SSWConsulting/SSW.Rewards.Mobile/blob/main/_docs/Definition-of-Done.md

Thanks!

Done - this has been implemented.

Figure: Text size is increased


Articles replica - newArticles doesn't fetch newArticlePages

Hello!
/admin/newArticles/create
Cant figure how to relate my newArticles category, with newArticlePages. newArticlePages do not appear in Categories while attempting to fetch newArticle article to the correct newArticlePage.

hope it makes sense...

Where should i look- debug ?
Best regards,
Christian!

Bump :-/

You shouldn't bump your own issues. Even less the same day. People have jobs.

Thanks alot for your precious time, i almost thought someone where here to help me with my problem!

Other suggestion if im lacking experience with PHP ? Do i have to read a book before i can finish my project?

With your problem related to pingpong/modules... which this isn't.

Im new........ And this problem is related to pingpong admin, should i 'try' and find the solution on Laravel Docs, or should i ask here - hopefully someone know, and can help me, i have used sevel hours today trying to find the bug and now im pretty much hoping to get help here :-/ .
My only question is, where and how does Pages get attached to > Article Category.
Because i cant seem to find the problem, i looked at very file .

Hi,
i don't think this is a modules related problem, but maybe we can help you ;)
What I understand:

You're using the Admin Package
You're using the Modules Package
You're using the Articles "Module" and Categories "Module" which comes directly with the Admin Package
You're trying to create a relation between a category and a Page (Article from type page)

If I'm not wrong, you only have to update the conditions in the view:
https://github.com/pingpong-labs/admin/blob/master/src/views/articles/form.blade.php
(create a copy of this in your app/views directory)
The Models (Entities/Article.php and Entities/Category.php) have already the correct relation and in the Articles Controller there is no type check (Article or page) it's only in the view.
Correct me please, if I have understood something wrong.
Bump end ;)
Greets,
Marcus


Unable to link working copy to folder on iPhone - “Name already in use. Choose any other name”

Hey, first of all, this is an awesome repo. This is a huge game changer for me and my Logseq experience. I appreciate you putting this together. I don’t have an issue with your repo, but I would appreciate any help you’re willing to offer with a small sync issue I’m having.
I’m running in to a small issue where my phone has gotten out of sync following a phone upgrade. I’m unable to get working copy to recognize and track changes made via logseq on my phone. I don’t think working copy is properly linked to the local repo on my phone.
When I long-press the repo in working copy, hit “Share”, and then hit “Link Repository to Folder”, I get an error message that says “Filename already in use. Pick some other name.”
In order to fix this, I’ve picked some other folder, then tried the same process to link it to the folder of interest. I receive the same error. I’ve also tried deleting the repository and re-cloning. I’ve also tried deleting working copy from my phone and following the whole setup procedure again.
I still cannot get local changes in logseq to be tracked in working copy, and therefore, I cannot get what I write in my phone to sync with the remote repository and other devices.

hmmm, interesting

Sorry, click the wrong button!

When I long-press the repo in working copy, hit “Share”, and then hit “Link Repository to Folder”, I get an error message that says “Filename already in use. Pick some other name.”

This is expected, since u can only link one repo to one local folder at a time.
Have u tried create a new folder while chossing folder when doing Link repo to Folder?

@willcray did it fixed?

Close it as there's no further response, feel free to reopen it. 🙂


feat: implemented legacy approvals UI for exchange client

Description
Add approvals UI to new architecture using the non-multi-hop UI. Integrates our new execution hook for approvals.

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[x] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

closes #
Risk
not user facing - no risk

Testing
Check that approvals execute and work as exepcted when multi-hop feature flag is enabled

Engineering
See above

Operations
No action required

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #4824

PR #4820

PR #4822

PR #4833   👈

This comment was auto-generated by Graphite.


Current version of isitgr causes silent failure

I had the current version of isitgr (1.0.5) installed and tried to run the CCLX MG examples and the benchmarks. With this version of isitgr, a cosmology object with MG parameters returns a GR power spectrum with the same cosmology parameters. Downgrading to v1.0.2 fixes this issue.
Can we document this better please (or better yet, fix the implementation so it works with the up to date version of isitgr or at least errors out)? At the moment if you just pip install isitgr you have silent failures which is bad.

@c-d-leonard , with apologies for the massive delay, is this an issue with CCL or with isitgr?


Need access

Hi @m00sey,
@henkvancann said I should have access rights to this repo by now, but I have no “settings” menu item, so I guess it is not working yet?
regards, Kor

Update: don't need access, I will make a PR


JAVAFX_HOME required incorrectly

If jfxrt.jar is not found int classpath, a message is issued requesting that JAVAFX_HOME be set:
Please set the environment variable JAVAFX_HOME
to the directory that contains rt/lib/jfxrt.jar
of JavaFX version 8.0.*.
That jar is found in jre/lib/ext for Java8 distributions.
On Windows, setting JAVAFX_HOME to JAVAFX_HOME=/Java/java8/jre/lib/ext appears to be the only way to get it to work (C:\ at the front doesn't work, and the 's in middle also seem to cause problems)
Also need to correct the docs page on how to build (there is no separate JAVAFX SDK to download anymore.).

I tried several variations and finally ended up creating a new directory  containing "rt/lib/*" with all the files contained in the "java8/jre/lib/ext" folder and set JAVAFX_HOME to that folder. I was then able to build. Created a basic POM file and mvn install'd that to my local.
The jar wasn't built correctly, the path was "man/groovy/...." when it should have been "groovyfx/....."
Manually correcting the path fixed the issue.

I think I have a similar problem using cygwin inside windows - the jdk8 path resolved to '/cygdrive/c/Java/jdk1.8.0_72/jre/lib/ext/jfxrt.jar' which exists from a posix viewpoint (ls) however file.exists() is false - I'm guess its assuming 'C:\cygdrive\c\Java\jdk1.8.0_72\jre\lib\ext\jfxrt.jar' which doesn't exist. Current workaround is to comment out the entire block - perhaps the check isn't really needed for JDK8+?

JavaFX is only present in the Oracle JDK8 distribution. For those using OpenJDK 8 you have to have a pointer to the jfxrt.jar so JAVAFX_HOME is useful in that context. Fortunately jfxrt.jar comes as standard with OpenJDK 9.
I think we can probably simplify everything a lot if we say JDK7/JavaFX 2 is no longer supported as of now.

We should definitely simplify this -- and maybe add a note that lists extra step for OpenJDK.
(I've been focused on Mac OS in my beginning JavaFX efforts, so I know those steps are not required there, but haven't been doing builds on Win or Linux yet)

My comment about OpenJDK9 is now false, since the move to modularization: there is now no jfxrt.jar in the JDK9 early access releases. Given this and the lack of a JDK* JavaFX jar outside the Oracle distribution, I am not sure how there is a current alternative to manual stealing of a jfxrt.jar from somewhere, use of JDK8 and the JAVAFX_HOME environment variable for people not using a native Oracle JDK8.

I hate to open another can of worms, but shouldn't there be a JavaFX Gradle plugin that handles this?

Can I suggest we make that a separate bug report. As it happens we already have a can of worms so opening more is not a problem. In fact, I think it would make things a lot easier to have a specialist Gradle plugin, how to convince someone to write one?

Sure, I'll open a new issue.

The gradle.properties file in master appears to indicate the default target in JDK9. However by removing all the JavaFX version checks  in build.gradle, it is clear that there are huge changes to JavaFX in JDK9 compared to JDK8 that means the current GroovyFX is in need of a sever amendment.
I wonder if we should create a JDK8 maintenance branch from the tag for the 8.0.0 release that @aalmiray  made.

Actually, why not create a JDK9 development branch and leave the main branch as JDK8 for now? That's certainly what most users of the project will be looking for at this point in time -- and it seems to me there is plenty of work to do for JDK8.

I always go the other way (as it were), master is always the research/development branch and there are maintenance branches for release software.
I have put in a pull request to remove all the JavaFX version checking in build.gradle of master.

To me it depends upon what the next planned production release would be. I would think that would be something for JDK8. But I'm new here and will go with whatever you and other active committers decide.

@msgilligan @aalmiray already created a version8 branch, I will move it forward one changeset and you should be able to go with that.


Merge develop into regions

Should be staged at http://www.openmicroscopy.org/site/support/omero5.3-staging

Conflicting PR. Removed from build OMERO-REGIONS-merge-docs#18. See the console output for more details.
Possible conflicts:

PR #1435 hflynn 'Deleting windows from 5.3 sysadmin docs'

omero/sysadmins/windows/service-tools.txt
omero/sysadmins/windows/index.txt
omero/sysadmins/windows/install-web.txt
omero/sysadmins/windows/install-web/install-iis.txt
omero/sysadmins/windows/server-binary-repository.txt
omero/sysadmins/windows/server-installation.txt
omero/sysadmins/windows/server-postgresql.txt

Looks fine to merge to me, bar the conflict.


SSM test must be tested more in deep

features/add_sys_of_group_to_SSM.feature:9
This feature contain only one scenario, and the ssm feature is more complex, need tests

duplicata closing


Add UTC Support in file tokens

Add support for UTC in file tokens

I have added support for UTC time in the tokens.
https://ola.hallengren.com/sql-server-backup.html#TokenTimezone


Control signal is not clamped if the .ControlErrorIntegral becomes NaN

I think I've found a bug with the package with AntiWindupController (I think it works for the others as well, didn't check)
If the control of the physical process fails (due to unrelated to the package reasons, ofc) and the feedback values are always giving the error (let's assume it stabilized at an offset from the setpoint), it would always accumulate *.State.ControlErrorIntegral. It's generally ok, but if the process is constantly offset, it accumulates error until it overflows and becomes NaN. In this case, the *.State.ControlSignal is not clamped as in normal operation. It may result in unexpected behaviour.
In my case I just clamped the actual control signal additionally with checks (the approach)
if math.IsNaN(Controller.State.ControlSignal) || math.IsInf(Controller.State.ControlSignal) { // the last one is "just in case"
  actualSignal = Controller.Config.MaxOutput // or minimum
} else {
  actualSignal = Controller.State.ControlSignal
}

Not sure if it should be considered an issue, but I think it's worth mentioning.

Hi @DmitryAndSoCs!
Thanks for your filed issue, what you are pointing out is completely right.
We are proposing a solution where we bound the ControlErrorIntegral which will prevent the ControlSignal from reaching NaN. We think that that would be a more expected behavior and then let the user set up a way to handle this thanks to having the visibility of the states of the controller.
Happy to hear your feedback on the proposed solution.


QMC electrum server not connecting

Describe the bug
I am receiving a "Could not connect to QMC server" error on login after adding QMC
To reproduce

Open HyperDEX
Add QMC in Settings view
Close app
Open app
Login to portfolio

Expected behavior
Successful login with no errors
Screenshots

System info

OS & version: Windows 10
HyperDEX version: 0.2.0

I'm also able to successfully connect to the QMC Electrum server.

Just tried again and couldn't connect

// @project-qmc


Chess: Move G4 to E3

Hope this works, it's only tricky if it works 😂😂

♨⚠If it's not a checkmate don't forget to Capture my knight or it would bring a doom 🐰👀
✌😌

It wasn't a checkmate but just a check lol😁😏🏂

I'll try next time 😌😌


Language Switch

The user must be able to change the language of the website: the available ones should be english and italian.

[X] Dropdown for language switch in settings menu;
[X] Implementation of language switch;
[X] Store the option in cookies;
Translations by @UmbertoPirovano.

[X] ITA-ENG Translation

[X] Define interface for the ILocalizationString
[X] See how html code can be shown starting from string field (we need this for anchor links and similars);
[X] Define how to manage extra groups description translate;
[ ] Translate data in external files;
[X] Define the field values for "it" and "en";
[X] Replace text in the components with the fields from the actual localization files;
[X] Add the react-jsx-parser to the fields who need it;
[ ] Component to show to the user how to change the language if it is the first time on the website (need to use a cookie for first visit);
[ ] Fix: when in italian language and click on change theme from light theme to dark theme, it changes the language too:
[x] Fix: changing the language does not affect components without cookies declared. The only component where is working is obv the headerMenu. @manuelelucchi shoud help with this one. We need the change globally.

@UmbertoPirovano provided us a first version of translation from Italian to English.
Traduzione network.docx
We may already proceed with the development of the code to support this feature.

Issue \\ See how html code can be shown starting from string field
Option 2 here (html-react-parser): link

Issue \ Define how to manage extra groups description translate and any other field value defined by json data
@manuelelucchi can you help with this one?

This is an example, how to handle the localization in json files?
I was thinking on defining new field values like "it" and "en" in the json so we can map the available languages we have and relate them to the json field values.

We should move away from JSON files imo

We should move away from JSON files imo

The server will always return a json, and the db must handle the translated fields, so.. 🙉🙉🙉

We should move away from JSON files imo

The server will always return a json, and the db must handle the translated
fields, so.. 🙉🙉🙉

Then we need to adapt the JSON format for this use case.

I was thinking on defining new field values like "it" and "en" in the json (description will be an array) so we can map the available languages we have and relate them to the json field values.

Can we duplicate the JSON file for each language? By doing so we save bandwith

I was thinking on defining new field values like "it" and "en" in the json (description will be an array) so we can map the available languages we have and relate them to the json field values.

Can we duplicate the JSON file for each language? By doing so we save bandwith

The JSONs we need to translate are services and maybe extra groups. If we use multiple jsons we introduce redundancy and possibly inconsistency. The bandwith for the actual 2 jsons that we need to translate is minimal.

For the last bug reported:
maybe it's because of the initial declaration of the state for the cookies.
I should use something like: let [cookies, ] = useCookies();

Note: html react parser doesn't work with custom react components, but only with pure html. This is not what I need, so I must find another package to parse from strings to components.

React-jsx-parser did the trick for parsing react components from string.
https://github.com/TroyAlford/react-jsx-parser

Note for @manuelelucchi:

Sometimes the localization object is initialized as undefined.
We must fix this error.

The change not being globally has been fixed by using withCookies.


[0.7.x] Supports Laravel's refined directory structure

Depends on: https://github.com/laravel/laravel/pull/6091

@jessarcher would you please test this one on Linux?

Closing this as plans are scrapped


TypeError: Failed to execute 'append' on 'Headers': Invalid name

Hi Team RapiDoc!
Thank you for an absolutely awesome Web Component that makes me look like a pro 🦸♂
Having an issue with applying basic auth header. I looked at your test site with auth examples. Our config is identical IMHO.
I enter valid credentials that work fine when applied in Postman.
The error occurs when clicking the "Try" button.
Uncaught (in promise) TypeError: Failed to execute 'append' on 'Headers': Invalid name
    at api-request.js:1116:1
    at Array.forEach (<anonymous>)
    at ne.onTryClick (api-request.js:1116:1)
    at Z.handleEvent (rapidoc-min.js:2:14067)

Please let me know if this is an issue or if my config is incorrect. Guessing the latter 🙁
openapi-spec.json.zip

I have the same problem. Did you reach any conclusion maybe?

Actually I did. It's important to not specify a name property in the security scheme

Hi @ramiel
Good detective work 🦸♂ My spec is auto generated. Is not specifying a name working for you and what are the side-effects of not having a name there for other tools do you think?
🍺🍿

No important side effect. The name was shown in the interface but also used for the header. To have a proper interface you can use the description field


Fix test to pass through vet and properly behave

Current dependencies on/for this PR:

main

PR #11   👈

This comment was auto-generated by Graphite.


✨ Test Addition of implicit selection of CRDs, APIBindings

Summary
This is #1221 rebased onto main for testing. If successful, we can just merge #1221.
Related issue(s)
Fixes #

#1221 was merged, does that mean we close this issue?

Merged #1221 , as hoped for.


Add missing currencies

Added missing Currencies based on newer data from .. the countries gem itself!!!
Anyway, this isn't the complete end of things are we still have
Country.all.keep_if { |c| Country[c.last].currency.blank? }.map(&:last)
=> ["MO", "SS", "TM", "VU"]
```

why? Because `countries` depends on `currencies` and even the latest version doesn't have [`MOP`](https://github.com/hexorx/currencies/blob/master/lib/data/iso4217.yaml) (for Macau) - hilarious!

anyway, it's an improvement

````ruby
Country.all.keep_if { |c| Country[c.last].currency.blank? }.map(&:last)
=> ["AQ", "AX", "CD", "CG", "GQ", "GS", "MG", "MO", "NU", "PS", "SS", "TM", "VU"]

and this guy can go ahead

:+1:

lol not waiting!

Dost this: https://github.com/HomeStayTravel/hst/blob/master/app/models/exchange_rate.rb#L13 need to be updated ?

oh the lols, they keep on coming

Yay!

Hello @pusewicz

who's this guy? go away stranger :D

Hola!
On Wed, 30 Mar 2016 at 16:14 David Ramalho<EMAIL_ADDRESS>wrote:

who's this guy? go away stranger :D
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/HomeStayTravel/countries/pull/3#issuecomment-203483146

--
Paolo Dona - CTO
www.homestay.com
6/7 St.Stephen's Green, Dublin, Ireland +353 1 675 3010

🌯🌯🌯
Sent from my iPhone
On 30 Mar 2016, 17:18 +0200<EMAIL_ADDRESS>wrote:

Hola!
On Wed, 30 Mar 2016 at 16:14 David<EMAIL_ADDRESS>
who's this guy? go away stranger :D
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/HomeStayTravel/countries/pull/3#issuecomment-203483146

--
Paolo Dona - CTO
www.homestay.com
6/7 St.Stephen's Green, Dublin, Ireland+353 1 675 3010(tel:+353%201%20675%203010)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly orview it on GitHub(https://github.com/HomeStayTravel/countries/pull/3#issuecomment-203484640)


Instructions disappear when entering comment block

Challenge http://www.freecodecamp.com/challenges/waypoint-use-comments-to-clarify-code has an issue:
When I open a comment block with '<!--', the numbered instructions disappear.

duplicate of #1672


ENH: add xvec accessor and to_crs, set_crs, geom_coords_names

Closes #10 and resolves #5.
This is very much WIP. Implementing .xvec accessor and a coords_to_crs method, that practically copies the code from GeoPandas. We may consider going through GeometryArray.to_crs instead but I'd wait until shapely 2.0 is the only supported engine. Right now, it may cause a bit of trouble and unnecessary conversions.
It currently supports only a single coords. While drop_indexes support dropping multiple indexes at the same time, set_xindex seems to support only a single one, so we will need a workaround. I think that it may be useful to use a single coords_to_crs call to consolidate projections of all geometries instead of going one by one.
To-do:

[x] support multiple coords in coords_to_crs
[x] check that the index is GeometryIndex
[x] tests
[x] documentation

Great!
A signature very familiar to Xarray users is this:
Dataset.xvec.coords_to_crs(coord_crs=None, **coord_crs_kwargs)

# e.g.
ds.xvec.coords_to_crs(geom1=crs, geom2=other_crs)
ds.xvec.coords_to_crs({"geom1": crs, "geom2": other_crs})

But I also agree that setting a common CRS for all geometry coordinates may be convenient and is consistent with geopandas. What about a to_crs() method that automatically transforms all geometry coordinates found in a Dataset / DataArray, just like in geopandas? This might co-exist with the coords_to_crs() signature suggested above.

set_xindex seems to support only a single one, so we will need a workaround.

I think it is fine to loop through the coordinates and chain the set_xindex calls, it is reasonably cheap to build new DataArray / Dataset objects. Otherwise, we usually call Xarray's internal (fastpath) constructors with new or copied variables, indexes, coordinate names and metadata.

I am not sure about the coords_to_crs and to_crs living next to each other. I can see it quite confusing for newcomers. I'll use the syntax you suggest above and we can later think about many-to-one option. I don't expect many use cases with a lot of coordinates in different projections, so it may not be a priority.

I don't expect many use cases with a lot of coordinates in different projections, so it may not be a priority.

Since I wrote https://github.com/martinfleis/xvec/pull/11#issuecomment-1326097578 I read from discussions in GeoPandas and other places that a single CRS is used for the whole Dataframe / object. Rioxarray / odc-geo also consider one global CRS per DataArray / Dataset.
So I agree and changed my mind regarding https://github.com/martinfleis/xvec/pull/7#discussion_r1029284508, we might consider a single CRS for the whole Dataset / DataArray too.
How to enforce that, though? Unlike GeoPandas, there's no concept of an active geometry coordinate in xvec and it probably shouldn't be one? I'm uncertain on whether we want to add a coords parameter to pretty much all methods of the xvec accessor or simply detect all geometry coordinates and iterating through it. We could also add a coords: Hashable | Interable[Hashable] | None = None parameter: apply the operation on all geometry coordinates by default or only on the explicitly provided coordinates.. I'd rather lean on the latter, with something like this for the accessor API:
# internal attribute for getting all geometry coordinate names
# (set in the accessor __init__)
Dataset.xvec._geom_coord_names

# property returning all geometry coordinates (subset of Dataset.coords)
Dataset.xvec.geom_coords

# read (write?) property returning a single CRS
# or raising an error if conflicting CRS are found
Dataset.xvec.crs

# (re)assign the CRS of all or given geometry coordinates without re-projection
Dataset.xvec.set_crs(coords=None, crs=None, ...)

# (re)assign the CRS of all or given geometry coordinates with re-projection
Dataset.xvec.to_crs(coords=None, crs=None...)

I tend to disagree here. GeoPandas does not have a concept of a single CRS for the whole DataFrame. You can easily have many GeoSeries in the gdf each with its own CRS and there are use cases for that I've used myself. The feeling that there is one per gdf si coming from the active geometry concept only. Treating each coords as a single GeoSeries, hence allowing it to have a different CRS makes sense to me. I am not sure how the single CRS per DataArray here would work and why we should do it.
I think that with the transformation, we will have two use cases - 1) change a CRS of a single coords array, likely to match the CRS or the other or to use 3857 for easy plotting (that is the exact use case where you may want to have multiple projections in one DataArray and use one coords for geometry ops and the other for plotting); 2) harmonise all projections among all geometry coords.
Having an API that supports both at the same time feels a bit unclean and can be confusing.
So I would use the API you suggested above for the first case and figure out another one for the second one. Resulting CRS api would then be:
# internal attribute for getting all geometry coordinate names
# (set in the accessor __init__)
Dataset.xvec._geom_coord_names

# property returning all geometry coordinates (subset of Dataset.coords)
Dataset.xvec.geom_coords

# (re)assign the CRS of all or given geometry coordinates without re-projection
Dataset.xvec.set_crs(coords=None, crs=None, ...)

# transform one of more coords to a CRS set for each
Dataset.xvec.coords_to_crs(coord_crs=None, **coord_crs_kwargs)

# (re)assign the CRS of all or given geometry coordinates with re-projection
Dataset.xvec.harmonize_crs(coords=None, crs=None...)

Ah ok, I must have misunderstood something (so many great discussions happening in a lot a different places!) and I guess I was confused by the description (header) of GeoDataFrame.set_crs.
I like harmonize_crs, it makes sense.
I'm confused by set_crs, though. It makes the three accessor CRS methods confusing when coming from the GeoPandas API. I'd either closely match GeoPandas method names or have a more distinct API.
I guess one of the following would confuse me less:

change set_crs to coords_set_crs(coord_crs=None, **coord_crs_kwargs)
remove set_crs in favor of harmonize_crs(coords=None, crs=None, reproject=False)
rename harmonize_crs to to_crs (back to my original suggestion)

Ah ok, I must have misunderstood something (so many great discussions happening in a lot a different places!) and I guess I was confused by the description (header) of GeoDataFrame.set_crs.

Is see. It seems to be an artefact from the past when more geometry columns were not supported. That line should change to "Set the Coordinate Reference System (CRS) of the active geometry column". But the line below slightly specifies it:

If there are multiple geometry columns within the GeoDataFrame, only the CRS of the active geometry column is set.

I see the confusion on set_crs

change set_crs to coords_set_crs(coord_crs=None, **coord_crs_kwargs)

this seems to be a reasonable and consistent solution. Removing it in favour of harmonising will not work as for the transformation you need to know the original CRS and you need a way to set it if you don't have one.

As far as I understand it, geometry / geography variables don't have to be coordinates (though most often they will be, to be able to use indexes). As such, I wonder if it would make sense to change the api to something like this:
Dataset.xvec.assign_crs(variables=None, **variable_kwargs)
Dataset.xvec.to_crs(variables=None, **variable_kwargs)

This is what pint-xarray is using and has worked out great so far. Basically, you can either pass a mapping of variable names to crs values, or do the same as keyword arguments. And if we want to allow converting all data vars, all coords, or just every variable, we can add special keyword arguments for that (all_data_vars, all_coords, and all).

I am not sure how the single CRS per DataArray here would work and why we should do it.

I would try to avoid taking this complexity (which I believe R's sf and geopandas inherited from PostGIS) into vector data cubes. Are there other cases where for data cube dimension labels you have two sets, e.g. a time dimension that has expressions for two locales or two time zones?
There should be the ability to convert geometries associated with a dimension from one CRS to another, but I would try to avoid the complexity of catering for (and having to manage) multiple of them and have the user specify which one is active here. The geometry data associated with the dimension is typically small compared to the payload of the values in the data cube.

As far as I understand it, geometry / geography variables don't have to be coordinates (though most often they will be, to be able to use indexes).

theoretically, they can be also data but it is currently unclear how operations on N-D array of shapely geometries would work. Shapely currently assumes one dimension and we would likely need to flatten and then reshape the arrays to do spatial ops on top. And given we wouldn't have a GeometryIndex on top of data, we would need to find another way of storing the CRS.
That said, I think it is in scope of xvec so it make sense to think forward and set the API future-proof.

this is only for certain features like STRTree, right?

 Functions like get_coordinates return flatten array though so we would need to do some reshaping when doing coordinate transformation on N-D arrays.
So, compiling all the suggestion made above, does this API look reasonable?
# internal attribute for getting all geometry coordinate names
# (set in the accessor __init__)
Dataset.xvec._geom_coord_names

# property returning all geometry coordinates (subset of Dataset.coords)
Dataset.xvec.geom_coords

# (re)assign the CRS one of more variables without re-projection (allow_override to match GeoPandas API)
# in case of coordinates this updates GeometryIndex
Dataset.xvec.set_crs(variables=None, allow_override=False, **variable_kwargs)

# transform one of more variables to a CRS set for each
# in case of coordinates this updates GeometryIndex
Dataset.xvec.to_crs(variables=None, **variable_kwargs)

I've removed harmonize_crs because that can be done as Dataset.xvec.to_crs({name: 4326 for name in Dataset.xvec.geom_coords) which is easy enough. We can potentially also add Dataset.xvec.geom_variables property to track also data, not only coords and use that.

So, compiling all the suggestion made above, does this API look reasonable?
👍  (nit: I'd rather use crss=None, ..., **crs_kwargs or variable_crs=None, ..., **variable_crs_kwargs, like Dataset.pint.to).

This should now be ready for a review. Thanks all for the fruitful discussion!

LGTM! Thanks @martinfleis


Implement negated filter method

The Stream#filter method is commonly used with a negated operation, which requires using the negation operator ! and prevents shortening code with method references. I propose the introduction of Stream#filterNot to eliminate this issue.
A simple implementation and use case may be as follows:
// one.util.streamex.AbstractStreamEx

public S filterNot(Predicate<? super T> predicate) {
    return filter(predicate.negate());
}

public static void givenDays_returnWeekDays() {
    List<String> days = Arrays.asList("mon", "tue", "wed", "thu", "fri", "sat", "sun");
    List<String> weekend = Arrays.asList("sat", "sun");

    List<String> weekdays = StreamEx.of(days).filterNot(weekend::contains).toList();
}

Such function already exists in AbstractStreamEx and it's called remove instead


Redeploy not reloading features after new RepositoryScanner model

@luanpotter this bug was introduced by this new class Yawp.
To fix it, we need to add a method to reset its static attributes and then call it from the yawp's devserver plugin AppengineWebAppContext.
It should be called in the doStart method.

Fixed in https://github.com/feroult/yawp/commit/eca032aef2a7c1115a0bc45be50de0a6b9a771fc


Html Highlights

There are no html Highlights

Hi @LincCodes, it supports HTML, use xml.
xml, html, xhtml, rss, atom, xjb, xsd, xsl, plist, svg are all under the xml language.


Is it possible to consume a topic with multiple schemas ?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is.
Describe the solution you'd like
A clear and concise description of what you want to happen. Please include links to other clients' solutions and/or KIPs for Kafka features if applicable.
Additional context
Add any other context or screenshots about the feature request here.

Multiple schema as in ?
Let us assume 2 schemas

interface User {
  id: string
  name: string
}

interface Employee {
 id: string
 userId: string
 companyId: string
}

Now you can receive the message of the above both types in the same topic and no issues will be faced. Kafka is just a message broker and nothing more so schema usually doesn't matter....
Do let me know if anything more is here for discussion.


import .vue files without extension

it is possible to import .vue files without requiring the extension? I have a huge project and I never use the extension.
In webpack.config.js I have this line, but it seems not working
extensions: ['.js', '.vue'],
Thanks

Yes it is possible, here's an example project that tests with avoriaz and doesn't require a .vue extension - https://github.com/eddyerburgh/avoriaz-karma-mocha-example?files=1

I was using this repo eddyerburgh/avoriaz-mocha-example as starting point. I would use that instead.
Thanks!


feat: shared nginx cache with redis

PR Type

[X] Feature
What Is the Current Behavior?
Each nginx has its own cache so in a deployment with multiple nginx (for redundancy), the cache hit rate is significantly lower than it could be.
What Is the New Behavior?
Nginx instances push the cache to a shared redis service and retrieve it from there.
Does this PR Introduce a Breaking Change?

[ ] Yes
[X] No
Other Information
AB#89494

Hi, regarding the cache invalidation: what would be the best way to trigger that (periodically, manually) in a production environment without connecting via shell?
docker run --rm -it bitnami/redis redis-cli -u <REDIS_URI> flushdb

What would be the best way to trigger that (periodically, manually) in a production environment without connecting via shell?

Hmm, as a project customization, I would run it as an additional script in the nginx container. You have REDIS_URI already available as an environment variable and you just have to find a way to install redis-cli.


Feat add nested sort filter

Aligns sorting with filters
Adds directives on sort fields
Adds nested sorting

#Todos
-[ ] Review the changes
-[ ]  Fix duplicated name bugs (like #1105)
#923

@michaelstaib
Currently the following test is failing
public void Create_Explicit_Sorting_DifferentDescirptorOfSameType()
This test creates a SortType for the same base type.
  d.BindFieldsExplicitly()
                      .SortableObject(f => f.Baz1)
                      .Type(x => x.BindFieldsExplicitly().Sortable(y => y.BarProperty)
                            );
                    d.SortableObject(f => f.Baz2)
                    .Type(x => x.BindFieldsExplicitly()
                    .Sortable(y => y.BazProperty)
                        );

After considering it quite a bit I think this test should fail.
We probably should not create names like BazSortingType and BazSortingType2. I guess if this happens then the developer has done something wrong. He did not consider that these two types are different.
If we do this we will break input types which then could break existing queries.

@michaelstaib  before we merge this we need the conventions

Is this one ready for review?

@michaelstaib  Ready for review :)

@PascalSenn so can I merge it when I have fixed the formatting?

It seems the integration tests are breaking.


[WIP] Local C++ simulator

WIP pull request for adding local C++ simulator
Description

Added folder external/cpp-simulator containing source files for the C++ noisy simulator, and noisy clifford simulator.
Added backend python module for importing simulator backends local_qiskit_simulator and local_clifford_simulator
See README in simulator directory for details on simulator

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

in SDK meeting we would like to rename "external" to "src". Pip build should move binary out of source directory. We will review structure in future minor release. C incorporation guidelines need to be discussed further.


Create external tables for replica DB

Hi, Currently we have DB in P6 tier and it has a Geo replication DB setup. Business access reporting data via Geo replication DB tables via another SQL DB external tables.
If we wanted to migrate to Hyperscale, we will not be having Geo replication DB, but we wanted to know how we can create external Data source/tables for Hyperscale replica (not primary) so that business always connects to replica DB only?
If I use below, I can create Data source to primary only. How to create data source for replica?
https://docs.microsoft.com/en-us/sql/t-sql/statements/create-external-table-transact-sql?view=sql-server-2017#examples

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

ID: 418c8458-948a-4549-fbaa-90a17cd345ee
Version Independent ID: b5635e09-241c-0eea-61cd-bfef388af124
Content: Azure SQL Database Hyperscale FAQ
Content Source: articles/sql-database/sql-database-service-tier-hyperscale-faq.md
Service: sql-database
GitHub Login: @stevestein
Microsoft Alias: sstein

I tried to use below query to create external data source
CREATE EXTERNAL DATA SOURCE CaseEnhancementCenterDev
WITH
(
TYPE=RDBMS,
LOCATION='xxxxxxxxx.database.windows.net',
CONNECTION_OPTIONS = 'ApplicationIntent=ReadOnly'
DATABASE_NAME='xxxxx',
CREDENTIAL= CRED
);
GO;
It gave me the below error.
Incorrect syntax near 'CONNECTION_OPTIONS'.

Thank you for reaching out. We are actively investigating and will get back to you soon.

@anilvem1 This scenario is not supported. If you want to create external tables, these would need to be created in the primary instance and then replicated to the read replicas, where they are then accessible via the ApplicationIntent=ReadOnly connection string designation. All functionality that is supported by the Hyperscale service is done through the primary and available in the replicas as a ReadOnly operation.
Please see: Can I create a dedicated endpoint for the read-scale replica

No. You can only connect to read-scale replica by specifying ApplicationIntent=ReadOnly.

The best means for requesting functionality with the Hyperscale offering is to create an entry in the Uservoice forum: SQL Database Uservoice forum

@anilvem1 Please let us know if you have additional questions with here and we will be glad to continue the discussion. Thank you!


Commits list

You can now open a dedicated speckle editor window from the UE4 editor.

Currently supporting fetching commits and receiving (importing) objects from a stream.
You can work with many different unreal speckle managers and download from different streams.
The list of commits includes the description of the commit and name of the author.

Usage:
You just need to click on the speckle icon on the toolbar to open the window. However, make sure that at least one BP_SpeckleManager exists in the scene before opening the window.
Implementation:
A mix of slate code and editor utility blueprints is used to create the speckle window. UMG is utilized in order to allow for easier customization of the UI for future versions, though simple UI positioning.

Hey @PanMig! We've just checked this locally and we feel it's not 100% ready yet and it might confuse existing users before we fix a couple of issues. The main problem is that it breaks existing functionality on the original SpeckleUnrealManager - clicking the import speckle object button doesn't do anything (throws a 404).
That aside, we feel that the direction you're going with the separate speckle panel is valuable, and we wanna hack together on it: we've made a new branch (speckle-panel) where we can keep working on this. @cristi8 will merge this in there, and we'll raise a couple of issues now with where we see it going.

Thanks for reaching out @didimitrie. There are a lot of changes in this request, that's why I wanted to send out a first draft version with this pool request, check if it aligns with the overall architecture and then refactor accordingly. So I totally agree with the current direction of having the new branch and start fixing things there. I'll check the issues.... keep 'em coming :) :)


Use mimalloc and update release profiles for Rust benchmarks

As mentioned in a Reddit comment 😃
This improves benchmarks considerably on my machine:
---Go Ristretto Finished in 16ms---
hit: 98858 miss: 25754 keys-added: 6657 keys-updated: 12865 keys-evicted: 5598 cost-added: 6234984 cost-evicted:
 5235204 sets-dropped: 0 sets-rejected: 6231 gets-dropped: 21504 gets-kept: 102976 gets-total: 124612 hit-ratio:
 0.79
---Sync Stretto Finished in 9ms---
Metrics::Op {
  "hit": 96501,
  "miss": 28111,
  "keys-added": 25447,
  "keys-updated": 2653,
  "keys-evicted": 24420,
  "cost-added": 24838984,
  "cost-evicted": 23839632,
  "sets-dropped": 0,
  "sets-rejected": 0,
  "gets-dropped": 0,
  "gets-kept": 0,
  "gets-total": 124612,
  "hit-ratio": 0.77
}
---Async Stretto Finished in 11ms---
Metrics::Op {
  "hit": 97583,
  "miss": 27029,
  "keys-added": 25630,
  "keys-updated": 1389,
  "keys-evicted": 24600,
  "cost-added": 24983368,
  "cost-evicted": 23983788,
  "sets-dropped": 0,
  "sets-rejected": 0,
  "gets-dropped": 0,
  "gets-kept": 0,
  "gets-total": 124612,
  "hit-ratio": 0.78
}
---Sync Moka Finished in 17ms---
---Async Moka Finished in 18ms---

I think for a fair benchmark we need to run ristretto with mimalloc as well.


Renamed dashboards -> workbooks for consistency

Update references to dashboards to workbooks instead
Cleaned up formatting of page

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

@Andrew-Bennett , thanks for your contribution! As it happens I'm in the middle of a major edit to this page, including everything you mentioned, and it should be published in the next week or so. So I'm going to go ahead and close this.
Thanks again!
Yechiel
#please-close


(Feature) Permissionless upvote and downvote system for markets

Allow users to thumbs up or thumbs down markets.

Could be interesting for seeing what proposed markets need to be reviewed or what markets need liquidity

Also good for existing market review at a glance imo.


ATMS: this does not look right

I am looking at QCMOD - for JEDI reasons - and I am finding this logic in qcmod to not make sense for ATMS.
Notice the zeroing out and do loop ranges only make sense if the counter is contiguous. This is incidentally the case for AMSUA, but it is not the case for ATMS.
https://github.com/GEOS-ESM/GEOSana_GridComp/blob/1214e1c0d24eb108ba9861bb8dce6a7a0f08ff28/GEOSaana_GridComp/GSI_GridComp/qcmod.f90#L3118-L3122
The correct thing it seems to me would be to have something like this (the following is cryptic):
ichmw_num = (/  238, 314, 503, 528, 536, 544, 549, 890 /)
if (amuse)
ichmw_idx = (/ 1, 2,, 3, 4, 5, 6, 7, 15 /)
if (arms)
ichmw_idx = (/ 1, 2, 3, 5, 6, 7, 8, 16 /)
then the replacement of the logic:
do i = 1, size(ichmw_idx)
errf(i) = zero
varinv(i) = zero
enddo
do i=1,size(ichmw_idx)
ii = ichmw_idx(i)
if (id_qc(ii) == good_qc)  id_qc(ii) * fail_interchan_qc
enddo
Other places in QCMOD would have to adapt to the new arrays ichmw_num (not used above but needed elsewhere) and ichmw_idx ...
Needless to say the above takes automate care of the ch 890 handing in the lines that follow the chunk of code above in qcmod.

@rtodling The original code should be fine, as additional interchannel QC is done is setuprad.

@rtodling I think this is not an error. Additional channels of ATMS for interchannel check are handled in setuprad.

This code is fine.   This code was put in after channel 15 failed in MetOp-B AMSUA, I think.  Previously if some lower peaking channels had bad values the entire spot was tossed which would have not allowed MetOpB AMSUA to be assimilated - but this allows the higher peaking channels to be assimilated.
The essence of the test is in the line just above that section you highlighted.
If any of the lower peaking channels ( 1,2,3,5,6,7 or 16 for ATMS and 1,2,3,4,5,6 or 16 in AMSUA) has a brightness temperature increment > 200K (probably because of a missing value) then

reject all lower peaking channels: 1-7 for ATMS and 1-6 for AMSUA
if the id_qc is not set for any of these channels already, fill in the ifail_interchan_qc value
reject the other non-contiguous lower peaking (channel 16 for ATMS, 15 for AMSUA)
if the id_qc is not set for the other lower peaking channel, fill in the ifail_interchan_qc value

and then do the reject and fill in ifail_interchan_qc value for the other channels affected for ATMS.
So in essence if any of these key channels (in the 'if' statement above) is missing, reject all the lower peaking channels.
I think that the test was originally written for AMSUA and then "translated" to work for ATMS.  The only slightly shady part that I can see is that ATMS channel 4 is not included in the 'if' test.  I guess a test of ATMS channel 4 could be added to the 'if' test.

OK maybe I should restate this.   The channels listed in the if
if (any(abs(tbc((/ ich238, ich314, ich503, ich528, ich536, ich544, ich890 /))) &
> 200.0_r_kind))  then
are the channels that are used in subsequent QC tests in the subroutine.  So if any of the bc increments for these 'key' channels is wacky we just exclude the low peaking channels - and then all of the various qc tests are in the 'else' section below this 'if'.  (And ATMS ch 4 is not relevant in this test.)

OK maybe I should restate this. The channels listed in the if if (any(abs(tbc((/ ich238, ich314, ich503, ich528, ich536, ich544, ich890 /))) & > 200.0_r_kind)) then are the channels that are used in subsequent QC tests in the subroutine. So if any of the bc increments for these 'key' channels is wacky we just exclude the low peaking channels - and then all of the various qc tests are in the 'else' section below this 'if'. (And ATMS ch 4 is not relevant in this test.)
EDIT - and when I talk about 'low-peaking' channels I should also clarify that these are the cloud-affected channels that the myriad of tests in this subroutine are supposed to be screening.

Hi Meta, thanks for the detailed expiation. That's certainly helpful to understand the context ... however, the explicit list of channels for ATMS - perhaps intentionally - excludes channel 4 and yet, when it comes to zeroing things out in case T > 200 ends up zeroing out the terms related to channel index 4 for ATMS when it seems from the list, this channel should not be included  - in any case, the code might be right if its intention is to zero out of info related to the channels w/ index smaller than 8 for ATMS ... but that happens not because of the explicit list of channels indexes but because the do loop is accidentally going through all channels ...
in any case, thank you for the feedback.

No, all of the cloud affected channels 1-7, 16, and 16-22 are all rejected and given a zero inverse obs error.
So I can see now that ATMS channel 16 appears to be done twice, once as ich890 and once as a channel in the range 16-22.  Channels 17-22 are not participating in the QC tests but they still need to be rejected.

No, all of the cloud affected channels 1-7, 16, and 16-22 are all rejected and given a zero inverse obs error. So I can see now that ATMS channel 16 appears to be done twice, once as ich890 and once as a channel in the range 16-22. Channels 17-22 are not participating in the QC tests but they still need to be rejected.
EDIT - you can see there are do loops further down in the code going from 17-22 so probably the loop in this section should be 17-22. But it doesn't really matter that the channel is rejected twice.

I see all that - I just don't think channel index 4 is handled consistently ... I am closing this .... thanks for the feedback.


do not ignore error when walk dir in pkger

What:

handle (do not ignore) error from the function that adds migration files into pkger

Why:
Currently, we ignore the error when pkger walks the migration directory and the migration file name does not match the expected format.  When such happens it stops adding the rest of the files. In our case, we named the file in a way so golang-migrate will ignore it: we just removed .up part. But, we didn't know that we have one more layer of file format checking :(
P.S. we should not check file name format here and delegate it to golang-migrate

Codecov Report

Merging #230 (ae76db3) into master (19fece7) will decrease coverage by 6.51%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #230      +/-   ##
==========================================
- Coverage   77.84%   71.32%   -6.52%
==========================================
  Files          29       28       -1
  Lines         930      865      -65
==========================================
- Hits          724      617     -107
- Misses        161      230      +69
+ Partials       45       18      -27

Impacted Files
Coverage Δ

database/pkger.go
0.00% <0.00%> (-57.45%)
:arrow_down:

database/migrator.go
0.00% <0.00%> (-50.00%)
:arrow_down:

database/database.go
4.76% <0.00%> (-21.43%)
:arrow_down:

database/mysql.go
29.41% <0.00%> (-2.36%)
:arrow_down:

database/sqlite_cgo.go

Continue to review full report at Codecov.

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


feat(progress-bar): Missing --mdc-linear-progress-active-indicator-shape property for progress-bar

Feature Description
Currently if I want to change the shape of the progress bar to be round like, I only have the --mdc-linear-progress-track-shape to set the track shape, but not the same option for the shape of the active-indicator, which will still be square.
Also, only setting the --mdc-linear-progress-track-shape, will result in the active indicator overflowing, leaving me with an inconsistent progress-bar (see 1st picture)
Hence that leaves me with the better option of just setting the border-radius of the mat-progress-bar element itself, because this doesn't cause the active-indicator to overflow. In this case the --mdc-linear-progress-track-shape becomes redundant.

Screenshot with --mdc-linear-progress-track-shape: 4px;, causing the active-indicator to overflow:

Screenshot with --mdc-linear-progress-track-shape: 4px; and border-radius: 4px, rendering the --mdc-linear-progress-track-shape redundant:

Screenshot with only border-radius: 4px; leaving me with an almost round progress bar, except that the active-indicator is not actually round.

So there need to be an option to set the --mdc-linear-progress-active-indicator-shape like for other components, so that the active-indicator can be made round, as shown in the Token and Specs section in the Material 3 specification
Use Case
This would enable a very relevant an normal use case that is also shown in the Token and Specs section in the Material 3 specification.

Whats the status of this issue?
@use '@angular/material' as mat;

  @include mat.progress-bar-overrides((
    active-indicator-height: 10px,
    track-height: 10px,
    track-shape: 100px
  ))

Should defo be fixed pls 🚀❤


Why is your library not working at all in the invoice generation request

Hi @denizsinan,
Maybe some GIB service updates caused this problem, I don't know. You can try to debug and contribute to my project. You could take a look at @furkankadioglu's project https://github.com/furkankadioglu/efatura as well. Maybe it works for you :)
Thanks.


LD_LIBRARY_PATH order is non-deterministic

# Cargo.toml
[dependencies]
openssl-sys = "0.7"
pq-sys = "0.4"

// main.rs
fn main() {
    println!("{:#?}",std::env::var("LD_LIBRARY_PATH").unwrap().split(":").collect::<Vec<_>>());
}

Running this program with PQ_LIB_DIR=/test cargo run will result in either of the following outputs:
[
    "/usr/lib/x86_64-linux-gnu",
    "/test",
    "/tmp/ctest/target/debug",
    "/tmp/ctest/target/debug/deps",
    "/home/jethro/.multirust/toolchains/nightly-2016-10-03-x86_64-unknown-linux-gnu/lib"
]

[
    "/test",
    "/usr/lib/x86_64-linux-gnu",
    "/tmp/ctest/target/debug",
    "/tmp/ctest/target/debug/deps",
    "/home/jethro/.multirust/toolchains/nightly-2016-10-03-x86_64-unknown-linux-gnu/lib"
]

This can lead to very confusing intermittent problems, especially with crates such as openssl-sys 0.7 which include the system lib directory.

Right now Cargo doesn't maintain a DAG between these paths, so otherwise it's basically correct for it to be slightly nondeterministic (because how else would Cargo order paths?)
What's the correct ordering here?

I don't think there's a “correct” ordering. If libraries have the same name, there will be conflicts, period. In particular, crates should just not be outputting the system directory as a search path (and newer versions of openssl-sys don't, luckily).
However, I think it's important that the order is deterministic to aid in debugging these issues. Possible orderings include:

lexically
link order of corresponding crates
reverse of the link order
others...?

In some sense though I'd figure that a slighlty nondeterministic order is good because it helps weed out issues like this...

@AlexCrichton, I wonder if it could be related to #3809.

Perhaps yeah, although I wouldn't be certain

@alexcrichton  Except rare and nondeterministic issues are hell to debug. Better if certain environments trigger the bug instead, so that they can be reliably reproduced.
Non-deterministic behavior in cargo has cost me more time than all other Rust bugs combined. If something makes me leave Rust, it will be the non-determinism.
I'd suggest we at least sort the output.

@nathanaeljones can you point me to the other bugs you've experience? 99.9% of the time I've found at least that nondeterminism is not the bug but rather a legitimate other bug is being exposed, and sorting just hides it. That may not be the case always though!

Well, I ran into the static linking form of this  bug very painfully, over, and over again.

https://github.com/alexcrichton/pkg-config-rs/issues/11
https://github.com/sfackler/rust-openssl/issues/447
And proposed an overly complex extensibility solution to mitigate the various manifestations of the issue:
https://internals.rust-lang.org/t/cargo-support-for-build-script-filters-lints-and-link-path-providers/4563 Really, though.... randomly, silently, linking against the wrong artifacts is a security problem in many contexts.
There was the bug forcing 100% recompilation of my project every build:
https://github.com/rust-lang/cargo/issues/3658
And the PR for it https://github.com/rust-lang/cargo/pull/3659

Linking can be a house of cards, but with non-determinism it's trying to stack them on a spinning table.
I realize that randomized failure may cause a wider number of environments to experience a bug at least once, but it also diminishes the probability that anyone can make a useful or reproducible bug report.
I'm an independent solo developer who bet the house (literally) on Rust. I abandoned Microsoft dev tools (primarily) for their propensity towards non-deterministic failure. Rust seemed to offer the best guarantees for building reliable and predictable systems. I realize Cargo is not Rust, but I did expect that determinism would be considered a virtue.
I realize that purging HashMaps from Cargo won't solve all the non-determinism, but I think it's good to consider the cost/benefit for things that risk inducing I-can't-do-my-job rage. Sometimes list.sort() is cheap after all.

Non-determinism in the build chain is also an impediment to reproducible builds.

As I push the edges of Cargo's less tested feature set, I often run into things that don't do what I'd expect. When they're deterministic, I know what I changed before it broke, I change it back - and I'm back to work.
With non-determinism, I've gone as long as 9 days between the crucial change and the error appearing. My project is < 12kloc, and I'm doing everything I can to decrease compile times and avoid problematic areas. But I have no idea how I'm going to keep things working at 20 or 30kloc...

@nathanaeljones @jethrogb
I realize that this can be painful and I'm sorry you've had to go through this sort of build pain. To be clear a major goal of Cargo is reproducible and deterministic builds. I'm definitely not a proponent that we should just randomize everything.
Most of the breakage so far seems to have been accidental non-determinism simply inherited through use of a HashMap. It should be ok for a build to always be slightly nondeterministic (Cargo compiles in parallel after all) but only in controlled fashions. If nondeterminism breakages a build, then that is a bug.
@nathanaeljones it's interesting you bring up https://github.com/rust-lang/cargo/pull/3659 though. The initial commit to fix that (https://github.com/rust-lang/cargo/commit/22096dee1c72f8aa35aae6edaab908bf18e6e504) was actually incorrect. The final result actually addressed the underlying bug with using a HashMap to order insertion into a vector. I just mean to highlight that blindly sorting everything or blindly trying to remove HashMap will tend to cover up more bugs than it actually fixes.

With that in mind, is there a way to fix this bug? If there's no correct choice, how does Cargo select a choice?

TL;DR, I think we should sort.
@alexcrichton I feel like you and the others on this thread are talking past each other a bit.

I think everyone is in agreement that non-determinism can sometimes reveal the existence of a bug.

However, as @nathanaeljones points out (rightly IMO), finding out that there's a bug when you can't reproduce it is usually worse than the bug being hidden. And in particular, the bugs we're talking about here, AIUI, will tend to result in very visible failures when they're triggered. So "masking" them doesn't mean that there's problems lurking in production code, but rather that your build could fail if something gets perturbed.

@alexcrichton, you say that it's OK for the build system to have "controlled" nondeterminism (and you cite parallel builds as an example). I think that's probably true at a fundamental level, since build scripts can observe arbitrary machine state.

However, I think a basic goal of reducing the amount of nondeterminism over time is a good one for Cargo. This isn't about blindly sorting in an effort to fix bugs, but rather about systematically making builds easier to reproduce, so that you have some hope of debugging things when they do go wrong. So, in particular, I don't think we should choose to be nondeterministic when there's an easy way around it.

Finally, @alexcrichton you've mentioned a couple times that there's no "right" order for these items to appear in. But that seems beside the point, to me. What we're after is just determinism, so we can choose any order as long as its consistent. Sorting seems totally reasonable to me.

@alexcrichton I see #3659 differently; the input is deterministic and has explicit order, but that order is lost due to storage in a HashMap. Given the source information is deterministic, it makes sense that one could hash it in natural order... but the HashMap causes random permutation, and likely caused the assumption behind the bug to be incorrect. Using order-preserving maps would have solved both issues. When randomness is hidden behind abstraction (as it was here), it tends to cause errors.

@nathanaeljones BTW, would you be up for a video call with me and @alexcrichton at some point soon? I know that you've been dealing with non-determinism and other Cargo-related issues, as well as some pkg-config issues, and I think some high-bandwidth discussion might be helpful for making progress together.
If that sounds good, drop me a line at<EMAIL_ADDRESS>


Docker and Vagrant support

I want Docker and vagrant support
I can't run Vagrant on Mac M1 and its super important

Here's a good description of what Docker and Vagrant are good for, direct from Vagrant: https://www.vagrantup.com/intro/vs/docker
UTM is a front end for QEMU and Apple VM -- its purpose is to emulate or provide virtualization for secondary OSes.
How exactly do you propose adding Docker and Vagrant support?  To what purpose?  What's your user story?

✋ I have a use case!  We're using UTM to quickly create a macOS VM for testing system setup scripts on M1 macs.  Part of that setup includes installing and configuring Docker Desktop, but we're unable to complete that setup at the moment.
Presumably there are some hurdles to overcome with this, given that nested virtualization is... not great... I honestly don't care about the performance of it—I am well aware it'll run like molasses in comparison to natively, it's more for smoke test purposes.
Is nested virtualization possible on a Mac host?

@jonwest Apple M1* SOCs don't have nested virtualization capability. I do not know if M2 has it.


Error: Maximum update depth exceeded.

I got this error  Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
from here: https://github.com/mui-org/material-ui/blob/master/packages/material-ui/src/TextareaAutosize/TextareaAutosize.js#L103
I don't know what you can do, but such errors is not normal thing
Steps to Reproduce 🕹
I have no steps to reproduce. It happens randomly
Environment 🌎

Tech
Version

Material-UI
v4.3.2

React
V16.8.6

Does it work better on v4.4.0? At some point in the issue history, we have discussed adding a defensive check in case such infinite loop happens in a new case: https://github.com/mui-org/material-ui/issues/16685#issuecomment-513948427.

@oliviertassinari I'll try v4.4.0, thanks


Adds FormattedDateTimeElement and FormattedDateTimeField

Adds FormattedDateTimeElement and FormattedDateTimeField using qualified DateTimeString to fix Issue #20

Are this PR and #23 redundant?

This one fixes Issue #22 while I later discovered there is also a similar issue with buyer_order (Issue #22). Both are fixed in the same way, but in two separate PRs.

Replaced by the more general PR #27


[FLINK-25468] Copy SST files if they cannot be hard linked in RocksDBHandle.restoreInstanceDirectoryFromPath

What is the purpose of the change
The RocksDBHandle.restoreInstanceDirectoryFromPath hard links SST files. If this operation does not
work because the source directory is on a different file system then it will now copy the file over.
Verifying this change
I tested the change manually because I couldn't find a good way to test this change automatically.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Documentation

Does this pull request introduce a new feature? (yes / no)
If yes, how is the feature documented? (not applicable / docs / JavaDocs / not documented)

Thanks a lot for the review @Myasuka and @SteNicholas. I will resolve your comment and then merge the PR.


[0.10] Beta Server crashed

Panic occurred .
I have migrated 0.9.x to 0.10x
Please find the details below
Os details
Distributor ID:	Ubuntu Description:	Ubuntu 14.04.2 LTS Release:	14.04 Codename:	trusty
influxdb                                        0.10.0-0.beta1               amd64
Full log Dump  -- 2.3M
http://paste.ubuntu.com/14628206/

@SkyRocknRoll thanks for the report! i just wanted to confirm a few things:

it looks like you're running a single node, with telegraf as the only data writer. is that correct?
what version of 0.9.x were you running prior to the upgrade?
can you also try this with the 0.10.0-beta2 release that just came out yesterday?

Hi @toddboom ,
Thanks for looking at the issue .
Yes telegraf is the only writer
I am actually not sure of which minor version 0.9 i was using. But it was the latest
I will try beta2 today and let you know the status tomorrow

I have installed 0.10-beta2 and receiving the following error
[cluster] 2016/01/24 15:14:59 accept remote connection from <IP_ADDRESS>:46411
[http] 2016/01/24 15:14:59 <IP_ADDRESS> - - [24/Jan/2016:15:14:59 +0000] POST /write?consistency=&db=telegraf&precision=s&rp= HTTP/1.1 204 0 - InfluxDBClient 3c0272e6-c2ad-11e5-8180-000000000000 142.588257ms
[http] 2016/01/24 15:14:59 <IP_ADDRESS> - - [24/Jan/2016:15:14:59 +0000] POST /write?consistency=&db=telegraf&precision=s&rp= HTTP/1.1 204 0 - InfluxDBClient 3c037d63-c2ad-11e5-8187-000000000000 135.924764ms
[cluster] 2016/01/24 15:14:59 accept remote connection from <IP_ADDRESS>:46410
[http] 2016/01/24 15:14:59 <IP_ADDRESS> - - [24/Jan/2016:15:14:59 +0000] POST /write?consistency=&db=telegraf&precision=s&rp= HTTP/1.1 204 0 - InfluxDBClient 3c0387fc-c2ad-11e5-8189-000000000000 140.726169ms
[cluster] 2016/01/24 15:14:59 accept remote connection from <IP_ADDRESS>:46407
[cluster] 2016/01/24 15:14:59 accept remote connection from <IP_ADDRESS>:46412
[cluster] 2016/01/24 15:14:59 accept remote connection from <IP_ADDRESS>:46413
[http] 2016/01/24 15:14:59 <IP_ADDRESS> - - [24/Jan/2016:15:14:59 +0000] POST /write?consistency=&db=telegraf&precision=s&rp= HTTP/1.1 204 0 - InfluxDBClient 3c0372dc-c2ad-11e5-8185-000000000000 147.898358ms
[cluster] 2016/01/24 15:14:59 close remote connection from <IP_ADDRESS>:46403
[cluster] 2016/01/24 15:14:59 close remote connection from <IP_ADDRESS>:46404
[cluster] 2016/01/24 15:14:59 close remote connection from <IP_ADDRESS>:46378

Some of the data is not appearing in the grafana graphs.

@SkyRocknRoll Can you show us the output to a SHOW SERVERS command?

@SkyRocknRoll Also, which storage engine were you using prior to the upgrade? It looks like this may be tsm related:
panic: close of closed channel

goroutine 157 [running]:
github.com/influxdb/influxdb/tsdb/engine/tsm1.(*Engine).Close(0xc208130780, 0x0, 0x0)
	/tmp/tmp.TcaAgGugKM/src/github.com/influxdb/influxdb/tsdb/engine/tsm1/engine.go:147 +0x3e
github.com/influxdb/influxdb/tsdb.(*Shard).close(0xc2080c98c0, 0x0, 0x0)
	/tmp/tmp.TcaAgGugKM/src/github.com/influxdb/influxdb/tsdb/shard.go:150 +0x54
github.com/influxdb/influxdb/tsdb.(*Shard).Close(0xc2080c98c0, 0x0, 0x0)
	/tmp/tmp.TcaAgGugKM/src/github.com/influxdb/influxdb/tsdb/shard.go:145 +0x89
github.com/influxdb/influxdb/tsdb.(*Store).DeleteShard(0xc208098140, 0x2a, 0x0, 0x0)
	/tmp/tmp.TcaAgGugKM/src/github.com/influxdb/influxdb/tsdb/store.go:134 +0xe4
github.com/influxdb/influxdb/services/retention.(*Service).deleteShards(0xc20805ea80)
	/tmp/tmp.TcaAgGugKM/src/github.com/influxdb/influxdb/services/retention/service.go:124 +0x46b
created by github.com/influxdb/influxdb/services/retention.(*Service).Open
	/tmp/tmp.TcaAgGugKM/src/github.com/influxdb/influxdb/services/retention/service.go:46 +0x1b8

i have used default one which comes 0.9.x.

I have wiped the whole data and started fresh server. Now influxdb is working fine for last 1 hour. Will keep update the progress

I noticed missing data in graphs also, when upgrading from an existing nightly (0.10.0.n1453215519) to the latests. It seemed to only affect derivative queries, and after nuking the DB and waiting for some new data to accumulate, the derivative queries worked fine again.

I also just noticed that 0.10.0-beta2 appears to hang indefinitely when performing a level 3 compaction, which for me is about 30 minutes after starting influxd. I am downgrading to 0.10.0-beta1 again.

@dswarbrick Thanks for letting us know. Was there any extra information (log messages, etc) provided prior to or during the hang? And, to clarify, the hangs occurred with a clean database?
If you see it happen again, it would be great if you could create a new issue with the output of a trace generated by a SIGQUIT (kill -SIGQUIT $(pgrep influxd)) while it's hung.

@rossmcdonald These were the last log messages before I shut down influxd:
[tsm1] 2016/01/24 19:07:44 beginning level 1 compaction of group 0, 2 TSM files
[tsm1] 2016/01/24 19:07:44 compacting level 1 group (0) /srv/influxdb/data/perfdb/default/2/000000015-000000001.tsm (#0)
[tsm1] 2016/01/24 19:07:44 compacting level 1 group (0) /srv/influxdb/data/perfdb/default/2/000000016-000000001.tsm (#1)
[query] 2016/01/24 19:07:53 SELECT non_negative_derivative(mean(pointReq), 1s) FROM _internal.monitor."write" WHERE time > now() - 30m GROUP BY time(1m)
[tsm1] 2016/01/24 19:07:58 compacted level 1 group (0) into /srv/influxdb/data/perfdb/default/2/000000016-000000002.tsm.tmp (#0)
[tsm1] 2016/01/24 19:07:58 compacted level 1 group 0 of 2 files into 1 files in 13.631551827s
[tsm1] 2016/01/24 19:07:59 beginning level 2 compaction of group 0, 2 TSM files
[tsm1] 2016/01/24 19:07:59 compacting level 2 group (0) /srv/influxdb/data/perfdb/default/2/000000014-000000002.tsm (#0)
[tsm1] 2016/01/24 19:07:59 compacting level 2 group (0) /srv/influxdb/data/perfdb/default/2/000000016-000000002.tsm (#1)
[tsm1] 2016/01/24 19:08:17 compacted level 2 group (0) into /srv/influxdb/data/perfdb/default/2/000000016-000000003.tsm.tmp (#0)
[tsm1] 2016/01/24 19:08:17 compacted level 2 group 0 of 2 files into 1 files in 18.35735472s
[tsm1] 2016/01/24 19:08:17 beginning level 3 compaction of group 0, 4 TSM files
[tsm1] 2016/01/24 19:08:17 compacting level 3 group (0) /srv/influxdb/data/perfdb/default/2/000000004-000000003.tsm (#0)
[tsm1] 2016/01/24 19:08:17 compacting level 3 group (0) /srv/influxdb/data/perfdb/default/2/000000008-000000003.tsm (#1)
[tsm1] 2016/01/24 19:08:17 compacting level 3 group (0) /srv/influxdb/data/perfdb/default/2/000000012-000000003.tsm (#2)
[tsm1] 2016/01/24 19:08:17 compacting level 3 group (0) /srv/influxdb/data/perfdb/default/2/000000016-000000003.tsm (#3)
[query] 2016/01/24 19:08:53 SELECT non_negative_derivative(mean(pointReq), 1s) FROM _internal.monitor."write" WHERE time > now() - 30m GROUP BY time(1m)
[tsm1] 2016/01/24 19:10:01 compacted level 3 group (0) into /srv/influxdb/data/perfdb/default/2/000000016-000000004.tsm.tmp (#0)
[tsm1] 2016/01/24 19:10:01 compacted level 3 group 0 of 4 files into 1 files in 1m43.788494609s
[run] 2016/01/24 19:15:40 Signal received, initializing clean shutdown...
[run] 2016/01/24 19:15:40 Waiting for clean shutdown...
[copier] 2016/01/24 19:15:40 copier listener closed
[snapshot] 2016/01/24 19:15:40 snapshot listener closed
[cluster] 2016/01/24 19:15:40 cluster service accept error: network connection closed
[run] 2016/01/24 19:15:40 second signal received, initializing hard shutdown
[shard-precreation] 2016/01/24 19:15:40 Precreation service terminating

After 19:10, I noticed that Grafana graphs were not updating (perpetual "loading" spinner), and I was not able to connect using the influx CLI. Netstat showed dozens of TCP sockets' receive buffers were backing up. This was with a fresh database, created by 0.10.0-beta2.
Unfortunately I can't repeat this test on my semi-production setup, since it causes problems for the collectd daemons, which don't enforce an HTTP timeout when sending the data.  I have another setup, running 0.10.0-beta2, but it does not receive anywhere near the amount of data, so it may take a while before it does a level 3 compaction.

@rossmcdonald #5437 created.

The close of closed channel panic is a duplicate of #5244.

Closing in favor of #5244.


UCP Internal Error: Ubuntu 16.04 on Azure running EE 17.06 (UCP 2.2.10)

19:16:09 fatal: [localhost]: FAILED! => {"changed": true, "cmd": "diver ucp login --username \"admin\" --password \"XXXXXXXXXXXX\" --url \"https://XX.XX.XX.XX\" --ignorecert", "delta": "0:00:00.719360", "end": "2018-07-15 19:16:08.840696", "msg": "non-zero return code", "rc": 1, "start": "2018-07-15 19:16:08.121336", "stderr": "time=\"2018-07-15T19:16:08Z\" level=fatal msg=\"{\\\"message\\\":\\\"unable to login user on auth provider: API Errors: [\\\\\\\"INTERNAL_ERROR: An internal server error occurred. Contact a system administrator for more information. - Detail: map[requestID:ecab3899-4594-4410-a18d-8afed7153e95]\\\\\\\"]\\\"}\\n\"", "stderr_lines": ["time=\"2018-07-15T19:16:08Z\" level=fatal msg=\"{\\\"message\\\":\\\"unable to login user on auth provider: API Errors: [\\\\\\\"INTERNAL_ERROR: An internal server error occurred. Contact a system administrator for more information. - Detail: map[requestID:ecab3899-4594-4410-a18d-8afed7153e95]\\\\\\\"]\\\"}\\n\""], "stdout": "", "stdout_lines": []}

To me this looks as though UCP hasn't fully come up when the login attempt has been made. Can you provide any more info?

@joeabbey did you have the opportunity to determine any more details around this?

I suspect that was the case.  I haven’t seen this happen in awhile. I’ll reopen if I do. 👍


Razorpay says No key passed when trying to Instantiate Razorpay.

I am trying to integrate Razorpay with my Nuxt App. And everything is fine when I run it in test mode. I don't know why but it does not require order_id in test mode.
But when I tried to add order_id field for doing payment in live mode. The below code is required first to Instantiate Razorpay.
Note - Got this from Razorpay Docs Create Order
var instance = new Razorpay({
  key_id: 'YOUR_KEY_ID', //I added my live mode key_id here.
  key_secret: 'YOUR_KEY_SECRET' ////I added my live mode key_secret here.
})

And to create order, this code is given.
instance.orders.create({amount, currency, receipt, notes})

I wrote the code in methods and console.log(instance) to see what is coming in it. But as soon as I pressed the button to run the function. It gave me error No key passed. Even though my keys are correct. Here is my code.
 pay() {
          var instance = new Razorpay({
            key_id: 'my_actual_key_id',
            key_secret: 'my_actual_key_secret',
          })
          console.log('Ins', instance)
          var options = {
            amount: 1000,
            currency: "INR",
            receipt: "order_rcptid_11"
           };
          instance.orders.create(options, function(err, order) {
           console.log(order);
             });
       },

I don't know why it is giving No key passed error.
Is there a mistake in my code?
I cannot find any other way to get order_id. Also unable to find any answer or video that is creating order_id, through this method.
Node v12

Closing this as I figured out the issues and it is working now.

@shubhangchourasia  Sir could you let me know how did you resolved the  Razorpay says No key passed when trying to Instantiate Razorpay issue? iam using react js

@shubhangchourasia Sir could you let me know how did you resolved the Razorpay says No key passed when trying to Instantiate Razorpay issue? iam using react js

I implemented this in Nuxt App. I first wrote the code in frontend inside script tag. That's where I got the No Key Passed Error.
But to make it secure I wanted to write it in the cloud function. So again I tried and wrote the code inside firebase function index.js file. And it some how worked.
Can I see your code.. The code to instantiate razorpay ?
Where is your code, I mean in which file and how you are calling that function. Hide your keys from the code if posting.
Are you using Firebase or any other cloud service ?

I am using Nuxt.js I added script: [{ src: "https://checkout.razorpay.com/v1/checkout.js" }] in nuxt.config.js Is it anykind of restriction for localhost but it works from Postman same code I am using <v-btn @click="order">Order

I am using Nuxt.js I added script: [{ src: "https://checkout.razorpay.com/v1/checkout.js" }] in nuxt.config.js Is it anykind of restriction for localhost but it works from Postman same code I am using <v-btn @click="order">Order

There is not issue with localhost. Everything works fine with both development and production server if the code is correct.
What is the order function in the button ? What happens when you click it ?

      var options = {
        amount: 100000,
        currency: "INR",
        receipt: "Receipt no. 2",
        payment_capture: 1,
        notes: {
          notes_key_1: "Tea, Earl Grey, Hot",
          notes_key_2: "Tea, Earl Grey… decaf."
        },
        handler: function(response) {
          console.log("response", response);
        }
      };
      try {
        console.log("before ", options);
        var instance = new Razorpay({
          key_id: "MY_KEY",
          key_secret: "MY_SECRET"
        });
        console.log("razorpay", instance);

         instance.orders.create(options, (err, order) => {
           console.log(order);
         });
        // instance.orders.create({
        //   amount: 1000,
        //   currency: "INR",
        //   receipt: "R001"
        // });
      } catch (error) {
        console.error(error);
      }
    },```

      var options = {
        amount: 100000,
        currency: "INR",
        receipt: "Receipt no. 2",
        payment_capture: 1,
        notes: {
          notes_key_1: "Tea, Earl Grey, Hot",
          notes_key_2: "Tea, Earl Grey… decaf."
        },
        handler: function(response) {
          console.log("response", response);
        }
      };
      try {
        console.log("before ", options);
        var instance = new Razorpay({
          key_id: "MY_KEY",
          key_secret: "MY_SECRET"
        });
        console.log("razorpay", instance);

         instance.orders.create(options, (err, order) => {
           console.log(order);
         });
        // instance.orders.create({
        //   amount: 1000,
        //   currency: "INR",
        //   receipt: "R001"
        // });
      } catch (error) {
        console.error(error);
      }
    },```

The code looks fine as of now.
Are you able to create the order?
What's the message in these consoles
console.log("response", response);
console.log("razorpay", instance);
console.log(order);

amount: 1000
currency: "INR"
handler: ƒ handler(response)
notes: {notes_key_1: "Tea, Earl Grey, Hot", notes_key_2: "Tea, Earl Grey… decaf."}
payment_capture: 1
receipt: "Receipt no. 2"
__proto__: Object

    at Z (checkout.js:1)
    at new Gi (checkout.js:1)
    at _callee$ (payment.vue?accd:30)
    at tryCatch (runtime.js?96cf:63)
    at Generator.invoke [as _invoke] (runtime.js?96cf:293)
    at Generator.eval [as next] (runtime.js?96cf:118)
    at asyncGeneratorStep (asyncToGenerator.js?1da1:3)
    at _next (asyncToGenerator.js?1da1:25)
    at eval (asyncToGenerator.js?1da1:32)
    at new Promise (<anonymous>)

amount: 1000
currency: "INR"
handler: ƒ handler(response)
notes: {notes_key_1: "Tea, Earl Grey, Hot", notes_key_2: "Tea, Earl Grey… decaf."}
payment_capture: 1
receipt: "Receipt no. 2"
__proto__: Object

    at Z (checkout.js:1)
    at new Gi (checkout.js:1)
    at _callee$ (payment.vue?accd:30)
    at tryCatch (runtime.js?96cf:63)
    at Generator.invoke [as _invoke] (runtime.js?96cf:293)
    at Generator.eval [as next] (runtime.js?96cf:118)
    at asyncGeneratorStep (asyncToGenerator.js?1da1:3)
    at _next (asyncToGenerator.js?1da1:25)
    at eval (asyncToGenerator.js?1da1:32)
    at new Promise (<anonymous>)

I will run the code and get back to you.

I checked page source .

I moved the code to backend server it works in 1st shoot let me connect with support team I think it didn't work on localhost but it works from Postman and other rest client I think Instantiation required some more options.

Any solution for this issue ?

@aryangupta24 yes


Option to launch Dashboard as insecure (to use it with reverse proxy)

As stated in issues on kubernetes/dashboard like https://github.com/kubernetes/dashboard/issues/2469, the suggested dashboard setup does not allow for reverse-proxy configurations.
This PR allows you to use dashboard_enable_insecure_port to disable certificate generation, and use standard 9090 insecure port.
Enabling this:

You cannot access dashboard this way https://first_master:6443/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/#!/login
It is possible to configure an Ingress forwarding service kubernetes-dashboard on port 9090

ingress-nginx example:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: kubernetes-dashboard
  namespace: kube-system
  annotations:
    kubernetes.io/tls-acme: "true"
    kubernetes.io/ingress.class: "nginx"
spec:
  tls:
  - hosts:
    # CHANGE ME
    - my.favourite.server
    secretName: dashboard-tls
  rules:
  - host: my.favourite.server
    http:
      paths:
      - path: /
        backend:
          serviceName: kubernetes-dashboard
          servicePort: 9090

I am back after months, and Yes, @chadswen you are correct.
It's possible to use an Ingress on a secure dashboard.
I will paste here an example Ingress. There is nowhere on the Internet an example of a working cert-manager + Kubernetes Dashboard Ingress guide.
I am promising myself to make a short medium post, but I am a professional procrastinator.
In the meantime, an Ingress:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: dashboard-ingress
  namespace: kube-system
  labels:
    k8s-app: kubernetes-dashboard
  annotations:
    kubernetes.io/ingress.class: nginx
    nginx.ingress.kubernetes.io/ssl-redirect: "true"
    nginx.ingress.kubernetes.io/secure-backends: "true"
    # type of authentication
    nginx.ingress.kubernetes.io/auth-type: basic
    # name of the secret that contains the user/password definitions
    nginx.ingress.kubernetes.io/auth-secret: htpasswd-dashboard
    # message to display with an appropiate context why the authentication is required
    nginx.ingress.kubernetes.io/auth-realm: "Authentication Required - Dashboard"
spec:
  tls:
  - hosts:
    - AWESOME.HOST.HERE
    secretName: SECRET-CONTAINING-TLS
  rules:
  - host: AWESOME.HOST.HERE
    http:
      paths:
      - backend:
          serviceName: kubernetes-dashboard
          servicePort: 443

I'm using traefik ingress for kubernetes dashboard. The dashboard is exposed through https by Traefik (using Let's Encrypt certificate).
When I access the dashboard, I got this error:
Internal Server Error

Here's the log from kubernetes-dashboard pod:
2018/10/23 09:55:19 http: TLS handshake error from <IP_ADDRESS>:47616: remote error: tls: bad certificate

Here's my ingress file:
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: k8s-dashboard-ingress
  labels:
    app: k8s-dashboard-ingress
    heritage: Tiller
    namespace: kube-system
  annotations:
    kubernetes.io/ingress.class: traefik
spec:
  rules:
    - host: k8s-dashboard.example.com
      http:
        paths:
          - path: /
            backend:
              serviceName: kubernetes-dashboard
              servicePort: 443

@colthreepv anything that I'm missing here?


0.5 doc page not published

https://docs.rs/socket2/0.5.0/socket2/index.html
"The requested version does not exist"
Is there something going wrong here?

It takes a minute for docs.rs to update with the latest docs after a release.

Ah, I see it's a few hours behind the latest crates being published.

This is not something we control, we just publish to https://crates.io and docs.rs will pick up automatically. The docs should be ready by tomorrow.

Unfortunately, the docs.rs build has failed: https://docs.rs/crate/socket2/latest

Log is here https://docs.rs/crate/socket2/0.5.0/builds/752625, I'll look into it tomorrow.


Get a specific line

Is it possible to add .get(line) to retrieve a specific line?

@nidkil - thanks for your question.
How do you need to retrieve the line? A literal string match (or by pattern) or by a specific line number?
Are you editing the file or purely looking to retrieve a specific line i.e read-only

@nidkil - Closing this issue for now. Happy to re-open if this is something you want to discuss as a potential feature i.e read/search

@nidkil  - the ability to fetch a line(s) will be added in 1.4.0. Expected to be released within 48 hours.

@nidkil - this could also be done very the asArray method.
Note - this would read the entire file, which may not be desirable.


Add Bootstrap to project

When I add this line  import 'bootstrap/dist/css/bootstrap.css'; to my react component my bootstrap classes are applied. but if I remove this line, they won't.
I have seen in @coryhouse courses in Pluralsight that he just writes ClassName="someClass"and it works.
what shall I add to Slingshot to be able to use Bootstrap classes without the need of having the import 'bootstrap/dist/css/bootstrap.css'; on top of every component?

You don't need to import (or require) bootstrap in every component file, you should only need to do it once in index.js.

Thank you @raythree
You are definitely right. It worked. But Shouldn't I add it somewhere in Webpack?

No, Webpack just bundles what you tell it to, and the place to do that is index.js for application wide assets like bootstrap.

Thanks for the assistance @raythree.

Closing as this is out of the scope of the project.


Fix Package diameter property

According to new version of Correios' documentation, the package diameter only needs to be calculate if the object type is equal 003, cylinder, otherwise must return 0, as we can see in the image below.

done @cacarrara

assim  que passar no CI eu já faço merge...
posso fazer release na sequencia?

Sim, pode fazer :)