Fix eightwone bug

TL;DR - Found a bug in eightwone.com where certain product names have typos which was resulting in zero associated vulnerabilities for Exchange Server 2019 CU7.
Solution: Added manual correction to automation/parse_exchange_versions.py and re-ran the automation pipeline.

LONGER STORY:
I was validating some random Exchange CVEs to confirm the data quality and came across an issue with CVE-2020-17117 where I'm not seeing it on any of the Exchange Server 2019 CU7 builds. In fact, none of these build have any vulnerabilities as of today.
Source: https://github.com/righel/ms-exchange-version-nse/blob/7738ce14abc1d7a9b318f1ac8ce1ca371be2470d/ms-exchange-versions-cves-dict.json#L15406-L15429
On my local laptop, I ran the four scripts specified in the .github/workflows/main.yml file:
https://github.com/righel/ms-exchange-version-nse/blob/7738ce14abc1d7a9b318f1ac8ce1ca371be2470d/.github/workflows/main.yml#L21-L24
After running the third script, I was surprised because the problem appeared fixed in the ms-exchange-versions-cves-dict file. However, when I ran the fourth script, the problem appeared again and all the CVEs were gone for 2019CU7.
I was able to trace the problem back to an error in this file, which incorrectly maps productId 11792 to build number 15.1.2044 when it should map to build 15.2.721.
https://github.com/righel/ms-exchange-version-nse/blob/7738ce14abc1d7a9b318f1ac8ce1ca371be2470d/product_id_build_map.json#L50
Tracing this down even further, this is caused by an error in one of your build number sources (eightwone.com). The source accidentally marked the red-highlighted row as 2019CU7 when it should be 2019CU17.

The same issue is also present in eightwone.com for build 15.1.1713, which should only map to 2016CU12 but it is also mapping to 2016CU1 and 2016CU13.

Awesome! Good findings and thanks for the deep dive, have you reported this to https://eightwone.com? there is a contact form and he fixed some similar error I found in the past.

Happy to help! This is awesome work. I've been struggling with this problem for a while, so your work is much appreciated.
And thanks for the suggestion, will reach out to them.


Best practice for creating a public ip address prefix in C#

Hi,
Hope you are doing well.
I am trying to create a public IP address prefix using C# code/.Net. But from the doc, it seems like this action only supports CLI or PowerShell. https://learn.microsoft.com/en-us/azure/virtual-network/ip-services/manage-public-ip-address-prefix
Is there a corresponding C# SDK doing the same thing? If not, would you suggest a best practice for creating a public ip address prefix in C#?
Thanks!

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

ID: 356fc56e-4be5-a69f-e5fc-2c0ca72d90fa
Version Independent ID: 0a081577-d487-b083-b4a0-b1e5d30770c9
Content: Create, change, or delete an Azure public IP address prefix
Content Source: articles/virtual-network/ip-services/manage-public-ip-address-prefix.md
Service: virtual-network
Sub-service: ip-services
GitHub Login: @mbender-ms
Microsoft Alias: mbender

@TansyLiu
Thanks for your feedback! We will investigate and update as appropriate.

@TansyLiu Unfortunately, we couldn't find any specific C# SDK for creating a public IP address prefix. However, you can use the Azure Management Libraries for .NET to manage Azure resources programmatically using C#.
Here is an example of how to create a public IP address prefix using the Azure Management Libraries for .NET:
using Microsoft.Azure.Management.Network;
using Microsoft.Azure.Management.Network.Models;
using Microsoft.Rest.Azure.Authentication;
using System;
namespace CreatePublicIPPrefix
{
class Program
{
static void Main(string[] args)
{
// Replace with your subscription ID
string subscriptionId = "your-subscription-id";
        // Replace with your resource group name
        string resourceGroupName = "your-resource-group-name";

        // Replace with your public IP prefix name
        string publicIpPrefixName = "your-public-ip-prefix-name";

        // Replace with your prefix length
        int prefixLength = 28;

        // Replace with your location
        string location = "your-location";

        // Authenticate and create a NetworkManagementClient
        var credentials = SdkContext.AzureCredentialsFactory.FromFile("your-authentication-file-path");
        var networkClient = new NetworkManagementClient(credentials) { SubscriptionId = subscriptionId };

        // Create the public IP prefix
        var publicIpPrefix = new PublicIPPrefix()
        {
            Location = location,
            PrefixLength = prefixLength
        };
        networkClient.PublicIPPrefixes.CreateOrUpdate(resourceGroupName, publicIpPrefixName, publicIpPrefix);

        Console.WriteLine("Public IP prefix created successfully.");
    }
}

}
You will need to replace the placeholders with your own values for subscription ID, resource group name, public IP prefix name, prefix length, location, and authentication file path.
Thanks for your contribution. Please add your feedback in below link, so our production team can review it and update the same.Ideas · Community (azure.com)


Add --version

Right now it's difficult to tell the version of rgbds tools installed.  This is inconvenient.

Yeah, I guess this is something that we actually need... I'm just worried about having the same version number in all the commits between versions, so I'll add some git magic to the Makefile to use a dirty indicator (git describe should be good enough for this), if that's ok with you.

git describe sounds good to me!

Hmmmm... There's a problem with this. My idea was to add something like this to the code:
#ifndef VERSION
#define VERSION "v0.3.4"
#endif

And do something like this in the makefile:
-DVERSION=`git describe 2>/dev/null`

That way, if the .git folder isn't present, it has the default version number. If it's there, it will use something a bit more descriptive.
I might just leave a text string in the source code (and maybe introduce patch level to the version string), because any kind of conditional execution in a Makefile isn't portable, it would only run in BSD make or GNU make...

Of course, the sooner I say I can't do it the sooner I find a way of doing it... xD

I have a problem, though. rgbasm, rgbfix and rgbgfx already use -v for something. I could either:

Move the -v to a different character and then use -v for --version. This breaks compatibility.
Make --version a different option than -v. This is not a standard behaviour.
Move the version string to a character that isn't used for now, like -z.

For 1 and 2 it is needed to stop using getopt and use getopt_long instead.
My preferred option is 3, but I'm not sure about it.

Hmm... Personally, I think that it goes without saying that 3 would be very non-standard.
I personally think 2 is the best option - it retains compatibility, and is still obvious. I don't have a computer to hand to check, but I'm sure I've seen examples of this behaviour in other programs.
I know it'd be more work to transition to getopt_long, but I think now's the time to do so 😉

Indeed git works that way:
miquel@zen:~$ git --version
git version 2.11.0
miquel@zen:~$ git -v
Unknown option: -v
usage: git [--version] [--help] [-C <path>] [-c name=value]
           [--exec-path[=<path>]] [--html-path] [--man-path] [--info-path]
           [-p | --paginate | --no-pager] [--no-replace-objects] [--bare]
           [--git-dir=<path>] [--work-tree=<path>] [--namespace=<name>]
           <command> [<args>]

Yeah, it is really non-standard.
I've seen some programs do that too, but they are usually programs that have dozens of options, so they don't really have a choice. But then again, it's probably the only way to keep it backwards-compatible and logical at the same time...
So far I have a piece of code that uses a predefined string in the source code if a git folder isn't present, and the output of git describe if it is there.

I'm not too sure about the git describe thing, though... I mean, you can still rebuild the exact same binary every time, it's not time-dependent or anything (and if you lose the .git folder you can't go back in time in the source code, so it doesn't matter anyway). I'm just not sure if it's worth the effort.
It seems to me that it's a bit nicer in the sense that you don't need to create a new tag/release every time a new patch is applied (that is a bit overkill in my opinion) because git describe does it automatically. However, if you checkout the code and delete the .git folder, you lose the information.
Maybe it's worth starting to update the patch version (or add a new level to the version number) every time a patch is applied? What about having a development branch that holds a few changes and then master is updated to point at it when a few patches have been applied?
Or maybe just forget all this and just have the version of the previous release until the next one. But that is a lie and if there is a compatibility break and the number isn't immediately updated, the version number will be useless.

It’s not uncommon to provide a version flag that is not -v. avahi, bzip2, curl, inkscape, lz4, pcregrep, vorbiscomment, and wget (not especially obscure programs) use -V.
-v for validate is not ideal, but I don’t think the flag that literally everybody uses rgbfix for should be changed now.
getopt_long is nonstandard.

I don’t dislike the concept of a version flag, but can we think about it for a bit and make sure it’s the right thing?
I can think of two cases where a version flag would be useful. One is if I want to check if I’m on the latest version. (Maybe this would help others, but I would check my downloads folder for the original tarball, or just build from Git.)
The other is if RGBDS version incompatibility may be causing a build problem. The flag only helps here if I know (or am told) that this kind of thing can happen, and I have the ability to figure out what has changed in different versions to cause my problem. Most people don’t follow RGBDS development and won’t be able to do this.
Would an assembler directive that allows projects to request a minimum version be more effective at solving this?

I think that maybe we should have both, the directive and the flag, to be honest. They just have different uses.
I didn't realize that getopt_long was a GNU extension. I suppose that the other option is to use -V for this and leave -v for what it is used now.

Ok, I've switched to -V.


Add Signature Support

To add signature support

Can you describe this change in some more detail; e.g., providing reference to relevant RFCs or standards, etc.

Referring to:
https://tools.ietf.org/id/draft-cavage-http-signatures-10.html

The 'Signature' HTTP Header
It will send the header (RFC 7230, Section 3.2) to set the field name to "Signature" and the value is defined in RFC 7235, Section 4.1)

great job! I think not only generator part should be add support, but also parser part. I have implement them in #83.


Boolean property via getter

