#StackBounty: #css #sass SASS Source Map pointing to the wrong SASS file

Bounty: 50

I have 4 SASS files main.sass, _fonts.sass, _variables.sass, _home.sass.

main.sass

@import 'fonts'
@import 'variables'
@import 'home'

_fonts.sass

@font-face
    font-family: "FontAwesome"
    font-weight: normal
    font-style: normal
    src: url("https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.eot?v=4.3.0")
    src: url("https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.eot?#iefix&v=4.3.0") format("embedded-opentype"), url("https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.woff2?v=4.3.0") format("woff2"), url("https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.woff?v=4.3.0") format("woff"), url("https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.ttf?v=4.3.0") format("truetype"), url("https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.svg?v=4.3.0#fontawesomeregular") format("svg")

_variables.sass

$yellow: #fce001

_home.sass

.container
    color: $yellow
    text-align: right

.another-container
    color: $yellow
    text-align: center

    &:after
        content: 'f0b0'
        font-family: FontAwesome
        font-style: normal
        font-weight: normal
        text-decoration: inherit
        position: absolute
        right: 20px
        display: inline-block
        font-size: 1.1em

Here’s my sample HTML

<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <title>hello</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <link rel="stylesheet" type="text/css" media="screen" href="style.css" />
</head>
<body>
    
container
another-container
</body> </html>

I’m compiling my SASS file using this command: sass --watch main.sass:style.css

When I check my google chrome inspect element to container or another-container, its pointing to _variables.sass NOT _home.sass. _variables.sass only contain variables. I want it to point to _home.sass.

@update
I managed to pinpoint what is causing the error, in the _home.sass in content: 'f0b0', if I remove this the source map is pointing to the correct line, why is this causing the error?


Get this bounty!!!

#StackBounty: #homomorphic-encryption #random-oracle-model #functional-encryption #adversarial-model Homomorphic & Functional encry…

Bounty: 50

Let’s assume I have datapiece A which has a known output X in the unencrypted space. When I move datapiece A into an encrypted space, it becomes datapiece e-A. Now, it has output e-X.

When someone else sends me an encrypted input data, datapiece e-Unknown, I plug it into the function, and I also get output e-X. Since datapiece e-unknown produces e-X in the encrypted space, can it be assumed that datapiece-Unknown also produces output X in the unencrypted space?


For an unusual use case, I want this to be true. How can I make it work?

Does this hold true for homomorphic encryption? Since h.e. is probabilistic, are there any tricks to make it hold true for homomorphic encryption (e.g. re-seeding with each new input)? If not, why? I am asking specifically about H.E. because a number of libraries already exist that make it easy to use.

Does this hold true for functional encryption? I have heard it does, but there are not many libraries available for functional encryption.


Get this bounty!!!

#StackBounty: #amazon-web-services #amazon-elb AWS network load balancer's TCP listener on port 80 isn't forwarding HTTP/2 requ…

Bounty: 50

I’ve got a GRPC server listening on port 8000 on an ec2 instance. If I put a network load balancer in front of it with a TCP listener on port 80, the HTTP/2 connection preface PRI * HTTP/2.0 isn’t being forwarded to my GRPC server (the other packets related to the HTTP/2 request do seem to arrive properly).

If I use a TCP listener on any port other than 80, everything works as expected — the connection preface is sent properly and my requests are successful.

I’ve noticed that even if I delete my TCP listener for port 80, the load balancer still accepts connections on port 80 anyway.

My understanding was that a network load balancer would simply forward traffic — is there something special about port 80?


Get this bounty!!!

#StackBounty: #mouse #samsung-galaxy-j7 Why can't I browse the internet while using my mouse?

Bounty: 50

I recently got a Galaxy J7 (2017), and it’s running Android 7.0. I chose a Galaxy because I can plug a mouse directly into the phone. I can’t access the device otherwise.

Everything was working great for the first few days, but then last night I began experiencing trouble browsing the internet. Instead of being able to click and scroll through a website, it’s as though the arrow became a text cursor. Each time I attempt to scroll I am only able to highlight the text on the screen.

It looks like this:
enter image description here

Any ideas what’s going on here and how it can be resolved? I’d really appreciate your feedback. Thanks!


Get this bounty!!!

#StackBounty: #c# #sharpsvn #externals How to correctly generate a complex externals structure with sharpsvn

Bounty: 50

I have a very convoluted repository structure using subversion. Much of this has to do with the limitations of my team, security requirements, and the dependencies of the project. The structure used here is not optional as a consequence and cannot be altered.

The repository structure consists of the following pattern:

