how to build this

Hi, I don't know how to build this layer, which path  in caffe  i put this code in.Can you give the step for add this layer?
Thanks!

Hi,
Firstly you should makesure your caffe is built for Python layers. If not open "Makefile.config" in caffe root and uncomment the line “WITH_PYTHON_LAYER := 1”.Rebuild caffe.
Go to tripletloss root path. Add tripletloss root path to train.py.
Change the configs in config.py  then caffe can create the network.
Note :Training a network you should read the code first.

When I run train.py , an error occurred, " No module named tripletloss.datalayer"。
You said "Add tripletloss root path to train.py", I only changed pathes in main function, is it right?

" No module named tripletloss.datalayer"这个错误解决了，把module设置为datalayer就好了。
出现了另外一个问题，“AttributeError: 'DataLayer' object has no attribute 'param_str_'”，我查了caffe的源码也没有找到这个param_str_，这是哪里错了呢？

你的python路径没有找到，这几个datalayer都是python写的，需要添加工程的根路径到你的python中

不知道楼主的比对结果是多少呢？我看tripletselectlayer里面是把if an > ap:记下来了，应该是ap>an吧？

semi-hard的筛选请参见paper的内容

恩，恩论文中看到了。tripletselectlayer这一层需要backward吗？总感觉不backward，loss像传不到前面似的。

我运行的时候所有的都显示not need backward computation，不知哪里出了问题？
tripletloss does not need backward computation.
I0504 18:03:40.812458 66083 net.cpp:228] triplet_select does not need backward computation.
I0504 18:03:40.812466 66083 net.cpp:228] norm2 does not need backward computation.
I0504 18:03:40.812474 66083 net.cpp:228] drop8 does not need backward computation.
I0504 18:03:40.812482 66083 net.cpp:228] relu8 does not need backward computation.
I0504 18:03:40.812489 66083 net.cpp:228] fc9 does not need backward computation.
I0504 18:03:40.812497 66083 net.cpp:228] drop7 does not need backward computation.
I0504 18:03:40.812505 66083 net.cpp:228] relu7 does not need backward computation.
I0504 18:03:40.812512 66083 net.cpp:228] fc7 does not need backward computation.
I0504 18:03:40.812520 66083 net.cpp:228] drop6 does not need backward computation.
I0504 18:03:40.812528 66083 net.cpp:228] relu6 does not need backward computation.
I0504 18:03:40.812536 66083 net.cpp:228] fc6 does not need backward computation.
I0504 18:03:40.812544 66083 net.cpp:228] pool5 does not need backward computation.
I0504 18:03:40.812557 66083 net.cpp:228] relu5_3 does not need backward computation.
I0504 18:03:40.812566 66083 net.cpp:228] conv5_3 does not need backward computation.
I0504 18:03:40.812573 66083 net.cpp:228] relu5_2 does not need backward computation.
I0504 18:03:40.812582 66083 net.cpp:228] conv5_2 does not need backward computation.
I0504 18:03:40.812590 66083 net.cpp:228] relu5_1 does not need backward computation.
I0504 18:03:40.812597 66083 net.cpp:228] conv5_1 does not need backward computation.
I0504 18:03:40.812605 66083 net.cpp:228] pool4 does not need backward computation.
I0504 18:03:40.812613 66083 net.cpp:228] relu4_3 does not need backward computation.
I0504 18:03:40.812621 66083 net.cpp:228] conv4_3 does not need backward computation.
I0504 18:03:40.812629 66083 net.cpp:228] relu4_2 does not need backward computation.
I0504 18:03:40.812638 66083 net.cpp:228] conv4_2 does not need backward computation.
I0504 18:03:40.812662 66083 net.cpp:228] relu4_1 does not need backward computation.
I0504 18:03:40.812672 66083 net.cpp:228] conv4_1 does not need backward computation.
I0504 18:03:40.812680 66083 net.cpp:228] pool3 does not need backward computation.
I0504 18:03:40.812688 66083 net.cpp:228] relu3_3 does not need backward computation

@GuitarZhang 您好，我也遇到了您的问题，AttributeError: 'DataLayer' object has no attribute 'param_str_；请问您如何解决这个问题的？具体过程有吗？


Support MFA for AWS CLI

MFA can be enabled for AWS IAM users.
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_credentials_mfa_enable_virtual.html#enable-virt-mfa-for-iam-user
This requires the user to get a token that expires
https://aws.amazon.com/premiumsupport/knowledge-center/authenticate-mfa-cli/
and put that in their .env used during deployment. That will be fed to Terraform/Serverless as an environment variable with the name AWS_SESSION_TOKEN
https://registry.terraform.io/providers/hashicorp/aws/latest/docs#authentication

It'll be better to wait for the deployer to reach a stable state for this.

The new deployer distinguish between cloud provider specific credentials and airnode specific secrets. Exporting any env variables that Terraform (or the underlying AWS library) recognizes is enough. So using MFA with AWS_SESSION_TOKEN env variable is no problem (I myself used it during testing). Closing.


How to proxy anonymous inner class?

cannot proxy inaccessible class class com.leanplum.testproj.MessagesListActivity$1MyListAdapter
Getting this error, when trying to run:
proxyAdapterClass = ProxyBuilder.forClass(existingListAdapter.getClass())
     .dexCache(activity.getDir("leanplumClassDir", Context.MODE_PRIVATE))
     .handler(handler)
     .build();

Looks like proxying anonymous inner classes is not supported by dexmaker, is it?

@benmarten did you find any update on this issue?


CPU High grpc-csharp

What version of gRPC and what language are you using?
CSharp
What operating system (Linux, Windows, …) and version?
Linux / Windows
What runtime / compiler are you using (e.g. python version or version of gcc)
dotnetcore2.0 / Framework 4.7
What did you do?
Just request, Server / Client may make cpu higher
What did you expect to see?
I want get a solution
What did you see instead?

Grpc.Core.Internal.GrpcThreadPool.RunHandlerLoop(CompletionQueueSafeHandle cq, IProfiler optionalProfiler)
take more cpu percent

We need more info to be able to reproduce this:

what grpc version?
more details about when it happens & how do we know that this is not just you system being under load.
how do I reproduce?

If this only happens after a the client/server has been running for a long time, this is probably an instance of https://github.com/grpc/grpc/issues/15336 (which has been already fixed and will be in the next release).
Anyway, without more inputs I can't really help you.

@mojinxun can you provide more details?

sorry, So late to give you a reply
grpc version: 1.10.0
The CPU occupancy ratio of the current process is shown in the picture.
Other disturbing factors have been excluded.
You only need to start a Grpc service to monitor the occupancy of the Grpc service CPU.

I this also happening with newer versions? (please try with v1.13.0)
Also, it seems that just starting a gRPC service wouldn't be enough to get a reproduction of the condition you are describing. can you provide a code snippet that reproduces a problem?
(alternatively, provide as many details as possible:

what is the bitness? (32bit or 64bit application)
does this happen right after you start a server and receive the first request? If not, how long does it need to be running / how many requests you need to perform
what exactly is the request (size, what message type, unary/streaming)
does it happen always or just occasionally?

@mojinxun  without additional info, there's no way we can investigate this (I have a hunch that this could be related to #15336 and thus fixed, but without a reproduction or additional info I don't have a way to verify that).


[Feature]: Real terminal integration

Is your feature request related to a problem? Please describe.
Nowadays computer agents struggle with terminal interface. They are incapable of REPL and shell environments.
Describe the solution you'd like
Introducing a fully capable terminal agent environment. Here are few things it can do.
You can see the position of the cursor, the range of the selected text.

You can also capture a screenshot of the terminal with cursor denoted in red.

Grayscale augmented terminal gives high contrast to the red cursor, making the agent easier to locate it.

Would be great if OS-Copilot adopts this.
Describe alternatives you've considered
OpenDevin has a milestone over this. Devin as shown is already capable of doing this.
Additional context
You can learn more about my efforts here.

Would you please elaborate the reason closing this issue? @heroding77

So sorry that I initially thought it was unrelated advertising.
This looks interesting, and you're welcome to submit a PR to OS-Copilot!

Now it is available as an installable Python package.
pip install termadaptor

hi, this is super cool!!
We are definitely considering integrating it, but we are in short of manpower.
Put it on the todo list at the moment, will sort it out if we get some free hands.


Rigidbody2D objects appear with wrong coords

Issue description:
I've been experiencing this issue since Godot 2.1. Rigidbody2D objects sometimes just spawn in a distance of their actual coords. Also I've noticed that the distance depends on physics_fps value. With high physics fps the distance between a Rigidbody2D appearing on a scene and it's actual coords is larger.
Steps to reproduce:
I tried to reproduce it myself, but the bug appears rarely. I've usually spotted it only with physics_fps value set to 200 and Rigidbody2Ds' gravity scale set to 10.
Godot version: Linux x86_64, Godot 2.1.1 stable

Does enabling "Continuous Collision Detection" help? (even if it is a bit buggy with the bounce)

@bojidar-bg I've played with that option for a while, but the bug didn't disappear.

First of all thank you for your report and sorry for the delay.
We released Godot 3.0 in January 2018 after 18 months of work, fixing many old issues either directly, or by obsoleting/replacing the features they were referring to.
We still have hundreds of issues whose relevance/reproducibility needs to be checked against the current stable version, and that's where you can help us.
Could you check if the issue that you described initially is still relevant/reproducible in Godot 3.0 or any newer version, and comment about it here?
For bug reports, please also make sure that the issue contains detailed steps to reproduce the bug and, if possible, a zipped project that can be used to reproduce it right away. This greatly speeds up debugging and bugfixing tasks for our contributors.
Our Bugsquad will review this issue more in-depth in 15 days, and potentially close it if its relevance could not be confirmed.
Thanks in advance.
Note: This message is being copy-pasted to many "stale" issues (90+ days without activity). It might happen that it is not meaningful for this specific issue or appears oblivious of the issue's context, if so please comment to notify the Bugsquad about it.

Our Bugsquad will review this issue more in-depth in 15 days, and potentially close it if its relevance could not be confirmed.

As there was no update since the previous post, we close this issue.
If it is still relevant in the way it was described and discussed above, please comment to ask for it to be reevaluated. If it is only partly relevant, or if the original issue has changed, it would be better to open a new issue (potentially referring to this one) focused on the current state.


Prevent redirect on dragging div with anchor tag