Hi,
Do you think the following behaviour is incorrect:
Field name: isSelected
Usual java getter: isSelected()
GraphQl expected getter: isIsSelected
File PropertyDataFetcher.java, method getPropertyViaGetter

Hi,
no I don't think so: By Java convention the getter for a boolean is named is<PropertName> ... so isIsSelected is correct.
You might wanna change the field to just selected.

ok thanks, closing


Simulate buggy Swift 3 function-type-alias access checking.

Like 9fba89bd, typealiases in parameter position were sometimes canonicalized away in Swift 3.0, leading to the compiler not diagnosing improper uses of typealiases. These only occurred in "safe" circumstances where the typealias wouldn't be leaked to clients of a library (that is, a client would never see a name they wouldn't be allowed to type), but it was inconsistent with other typealiases (which were preserved) and did not follow the intended model.
This particular issue comes from typealiases for function types needing to be marked as non-escaping in the compiler when used in parameter position, which requires rebuilding the function type. This lost the original "spelling" of the parameter as using a typealias in its type, which meant the compiler did not see it. The change in a32e11a0d to use TypeReprs to check access meant the model was now correctly enforced, but broke source compatibility for this "accidental feature".
The fix is to track when a typealias for a function type is being used in parameter position, and to not check its access in that case.
rdar://problem/29739577

@swift-ci Please smoke test


Can't inspect element on RN 0.9

Ever since upgrading to RN 0.9, when I try to inspect an element I get the following:

Same in 0.10.0-rc as well. A quick hack just to get going until it's fixed:
const hook = window.__REACT_DEVTOOLS_GLOBAL_HOOK__;
if (typeof hook != 'undefined') {
  if (!hook.on) {
    hook.on = () => {}
  }
  if (!hook.off) {
    hook.off = () => {}
  }
}

Just throw it somewhere in your index.ios.js and it should be working as usual.

I am not sure what changed but it works for me now on RN 0.9. However when inspect an element I don't see it's properties like before (how much padding, margin, etc...)

same here with 0.10.0

iirc this is plumbing for a new version of React Devtools that is still in beta: https://github.com/facebook/react-devtools/releases/tag/v2-beta2
What version of React Devtools do you have installed? Do you have Chrome debugging enabled?

Haven't heard back so closing

@brentvatne oh, haven't seen your comment actually. The issue is gone with the new react devtools.

@despairblue - oh! I figured that might be the case


Area_enter doesn't work after some load/instance/changetree

Operating system or device - Godot version:

Windows 7 Pro, Service Pack 1
64 bits
Godot_v2.1.3-stable_win64

Issue description:
In 100% of the cases, the following problem happens :
After reloading/reinstanciate a scene a few times, the area_object in it aren't detected by area_enter anymore.
Steps to reproduce:

Create a scene 1
Create a scene 2
Create a scene 3
Add some area objects in the scene 3
Add scene 3 as child of scene 2
Add one "area" as character in scene 2, and make it move in direction of the "area_objects" of scene 3. - Add a self.connect("area_enter",self,"someFunc") on the character of scene 2.
Add a button on scene 1 to go to scene 2, and a button to scene 2 to go to scene 1.
Make some "get_tree().changeScene("res://scene1")" and "get_tree().changeScene("res://scene2")" to switch between scene1 and scene2 a couple time.
After this, some areas of scene 3 aren't detected anymore by the area_enter of the character.

PS: When it happens, it persists (it reset only when leaving the game and comeback). And it can be seen that the "Collision Pairs", in Physics3d, in the monitor of the debugger, are lower than normal.
Link to minimal example project:
https://github.com/Mbenoni1/GodotEngineTestProject
This is a minimalist version of my own project. To see the problem happens, just launch, click play, then move with the arrows of your keyboard to take some elements. It will after a short time automatically come back to menu. Click "play", etc, and see the bug happens after 2 to 4 cycle.
Thanks ! If you have any questions, don't hesitate !

Is this valid in 2.1.2 or 2.1.1 as well?

I know that the problem is here in the 2.1.2 as well.
I've never used 2.1.1
Do you want me to make the test in 2.1.1 as well ?

@Kadhel no need, I just wanted to ensure that #8242 is not the culprit here (since it got merged in 2.1.3).

I'm having a look at this.
Weird enough, running the project with visible collision shapes makes it work always. @Kadhel, can you try and tell if you get the same result?

I have a project with this problem but it never happens when I'm looking for it, and the connection were made with the editor, not script.
The weird thing is the same game I made with Unity have exactly the same problem :upside_down_face:

@RandomShaper I've tried with visible collision shapes and I have the same result, some collisions don't work after a few changeScene.

OK. I'll keep researching.
El 29 may. 2017 9:21 a. m., "Kadhel"<EMAIL_ADDRESS>escribió:

@RandomShaper https://github.com/randomshaper I've tried with visible
collision shapes and I have the same result, some collisions don't work
after a few changeScene.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/8856#issuecomment-304591055,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALQCtj-ZJ6gf4BMymzcCmeo4Fjd2lZZyks5r-nH7gaJpZM4Nh-0t
.

Tested on this project removing shapes scaling and changing to box shapes, making all monitored and monitoring, and fail, even raycasts ignore the broken areas.
All shapes are there, like in my project.

With that PR merged, your hero is having his doses of coffee flaylessly. ;)
It's not finished work, but you can give it a try and tell me the outcome.

@RandomShaper  praise
It seems amazing, but how can I test it until it got merged in 2.1 ? (sorry for being a little unexperienced about this xD)

See if this helps:
https://help.github.com/articles/checking-out-pull-requests-locally/

If you need help putting that into practice, don't hesitate to ask.

@RandomShaper Still happens with your fix :S

Hmmm… I have more stuff merged in my local fork; maybe there is some beneficial interaction somewhere.
I'll check.
Anyway, I'm about to push some more changes to this PR. If anyone wants to test again, I'd be grateful since it's touching a lot of physics stuff.

What is actually making collisions work well is running the game on a debug build!
I'll keep researching and report.

@RandomShaper is possible, I think that made it with debug-release

Fresh news: on debug release, if I recompile without the 'DEBUG_MEMORY_ENABLED' macro, the error happens again.
Pretty weird, isn't it?
Can anybody compare debug with and without that macro and tell me if I am becoming crazy?
I've tried to debug whether the RingBuffer stuff was somehow alleviating some out-of-bounds writes. I've added sentinels before and after every allocated block of memory, but everything looks OK in that regard.

Something to add, not sure if helps:
Using stable, the not moving areas seem to detect the moving one, only the moving area is the one that sometimes miss.

@Kadhel check if making the Elements the ones that check area_enter (instead of the Character), works.

Good news!
I isolated the part of DEBUG_MEMORY_ENABLED that was making the game run correctly: it was the zeromem() that it's being applied to memory blocks just before free(). Ironically, that is commented as atch more errors, but instead it was masking one.
Then, after commenting out the zeromem(), I started to look for some uninitialized data that was possibily getting random values from already-released memory blocks. With zeromem and enough luck they were being initialized to zero (a sensible default for most variables) and thus the bug was being masked.
Some debugging after, I noticed that some "pickables" were being undetected because of Area.set_monitorable() (the node) wasn't calling PhysicsServer.area_set_monitorable() in turn for them so that the physics enabled monitorability for the node's server-side counterpart (AreaSW).
And then I found it: Area.monitorable was the uninitialized data I was looking for. And when it turned to be non-zero by default, Area.set_monitorable(true) would find the value being already true doing no more than early-exiting the method.
The last version pushed fixes this.

