Attempting to place road node, doesnt place, selects terrain

Unity 2019.2.10f1
So basically, I hold control and click to place a node, but it doesn't place, instead it selects the terrain behind it. I am on the linux version if that changes anything.

Do you have the road system object selected when you attempt to create a node? Did you restart Unity after installing Road Architect? Can you try my fork and see if it works?

Do you have the road system object selected when you attempt to create a node? Did you restart Unity after installing Road Architect? Can you try my fork and see if it works?

Ill give it a shot, thanks man!

EDIT: this still happens, ot sure whats up, I am going to test an older version of unity

I have used it with 2019.2 on Linux before and it worked fine, so I'm surprised that you are having issues.

I have used it with 2019.2 on Linux before and it worked fine, so I'm surprised that you are having issues.

Huh that's very weird. maybe it has to do with assets I have imported currently?

Hello JoshCodeStuff,
I tested it today at 2019.2.4f1 and got some problems.
First of all, did you place the RoadArchitect files into the Assets/RoadArchitect folder?
This is the only fully supported path for the RoadArchitect files as of now.
For me my 2019.2.4f1 problem on windows was fixed after updating all installed packages in the package manager.
Maybe updating this packages helps?
Best Regards,
Fritzs

Hello JoshCodeStuff,
I tested it today at 2019.2.4f1 and got some problems.
Yes to this > First of all, did you place the RoadArchitect files into the Assets/RoadArchitect folder?
This is the only fully supported path for the RoadArchitect files as of now.
For me my 2019.2.4f1 problem on windows was fixed after updating all installed packages in the package manager.
Maybe updating this packages helps?
Best Regards,
Fritzs

I deleted and reinstalled it and it works now. not sure how, thank you everyone!

I had the same issue and decided to try to debug the code. Turns out the OnSceneGUI method doesn't run at times and the handling of control+click happens there.
I was using multiple inspectors on multiple monitors. I just changed to the default editor layout and it started working. Then I changed back to my preferred editor layout and it kept working.


Fix typo in PowInvitation readme

Resolves #242

changeset_organization in the example has only 2 params..., the attrs param should be removed.

Sorry, didn't catch that. Updated, thanks!


Can not set 0.5 for rating values

Please consider submitting the following information (if relevant):

Library setup method: CocoaPods
Version of the library. Example: 16.0.
Xcode version. Example: 9.4.1.
OS version. Example: iOS 11.

i set Fil Mode to 1, and i can set 1, 1.5, 2, 2.5, 3, 3.5....
But i can not set 0.5 for rating values

Hi, this might help:
cosmosView.settings.minTouchRating = 0

Please see the settings manual for more details.

wow!!!
it works!!! thanks for solution.


Add document for dubbo output binding

What content needs to be created or modified?

Describe the solution you'd like

Where should the new material be placed?

The associated pull request from dapr/dapr, dapr/components-contrib, or other Dapr code repos

Additional context

https://github.com/dapr/components-contrib/pull/1768

@LaurenceLiZhixin - Can you do this soon, given the code PR has just been merged.

@LaurenceLiZhixin - Ping?

I am sorry that I have no time to write documents due to the progress of the company's project recently, I expect to be free next week.
@msfussell

@LaurenceLiZhixin wanted to check back on this. Do you have any availability this week to work on these docs?

@yaron2

This component is stable - but the documentation is still missing!

cc @dapr/maintainers-docs

@LaurenceLiZhixin I opened a PR ^^ to take a stab at this, but might be easier if you contributed this doc -  would you be able to do this for 1.11, by the end of the month?

@ItalyPaleAle @berndverst  - As components contrib maintainers can you one of you please write these docs?

Please note that there are 4 maintainers for contrib, also @artursouza and @yaron2  :) I'm not familiar with this binding at all, I can take a look if I have some time in the next weeks...

@msfussell @artursouza @yaron2 @ItalyPaleAle @berndverst - there was discussion around removing this component since no one knows about it to document it and the contributor is giving radio silence... are we planning on doing that?

closing bc no one can document this.


Wallpaper Issues on a 4k Screen. (Qt 5.6 issue?)

Hello.
Im currently using Lumina on Void linux to see how this DE fares against others on 4k resolution.
While most Things do work flawless (e.g no tearing during Full screen videos, even without xcompmgr) Wallpapers do not.
Using wallpaper on 4k resolution leads to strange tiling issues. It doesn't matter if you use Automatic-, Fullscreen-, Fit Screen- or Center-Layout it always looks the same

1080p Wallper on 4k resolution is having a similar problem.
Tiled Layout

Automatic/Fullscreen Layout

On FullHD resolution everything works as expected.
I will close this issue should it turn out to be a Voild linux PKG related problem.
Tested on:
Lumina 1.0
Fluxbox 1.3.7_2
Nvidia closed source driver.
best Regards

Two questions... 1) What version of X are you running?  2) Can you find out
when the Void package team grabbed the Lumina sources from github so we can
try to figure out what commit it is using.
We just recently saw this crop up and we're trying to track down the
cause.  If it's happening on both Linux and BSD, that may help us track
down the issue.
On Mon, Oct 10, 2016 at 11:44 AM, Somnium42<EMAIL_ADDRESS>wrote:

Hello.
Im currently using Lumina on Void linux to see how this DE fares against
others on 4k resolution.
While most Things do work flawless (e.g no tearing during Full screen
videos, even without xcompmgr) Wallpapers do not.
Using wallpaper on 4k resolution leads to strange tiling issues. It
doesn't matter if you use Automatic-, Fullscreen-, Fit Screen- or
Center-Layout it always looks the same
[image: 4kwp]
https://cloud.githubusercontent.com/assets/15572960/19241854/d13e988e-8f10-11e6-87d5-18e55c497a74.jpg
1080p Wallper on 4k resolution is having a similar problem.
Tiled Layout
[image: 1080ptiled]
https://cloud.githubusercontent.com/assets/15572960/19241861/dc004772-8f10-11e6-9925-d7bf9cbcb333.jpg
Automatic/Fullscreen Layout
[image: standartwp]
https://cloud.githubusercontent.com/assets/15572960/19241862/dc198ad4-8f10-11e6-92e2-afefc56eba78.jpg
On FullHD resolution everything works as expected.
I will close this issue should it turn out to be a Voild linux PKG related
problem.
Tested on:
Lumina 1.0
Fluxbox 1.3.7_2
Nvidia closed source driver.
best Regards
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/trueos/lumina/issues/284, or mute the thread
https://github.com/notifications/unsubscribe-auth/AEcEp-hL_k3TBUI-N9fXyxt25IxI56Muks5qyl1HgaJpZM4KStSj
.

I just did a reboot with the 1080 wallpaper still active, this also leads to de desktop widgets being displayed on the wrong place

Xorg -version
X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
According to https://github.com/voidlinux/void-packages/tree/d19eefb899eb023fc7d8ae28860579f5ba690f56/srcpkgs/lumina on August 9th. But im not sure if this is the right way to find out when they grabbed the sources since they could actually use the newest ones and only the template got changed 2 months ago.

Not sure if This could be connected but if i look at the User agent of my browser it says:
Screen Resolution:	2258px x 1270px
Browser Window Size:	2243 px x 1181 px
This is bogus, the actual resolution if Ofc 3840X2160.
According to the screenshot, the second tile begins at pixel 2050, maybe something is reporting the wrong resolution?
Im going to try it on an different DE and look at the user Agent then

Thanks for the info. Initially I thought it was something on the BSD OS
side, but with it showing up in Linux as well that means it has to be
something that's similar between both.  So that narrows down the
possibilities of what it could be.
On Mon, Oct 10, 2016 at 12:39 PM, Somnium42<EMAIL_ADDRESS>wrote:

Not sure if This could be connected but if i look at the User agent of my
browser it says:
Screen Resolution: 2258px x 1270px
Browser Window Size: 2243 px x 1181 px
This is bogus, the actual resolution if Ofc 3840X2160.
According to the screenshot, the second tile begins at pixel 2050, maybe
something is reporting the wrong resolution?
Im going to try it on an different DE and look at the user Agent then
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/trueos/lumina/issues/284#issuecomment-252674348, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AEcEp9xesjMtBcAlYW0ZXAJlDf7J1y90ks5qympLgaJpZM4KStSj
.

@Somnium42 : Which version of Qt do you happen to be using on Void Linux?
I am looking into this same issue right now, and it almost seems to be something in Qt 5.6 (at least on FreeBSD), since that is the only thing that changed recently and the wallpaper used to paint just find on 4K+ monitors with Qt 5.5.1.

Void is using qt5-5.6.1_3.

Just installed LXQT to check if it also has similar problems and yes it has.
Using the same qt version in lxqt leads to the same thing but if you mark with your mouse it reveales the fullsize wallpaper under the 2nd tile that is starting until you open a window/wait a few secounds.

I reproduced the painting issue where you can "uncover" the real wallpaper underneath the tiled image within Lumina by moving a desktop plugin around on desktop.
I think we have to chalk this one up as a bug in Qt 5.6, but I will keep looking around for a "bypass" for the issue if possible.

Since we've determined that this is a QT issue, I'm going to close the issue as it's out of our hands.


Including Line Breaks in Headers

Hi Allen,
When attempting to format the text in my headers, I have tried all the usual methods (\n, HTML break, etc.), but nothing seems to work. I cannot consistently get line breaks I need, and instead have to resort to guess and check on column sizing.
Am I missing something here? Do you know why the header columns ignore line break characters?

@ALuongIBM because the width of header cell is flexible, the only way you can do is

add the width on the specific th
give overflow-wrap: break-word; on that th

Let me know if the issue still remain, thanks

Thanks for the quick response!

@ALuongIBM sorry for lately reply, I think you already know where you should put the break line, the best way to do it so far will be column.headerFormatter, use it to custom the header content


v0.23 support

Hi!
Do you plan to support current newest version?
Thanks!

Hi, yes, I'm currently working on it. There are a couple of non-trivial changes that still requires work, but I'm getting there

Released in v0.23.0


Throttle middleware

This is a nicer way of implementing the throttling.
I won't merge it yet as I should write some tests.

Making the period configurable from the settings is definitely a good idea :+1:
The settings file could get out of hand at some point though :sweat_smile:

I'd like to do a quick profiler check on this before we merge it

Let's add a description of what a profiler check entails to the wiki page.

Performance appears to match the previous throttle set up we had, so this can be merged :+1:


Fatal signal 6 (SIGABRT ) after calling : new PickerDialogFragment().show(getFragmentManager(), "dialog");

what can it be?
thanks for the awesome library!

i found my bug sir,
the problem was that i created in my project an xml file named : time_duration_picker.xml
and that did a conflict with yours probably
thanks

Thanks for reporting that it is solved.


Remove delete button

Description
Remove delete button and add delete all action
Changes
Screencast from 21-04-24 17:17:26.webm
Related Issues

https://github.com/threefoldtech/tfgrid-sdk-ts/issues/2561

Checklist

[ ] Tests included
[x] Build pass
[ ] Documentation
[x] Code format and docstrings
[x] Screenshots/Video attached (needed for UI changes)

Does the loader color want to be red?


Support for UNIX sockets in the Controller

Currently the Controller only seems to support listening on AF_INET and AF_INET6 ports. It is sometimes (especially for LMTP) desirable to listen on a UNIX socket, so it would be great if support for that would be added to the Controller.