How can I prevent the page redirect while dragging an anchor tag but still redirect when I only clicked it?
Tried using preventDefault() inside onDrag handler but it also disable the anchor tag when only clicking

Is your anchor tag have to be draggable? If not, you can use the cancel option. Your link will be clickable but not draggable.

I solved this issue as follows:

Set a 'dragging' flag in the drag start event handler
Clear that flag (using a timer) 250ms after the drag end event
Have the click handler only execute its contents if the flag is cleared (not in a drag operation)

Is there no better way to do this than setting a "dragging" flag?

Wrapping the <Draggable> around a
 with an event.stopPropagation() worked for me.

 e.stopPropagation()}>
       <Draggable
              axis="x"
              defaultClassName="DragHandle"
              defaultClassNameDragging="DragHandleActive"
              onDrag={(event, { deltaX }) =>
                this.resizeRow({
                  dataKey,
                  columnIndex,
                  deltaX,
                  totalTableWidth,
                })
              }
              position={{ x: 0 } as any}
            >
              ⋮
     </Draggable>

Here is a solution with React hooks similar to timeout solution
`
const [isDragging, setDragging] = React.useState(false)
const currentTimeOut = React.useRef(null)
const onDragStop = React.useCallback(() => { // can be done onDragStart also
setDragging(true)
currentTimeOut.current = setTimeout(() => {
setDragging(false)
}, 600)
// do your operations here
}, [])
// !important -> clearInterval to avoid errors on unmount
React.useEffect(() =>  clearInterval(currentTimeOut.current), [])
`

Here is a solution with React hooks similar to timeout solution
`
const [isDragging, setDragging] = React.useState(false)
const currentTimeOut = React.useRef(null)
const onDragStop = React.useCallback(() => { // can be done onDragStart also
setDragging(true)
currentTimeOut.current = setTimeout(() => {
setDragging(false)
}, 600)
// do your operations here
}, [])
// !important -> clearInterval to avoid errors on unmount
React.useEffect(() =>  clearInterval(currentTimeOut.current), [])
`

I approached it via dynamic css classnames. When you are dragging the div, you essentially remove the touch via pointer-events: none
import React, { FC, ReactNode, useState } from "react";
import Draggable from "react-draggable";

interface Props {
  children: ReactNode;
}

const YourComponent: FC<Props> = ({ children }) => {
  const [isDragged, setIsDragged] = useState(false);

  const wrapper = isDragged ? "your-component--dragged" : "your-componen";

  const onDragStart = () => {
    setIsDragged(true);
  };

  const onDragEnd = () => {
    setIsDragged(false);
  };
  return (
    <Draggable onDrag={onDragStart} onStop={onDragEnd}>

{children}

    </Draggable>
  );
};

export default YourComponent;

And in the css for the component:
.component,
.component--dragged {
  height: 200px;
  width: 200px;
  background-color: red;
}

.component--dragged {
  pointer-events: none;
}


More calibration

The em-button should allow for changing the strength of the electromagnet.

[x] route to return the current electromagnet strength setting
[x] route to update the current electromagnet strength setting

The setting has to be saved in the local database.

[x] update the /device/data/ route to return the electromagnet's current strength setting

The value for the electromagnet's new strength needs to be specified as a double between 0-100.
When loading the data on startup, of course, it should be mapped as a value between 0-255.

Need to fix calibration to account for:

[ ] electromagnet startup time
[ ] inactive state

This may entail adding timers of 3-second intervals where the device gets its primary measurements only after the electromagnet has been activated and the button is maximally repulsed, then asks the user to press down maximally in order to get the highest possible measurement. May not be necessary to do that, though.


updates the environment variables table to login to dockerhub

This PR is related to the changes made in https://github.com/nephio-project/test-infra/pull/182

/hold

/hold cancel

/lgtm

@vjayaramrh could you rebase this patch for merging it?

@vjayaramrh could you rebase this patch for merging it?

Thanks @electrocucaracha , Its rebased now.

/lgtm

/lgtm
/approve


Week 18 Review Ticket

College Board Performance Task Scoring 2
Object Oriented Programming
Website Frontend
My work:
https://annikaliao.github.io/gacc_reunion/ovulation
https://annikaliao.github.io/gacc_reunion/motivation

CollegeBoard: 1/1 - has all 4 grades and a summary
OOP: 1/1 - has required fields and a new class
Frontend: 1/1 - has functioning frontend with HTML and SASS components
Overall: 3/3


Getting definition of words rather prints it's antonyms

word = "mother"
definition = Definitions(search_string=word).find_definitions()
print(definition)

OUTPUT: ['father']
EXPECTED OUTPUT: ['a female parent']
wordhoard_error.yaml
2022-02-25 10:14:50:wordhoard.utilities.basic_soup:ERROR: Response Status Code: 403
2022-02-25 10:14:50:wordhoard.utilities.basic_soup:ERROR: HTTP 403 is an HTTP status code meaning access to the requested resource is forbidden.
2022-02-25 10:14:50:wordhoard.utilities.basic_soup:ERROR: Associated URL: https://www.collinsdictionary.com/dictionary/english-thesaurus/mother
2022-02-25 10:20:03:wordhoard.utilities.basic_soup:ERROR: Response Status Code: 403
2022-02-25 10:20:03:wordhoard.utilities.basic_soup:ERROR: HTTP 403 is an HTTP status code meaning access to the requested resource is forbidden.
2022-02-25 10:20:03:wordhoard.utilities.basic_soup:ERROR: Associated URL: https://www.collinsdictionary.com/dictionary/english-thesaurus/mother
2022-02-25 10:20:53:wordhoard.utilities.basic_soup:ERROR: Response Status Code: 403
2022-02-25 10:20:53:wordhoard.utilities.basic_soup:ERROR: HTTP 403 is an HTTP status code meaning access to the requested resource is forbidden.
2022-02-25 10:20:53:wordhoard.utilities.basic_soup:ERROR: Associated URL: https://www.collinsdictionary.com/dictionary/english-thesaurus/mother
2022-02-25 10:22:55:wordhoard.utilities.basic_soup:ERROR: Response Status Code: 403
2022-02-25 10:22:55:wordhoard.utilities.basic_soup:ERROR: HTTP 403 is an HTTP status code meaning access to the requested resource is forbidden.
2022-02-25 10:22:55:wordhoard.utilities.basic_soup:ERROR: Associated URL: https://www.collinsdictionary.com/dictionary/english-thesaurus/mother
2022-02-25 10:23:00:wordhoard.utilities.basic_soup:ERROR: Response Status Code: 403
2022-02-25 10:23:00:wordhoard.utilities.basic_soup:ERROR: HTTP 403 is an HTTP status code meaning access to the requested resource is forbidden.

I'm trying to reproduce this problem, but I'm getting this in my results:
from wordhoard import Definitions

word = 'mother'
definition_results = Definitions(search_string=word).find_definitions()
print(definition_results)
['a female parent',  'a woman who has given birth to a child (also used as a term of address to your mother).']

Based on the information in wordhoard_error.yaml I see that the source Collins Dictionary has an issue, which I will fix.

I found the issue with source Collins Dictionary.  It is now using Cloudflare captcha-bypass protection.  This is hard to bypass, so I might need to either pull that source or design a work around, which might be possible with a some effort.

@AmoabaKelvin were you able to get the correct results after I posted my answer?

Sorry for the late reply.
Yup, I've been able to.
Thanks


Doesn't work on windows

i get this error when i python -m fpyo2apk.build on windows:
This is `fpyo2apk`. A flet-pyodide dist to apk converter.
Be sure that Android Studio is installed and setuped.
Starting..

Create a briefcase project..
Traceback (most recent call last):
  File "<frozen runpy>", line 198, in _run_module_as_main
  File "<frozen runpy>", line 88, in _run_code
  File "D:\Programming_Projects\mine\Hadith_Searcher\myenv\Lib\site-packages\fpyo2apk\build.py", line 24, in <module>
    edit_an_exist_project()
  File "D:\Programming_Projects\mine\Hadith_Searcher\myenv\Lib\site-packages\fpyo2apk\beeware_tools\edit_beeware_project.py", line 11, in edit_an_exist_project
    Unzip_asset()
  File "D:\Programming_Projects\mine\Hadith_Searcher\myenv\Lib\site-packages\fpyo2apk\Tools\unzip_assets.py", line 13, in Unzip_asset
    with zipfile.ZipFile(asset_path, "r") as zip_ref:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Program Files\Python311\Lib\zipfile.py", line 1299, in __init__
    self._RealGetContents()
  File "C:\Program Files\Python311\Lib\zipfile.py", line 1366, in _RealGetContents
    raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file

i installed android studio and dist is in the same folder as the terminal

It seems like you did not create a virtual environment, did you ?
@Shinobi7k

It seems like you did not create a virtual environment, did you ?
@Shinobi7k

I did

I am so sorry, there was really an issue. But I did fix it!
Please upgrade the package:
pip install fpyo2apk --upgrade

Please tell me if it worked!

I get this error on briefcase build android:

* What went wrong:
Execution failed for task ':app:packageDebug'.
> A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
   > com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store "C:\Users\Shinobi\.android\debug.keystore": Invalid keystore format

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3s
38 actionable tasks: 1 executed, 37 up-to-date
Building...

Error while building project.

I get this error on briefcase build android:

* What went wrong:
Execution failed for task ':app:packageDebug'.
> A failure occurred while executing com.android.build.gradle.tasks.PackageAndroidArtifact$IncrementalSplitterRunnable
   > com.android.ide.common.signing.KeytoolException: Failed to read key AndroidDebugKey from store "C:\Users\Shinobi\.android\debug.keystore": Invalid keystore format

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 3s
38 actionable tasks: 1 executed, 37 up-to-date
Building...

Error while building project.

I have same error like this


Use of asyncio.timeout

Hi. Is this the same issue as #125? Apologies if it is!
So new installation of yahoofinance via HACS so 1.26 as of today 16 Apr 2024
This error originated from a custom integration.
Logger: homeassistant.setup
Source: custom_components/yahoofinance/coordinator.py:67
Integration: Yahoo Finance (documentation, issues)
First occurred: 17:47:04 (1 occurrences)
Last logged: 17:47:04
Error during setup of component yahoofinance
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/setup.py", line 256, in _async_setup_component
result = await task
File "/config/custom_components/yahoofinance/init.py", line 274, in async_setup
await _setup_coordinator()
File "/config/custom_components/yahoofinance/init.py", line 225, in _setup_coordinator
crumb = await crumb_coordinator.try_get_crumb_cookies()  # Get crumb first
File "/config/custom_components/yahoofinance/coordinator.py", line 67, in try_get_crumb_cookies
async with asyncio.timeout(WEBSESSION_TIMEOUT):
AttributeError: module 'asyncio' has no attribute 'timeout'
I did try just commenting out the offending line in coordinator.py but it bombs on another use of asyncio.timeout further down (line 322 if I remember rightly) so decided to park my hacking py file skills and log an issue instead.