@RandomShaper still no luck here when compiling with release_debug (on Linux at least, I'm using your fork).

@RandomShaper Maybe we should have a switch to make the zeromem() be memset(1)? :smiley:

@eon-s, sure you have the latest version? Please check Area's constructor (scene/3d, IIRC) for monitorable = false.
@bojidar-bg, locally I have code to initialize allocs and reallocs (the added size, in its case) with a code-configurable value. And to fill blocks just before they are freed with the same. Maybe I can submit it. Now, I wonder if that value should be a constant or change across time to produce random behavior making bugs of this kind more noticeable.

It seems I haven't pushed correctly. So you cannot possibly have the most recent!
As soon as I get back to my computer, I'll repush.

Yes, that was the case. :P  Pushed!

Fixed by #8999.


PRD: [VSC] Explain command

Related Docs:

PRD: Cody Chat and Commands

Description:

As a user, I want Cody to help me understand code.
Objectives:

Provide an easily discoverable, pre-packaged prompt that allows Cody to help users understand their code.
Acceptance Criteria:

### Acceptance Criteria
- [x] In a new chat window, Cody provides an explanation of selected code
- [x] The Explain command can be triggered from the sidebar
- [x] The Explain command can be triggered from the right-click menu
- [x] The Explain command can be triggered from the Code Actions
- [x] The Explain command can be triggered from a keyboard shortcut

Design Tasks:
### Design Tasks

Engineering Tasks:
### Engineering Tasks

After GA Tasks:
### After GA

this is done, will confirm with Beyang

I don't see a keyboard shortcut for this command yet. I think we should have one and add it to the Keyboard Shortcuts list (screenshot below). @toolmantim what are your thoughts on having the keyboard shortcut right next to the command in the sidepanel? I saw this in one of your designs, but I don't know if you ultimately decided it was too noisy.

@taylorsperry does the opt c Cody Commands shortcut meet the keyboard shortcut requirement? I think the default behaviour is to activate commands using that shortcut

I think it would be nicer if it had its own command (as it is, I still have to do opt c and then start typing "explain") but I'm open to arguments for why that's not a good idea.

I believe we decided ~2 weeks ago that we don't need to add shortcuts to every command because users can always create their own, and it's bad UX to change key bindings after the fact if, for some reason, we decide to. Is that your recollection as well, @kalanchan? In that case, we can ignore the shortcut part of the acceptance criteria here.

yup I think we can call this done, keybindings can be left up to the user


Allow cancel option to be given as Array

cancel currently only allows a single selector but in complex use cases, it would be handy to specifiy multiple CSS selectors to allow fine-grained control over the elements that don't start the dragging.
This feature could be made backwards-compatible by using a Array.isArray check so both string and Array types could be supported.

Hey. You are able to give it multiple options by simply separating by a comma:
For example: cancel="button, h1">

Indeed, it looks like the string is passed to Element.matches which does seem to support multiple selectors separated via comma and those seem to be OR-ed together. Maybe a small docs update with this information would be helpful.

If I don't forget I can make a PR to update the docs for that part. Otherwise, feel free to make the PR yourself :)

https://github.com/mzabriskie/react-draggable/pull/446


View Create Title: Search title

Description
The view contains an title field. The title the user wants to add to the title has to be checked if it is already assigned to another title. So we need a service to search for a title by title.
(p. 52)
Implementation
GET /title?title =<value from view>&_include=id,title&_exclude=_links&

{
  data: [{
    id: 42,
    title: "Physics 1"
  }]
}

Estimated Workload:
Actual Workload:

@dirk-ecker  More specifically, since there is a selection up top for the type of title (Journal, Book, Database), this should really search only in the selected type. So /journals, /books or /databases would be better, unless we want to add that as an additional parameter to a generic /title endpoint search (which we will need in addition anyways).

Okay, so we need search capability for resource title and when needed, we add further endpoint for journals, books and databases.


Deterministic output / option to suppress timestamp

By default, nanopb generates a header with the following contents:
/* Generated by nanopb-0.3.9-dev at Tue Aug 22 13:10:44 2017. */

This is not good for reproducibility, since it means that every invocation of nanopb will generate different contents. It would be great if there were a way to suppress the timestamp here (or, if I may advocate a bit forcefully, to NOT include it at all.)

Hmm yeah, might make sense to remove the timestamp completely.
But there is already an option, -T to nanopb_generator.py or protoc --nanopb_out=-T:.

Thanks! It is too bad -T doesn't show up when you run protoc --help with the nanopb plugin

Yeah, protoc doesn't let plugins to provide their own help text.


2-Add Chrome Compatibility

add function that returns browser namespace depending on browser being used (chrome or browser); allow code to be ran on either browser (chrome or firefox)
Chrome extension do not allow promise based approach to async methods. Therefore, had to convert browser.query.tabs method into callback to allow it to function on chrome
remove try catch
add reportError to sendProperties() & togglePatronus() since error catch is removed

Thanks! I made the changes:

Rename firefox to extension directory
Removed legacy event handler in html

Let me know if there's anything else.


There is no OpenSuSE and there never was

though we had SuSE and S.u.S.E.

Not to be pedantic but, upon Googling: isn't it openSUSE?


Fix #143 Allow the combination of X509Data and KeyValue when they represent the same public key

Hi, this is a shot at implementing the suggested logic fix for issue #143. Basically the code now extracts the key parameters for both key representations and compares them to decide whether they are the same key or not.
If the match is positive, then the code goes on as if there were no ambiguity. If the match is negative, the ignore_ambiguous_key_info parameter lets the user decide whether to validate using the X509 data only.
Please bear in mind that this is my first python code ever, so I apologize in advance for any stupid mistake I may have made. I have tested it only using RSA signatures. Also some minor code duplication is introduced and it probably could use some refactoring, but I have to say I don't know python well enough to improve this code. Please review it carefully.
Thanks in advance for your work and your time!

Thank you for your work here @lscorcia. This looks like a very good start, and I appreciate your contribution. Before I can release this, it will require a test case and a refactoring to reduce duplication as you mentioned. I am merging this now since I would rather have this in the main branch and work on it there.
Please let me know if you can contribute a test case or test data with a positive (valid signature) and negative (mismatch) cases.


Add merge restrictions for post RC

This reflects the configuration and we are writing in here to make it
explicit for the contributor.
Why is this PR needed?
So contributors know the rules when they create a PR.
What does this PR do?
Update the github template
Anything else a reviewer needs to know?
This is reflecting the rules. Please do not discuss the rules in this PR.
Info for QA
This is not a bug fix
Docs
Already updated at https://confluence.suse.com/pages/viewpage.action?spaceKey=SUSECaaSPlatform4&title=Development+Workflow+for+CaaSP+v4+(vnext)+development

Looks good to me.
QA is also low on people at the moment, to I expect some delays here. Pinging and assigning the squads-QA person will help.
Is there any expectation regarding the QA approval? For example, a full integration test is passing?

No explicit expectations. Whatever you think is necessary. From my experience, some times the bug is so trivial ( one line fix ) that you don't need to to anything. Other times, you will need the "Before and After" info to know how was this tested and so you know how to validate this. Other times, you would like to test it, for example a bug that requires a complex scenario or a bug that has a high chance to cause a regression... whatever you guys think is needed so when we start a release we have high chances to make it in the planned time.


Running mitmweb on Windows 10 reports OSError: [WinError 10013]

Problem Description
Use mitmdump -p * (any port) to start normally without problems.
Using mitmweb -p *(any port) on Windows 10 prompts the following error:
C:\Users\administrator>mitmweb -p 8898
Traceback (most recent call last):
File "d:\programs\python\python38\lib\runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "d:\programs\python\python38\lib\runpy.py", line 87, in run_code
exec(code, run_globals)
File "D:\Programs\Python\Python38\Scripts\mitmweb.exe_main.py", line 7, in
File "d:\programs\python\python38\lib\site-packages\mitmproxy\tools_main.py", line 173, in mitmweb
run(web.master.WebMaster, cmdline.mitmweb, args)
File "d:\programs\python\python38\lib\site-packages\mitmproxy\tools_main.py", line 132, in run
master.run()
File "d:\programs\python\python38\lib\site-packages\mitmproxy\tools\web\master.py", line 108, in run
http_server.listen(self.options.web_port, self.options.web_host)
File "d:\programs\python\python38\lib\site-packages\tornado\tcpserver.py", line 151, in listen
sockets = bind_sockets(port, address=address)
File "d:\programs\python\python38\lib\site-packages\tornado\netutil.py", line 174, in bind_sockets
sock.bind(sockaddr)
OSError: [WinError 10013] An attempt was made to access the socket in a way that is not allowed by the access permissions.
Steps to reproduce the behavior:

Use CMD to open the command line window;
Enter mitmweb -p 8898, or any port; press Enter.
An error was reported: OSError: [WinError 10013] An attempt was made to access the socket in a way that is not allowed by the access authority.

System Information
C:\Users\administrator>mitmproxy --version
Error: mitmproxy's console interface is not supported on Windows. You can run mitmdump or mitmweb instead.
C:\Users\administrator>mitmdump --version
Mitmproxy: 5.2
Python:    3.8.5
OpenSSL:   OpenSSL 1.1.1g  21 Apr 2020
Platform:  Windows-10-10.0.18362-SP0
C:\Users\administrator>mitmweb --version
Mitmproxy: 5.2
Python:    3.8.5
OpenSSL:   OpenSSL 1.1.1g  21 Apr 2020
Platform:  Windows-10-10.0.18362-SP0

It looks like an access permission problem. You can try to open command line as an administrator.

It looks like an access permission problem. You can try to open command line as an administrator.

it doesn't work，and I still have the same problem with Mitmproxy V6.0.2

I am also having a very similar issue:
mitmproxy\bin>mitmweb -r ..\..\..\Downloads\login-choose_event-ride.flow
Traceback (most recent call last):
  File "mitmweb", line 4, in <module>
  File "mitmproxy\tools\main.py", line 168, in mitmweb
  File "mitmproxy\tools\main.py", line 127, in run
  File "mitmproxy\tools\web\master.py", line 108, in run
  File "tornado\tcpserver.py", line 151, in listen
  File "tornado\netutil.py", line 161, in bind_sockets
OSError: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions
[17668] Failed to execute script mitmweb

mitmproxy\bin>mitmweb --version
Mitmproxy: 6.0.2 binary
Python:    3.9.1
OpenSSL:   OpenSSL 1.1.1i  8 Dec 2020
Platform:  Windows-10-10.0.19041-SP0

This is being run on a windows console run with elevated privs.

Seems to also be a problem in 7.0

FWIW this works perfectly fine for me, I'm not really sure what the issue is here.

I downgraded to 4.0.4 as I've seen that suggested somewhere and it did not help. The full error:

Seems like an OS config issues as opposed to MITMproxy issue. I had Fiddler running and I thought it might have been interfering but killing it did not help.

Shot in the dark: Does it help if you specify --web-host to some internal/external IP?
We really just ask tornado to spawn a socket, there's nothing fancy going on on mitmproxy's side.

Huh

Looks like Windows itself is hogging 8081, not sure why.
Maybe MITMproxy could ask whether the user wants to select a random port if binding to the default one doesn't work. I've seen this behavior in some JS tooling and I think it is pretty user-friendly.

Same error

Same error

@Kaitoxic
It's been a couple years since I've played with this, but I think the problem I experienced was that another application on my system was already using the ports it was trying to listen on. Maybe 8080? or 8081?
Anyways, I'd look up what default port numbers mitmproxy uses by default, and then run a local command on an elevated command prompt run as administrator:
netstat -anob | find "LISTENING"
to look for a conflict.
If you find a conflict, either uninstall/stop that application that conflicts, or simply change the port numbers mitmproxy uses.
Hope this helps!


Making the expression of the sentence more logical

Making the expression of the sentence more logical. Pod will be able to continue running on the node not because  "the third taint is the only one of the three that is not tolerated by the pod", but because, even though it has no toleration for this taint, as the taint is NoSchedule and the pod is already on this node, it can continue running on it.

/easycla

Hi @bemarek ,  I'm closing this PR since the CLA has not been signed
After signing the CLA, please feel free to reopen this PR with /reopen in a comment
/close


Allow using w/o credentials

Our Jenkins is accessible via VPN only, so IT has not set up userids for regular users. It would be nice if the tool would also be useable in this scenario.

@mbaas2 Have you ever found a solution to this? I have the same issue


Build Details Endpoint

Parent: #709
Requirements:

Status
Trigger
Branch
Sha
Start Time
Duration time
Build Tools
Environment variables?

Cool, taking on this task now 👍


fix: correct some typos

Thanks for this! The corresponding build is available here: https://dev.azure.com/fernandreu-public/OfficeRibbonXEditor/_build/results?buildId=1059&view=artifacts&pathAsName=false&type=publishedArtifacts


Feature Request: Will this module support launch templates?

With the announcement of launch configurations being deprecated in favour of launch templates, will this module be updated to reflect that change?

Duplicate of #219, closing.


We need other sounds.

[ ] Sound for hitting snake (could be bubbles)

[ ] Sound for hitting Scorpions (could be bubbles)

[ ] Sound for hitting flies

[x] Sound for when you hit something but don't die.

[ ] Better sound for when flies hit boss.

[ ] Need sound for Super Screen. and Game Over.

We have a sound for when the wizard kills you, but not monster.

Are you using "Germ Wizard Laugh" for when the wizard kills you? Maybe for the monster killing you, we can just re-use the "Game Over + Ouch"


Update MD file on new branch 2017-26-28_11-11-35

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestRef.md
:white_check_mark:Succeeded

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


WIP Preserve repositories for empty dependencies

Close #177

NB

Move repos iterator into root
default name for file for every converter


Use versionless URL for identity endpoint

There is no need to put a version in there, modern clients figure it
out. Of course, I had to update a bunch of our modules because they
aren't modern.

retest

retest

LGTM 👍


[community] Add example CRs for federation

Add example CRs to alm-examples annotation for federation CSV

This does not include example CRs for all CRDs owned by federation
These CRs were obtained from here as suggested by @pmorie : https://github.com/openshift/federation-v2-operator/tree/master/vendor/github.com/kubernetes-sigs/federation-v2/example/sample1
/cc @pmorie @dmesser

/hold
@pmorie These CRs are for the old federationv2. Are they still valid for the new version of the operator?
I understand that the intended flow for using these CRs would be to install them in bulk via CLI rather than one at a time through UI (which could be tedious). @dmesser

Closing in favor of #242 which uses more recent CRs for federation


feat: call global vue errorHandler in fetch and asyncData

resolve #3335

Codecov Report

Merging #3652 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #3652   +/-   ##
=======================================
  Coverage   99.19%   99.19%
=======================================
  Files          18       18
  Lines        1123     1123
  Branches      302      302
=======================================
  Hits         1114     1114
  Misses          9        9

Continue to review full report at Codecov.

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

❤


Determine the proper granularity of elements

To determine the appropriate abstraction size - and to not prematurely optimize - I need to work through building two pipelines, either as flowcharts or pseudocode for two different scenarios. By going from the simple to the complex, I'll be able to narrow down the inputs and outputs necessary for each element of the dataflow, and determine what should and shouldn't be combined.
Scenario 1: Basic Chat with a context handler and conversation history

Scenario 2: Hyde Embeddings + Reranking + Chat with retrieval


Mobile - Do not show custom network on Customize asset display screen

Describe the task
Do not show custom network on Customize asset display screen
To reproduce the bug
Steps:

Perform import network successfully
Go to Customize asset display screen and observe the displayed screen

Actual: Do not show custom network
Expect: Show custom network on Customize asset display screen

Version test: https://www.diawi.com/qrcode/link/DZTJZZ
Device test: IP 11
Validation passed in the case show custom network on Customize asset display screen
Re-check case install/upgrade version


Configuring WebHooks via Azure Resource Manager template?

Is there any way to configure https://github.com/projectkudu/kudu/wiki/Web-hooks via the resource manager APIs?
I had a search around and couldn't find anything - I'm also not sure if this is the right place to ask this question, so feel free to direct me elsewhere
Cheers!

Unfortunately no, that API is not exposed via ARM.

Hi
If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


[C API] v4.1.4 Reflections Simulation Segfault [Linux/Godot]

This might be a long-shot, but I was wondering if you could give me some insight into this (I'll go hunting for the NULL myself as well assuming its somewhere in my code, but its a bit trickier without the library source). Would you know what pointer is being accessed at this line within the library code?
Thread 27 "godot_steamaudi" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe7fe56c0 (LWP 204880)]
ipl::ReflectionSimulator::simulate (this=0x55555d880a00, scene=..., numSources=, sources=, numListeners=, listeners=, directivities=0x7fffb40009c0, numRays=32, numBounces=16, duration=, order=2, irradianceMinDistance=,
energyFields=0x7fffb4000a40, jobGraph=...) at /data/core/src/core/reflection_simulator.cpp:170
170     /data/core/src/core/reflection_simulator.cpp: No such file or directory.
(gdb) p $_siginfo._sifields._sigfault.si_addr
$1 = (void *) 0x0

Disregard that, I see now that the problem was that my sources weren't configured with reflections in the settings at creation.


_reactNative.NativeModules.StripeTerminalReactNative is undefined

Describe the bug
I follow the tutorial of This docs of stripe, when i run my app shows the screenshot error and i cant fix it. (Im new using React Native and stripe sdk)
To Reproduce

Initialize with Expo
Install @stripe/stripe-terminal-react-native
Follow tutorial steps

My repo to reproduce my error
Additional context
This error appears in the web browser when i running up npm run web
Screenshots

Enviroment

React Native "0.69.4"
React "18.0.0"
Expo "~46.0.8"
@stripe/stripe-terminal-react-native "^0.0.1-beta.7"
Linux ZorinOS (Ubuntu Distro)

Hey @EliasLeguizamon123 , as noted in our docs our react native library cannot be run in expo go as a web app as it has native dependencies. You may only run the npx expo run:android/ios target outlined here

Thank you very much @jdivock-stripe, for your support !


error on ubuntu 16

self.init_sys = init_system or result[0][0]
TypeError: 'NoneType' object has no attribute 'getitem'

The error isn't specific to Ubuntu 16. There's a bug when serv can't successfully lookup a matching init system. This will be fixed with 0.3.0


WIP: Fix NFT.storage uploader

This updates the NFT.storage uploader to upload sequentially and mitigates the risks of rate-limiting. It also provides a bit more visual feedback on the progress which might be useful to large projects.

I thought the CAR file approach I originally had was a lot easier and more efficient than uploading each file individually. Any reason why we regressed to a more inefficient approach @JakeHartnell ?

Yeah it’s entirely possible that the problems I was encountering were unrelated to this. Might be a hasty pull request. I’ll do some more testing and get back to you

@a-mummey Check out how I originally had it: https://github.com/public-awesome/stargaze-tools/blob/nft-storage-car/package.json#L13-L14.
Aren't these instructions simpler than having creators get an API key and run a script to upload each file? https://app.gitbook.com/o/-MZcq6zPHk2tG_vbfkZK/s/o3OlOgqvfr4UgT37r0bW/~/revisions/p6Jjp6W0uzKSCimoWpoS/guides/readme/3.-add-assets-and-metadata.

It's important to test upload via CAR files because this is how OpenSea does it, and we want to make sure our contracts are general, resilient, and handle all cases.

I think we can come up with a hybrid approach for this script:

Pack images/ into a CAR file
Upload CAR file to IPFS, get CID
Loop through metadata files and update their image to point to the individual file names ${imagesCid}/${images[1]}
Save updated metadata in tmp folder
Upload metadata as CAR

I think we can come up with a hybrid approach for this script:

Pack images/ into a CAR file
Upload CAR file to IPFS, get CID
Loop through metadata files and update their image to point to the individual file names ${imagesCid}/${images[1]}
Save updated metadata in tmp folder
Upload metadata as CAR

This would get us some validation, and save the artists having to manually add the CID to all of their metadata files.

This sounds good, but looping through the individual filenames shouldn't be necessary. Something has to be wrong somewhere. Will dig into it during testing.

I think we can come up with a hybrid approach for this script:

Pack images/ into a CAR file
Upload CAR file to IPFS, get CID
Loop through metadata files and update their image to point to the individual file names ${imagesCid}/${images[1]}
Save updated metadata in tmp folder
Upload metadata as CAR

This would get us some validation, and save the artists having to manually add the CID to all of their metadata files.

This sounds good, but looping through the individual filenames shouldn't be necessary. Something has to be wrong somewhere. Will dig into it during testing.

Think the issue is that the OpenSea docs are not great:

Now we can begin creating our metadata JSON files, with IPFS images included. In /metadata, go ahead and create 3 files: 1, 2, and 3 (don't worry about not adding a file extension). Fill these files with sample data such as below...
What they are not mentioning is that for each metadata file you have to update the "image" field with the link to the corresponding IPFS CID for the CAR file you uploaded (+file extension). The docs gloss over this.

Is this still an issue?

Nope, went with a folder upload approach instead. Progress indicator would still be nice but that would be a separate issue PR.
Appreciate the PR though! :pray:


Pickler exception

I'm not sure I'm reporting this correctly, please request additional information if needed.
I'm trying to use a "small" table to avoid a full table scan of my "big" table. Doing this
stamps = sc.cassandraTable("ks" ,"timeseries").where("value = 'xyz').select("beamstamp")
stamps.joinWithCassandraTable("ks", "beams").take(1)

With 'beamstamp' being the partition key of the "beams" table. Do I understand this correctly?
I got the following exception:
Py4JJavaError: An error occurred while calling z:org.apache.spark.api.python.PythonRDD.collectAndServe.
: org.apache.spark.SparkException: Job aborted due to stage failure: Task 1 in stage 67.0 failed 4 times, most recent failure: Lost task 1.3 in stage 67.0 (TID 559, kepler5.cern.ch): net.razorvine.pickle.PickleException: couldn't introspect javabean: java.lang.IllegalArgumentException

...

Caused by: net.razorvine.pickle.PickleException: couldn't introspect javabean: java.lang.IllegalArgumentException

Could this be the same as #93? This issue was just fixed and v0.3.4 was released minutes ago: on http://spark-packages.org/package/TargetHolding/pyspark-cassandra. Could you give that a go?
If v0.3.4 doesn't fix this issue, could you provide create table statements for both tables and some inserts with example data?

As for your setup: yes this should work, at least as far as I can tell. I'm not so sure about the where clause. Is that a clustering column?
I do think there is a typo in the snippit, but that's probably just because its an example for the ticket:
.where("value = 'xyz')

The quoting is wrong. Perhaps this:
.where("value = ?", "xyz")

is even better.
Also, you may want to include .on("beamstamp") to make sure you join on the right column. I've been bitten by this myself sometimes ;) (partition key versus primary key ...).

It was apparently the same problem as #93 and v0.3.4 solved the problem! I should have checked if there was a more recent version. Thanks so much!
Concerning my use case, the where was indeed incorrectly written in the example.
One more question: the first RDD coming from the timeseries table will be on a single node (as all the beamstamps will come from the same partition). Is that correct ?
Then how will the second RDD be partitioned? Will it be partitioned based on the partition keys of the joined with table (beams) ?
If so then my life would be much better!

Great!
As for your question: if you restrict an RDD with a where clause on the partition key, then yes, all rows will be located in one and the same RDD partition and thus reside on the same machine.
You could test with something like:
sc.cassandraTable(...).where(...).mapPartitionsWithIndex(lambda index, partition: [index]).collect()

That should yield only 0 as that would be the index of the one and only partition in the RDD.
Joining an RDD with Cassandra will maintain the same partitioning as the original RDD.

Thanks for your answers. Is there a way to repartition the original RDD (keys from a single partition in my case) so that the joined RDD does not involve moving the other part of the join?

Hi @chernals not at the moment unfortunately. But there is a ticket open for this feature (in other words its on my whish list).

Great, I hope your wish comes live soon ;)

On 06 Apr 2016, at 05:18, Frens Jan Rumph<EMAIL_ADDRESS>wrote:
Hi @chernals https://github.com/chernals not at the moment unfortunately. But there is a ticket open for this feature (in other words its on my whish list).
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub https://github.com/TargetHolding/pyspark-cassandra/issues/94#issuecomment-206250834


Concurrency in benchmark

Hi there,
I'm a little bit confused about the the benchmark file (https://github.com/imgproxy/imgproxy/blob/master/BENCHMARK.md).
Above it's written that "Concurrency was set to 8" and in the benchmarking section you use 4 as concurrency (of requests).
By setting concurrency to 8, did you mean that you ran 8 imgproxy instances at the same time or was it just a typo?

Hey Riccardo!
All the tested tools were configured to process up to 8 images simultaneously, but ab was configured to make 4 requests simultaneously. That's why you see Concurrency Level: 4 in the benchmark results.

To recap:

One instance of Imgproxy
IMGPROXY_CONCURRENCY set to 8
ab simultaneous requests set to 4

Thanks DarthSim 👍

No problem!


Defining a custom robot model [FEATURE]

User Story
For integrating pybotics into my physical robotic structure, I need to use a custom robot model definition.
Potential Solutions

A function that read a CSV file that contains D-H parameters, and returns the model Array.
Instead of CSV files, parameters can be given directly as a list.

@MCYBA

if your robot is off-the-shelf (e.g., KUKA, ABB, UR, Fanuc), please make a pull request and add the robot model to pybotics/predefined_models.py
for a CSV file:

import numpy as np
from pybotics.robot import Robot

# load csv data
my_data = np.genfromtxt('my_file.csv', delimiter=',')

# create robot object
robot = Robot.from_parameters(my_data)

@MCYBA how's it going?

Closing stale issue.


No password on openssl::export::pkcs12 not working as expected

The default of false for out_pass does not work.
Per this, you need to specify a blank password to get no password.
This is our experience as well.
http://stackoverflow.com/questions/27497723/export-a-pkcs12-file-without-an-export-password
A current workaround is to set
out_pass => ''

However this is not a permanent solution and the default should really work.
I think this code should fix it:
      $passout_opt = $out_pass ? {
        false   => '-passout pass:',
        default => "-passout pass:${out_pass}",
      }

Another option is to change the default to undef:
define openssl::export::pkcs12(
  $basedir,
  $pkey,
  $cert,
  $ensure    = present,
  $chaincert = false,
  $in_pass   = false,
  $out_pass  = undef,
) {

Let me know your opinion and I'll gladly make a PR.

I think a PR for that would be fine. @cjeanneret do you see any issue with that?

Imo, the undef option would be better.

Any interest in providing a PR for this still?


Windows 10 icons bug

[x] I am on the latest Cerebro.app version

[x] I have searched the issues of this repo and believe that this is not a duplicate

OS version and name: Windows 10 v1703 (Build 15063.413)

Cerebro.app version: 0.3.0

Issue
Screen: http://imgur.com/a/1t1BF
Icons: This PC / Control panel / Inno Setup Compiler / Intel XDK / Discord

I would like to look at this bug. Any hint on where to start looking ?

@maferland cerebro-basic-apps uses path to file as icon. Later we use FileIcon component from cerebro-ui to get image, so you can check it. You can also ask @SkaceKamen for help, since he implemented current version in #16


docs: Remove node-only label from the SingleStoreVectorStore doc

As the Python implementation is also available, we do not need to mark it as Node-only anymore.
@hwchase17

@jacoblee93 could you please take a look? It should be a trivial change

Note, Node-only here means it isn't available in other JS environments, eg browser, edge etc


[QUERY] How to get SSLContextBuilder class to construct a DeviceClient using x509 auth

Query/Question
We are currently using the deprecated DeviceClient constructor with the following signature:
DeviceClient(String connString, IotHubClientProtocol protocol, String publicKeyCertificate, boolean isCertificatePath, String privateKey, boolean isPrivateKeyPath) throws URISyntaxException
The deprecation warning references a sample implementation which uses the SSLContextBuilder helper class. It seems wrong to just copy the helper class for several reasons:

it would not be detected by our vulerability and license compliance tools
no version management via Maven, especially bad because the class contains certificates

What is the intended way to use the non-deprecated constructor? Are the users supposed to copy the helper class?
Setup (please complete the following information if applicable):

Version of the Library used: iot-device-client 1.26.0

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x ] Query Added
[x ] Setup information Added

Thanks for filing this github question @sesu-bio; Someone from the iot team will follow up with you shortly.

Thanks for filing this github question @sesu-bio; Someone from the iot team will follow up with you shortly.


Add a GeoServer profile of SLD version 1.0.0

This adds a GeoServer profile for SLD 1.0.0, the code is all specific in a separate file so can easily be excluded from builds that do not need this. For more info on the GeoServer enhancements to SLD check out:
http://presentations.opengeo.org/2010_FOSS4G/GeoServerCartographic.pdf
This pull request includes a change/correction to the main SLD Format in OpenLayers so that TextSymbolizer->Fill->CssProperty["fill"] now maps to fontColor as is the intention of the SLD 1.0.0 specification.
Relevant tests pass in FF10 and Safari 5.1.3, TIA for any review.

One caveat is that fill-opacity can no longer be controlled for the font if a graphic is used within a TextSymbolizer.

Ah we should map this to fontOpacity instead. Will work on adding that.

Is this ready for review now?

It is ready for review @ahocevar
I am creating another pull request for adding in the missing standard SLD tags for TextSymbolizer.

Thanks for your work on this @bartvde. Please merge.


Correction for raw affiliation Université Lumière-Lyon 2, UMR 5191 ICAR

Correction needed for raw affiliation Université Lumière-Lyon 2, UMR 5191 ICAR
raw_affiliation_name: Université Lumière-Lyon 2, UMR 5191 ICAR
new_rors: 03rth4p18;04mn0nr69
previous_rors: 03rth4p18
works_examples: W4234431719
contact: a61d0eab17d9b4401df87e4e957c147c:c46871809f2e3a08c827cbcc089d @ ens-lyon.fr

This issue was accepted and ingested by the OpenAlex team on 2024-12-19. The new affiliations should be visible within the next 7 days.


chore add a check in fe code to avoid fe meta version changed during pick PR

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall


LDAP Support

Is there a documented way for installing in this image the taiga-contrib-ldap-auth-ext python package (or any other taiga extension) and configure the local.py as documented in the extension page?
I tried to manually install using docker exec on a running instance, but it fails:
docker exec -it abs-taiga_server pip install taiga-contrib-ldap-auth-ext
With this error log:
ERROR: Could not install packages due to an EnvironmentError: [Errno 13] Permission denied: '/home/taiga' Check the permissions.
Thank you for the help, bye,
gabriele

Hi @gabrieletassoni. There's no way that's specific to this image, just do it like you would with any other image - create your own! Of course, you don't have to do it from scratch, something like this should cover your needs:
FROM devinsolutions/taiga:<tag-of-your-choice>
USER root  # Our image uses `taiga` user, which cannot alter the system in any way
RUN …  # Do your thing here
USER taiga  # DON'T FORGET TO DROP THE PRIVILEGES!

Check out our Dockerfile to find out more about how we do things, you might find that useful. Anyway, I think this answers the question, so I'm closing this issue. Feel free to ask more questions if there's something you don't understand about this image. If you find a real problem, which prevents you from building on top of our image, we can reopen. Hope this helps.


Exposing graphql request?

I know that you can access the request object when you initiate the middleware but is it possible for me to get the graphql request's info also so that I can log it,
example:
graphqlHTTP((request, context) => {
       console.log(request.graphqlQuery);
       console.log(request.graphqlVariables);
})

Right now when I make a post request, I don't know what requests are hitting my server?

This is impossible at this moment. Open a new issue at express-graphql: https://github.com/graphql/express-graphql/issues/113
Relative issue: #6

@pyros2097 have u figure it out how to do this?
@chentsulin is there any workaround for now? like logging POST data

Nope... I thought of doing a fork but then lost interest since it gets cumbersome to maintain it and add it as a dependency.

@sibelius Sorry, but there is no workaround for this now. I can add a custom logger here: https://github.com/chentsulin/koa-graphql/blob/master/src/index.js#L159, but I rather waiting for @leebyron 's feedback in https://github.com/graphql/express-graphql/issues/113 .

@sibelius @pyros2097 #79 introduce a new point to extend, will this help you?

Yep!

tks


Fix background glitch

This should fix #14 although it might need to be documented in the readme since this happens also when you have a fluid view in a tab. Once the user switches tabs and goes back to the one with the fluid we should stop and restart the animation as well. In this case the UIApplicationWillResignActiveNotification and UIApplicationDidBecomeActiveNotification won't do the trick and we need to use for instance viewWillAppear/Disappear.
What do you think?

Hey! Thanks for all the help. We should definitely use UIApplicationWillResignActiveNotification and UIApplicationDidBecomeActiveNotification. Any reason you put it in BAViewController and not the BAFluidView (since the methods only affect UI elements)? Instead of using viewWillAppear in the viewController, I used willMoveToWindow in the BAFluidView. Figured this way we can avoid having the developer deal with it. Let me know what you think! branch w/ proposed fix

I exposed that because the same issue happens if you have a tab controller. Let's say that tab 1 has a fluid view, when the users switches to tab 2 and back to tab 1 you'll find the wave animation glitched. That can be fixed by starting and stopping the animation in viewWillAppear: and viewWillDisappear:, catching UIApplicationWillResignActiveNotification won't work.

Right! So my solution (instead of viewWillAppear:) was to do this in BAFluidView:
- (void)willMoveToWindow:(UIWindow *)newWindow {
    if(newWindow == nil){
        //the view is being removed
        [self stopAnimation];
        return;
    }

    //the view is being added
    [self startAnimation];
}

Which results in this:

Thoughts?

Brilliant!

Ok, tested it on Gulps and it works great. The API is also cleaner, the startAnimation call is no longer required :+1:


Add Grey to Color type

I'm still waiting for your reply... :grinning:
Q:

Should we use that?

A:

Why not?

I'm still waiting for your reply... :grinning:
Q:

Should we use that?

A:

Why not?

But the most important question is:

some libraries outputs White (FG/BG Code 37/47) as 97/107.
And White named as Grey.
I think it's correct.

Thoughts?

But the most important question is:

some libraries outputs White (FG/BG Code 37/47) as 97/107.
And White named as Grey.
I think it's correct.

Thoughts?

I have checked many other implementations in different languages and noticed that some libraries outputs White (FG/BG Code 37/47) as 97/107.
And White named as Grey.

Ultimately, it's just a naming scheme. According to Wikipedia, 37 is also called white and 97 is called bright white. I think the name white fro 37 is okay.
Regarding the large enums for color names, this can be implemented, but I'd prefer a new file called color_names.zig or similar where color names are mapped to the ANSI colors.

I have checked many other implementations in different languages and noticed that some libraries outputs White (FG/BG Code 37/47) as 97/107.
And White named as Grey.

Ultimately, it's just a naming scheme. According to Wikipedia, 37 is also called white and 97 is called bright white. I think the name white fro 37 is okay.
Regarding the large enums for color names, this can be implemented, but I'd prefer a new file called color_names.zig or similar where color names are mapped to the ANSI colors.

Ok! :)

but I'd prefer a new file called color_names.zig or similar where color names are mapped to the ANSI colors.

:+1:
Now we can create enums in comptime by @Type. Just an idea...

Ok! :)

but I'd prefer a new file called color_names.zig or similar where color names are mapped to the ANSI colors.

:+1:
Now we can create enums in comptime by @Type. Just an idea...

Are you ok with other color representation?
HSL, HSV, CMYK, ...

Are you ok with other color representation?
HSL, HSV, CMYK, ...

Are you ok with other color representation?
HSL, HSV, CMYK, ...

I think stuff like this is out of scope for this library. The basic colors or the 8-bit colors can vary from terminal from terminal and even within one terminal users can have different color themes. Converting RGB (24-bit colors) into HSL, HSV, ... and vice versa should be the job of another library focusing on colors, color spaces, conversions and other color operations.

Are you ok with other color representation?
HSL, HSV, CMYK, ...

I think stuff like this is out of scope for this library. The basic colors or the 8-bit colors can vary from terminal from terminal and even within one terminal users can have different color themes. Converting RGB (24-bit colors) into HSL, HSV, ... and vice versa should be the job of another library focusing on colors, color spaces, conversions and other color operations.


Add support of non-EPSG SRS authorities

Solves the issue laid out in https://lists.osgeo.org/pipermail/mapproxy-dev/2022-March/000039.html

Looks good to me, thanks!


add C8 replay

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like that [x])
Use Preview tab to see how your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2<IP_ADDRESS>. If it's not read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2<IP_ADDRESS>