root-|- main -|- branches
     |        |- tags
     |        |- trunk - main - plugins
     |
     |- modules -| - module1 -|- branches
                 |            |- tags
                 |            |- trunk - module1 - plugins - plugin1
                 |            |- modules - ...
                 |
                 | - module2 -|- branches
                 |            |- tags
                 |            |- trunk - module2 - plugins - plugin2
                 |            |- modules - ...

The source of each external is a pluginX folder. The target is the plugins folder of the trunk one level lower (or the plugins folder of main). The documentation of the API is nigh non-existent unfortunately. I’m suspecting I need to the propset function somehow but how to point to the specific target directory and source directories is not described anywhere I’ve been able to find nor have I found any examples.

Edit: Each module may be pulled separately and worked on independent of the root project. I cannot just use the root for this. Hell, I can’t even get a hostile response to this question!!


Get this bounty!!!

#StackBounty: #amazon-web-services #amazon-elb AWS network load balancer's TCP listener on port 80 isn't forwarding HTTP/2 requ…

Bounty: 50

I’ve got a GRPC server listening on port 8000 on an ec2 instance. If I put a network load balancer in front of it with a TCP listener on port 80, the HTTP/2 connection preface PRI * HTTP/2.0 isn’t being forwarded to my GRPC server (the other packets related to the HTTP/2 request do seem to arrive properly).

If I use a TCP listener on any port other than 80, everything works as expected — the connection preface is sent properly and my requests are successful.

I’ve noticed that even if I delete my TCP listener for port 80, the load balancer still accepts connections on port 80 anyway.

My understanding was that a network load balancer would simply forward traffic — is there something special about port 80?


Get this bounty!!!

#StackBounty: #amazon-web-services #amazon-elb AWS network load balancer's TCP listener on port 80 isn't forwarding HTTP/2 requ…

Bounty: 50

I’ve got a GRPC server listening on port 8000 on an ec2 instance. If I put a network load balancer in front of it with a TCP listener on port 80, the HTTP/2 connection preface PRI * HTTP/2.0 isn’t being forwarded to my GRPC server (the other packets related to the HTTP/2 request do seem to arrive properly).

If I use a TCP listener on any port other than 80, everything works as expected — the connection preface is sent properly and my requests are successful.

I’ve noticed that even if I delete my TCP listener for port 80, the load balancer still accepts connections on port 80 anyway.

My understanding was that a network load balancer would simply forward traffic — is there something special about port 80?


Get this bounty!!!

#StackBounty: #nginx nginx location new location redirection cycle

Bounty: 50

I moved a bunch of images on my site from /images to /images/categories. I want the old URLs to still serve up the assets from the old location without duplicating them because I have 3rd parties that reference those URLs. I attempted this with a location/try_files block:

location /images {
    try_files /images/categories/$uri $uri;
}

The problem is that then I get:

rewrite or internal redirection cycle while internally redirecting to “/images/categories/myimage.png”, client: 172.27.0.1, server: app, request: “GET /images/categories/myimage.png HTTP/1.1”, host: “localhost”, referrer:

How can I prevent the infinite loop here?


Get this bounty!!!

#StackBounty: #windows-10 #socks-proxy #virtual-network Virtual Network Adapter that forwards request to a SOCKS proxy

Bounty: 50

Being forced to use a proxy is a nightmare. You have to configure almost every software for the proxy, if the software supports it. It would be great if we could configure our network adapter to use a SOCKS proxy by default. Since it’s not an option for Windows 10, I am looking for a virtual adapter that does the tick.

Something like this:

Software -> Virtual Network Adapter -> SOCKS Proxy


Get this bounty!!!

#StackBounty: #apache-2.2 #php #dokuwiki DokuWiki Search very slow after upgrade

Bounty: 50

I’ve upgraded my dokuwiki version on Ubuntu 14.04 “Detritus” to “Release 2018-04-22a “Greebo”” recently.

During the upgrade, I also had to upgrade PHP version to “5.6.36-1+ubuntu14.04.1+deb.sury.org+1″(previously 5.5).

The only problem I have left after the upgrade is that the search is VERY slow: It takes about 15-45 seconds to bring search results, before the upgrade, this was instantaneous . The wiki is also quite small, around 1000 pages.

I’ve tried rebuilding the index but that doesn’t seem to change anything. Disabling addons one by one also didn’t help (I thought maybe it was a plugin that slows things down)

What I also noticed is that an Apache process reaches 100% CPU for as long as the search runs and ends right after the results are displayed. I’m suspecting it’s the PHP upgrade that is causing CPU spike but I can’t pinpoint what’s the issue.

Can someone point me in what I should be investigating?


Get this bounty!!!