Reflecting on https://github.com/aio-libs/aiosmtpd/pull/171#issuecomment-736217132 , if someone is interested in picking up this Issue, I strongly recommend to create a new subclass of Controller instead of overloading Controller with more functionalities.
Maybe a UnixSocketController(Controller) class?

If someone can take #247 out for a spin, it would be swell 🥰


Make Java launcher a nested input for Scala compilation

Similarly to JavaCompile and GroovyCompile, the toolchain tool used in the task should be a non-internal input to that task. In case of the ScalaCompile it is a JavaLauncher, i.e. a JVM in which Scala runs the compilation.

@bot-gradle test qfl

OK, I've already triggered the following builds for you:

QuickFeedbackLinux build

@bot-gradle test this

OK, I've already triggered the following builds for you:

PullRequestFeedback build

@bot-gradle test qfl

OK, I've already triggered the following builds for you:

QuickFeedbackLinux build

@bot-gradle test and merge

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.


Window size not restored after returning from full screen

From<EMAIL_ADDRESS>on 2011-03-31T13:21:51Z
What steps will reproduce the problem?

Enter full screen mode
Leave full screen mode What is the expected output? What do you see instead? That the spyder window would have the same size as before entering full screen. Now the window becomes very wide (wider than screen) and can not be dragged smaller (larger works) What version of the product are you using? On what operating system? spyder from repository, mac osx 10.6.7, EPD python distribution

Please provide any additional information below
.
Original issue: http://code.google.com/p/spyderlib/issues/detail?id=605

From pierre.raybaut on 2011-05-16T01:29:53Z
Labels: Cat-SpyderGUI

From ccordoba12 on 2011-05-04T13:31:57Z
This is true on Linux and Windows too, although without the nasty effect described by Petrush.
I think the window size has to be registered before going full screen so that after returning from it, it could recover its proper size.
Summary: Window size not restored after returning from full screen
Status: Accepted

From<EMAIL_ADDRESS>on 2011-05-20T15:25:59Z
Tried 2.1.0dev updated just now, and bug is still there on mac osx 10.6. Tried to delete all old spyder stuff and reinstall but no change.

From pierre.raybaut on 2011-05-20T12:18:23Z
Following recent changes in the development version, this could be fixed.
Could you please check this?

From ccordoba12 on 2011-05-22T09:05:17Z
Thanks Pierre, it's working great now!

From pierre.raybaut on 2011-05-22T06:03:05Z
This issue was closed by revision 2e17400bd5b5 .
Status: Fixed

From ccordoba12 on 2011-05-20T17:13:43Z
Now it's working better. If you go full screen from a non-maximized window, then switching back preserves the size correctly.
The only problem that remains to be solved is when spyder is maximized. After switching back, you don't return to a maximized window, but to a non-maximized window which size is equal to the last non-maximized window you defined.
Status: Started


Damage rolls are supposed to override the default roll mode to be public rolls, but they don't.

When rolling in Private GM Roll mode, pf2e is supposed to override this mode for damage rolls, always making damage rolls public. It does set the roll mode to Public Roll in the damage roll menu, but then the roll itself isn't actually made public, and my players can't see it or click the damage. Notably, if I instead manually select Public Roll in the damage roll menu, then it does properly override my default roll mode. But when it's automatically set to public in the menu, it fails to override unless I manually unselect and then reselect Public Roll in the dropdown.

What my players see:

is this the reason it keeps setting the damage roll to public and I have to set it to private every time I roll damage as GM?

Whatever issue you're having seems to be unrelated. This is about a desync between the dialog's display and the result, an issue that has been fixed for a few months now.
I suspect you're trying to override the roll mode in the dialog and expecting it to keep. For it to apply to all rolls, you have to change it in the chat sidebar at the bottom.


pull request for e2e test at 11/19/2016 16:26:08

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

optest/docs/updated_at.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Platform+Flow: Add locale API and nodes V3.

Changes since v2:

Renase with master (timezone commit is now marged).
Added a sentinel at "sol_str_table map" as sugguested by @lpereira

once fixed the problems spotted feel free to push directly. The commit is good, just small things to fix.

Check #1215


BytesMut should implicitly grow the internal storage in its BufMut implementation.

This will bring the implementation in line with that of Vec. This is a breaking change.
Relates to #131, #77.

Can you explain why this is a breaking change? Do you think users are relying on the fact that the buffer does not  grow implicitly?

Yes, users (well, I am at the very least) are relying on the fact that the buffer does not grow implicitly.

I'm very much in favor of this; or in providing another type (BytesExt) or a newtype wrapper (see below) that defaults to extend the allocation by default.
Even with #199 fixed there are still some places where not extending is imho neither expected nor useful:

Extend: the name already suggests it should allocate (#159 discussed whether it is "safe"; yes, but...)
std::fmt::Write: estimating the required space is hard with utf8 Strings and so on

Maybe ButMut could also solve this by adding another trait BufMutReserve that provides an abstraction to reserve more space if the BufMut implementation for the type doesn't allocate itself (i.e. the implementation for Vec<u8> would for now be a noop), and a newtype wrapper for any BufMut+BufMutReserve, for which the BufMut implementation would automatically reserve the needed space.

If this is functionality that you require immediately, could you define a wrapper type for now?

I'm in favor with the reserve function, which leave more flexibility for users to control how the capacity grows.

For the implicitly allocating case, what I would like to have is an adapter type that wraps BytesMut, implements str::fmt::Write and all the put* methods like on BufMut but in a grow-as-needed fashion, internally forming a sequence of chunks from the underlying buffer with take() to avoid reallocations with copying. The chunks could then be handed off as a Buf for iovec output.
This will allow simple non-reallocating implementations of structured/framed/serde output in a way the current facilities do not provide.

For the implicitly allocating case, what I would like to have is a type that (to largely reuse the current code) wraps BytesMut, implements std::fmt::Write and all the put* facilities of BufMut but in a grow-as-needed fashion, internally forming a sequence of Bytes chunks with take() from the underlying buffer as it gets filled up, in order to avoid copying reallocations. The chunks can then be handed off in a Buf for iovec output or iterated over otherwise.
This could allow simple implementations of non-reallocating structured/framed/serde sinks in a way that current Tokio interfaces do not provide.

Any updates on this?

Still scheduled for 0.5 :)

For the implicitly allocating case, what I would like to have is a type that (to largely reuse the current code) wraps BytesMut, implements std::fmt::Write and all the put* facilities of BufMut but in a grow-as-needed fashion, internally forming a sequence of Bytes chunks with take() from the underlying buffer as it gets filled up, in order to avoid copying reallocations. The chunks can then be handed off in a Buf for iovec output or iterated over otherwise.

To follow up on this, here is ChunkedBytes that I wrote as part of a larger project: https://github.com/mzabaluev/tokio-text/blob/master/src/chunked_bytes.rs
I think something like this would be more efficient than serializing into a contiguous growing BytesMut.


[W3C API] Implement the device-radius media feature in CSS Media Queries

BUG=XWALK-4734
I would like to contribute the 'device-radius' media feature as one of the CSS Media Queries' new features, so I asked for two pull requests in chromium-crosswalk and blink-crosswalk. After all codes are merged and built well, it can be tested the command below.
xwalk http://anawhj.github.io/crosswalk-test-suite/webapi/webapi-rounddisplay-w3c-tests/ --round-display
Modified files in chromium-crosswalk

content/browser/renderer_host/render_process_host_impl.cc
content/browser/renderer_host/render_widget_host_impl.cc
content/public/common/content_switches.cc
content/public/common/content_switches.h
content/common/view_messages.h
content/renderer/render_widget.cc

I think that we need to set the deviceRadius value by getting Android device information.

I drop this thread and retry the progress.


refs #1950 an attempt at fixing nightly build hangs of phantomjs

See: https://github.com/seleniumhq/selenium/issues/767

@alexlemann - Alex, had pointed Jenkins nightly build at this branch and the tests still hang on phantomjs.
Looks like we'll require a more nuclear option if we want to keep this in the main build stack for nightlies.

closing this out with #1970 open.


Implement additional metadata for Artist

The AlbumGroups containing Vec<Albums> is not flattened into a single Albums since the each contained Albums is a collection of different versions of the same album
So to get the current version of an album only the first Album of each Albums in AlbumGroups has to be used
The portrait_group in Biography is flattened since there is no point in the additional abstraction and it only needs to be implemented once

Please check and verify that I implemented the concepts in the correct way. I tried to reference the implementations of the other metadata types for this

I added convenience functions to just get the current / latest version / release of each album from an artist. This is what you would want 99% of the time as it gives you a list of the albums without duplicates, just as you would get on spotify.
I'm not sure about the naming of these functions. If there are any other suggestions feel free to change it or comment and I will change it

Actually collecting the Iterator<Item = SpotifyId> into Artists is not great since it will alloc the Vec every time. I did this mainly to be consistent with Album::tracks, but it might be a good idea to change both of those to just return the iterator instead.
One slightly annoying thing about that would be that the item type has to be the same type T that is in Artists(pub Vec<T>) and the same for Track. If that type changes like in #1018 the Iterator types have to be updated manually as well since there is nothing like Artists::InnerType or similar type abstractions

This is great work man :heart: this looks good to me. Are you ready to merge? Maybe add some documentation what these *_current helper methods do -- it may not be immediately obvious that there are otherwise multiple versions of an item.
I like your suggestion to return an iterator. This would warrant a separate PR not just for this struct, but have it ubiquitous throughout metadata. In playlist/list.rs you see that the Playlist struct is decorated on top of an inner SelectedListContent. Maybe that can serve as an example for having inner structs.

Good point with the comments! Other than that it's ready to merge. I'll add some comments and then you can merge it

Great, let me know when you're good to go.

:+1: will squash and merge now.

Sorry, I missed cargo fmt. I force pushed over the last commit


build: Update to header 1.3.280

Update known-good
Generate source

CI Vulkan-Tools build queued with queue ID 147259.

CI Vulkan-Tools build # 1382 running.

CI Vulkan-Tools build # 1382 passed.

How many of the repo's do you update that I end up approving? I feel like its everything except VVL at this point.

Yep! Although I may be replaced with a robot soon. I've been testing action-based header updates in my fork: https://github.com/mikes-lunarg/Vulkan-ValidationLayers/pull/13

Yep! Although I may be replaced with a robot soon. I've been testing action-based header updates in my fork: mikes-lunarg/Vulkan-ValidationLayers#13

FYI I did figure out how to automate tagging of the repo using just an action, which is pretty nifty. https://github.com/charles-lunarg/vk-bootstrap/blob/main/.github/workflows/create_tag.yml if you are curious


chore(deps): update module github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper to v1.3.1

This PR contains the following updates:

Package
Type
Update
Change

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
patch
v1.3.0 -> v1.3.1

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper
v1.3.1
Compare Source
Bug Fixes