Before submitting an issue make sure you have:

[x] At least skimmed through README and most notably FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones

What is the purpose of your issue?

[x] Site support request (request for adding support for a new site)

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add -v flag to your command line you run youtube-dl with, copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
$ youtube-dl -v http://replay.c8.fr/video/1423536
[debug] System config: []
[debug] User config: [u'-o', u'~/Downloads/%(title)s-%(id)s.%(ext)s']
[debug] Command-line args: [u'-v', u'http://replay.c8.fr/video/1423536']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2<IP_ADDRESS>
[debug] Python version 2.7.10 - Darwin-16.1.0-x86_64-i386-64bit
[debug] exe versions: avconv 11.4, avprobe 11.4
[debug] Proxy map: {}
[generic] 1423536: Requesting header
WARNING: Falling back on generic information extractor.
[generic] 1423536: Downloading webpage
[generic] 1423536: Extracting information
ERROR: Unsupported URL: http://replay.c8.fr/video/1423536
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 1636, in _real_extract
    doc = compat_etree_fromstring(webpage.encode('utf-8'))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2525, in compat_etree_fromstring
    doc = _XML(text, parser=etree.XMLParser(target=_TreeBuilder(element_factory=_element_factory)))
  File "/usr/local/bin/youtube-dl/youtube_dl/compat.py", line 2514, in _XML
    parser.feed(text)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1642, in feed
    self._raiseerror(v)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/xml/etree/ElementTree.py", line 1506, in _raiseerror
    raise err