I noticed the WEBSESSION_TIMEOUT was set to 15 so edited the line and entered 15 directly. That has made no difference. It's like the version of asyncio it's using no longer has the .timeout attribute? But I can find relatively recent Google search results on it. Has it just been deprecated?

Looking again at issue 125. I have no issue getting to Yahoo Finance from a browser and getting stock graphs is quick too

What is your HomeAssiatant version?

I strongly suspect that this is an older version of HomeAssistant, please update HomeAssistant.

Any update on this?

There has no response on this. This would have happened with older version of HomeAssistant.


Using other modules?

Is is possible to use other modules ( for example fs, mysql and redis) with custom realms?
Like this:
ServerCommands.register('/file', (player, call) => {

    const fs = require("fs");
   player.sendMessage(fs.readFileSync(__dirname + '/file.txt'));

});

You can't currently, but I think you should be able to. That is something that needs to be implemented in https://github.com/customrealms/bukkit-runtime. I'll transfer this issue over to there.


Creating instance with incomplete error message (403)

Try to create a new instance via cli, the response is 403 with an error message, which is not complete. You see "two whitespaces" in the error message, as something is missing.
ibmcloud is instance-create demo-instance $VPC $ZONE bx2-2x8 --image-id r010-5b5e4060-be94-42f8-ad1d-d03eb30b8fc2 --primary-network-interface '{"name": "primary-nic", "allow_ip_spoofing": true, "subnet": {"id":"02c7-81b7c383-........"}, "security_groups": [{"id": "r010-f548394a-7bac-......."}]}'
Creating instance demo-instance in resource group Default under account XXXXX as user Hafid...
FAILED
Response HTTP Status Code: 403
Error code: not_authorized
Error message: the provided token is not authorized to  the specified instance (ID:NEWRESOURCE) in this account
Trace ID: cbd04fd6-c55b-4791-a3b4-9279e168b2e4

ibmcloud --version
ibmcloud version 1.3.0+4308925-2020-12-16T07:53:49+00:00

By the way,

I can create the instances via UI with the same user/credentials
selected subnet and security-group is in the same resource group (here: Default)

reason found:
problematic is "allow_ip_spoofing": true changing to false allows the creation.
We have to enhance the error message ;-)

@haf-tech are you still seeing this problem with the latest CLI and is plug-in?


Crafter eats my stuff

I'm playing Horizons Daybreaker 1.0.2 with rftools 3.10.
Sometimes the crafter consumes resources and doesn't produce anything.
I managed to narrow it down somewhat: screenshot
When I put the 2 osmium and 4 alloy it needs the tablets and said items disappear and the two cubes remain unaffected. It works fine when there is no red cube besides the green one. The mekanism cubes are non-stackable.

That is very weird. Are you sure nothing is extracting the output from the crafter?

Yes, it bordered only a cable and some Mek machine. They can't pull. I also possibly ran into similar problem before also with crafting Mek solar panels but can't be sure what happened as I didn't have the ingredients carefully counted.
It looks as if the crafter somehow tried to add the new red cube to existing stack, which didn't work because the item is non stackable. There might be something off in Mek. As much as I like it, it either has more than average share of bugs or I have simply very bad luck with it.

I've just tested with rftools 3.30 and problem is still there.

Can you describe the recipes more exactly? I'm not 100% sure yet what you're doing to reproduce this.

I've done 3.30 testing in creative test world.
Tablet Advanced Cube
I've set recipes for Basic and Advanced Cube and the Energy Tablet. Then I've put in enough stuff to make one of each cubes and enough to upgrade the basic cube to advanced with just redstone missing. When I add 4 redstone a tablet gets made. With another four redstone another tablet is made flashes for a moment because there's enough to make upgrade the basic cube to advanced. Resources get consumed but the basic cube doesn't get upgraded, they both stay the same. If there is no advanced cube already there in one of the resource slot it works fine. If the advanced cube recipe is set to 'ext' the basic one doesn't change and the existing advanced is moved to output slot. I've also noticed that both basic and advanced empty cubes have the same id of 908:100.
BTW How does the crafter decide what to craft if it has enough resources to do two recipes sharing some ingredients?

It is possible that this bug is fixed in the next release but not 100% sure. I did fix something at least. I will close this. If you try out 3.31 later and find out the bug is not fixed then you can reopen this.


collapse Button

Hi ,
I think there is a little bug in your nice :+1:  code:
In order to show the sidenav I had to change the "data-activates value form "mobile-demo" to nav-mobile.
<collapseButton.code = '';>
I like your Pinegrow plugin and I am also experimenting with adding flexbox features.

Hi,
Actually, this code is written for the list inside navbar (Navbar List), but I will add an option to the collapse button so you can change the data-activates attribute from the PROP tab in the Pinegrow's left sidebar.
So happy to hear that!, waiting for your participation.


build: Colorize CI

Codecov Report

Merging #1661 (8367551) into master (d786b5d) will decrease coverage by 0.32%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1661      +/-   ##
==========================================
- Coverage   98.89%   98.56%   -0.33%
==========================================
  Files          95       95
  Lines        7662     7662
  Branches     1581     1581
==========================================
- Hits         7577     7552      -25
- Misses         52       70      +18
- Partials       33       40       +7

Impacted Files
Coverage Δ

src/schemathesis/_compat.py
57.50% <0.00%> (-20.00%)
:arrow_down:

src/schemathesis/extra/pytest_plugin.py
94.28% <0.00%> (-4.29%)
:arrow_down:

src/schemathesis/cli/output/default.py
97.22% <0.00%> (-1.94%)
:arrow_down:

...c/schemathesis/specs/openapi/expressions/parser.py
98.68% <0.00%> (-1.32%)
:arrow_down:

src/schemathesis/specs/openapi/loaders.py
98.46% <0.00%> (-0.77%)
:arrow_down:

src/schemathesis/runner/impl/core.py
96.51% <0.00%> (-0.47%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Delete section Limitations

Hi Susanne,
the section Limitations needs to be deleted. It seems to be accidently copied from or for a totally different article.
On a side note: the code examples are still C/AL.

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

ID: dd763007-eec4-95da-5750-faba18a723b1
Version Independent ID: 378c9bd0-5ddf-e49f-d1f0-87f2a9e79a2c
Content: Open Method - Business Central
Content Source: dev-itpro/developer/methods-auto/recordref/recordref-open-method.md
Service: dynamics365-business-central
GitHub Login: @SusanneWindfeldPedersen
Microsoft Alias: solsen

Hi Natalie, thanks for catching this - I agree that this looks weird, will be fixed with the next doc refresh. Thanks!


[EXPERIMENT] minimal grpc example

@mxinden @stuartnelson3 @w0rm this generates a REST API with Swagger docs. Can you try whether this would work to generate clients for our new frontend?
@brian-brazil as you had strong feelings about all this in the past, can you take a look?
In general the benefits I'm seeing here:

We have a typed definition of our API and no longer have implementation == specification
One definition giving us a gRPC and REST API that are always in sync
clients across many languages can be generated for either – no need for us to ever write client libs

I realize that the performance gRPC provides may not matter all that much here. But the framework it provides seems pretty neat.

Awesome! I will have a look later today or over the weekend.

From my standpoint, we'll need to continue to offer a JSON interface for the forseeable future. We'll also need to keep all prometheus<->am traffic and am<->am traffic off HTTP 2.0 by default for a few years yet, to give time for enterprises to be able to handle it.
As long as we're doing that, I'm not too bothered about the rest of the details.

Brian: I'm not sure I understand your comment regarding HTTP/2. Is there a
reason enterprises couldn't rely on protocol negotiation? If intermediary
proxies don't support HTTP/2, HTTP/1.1 will be used.
In other words, HTTP/1.1 is the always the default unless both client and
server are capable and willing to upgrade to HTTP/2.
On Fri, 7 Apr 2017 12:46 Brian Brazil<EMAIL_ADDRESS>wrote:

From my standpoint, we'll need to continue to offer a JSON interface for
the forseeable future. We'll also need to keep all prometheus<->am traffic
and am<->am traffic off HTTP 2.0 by default for a few years yet, to give
time for enterprises to be able to handle it.
As long as we're doing that, I'm not too bothered about the rest of the
details.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/prometheus/alertmanager/pull/698#issuecomment-292516024,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEJbsEu71Z9RtmYee5T-HMInsIATlv1oks5rtiIGgaJpZM4M2ibA
.

My understanding is that there are hard dependencies on HTTP/2 in grpc, and content negotiation isn't an option.

I think Brian's point was merely that there need to be an HTTP1+JSON option on top of whatever more modern approach we provide. gRPC indeed only works with HTTP2 to my knowledge.

Thanks - makes sense, I need to read up on gRPC.
FWIW I'm very much in favour of retaining support for a JSON-based API as
it's so widely understood and performs well enough for Alertmanager under
relatively heavy traffic.
I'd be interested to know the use  cases in favour of gRPC for
Alertmanager. It would be good to document these architectural decisions.
On Fri, 7 Apr 2017 18:10 Fabian Reinartz<EMAIL_ADDRESS>wrote:

I think Brian's point was merely that there need to be an HTTP1+JSON
option on top of whatever more modern approach we provide. gRPC indeed only
works with HTTP2 to my knowledge.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/prometheus/alertmanager/pull/698#issuecomment-292595505,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEJbsHwKHUnRQWePBhWTU8SzfDr_xziQks5rtm3ogaJpZM4M2ibA
.

Yea, we all agree on gRPC not being viable as the only option. That's what this whole test PR is about.

After having investigated a little into Elm libraries to generate api clients there are two out there:

Swagger-Elm

Generate Elm api client from api.swagger.json file
Lacks support for dict / maps (See issue)

Elm-protobuf

Generate Elm api client right from api.proto file
Lacks support for maps (See issue)
Plans to add map support this month (See comment)

Might be a good investment to contribute these features to one of them.

Swagger-Elm looks like a good idea to me


Propose release version 0.4.0

hello cluster-api provider kubemark community,
we have had an important feature merged and some proposed changes to fix our release artifacts and instructions. i would like to propose that we merge #50 and tag release v0.4.0.
Changes

add ability to specify an external cluster for the kubemark hollow pods
update release instructions and artifacts to work better with clusterctl 1.1

sounds great @elmiko , let's build it 👍

cool, thanks @agradouski !
we just need to merge #50 then i will tag on that commit

closed by #50, new release has been created https://github.com/kubernetes-sigs/cluster-api-provider-kubemark/releases/tag/v0.4.0


Outline of the button should be aligned with the button

I assume we want outline of a button to align with it's border so that it looks consistent with other components?

This is intended behaviour.
Source: https://www.figma.com/file/8mVm6LTbp2Z0RaWWjTZoft/🐝HIVE---Hazelcast-Design-System?node-id=1491%3A295

asd

@pawelklasa feel free to close if this is intended.


Parameters of linked services not showed in data flow

Hi,
I created a parameterized linked storage account to use in a data flow:

When I want to use it as an inline source in a data flow, the parameter does not show:

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

ID: 40982a5b-890f-0ef4-fad7-2d65b856aef8
Version Independent ID: d8bb4c47-721b-0263-b533-211081b31565
Content: Parameterizing mapping data flows - Azure Data Factory & Azure Synapse
Content Source: articles/data-factory/parameters-data-flow.md
Service: data-factory
Sub-service: data-flows
GitHub Login: @kromerm
Microsoft Alias: makromer

Thanks for leveraging Azure docs feedback channel to raise this question. This channel is reserved for ‘Azure docs’ feedback- for sharing doc feedback and suggesting content improvements. We didn't determine any changes for this documentation upon reviewing this feedback.
If your issue is specific to a use case, we request you to please reach out in forums like Microsoft Q&A or Stackoverflow. We have our engineers and other community members who will be happy to assist. Forums have a better suited audience for such queries. Once your issue is posted in forum, please do share the forum thread link here for tracking.
If you have a document which you are following and if you think it needs an update, please let us know about that here.
Thank you

Ok thanks, I created a new post here: https://docs.microsoft.com/en-us/answers/questions/724428/parameters-of-linked-services-not-showed-in-data-f.html

Thank you @lasyan3 for sharing the details. As we are tracking this in MS Q&A forum, we will proceed to this close this thread.
One of our engineers or MVPs will assist on your ask in MS Q&A forum.
Thank you


Dead link http://go.microsoft.com/fwlink/?LinkId=61995

Found in docs/tfs-server/admin/service-accounts-dependencies-tfs.md
Redirects to https://www.microsoft.com/technet/prodtechnol/windowsserver2003/library/depkit/72612D01-622C-46B7-AB4A-69955D0687C8.mspx

Hi @nschonni , I know this was a while back, but it would seem that article no longer exists, so I'm updating  the text a bit and changing the link to this page about account delegation in AD: https://technet.microsoft.com/en-us/library/2007.02.activedirectory.aspx


Visual issues in doom-horizon

Hey. I'd like to thank you guys for these amazing set of themes. I love all of them, and find myself switching between them quite often (and sometimes can't even decide which one to stick with, because they're all so good).
I was using doom-vibrant until today. Today, I'd switched to doom-horizon. However, I'm facing 2 issues with the theme. The first one is with the doom-modeline when doom's visual bell triggers. While the entire modeline flashes in red, some elements on the modeline still have the original background, which looks weird.

Secondly, I'm using the solaire-mode package, and I've set solaire-mode-remap-fringe to nil. While this worked properly with doom-one and doom-vibrant, it doesn't work on doom-horizon (and with some of the other themes too, like doom-challenger-deep, etc).

Finally, while this isn't an issue, I've also noticed that doom-horizon doesn't highlight the buffer's major mode (with a bolder font and different color) in the modeline. I love the doom-horizon theme, and I'd definitely switch to it permanently if there was a fix for these issues.

The fringe and the mode-line major mode colors were fixed. Regarding the visual bell issue, I think that's an issue with the way those items are being propertized, which I think it's not fixable here. Maybe @hlissner or @seagle0128  can give you an answer to that.

@ema2159 After quick checking the codes, I think the root cause is the background of doom-modeline-info was overriden.
``elisp
(doom-modeline-info :background base1 :foreground cyan)

BTW,  `solaire-mode-line-face` and `solaire-mode-line-inactive-face` are missing in some themes, like `molokai`, `monokai-classic`, `monokai-pro`,  `snazzy`, etc. That cause `visual-bell` functionality doesn't work.

Thanks, @seagle0128! @nikhil-prabhu problems you addressed have been fixed. Please tell me if there's any problem with them and I'll be glad to help.

Thanks, @ema2159 . The issue of doom-horizon has been fixed. Will you fix the issue about solaire-mode in other themes I mentioned above?

@seagle0128 of course! I will look it up soon

@seagle0128 @ema2159 Thank you so much for your response. I updated doom-themes now and tried out doom-horizon again. However, the fringe issue doesn't seem to be fixed. The visual bell is working fine now, though.

@nikhil-prabhu what would be the expected outcome?

@ema2159 The fringe looks thick between buffers and the background color doesn't match (screenshot attached).

And I apologize for the late reply. I didn't check Github for quite a while.

@nikhil-prabhu Off topic question here: where did you get the doom-xcode theme? I couldn't find it anywhere

@ianpan870102 there's a PR for it. It hasn't been merged though!
Btw, I missed this, I'll be looking into that fringe problem again soon.


locale.getdefaultlocale() returns None

Hello,
Does Esky change something with the locale.getdefaultlocale() behavior?
I tried on several different OS and I got good results. But from within an Esky built on macOS, I get (None, None). The same script outside Esky gives me ('fr_FR', 'UTF-8').
Do you have an idea what is going on here?
Thank you.
PS: setting the system locale does not change anything:
locale.setlocale(locale.LC_ALL, '')

Thanks for reaching out.  Unfortunately this project is no longer actively maintained, so I'm going to move it into archive mode:
https://rfk.id.au/blog/entry/archiving-open-source-projects/


Open up MultiprocessStorageBackend.

Open up the class MultiprocessStorageBackend to be used by oauth2l.
Add a clear credential method that remove all credential stored.

oauth2l needs this change to implement a revoke feature where all cached
tokens are removed from cache and revoked.

We are strongly trying not to introduce more public API surface area. Why should we make this public?

I'm implementing a revoke method for oauth2l where I will need to clear all credentials stored in the local cache.

I guess I'm not clear on why we need this for oauth2l?

The storage class already has a public delete method.
If you're really looking to blow away all credentials, you can just drop the file.

I would be interested to know precisely what semantics you're trying to implement on the oauth2l side, and why the existing surface doesn't already support them.

To revoke all tokens in the cache, I will need to

get all credentials in the cache
call something like https://<revoke_url>?token=xxx for each token
delete them from local cache

So just drop the file won't work for number 2

As disussed with Hong, I will put this PR on hold since we have a deadline to meet. I will first only implement revoking a particular credential, which doesn't need any change here.

I'd be amenable to adding a top-level module function to get a list of all keys in the file. I would not be amenable to making the entire backend publicly visible.
I'm closing this PR, but feel free to continue discussion.


add error analysis error importances (aka correlation of features with error) to model analyzer API

add importances to the error analysis manager in model analyzer, so importances (aka correlation of features with error) will be computed

Can you update the schema file for error analysis as a part of this PR?

"Can you update the schema file for error analysis as a part of this PR?"
done!


Unable to use KUBERNETES_SERVICE_ACCOUNT_TOKEN authentication method

Hi!
I have a custom Elyra notebook server running on Kubeflow. The notebook is running on the pod, where the serviceaccounttoken is defined in the same namespace as Kubeflow and the environment variable KF_PIPELINES_SA_TOKEN_PATH points to that mounted secret.
But when selecting the KUBERNETES_SERVICE_ACCOUNT_TOKEN method, it fails on uploading the pipeline to Kubeflow using ArgoClient. Is there any specific way the token should be added to be able to execute pipelines?
Steps to reproduce the behavior:

Create a new Kubeflow pipeline.
Fill in the runtime configuration like this:

Try running the pipeline with this runtime config.

If applicable, add screenshots or log output to help explain your problem.
logs.txt
Expected behavior
Pipeline can be submitted using SA token.
Deployment information

Elyra version: [e.g. 1.5.3]
Operating system: linux
Installation source: custom container image
Deployment type: Kubernetes

Pipeline runtime environment
Kubeflow Pipelines version 1.6, single-user

@annhov seems like from log you included that it doesn't have enough permission to by-pass your proxy.
perhaps check locally with the service-account token, are you able to connect to server?

@harshad16 thanks for the reply. The problem was resolved by using internal DNS to access KF API: http://ml-pipeline.kubeflow:8888/


Enable PPA builds

this merges the latest Bitcoin changes and should enable us to provide Dash PPAs via https://launchpad.net/~dash.org/+archive/ubuntu/dash

Closes #880

Btw, this is just for documentation purposes, Bitcoin is not even maintaining their contrib/debian folder anymore

Pushed 7ad1ea8

Pushed 05e0a1240

Pushed da7ef9c - rename the missing bitcoin*.png and bitcoin*.xpm to their dash counterparts

Pushed d0d2f0519b587459ba5e25c9cf678e104d38903e

Pushed 3dc2bab

utACK 3dc2bab
Hope it actually works ;)


Multiple-value field should not use ul element when returns 1 item only

All field[--[...]].html.twig) Twig templates output an ul element for "Entity reference" field type when Unlimited is set as Allowed number of values.
https://github.com/openfed/kiso/blob/d9602d38f08f153ddd5a046804a50048ca774e08/templates/field/field.html.twig#L37-L43
Therefore, the default multiple flag should be redefined to know if we have more than 1 item to display for the current field result:
{% set multiple = items|length > 1 ? TRUE : FALSE %}

This bug fix will be available with the next release 2.7.


Object destructuring causes deprecated status to get lost

🔎 Search Terms
object destructing deprecated status lost @deprecated
🕗 Version & Regression Information

This is the behavior in every version I tried, and I reviewed the FAQ for entries