deps: update module github.com/go-git/go-git/v5 to v5.5.2 (#297) (e69b2bf)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, click this checkbox.

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 2.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[PROCS-4355] Remove flake marks from ECS tests

What does this PR do?
Removes flake marks for ECS tests as they have not flaked in the last 2 weeks outside of when there was an incident.
https://app.datadoghq.com/ci/test-runs?query=test_level%3Atest%20%40test.service%3Ada[…]d=2163063&start=1730807837652&end=1732103837652&paused=false
Motivation
Describe how to test/QA your changes
Possible Drawbacks / Trade-offs
Additional Notes

/merge


TODO reminder emails

Toggle switch for Roam42 that enables Roam42 to scrape your Roam for your TODO items and sends you an email at the frequency of choice

upon switching on, user can input email address to which reminders can be sent
user can also select frequency for either daily or weekly reminders

Roam42 Issue Log Audit - Could become a RoamJS service


Fix list files RESTful API

Fix the bug that list files RESTful API doesn't work caused by the code doesn't handle FullHttpResponse.

alluxio-bot, merge this please


Edge Runtime support

I'm trying to use this package in a Next.js Edge API Route or a Middleware.
These two places use a special Edge Runtime which has constraints different from Node.js, for example Buffer does not exist there.
At the moment getHashedName and computeUserHash are using the sha.js package which internally uses Buffer. This prevents the package from being usable from Edge Runtime.
Both Edge Runtime supports and Node.js support SubtleCrypto mdn, (edge-runtime) so it might be possible to switch both functions to this implementation.
This change would allow the package to be used from Next.js Middleware and Edge API Routes.

Interesting, thanks for the detailed issue.  We will look into it


fix: padding issues with dropdown

📑 Description
Corrections to dropdown padding and hovering issues.
✅ Checks

[x] My pull request adheres to the code style of this project
[x] My code requires changes to the documentation
[x] I have updated the documentation as required
[x] All the tests have passed
[x] My pull request is based on the latest commit/version

ℹ Additional Information

Can you check the dependecies-update, so that I can merge it to the main.
https://github.com/themesberg/flowbite-svelte/issues/163

Thank you for the PR.
Dropdown with search example has a wrong width. Can you update it please?

Corrected.

Can you have a look at this issue please?
With the screen size is less than 760px, there is a line as in the following image.
https://flowbite-svelte.com/dropdowns#Avatar_with_name

https://flowbite.com/docs/components/dropdowns/#avatar-with-name

That line comes from Dropdown.svelte:
export let labelClass: string = '... border-b border-gray-100 md:border-0 md:hover:text-blue-700 md:p-0 md:w-auto dark:text-gray-400 dark:hover:text-white md:dark:hover:bg-transparent ...';

You can spot some md: classes there. I have not touched that, and I don't know why that bottom border management is there.

Thanks for pointing out the issue. I will have a look.


RFP - asymptote

Checklist

[x] The package I am requesting does not already exist on https://chocolatey.org/packages;
[x] There is no open issue for this package;
[x] The issue title starts with 'RFP - ';
[x] The download URL is public and not locked behind a paywall / login;

Package Details
Software project URL : https://asymptote.sourceforge.io/
Direct download URL for the software / installer : https://sourceforge.net/projects/asymptote/files/2.69/asymptote-2.69-setup.exe/download
Software summary / short description:
Asymptote is a powerful descriptive vector graphics language that provides a natural coordinate-based framework for technical drawing. Labels and equations are typeset with LaTeX, the de-facto standard for typesetting mathematics.
A major advantage of Asymptote over other graphics packages is that it is a programming language, as opposed to just a graphics program.
If there is a package in https://chocolatey.org/packages/asymptote, but it is not functional.

Asymptote v2.69 is up and waiting for review by moderators.

I tried to use in the test of a project.  However, for some reason, I can not get that asy.exe appears in the path. Any clue?
See logs in

@mmatera I guess because the installer doesn't add the path?  The Chocolatey package does nothing more than run the installer silently (and fix a little bug with where the start menu shortcut sits).  If you run the installer manually, asy.exe isn't on the path either.
I suppose I could have the path to asy.exe added, I just didn't know that was wanted.

OK.  Adjusted package pushed.  Try it again.

The package version 2.69 is approved.


vision/product-search/cloud-client - possibly flaky test.

Test appears flakey.  I'm unable to run this using GOOGLE_CLOUD_PROJECT=java-docs-samples-testing and the same Service account as Kokoro.  See #2170

Yea, I think I just need to switch it to UUIDs and rework the tests a bit. Did a bit of a fix earlier this week on some of them that were failing.


Fully document the ProviderInterface

Move existing documentation from AbstractProvider and fill in any missing docblocks.

@ramsey I'm not sure why this build failed only on HHVM... any clue?

The failure message on HHVM is:
Fatal error: Class Mock_AbstractProvider_c5873f51 contains abstract method (urlAuthorize) and must therefore be declared abstract or implement the remaining methods in /home/travis/build/thephpleague/oauth2-client/vendor/phpunit/phpunit-mock-objects/src/Framework/MockObject/Generator.php(301) : eval()'d code on line 1

I'm not sure why it's specific to HHVM, though.

@ramsey found the issue, it's a HHVM bug: sebastianbergmann/phpunit-mock-objects#223 and facebook/hhvm#5170. Should I apply the work around (define the methods in the abstract class) or are we okay with breaking HHVM usage?

Is this only because our mock provider doesn't fully implement all the methods? Or is it a general issue with abstract classes in HHVM, where they always need to implement the full interface?
If it's only an issue with our mock provider for the tests, then please define the methods in the mock object for the test. Otherwise, let's think about it for a bit. I want to follow up with HHVM folks to see if this is something they'll be fixing in future versions.

@ramsey based on the HHVM issue I referenced, it looks like they intend to fix it, but have no timeline for doing so. I think the best thing to do for now would be to implement all the methods in the abstract.

Okay. That's fine. When HHVM does fix it, we can remove them.

Coverage decreased (-1.56%) to 83.14% when pulling 4d998f557dd7cda4f09d37098b94c320b3894736 on shadowhand:feature/v1-interface-docblocks into b9e6b7257fb832fc241dcaf4f82f8fff43928d61 on thephpleague:1.0.

Strange the coverage decreased, since no actual code was modified. I guess it's because of the added abstract methods.
Also, I made a quick script to check these after I kept missing methods.

Thanks!


Document the rest of the refinement rules

@jonsterling @favonia This is ready to be reviewed

@jonsterling One other idea: I suggest replacing #t(n-1) (which is not a valid name in RedPRL) by #t/n-1. I've added one commit doing this for 'hcom/eq/tube'. If you agree, I will do this for all other composition rules.

@timjb I like your idea for names!

@jonsterling I've applied the new naming scheme in all rules. Let's merge now?


Python -- Could not determine delimeter

Hello and thank you for the work on KiField -- you have saved many hours of wasted time for people all over the world.
I'm unable to use KiField for some reason with .tsv's and .csv's, but a .xlsx file works.
Python explains that the csv.Sniffer() raises the error "Could not determine delimeter" (the output message is below).
Is there any other debugging I can do? The --debug flag doesn't produce any more information.
Attached are the .sch, .tsv, .csv, and .xlsx files in a .zip.
python-delimeter_repro-files.zip
Mint 18 16.04
KiField 0.1.4
ab@ab-mint1604 ~/src/folktek/official/33-34_synesthesia/34_comp $ kifield --extract fields.csv --insert envelope-gen_LM358_DFN8.sch --overwrite --debug Traceback (most recent call last):   File "/usr/local/bin/kifield", line 9, in <module>     load_entry_point('kifield==0.1.4', 'console_scripts', 'kifield')()   File "/usr/local/lib/python2.7/dist-packages/kifield-0.1.4-py2.7.egg/kifield/__main__.py", line 147, in main     exc_field_names=exc_fields)   File "/usr/local/lib/python2.7/dist-packages/kifield-0.1.4-py2.7.egg/kifield/kifield.py", line 998, in kifield     part_fields_dict = extract_part_fields(extract_filenames, inc_field_names, exc_field_names)   File "/usr/local/lib/python2.7/dist-packages/kifield-0.1.4-py2.7.egg/kifield/kifield.py", line 574, in extract_part_fields     f_part_fields_dict = extraction_functions[f_extension](f, inc_field_names, exc_field_names)   File "/usr/local/lib/python2.7/dist-packages/kifield-0.1.4-py2.7.egg/kifield/kifield.py", line 321, in extract_part_fields_from_csv     wb,_ = csvfile_to_wb(filename)   File "/usr/local/lib/python2.7/dist-packages/kifield-0.1.4-py2.7.egg/kifield/kifield.py", line 125, in csvfile_to_wb     dialect = csv.Sniffer().sniff(csv_file.read(1024))   File "/usr/lib/python2.7/csv.py", line 188, in sniff     raise Error, "Could not determine delimiter" _csv.Error: Could not determine delimiter
python-delimeter_repro-files.zip

Hey @4b11b4, I think I have fixed your issue with PR #18.
For future reference I believe you can get the most debugging info by setting --debug=3. Mostly I just use print where I need to and remove it before committing. The way I get a quick edit test cycle is by doing something like:
pip install -U <path to KiField> && kifield --extract foo.sch -i bar.csv

Which installs the latest (edited) code and runs my test in one swoop.

Hi, I might be a bit late to the party but I also had the same error for some csv files. I searched around and found a solution here, which worked for me:
Old:
dialect = csv.Sniffer().sniff(csv_file.read(1024))
New
dialect = csv.Sniffer().sniff(csv_file.readline())

@libbil, yes, waiting for this change to be merged in with #18

great, well done

I got this with latest version:
/opt/homebrew/Cellar/csvkit/1.1.0/libexec/lib/python3.11/site-packages/agate/utils.py:274: UnnamedColumnWarning: Column 0 has no name. Using "a".
/opt/homebrew/Cellar/csvkit/1.1.0/libexec/lib/python3.11/site-packages/agate/utils.py:274: UnnamedColumnWarning: Column 1 has no name. Using "b".


nbdserver: remove -memorystorage flag

In the past we used for a very short while a pure ledisdb storage while testing the vdisks, using the  -memorystorage flag, which basically returns the address of that in-memory ledisdb for all requests. However since those days I haven't used the flag anymore, and I don't think anyone else uses that flag either. Cairo certainly shouldn't be using it as they work on real ardb servers.
Some complexity would disappear by removing this flag, and make also the new ardb design lighter, so I'll remove it to keep things as simple as possible, and no reason to maintain something that is never used anyhow.
On top of that you can easily spawn an in-memory ardb/redis yourself and use that. And should we ever want to have a complete in-process memory vdisk we could always provide a new vdisk type for that.

Fixed by b1a9e018d05601517d2597a8d085f941fca75332.


Fuzzy name matching

Crossref returned 'Miguel Angel NunezOchoa' for 10.1101/2<IP_ADDRESS>1394, and 'Dan TurnerEvans' for 10.1101/2<IP_ADDRESS>0764. These yielded no results in the People database. Create a mechanism for searching by the second-longest name? (so if a search for 'NunezOchoa' failed, we can try searching for 'Miguel')


flate failure after ~10k requests