ParseError: mismatched tag: line 40, column 63
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 694, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 357, in extract
    return self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/generic.py", line 2433, in _real_extract
    raise UnsupportedError(url)
UnsupportedError: Unsupported URL: http://replay.c8.fr/video/1423536

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: hhttp://replay.c8.fr/video/1423536

Description of your issue, suggested solution and other information
Add C8 on youtube-dl for french user

I have collected all French TV livestreams direct URL if you are interested, here is the C8 one: http://hls-live-m5-l3.canal-plus.com/live/hls/d8-clair-hd-and/and-hd-clair/index.m3u8


Improve installation

Main question to answer before merge:

are we using pip install -e . for installation? If yes, then I think we can delete the requirements files...they seem to be unused (I tested a fresh install without them).

Okay I see that the tests failed because of the absence of the requirements files. I'm looking into this to see why the main package seems to depend on the .cfg file while the tests depend on the requirements files.
Seems to me like we should shoot for a single package dependency file.

The tests still fail, but they fail in the same way that they did before 🙂,
I've refactored the package dependencies. We can still install with a one-liner pip install -e ., and I've removed the requirements files and moved the testing requirements into the github workflow (there were already a few pip install calls there anyway).
I like going without a requirements.txt file since having both a requirments.txt and a setup.cfg was confusing to me on my first installs: should I do pip install -e . or pip install -r requirements.txt. Now it's clearer and we have fewer dependencies files to keep track of.
Ready to merge from my perspective.