I don't think this is a regression, I haven't seen it work in the past.
⏯ Playground Link
https://www.typescriptlang.org/play/?#code/FAFwngDgpgBAylEBXCAlKBnJAbEMC8MA3sDGTAPQBUVMAAgCZQQBOUAxgIYhQMxUVS5ALYB7JADsQALhgAKAJQEAfDABuogJYNgAX2DBqtRszZcefJBlgZRwxAAtNEgOYwo2a-0EAzSexBNUQkYa2QIRVkEcPQsXGIhMjZkFhCiMUkZeSV8VSJdfX1gdmCMPDY4vEIwlEUAbmAKnBAAOgypRUMKch6APRgmVg5uXhhODHcAD2gA3gBCAxKJMuIYdrxdAlDEWoUG9c6Kbv6GUUwJAHI8F0Q1zhYAa1HxgdNhiyA
💻 Code

type SetupResult = {
    /** @deprecated */
    mount: () => void
}

/** @deprecated use something else */
function setup(): SetupResult {
    return {mount: () => {}}
}

const result = setup();
result.mount()
//       ^ deprecated as expected!

const { mount } = setup();
mount()
// ^ doesn't get marked as deprecated

🙁 Actual behavior
The destructered mount property doesn't show up as deprecated when called.
🙂 Expected behavior
The destructered mount function should show up as deprecated when called.
Additional information about the issue
No response

Wasn't there another issue like this where most of the JSDoc gets carried over but the @deprecated tag doesn't?  I feel like I've seen this bug before.

I think this is working as expected. In the playground, I see accessing the mount property to be deprecated.

I think instead you want the call to be regarded as deprecated:
interface DeprecatedMount {
    /** @deprecated */
    (): void
}

type SetupResult = {
    mount: DeprecatedMount
}

function setup(): SetupResult {
//...

Playground Link
It does seem like maybe there is an ergonomics issue here. It seems to ONLY work with interface declarations, not with function type expressions nor with call signatures. In both cases the @deprecated directive is silently ignored:
type SetupResult1 = {
    mount: /** @deprecated */ () => void
}
type SetupResult2 = {
    mount: { /** @deprecated */ (): void}
}


Remove reference to docker/libcontainer

Since even the README in libcontainer shows the project is moved I thought it could make sense to remove this reference and use docker/compose instead (could have been any other docker repo, just name another and I'll update if compose is not ok)
Signed-off-by: Antonio Murdaca<EMAIL_ADDRESS>

LGTM - @thaJeztah @moxiegirl @jamtur01 @fredlf

Good catch! LGTM


Can not add material to project using ng add @angular/material

Bug, feature request, or proposal:
Can not add material using schematic
What is the expected behavior?
Add material to project
What is the current behavior?
PS C:\Users\lando\test-project> ng add @angular/material
Installing packages for tooling via npm.
Collection "@angular/material" cannot be resolved.
Error: Collection "@angular/material" cannot be resolved.
at NodeModulesEngineHost._resolveCollectionPath (C:\Users\lando\test-project\node_modules@angular-devkit\schematics\tools\node-module-engine-host.js:88:15)
at NodeModulesEngineHost.createCollectionDescription (C:\Users\lando\test-project\node_modules@angular-devkit\schematics\tools\file-system-engine-host-base.js:106:27)
at SchematicEngine._createCollectionDescription (C:\Users\lando\test-project\node_modules@angular-devkit\schematics\src\engine\engine.js:78:40)    at SchematicEngine.createCollection (C:\Users\lando\test-project\node_modules@angular-devkit\schematics\src\engine\engine.js:71:43)
at Object.getCollection (C:\Users\lando\test-project\node_modules@angular\cli\utilities\schematics.js:28:31)    at AddCommand.getOptions (C:\Users\lando\test-project\node_modules@angular\cli\models\schematic-command.js:193:41)
at AddCommand. (C:\Users\lando\test-project\node_modules@angular\cli\commands\add.js:30:49)    at Generator.next ()
at C:\Users\lando\test-project\node_modules@angular\cli\commands\add.js:7:71    at new Promise ()
What are the steps to reproduce?
ng new test-project --style scss --routing
ng add @angular/material
What is the use-case or motivation for changing an existing behavior?
Having it work
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
"dependencies": {
"@angular/animations": "^6.0.3",
"@angular/common": "^6.0.3",
"@angular/compiler": "^6.0.3",
"@angular/core": "^6.0.3",
"@angular/forms": "^6.0.3",
"@angular/http": "^6.0.3",
"@angular/material": "^6.3.0",
"@angular/platform-browser": "^6.0.3",
"@angular/platform-browser-dynamic": "^6.0.3",
"@angular/router": "^6.0.3",
"core-js": "^2.5.4",
"rxjs": "^6.0.0",
"zone.js": "^0.8.26"
},
"devDependencies": {
"@angular/compiler-cli": "^6.0.3",
"@angular-devkit/build-angular": "~0.6.8",
"typescript": "~2.7.2",
"@angular/cli": "~6.0.8",
"@angular/language-service": "^6.0.3",
"@types/jasmine": "~2.8.6",
"@types/jasminewd2": "~2.0.3",
"@types/node": "~8.9.4",
"codelyzer": "~4.2.1",
"jasmine-core": "~2.99.1",
"jasmine-spec-reporter": "~4.2.1",
"karma": "~1.7.1",
"karma-chrome-launcher": "~2.2.0",
"karma-coverage-istanbul-reporter": "~2.0.0",
"karma-jasmine": "~1.1.1",
"karma-jasmine-html-reporter": "^0.2.2",
"protractor": "~5.3.0",
"ts-node": "~5.0.1",
"tslint": "~5.9.1"
}
Is there anything else we should know?

+1

Hey,
I don't know what the fix is but by specifying to install the previous version<EMAIL_ADDRESS>and<EMAIL_ADDRESS>I was able to generate schematics successfully. judging from the fact 6.3.0 was updated 8 hours ago made me try the downgrade. I've pasted my package.json below:
{
  "name": "materialpoc",
  "version": "0.0.0",
  "scripts": {
    "ng": "ng",
    "start": "ng serve",
    "build": "ng build",
    "test": "ng test",
    "lint": "ng lint",
    "e2e": "ng e2e"
  },
  "private": true,
  "dependencies": {
    "@angular/animations": "^6.0.3",
    "@angular/cdk": "^6.2.1",
    "@angular/common": "^6.0.3",
    "@angular/compiler": "^6.0.3",
    "@angular/core": "^6.0.3",
    "@angular/forms": "^6.0.3",
    "@angular/http": "^6.0.3",
    "@angular/material": "^6.2.1",
    "@angular/platform-browser": "^6.0.3",
    "@angular/platform-browser-dynamic": "^6.0.3",
    "@angular/router": "^6.0.3",
    "core-js": "^2.5.4",
    "rxjs": "^6.0.0",
    "zone.js": "^0.8.26"
  },
  "devDependencies": {
    "@angular/compiler-cli": "^6.0.3",
    "@angular-devkit/build-angular": "~0.6.8",
    "typescript": "~2.7.2",
    "@angular/cli": "~6.0.8",
    "@angular/language-service": "^6.0.3",
    "@types/jasmine": "~2.8.6",
    "@types/jasminewd2": "~2.0.3",
    "@types/node": "~8.9.4",
    "codelyzer": "~4.2.1",
    "jasmine-core": "~2.99.1",
    "jasmine-spec-reporter": "~4.2.1",
    "karma": "~1.7.1",
    "karma-chrome-launcher": "~2.2.0",
    "karma-coverage-istanbul-reporter": "~2.0.0",
    "karma-jasmine": "~1.1.1",
    "karma-jasmine-html-reporter": "^0.2.2",
    "protractor": "~5.3.0",
    "ts-node": "~5.0.1",
    "tslint": "~5.9.1"
  }
}

As mentioned, angular material 6.3.0 seems broken, hope they will fix it soon, till now, downgrade to previous version (ex. 6.2.1 and install it from there)

<EMAIL_ADDRESS>Error: Invalid JSON character: " " at 29:49.

Temp solution, use old version
ng add<EMAIL_ADDRESS>

Facing same issue when running ng add @angular/material

Facing the same issue. I've just used the old version<EMAIL_ADDRESS>as temp solution

mithril's suggestion worked for me. Thanks

Experiencing the same thing.

#11844

Duplicate of #11844#

https://github.com/angular/material2/issues/11844#issuecomment-398796341

Me too, but uamithril's solution below also worked for me
ng add<EMAIL_ADDRESS>

But is there any work around  for:
ng generate @angular/material:material-nav --name="app-nav"
Collection "@angular/material" cannot be resolved.
Once you have got 6.3.0 by using @latest ?

better way just add old one
ng add<EMAIL_ADDRESS>

same problem, I also tried "ng add<EMAIL_ADDRESS>but cdk doesnt install properly 6.3.0 or 6.2.1 anyway.

I had to run the following to get it to work:
npm install --save<EMAIL_ADDRESS><EMAIL_ADDRESS>ng add<EMAIL_ADDRESS>

Downgrade the cli version to 6.0.0 and try ng add<EMAIL_ADDRESS>

The issue might be that you aren't specifying a project name. I was able to run  ng add @angular/material --project=<myProjectName> without error.

It's actually because the schematics file has a missing quotation mark. #11839 fixes this.

Facing the same issue. I've just used the old version<EMAIL_ADDRESS>and<EMAIL_ADDRESS>as temp solution

editing<EMAIL_ADDRESS>to remove the redundant aliases (and thus also fixing the missing quote) works.

As @bluppfisk mentioned, editing the collection.json FIXES the issue on the latest version of Material. For convenience, here's the updated file:
Replace<EMAIL_ADDRESS>with:
// This is the root config file where the schematics are defined.
{
  "$schema"<EMAIL_ADDRESS>  "schematics": {
    // Adds Angular Material to an application without changing any templates
    "ng-add": {
      "description": "Adds Angular Material to the application without affecting any templates",
      "factory": "./install",
      "schema": "./install/schema.json",
      "aliases": ["material-shell"]
    },
    // Create a dashboard component
    "dashboard": {
      "description": "Create a card-based dashboard component",
      "factory": "./dashboard/index",
      "schema": "./dashboard/schema.json",
      "aliases": ["material-dashboard"]
    },
    // Creates a table component
    "table": {
      "description": "Create a component that displays data with a data-table",
      "factory": "./table/index",
      "schema": "./table/schema.json",
      "aliases": ["material-table"]
    },
    // Creates toolbar and navigation components
    "nav": {
      "description": "Create a component with a responsive sidenav for navigation",
      "factory": "./nav/index",
      "schema": "./nav/schema.json",
      "aliases": [ "material-nav" ]
    },
    // Creates a address form component
    "addressForm": {
      "description": "Create a component with a address form",
      "factory": "./address-form/index",
      "schema": "./address-form/schema.json",
      "aliases": ["address-form"]
    }
  }
}

i solve my problem by
ng add<EMAIL_ADDRESS>

@brocco - Looks like this is being caused because I changed a name of a schematic and moved the old name to an alias.
So for example:
"materialDashboard": {
      "description": "Create a card-based dashboard component",
      "factory": "./dashboard/index",
      "schema": "./dashboard/schema.json",
      "aliases": ["material-dashboard"]
    },

changed to:
"dashboard": {
      "description": "Create a card-based dashboard component",
      "factory": "./dashboard/index",
      "schema": "./dashboard/schema.json",
      "aliases": ["material-dashboard", "materialDashboard"]
    },

Any ideas what would cause this?

As mentioned above, this appears to be fixed in 6.4.0+ via https://github.com/angular/material2/commit/0569b64e4ad44754db8e8d8a33682eacb65181a8.

Closing as this is fixed in the recent releases.


Data Acquisition

first KIMS photosession
try to capture a room well (Speicher?)
try to generally capture the kims layout, doesnt have to have best quality, so others can work on roomlayout, boundingboxes etc.

I have organized and uploaded all the photos we took to the storage (Google Cloud). Here is the link to access the images:
Fotos
PS: ensure you have the necessary access permissions to view the images.

Maybe try capturing using jpg directly instead of as raws


Swift 3.0

I hope this is the right place to post this. I would love to start testing Alamofire with swift 3.0 soon :) Thanks!

Luckily Xcode 8 might be able to use Alamofire as-is under Swift 2.3. We will be uploading a swift3 branch as soon as possible. I have to get the new stuff downloaded first. Plus, I'm not sure how big of a job it will be, considering they've changed how a lot of the Foundation stuff (NSURLSession APIs) are imported into Swift. Hopefully the auto migrator will work well.

After I upgraded to swift 3.0, just a mention :)