After about 10k requests (streams) on a connection, I get the following failure:
(spdy) 2015/04/23 22:36:17 error_handling.go:29: Error: Decompression: flate: corrupt input before offset 97117.
2015/04/23 22:36:17 http: panic serving <IP_ADDRESS>:60039: Could not create request: PROTOCOL_ERROR &{GET https://..konea../ HTTP/1.1 1 1 map[:path:[/] :version:[HTTP/1.1] :host:[localhost:23456] :scheme:[https] User-Agent:[curl/7.37.1] :method:[GET] Accept:[*/*]] 0x63cbe0 0 [] false localhost:23456 map[] map[] <nil> map[] <IP_ADDRESS>:60039 /agents/4143F3BD-70CE-4B12-ACC3-99D3CA3C243C/ <nil>}
goroutine 21674 [running]:
net/http.func·011()
	/usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:1130 +0xbb
kace/konea/pkg/koneas.StartRequesterHandler(0x1114148, 0xc2080ddf40, 0xc208034ea0, 0x1113eb0, 0xc2080c5cc0)
	/Users/rnapier/work/agent/src/kace/konea/pkg/koneas/requesterhandler.go:44 +0x44c
kace/konea/pkg/koneas.func·006(0x1114148, 0xc2080ddf40, 0xc208034ea0)
	/Users/rnapier/work/agent/src/kace/konea/pkg/koneas/requesterlistener.go:66 +0x151
net/http.HandlerFunc.ServeHTTP(0xc20802b800, 0x1114148, 0xc2080ddf40, 0xc208034ea0)
	/usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:1265 +0x41
net/http.func·012(0x1114148, 0xc2080ddf40, 0xc208034ea0)
	/usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:1297 +0xe1
net/http.HandlerFunc.ServeHTTP(0xc2080cd180, 0x1114148, 0xc2080ddf40, 0xc208034ea0)
	/usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:1265 +0x41
net/http.(*ServeMux).ServeHTTP(0xc2080c7f50, 0x1114148, 0xc2080ddf40, 0xc208034ea0)
	/usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:1541 +0x17d
net/http.serverHandler.ServeHTTP(0xc208081740, 0x1114148, 0xc2080ddf40, 0xc208034ea0)
	/usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:1703 +0x19a
net/http.(*conn).serve(0xc2080ddea0)
	/usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:1204 +0xb57
created by net/http.(*Server).Serve
	/usr/local/Cellar/go/1.4.2/libexec/src/net/http/server.go:1751 +0x35e

And the client disconnects.
My test case currently creates and closes about 100 streams a second. It fails on the order of 10k-20k attempts, but not a specific reliable number (suggesting a race, but I don't see any problems in the race detector on both the client and server sides).
At least two runs have failed at exactly the same byte in the buffer (97117). Another failed at 97116, another at 97119. So all in a very tight range.
We've also seen:
(spdy) 2015/04/23 22:36:08 error_handling.go:29: Error: Decompression: Error: Incorrect header name length..

Here is a reproducible case:
server.go
// openssl req -x509 -newkey rsa:2048 -keyout key.pem -out cert.pem -days 365 -nodes -batch

package main

import (
	"log"
	"net/http"

	"github.com/SlyMarbo/spdy"
)

func httpHandler(w http.ResponseWriter, req *http.Request) {
	http.NotFound(w, req)
}

func main() {
	// spdy.EnableDebugOutput()
	http.HandleFunc("/", httpHandler)
	log.Printf("About to listen on 10443. Go to https://<IP_ADDRESS>:10443/")
	err := spdy.ListenAndServeTLS(":10443", "cert.pem", "key.pem", nil)
	if err != nil {
		log.Fatal(err)
	}
}

client.go
package main

import (
	"io/ioutil"

	"github.com/SlyMarbo/spdy" // This adds SPDY support to net/http
)

func main() {
	// spdy.EnableDebugOutput()
	client := spdy.NewClient(true)

	n := 0
	for {
		n++
		println(n)

		res, err := client.Get("https://localhost:10443/")
		if err != nil {
			panic(err)
		}

		_, err = ioutil.ReadAll(res.Body)
		if err != nil {
			panic(err)
		}
		res.Body.Close()
	}
}

Initial tests suggest that turning off compression removes the symptom:
compression.go:
c.w, err = zlib.NewWriterLevelDict(c.buf, zlib.NoCompression, HeaderDictionaryV3)

(I've had more problems due to header compression than it has every solved…)


Factorize and modernize eventlog reading code

This patch simplifies the handling of eventlog reading by:

Introducing an eventlog module which takes care of opening the
eventlog files properly wrt compression, and uses it when opening
eventlog files.

Refactors the tfrecord reading code to expose an interface similar to
that of "wrapper" formats such as the csv crate.  More
specifically, the tfrecord reader and writer traits are converted to
wrapping structures.

bors r=andidr


_.delay,why "this" been set to null?

_.delay = function(func, wait) {
    var args = slice.call(arguments, 2);
    return setTimeout(function(){
      return func.apply(null, args);   //how about func(args);
    }, wait);
};

if the argument "func" have been bound something to it as "this" object,should we change it to null here?
if your ansar is yes,why not change this sentence return func.apply(null, args); simply to  func(args); here?

No,I don't think null is used for  the "func"  being bound to "this" object.That is, "this" is an extra, often implicit parameter.The value of "this" depends on mode it is used.
Sloppy mode: this refers to the global object (window in browsers).
function sloppyFunc() {
console.log(this === window); // true
}
sloppyFunc();
Strict mode: this has the value undefined.
function strictFunc() {
'use strict';
console.log(this === undefined); // true
}
strictFunc();
And it's not possible to skip arguments this way. You can omit passing arguments only if they are trailing parameters.

Yes,I think it is changed to null in that place because "func" is bound to "this" object .As syntax of apply() method is : fun.apply(thisArg, [argsArray]).Unlike in usual function call where "this" is an extra and implicit parameter,to make function call via apply() or call() you have to explicitly specify the value of "this".Otherwise parameter you pass will be assigned to "this".
function myFunc(arg1) {
console.log(this); //b
console.log(arg1); //undefined
}
myFunc.apply(['b']);
In general it's not possible to skip arguments this way. You can omit passing arguments only if they are at the end of the parameter list.

The this value of bound functions will not be changed by apply. Next time please include an example with the behaviour you expect and the behavior you are currently observing. This will make it easier to understand what is being requested.

@michaelficarra: I think he's asking why we don't apply with the outer function's this?
  _.delay = restArgs(function(func, wait, args) {
    var _this = this;
    return setTimeout(function() {
      return func.apply(_this, args);
    }, wait);
  });

Sorry for the confusion !!He is just asking what is the necessity of making a function call via apply?
Why just we call function func(args)  as  this  arguement is null anyway.Well  that is my question too!!

Because it can have multiple args:
function add(a, b, c) {
  return a + b + c;
}

// Calls `add` with (1, 2, 3) after 10
_.delay(add, 10, 1, 2, 3);


Inappropriate OpenEye error handling?

This line gives me an error.
Shouldn't 0 indicate success?
Warning: failed to build structure for molecule
Traceback (most recent call last):
  File "parametrize.py", line 17, in <module>
    x = openmoltools.openeye.get_charges(mols[0])
  File "/home/bas/miniconda3/envs/py2k/lib/python2.7/site-packages/openmoltools-0.6.9-py2.7.egg/openmoltools/openeye.py", line 51, in get_charges
    charged_copy = generate_conformers(molecule, max_confs=max_confs, strictStereo=strictStereo)  # Generate up to max_confs conformers
  File "/home/bas/miniconda3/envs/py2k/lib/python2.7/site-packages/openmoltools-0.6.9-py2.7.egg/openmoltools/openeye.py", line 227, in generate_conformers
    raise(RuntimeError("omega returned error code %d" % status))
RuntimeError: omega returned error code 0

Nope.
In [1]: from openeye.oechem import *
In [2]: from openeye.oeiupac import *
In [3]: mol = OEMol()
In [4]: OEParseIUPACName(mol, 'phenol')
Out[4]: True
In [6]: from openeye.oeomega import *
In [7]: omega = OEOmega()
In [8]: omega(mol)
Out[8]: True
I use the code you're talking about routinely. The fact that it's raising
an exception means there is something wrong with the molecule you are
feeding into it. Possibly, OE can't understand the molecule, or it has
unspecified stereochemistry.
David
On Tue, Oct 27, 2015 at 12:49 PM, Bas Rustenburg<EMAIL_ADDRESS>wrote:

This line
https://github.com/choderalab/openmoltools/blob/b1ed5f67a4e816a291d60995b3a2934290e710b6/openmoltools/openeye.py#L226
gives me an error.
Shouldn't 0 indicate success?
Warning: failed to build structure for molecule
Traceback (most recent call last):
File "parametrize.py", line 17, in
x = openmoltools.openeye.get_charges(mols[0])
File "/home/bas/miniconda3/envs/py2k/lib/python2.7/site-packages/openmoltools-0.6.9-py2.7.egg/openmoltools/openeye.py", line 51, in get_charges
charged_copy = generate_conformers(molecule, max_confs=max_confs, strictStereo=strictStereo)  # Generate up to max_confs conformers
File "/home/bas/miniconda3/envs/py2k/lib/python2.7/site-packages/openmoltools-0.6.9-py2.7.egg/openmoltools/openeye.py", line 227, in generate_conformers
raise(RuntimeError("omega returned error code %d" % status))
RuntimeError: omega returned error code 0
—
Reply to this email directly or view it on GitHub
https://github.com/choderalab/openmoltools/issues/157.

--
David Mobley
Associate Professor
Department of Pharmaceutical Sciences
Department of Chemistry
3134B Natural Sciences I
University of California, Irvine
Irvine, CA 92697
<EMAIL_ADDRESS>work<PHONE_NUMBER>
cell<PHONE_NUMBER>

So they return 0 on an error? ... :unamused:  Thanks! I'll close this then.

Really, they return False. But somebody wrote this code so that it prints
False as a digit, oddly enough. (So 0 or 1 rather than True or False).
On Tue, Oct 27, 2015 at 12:57 PM, Bas Rustenburg<EMAIL_ADDRESS>wrote:

So they return 0 on an error? ... [image: :unamused:] Thanks! I'll close
this then.
—
Reply to this email directly or view it on GitHub
https://github.com/choderalab/openmoltools/issues/157#issuecomment-151625113
.

--
David Mobley
<EMAIL_ADDRESS>949-385-2436

Ah, I see. Thanks for the explanation David!


Real-time identification of microphone has no result.

I used a microphone to record and converted the PCM data into a stream in WAV format, which was input into the ProcessAsync method,but stuck at this step all along:await foreach (var result in processor.ProcessAsync(waveStream)).
Unable to obtain result, I suspect it is due to a short recording time, and the totaltime of audio data is only 100ms
            {
                nAudioHelper.PcmDataAvailable += async (data) =>
                {
                    try
                    {
                        if (data != null && data.Length > 0)
                        {
                            pcmData = data;
                            MemoryStream outStream = new();
                            MemoryStream memoryStream = new MemoryStream(pcmData);
                            WaveFormat waveFormat = new WaveFormat(16000, 16, 1);
                            //WaveStream waveStream = new RawSourceWaveStream(pcmData, 0, pcmData.Length, new WaveFormat(16000, 16, 1));
                            WaveStream waveStream = new RawSourceWaveStream(memoryStream, waveFormat);
                            var pcmStream = WaveFormatConversionStream.CreatePcmStream(waveStream);
                            var resampler = new WdlResamplingSampleProvider(pcmStream.ToSampleProvider(), 16000);

                            WaveFileWriter.WriteWavFileToStream(outStream, resampler.ToWaveProvider16());
                            outStream.Seek(0, SeekOrigin.Begin);

                            await foreach (var result in processor.ProcessAsync(waveStream))
                            {
                                string recognizedText = result.Text;
                                Application.Current.Dispatcher.Invoke(() =>
                                {
                                    Value += recognizedText;
                                });
                            }

There are multiple issues with this approach.

Currently, we don't support real-time identification reliably as described here: https://github.com/sandrohanea/whisper.net/issues/25

If you provide a small chunk of audio  (let's say half a second) and run ProcessAsync => it will be normal that Whisper won't recognize anything as probably there was no word inside half a second. Also whisper.cpp have some limit on minimum duration of 1second: https://github.com/ggerganov/whisper.cpp/issues/39


Suggestion: config option for meteor rarity

Would it be possible to add a config setting that lets us control meteor rarity?

Solved.


Enabling Quantum plugin triggers error from node-formidable

Seems like node-formidable has a "special" test hook.   Can find issues from a few years ago where this can be remedied by a config in webpack.  Is there an equivalent way to toggle the global var for their test hook?   Note I only hit this bundling for dist using QuantumPlugin.
See https://github.com/felixge/node-formidable/issues/295
Uncaught ReferenceError: global is not defined

Offending code
global.GENTLY && (require = GENTLY.hijack(require));

Suggested webpack fix:
new DefinePlugin({ "global.GENTLY": false })

I use
            QuantumPlugin({
                removeExportsInterop: false,
                uglify: true
            })

@rosensama You can solve it now with the ReplacePlugin
ReplacePlugin({ "global.GENTLY" : "false" })
http://fuse-box.org/plugins/replace-plugin#usage

Thanks.   This was what I was asking for.   But i don't get the expected result and it's sensitive to how it's sequenced.
If I run it before the JSONPlugin I get the following . . .
        plugins: [
            ReplacePlugin({"global.GENTLY" : "false"}),
            SVGPlugin(),
            JSONPlugin(),
            CSSPlugin(),
            BabelPlugin(),
            WebIndexPlugin({
                template: "src/index.html"
            }),
            isProduction && QuantumPlugin({
                removeExportsInterop: false,
                uglify: true
            })
        ]

17:10:08: ReplacePluginClass : Captured db.json
{ message: 'File contents for /home/rosensama/src/the_project/node_modules/mime-db/db.json were not loaded. Missing a plugin?' }
└──  (0 files,  53 Bytes) default
size: 53 Bytes in 2s 393ms
TypeError: Cannot read property 'replace' of undefined
    at ReplacePluginClass.transform (/home/rosensama/src/the_project/node_modules/fuse-box/dist/commonjs/plugins/ReplacePlugin.js:13:46)
    at tasks.push (/home/rosensama/src/the_project/node_modules/fuse-box/dist/commonjs/core/File.js:128:59)
    at context.queue.realm_utils_1.each.promise (/home/rosensama/src/the_project/node_modules/fuse-box/dist/commonjs/core/File.js:132:76)
    at iterate (/home/rosensama/src/the_project/node_modules/realm-utils/dist/commonjs/each.js:79:34)
    at /home/rosensama/src/the_project/node_modules/realm-utils/dist/commonjs/each.js:92:16
    at Object.exports.Each [as each] (/home/rosensama/src/the_project/node_modules/realm-utils/dist/commonjs/each.js:9:12)
    at File.tryPlugins (/home/rosensama/src/the_project/node_modules/fuse-box/dist/commonjs/core/File.js:132:53)
    at File.consume (/home/rosensama/src/the_project/node_modules/fuse-box/dist/commonjs/core/File.js:198:14)
    at ModuleCollection.resolve (/home/rosensama/src/the_project/node_modules/fuse-box/dist/commonjs/core/ModuleCollection.js:176:18)
    at realm_utils_1.each.name (/home/rosensama/src/the_project/node_modules/fuse-box/dist/commonjs/core/ModuleCollection.js:186:29)

If I place it after JSONPlugin and before BabelPlugin, the bundling fails in the QuantumPlugin processing.  I've tried removing .fusebox and reinstall acorn.
        plugins: [
            SVGPlugin(),
            JSONPlugin(),
            CSSPlugin(),
            ReplacePlugin({"global.GENTLY" : "false"}),
            BabelPlugin(),
            WebIndexPlugin({
                template: "src/index.html"
            }),
            isProduction && QuantumPlugin({
                removeExportsInterop: false,
                uglify: true
            })
        ]

  → Generating abstraction, this may take a while
SyntaxError: Unexpected token (29:19)
    at Parser.pp$4.raise (/home/rosensama/src/the_project/node_modules/acorn/dist/acorn.js:2549:13)
    at Parser.pp.unexpected (/home/rosensama/src/the_project/node_modules/acorn/dist/acorn.js:635:8)
    at Parser.pp$3.parseExprAtom (/home/rosensama/src/the_project/node_modules/acorn/dist/acorn.js:2068:10)
    at Parser.parseExprAtom (/home/rosensama/src/the_project/node_modules/acorn-jsx/inject.js:392:24)
    at Parser.pp$3.parseExprSubscripts (/home/rosensama/src/the_project/node_modules/acorn/dist/acorn.js:1929:19)
    at Parser.pp$3.parseMaybeUnary (/home/rosensama/src/the_project/node_modules/acorn/dist/acorn.js:1906:17)
    at Parser.pp$3.parseExprOp (/home/rosensama/src/the_project/node_modules/acorn/dist/acorn.js:1867:41)
    at Parser.pp$3.parseExprOps (/home/rosensama/src/the_project/node_modules/acorn/dist/acorn.js:1850:90)
    at Parser.pp$3.parseMaybeConditional (/home/rosensama/src/the_project/node_modules/acorn/dist/acorn.js:1831:19)
    at Parser.pp$3.parseMaybeAssign (/home/rosensama/src/the_project/node_modules/acorn/dist/acorn.js:1806:19)

If I move it after BabelPlugin and before QuantumPlugin again it completes, but I get the same issue and global.GENTLY hasn't been replaced in vendor.js
        plugins: [
            SVGPlugin(),
            JSONPlugin(),
            CSSPlugin(),
            BabelPlugin(),
            WebIndexPlugin({
                template: "src/index.html"
            }),
            ReplacePlugin({"global.GENTLY" : "false"}),
            isProduction && QuantumPlugin({
                removeExportsInterop: false,
                uglify: true
            })
        ]

Could u the try limiting ReplacePluginf to js files with chaining? I will fix it when I get to my laptop

2.2.0-beta.13
Should be the first one.
["*.js", ReplacePlugin({"global.GENTLY" : "false"}) ]

@nchanged thanks.   I'll test this over the next few days.

@nchanged ran out of time this round to test this one further.   Have removed QuantumPlugin for now.

Closing this issue for now. Feel free to re-open elsewise.


Initial code generating support cargo libcnb init .

Why: Make more buildpacks, faster with generators. Before you say "this is unnecessary"
A) The Ruby buildpack I've been working on for months is missing some of these files
B) Maybe it's unnecessary, but I did it anyway so  might as well use it
How: Use jinja inspired templates (support via the tera crate) and a cli (via the clap crate) to build dynamic projects that follow project best practices.
Demo:
$ cargo run --package libcnb-cargo -- libcnb init  --help
    Finished dev [unoptimized + debuginfo] target(s) in 0.25s
     Running `/Users/rschneeman/Documents/projects/work/libcnb.rs/target/debug/cargo-libcnb libcnb init --help`
Creates a new buildpack from template

Usage: cargo libcnb init [OPTIONS] <DESTINATION>

Arguments:
  <DESTINATION>  Buildpack path

Options:
      --name <NAME_NAMESPACE>      Buildpack name with namespace, must include a slash i.e. `heroku/ruby` [default: todo-namespace/todo-name]
      --detect-file <DETECT_FILE>  Filename in the project's root used to detect if the buildpack will execute or not [default: README.md]
      --license <LICENSE>          Generated license for the project [default: mit] [possible values: mit, bsd3]
      --copyright <COPYRIGHT>      Name of copyright holder for the license [default: "<TODO license holder name>"]
      --coc <CONDUCT>              Defines the code of conduct used in the generated project [default: contributor_covenant] [possible values: salesforce, contributor_covenant]
  -f, --force                      When enabled will skip all prompts
  -h, --help                       Print help information

Beyond a simple generator, this command also supports file collision resolution via STDIN prompts to the user inspired by the thor library that Ruby on Rails uses. Example:
$ cargo run --package libcnb-cargo -- libcnb init /tmp/lol
    Finished dev [unoptimized + debuginfo] target(s) in 0.46s
     Running `/Users/rschneeman/Documents/projects/work/libcnb.rs/target/debug/cargo-libcnb libcnb init /tmp/lol`
Overwrite /tmp/lol/.gitignore? (enter 'h' for help) [Ynaqdh]
> n
INFO - Identical /tmp/lol/cargo.toml
INFO - Identical /tmp/lol/CHANGELOG.md
INFO - Identical /tmp/lol/SECURITY.md
Overwrite /tmp/lol/src/main.rs? (enter 'h' for help) [Ynaqdh]
> y
INFO - Writing /tmp/lol/src/main.rs
INFO - Identical /tmp/lol/package.toml
INFO - Identical /tmp/lol/.github/workflows/check_changelog.yml
INFO - Identical /tmp/lol/.github/workflows/ci.yml
INFO - Identical /tmp/lol/CODE_OF_CONDUCT.md
INFO - Identical /tmp/lol/tests/integration_test.rs
INFO - Identical /tmp/lol/LICENSE.txt
INFO - Identical /tmp/lol/.github/dependabot.yml
Overwrite /tmp/lol/README.md? (enter 'h' for help) [Ynaqdh]
> n
INFO - Identical /tmp/lol/tests/fixtures/hello_world/README.md
Overwrite /tmp/lol/buildpack.toml? (enter 'h' for help) [Ynaqdh]
> d
--- /tmp/lol/buildpack.toml	2022-11-19 20:45:25.000000000 -0600
+++ /var/folders/l9/w5ggmcjd28d57p4rwb1m7kph0000gp/T/.tmpCKtkbR/new_contents.txt	2022-11-20 17:13:49.000000000 -0600
@@ -1,7 +1,7 @@
 api = "0.8"

 [buildpack]
-id = "lol/lol"
+id = "todo-namespace/todo-name"
 version = "0.1.0"
 name = "My Buildpack"

Retrying...
Overwrite /tmp/lol/buildpack.toml? (enter 'h' for help) [Ynaqdh]

Lastly, I wonder if there is a way to ensure the template Cargo.toml stays up to date with respects to dependency versions? (eg dynamically look them up and template them). It just seems suboptimal if a newly created template is already using out of date things :-)

100% this. I'm not sure the best way to do that, but I want it. I think we can grab it from the other packages locally somehow. I had a similar question about changing things like the version of the API we default to, currently it's hardcoded in there api = "0.8".

I do have a bit of a hesitation about including any Salesforce specific files however.

Maybe worth talking about this more in person. Ultimately the main consumers of this will be our team. At least at first I want to remove barriers to making new buildpacks when it's the best solution. Right now the only salesforce specific thing in there is a Salesforce CoC. I had previously considered some kind of a plugin system.
The bundle gem <name> command is one inspiration in addition to rails new <name>. The bundle gem command has long term global storage for config (https://bundler.io/man/bundle-config.1.html) so if you tell it to use rspec instead of minitest you only have to tell it once. We could combine the two, designating a local config folder like ~/.libcnb/config where you could put templates like ~/.libcnb/config/templates/code_of_conduct/salesforce.md then you could possibly configure your settings to make that the default.
Anyway, getting off the rails a bit. Probably better to speak about it in person. I think my stance is: I want to favor pragmatism and speed of development. I'm for the goal of making this company/salesforce agnostic, if it's easy to do now, we should do it now. Otherwise i'm not against iterating towards a better solution later.

@schneems Thanks for thinking about the scaffolding problem! Have you considered doing this via https://github.com/buildpacks/rfcs/pull/212? What is missing upstream to implement it via pack's scaffolding? I think adding it there has the additional benefit serving as advertisement for libcnb.rs, allowing buildpack authors to discover it when they want to write a buildpack.
In any case, adding some sort of scaffolding via pack seems worth doing. And I'd rather only maintain one template than two so I'm in favour of moving this upstream. :)
I've similar concerns around Salesforce specifics in the template, they're not required files for libcnb.rs, but required to meet company policies. If possible, I want libcnb.rs to be as generic as possible so it has greater chances for adoption outside of Salesforce.

Have you considered doing this via https://github.com/buildpacks/rfcs/pull/212?

@Malax  I've not. I'm but I just read through it. I've got some thoughts below. TLDR; I don't love the RFC. If I had to pick just supporting one I would pick moving forwards with this PR, though it's my code-baby so I'm clearly biased. An alternative way to move forward could be to create a template and use it and see how it turns out.
Thoughts on the RFC

I don't love the syntax of calling --arg followed by a key/value pair:

$ pack buildpack create --arg ProjectDirectory=bash_buildpack --arg BuildpackApi=0.8 --arg BuildpackID=example/bash --arg BuildpakStacks=io.buildpacks.samples.stacks.bionic

The templates seem to be very static. In the above example I'm using user inputs to do things like define structs so that we don't have hundreds of HelloWorldBuildpack buildpacks out there.

There's silent failures if there's a typo in the buildpack or template:

[from the RFC] When a source file contains a Go text/template style expression and the variable name does not appear in prompts.toml, then the text/template style expression is not replaced.  For example, if a README.md file contains the expression {{.Example}} and Example is not a variable defined in prompts.toml, then the string {{.Example}} is not replaced in README.md.

Templates are not advertised, the user has to discover them i.e. pass in the full URL pack buildpack create --help --template=<url> which I'm never going to remember.  Not to mention it would mean us getting another OSS approval for yet another repo like github.com/heroku/rust-cnb-template.

If we wanted to make it more discoverable, we would have to also add docs/tutorial to the project docs. If docs are the only thing getting us noticed, I don't know why we shouldn't have docs that use our tooling directly instead of filtering through an intermediate templating language.

No template versioning. If templates are pulled from URLs then when it updates everyone who uses that template (say in CI) could break. We could hack on our own versioning via github releases, but shipping in a crate gives it to us for free.
Error experience. No CLI hints. This could probably be added.
Ties us to someone else's interface. If pack wants to deprecate or change something with the interface then we've got to update all our docs. That's also true on our side, but at least we have more agency and visibility into the impacts.
Future features to templates in pack require RFCs to the project and/or the ability to code it in Golang (which our team maintains loose/fragmented competency for at best).

Closing because this is a stale PR. Feel free to re-open at any time if this is still relevant at this point in time.


no_op: show error message on browser's current language fixes #363

Languages available so far English, Spanish, Portuguese

:beers:

I understand how polyfills can make code neater in other places I just don't like the idea in general that it's kind of modifying global variables.
E.g. if someone had another library on their page which does something like
function getLanguage() {
   if (window.navigator && window.navigator.language) {
      return window.navigator.language;
   }
   return "en-gb"; // or maybe null and then they do some language agnostic stuff or something :P
}

Their function in their library would not work how the developer intended if clappr has run first and replaced it. Or the other library could break if their code runs first, then clappr modifies it, and then later on they call their same function again assuming they'd get the same result.
Something I'd prefer is to instead create a helper class with will retrieve the properties if they exist, otherwise a default value, so that the global variables aren't modified. So maybe have a helper class with a function like the one above in.
This is just my opinion though :P

I'm inclined to agree with @tjenkinson. I don't think setting globals is a good way to go.
Perhaps we could use something like what we have in the utils package, where we have helper functions that use the browser built-in globals or fall back gracefully to a polyfill-like implementation.

that makes sense, I will send another pull request fixing it.

https://github.com/clappr/clappr/pull/647


fixed former message

Fixes #
Changes proposed in this pull request:

Link to live demo: http://pr-XXX-evalai.surge.sh

Codecov Report

Merging #241 into master will not change coverage.
The diff coverage is 0%.

@@           Coverage Diff           @@
##           master     #241   +/-   ##
=======================================
  Coverage   51.66%   51.66%
=======================================
  Files          66       66
  Lines        3666     3666
  Branches      414      414
=======================================
  Hits         1894     1894
  Misses       1677     1677
  Partials       95       95

Impacted Files
Coverage Δ

...ponents/publiclists/teamlist/teamlist.component.ts
36.97% <0%> (ø)
:arrow_up:

Impacted Files
Coverage Δ

...ponents/publiclists/teamlist/teamlist.component.ts
36.97% <0%> (ø)
:arrow_up:

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 854d78d...d0ef16a. Read the comment docs.

Hey @robingan7 I think you got this wrong, actually the task is fix the former message on the participate tab of challenge page when we reload the page. Please refer this (https://github.com/Cloud-CV/EvalAI-ngx/issues/181) issue.

Hi @robingan7 Please follow these steps to reproduce the issue:

Setting the max submission limit to 1 in a phase.
Try to make two submissions. An error will be shown near the submit button.
Now without refreshing the page select another phase and try to make a submission.
When you’ll select another phase, the error message shown should be cleared but it isn’t.

@pushkalkatara where can I Setting the max submission limit to 1 in a phase. Could you send me a route link?

Sorry, @robingan7 . Actually we confused this issue with some other issue. As @Sanji515 pointed out #181 is the issue, and the steps above are to reproduce a different issue.

@pushkalkatara I already fixed the previous one. Could you check?


Code review

These are changes requested during code review of Linux kernel.

I have looked this over carefully. It still has a few minor issues but I am going to merge it and then fix those (and PR them).
Reviewed-by: Ross Philipson<EMAIL_ADDRESS>


Suggestion: configurable yarn or npm as package manager

Is your feature request related to a problem? Please describe.
Right now the project defaults to an npm install of the scaffolded packages, allow a prompt for choosing yarn or npm
Describe the solution you'd like
Update to the Sao file is required as well as the templates

Hi, I would like to take a look at this if no one else is working on it.

Sure thing


how to use?

Hello, can you tell me how to use it

ya, i have same issue

Hey guys! Did you manage to run this project? If yes - please tell me how as well :)

@Garfield2013 @BigworldNebula @DEAD-GOST @rubelchowdhury20 Guys! did you find any solution to run this?


Memsource Credentials issue

Memsource credentials passed from variable files or externally from playbook (using command line or extra_vars file) is not working.

The issue has been fixed as per 6b3b7fee7b9702893f083c1f722ea5729bd8fc78


[Data Grid] Row validation

TODO

changelog

Description
Continuation of the work started in #1038. Although the the cell validation api introduced in that PR allows for row-level validation, it was too cumbersome for developers to use for row validation. This PR adds a new api on the Grid component, getRowValidationStatus that enables similar styling to cell validation but on a row level, and introduces a new component, RowValidationStatusColumn that displays a StatusIcon based on the row validation context value.
Changes

new grid context RowValidationStatusContext
new component RowValidationStatusColumn
new Grid prop getRowValidationStatus?: (   row: GridRowModel<T> ) => CellValidationState | undefined;
new status characteristics necessary for selected status rows

Screenshots

Have you tested what the performance is like on a data set of 1000+ rows?  We have a similar implementation on our team that uses AG-Grid and the performance suffers exponentially around 1-2k rows or o (depending on the number of columns). I am curious what the impact will be on this Grid (if any).

Have you tested what the performance is like on a data set of 1000+ rows?  We have a similar implementation on our team that uses AG-Grid and the performance suffers exponentially around 1-2k rows or o (depending on the number of columns). I am curious what the impact will be on this Grid (if any).

@codified-likeness-utility validation itself should not impact performance at all since it is only run on the small subset of rows that are being rendered by the virtualization. The validation getters are not called on non-rendered rows.


[BUG]: OperationFailure: $listSearchIndexes is not allowed or the syntax is incorrect

Contact Details [Optional]
<EMAIL_ADDRESS>System Information
OperationFailure: $listSearchIndexes is not allowed or the syntax is incorrect, see the Atlas documentation for more information, full error: {'ok': 0, 'errmsg': '$listSearchIndexes is not allowed or the syntax is incorrect, see the Atlas documentation for more information', 'code': 8000, 'codeName': 'AtlasError'}
What happened?
Running below code
database -  mongodb + atlas
from superduperdb.backends.mongodb import Collection
from superduperdb import Document as D
from IPython.display import *

# Define the query for the search
# query = 'Code snippet how to create a `VectorIndex` with a torchvision model'
query = 'can you explain vector-indexes with `superduperdb`?'

# Execute a search using SuperDuperDB to find documents containing the specified query
result = db.execute(
    collection
        .like(D({'txt': query}), vector_index='my-index', n=5)
        .find()
)

# Display a horizontal rule to separate results
display(Markdown('---'))

# Display each document's 'txt' field and separate them with a horizontal rule
for r in result:
    display(Markdown(r['txt']))
    display(r['link'])
    display(Markdown('---'))

It's not creating atlas search index

Steps to reproduce

...
Relevant log output
No response

@makkarss929 did you set up the index with db.add(VectorIndex(...))?
Please provide information about your system.

OS : Mac m1 pro
python : 3.11
# Import the Listener class from the superduperdb module
from superduperdb import Listener

# Create a Listener instance with the specified model, key, and selection criteria
listener = Listener(
    model=model,          # The model to be used for listening
    key='txt',            # The key field in the documents to be processed by the model
    select=collection.find()  # The selection criteria for the documents
)

# Import the VectorIndex class from the superduperdb module
from superduperdb import VectorIndex

# Add a VectorIndex to the SuperDuperDB database with the specified identifier and indexing listener
_ = db.add(
    VectorIndex(
        identifier='my-index',        # Unique identifier for the VectorIndex
        indexing_listener=listener    # Listener to be used for indexing documents
    )
)


from_xml not found

Trying to compile the example in the documentation but it doesn't compile despite from_xml feature being enabled.
use std::fs;
use srx::SRX;

fn main() {
    let srx = SRX::from_xml(&fs::read_to_string("data/language_tools.segment.srx").unwrap())?;
    let english_rules = srx.language_rules("en");

    println!("Hello, world!");
    assert_eq!(
        english_rules.split("e.g. U.K. and Mr. do not split. SRX is a rule-based format.").collect::<Vec<_>>(),
        vec!["e.g. U.K. and Mr. do not split. ", "SRX is a rule-based format."]
    );
}

error[E0599]: no function or associated item named `from_xml` found for struct `SRX` in the current scope
 --> src/main.rs:5:20
  |
5 |     let srx = SRX::from_xml(&fs::read_to_string("data/language_tools.segment.srx").unwrap())?;
  |                    ^^^^^^^^ function or associated item not found in `SRX`

error[E0277]: the `?` operator can only be used in a function that returns `Result` or `Option` (or another type that implements `Try`)
  --> src/main.rs:5:15
   |
4  | / fn main() {
5  | |     let srx = SRX::from_xml(&fs::read_to_string("data/language_tools.segment.srx").unwrap())?;
   | |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot use the `?` operator in a function that returns `()`
6  | |     let english_rules = srx.language_rules("en");
7  | |
...  |
12 | |     );
13 | | }
   | |_- this function should return `Result` or `Option` to accept `?`
   |
   = help: the trait `Try` is not implemented for `()`
   = note: required by `from_error`

error: aborting due to 2 previous errors

[package]
name = "rsegment"
version = "0.1.0"
edition = "2018"

[dependencies]
srx = { version = "0.1.3", features = ["from_xml"] }

Sorry, I meant from_str

use std::{fs, str::FromStr}; was missing, my fault.


feat: add card-blog-technology

closes #89
snapshot

Results

Build Results
https://www.chromatic.com/build?appId=64e95d8f1f548945b1225cb8&number=80

Storybook Preview
https://64e95d8f1f548945b1225cb8-vwfpzueahl.chromatic.com/

Component Count
57

Results

Build Results
https://www.chromatic.com/build?appId=64e95d8f1f548945b1225cb8&number=82

Storybook Preview
https://64e95d8f1f548945b1225cb8-nnlkynbpwb.chromatic.com/

Component Count
57

@all-contributors please add @patorseing for code.


Access Control

This is in reference to the lines here: https://index.ros.org/doc/ros2/Contributing/Developer-Guide/#access-control
Drop requirement for all class members to be private and therefore require accessors
* rationale: this is overly constraining for user API design
* we should prefer private members, only making them public when they are needed
* we should consider using accessors before choosing to allow direct member access
* we should have a good reason for allowing direct member access, other than because it is convenient for us

I have seen several code bases where public and protected member variables were rampant and led to some really hard to read/understand/modify/use/debug code.  For this big of a change to the Google style guide (https://google.github.io/styleguide/cppguide.html#Access_Control) this should come with some examples of why the authors think this is a useful modification of the Google style guide.
For example, what are some user APIs that are better because they have public or protected member variables?  Are there examples of other mature, well respected C++ libraries that have this rule and examples where their API is better for having many public and protected member variables?
I'm not asking for this to change.  I just want examples of why this is "overly constraining" and worth the tradeoffs.

@tfoote do you have an opinion on this?

The primary downside to Google's rule for this is you have to write some more boilerplate code and spend some time reasoning about architecture decisions.
The upside to writing this boilerplate code (setters and accessors) is that you have to address the scope and mutability and invariance of state.  This boilerplate has the upside of making the code easier to reason about and difficult for users of your API to create really annoying concurrency bugs.
"public" state of objects is the default behavior of structs.  If this is the behavior you want using a struct seems like a much nicer way to communicate to your API users how you expect that to be used.  Having some data members be public state of classes seems like a good way to make your API more confusing to users.
"protected" state is sometimes very useful but it has the downside of making it much harder to reason about the invariance of state.  There are also very real performance implications to the virtual table.  A bias towards harder to write but easier to read and implement code against library code seems like a reasonable design principal especially when it comes with performance benefits.
For these reasons I think this would be reasonable to add to the guide (in place of the "overly constraining" lines):
Public class state should be explicitly avoided.
  * Use a struct instead
Protected class state and inheritance should be explicitly avoided.
  * Rational: diamond inheritance, virtual table lookup performance implications, API simplicity, reasoning about state invariance, etc.

You can't switch your class to be a struct without violating the struct guidelines that they are just data containers and don't have methods or private contents.

"public" state of objects is the default behavior of structs. If this is the behavior you want using a struct seems like a much nicer way to communicate to your API users how you expect that to be used. Having some data members be public state of classes seems like a good way to make your API more confusing to users.

This is one of the reasons why we discourage it.
Your comments about protected are already in the Google style guide.
An example where this sort of exception might be valuable would be in operating on a large data structure such as an image or map where we want to do in place operations such as convolutions or iterations.
We are dropping the requirement of the restriction but indicating that it should not be chosen unless you have a good reason. This is simply relaxing a hard constraint but still recommending it be followed. Which should not end up with it being "rampant".


Remove listenForCrossOriginMessages from CookieBanner

What
Remove listenForCrossOriginMessages from CookieBanner JS module
Why
This function is a leftover from https://github.com/alphagov/govuk_publishing_components/pull/995 and it's not being used.
Visual Changes
No visual changes.
Thanks to @36degrees for spotting this!

Something I missed in my review just now: As this is technically user-facing, should this go in the changelog?

Thanks! Yep, added a changelog entry and rebased to master.


Invalid JWT: Token must be a short-lived token and in a reasonable timeframe

Can anyone tell me what i'm doing wrong?
I want to use the proxy in a Kubernetes cluster out of GCE using a service account and your docker image:
docker run -ti -p 3306:3306 -v `pwd`/file.json:/file.json -v `pwd`/ssl-certs:/etc/ssl/certs gcr.io/cloudsql-docker/gce-proxy:1.06 /cloud_sql_proxy -credential_file=/file.json -instances=<myproject>:us-central1:<instance-name>=tcp:<IP_ADDRESS>:3306

And then when I try to connect using mysql client, cloud sql proxy binary outputs this:
2017/02/10 14:09:15 using credential file for authentication<EMAIL_ADDRESS>2017/02/10 14:09:15 Listening on <IP_ADDRESS>:3306 for <project>:us-central1:<instance-name>
2017/02/10 14:09:15 Ready for new connections
2017/02/10 14:09:41 New connection for "<project>:us-central1:<instance-name>"
2017/02/10 14:09:42 couldn't connect to "<project>:us-central1:<instance-name>": Post https://www.googleapis.com/sql/v1beta4/projects/<project>/instances/<instance-name>/createEphemeral?alt=json: oauth2: cannot fetch token: 400 Bad Request
Response: {
  "error" : "invalid_grant",
  "error_description" : "Invalid JWT: Token must be a short-lived token and in a reasonable timeframe"
}

Thanks in advance,

I fixed it by recreating the service account and giving to it just the 'Cloud SQL Client' permission. This paragraph confused me a little bit, do you mind to change in order to keep it aligned with what the IAM permits?

By default, the proxy will authenticate under the default service account of the Compute Engine VM it is running on. Therefore, the VM must have at least the sqlservice.admin API scope ("https://www.googleapis.com/auth/sqlservice.admin") and the associated project must have the SQL Admin API enabled. The default service account must also have at least WRITER/EDITOR priviledges to any projects of target SQL instances.

Thanks!


Gradle/Jitpack support

Jitpack'd your repo for android. Might be worth adding jitpack to the readme for gradle users?
All automatic per release or current -Snapshot.
E.G:
compile 'com.github.mfornos.humanize:humanize:humanize-1.2.2'

OR
compile 'com.github.mfornos.humanize:humanize:-SNAPSHOT'

for the latest commit
Image / jitpack URL
Link:
[![](https://jitpack.io/v/mfornos/humanize.svg)](https://jitpack.io/#mfornos/humanize)

Sorry, scrap that^.
I was able to import using gradle:
compile ('com.github.mfornos:humanize-icu:1.2.2'){
        exclude group: 'com.google.code.findbugs'
    }

But I had to exclude that group as I was running into the following error:
Conflict with dependency 'com.google.code.findbugs:jsr305'. Resolved versions for app and test app differ.
I will close this issue if you'd like. Thanks for a great repo!

Thank you very much! :)


IDENTITY-6214 Read redirect url for relying party from Service Provider configuration

ATM, we keep relying party, redirect url mapping in registry. Need to get that from service provider configuration.
Labels
Type: Improvement
Priority: Normal
Component/s: oauth, saml2-sso, service-provider
Labels: component_verified
Severity: Major
Estimated Complexity: Moderate
Issue migrated from: https://wso2.org/jira/browse/IDENTITY-6214

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


Fixed #24070 -- Added topics beside the Tutorials parts for clarification

Updated the documentation front page to mention the topic names beside the tutorial parts.
Thanks timgraham for the patch and claudep for the review.

merged in b738178825ec9378198d77ac69699513774f0884, thanks.


Compile error for new generated code from protos

Describe the bug
After running make protos, the code in branch master can't compile.
$ make test
go mod tidy
go test -count=1 \
                -race \
                -coverprofile=coverage.txt \
                -covermode=atomic \
                ./...
# github.com/dapr/go-sdk/service/grpc
service/grpc/invoke.go:41:18: cannot use in.HttpExtension.Querystring (type string) as type map[string]string in assignment
# github.com/dapr/go-sdk/client
client/invoke.go:51:60: cannot use queryMap (type map[string]string) as type string in field value
# github.com/dapr/go-sdk/service/grpc [github.com/dapr/go-sdk/service/grpc.test]
service/grpc/invoke.go:41: cannot use in.HttpExtension.Querystring (type string) as type map[string]string in assignment
# github.com/dapr/go-sdk/client [github.com/dapr/go-sdk/client.test]
client/invoke.go:51: cannot use queryMap (type map[string]string) as type string in field value
client/invoke_test.go:122:39: non-integer string index "foo"
client/invoke_test.go:123:50: non-integer string index "url"
FAIL    github.com/dapr/go-sdk/client [build failed]
?       github.com/dapr/go-sdk/dapr/proto/common/v1     [no test files]
?       github.com/dapr/go-sdk/dapr/proto/runtime/v1    [no test files]
FAIL    github.com/dapr/go-sdk/service/grpc [build failed]
ok      github.com/dapr/go-sdk/service/http     0.036s  coverage: 82.5% of statements

To Reproduce

run make protos
run make test

Expected behavior
The code should compile and pass test.

The root cause is that in dapr/dapr protos definition, the querystring filed in HTTPExtension changed from map to string, as show in issue:
https://github.com/dapr/dapr/pull/2786/files
go-sdk should following this change.
Let me PR for this.


Add documentation for levels

At https://github.com/lz4/lz4 is a benchmark for different lz4 settings. I am interested in maximum decompression throughput, currently the best for that is "LZ4 fast 8 (v1.7.3)". How do I specify this setting with py-lz4framed?

There are some compression-level constants exposed directly from lz4, so you could do something like:
for level in range(lz4framed.LZ4F_COMPRESSION_MIN, lz4framed.LZ4F_COMPRESSION_MAX + 1):
   do_compression_test_here(level)

I don't know which one of those corresponds to "fast 8" - it's got to say that somewhere in the lz4 documentation. Maybe it is just 8 (see e.g. here - anything below 9 maybe).
But basically all constants visible through py-lz4framed come straight from the lz4 library.

See also help(lz4framed.compress) and https://github.com/Iotic-Labs/py-lz4framed/blob/master/lz4framed/init.py#L78

Thanks, http://python-lz4.readthedocs.io/en/latest/lz4.block.html exposes lz4.block.compress(source, mode='default', acceleration=1, compression=0) with default/fast/high_compression mode and acceleration/compression, so I guessed it could be fast with acceleration 8. But maybe they don't provide this in the latest version anymore?

Thank you very much, that explains a lot and solves this issue! Thank you!

@DreamFlasher  - Once this is released (v1.7.6 of lz4 I think), accelerated mode will be possible. (No idea when lz4 plan to release though.)

For anyone else who'd like to use acceleration, new lz4 (with acceleration support) has no planned release for now. If you're interested in using it in lz4framed, post here to express interest.

Acceleration is now available (since v0.1.0)


[Feature] Discord Development Support

Before Requesting

[X] I found no existing issue matching my feature request

Describe the feature you'd like!
I use Discord Development, Could you guys add Discord Development to the installation list.

Anything else?
No response

Duplicate of https://github.com/BetterDiscord/BetterDiscord/issues/520


⚠ Bofrost.at has degraded performance

In c691310, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1726 ms

Resolved: Bofrost.at performance has improved in 4708f9c after 27 minutes.


S3 Signed URL not working with Inform parameter

I've been running into an issue with using presigned S3 url's and using the Inform command. I'm running
20.03
mediainfo --urlencode --Inform='Video;%Width%' 'https://bucket.s3.us-west-2.amazonaws.com/file.mp4?X-Amz-Algorithm=XXXX&X-Amz-Credential=XXX&X-Amz-Date=XXX&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Security-Token=XXX&X-Amz-Signature=XXX'

Pre-20.03
mediainfo --Inform='Video;%Width%' 'https://bucket.s3.us-west-2.amazonaws.com/file.mp4?X-Amz-Algorithm=XXXX&X-Amz-Credential=XXX&X-Amz-Date=XXX&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Security-Token=XXX&X-Amz-Signature=XXX'

Each of those commands return an output like
E: https://bucket.s3.us-west-2.amazonaws.com/file.mp4?X-Amz-Algorithm=XXXX&X-Amz-Credential=XXX&X-Amz-Date=XXX&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Security-Token=XXX&X-Amz-Signature=XXX, HTTP server doesn't seem to support byte ranges. Cannot resume.
854

The interesting thing is that after the error, it's returning the desired value from the --Inform flag. Getting the full mediainfo output from the s3Url's is working fine, regardless of the version. This has been apart of a workflow for some time, and we've recently started seeing this issue.
I've tested this on version 20.03, 19.09,18.12, 17.12, and snapshot 20200523. It's running in a Ubuntu 18.04 docker image.

The interesting thing is that after the error, it's returning the desired value from the --Inform flag.

It is because we don't need the content after the seek for the width, it is usually at the beginning.
Workaround: if I remember well we output errors to stderr and result to stdout so you can filter.
With some formats, we seek in the file. I am surprised that byte ranges are not supported.
Please drop me an URL (with a couple of days of lifetime) at my email address so I can check myself.

In the next one, this month, in the meanwhile you can use the previous version 19.09 or development snapshots.


Sort roles alphabetically in custom permissions and roles overview

Describe the feature you'd like
Sort roles alphabetically in custom permissions and roles overview
Describe the benefits this feature would bring to BookStack users
Roles will be easier to find.
Additional context
Suggestion from closed issue https://github.com/BookStackApp/BookStack/issues/2698.

Thanks @Bolthier, Have assigned to the next patch release.


Use in Modal

When i want to use the validator in a modal, I am able to click the disabled Submit button.
Is there a possibility to check the form in $('#myModalSubmit').click(function(e) { function, when #myModalSubmit is my form-submit button?
Because when having a form in a modal, i do not receive the forms submit js.
Thank you very much.

See https://github.com/1000hz/bootstrap-validator/issues/336#issuecomment-222778160. You need to initialize the validator after the shown.bs.modal event is fired.
I'm also not sure if you mean your submit button is outside of your <form> element. If that's the case, you'll need to use the form=" attribute on your submit button. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/button#attr-form

Thanks for your answer!
But unfortunately i do not get the submit thing to work. Here is a minimalistic example of what i want to do:
`

        <button type="button" class="close" data-dismiss="modal">×</button>

Modal Header

      <form id="myForm" class="form-horizontal" data-toggle="validator">

                    Name

                        <input type="text" class="form-control" id="name" placeholder="Nachname" required>

				<button form="myForm" type="submit" class="btn btn-success">Jetzt bestellen!</button>
				<button type="button" class="btn btn-danger" data-dismiss="modal">Close</button>

        </form>

`
It does only show alert(2); all the time. Even if my form is correct. Shouldn't it show alert1? What am i missing?
Thank you very much!


Use file-based caching for API in contentqa

The API cache in contentqa should be clearable quickly; this moves the caching to use file-based caching.

Looks good.  Does the location of the file store need to be documented, and is it something that is configurable?  I am OK merging this, but just wondering.

At this point, it's hardcoded into the platform app (it always was). It's in tmp/api-cache in the application's root.

:squash:ed and ready to merge, @markbreedlove


build() won't detect version change

..add version to .done file?
diff --git a/build-ffmpeg b/build-ffmpeg
index 800cef0..4b8ea94 100755
--- a/build-ffmpeg
+++ b/build-ffmpeg
@@ -112,11 +112,11 @@ execute () {

 build () {
 	echo ""
-	echo "building $1"
+	echo "building $1:$2"
 	echo "======================="

-	if [ -f "$PACKAGES/$1.done" ]; then
-		echo "$1 already built. Remove $PACKAGES/$1.done lockfile to rebuild it."
+	if [ -f "$PACKAGES/$1-$2.done" ]; then
+		echo "$1-$2 already built. Remove $PACKAGES/$1-$2.done lockfile to rebuild it."
 		return 1
 	fi

@@ -133,7 +133,7 @@ command_exists() {

 build_done () {
-	touch "$PACKAGES/$1.done"
+	touch "$PACKAGES/$1-$2.done"
 }

 cleanup () {
@@ -227,12 +227,13 @@ fi
 ## build tools
 ##

-if build "yasm"; then
-	download "https://www.tortall.net/projects/yasm/releases/yasm-1.3.0.tar.gz"
+YASM_VERSION="1.3.0"
+if build "yasm" $YASM_VERSION; then
+	download "https://www.tortall.net/projects/yasm/releases/yasm-${YASM_VERSION}.tar.gz"
 	execute ./configure --prefix="${WORKSPACE}"
 	execute make -j $MJOBS
 	execute make install
-	build_done "yasm"
+	build_done "yasm" $YASM_VERSION
 fi

 if build "nasm"; then

Even if a version change would be detected on package level a build could also fail as packages who depend on that packages would also require a rebuild.
I would always recommend to run a "./build-ffmpeg --cleanup" after the script was updated.


region marker issue when I use nanomesh generate_contour.

I use nanomesh to create a mesh from a binary image attached here. I frequently get Segmentation fault but I have successfully created mesh for much larger images/files. Sometimes it succeeds but sometimes not! It seems that there is an issue with region markers as it shows only "background". The marker on the top left should be "background" instead of "X". Could you please help me solving this issue?
'''
plane = Image(Im_binary)
mesher = Mesher2D(plane)
mesher.generate_contour(max_edge_dist=5)
mesher.plot_contour()
plt.show()
mesh = mesher.triangulate(opts='q30a100')
'''

Hi @hamiddhg Thanks for the feedback. This is a known limitation of these algorithms. These need special treatment, because the 2 regions are not connected. The algorithm cannot know if they belong together or not.
The labels are just entries in a dictionary that you can modify through the field data attribute: https://nanomesh.readthedocs.io/en/latest/examples/examples_generate_a_2d_triangular_mesh.html#Field-data

Thank you @stefsmeets, I made the changes and now the regions are OK. However, still I get segmentation fault: 11 when I run triangulation. I suspect this is related to RAM but, as you see, the job is very small for 32 GB of RAM!
Best,
Hamid,

I have had these random crashes as well sometimes, it seems to be an issue with the triangulizer (https://pypi.org/project/triangle/). Maybe how the data are specified, but I wasn't able to find a work-around for it.
I'm going to close this issue now, but feel free to re-open or nake a new one if you run into something else!


 When i create a PJ and i choose "artisan master" as a talent, the system take it as a career....From<EMAIL_ADDRESS>11.308wfrp4e: 7.0.2wfrp4e-altdorf: 4.0.1wfrp4e-archives1: 4.0.1wfrp4e-archives2: 4.0.1wfrp4e-core: 4.0.1wfrp4e-dotr: 4.0.1wfrp4e-eis: 4.0.1wfrp4e-empire-ruins: 4.0.1wfrp4e-horned-rat: 4.0.1wfrp4e-middenheim: 4.0.1wfrp4e-owb1: 4.0.1wfrp4e-pbtt: 4.0.1wfrp4e-rnhd: 4.0.1wfrp4e-starter-set: 4.0.0wfrp4e-ua1: 4.0.1wfrp4e-ua2: 4.0.1wfrp4e-up-in-arms: 4.0.1wfrp4e-wom: 4.0.1wfrp4e-zoo: 4.0.1Active Modules: babele, dd-import, dice-so-nice, easy-target, fr-core, healthEstimate, lib-wrapper, multilevel-tokens, ogre-kingdom-wfrp4e, pointer, rolltable-from-sidebar, token-action-hud, vtta-tokenizer, wfrp4e-gm-toolkit, wh4-fr-translation

Closed in fe536ea0fc1ec019f8b8e19129dff8ba3fda7f8c


References for Latest Hotfixes Missing

KB4535819
https://support.microsoft.com/en-us/help/4535819/update-for-microsoft-endpoint-configuration-manager-version-1910-early
KB4538488
https://support.microsoft.com/en-us/help/4538488/clients-immediately-upgrade-after-updating-to-configuration-manager-cu
KB4538166
https://support.microsoft.com/en-us/help/4538166/client-update-for-configuration-manager-current-branch-version-1910

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

ID: 9a304313-63b1-3904-c38d-20bdcc04c0c2
Version Independent ID: bff30820-5e3f-3536-9c06-717ed5438457
Content: What's new in version 1910 - Configuration Manager
Content Source: sccm/core/plan-design/changes/whats-new-in-version-1910.md
Product: configuration-manager
Technology: configmgr-other
GitHub Login: @mestew
Microsoft Alias: mstewart

Thanks @mitlyng for the feedback. We'll try to improve our process to get the hotfixes added in a more timely manner. With the recent release of the hotfix rollup update, it supercedes the previously available hotfixes. A change is in to add a note for the hotfix rollup, which should publish live later today. I'm closing this issue.


load and validate dataset_description.json; closes #151

Adds a .description field that contains the contents of dataset_description.json. Also nags and complains if the file is missing, or if it's present but lacks the mandatory fields Name or BIDSVersion.
p.s. STFU @choldgraf

LGTM! STFU!
ps: way to go on upsetting basically the nicest person on twitter the other day, Tal ;-)

Upsetting nice people is what I do best :(
But hey, at least I get to upset you without feeling bad about it!

Goddammit, thanks--now all the other people on the bus think I'm that guy

Ironically, there was collateral damage to this PR