Following up on a question about how pip install works with .cfg files, this stack overflow says that pip install calls
setup.py which calls setuptools which uses the .cfg file. More reading required to understand all of this, but at least it makes sense why this still works w/o any requirements.txt files.
https://stackoverflow.com/questions/46205648/can-pip-install-from-setup-cfg-as-if-installing-from-a-requirements-file

From the python packaging user guide, I read I read that pip installation looks only in the setup.cfg.
The guide also makes the point that install_requires keyword in setup.cfg and the requirements.txt serve different purposes. install_requires specifies minimal requirements needed to run the code and requirements.txt is simply the list of pip commands that a developer can use to setup the development environment. In our case, the pyqtdesigner should be specified in requirements.txt, but not in install_requires.
The installation instructions can be:

pip install -e . to install the package.
pip install -r requirements.txt if you want to develop the code.


documentationLabel does not accept carriage return

VSCode Version: Latest
OS Version: Windows 10

per Erich
this suggestSupport snippet does not respect any character I could possibly use for the section [should be carriage return here]. I've tried various combinations of html tags and of the construction of the label itself with no luck.
type: 'operator',
label: 'ge',
codeSnippet: 'ge',
documentationLabel: "Greater Than or Equal To [should be a carriage return here] StoryPoints ge 8"