I would like to point out that I've got a Swift 3 compiling branch over here.

@avaidyam i have 150 error with your Swift 3 compiling branch :\

Please everyone be patient here. We'll certainly get a swift3 branch up as soon as possible. Unfortunately this year it's not going to be as easy as it has in the past. We need to make sure we update everything correctly to avoid causing everyone more harm than good.

If you find any helpful tips when trying to work through this yourself, please post them here! The more help the better.

@mattcianna The tests don't compile; I just built the framework to continue migrating my own project over. I can't guarantee it even works. All I did was migration assistant and find/replace until it built. It's a good platform since there are no more build errors though.

@avaidyam I think it's very import that the tests do compile for Swift 3, as some frameworks are changing whether they are value or reference type. The tests will be needed to confirm this has no unexpected side results!

@dgsmith Totally understand! Problem: I was in the middle of phasing out Alamofire from my project (no hard feelings) and just needed the framework to compile so I could go ahead and do that.
Anyone is welcome to fork my fork and continue where I left off in the swift-3.0 branch. I figured since I had done some hard labor (Xcode is near useless for migration, honestly) I would share it.

Is there a release date for Alamofire for swift 3?

Please see #1316!
🍻


Breadcrumbs for object in multiple collections

If an object is a member of more than one collection, the Islandora breadcrumbs only ever show its membership in one collection. For example:

Any way around this, for example, to show in an item's breadcrumb all of the collections it's a member of? In this example, that would look like:
Home > Collection 1 / Collection 2

or
Home > Collection 1
       Collection 2

Or something similar.

Well, in the case of multi-level collections, you can still only follow one up the tree, unless you want to make something like a pedigree chart...

Ah yes, this old chestnut.  It plagues Islandora 7.x as well.

I think what @seth-shaw-unlv is saying is the real problem. A breadcrumb trail is not one level. So if your item is in two collections and one of those two collections is also in two collections, it starts to get weird.
Home -> Main Collection 1 -> Sub Collection A ->
     |-> Main Collection 2 -> Sub Collection B ->
     |-> Main Collection 3 _/

FYI, this is how another site I'm involved with renders breadcrumbs for multiple parents (using D7 node_hierarchy module):

@kayakr I like this visual approach, it's kinda similar to my stick-figure multiline mockup ^. I'm curious to know how you are using the D7 node_hierarchy module on Islandora 7 objects though.


Remove active class from active page ancestors when using nav pills

Only one page is really "active"
Consider highlighting ancestors in alternate color such as bg-light

The existing functionality matches default Bootstrap 5 behaviour - see Scrollspy for an example. I think the default for this - i.e. ancestor highlight - should remain the same, but it would be possible to add an override parameter to highlight ancestors differently, just a matter of not hard-coding active in the XSL.

The existing functionality matches default Bootstrap 5 behaviour

OK, then I agree this should be the default, regardless of my personal preferences.
The solution in #35 that makes the page ancestor classes configurable seems like the right approach. 👍


fix(vaults): refactor vault pdk and vault ttl code

Summary
this also fixes the following issues:

Previously, the ttl related fields were not actually removed from the vault configuration, causing configurations not to be correctly manipulated before they were sent to older DP versions.

https://konghq.atlassian.net/browse/KAG-2061

When a secret is deleted from a vault, eventually also evict it from caches and stop using it.

https://konghq.atlassian.net/browse/KAG-2060

Previously, references that were nested in tables inside of a plugin configuration were never updated with fresh values from vaults.

https://konghq.atlassian.net/browse/KAG-2096

This fixes a bug that caused global plugins not to pick up new secret values - As they are handled differently from plugins that are attached to services, routes or consumers, they did not have kong.vault.update called when they were used.

https://konghq.atlassian.net/browse/KAG-2095
as well as:

https://konghq.atlassian.net/browse/KAG-2097
https://konghq.atlassian.net/browse/KAG-2073
https://konghq.atlassian.net/browse/KAG-2118
https://konghq.atlassian.net/browse/KAG-2097

Signed-off-by: Joshua Schmid<EMAIL_ADDRESS>Co-authored-by: Hans Hübner<EMAIL_ADDRESS>(cherry picked from commit 7a1a3737e81d633090fadb35f875dac1847607cf)

Checklist

[x] The Pull Request has tests
[ ] There's an entry in the CHANGELOG
[ ] There is a user-facing docs PR against https://github.com/Kong/docs.konghq.com - PUT DOCS PR HERE

Just add a note: this was individually cherry-picked to EE.


Support Java8 Android29 image

Today it was updated the base image of Android 29 with Java 11. This causes failing our builds. It's possible to offer an android 29 image with Java8.
We didn't be notified and we need to test our processes with Java11.

Same issue. All builds suddenly started failing killing all the productivity for the rest of the day. We're unable to merge/release.

Same issue here.

This change was discussed both on GitHub and in CircleCI Discuss for at least two months. There was also images to test ahead of time for 3 weeks.
For anyone who needs to use an old Java 8 image right now, you can pin your image by using the SHA256 hash. You can learn how to get the hash here.
I'm going to close this Issue. If there's more discussion/troubleshooting questions, please post in the forum thread.
Also, if you get a hash for a specific tag, please share with others on the forum in case someone else might also want that hash.

@felicianotech we are customers of circleci paying money for the service. We weren't notified about anything, you post two links of discussion where only you were discussing this topic.
This change implies we need to test our process with java11.
Please consider next time have more visibility in these changes because we are blocked now and the response can't be I mentioned in one thread.
Can you share the link of the hash?

Still waiting for build to complete but I found this hash on previous build that was passing this morning before the Java 11 change.
circleci/android@sha256:b6646fdf7457f61825526e7bfce364d8e533da6ceb1cdb98e371e94348ecc834
Sure this change was communicated but it was not noticeable, I don't check CircleCI Github or the forums often. Only do so when an issue comes up. Could it have been possible to parse the config.yml file and provided a notification for us within CircleCI itself?

Sure this change was communicated but it was not noticeable, I don't check CircleCI Github or the forums often. Only do so when an issue comes up. Could it have been possible to parse the config.yml file and provided a notification for us within CircleCI itself?

Point taken. We don't have this ability at the moment but definitely something that we can do to better communicate this. An in-app banner and emails for projects that use an affected image are on my list so far from feedback collected.

Hi there,
after the update to the v11 openJDK
the following error appeared on the builds requiring obfuscation.

Same here.

I'm a paying customer, but please by all means censor my frustrations made in comments. Just don't break my builds without notifying me in any way about multiple major version runtime changes ever again.
You made Travis look good today, be proud.

Build was failed due to
* What went wrong:
Failed to notify build listener.
> javax/xml/bind/DatatypeConverter

I pinned the previous success android image. and it worked.
But eventually, I should to use latest image, how do I fix the issue with new android-29 image?

Another build error here
Case 1)
FAILURE: Build failed with an exception.

* What went wrong:
Could not determine java version from '11.0.8'.

Case 2)
> Task :app:kaptDebugKotlin FAILED
e: java.lang.NoClassDefFoundError: javax/xml/bind/JAXBException

I've also fixed the issue by using a pinned the previous image, but I think you guys have to provide us a "stable" docker image with java 8.

This change was discussed both on GitHub and in CircleCI Discuss for at least two months. There was also images to test ahead of time for 3 weeks.

Such a breaking change has to be communicated to (paying) customers via a medium that will alert them. An email would have been nice for example. 😬

Frustrating is an understatement.  I'm still in a state of shock and concern that someone thought/thinks this is ok.

This issue kills me ...


Test top 4 APIs on GAE Flex, GKE, and GCP