Duplicate of #1920


Typos in symbols constants

"quarter" was misspelled as "quater" in the symbols module and in a few places referencing it. All I've done is replace every instance of "QUATER" in the codebase with "QUARTER." No logic changes, ran test suite just in case, all tested ok.

ah =) thanks !


nest-install.sh returns error Invalid option: -Dwith-python=3

I'm trying to install NEST after the last PizDaint update but I get a weird error during the cmake command. I followed the the instruction in the README, I cloned the repo, added the required lines in the .bashrc and run the command source install-nest.sh.
This is the output:
ModuleCmd_Switch.c(179):ERROR:152: Module 'PrgEnv-cray/6.0.9' is currently not loaded
GSL(3):ERROR:105: Unable to locate a modulefile for 'GSL/2.5-CrayGNU-20.11'
Cloning into 'nest-simulator'...
remote: Enumerating objects: 1919, done.
remote: Counting objects: 100% (1919/1919), done.
remote: Compressing objects: 100% (1589/1589), done.
remote: Total 1919 (delta 566), reused 741 (delta 313), pack-reused 0
Receiving objects: 100% (1919/1919), 11.63 MiB | 12.85 MiB/s, done.
Resolving deltas: 100% (566/566), done.
Updating files: 100% (1854/1854), done.
-- The CXX compiler identification is Clang 12.0.0
-- The C compiler identification is Clang 12.0.0
-- Cray Programming Environment 2.7.10 CXX
-- Check for working CXX compiler: /opt/cray/pe/craype/2.7.10/bin/CC
-- Check for working CXX compiler: /opt/cray/pe/craype/2.7.10/bin/CC -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Cray Programming Environment 2.7.10 C
-- Check for working C compiler: /opt/cray/pe/craype/2.7.10/bin/cc
-- Check for working C compiler: /opt/cray/pe/craype/2.7.10/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Doxygen: /usr/bin/doxygen (found version "1.8.14") found components:  doxygen missing components:  dot
-- Looking for include file inttypes.h
-- Looking for include file inttypes.h - found
-- Looking for include file mach-o/dyld.h
-- Looking for include file mach-o/dyld.h - not found
-- Looking for include file mach/mach.h
-- Looking for include file mach/mach.h - not found
-- Looking for include file memory.h
-- Looking for include file memory.h - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for C++ include istream
-- Looking for C++ include istream - found
-- Looking for C++ include ostream
-- Looking for C++ include ostream - found
-- Looking for C++ include sstream
-- Looking for C++ include sstream - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of long long
-- Check size of long long - done
-- Check size of u_int16_t
-- Check size of u_int16_t - done
-- Check size of uint16_t
-- Check size of uint16_t - done
-- Check size of u_int64_t
-- Check size of u_int64_t - done
-- Check size of uint64_t
-- Check size of uint64_t - done
-- Looking for NAN
-- Looking for NAN - found
-- Looking for isnan
-- Looking for isnan - found
-- Looking for M_E
-- Looking for M_E - found
-- Looking for M_PI
-- Looking for M_PI - found
-- Looking for expm1
-- Looking for expm1 - found
-- Host triple: x86_64-pc-linux
-- Target triple: x86_64-pc-linux
CMake Error at cmake/ProcessOptions.cmake:436 (message):
  Invalid option: -Dwith-python=3
Call Stack (most recent call first):
  CMakeLists.txt:130 (nest_process_with_python)

-- Configuring incomplete, errors occurred!
See also "/users/bgambosi/nest-simulator/build/CMakeFiles/CMakeOutput.log".
See also "/users/bgambosi/nest-simulator/build/CMakeFiles/CMakeError.log".
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target 'install'.  Stop.

@Helveg, did I skip any step? any idea about what is failing?
Also, these are the cmake log files
CMakeError.log
CMakeOutput.log

We need to fix the modules.sh file to point to the new GSL module

If shell.sh is loaded the command maa GSL should tell you which GSL module exists. I'll make the fix tomorrow!

The problem was that I simplified the installation! But the install-nest.sh script was still using the complex, and now obsolete and even invalid flags ;) I dropped those flags and now everything should install fine if you pull the latest changes

Please note that NEST now needs to be installed into a virtual environment, so the nest-env environment is created for you. The install-nest.sh script could be improved to accept the env as a parameter


fix: update custom hostname guide

Description
Title

Testing required outside of automated testing?

[x] Not Applicable

Screenshots (if appropriate):

[x] Not Applicable

Rollback / Rollforward Procedure

[x] Roll Forward
[ ] Roll Back

Reviewer Checklist

[ ] Description of Change
[ ] Description of outside testing if applicable.
[ ] Description of Roll Forward / Backward Procedure
[ ] Documentation updated for Change

:tada: This issue has been resolved in version 1.179.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Cannot build Tensorflow android example with Android Studio

When I build the project in android studio it goes through with just 1 warning asking me to not specify the JDK version in the manifest file. I don't think this is the cause of the error, and for now I have left it as is.
When I run the project on a virtual device (tried pixel 2 with Android Pie, and Nexus 5X with Android 7), both give the same error stack. Here it is below. Help would be GREATLY appreciated. I have tried compiling the example on both mac and linux, and both seem to fail.
Executing tasks: [:assembleDebug]

:buildInfoDebugLoader
:checkDebugClasspath UP-TO-DATE
:preBuild UP-TO-DATE
:preDebugBuild UP-TO-DATE
:compileDebugAidl NO-SOURCE
:compileDebugRenderscript UP-TO-DATE
:checkDebugManifest UP-TO-DATE
:generateDebugBuildConfig UP-TO-DATE
:prepareLintJar UP-TO-DATE
:mainApkListPersistenceDebug UP-TO-DATE
:generateDebugResValues UP-TO-DATE
:generateDebugResources UP-TO-DATE
:mergeDebugResources UP-TO-DATE
:createDebugCompatibleScreenManifests UP-TO-DATE
:processDebugManifest
:splitsDiscoveryTaskDebug UP-TO-DATE
:processDebugResources
:generateDebugSources
:javaPreCompileDebug
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/SpeechActivity.java:54: error: package org.tensorflow.contrib.android does not exist
import org.tensorflow.contrib.android.TensorFlowInferenceInterface;
                                     ^
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/SpeechActivity.java:95: error: cannot find symbol
  private TensorFlowInferenceInterface inferenceInterface;
          ^
  symbol:   class TensorFlowInferenceInterface
  location: class SpeechActivity
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/StylizeActivity.java:57: error: package org.tensorflow.contrib.android does not exist
import org.tensorflow.contrib.android.TensorFlowInferenceInterface;
                                     ^
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/StylizeActivity.java:117: error: cannot find symbol
  private TensorFlowInferenceInterface inferenceInterface;
          ^
  symbol:   class TensorFlowInferenceInterface
  location: class StylizeActivity
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowImageClassifier.java:30: error: cannot find symbol
import org.tensorflow.Operation;
                     ^
  symbol:   class Operation
  location: package org.tensorflow
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowImageClassifier.java:31: error: package org.tensorflow.contrib.android does not exist
import org.tensorflow.contrib.android.TensorFlowInferenceInterface;
                                     ^
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowImageClassifier.java:57: error: cannot find symbol
  private TensorFlowInferenceInterface inferenceInterface;
          ^
  symbol:   class TensorFlowInferenceInterface
  location: class TensorFlowImageClassifier
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowMultiBoxDetector.java:32: error: cannot find symbol
import org.tensorflow.Graph;
                     ^
  symbol:   class Graph
  location: package org.tensorflow
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowMultiBoxDetector.java:33: error: cannot find symbol
import org.tensorflow.Operation;
                     ^
  symbol:   class Operation
  location: package org.tensorflow
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowMultiBoxDetector.java:34: error: package org.tensorflow.contrib.android does not exist
import org.tensorflow.contrib.android.TensorFlowInferenceInterface;
                                     ^
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowMultiBoxDetector.java:63: error: cannot find symbol
  private TensorFlowInferenceInterface inferenceInterface;
          ^
  symbol:   class TensorFlowInferenceInterface
  location: class TensorFlowMultiBoxDetector
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowObjectDetectionAPIModel.java:31: error: cannot find symbol
import org.tensorflow.Graph;
                     ^
  symbol:   class Graph
  location: package org.tensorflow
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowObjectDetectionAPIModel.java:32: error: cannot find symbol
import org.tensorflow.Operation;
                     ^
  symbol:   class Operation
  location: package org.tensorflow
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowObjectDetectionAPIModel.java:33: error: package org.tensorflow.contrib.android does not exist
import org.tensorflow.contrib.android.TensorFlowInferenceInterface;
                                     ^
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowObjectDetectionAPIModel.java:62: error: cannot find symbol
  private TensorFlowInferenceInterface inferenceInterface;
          ^
  symbol:   class TensorFlowInferenceInterface
  location: class TensorFlowObjectDetectionAPIModel
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowYoloDetector.java:26: error: package org.tensorflow.contrib.android does not exist
import org.tensorflow.contrib.android.TensorFlowInferenceInterface;
                                     ^
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowYoloDetector.java:87: error: cannot find symbol
  private TensorFlowInferenceInterface inferenceInterface;
          ^
  symbol:   class TensorFlowInferenceInterface
  location: class TensorFlowYoloDetector
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/SpeechActivity.java:152: error: cannot find symbol
    inferenceInterface = new TensorFlowInferenceInterface(getAssets(), MODEL_FILENAME);
                             ^
  symbol:   class TensorFlowInferenceInterface
  location: class SpeechActivity
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/StylizeActivity.java:365: error: cannot find symbol
    inferenceInterface = new TensorFlowInferenceInterface(getAssets(), MODEL_FILE);
                             ^
  symbol:   class TensorFlowInferenceInterface
  location: class StylizeActivity
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowImageClassifier.java:103: error: cannot find symbol
    c.inferenceInterface = new TensorFlowInferenceInterface(assetManager, modelFilename);
                               ^
  symbol:   class TensorFlowInferenceInterface
  location: class TensorFlowImageClassifier
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowImageClassifier.java:106: error: cannot find symbol
    final Operation operation = c.inferenceInterface.graphOperation(outputName);
          ^
  symbol:   class Operation
  location: class TensorFlowImageClassifier
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowMultiBoxDetector.java:90: error: cannot find symbol
    d.inferenceInterface = new TensorFlowInferenceInterface(assetManager, modelFilename);
                               ^
  symbol:   class TensorFlowInferenceInterface
  location: class TensorFlowMultiBoxDetector
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowMultiBoxDetector.java:92: error: cannot find symbol
    final Graph g = d.inferenceInterface.graph();
          ^
  symbol:   class Graph
  location: class TensorFlowMultiBoxDetector
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowMultiBoxDetector.java:99: error: cannot find symbol
    final Operation inputOp = g.operation(inputName);
          ^
  symbol:   class Operation
  location: class TensorFlowMultiBoxDetector
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowMultiBoxDetector.java:108: error: cannot find symbol
    final Operation outputOp = g.operation(outputScoresName);
          ^
  symbol:   class Operation
  location: class TensorFlowMultiBoxDetector
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowObjectDetectionAPIModel.java:91: error: cannot find symbol
    d.inferenceInterface = new TensorFlowInferenceInterface(assetManager, modelFilename);
                               ^
  symbol:   class TensorFlowInferenceInterface
  location: class TensorFlowObjectDetectionAPIModel
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowObjectDetectionAPIModel.java:93: error: cannot find symbol
    final Graph g = d.inferenceInterface.graph();
          ^
  symbol:   class Graph
  location: class TensorFlowObjectDetectionAPIModel
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowObjectDetectionAPIModel.java:100: error: cannot find symbol
    final Operation inputOp = g.operation(d.inputName);
          ^
  symbol:   class Operation
  location: class TensorFlowObjectDetectionAPIModel
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowObjectDetectionAPIModel.java:107: error: cannot find symbol
    final Operation outputOp1 = g.operation("detection_scores");
          ^
  symbol:   class Operation
  location: class TensorFlowObjectDetectionAPIModel
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowObjectDetectionAPIModel.java:111: error: cannot find symbol
    final Operation outputOp2 = g.operation("detection_boxes");
          ^
  symbol:   class Operation
  location: class TensorFlowObjectDetectionAPIModel
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowObjectDetectionAPIModel.java:115: error: cannot find symbol
    final Operation outputOp3 = g.operation("detection_classes");
          ^
  symbol:   class Operation
  location: class TensorFlowObjectDetectionAPIModel
/Users/spandanmadan/Desktop/android/src/org/tensorflow/demo/TensorFlowYoloDetector.java:107: error: cannot find symbol
    d.inferenceInterface = new TensorFlowInferenceInterface(assetManager, modelFilename);
                               ^
  symbol:   class TensorFlowInferenceInterface
  location: class TensorFlowYoloDetector
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
32 errors
:compileDebugJavaWithJavac FAILED
:buildInfoGeneratorDebug

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':compileDebugJavaWithJavac'.
> Compilation failed; see the compiler error output for details.

* 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 1s
17 actionable tasks: 6 executed, 11 up-to-date

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce
Mobile device

Solved the error. Frankly, I just had to follow the tensorflow tutorial for Android more closely.

Solved the error. Frankly, I just had to follow the tensorflow tutorial for Android more closely.

@Spandan-Madan I meet the same error as you,can you tell me the resolve,because i can't find the tutorial for android,thanks so much

@shenyingying and anyone else having the same issue, in the build.gradle file change the following:
def nativeBuildSystem = 'bazel'
to
def nativeBuildSystem = 'none'
Hope it helps!


Inserting Images

Hi, thank you for working on this. It is amazing to finally have a simple HTML editor. Can you tell me if it is possible to insert images?

Fantastic – look forward to it

Hi @mi1971 ,
Checkout the prerelease version 1.0.0-dev.3
Added support for inserting images, embedding videos, hyperlinks.

Hey, thank you. I'm having issues with the editor breaking sentences into multiple lines when there is an initial value passed to it that contains markup. See image below.
Also, the insert link button looks funny (textbox is tiny). I'm working on web.
I hope you can continue to work on this. It's so promising for flutter to have such a simple html editor.

Hi @mi1971 ,
Thanks for testing the beta version and reporting the issue. I have made a few bug fixes, which are not deployed yet. However this seems to be a new bug, will look into it.

Thank you!!
On Sun, Dec 11, 2022 at 10:27 PM the-airbender @.***>
wrote:

Hi @mi1971 https://github.com/mi1971 ,
Thanks for testing the beta version and reporting the issue. I have made a
few bug fixes, which are not deployed yet. However this seems to be a new
bug, will look into it.
—
Reply to this email directly, view it on GitHub
https://github.com/the-airbender/quill_html_editor/issues/3#issuecomment-1345541929,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AB3XUJXXJ4SSFYVK2MVOGSTWMXCEPANCNFSM6AAAAAASNEZT3M
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi @mi1971
Deployed a new beta version 1.0.0-dev.5. Resolved the bugs you reported, along with a few other bugs.

Thanks! line breaks look better.
Your insert link dialog still looks wrong. Hint text should be same size (but lighter) than link text, and the text box should have some padding and be bigger. You've made the dialog bigger with what looks like a text box which is too big, but the real text box is still very skinny.
Here is yours versus one that looks good online....

Example one...

I hope this feedback is helpful? Thanks again.


Dselans/server custom wasm

initial work needed to support custom wasm. 75% way there.
There are two types of wasm now - bundled and custom. Bundled wasm is preloaded at startup and written to Redis. Custom wasm is written at runtime to redis.
We need to handle "bundled" and "custom" because you should not be able to modify/remove/delete bundled wasm but you should be able to do it to custom wasm.
This PR also adds all of the gRPC handlers necessary for wasm CRUD.
Next steps is to test this whole thing out. All I've done so far is see that it compiles. Will try to finish by EOD Apr 2nd.

protos commit was a mistake - wrong branch. Will revert.


createRepo page design impove

Describe changes
How do you think it is? Let's fix it together.
Issue number or link
#120
Types of changes
What is the type of code change?
Put an x in the boxes that apply

[ ] Bugfix (changes that resolve errors)
[ ] New feature (changes which adds functionality)
[ ] Breaking change (big changes that affect existing functionality)
[ ] Documentation Update

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have read the "README.md"
[x] My code follows the style guidelines of this project
[x] My changes generate no new warnings
[x] Lint and unit tests pass locally with my changes
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation
[ ] Any dependent changes have been merged and published in downstream modules

Further comments
Please let me know if there's anything else to explain

I was working on just step1 page, but somehow I fixed them all. haha


Can't upload any model into yang-explorer

any yang mod i try to upload results in this error:
IO Error:[IOErrorEvent type="ioError" bubbles=false cancelable=false eventPhase=2 test="Error #2038"]

Did you ever find a solution for this? I have the same problem.

My issue turned out to be with my browser. I used Chrome which fixed that problem at least, now trying to fix another one (seems to be related to pyang version).


docker-compose make quick-start failed with timeout waiting for docker server

Running under Ubuntu 20.04 with 32G memory
It always timeout when starting openwhisk_apigateway_1
Waiting till all containers are powered up...
Starting openwhisk_zookeeper_1 ...
Starting openwhisk_zookeeper_1 ... done
Starting openwhisk_redis_1     ... done
Starting openwhisk_db_1        ... done
Starting openwhisk_kafka_1     ... done
Starting openwhisk_kafka-rest_1 ... done
Starting openwhisk_invoker_1    ... done
Starting openwhisk_controller_1      ... done
Starting openwhisk_kafka-topics-ui_1 ... done
Starting openwhisk_apigateway_1      ... done
\nIMAGE                                      STATUS
openwhisk/apigateway:nightly               Up 2 minutes
landoop/kafka-topics-ui:0.9.3              Exited (2) 3 minutes ago
openwhisk/controller:nightly               Up 3 minutes
openwhisk/invoker:nightly                  Up 3 minutes
confluentinc/cp-kafka-rest:3.3.1           Up 3 minutes
wurstmeister/kafka:<IP_ADDRESS>                Up 3 minutes
zookeeper:3.4                              Up 3 minutes
apache/couchdb:2.3                         Up 3 minutes
redis:2.8                                  Up 3 minutes
minio/minio:RELEASE.2018-07-13T00-09-07Z   Up 3 minutes (healthy)
\nERROR: Timed out waiting for docker services to launch...
make: *** [Makefile:306: wait-for-docker-compose-up] Error 1

This might be helpful: https://github.com/stefanprodan/dockprom/issues/205
I updated the /etc/resolv.conf to
userserver: <IP_ADDRESS>
Then remove the link of this file by using command: unlink /etc/resolv.conf
After that update the access permission by using command: chmod 444 /etc/resolv.conf

@pqi1 Thx! It works, just change "options edns0 trust-ad" into "options edns0 ndots:0".