Test BigQuery, Storage, Datastore, and Logging client libraries on all the GCP platforms (don't include GAE Standard).
Close this issue once we confirm it all works.

What level of testing are you looking for here? Is running our existing integration test suite on each platform enough? (Not that that makes it trivial, admittedly - but @chrisdunelm has recent experience in running tests on each platform.)
For GCE, what kinds of test do we need - vanilla Linux VM? Docker container in a Linux VM? Windows VM?

All great questions. I would say that on GCE since you have .NET then on Windows would make sense. I would say this is a sanity check.
And in general I'm looking really for a general sanity check here. We want to make sure there are no obvious bugs here or dead on arrival situations. I don't expect it at all - but we've hit some issues before actually. So trying out each of the 4 on these platforms would be great.

Fortunately, we've tested BigQuery, Datastore and Logging already on GKE and GAE Flex while building and demonstrating the Cloud Next 2017 demo - I can do a sanity check of Storage in the same way.
Then we just need to make sure the integration tests run on Windows on GCE, which I think both @chrisdunelm  and @iantalarico have been looking at. At that point we can close this bug, although we'll want to automate similar tests in the future.

Assigning to myself to test storage - then will assign to Chris for "run the integration tests on a Windows box in GCE manually" (as he has a suitable GCE instance already, I believe.)

SGTM.

Validated Storage on GKE and Flex. Passing on to Chris now...

All integration tests passed on GCE.
Except for:

Pubsub, because my project isn't whitelisted for StreamingPull
Diagnostics.Common, due to a quota issue; not a client-side problem

So I think this issue can be closed.

Thanks Chris! Closing.


Blue indent

It might not be related to lukas-reineke/indent-blankline.nvim, but I don't remember changing something in my config.
What could affect this?

Looks like the issue could be in hightlight NonText


Minor cleanup to Consul agent security groups

Taking advantage of new parameter to allow for reducing the boilerplate in defining the consul agent security group.

👍


Error converting markdown to PDF: tuple index out of range

I realized that I should have probably opened a new issue for this. I just commented on #16 with the stack from weasyprint. Stack is:
Traceback (most recent call last):
File "/home/demo/.local/bin/weasyprint", line 11, in
sys.exit(main())
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/main.py", line 212, in main
getattr(html, 'write_' + format_)(output, **kwargs)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/init.py", line 211, in write_pdf
font_config=font_config).write_pdf(
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/init.py", line 168, in render
font_config)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/document.py", line 393, in _render
[Page(page_box, enable_hinting) for page_box in page_boxes],
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/document.py", line 393, in
[Page(page_box, enable_hinting) for page_box in page_boxes],
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/init.py", line 126, in layout_document          pages = list(make_all_pages(context, root_box, html, pages))
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/pages.py", line 803, in make_all_pages
page, resume_at = remake_page(i, context, root_box, html)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/pages.py", line 742, in remake_page
page_number, page_state)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/pages.py", line 553, in make_page
positioned_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 63, in block_level_layout          page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 77, in block_level_layout_switch
page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 130, in block_box_layout           absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 510, in block_container_layout     absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 63, in block_level_layout          page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 77, in block_level_layout_switch
page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 130, in block_box_layout           absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 510, in block_container_layout     absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 63, in block_level_layout          page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 77, in block_level_layout_switch
page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 130, in block_box_layout           absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 510, in block_container_layout     absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 63, in block_level_layout          page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 73, in block_level_layout_switch
page_is_empty, absolute_boxes, fixed_boxes)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/tables.py", line 432, in table_layout
all_groups_layout()
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/tables.py", line 417, in all_groups_layout          skip_stack, position_y, max_position_y, page_is_empty))
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/tables.py", line 299, in body_groups_layout         group, position_y, max_position_y, page_is_empty, skip_stack)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/tables.py", line 140, in group_layout
fixed_boxes=fixed_boxes)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 510, in block_container_layout     absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 63, in block_level_layout          page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 77, in block_level_layout_switch
page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 130, in block_box_layout
absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 510, in block_container_layout     absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 63, in block_level_layout          page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 77, in block_level_layout_switch
page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 130, in block_box_layout           absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 510, in block_container_layout     absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 63, in block_level_layout          page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 77, in block_level_layout_switch
page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 130, in block_box_layout           absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 510, in block_container_layout     absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 63, in block_level_layout          page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 77, in block_level_layout_switch
page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 130, in block_box_layout           absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 510, in block_container_layout     absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 63, in block_level_layout          page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 77, in block_level_layout_switch
page_is_empty, absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 130, in block_box_layout           absolute_boxes, fixed_boxes, adjoining_margins)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/blocks.py", line 376, in block_container_layout     for line, resume_at in lines_iterator:
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/inlines.py", line 53, in iter_line_boxes            absolute_boxes, fixed_boxes, first_letter_style)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/inlines.py", line 70, in get_next_linebox           skip_stack = skip_first_whitespace(linebox, skip_stack)
File "/home/demo/.local/lib/python3.6/site-packages/weasyprint/layout/inlines.py", line 210, in skip_first_whitespace     result = skip_first_whitespace(box.children[index], next_skip_stack)
IndexError: tuple index out of range
TonyG

Having a similar problem here. Versions:
mkdocs==1.0.4
mkdocs-material==4.4.3
mkdocs-minify-plugin==0.2.1
mkdocs-pdf-export-plugin==0.5.5

Same issue here...

I boiled it down to this markdown snippet that triggers the error for me:
* List
  This is the first stage bootloader (fsbl) for the
  [STM32MP trusted boot chain](test).

Changing arbitrary characters makes it go away and weasyprint alone does not seem to have any problem with converting it.


Added county parsing to the directive

Added the ability to get the county from the place return object in the directive.  It returns administrative_area_level_2 from the google API return object.

Hi @jeremy24,
It is a great PR but I think that district is more suitable name for this directive, isn't it? With current name might be confusion with country name.
Could you change name of this directive in your pull request?

I changed the code and readme to reflect the change in name from county to district


function.data behaviour weird with DEVITO_BACKEND=yask

numpy.max(function.data) returns array with yask backend
#!/usr/bin/env python
# vim: ts=4 expandtab
"""
  Bug 20171114

  With YASK, function.data acts like an array but not really

  works:  python bug_20171114.py
  broken: DEVITO_BACKEND=yask python bug_20171114.py
"""

import sys
import numpy
from devito import Function, TimeFunction, Operator, Grid, Dimension, SparseFunction

if __name__ == '__main__':
    # now setup the devito problem
    grid = Grid(shape=(5,5,5))
    fvp = Function(name='vp', grid=grid)
    fvp.data[:] = 1500.0
    maxvel = numpy.max(fvp.data) # with yask, returns array!
    print(repr(fvp.data))
    print(repr(maxvel))

YASK currently passing all tests. Submit a new issue with a failing test if this is still a problem.


ImportError: cannot import name 'JSONSchema'

Informations

*importError

What is the current behavior?
If I do "from qiskit_aqua.parser import JSONSchema" it will complain
"ImportError: cannot import name 'JSONSchema'"
Steps to reproduce the problem
Open python REPL and input  "from qiskit_aqua.parser import JSONSchema", it will complain "ImportError: cannot import name 'JSONSchema'"
What is the expected behavior?
Silently import the package
Suggested solutions
None.

the JSONSchema file is added after aqua 0.2 release.


Feature: Loading old data. Concrete description

To be able to display previously recorded and saved measurements, the user must have the capability to access these within the software. For this purpose, the following user flow has been designed: Between the "Search Devices" button and the "Diagnose" button, an additional button labeled "Load Old Data" is added. When this button is pressed, a menu opens. This menu contains multiple input fields stacked vertically, with one by default, but more can be added using an adjacent "+" button. Each input field has a "Browse" button next to it, which opens the file browser when clicked. From the file browser, the user can load an old .csv file. If the user selects a file that is not a .csv, a popup window with the message "Incorrect file format" will appear. After selecting the file, its path will appear in the input field. The user can also manually type a path into the input field, but this path must also end with .csv. Once the user has entered all the paths, they can click the "Load All Data" button at the end of the menu window or the back button. When the user clicks the "Load All Data" button, all the .csv files they have entered will be loaded and displayed in the "Found Devices" section. Here, the user can select the dataset to be displayed in the plot window by using a checkbox located to the left of each dataset. Multiple datasets can be displayed simultaneously. If additional devices are connected and displayed, their measurement data should also continue to be shown in the plot window.

Does the Load Old Data button need an icon like Search Devices and Diagnose buttons, please?

Yes it does, we will design this logo next week.

https://github.com/skunkforce/OmniView/pull/156 (after refinements, changes and improvements) is meant to address the first step.
Here's a screenshot of comparing data from loading a file (in black) and live from a generator (in green):


Document migration steps for paginationConfig on wiki

The change from paginationConfig to uibPaginationConfig is not documented in the migration guide on the wiki under Pagination. I ran into an issue injecting that after upgrading ui-bootstrap from 0.13.0 to 1.2.5. After looking at pagination.js in 1.2.5, I changed to uibPaginationConfig and I'm not seeing the injection issue any more.
Created a new issue per the discussion on #5364.

Looking at the wiki here, it looks like all of the service/injectable mention is encapsulated in the last two lines.
There are also prefixes on controllers, directives and services that were meant to be private. Check the source if you still get some warnings.

What are your thoughts on more detailed mentions here @Foxandxss and @icfantv ?

We can add that too, why not.

Updated the wiki - closing this issue, should be addressed now @surry


Provide logos/press kit

There are many cases were people want to embed the prometheus logo somewhere, e.g. in third-party integrations. We should provide a logo pack somewhere in different resolutions.
@juliusv

Ideas:

add logo section to introduction/media
add a link to the cloudnative store - although I have to say shipping takes very long and is expensive
add a link to stickermule so people can order stickers themselves
add entry to FAQ

I'm happy to provide a pull request given some comments on the options above.


STU-218 Adding Block support for LeCroy Oscilloscope T3DSO1000(A)-2000

Demo

@dstrande, Am I missing an important type of block for a scope ?

And could this one be a value-add, in your opinion Delay measurement between channel ?

@dstrande pls review so we can merge

@dstrande if you have some time today, can you review the change, thanks


onnxruntime: init at 1.10.0 (resurrected)

Motivation for this change
Includes nsync package from PR #155042
The onnxruntime package was removed in #105951 because it didn't work well with package managers at the time. It's still not great but it is a lot better.  At some point we should try to exclude the submodules and replace just the few that are used with Nix versions.~ Fixed
@blitz @jonringer
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

It would be good to add CUDA support at some point.

@puffnfresh Can you rebase this on top of master?

@blitz rebased onto master.
I also have a branch with CUDA support. I'll submit a PR for that separately, after I get obs-backgroundremoval merged.

I fixed the merge conflicts and enabled the python bindings in https://github.com/NixOS/nixpkgs/compare/master...kevinmehall:onnxruntime.
I also started looking at at updating to onnxruntime 1.11.1 -- looks like that will require a oneDNN version bump, and a patch to make it use preinstalled Abseil instead of downloading it.

I fixed the merge conflicts and enabled the python bindings in master...kevinmehall:onnxruntime.
I also started looking at updating to onnxruntime 1.11.1 -- looks like that will require a oneDNN version bump, and a patch to make it use preinstalled Abseil instead of downloading it.

Looks like @puffnfresh is missing in action. :) I guess he wouldn't mind if you open a new PR and we get this merged over there.

@jonringer, are you available to move this PR forward?

It doesn't build with nixos-unstable anymore. I tried to update it to 1.12.1 but there were some changes in cmake so it couldn't find nsync.

#186643


With XP drop enabled, xp is deleted but not dropped

I am using universal graves, not sure if theres a conflict

Yes that is most likely the case, providing support for other data packs that mess with the death mechanic of minecraft is very hard or impossible

Is there a way to get the xp into some sort of state where it wont despawn or get wiped on server restart?

You can make it keep the xp other than that, that doesn’t sound related to the pack, if you choose that the xp drops, it will spawn as an xp orb and if that despawns on server restart, then that’s probably an issue with your server

I disabled it and there is still no drops either way

disabled the different graves mods

What server software are you using?
What version of minecraft are you using?
What version of the pack are you using?
Any other data packs/mods/plugins?

Heres the pack I'm working on, https://modrinth.com/modpack/shadow-witches-honey-gang/version/<IP_ADDRESS>
The server is fabric launcher 15.11 1.20.1
minecraft is 1.20.1

Please note graves is embedded but disabled

I don't think I can help you with this, the pack is made to work with vanilla minecraft and it is 100% a data pack underneath, making compatibility even harder to ensure.
One (or multiple) of these (hundreds? of) mods is incompatible with the data pack. Finding that mod would be a giant task and I can't even say if providing support/compatibility is even possible for me to implement.
I'm sorry but I don't think its really feasible to include the pack in a mod pack of that size, thanks for checking it out and considering it though.


Update rfps.md to add open RFPs to the list

Added:
bpf-contracts.md	(06.01.2023)
data_analysis_tools.md	(25.01.2023)
move_smart_contract_pallet.md	(22.12.2022)
user-account-access-analysis.md	(07.01.2023)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


allow user to add a new vm cluster

Requirements:

users should be able to set-up a new cluster using the harvester ISO.
users should be able to join the harvester cluster directly from the harvester ISO installation.

validation steps:

choose to form a new cluster and set the token
waiting for the cluster to be ready and get the management IP address
boot a new node using the ISO image and choose to join the existing cluster with the pre-configured token
check the Harvester UI and the total number of hosts should be 2


Move the version definition to pyproject.toml

As per pallets projects and modern practices.

hey @pgjones , is this a good first issue?
I want to contribute to this project?

probably, considering that you can look at the corresponding PR in one of the other pallets repos and apply the same changes here.


Add the resistor-color-duo exercise.

See the specification: https://github.com/exercism/problem-specifications/tree/main/exercises/resistor-color-duo

@neenjaw I've made changes that you requested to resistor-color and resistor-color-duo. This is ready for review.


Improve the error message when browser takes a too long time to initialize

When multiple browsers (concurrency mode) are launched in CPU-restricted environments (CI-services, Docker containers), their performance can degrade drastically. The Chrome Debug Protocol initialization that normally takes 5-10 seconds can take over 2 minutes in such conditions and prevent tests from starting. Currently, we show a generic 'Unable to establish one or more browser connections` message in this case. We should improve it to note the following things:

Browser takes too much time to initialize
Likely there is a performance problem (CPU bottleneck)
If TestCafe started in concurrency mode, we should suggest to disable it or reduce the number of concurrent browsers
If it is possible, it's better to use a more powerful hardware

Additional info:
Chrome Debug Protocol seems the main CPU bottleneck for Chrome. In headless mode, browsers spend enormous time in Emulation.setVisibleSize (usually hangs here) and Emulation.setDeviceMetricsOverride (very slow, but passes through). In regular mode, browsers start experiencing problems during the Page.enable call.

To investigate possible improvements of connection stability when tests are being run in resource-restricted environments (CI, docker containers, etc), we've looked into a different way to start browsers in TestCafe.
Currently, browsers are launched in parallel with one common timeout (2 minutes for local browsers and 6 minutes for remotes). Our assumption was that if the process of launching was implemented sequentially instead of in parallel, then operating system would be able to take advantage of caching and make fewer expensive context switches. That way it was supposed to speed up browser instance initialization.
Although it does solve the problem of TestCafe not being able to run tests in IE in concurrency mode by spawning IE instances in series, this still doesn't help with the issue at hand.
Despite the fact that each of browser instances has its own timeout, initialization of each subsequent instance takes more time than the previous. So when many browser instances are being launched (e.g. in concurrency mode) in a low resources environment, the last of them often still don't have enough time to establish connection. Even when they manage to do it, the connection remains unstable. Some of them randomly disconnect due to not having enough time to answer heartbeat request.
JFI: patch with functionality described above (debug logging and sequential browser launching): patch.txt


Use ToPublishedSearchResults in ProductSurfaceController

In ProductSurfaceController it use the following to convert the Examine search results into IEnumerable<IPublishedContent> and cast these type of ProductPage.
https://github.com/vendrhub/vendr-demo-store/blob/dev/src/Vendr.DemoStore/Web/Controllers/ProductSurfaceController.cs#L67
It can however used the method ToPublishedSearchResults() here.
In Articulate it does the following:
https://github.com/Shazwazza/Articulate/blob/3ff42711f38130bdde577b13c3fba240d97c51ac/src/Articulate/DefaultArticulateSearcher.cs#L83
@Shazwazza mentioned it probably would be better to inject IUmbracoContextAccessor instead of UmbracoContext (and that you in .NET core cannot inject UmbracoContext anymore).
Seomthing like this should work:
public class ProductSurfaceController : SurfaceController
{
    private readonly IExamineManager _examineManager;
    private readonly IUmbracoContextAccessor _umbracoContextAccessor;

    public ProductSurfaceController(IExamineManager examineManager, IUmbracoContextAccessor umbracoContextAccessor)
    {
        _examineManager = examineManager;
        _umbracoContextAccessor = umbracoContextAccessor;
    }
    ...
}

var results = query.OrderBy(new SortableField("name", SortType.String)).Execute(pageSize * page);
var totalResults = results.TotalItemCount;
var items = results.Skip(pageSize * (page - 1)).ToPublishedSearchResults(_umbracoContextAccessor.UmbracoContext.PublishedSnapshot.Content).OfType<ProductPage>();

return new PagedResult<ProductPage>(totalResults, page, pageSize)
{
      Items = items
};

Not sure if there is a difference in using _umbracoContextAccessor.UmbracoContext.PublishedSnapshot.Content vs _umbracoContextAccessor.UmbracoContext.Content?

Cool. Well, if that fixes one thing on the road to .NET Core then I'm happy with the suggestion. I'll take a look when I can, or feel free to submit a PR if you are up for that. 👍

Okay, tried the following on a project:
var results = query.OrderBy(new SortableField("name", SortType.String)).Execute(pageSize * page);
var totalResults = results.TotalItemCount;
var pagedResults = results.Skip(pageSize * (page - 1));

var test1 = pagedResults.Select(x => UmbracoContext.Content.GetById(int.Parse(x.Id))).OfType<ProductPage>();

var test2 = pagedResults.ToPublishedSearchResults(_umbracoContextAccessor.UmbracoContext.Content)
                      .OfType<ProductPage>();

var test3 = pagedResults.ToPublishedSearchResults(_umbracoContextAccessor.UmbracoContext.PublishedSnapshot.Content)
                     .OfType<ProductPage>();

However both test2 and test3 returned zero results, while test1 returned 12 results.

OfType may not work as ToPublishedSearchResults returns a PublishedSearchResult collection, not IPublishedContent. You'll probably need to extract it's .Content property.

Ahh, yes of course. I forgot the selecting the content results from PublishedSearchResult .
Both of these works. Not sure if one of them is preferred?
var test1 = pagedResults.ToPublishedSearchResults(_umbracoContextAccessor.UmbracoContext.PublishedSnapshot.Content)
                        .Select(x => x.Content)
                        .OfType<ProductPage>();

var test2 = pagedResults.ToPublishedSearchResults(_umbracoContextAccessor.UmbracoContext.Content)
                        .Select(x => x.Content)
                        .OfType<ProductPage>();

Under the hood _umbracoContextAccessor.UmbracoContext.Content just proxies to PublishedSnapshot anyways, but I'd be tempted to use _umbracoContextAccessor.UmbracoContext.Content as it exposes less Umbraco domain knowledge. If it ever becomes obsolete we can always update it.

Yes, it seems a bit simpler. Maybe @Shazwazza has some feedback on which of these that should be used?

Fixed in https://github.com/vendrhub/vendr-demo-store/pull/6


Summary of "Getting All Assignments"

Summary of "Getting All Assignments"

🚀 Deployed on https://66bf9ce2f1bcf788f30d5f29--cozy-fox-0defec.netlify.app


Das_Geek: Watch<PHONE_NUMBER>

Das_Geek requests the watch of the watch_number<PHONE_NUMBER>. See the MS search here and the Stack Exchange search here.

Approved by tripleee in Charcoal HQ


GridSearch back up and running in a tutorial

Looks like most of the code is already there. Hopefully very little tweaking is required to get it in one of the tutorials again.

@henryre When we get a chance let's discuss how to get all the good stuff from DDLite back in here!

Just so I remember to do this: let's put in a random searcher for tutorial speed

Closed by #439


Sql Server contained database user does not need to be enabled

In the article, it suggests at Remarks section that the server level configuration should be enabled to use contained database users. However, I can connect to a database with a contained database user (pointing at the database) via SSMS/ tcp connection.
select * from sys.configurations
where name='contained database authentication'

How can I disable the contained database user authentication (other than removing users)?

@VanMSFT Van, can you please process this Issue 1377.  Thanks.
.
https://docs.microsoft.com/sql/relational-databases/security/contained-database-users-making-your-database-portable?view=sql-server-2017

Hello @ebrucucenread! Thank you for your question on our documentation feedback. If you can connect to the database without the server level configuration enabled, then the user is not a contained database user. To restrict user access to certain databases, you can use the User Mapping feature when creating the login.
https://docs.microsoft.com/en-us/sql/relational-databases/security/authentication-access/create-a-login?view=sql-server-2017
Since this is more of a help question than a documentation question, please visit our MSDN forums for additional assistance.
https://social.msdn.microsoft.com/Forums/en-US/home?forum=sqlsecurity&filter=alltypes&sort=lastpostdesc
We appreciate your time, and thank you for your feedback!
#please-close