text
stringlengths 3
1.74M
| label
class label 2
classes | source
stringclasses 3
values |
---|---|---|
Image (color?) segmentation with opencv C++. <p><img src="https://i.stack.imgur.com/E9ItQ.png" alt="http://i.imgur.com/iIv4gJa.png"></p>
<p>As the graph showed, I'd like to input image and get several segments as a result like that.</p>
<p>It's just like cluster the closest color segment, so I think it's close to the concept of "meanshift"?</p>
<p>I've searched relevant questions here but still don't know how to start and construct the structure in opencv C++. I'm looking for some advises, and I'll be very appreciate if getting a piece of implementation code for me to reference! Thanks for any help!!</p>
<p>==================================================</p>
<p>Edit 5/19/2015</p>
<p>Let me add that one of my trying implementations is Watershed here:(<a href="http://blog.csdn.net/fdl19881/article/details/6749976" rel="noreferrer">http://blog.csdn.net/fdl19881/article/details/6749976</a>).</p>
<p><img src="https://i.stack.imgur.com/F6W2k.jpg" alt="enter image description here"></p>
<p>It's not perfect but the result i want. In this implement, user needs to operate manually( draw the watershed lines ), so i'm looking for AUTOMATIC version of it. Sounds a little bit hard, but... i'll appreciate for some suggestion or piece of code to do it.</p>
| 0non-cybersec
| Stackexchange |
How to generate two numbers such that the smaller divides the larger. <p>I am creating a children's math game and need an algorithm (that I can write in JavaScript) to generate two numbers such that the smaller always divides the larger. How can I do that?</p>
| 0non-cybersec
| Stackexchange |
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application.
I need to scale my app adding some spot instances that EB do not support.</p>
<p>So I create a second autoscaling from a launch configuration with spot instances.
The autoscaling use the same load balancer created by beanstalk.</p>
<p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p>
<p>This work fine, but:</p>
<ol>
<li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p>
</li>
<li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p>
</li>
</ol>
<p><strong>UPDATE</strong></p>
<p>Elastic Beanstalk add support to spot instance since 2019... see:
<a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
| 0non-cybersec
| Stackexchange |
this is the control of my office fan (top view). | 0non-cybersec
| Reddit |
Approximation of $\chi_{[a,b]}$ by continuous functions. <p>let $\chi_{[a,b]}$ be the characteristic function of the interval $[a,b]$. My question is : </p>
<p>1-Is it possible to find a sequence of continuous functions which <em>uniformly</em> converges to $\chi_{[a,b]}$ ? (probably not)</p>
<p>2- Let $0 \leq a < b \leq 1$, is it possible to find a sequence of continuous functions $\phi_n$ such that $\int^1_0 \phi_nf \to \int^1_0 \chi_{[a,b]}f= \int^b_a f $ ? where $f$ is a Lebesgue integrable function (probably yes, but I do not know how to show it)</p>
<p>I already appreciate your help</p>
| 0non-cybersec
| Stackexchange |
What are my graphics option on a AMD hybrid graphics MacBook Pro (8,2)?. <p>Currently I'm running the AMD chip full time with fglrx drivers, and I get OK battery life. I would like to get another hour or two though, which I feel is quite possible by switching to the Intel HD4000 chip. In reading the forums I see that it's possible to do via EFI boot, some kernel patches, using both opensource drivers, and vgaswitcheroo. </p>
<p>That isn't quite ideal though. I'd really like to be using the AMD drivers, but I can't seem to find anywhere (perhaps my google foo is off) how to do this, although I have seen evidence that it is possible (the Ubuntu wiki page on fglrx for example). I need to be able to switch between both cards, preferably without restarting X and definitely without needing to reboot. As this is a laptop, I need to be able to run both in power saving (Intel) and with dual displays (as far as I know that will only work with the AMD chip). Having to restart at least 3 times a day when I go to class and come back to my desk just isn't going to work. </p>
<p>If anyone is willing to take the time to either give me instructions on how to do this (my skill level is higher than n00b, but less than expert... I've recently learned how to build custom kernels, haven't been able to figure out patching yet though). I have my EFI partition set up, and grub configured, but it doesn't boot. I get an error along the lines of "unable to read something from hd(0,0)" (I have the exact message written down at my apartment, so I can post that later) however it starts booting after than until it stops (I assume because it can't load the graphics). Doesn't crash though, as it will shutdown if I push (not hold) the power button. </p>
<p>Bunch of questions here, but it's really just one question and me letting you know where I'm at with things. Thanks. Any help or info will be greatly appreciated. </p>
| 0non-cybersec
| Stackexchange |
I didn’t always want a brain transplant,. but then I changed my mind. | 0non-cybersec
| Reddit |
Happy birthday, Andrea Pirlo. One of his better quotes: During the 2006 world cup final shoot-out during France, "I lifted my eyes to the heavens and asked for help because if God exists, there’s no way he’s French.". | 0non-cybersec
| Reddit |
Where I lose rank in Overwatch. | 0non-cybersec
| Reddit |
Ryzen 1600X will post, will not get into BIOS. ###Troubleshooting Help:
**What is your parts list? [Consider formatting your parts list.](http://www.reddit.com/r/buildapc/wiki/pcpp)**
Component | My PC
:--------|:--------:|---------:
CPU | [AMD - Ryzen 5 1600X 3.6GHz 6-Core Processor](https://pcpartpicker.com/product/8hwqqs/amd-ryzen-5-1600x-36ghz-6-core-processor-yd160xbcaewof) |
CPU Cooler | [MSI - CORE FROZR L 71.3 CFM CPU Cooler](https://pcpartpicker.com/product/cqgPxr/msi-core-frozr-l-713-cfm-cpu-cooler-core-frozr-l) | $50
Motherboard | [MSI - B350 TOMAHAWK ATX AM4 Motherboard](https://pcpartpicker.com/product/Y4kwrH/msi-b350-tomahawk-atx-am4-motherboard-b350-tomahawk) | $108
Memory | [Corsair - Vengeance LPX 16GB (2 x 8GB) DDR4-3200 Memory](https://pcpartpicker.com/product/p6RFf7/corsair-memory-cmk16gx4m2b3200c16) | $112
SSD | [ADATA - Ultimate SU800 256GB 2.5" Solid State Drive](https://pcpartpicker.com/product/7YQRsY/a-data-ultimate-su800-256gb-25-solid-state-drive-asu800ss-256gt-c) | $95
HDD | [Western Digital - Caviar Blue 1TB 3.5" 7200RPM Internal Hard Drive](https://pcpartpicker.com/product/MwW9TW/western-digital-internal-hard-drive-wd10ezex) X2 | $98
Video Card | [XFX - Radeon RX 480 8GB GTR Video Card](https://pcpartpicker.com/product/fxPzK8/xfx-radeon-rx-480-8gb-gtr-video-card-rx-480p8dfa6) |
Case | [NZXT - S340 - Designed by Razer ATX Mid Tower Case](https://pcpartpicker.com/product/GZfmP6/nzxt-case-cas340wra) | $90
PSU | [EVGA - SuperNOVA G3 650W 80+ Gold Certified Fully-Modular ATX Power Supply](https://pcpartpicker.com/product/y88H99/evga-supernova-g3-650w-80-gold-certified-fully-modular-atx-power-supply-220-g3-0650) | $85
OS | [Microsoft - Windows 10 Home OEM 64-bit](https://pcpartpicker.com/product/wtgPxr/microsoft-os-kw900140) | $88
**Describe your problem. List any error messages and symptoms. Be descriptive.**
Can't get any signal to the monitor. Seems to POST (keyboard, mouse, fans all light up), but I can't get any input onto the monitor.
**List anything you've done in attempt to diagnose or fix the problem.**
Unplugged and replugged things. Tried booting with only 1 hard drive hooked up, to all three drives. Still can't get into BIOS.
**Post relevant photos of build/parts here.**
Replace this text with your answer.
**Provide any additional details you wish below.**
Read about 1600X/B350 compatibility issues after purchasing all parts. Any advice appreciated. | 0non-cybersec
| Reddit |
Infected Mushroom - Change the Formality [Psytrance] (2007). | 0non-cybersec
| Reddit |
Getting the first image in string with php. <p>I'm trying to get the first image from each of my posts. This code below works great if I only have one image. But if I have more then one it gives me an image but not always the first. </p>
<p>I really only want the first image. A lot of times the second image is a next button</p>
<pre><code>$texthtml = 'Who is Sara Bareilles on Sing Off<br>
<img alt="Sara" title="Sara" src="475993565.jpg"/><br>
<img alt="Sara" title="Sara two" src="475993434343434.jpg"/><br>';
preg_match_all('/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $texthtml, $matches);
$first_img = $matches [1] [0];
</code></pre>
<p>now I can take this "$first_img" and stick it in front of the short description</p>
<pre><code><img alt="Sara" title="Sara" src="<?php echo $first_img;?>"/>
</code></pre>
| 0non-cybersec
| Stackexchange |
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application.
I need to scale my app adding some spot instances that EB do not support.</p>
<p>So I create a second autoscaling from a launch configuration with spot instances.
The autoscaling use the same load balancer created by beanstalk.</p>
<p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p>
<p>This work fine, but:</p>
<ol>
<li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p>
</li>
<li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p>
</li>
</ol>
<p><strong>UPDATE</strong></p>
<p>Elastic Beanstalk add support to spot instance since 2019... see:
<a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
| 0non-cybersec
| Stackexchange |
Why do you need to source .zshrc for every new shell in iTerm?. <p>I've used Iterm2 with zsh everyday for the past 3 years, but I got a new computer and had to set it up again. The problem is that when I run <code>~/.zshrc</code> it works fine, but I have to do it on every new terminal window I open. Not a good experience.</p>
<p>I noticed that I don't have any <code>bashrc</code>, <code>bash_profile</code>, or <code>profile</code> (dot)files on my new machine.</p>
<p>Here's the code in <code>~/.zshrc</code>:</p>
<pre><code>export ZSH=/Users/healy/.oh-my-zsh
plugins=(
git
)
ZSH_THEME="agnoster"
source ~/.zsh/zsh-autosuggestions/zsh-autosuggestions.zsh
DEFAULT_USER=healy
</code></pre>
<p>Again, it works perfectly (and as expected), but only after I run the source command, and that shouldn't be the case.</p>
<p><a href="https://i.stack.imgur.com/yp6bU.png" rel="noreferrer"><img src="https://i.stack.imgur.com/yp6bU.png" alt="enter image description here"></a></p>
| 0non-cybersec
| Stackexchange |
anti-theist dishing out a serve of whoopass. | 0non-cybersec
| Reddit |
I too had a little guy pay me a visit at work today. | 0non-cybersec
| Reddit |
How a Hard Disk Drive Works (2016) An engineer demonstrates how a hard disk drive works [7:22]. | 0non-cybersec
| Reddit |
Restricted extension of prime ideals of the ring of polynomials over $\mathbb{Q}$. <p>Let $R=\mathbb{Q}[x_1,x_2,\ldots,x_n]$ be a ring of multivariate polynomials over $\mathbb{Q}$. Let $V=\mathop{\rm span}\{x_1,x_2,\ldots,x_n\}$ be the linear subspace spanned by the indeterminates. Let ${\frak p}\lhd R$ be a prime ideal of $R$ which trivially intersects $V$.</p>
<blockquote>
<p><strong>Question:</strong>
Do we always have a maximal ideal ${\frak m}\lhd R$ such that ${\frak p\subseteq m}$ and ${\frak m}\cap V=\{0\}$? </p>
</blockquote>
| 0non-cybersec
| Stackexchange |
Does caploader able to identify Tor traffic in the network?. <p>I found this blog post which says that they were able to identify Tor traffic by using a software called <a href="http://www.netresec.com/?page=Blog&month=2013-04&post=Detecting-TOR-Communication-in-Network-Traffic" rel="nofollow">caploader</a>? Have any one tried this software? I wasn't able to try it by myself as the protocol identification feature is not activated in the trial version? </p>
| 0non-cybersec
| Stackexchange |
The best thing to wake up to. | 0non-cybersec
| Reddit |
Save state to the disk at abrupt bitcoind shutdowns. <p>I have a bitcoind running, and after new blocks being synced, sometimes I kill it(without stop command).</p>
<p>Next time, when I start it, it goes through already synced blocks.</p>
<p>Is there any way to force bitcoind keep the state on a hard drive after accepting each new block?</p>
| 0non-cybersec
| Stackexchange |
My license plates got printed on the snow. | 0non-cybersec
| Reddit |
If I were to type a random string of letters and numbers after "youtube.com/watch?v=", what are the chances of an actual YouTube video appearing?. | 0non-cybersec
| Reddit |
Blocking yandex.ru bot. <p>I want to block all request from yandex.ru search bot. It is very traffic intensive (2GB/day).
I first blocked one C class IP range, but it seems this bot appear from different IP ranges.</p>
<p>For example: </p>
<p>spider31.yandex.ru -> 77.88.26.27
spider79.yandex.ru -> 95.108.155.251 etc..</p>
<p>I can put some deny in robots.txt but not sure if it respect this.
I am thinking of blocking a list of IP ranges.</p>
<p>Can somebody suggest some general solution. </p>
| 0non-cybersec
| Stackexchange |
TeX capacity exceeded in figure captions. <p>I got provided with the following code to define a macro for an image composed of any number of subfigures:</p>
<pre><code>\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{expl3,xparse}
\usepackage{subcaption}
\usepackage{graphicx}
\ExplSyntaxOn
\clist_new:N \l__gerry_mycl
\cs_new:Npn \__gerry_customfiggg:n #1#2#3#4 {
\includegraphics[width=#1\textwidth]{#2}
% caption produces tex capacity exceeded.
\caption[#3]{#4}
\label{fig:#2}
}
\NewDocumentCommand{\multifig}{m}{
\begin{figure}
\clist_set:Nn \l__gerry_mycl {#1}
\clist_map_inline:Nn \l__gerry_mycl {
\clist_set:Nn \l_tmpa_clist {##1}
\begin{subfigure}{{\clist_item:Nn \l_tmpa_clist {1}}\textwidth}
\exp_args:Nx \__gerry_customfiggg:n {0.95}{\clist_item:Nn \l_tmpa_clist {2}}{\clist_item:Nn \l_tmpa_clist {3}\clist_item:Nn \l_tmpa_clist {4}}
\end{subfigure}
}
\end{figure}
}
\ExplSyntaxOff
\begin{document}
% size, file name, caption, caption
\multifig{{.2, fig_1, small caption 1, big caption 1}, {.1, fig_2, small caption 2, big caption 2}}
\end{document}
</code></pre>
<p>(source: <a href="https://tex.stackexchange.com/questions/372911/accessing-a-list-at-a-certain-index">Accessing a list at a certain index</a>)</p>
<p>The command <code>\caption[]{}</code> produces the following error:</p>
<pre><code>TeX capacity exceeded, sorry [input stack size=5000].
\caption@ifstrut #1#2->#1
</code></pre>
<p>When defining figures explicitly the problem does not appear. I would really like to define the macro though. Is there a way to get it working? </p>
<p>Thank you.</p>
| 0non-cybersec
| Stackexchange |
Unable to install Ubuntu - getting ignoring BGRT and ACPI probe failed. <p>I have i7 3770k, 16gb RAM, and an Nvidia 900 series graphics card.</p>
<p>I am not able to install ubuntu on my computer because when I select install from the USB, I get issue that Ignoring BGRT invalid status 0 (expected 1) and ACPI PCC probe failed.</p>
<p>Not sure what to do. Nothing seems to be working. I do not have an OS on this machine. Please help because I tried to use google but the solutions are not working.</p>
| 0non-cybersec
| Stackexchange |
How I feel when I get pranked on April 1st. | 0non-cybersec
| Reddit |
How to impress girls. | 0non-cybersec
| Reddit |
Can there be more than one largest normal subgroup?. <p>Is it possible for a group $\mathcal{G}$ to have normal subgroups $\mathcal{H}_1$ and $\mathcal{H}_2$, such that $\mathcal{H}_1$ and $\mathcal{H}_2$ have the same order and are both the largest, but their elements are all different except $e$?</p>
<p>If this is true, would the decomposition of a group in terms of its largest normal subgroup still be unique?</p>
| 0non-cybersec
| Stackexchange |
Expression Web 4 not installing on Windows 8 Enterprise?. <p>I tried installing Expression Web 4 on Windows 8, but the install progress bar seems to go in reverse and then I get the following log. Any ideas on what I can do to get it fixed?</p>
<p><a href="https://docs.google.com/document/d/18tbPKGR1MWEZx4PFzgjdCiGd5B4On2NwIceUccHpNxw/edit?usp=sharing" rel="nofollow noreferrer">Here is the code (online at Google Drive, live).</a> </p>
| 0non-cybersec
| Stackexchange |
Rocks and Minerals. | 0non-cybersec
| Reddit |
Two display monitors instead of built-in display. <p>I have two monitors and my laptop's built-in display. However, my laptop has only a 15 inch screen, so <strong>I would like to use my two monitors instead of one monitor and my built-in display.</strong> </p>
<p>I have connected both my monitors to my laptop's docking station, and <strong>they also display the desktop screen when I turn them on.</strong> The problem is, even though the two monitors display the desktop screen, <strong>I am only able to use one of them (i.e the mouse pointer does not extend to one of the screens).</strong> It is still one monitor and my built-in display. </p>
<p>If it is possible to use all the three screens, well and good. If not, <strong>how to turn off my built-in display and use my two monitors?</strong> </p>
| 0non-cybersec
| Stackexchange |
Cannot find again a certain CRM-like “dynamic FAQ” site. <p>I've once stumbled upon a site I liked very much, but can't recall it's name or find it on Google anymore. It was a kind of a "dynamic FAQ", a bit like a pre-stackoverflow, but focused only on selected applications. And I think it was chosen for some open-source project (and that was how I got there), but neither can I recall which one (I thought that was Songbird, but it doesn't seem so).</p>
<p>What I recall was that it had a bit similar layout to SO (with a question on top and answers below), I think the answers could be voted, and I think there were some kinds of happy/sad faces besides each q/a. Or were these cakes? um... Anyway, I do strongly remember very positive feelings about the site and it's layout (it was quite modern).</p>
<p>Um... does this vague (sorry) description strike something in someone's memory?</p>
<p>I'd generally want to find the site for inspiration and hopefully to use it for some of my own software projects.</p>
| 0non-cybersec
| Stackexchange |
Least Square Method for solving system of equations. <p>So I am following <a href="http://www.physic.ut.ee/instituudid/efti/loengumaterjalid/signprocCH/5_1LeastSquares.pdf" rel="nofollow">this procedure</a> through MathCad, but when I get to the bottom of page 3, he says I can use a built in command, which he doesn't include. So I am trying to figure out how to solve this equation that has 50 equations and only three unknowns. From my little linear algebra exposure, I remember this has doesn't work. But the link says he solves it via least squares. I am not sure how to do this, so any help would be appreciated, and any idea on how to do it in mathcad would be MAJORLY appreciated. Thanks!</p>
| 0non-cybersec
| Stackexchange |
YAML vs Python configuration/parameter files (but perhaps also vs JSON vs XML). <p>I see Python used to do a fair amount of code generation for C/C++ header and source files. Usually, the input files which store parameters are in JSON or YAML format, although most of what I see is YAML. However, why not just use Python files directly? Why use YAML at all in this case? </p>
<p>That also got me thinking: since Python is a scripted language, its files, when containing only data and data structures, could literally be used the same as XML, JSON, YAML, etc. Do people do this? Is there a good use case for it? </p>
<p>What if I want to import a configuration file into a C or C++ program? What about into a Python program? In the Python case it seems to me there is no sense in using YAML at all, as you can just store your configuration parameters and variables in pure Python files. In the C or C++ case, it seems to me you could still store your data in Python files and then just have a Python script import that and auto-generate header and source files for you as part of the build process. Again, perhaps there's no need for YAML or JSON in this case at all either. </p>
<p>Thoughts?</p>
<p>Here's an example of storing some nested key/value hash table pairs in a YAML file:</p>
<h2>my_params.yml:</h2>
<pre><code>---
dict_key1:
dict_key2:
dict_key3a: my string message
dict_key3b: another string message
</code></pre>
<p>And the same exact thing in a pure Python file:</p>
<h2>my_params.py</h2>
<pre><code>data = {
"dict_key1": {
"dict_key2": {
"dict_key3a": "my string message",
"dict_key3b": "another string message",
}
}
}
</code></pre>
<p>And to read in both the YAML and Python data and print it out:</p>
<h2>import_config_file.py:</h2>
<pre><code>import yaml # Module for reading in YAML files
import json # Module for pretty-printing Python dictionary types; See: https://stackoverflow.com/a/34306670/4561887
# 1) import .yml file
with open("my_params.yml", "r") as f:
data_yml = yaml.load(f)
# 2) import .py file
from my_params import data as data_py
# OR: Alternative method of doing the above:
# import my_params
# data_py = my_params.data
# 3) print them out
print("data_yml = ")
print(json.dumps(data_yml, indent=4))
print("\ndata_py = ")
print(json.dumps(data_py, indent=4))
</code></pre>
<p>Reference for using <code>json.dumps</code>: <a href="https://stackoverflow.com/a/34306670/4561887">https://stackoverflow.com/a/34306670/4561887</a></p>
<p><strong>SAMPLE OUTPUT of running <code>python3 import_config_file.py</code>:</strong></p>
<pre><code>data_yml =
{
"dict_key1": {
"dict_key2": {
"dict_key3a": "my string message",
"dict_key3b": "another string message"
}
}
}
data_py =
{
"dict_key1": {
"dict_key2": {
"dict_key3a": "my string message",
"dict_key3b": "another string message"
}
}
}
</code></pre>
| 0non-cybersec
| Stackexchange |
How to find unused images in an Xcode project?. <p>Has anyone a one-line to find unused images in an Xcode project? (Assuming all the files are referenced by name in code or the project files - no code generated file names.)</p>
<p>These files tend to build up over the life of a project and it can be hard to tell if it's safe to delete any given png.</p>
| 0non-cybersec
| Stackexchange |
installation RTL8811 / RTL8812 with disk. <p>I installed Ubuntu on my desktop PC which doesn't. It connects to wifi. I don't even have a LAN cable. So I bought a USB wifi for the computer only that on Windows it reads it automatically. On Ubuntu? I send you the photo of the disk and folder. I don't have internet so I don't know how. PS: inside the disk there is a file called INSTALL. I open it but a text file comes out ... Help !!! <a href="https://i.stack.imgur.com/cE3eS.jpg" rel="nofollow noreferrer">File Explorer image</a></p>
| 0non-cybersec
| Stackexchange |
[WP] Every item has now become sentient and we must negotiate with said item in order to purchase them. You are currently negotiating with a particularly difficult item. | 0non-cybersec
| Reddit |
Will 2018 MacBook Pro prices lower over the year of 2019?. | 0non-cybersec
| Reddit |
blockchain unconfirmed and unspent output. <p>sent btc to a miner for a mining contract, but while i was sending the btc, they timed out the offer. Now my btc are sitting in limbo, pending transaction, unconfirmed and unspent.<br>
4167a51abe68851d04733204ed069755224555075b72a89a70feccb2ad032efc</p>
<p>Any solution other than hope for blockchain to return it to my account? </p>
| 0non-cybersec
| Stackexchange |
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application.
I need to scale my app adding some spot instances that EB do not support.</p>
<p>So I create a second autoscaling from a launch configuration with spot instances.
The autoscaling use the same load balancer created by beanstalk.</p>
<p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p>
<p>This work fine, but:</p>
<ol>
<li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p>
</li>
<li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p>
</li>
</ol>
<p><strong>UPDATE</strong></p>
<p>Elastic Beanstalk add support to spot instance since 2019... see:
<a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
| 0non-cybersec
| Stackexchange |
A kiss on the cheek. I (30/m) was kissed on the cheek by my date (30/f) when we parted ways. I did not go for a kiss, just a hug. Date seemed to go well. Is this just a friendly thing some girls do or is this an indication that she's interested in pursuing something?
I feel ridiculous asking this, but I just got out of a long term relationship and haven't dated in a long time. Thanks for reading. | 0non-cybersec
| Reddit |
Am I overreacting about this?. FRIEND ADVICE
a/s/l
14/female/canada
Okay, so in November of last year, I joined a Taekwon-do dojo where 2 girls from the "popular clique" went. I felt a bit embarrassed about it, since I barely knew them and have a bit of social anxiety towards talking with people. But surprisingly to me, they ended up being my best friends. I've never met any girls nicer than them, and now we have a lot of laughs outside of school also.
But here is where to trouble comes in... There's a girl who is in their little group of people, and I'm afraid that she might be jealous of my relationships with the two girls at taekwon-do. She's always been a bit of a jealous girl, who is very self-conscious about herself and how people perceive her. So she decided she wanted to join also.
Fucking great.
She came once to try it out, and because of her, it wasn't as fun, and she was the centre of attention, so I hung out with other people at the dojo for that day.
Taekwon-do is a place where I feel accepted, and I feel like I'm part of a family. It dramatically helped my mental health, but now that she has decided to join in on this, it has given me anxiety attacks to the point where I don't even want to go. She is one of those girls that do everything for attention, and I know this is just part of her scheme.
So Reddit, I'm asking for help here... How do I keep my bonds with the two girls at taekwon-do, and not let the "drama-llama" feed off of my anxiety?
TL;DR- go to taekwon-do with new friends, jealous girl joined to try to break my bonds. Help. | 0non-cybersec
| Reddit |
What is German efficiency. | 0non-cybersec
| Reddit |
Why doesn't find work recursively with a wildcard over SSH?. <p>I'm connected to a CentOS server through SSH from macOS. When I try to <code>find</code> with a wildcard at the beginning, it seems to only search the current directly, no recursion. But if I put the wildcard at the end of the filename, it works. I don't have this problem on the local Mac.</p>
<pre><code># find . -name *.inc
./copra_xml_gen.settings.inc
#
# find . -name auth.inc
./common_v4/auth.inc
./v5_old/common/auth.inc
./common/auth.inc
./v6/common/auth.inc
./v5/common/auth.inc
#
# find . -name auth*
./common_v4/auth.inc
./v5_old/common/auth.inc
./common/auth.inc
./v6/common/auth.inc
./v5/common/auth.inc
</code></pre>
| 0non-cybersec
| Stackexchange |
Mouse acceleration 13.04. <p>A new release of Ubuntu brought a new mouse settings window.
However, it only lists a sensitivity setting, no acceleration.
Where is the setting for acceleration?
How do I disable it?</p>
<p>If I disable acceleration using xinput (e.g. xinput --set-prop 15 270 1, which sets the acceleration multiplier to 1) it returns if I disconnect and reconnect my mouse, and also if I reboot. Any way around this?</p>
| 0non-cybersec
| Stackexchange |
$n$-sheeted branched covering. <p>Michael Artin's algebra</p>
<p>let $f(x,y)$ be an irreducible polynomial in $\mathbb{C}[x,y]$ which has degree $ n>0$ in the variable $y$. The Riemann surface of $f(x,y)$ is an $n$-sheeted branched covering of the plane.</p>
<p>The description in the text book for the $n$-sheeted branch covering is too complex for me to understand. can someone explain this Corollary in not that abstract way to me , and give me some hints in terms of understanding these concepts ?</p>
| 0non-cybersec
| Stackexchange |
Poor goose. | 0non-cybersec
| Reddit |
What was the last situation where you were like "Nope!!" Or "Never again!!". | 0non-cybersec
| Reddit |
I build furniture with wood from recycled pallets. Do you know of any health risk related to their chemical treatments? Thanks. | 0non-cybersec
| Reddit |
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application.
I need to scale my app adding some spot instances that EB do not support.</p>
<p>So I create a second autoscaling from a launch configuration with spot instances.
The autoscaling use the same load balancer created by beanstalk.</p>
<p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p>
<p>This work fine, but:</p>
<ol>
<li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p>
</li>
<li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p>
</li>
</ol>
<p><strong>UPDATE</strong></p>
<p>Elastic Beanstalk add support to spot instance since 2019... see:
<a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
| 0non-cybersec
| Stackexchange |
Pope says Church should ask forgiveness from gays for past treatment. | 0non-cybersec
| Reddit |
The root filesystem on /dev/sda5 requires a manual fsck. <p>It's showing this every time.</p>
<pre class="lang-none prettyprint-override"><code>(i.e., without -a or -p options)
fsck exited with status code 4
The root filesystem on /dev/sda5 requires a manual fsck.
</code></pre>
<p><a href="https://i.stack.imgur.com/s4FQr.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/s4FQr.jpg" alt="enter image description here" /></a></p>
| 0non-cybersec
| Stackexchange |
Android EditText keyboard not shown in Fragment. <p>I added <code>EditText</code> in <code>Fragment</code>, but my <code>EditText</code> is not showing keyboard even if I click on <code>EditText</code>.</p>
<p>Here is my code</p>
<pre><code><?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/white">
<EditText
android:id="@+id/setting_nickname"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ems="8"
android:gravity="right"
android:hint="Samantha"
android:textColorHint="@color/nav_selected"
android:textSize="14dp"
android:textColor="@color/nav_selected"
android:layout_centerVertical="true"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true" >
</EditText>
<EditText
android:id="@+id/setting_country"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ems="8"
android:gravity="right"
android:hint="Samantha"
android:textColorHint="@color/nav_selected"
android:textSize="14dp"
android:textColor="@color/nav_selected"
android:layout_centerVertical="true"
android:layout_alignParentRight="true"
android:layout_alignParentEnd="true" >
</EditText>
</LinearLayout>
</code></pre>
<hr>
<p>I try to get listener of <code>EditText</code></p>
<pre><code>final InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);
edit_nickname.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
imm.showSoftInput(edit_nickname, 0);
//edit_nickname.requestFocus(); --> fail
//imm.showSoftInput(edit_nickname, InputMethodManager.SHOW_IMPLICIT); --> fail
//imm.showSoftInput(edit_nickname, InputMethodManager.SHOW_FORCED); --> fail
}
});
</code></pre>
<p>And this code is fail to...</p>
<pre><code>final InputMethodManager imm = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE);
imm.toggleSoftInput(InputMethodManager.SHOW_FORCED, InputMethodManager.HIDE_IMPLICIT_ONLY);
</code></pre>
<p>Also, I try to add <code>LinearLayout</code> to have <code>focusableInTouchMode</code> and <code>focusable</code>, but failed.</p>
<pre><code><LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_marginTop="10dp"
android:padding="10dp"
android:background="@color/black_transparent"
android:focusableInTouchMode="true"
android:focusable="true">
<EditText .../>
<EditText .../>
</LinearLayout>
</code></pre>
<hr>
<p>If I use <code><requestFocus /></code> than keyboard is shown up but It applies to only one of <code>EditText</code>. How can I do? And why not the keyboard is shown?</p>
| 0non-cybersec
| Stackexchange |
Jokic insane pass vs. Warriors. | 0non-cybersec
| Reddit |
We all know which flair is superior. | 0non-cybersec
| Reddit |
'ignored' error when mounting fstab entries. <p>I'm trying to diagnose why I can't get fstab to mount a path on a remote machine. I can mount, umount and use it perfectly using the following command in bash:</p>
<pre><code>sudo mount -t nfs -o nfsvers=3 192.168.1.100:/media/alex/2TB/stuff nfs -o nolock
</code></pre>
<p>so I'm happy it's configured properly on the server and client. But using:</p>
<pre><code>sudo mount -av
</code></pre>
<p>tells me that the mount from fstab is ignored. I've searched a lot of sites and tried all sorts of fstab options but none of them work. I'm not finding anything online/in man mount which explains why it's ignored. I'm not seeing any useful error messages in any log files.</p>
<p>Some details: the server is up and running when I try the mount. Actually booting the client fails. The server is a desktop running Ubuntu 16.04 LTS and the client is a Raspberry Pi 3 running Raspbian and is fully up to date. I actually got the fstab entry working on a previous OSMC install and I'm kicking myself for not taking a note of it. I don't remember it being very different from anything I've tried since. </p>
| 0non-cybersec
| Stackexchange |
How to make Top Panel and Dock completely transparent? (Ubuntu 18.04). <p>I want to make the GNOME <strong>top panel</strong> and <strong>dock</strong> completely transparent so that desktop wallpaper is completely visible.</p>
<p>I already created my own theme and added the following css rules. My top panel turned transparent but there is <strong>still</strong> some kind of <strong>gradient</strong> from the bottom. In addition I cant get to work the dock transparency. Instead of transparent it gets black. </p>
<pre><code>@import url("/usr/share/gnome-shell/theme/ubuntu.css");
#panel {
background-color: rgba(0,0,0,0);
}
#dash {
background-color: rgba(0,0,0,0);
}
#dash .placeholder {
background-image: none;
}
</code></pre>
<p><a href="https://i.stack.imgur.com/uzhST.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/uzhST.png" alt="enter image description here"></a></p>
| 0non-cybersec
| Stackexchange |
Halo Region Communication in Unstructured Mesh Problems. <p>I'm currently using ParMETIS and it is required to determine the halo region of the local elements in a parallel unstructured mesh. Assume that the mesh is large and cannot be stored on a single processor.</p>
<p>My approach is to gather the global list of elements and their processor location in each processor. Then the neighbors of the local elements which do not belong to the current processor are identified and are then communicated. </p>
<p>There is redundant communication being performed as some of the non-local elements are clearly not neighbors to any of the local elements and are hence not going to be in the halo region, but their location is requested.</p>
<p>What is the most efficient procedure to communicate halo information in unstructured mesh calculations? (assuming communication paradigm is MPI and calls from ParMETIS are available for obtaining dual graphs, global adjacency and so on)</p>
| 0non-cybersec
| Stackexchange |
Ridley Scott's Forever War Adaptation Lands Writer. | 0non-cybersec
| Reddit |
Philosophical insights into responsible communication of ideas. (I posted this on r/AskPhilosophy a while ago and didn't get much of a response other than a discussion on memetics and a suggestion to check out Virtue Epistemology, so I figured I would repost it here and see if anyone has anything else to suggest.)
I'm interested in epistemology to the extent that it deals with the uncertainty underlying all of our beliefs and claims to "knowledge," but I'm also seeking practical guidance: not only regarding criterion for justifying my own beliefs, but criterion for sharing those beliefs with others.
My concern is the ethics of spreading ideas, memetic units whose validity / normativity is never certain. As far as I can tell, a robust ethics of memetic transmission would require at least two things:
1) Measuring the certainty of your belief in the idea. If your certainty falls below a threshold, your relative certainty should be expressed along with the idea. Failure to do so propagates a sense of complete certainty that establishes you as a potential cognitive authority, providing others with a false sense of certainty in your ideas. This phenomenon of certainty signal decay has been observed in [at least one study](http://www.marketingpower.com/AboutAMA/Documents/JMR_Forthcoming/from_rumors_to_facts.pdf).
2) Making sure to present your view with as much nuance as is reasonably possible, including potential problems with your ideas and how you address them.
This is sort of common sense, but I believe that irresponsible propagation of ideas leads to a game of epistemic telephone where people adopt strong beliefs in ideas where no such belief is justified, and this process is often accidental (i.e. not purposefully malicious). In other words, if we consider misinformation to be a memetic / epistemic virus, how do we take steps to prevent ourselves from becoming vectors?
Have any writers tackled this subject? I would love to find a book on this.
---
**Edit:** Found an interesting paper on Epistemic Vigilance:
http://www.migration-population.ch/files/content/sites/cognition/files/shared/documents/epistemic_vigilance.pdf
More descriptive than prescriptive, but feels somewhat relevant. | 0non-cybersec
| Reddit |
Popularity of the different subfields of biology?. I'm looking for data on the distribution of students/biologists in the different subfields of biology. My google-fu is not giving me anything. When I was an undergrad there was no clear distinction and students simply emphasized certain subfields through choice of electives but I assume data on graduate degrees might be clearer? Any ideas? | 0non-cybersec
| Reddit |
How to reduce number of inputs in bitcoin transaction?. <p>We have a bitcoin node running on a server which we use to generate addresses to receive small payments from the users. We receive tons of small payments daily right now and then we are using the same bitcoin wallet to send payouts to our users using the sendmany rpc call.</p>
<p>This results in lots of inputs to cover the amount in outputs. Each new input increases the size of transaction by around 150 bytes and so we are loosing too much in fee.</p>
<p>Is there any way to reduce the number of inputs?</p>
<p>Suggestions would be really appreciated.</p>
<p>Thank you.</p>
| 0non-cybersec
| Stackexchange |
Windows 10 connection to Microsoft account is very borked. How to fix or remove it?. <p>I sign in to Win 10 with the Microsoft account <em>[me]@outlook.com</em>. It logs in, but many things don't work right. I've tried every remedy I can find online (except nuking the user and starting over), with no luck.</p>
<p>I'd like to end up with a fully functional, MS-sign-in user account, without losing all my data, settings, etc. from the existing user.</p>
<h2>Symptoms</h2>
<ul>
<li>It doesn't show my real name on the login screen or in Settings, just my account email, as in
<a href="https://superuser.com/questions/1205793/windows-10-changes-microsoft-account-actual-name-to-email">this question</a>
and
<a href="https://www.google.com/search?q=windows+10+login+screen+shows+email+twice" rel="nofollow noreferrer">all of these people</a>.</li>
<li>In <em>Settings > Accounts > Sync your settings</em>, the main toggle is off and grayed out, and a yellow error reads: <em>Some Windows features are only available if you are using a Microsoft account or work account.</em><br>
Note that I am (apparently) using a Microsoft account. I am not on AD or Azure, as <a href="https://www.google.com/search?q="Some+Windows+features+are+only+available+if+you+are+using+a+Microsoft+account+or+work+account."&oq="Some+Windows+features+are+only+available+if+you+are+using+a+Microsoft+account+or+work+account."" rel="nofollow noreferrer">most of these folks</a> are.</li>
<li>In <em>Settings > Accounts > Sign-in options</em>, clicking <em>Password > Change</em> brings up a dialog box which promptly disappears.<br>
Clicking <em>PIN > Add</em> does nothing at all.</li>
<li>Using the <em>microsoftaccounts.diagcab</em> troubleshooter from <a href="https://social.technet.microsoft.com/wiki/contents/articles/13976.how-to-troubleshoot-microsoft-account-issues.aspx" rel="nofollow noreferrer">here</a> ends with <em>Microsoft account required. You need a Microsoft account to sync your settings.</em><br>
That leads me to think that Windows in some sense hasn't registered my MS account.</li>
<li>When I try <em>Settings > Accounts > Your info > Sign in with a local account instead</em>, I can go through the little wizard, but it ends with <em>We're sorry, but something went wrong. Your Microsoft account wasn't changed to a local account. Code: 0x80004005</em><br>
This is the real kicker, because un-linking the MS account seems to be a fix for all these other symptoms.</li>
</ul>
<h2>Stuff I've tried</h2>
<ul>
<li>Setting my user's <em>Full name</em> in <code>lusrmgr.msc</code>. It affected the name display on the login screen temporarily, but then it blanked out, and the display went back to the account email.</li>
<li>Removing the <em>[me]@outlook.com</em> credentials from Credential Manager.</li>
<li>Deleting all the <em>[me]@outlook.com</em> registry keys. (There were no other accounts in neighboring keys.)</li>
<li>Changing the MS account password.</li>
<li>Clean boot and safe mode.</li>
<li>Creating a new local user and signing in with <em>[me]@outlook.com</em>. It stopped me, saying that account already existed on this computer.</li>
<li>Signing in and out of other MS-linked things like Cortana, One Drive, and Store.</li>
<li>Signing in and out and rebooting, x1000.</li>
<li><code>sfc</code> and <code>dism</code></li>
<li>Windows update</li>
<li>Removing the device at <a href="https://account.microsoft.com/devices" rel="nofollow noreferrer">https://account.microsoft.com/devices</a><br>
It hasn't come back, though I've logged in with the account. That also suggests to me that Windows is somehow not really connecting with the account.</li>
<li>Everything else in every google result for every variation of every symptom.</li>
<li>Banging my head on the desk.</li>
</ul>
<h2>Details</h2>
<ul>
<li>I'm on Windows 10 Enterprise, v. 1709, build 16299.192.</li>
<li>I have local admin and total control over the PC.</li>
<li>My network connectivity is fine. I can log into the MS account on websites just fine.</li>
<li>The computer used to be on an AD domain, and I logged in with a domain user. I've since left the domain (on a workgroup now, and a new user) and refreshed the PC.</li>
<li>As far as I'm aware, <em>[me]@outlook.com</em> has always been the primary account email. There is no other alias to switch back to, as some people suggest.</li>
</ul>
| 0non-cybersec
| Stackexchange |
Integer as sum of 6 squares.. <p>Can every integer be written as sum of exactly 6 squares?</p>
<p>I am also curious to know when an integer can be written as sum of exactly 8 squares.</p>
<p>I know the problem is related to Waring-Hilbert Theorem, but I couldnn't find anything specific. </p>
<p>If it is not possible for every integer then what type of integers can be written as sum of 6 (and 8) squares?</p>
<p>Edit: It appearss to me that I have to be more 'specific'. All squares are non-zero. And by every integer, I mean, integers after a large number, so that 1, 2, 3 ... does not become counterexample!</p>
| 0non-cybersec
| Stackexchange |
Why Goldman Sachs Went From Investing For The Rich To Targeting Everyone (2019). | 0non-cybersec
| Reddit |
Two-server queue with exponential rates. <p>having a bit of trouble with the following question:</p>
<p>Consider a two-server queue with Exponential arrival rate $\lambda$. Suppose servers 1 and
2 have exponential rates $\mu_{1}$ and $\mu_{2}$, with $\mu_{1}$ > $\mu_{2}$. If server 1 becomes idle, then the
customer being served by server 2 switches to server 1.</p>
<p>a) Identify a condition on $\lambda, \mu_{1}, \mu_{2}$ for this system to be stable, i.e. queue not infinitely long</p>
<p>b) Using that condition, find long-run proportion of time that server 2 is busy</p>
<p>What I have so far is for a system to be stable it must have p $\le$ 1. How this ties into the second part I'm not sure about. Any help appreciated, thanks!</p>
| 0non-cybersec
| Stackexchange |
What is a good book on topological groups?. <p>I am looking for a good book on Topological Groups. I have read Pontryagin myself, and I looked some other in the library but they all seem to go in length into some esoteric topics.</p>
<p>I would love something 250 pages or so long, with good exercises, accessible to a 1st PhD student with background in Algebra, i.e. with an introduction covering necessary background in Functional Analysis.</p>
<p>If possible, I would also like it covering particularly important (in my view) topics:</p>
<ul>
<li>emphasize on locally compact groups, but both locally Euclidean and totally disconnected cases;</li>
<li><a href="https://en.wikipedia.org/wiki/Pontryagin_duality" rel="noreferrer">Pontryagin duality</a>;</li>
<li><a href="https://en.wikipedia.org/wiki/Kazhdan%27s_property_(T)" rel="noreferrer">Kazhdan property T</a>;</li>
<li><a href="https://en.wikipedia.org/wiki/Tannaka%E2%80%93Krein_duality#Theorems_of_Tannaka_and_Krein" rel="noreferrer">Tannaka reconstruction</a>.</li>
</ul>
| 0non-cybersec
| Stackexchange |
Meta descriptions for manual. <p>We have a text heavy, high quality and original content online manual for our software:</p>
<p><a href="http://www.scirra.com/manual/1/construct-2">http://www.scirra.com/manual/1/construct-2</a></p>
<p>I was about to embark on entering meta descriptions for these pages. However the thought crossed my mind, is it necessary for these pages?</p>
<p>Google seems to be quite good at picking relevant snippets out, and I wouldn't want to convolute the process of searching and discovering these pages with meta tags that will be sub par to the snippet Google would have otherwise served.</p>
<p>Is purposefully not entering a meta description on these pages a good idea? Or am I being an idiot? They just don't seem necessary for these pages, and also they would be difficult to write for.</p>
| 0non-cybersec
| Stackexchange |
Nginx proxy response time is very slow. <p>Recently we added nginx in front of varnish for ssl offloading. We were about to rewrite all our http requests to https. But then we found out that there was a significant increase in response time even for the http calls when it is served by nginx. Whereas the same request served by varnish without nginx the response time was lot faster. </p>
<p>I tweaked proxy buffers (2048 4k) so the response is not stored in a file and also turned off proxy buffering. But both approach didn't help. So I cloned the nginx server (virtual machine) and issued same request against the cloned one. The response time was on par with varnish.</p>
<p>So it seems that when there's load on nginx (about 700 requests/sec) then the response time seems to increase.</p>
<p>Can someone tell me am I missing something that's obvious?</p>
<p>Here's my nginx config</p>
<pre><code>#nginx.conf
worker_processes auto;
worker_rlimit_nofile 90000;
pid /var/run/nginx.pid;
error_log /var/log/nginx/error.log error;
events {
worker_connections 40000;
multi_accept on;
use epoll;
}
http {
##
# Basic Settings
##
sendfile on;
tcp_nopush on;
tcp_nodelay on;
keepalive_timeout 65;
types_hash_max_size 2048;
client_max_body_size 20M;
client_body_buffer_size 128k;
server_tokens off;
keepalive_requests 1000;
reset_timedout_connection on;
include /etc/nginx/mime.types;
default_type application/octet-stream;
##
# SSL common settings
##
include /etc/nginx/include.d/ssl-common;
##
# Logging Settings
##
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
log_format detailed '$remote_addr - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent "$http_referer" '
'"$http_user_agent" $request_length $request_time '
'$upstream_response_length $upstream_response_time '
'$upstream_status';
log_format upstreamlog '[$time_local] $remote_addr - $remote_user - $server_name to: $upstream_addr: $status / upstream $upstream_status $request upstream_response_time $upstream_response_time msec $msec request_time $request_time body: $request_body';
log_format timed_combined '$remote_addr - $remote_user [$time_local] '
'"$request" $status $body_bytes_sent '
'$upstream_connect_time $upstream_header_time '
'$request_time $upstream_response_time $pipe';
access_log off;
##
# Gzip Settings
##
gzip on;
gzip_disable "msie6";
#Proxy config
proxy_buffering on;
proxy_buffers 56 4k;
proxy_busy_buffers_size 8k;
proxy_set_header Host $host;
proxy_http_version 1.1;
proxy_set_header Connection "";
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
##
# Virtual Host Configs
##
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}
#For a specific request I've increased the proxy buffer size
proxy_buffers 2048 4k;
proxy_buffer_size 4k;
proxy_busy_buffers_size 8k;
#Upstream setting
keepalive 2000;
</code></pre>
<p>I've even optimized tcp settings in sysctl.config and that doesn't help either. Here's my sysctl.config</p>
<pre><code>#sysctl.config
fs.file-max = 100000
net.ipv4.ip_local_port_range = 1024 65000
net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_tw_recycle = 0
net.ipv4.tcp_slow_start_after_idle = 0
net.ipv4.tcp_fin_timeout = 15
net.ipv4.tcp_max_tw_buckets = 400000
net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_syn_retries = 2
net.ipv4.tcp_synack_retries = 2
net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216
net.ipv4.tcp_max_syn_backlog = 65536
net.core.somaxconn = 16384
net.core.netdev_max_backlog = 16384
net.core.rmem_max = 16777216
net.core.wmem_max = 16777216
vm.min_free_kbytes = 65536
</code></pre>
<p><a href="https://i.stack.imgur.com/5NLZ4.png" rel="nofollow noreferrer">Here's the graph for Disk IO.</a>
Note: Tcp connection stats I added them only recently, so there's not much information.</p>
<p><a href="https://i.stack.imgur.com/Dlnhn.png" rel="nofollow noreferrer">Nginx_status - graph showing requests and connections</a></p>
| 0non-cybersec
| Stackexchange |
Do I need to run "make clean" before ./configure when reconfiguring?. <p>Suppose I've ran <code>./configure</code> and <code>make</code>, but now I want to change a parameter in the configure script. Do I need to run <code>make clean</code> before <code>./configure</code>, or will everything be OK even if I don't?</p>
| 0non-cybersec
| Stackexchange |
Get ./configure line from Debian Package. <p>I want to build the source of a package on myself (new version, some additions) but I want to use the <code>./configure</code> options from the original package as a starting point. I can't find anything in the source package, so where can I see the actual options used to compile a binary Debian package?</p>
<p>The Name of the package is <code>php5-cgi</code>.</p>
| 0non-cybersec
| Stackexchange |
Please advice how to get rid of unmet dependency issue. <p>I faced the problem of installing the software. It was stated something about unmet depedencies with the bitdefender-scanner:i386 package (its antivirus that I was trying to install the day before but something went wrong and it wasn't installed at all)
And now I'm getting errors while instalation of other software.</p>
<p>Here is what I get in the terminal when im trying to delete this damn package:</p>
<pre><code>sudo apt-get -f install
[sudo] password for beast:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
bitdefender-scanner:i386
0 upgraded, 0 newly installed, 1 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 141 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 251963 files and directories currently installed.)
Removing bitdefender-scanner (7.7.1-1809) ...
find: `/opt/BitDefender-scanner/share/locale': No such file or directory
dpkg: error processing package bitdefender-scanner (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
bitdefender-scanner
E: Sub-process /usr/bin/dpkg returned an error code (1)
</code></pre>
<p>I've tried all from this post: <a href="https://askubuntu.com/questions/140246/how-do-i-resolve-unmet-dependencies-after-adding-a-ppa">link</a> but it didn't help. I still cannot install software due to this problem.
My OS: 14.04lts,x64</p>
<p>Please assist and advise how to prevent it in future. Thank you:)</p>
| 0non-cybersec
| Stackexchange |
Doggo wanna play. | 0non-cybersec
| Reddit |
He thinks he's a Jaguar.. | 0non-cybersec
| Reddit |
How do I throttle mining in Phoenix 2.0 to keep my cards cooler?. <p>I need my rig to run slower (silent during the day) and full speed at night. i've figured out a way to replace the config file every x hours but I can't see what settings will actually slow it down.</p>
<p>when it runs full speed the fans are extremely loud @ 80-95degrees. if i can get it to run about 70degress just more than 1/2 speed that would be perfect. I have two ATI cards.</p>
<p>What is the best way to throttle phoenix 2.0?</p>
| 0non-cybersec
| Stackexchange |
Console peasant dispute. Thankfully all PC Gamers are affluent.. | 0non-cybersec
| Reddit |
Streamming a h.264 coded video over UDP. <p>I don't know too much about h.264, but the thing is that I've got this video in h.264 in a mp4 container which I would like to stream over UDP.</p>
<p>My question is simple, is there any tweaks I can maybe do while coding the video so that it comes out fairly tolerant to some "light" packet loss?</p>
<p>I know that compressed video usually has a keyframe every N frames and then in between those it just sends the deltas. I can imagine h.264 should is a lot more complex than that, and so the it might not be just so simple.</p>
<p>To be more precise, I've been making some experiments and realized that just by removing 1024 bytes out of a stream of video, I render it completely "unplayable" from the point of the loss and on.</p>
<p>What I would like is for it to tolerate light losses like that, is it possible?</p>
<p>Thanks</p>
<p>Nelson</p>
| 0non-cybersec
| Stackexchange |
Very few will figure this out. | 0non-cybersec
| Reddit |
Is there a way to remove elements up to a certain element in a Python string?. <p>This might be a strange question but let me elaborate. I have a list of domains I need to go through and get their parent domain. Ex: from configuration.apple.com and help.apple.com I want to just keep apple.com. Is there a way to do this with regex? I have hundreds of domains to manipulate so this would make life infinitely easier. </p>
<p>I can't use a static index because of the varied nature of the subdomains. Any suggestions/help is appreciated. The logic I'm trying to use is basically to iterate through each string and when the first '.' is found, delete all previous characters and the '.' but I don't know how to make that work. Thanks in advance. </p>
| 0non-cybersec
| Stackexchange |
Every action performed and tells by sound. <p>Whenever I press a key, I hear it through my speakers, so when I press <kbd>A</kbd> I hear A, and when I press <kbd>B</kbd> I hear B and so on. When I hover on any application it tells me which application it is. Every action it tells by sound.</p>
<p>Can any one please tell me how to prevent this from happening?</p>
| 0non-cybersec
| Stackexchange |
*No Signal* and reduced power on custom built PC?. <p>I just built my new PC and a few things have not been working. Here's the components and what I did...</p>
<p>Issues:</p>
<ul>
<li>[SOLVED] PC turning on/off every 10 seconds. Solved by changing the voltage on the PSU.</li>
<li>[] <em>No Signal</em> to monitor 3k HDMI/Display Port and 1600x900 VGA.</li>
<li>[] Seems like maybe there is low power coming off the motherboard into all of the ports. I plugged in a razer left-handed gaming mouse with LEDs and it lit up, however my razer MMO gaming keyboard--using 2 USB cables for power/LED--would not light up. I also tried plugging in a WD Elements 2TB and it detected power.</li>
</ul>
<p>Components:</p>
<ul>
<li>EVGA GTX 970</li>
<li>240mm H100iV2 Hydro Series Corsair Cooler.</li>
<li>Intel i7 6700k</li>
<li>MSI Z170MX - Gaming 5</li>
<li>Kingston 240GB SSD
<ul>
<li>The SSD has a pre-installed OS and firmware update pulled from another PC.</li>
</ul></li>
<li>WD Red 4TB HDD</li>
<li>Intel 500GB HDD</li>
<li>Sentry 725W XPlus Power</li>
<li>2x Corsair Jetflow 120mm Fans</li>
<li>x1 Corsair 140mm Fan</li>
</ul>
<p>Picture:</p>
<p><a href="https://i.stack.imgur.com/xn4fO.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xn4fO.jpg" alt="enter image description here"></a></p>
<p>EDIT: I do <em>NOT</em> have a motherboard speaker for posting.</p>
| 0non-cybersec
| Stackexchange |
Norman Powell puts Anthony Davis on a poster with a vicious slam. | 0non-cybersec
| Reddit |
Converting Firewire to USB 3 - is it theoretically possible?. <p>I am in the process of buying a new laptop for video capture / editing, and it's proving difficult to find one at a decent price / spec that includes Expresscard for Firewire connectivity (which I really need). It does seem like Expresscard is on the way out based on what I've seen recently.</p>
<p>Since the assumption seems to be that USB 3.0 is the heir apparent to Expresscard I was wondering what people's thoughts were on whether it should be possible to convert a Firewire input to USB 3.0. There don't seem to be any devices around at the moment that do this but is this because USB 3.0 is still in its infancy or because it's not practical / possible?</p>
| 0non-cybersec
| Stackexchange |
[MRW] someone asks what I’m doing Saturday night... and then asks if I would rather go bar hopping. | 0non-cybersec
| Reddit |
I [29/M] came up to see my GF [22/F] for a 10 day visit in her summer house. She's been passive aggressive and negative towards my travel ideas all week and I just now told her I didn't want to do anything today and cancelled today's plans.. We have been dating for 3 months now. It's long distance.
She came and saw me for a weekend last month and it went well. I came up to visit her for a 10 day trip through New England today. We are staying at a family summer house for free. It was going to be a great time.
She had many places she wanted to visit, I had my own list.
Slowly over time she has made me cancel most of my ideas for various reasons (Too hot to do that, too expensive, etc.)
I am gainfully employed and the cost isn't going to bother me, but she is a broke student so she fears every dollar spent.
On our way up to the house, with a smile I cancelled the first thing I wanted to see because she didn't really care to see it... Then the second... Then I dragged myself through the third thing I wanted to see because she was being passive aggressive and complaining throughout the tour, which ruined the mood.
The next few days we went and saw the free natural wonders she wanted to see, and she was okay, but even then she got "Too hot" in the car to want to do much of the things I wanted to do, until finally she got hot to the point I cancelled the rest of the day and drove her back home out of concern for her health.
The next day we cancelled our plans and stayed in to watch Game Of Thrones all day. I wasn't excited about it because I don't like the show, I love the books and the show just gets all the notes wrong. She was exuberant when I relented and said we could watch the season instead of the movies I picked out for us to watch. She said she was happy to discuss the show with someone finally. She doesn't have any friends to discuss the show with, I guess.
It was going okay until I mentioned I didn't like the writing for the show so far. She threw a blanket over her head and didn't talk for 15 minutes. I asked if she was okay, but all I got was the silent treatment and a few muttered "I'm fine"'s. So much for us discussing the episodes? She went to bed quietly and said I didn't need to go to bed immediately, which I took for I should sleep on the couch... I went to bed with her anyway, and it was definitely more distant and cold than the other nights.
Today was the big day. We were supposed to drive into Maine to see Stephen King's house, then drive down to Portland and see the ocean, walk along the coast, eat clam chowder and go see the Mystery Science Theater 3000 reunion show, which I already paid for. She was happy as we discussed the plans two weeks ago. This was one of my *my days*. I planned it all out.
Then last night she realized the trip was 3 hours long.
This morning she kept saying "Oh I didn't know it'd be a three hour trip... I don't think my car will do that." Silently, I recalled it took three hours to get from where my plane landed to the house we're staying at... The 2 hour drive we took on the scenic highway she loves... All the driving we did and she never complained about the car.
Then she said I could just go without her, because she could feel I was disappointed in her, and she said she felt she will be a burden. I told her that was ridiculous. I'm just trying to make sure she's okay. I asked her if we should just skip the Stephen King house and go straight to lower Maine. She said no, she cancelled too many things... But I knew she still didn't want to go.
She sensed I was displeased and said "See, I'm a miserable person. Looks aren't everything." That hurt me because she was implying I am only with her for her looks. I told her I wasn't shallow, but she wasn't in the room anymore.
I decided I would just remove the car portion of the problem, and told her fine, I will rent a car. She said "No, you can't rent a car, it's too expensive and we'd have to take it back. Let's just go and we can use my car."
Then she said "We're just different people. I wouldn't drive to go see the Pope's house, or JK Rowling(her favorite author)'s house."
I stopped myself and looked down at the kitchen counter and decided I didn't want to go anymore. I told her calmly I didn't feel like going anymore, came over here and started typing this thread out. She went silently up to the bedroom and shut the door.
I don't want to go anymore. I'd rather just sit here in the house and do nothing because that seems to be the only way to avoid her complaining and souring the mood.
Whenever it's my idea, or something I am passionate about, she poisons it with negativity or reluctance. She can't be excited for me, or sacrifice her worries.
What do I do? I almost feel like I don't want to see her after this trip... This is a bad place to be in.
Tl;Dr: Girlfriend is negative and poisons mood when I have something I want to do... She is fine when it's something she wants to do. It's gotten to the point I don't want to do anything and cancelled the big day trip I had planned to stay inside instead. I feel like I might break up with her when I get home because I keep wishing I was with someone who was excited about life instead of fearful and negative. | 0non-cybersec
| Reddit |
What's your greatest WoW moment that went unrewarded? Here's one I just had.. | 0non-cybersec
| Reddit |
linux - is there a more advanced version of top?. <p>Is there any type of super-top command that will show the results through time? With regular top, it will tell me for an instant what processes are using what, but is there anything that will show data for now, 1 minute ago, 2 minute ago etc? </p>
| 0non-cybersec
| Stackexchange |
TIL why sex is painful for me, and it's not vaginismus.. I've posted on here previously about this, but deleted the comments since I decided that I didn't want my main reddit account (which can be linked to my RL if you look hard enough) linked to stuff about my sexual history, hence the throwaway.
I've had mysterious pain with sex every since I lost my virginity, so I haven't really had much of any actual intercourse. I've tried now and again (for science!), but still the same result: unbearable pain on entry.
Every GYN I've talked to had NO idea what was wrong. They said everything looked normal down there and that I should just try using more lube. Right, because I don't fricking lather me and my partner in lube... I knew it wasn't vaginismus, because I've never had trouble with gyno exams, and my partner never feels me clamping down or anything. HE doesn't have any problems, but I experience a lot of pain.
I finally got referred to a specialist, and wow! I finally have answers! He also had a cool camera that connected to a screen, so I could see my own lady bits in high-definition. (Very strange experience tbh!) I wanted to share with 2XC since this condition is not very well known.
I have excess lactobacillus bacteria in my vagina, which produce a lot of hydrogen peroxide, which is irritating and killing cells and causing polyps. I also have a hypersensitive nerve down there. He prescribed me an antibiotic cream for the bacteria and another thing to reduce the hypersensitivity of those nerves.
I am now very hopeful that some day, I will be able to have sex normally. :)
Edit: Update here - http://www.reddit.com/r/TwoXChromosomes/comments/bxc09/followup_on_til_why_sex_is_painful_for_me_and_its/ | 0non-cybersec
| Reddit |
Expansion of the word UNIX?. <p>Is UNIX an acronym? What does it stand for?</p>
| 0non-cybersec
| Stackexchange |
How to convert Markdown to PDF (with word wrapping). <p>Using <a href="http://en.wikipedia.org/wiki/pandoc" rel="nofollow noreferrer">pandoc</a> like:</p>
<pre><code>pandoc -o output.pdf input.md
</code></pre>
<p>does not give me a result with word-wrapping.</p>
<p>For instance, three liner input.md looks like the following:</p>
<pre><code># Introduction
Lorem ipsum dolor sit amet, scelerisque natoque, in etiam erat nibh lacus, porta quam penatibus, at metus, purus leo est. Sed faucibus odio in amet, in sapien ut sapien eu, vehicula pede vel pellentesque, ut hac lacinia mauris ridiculus rhoncus ligula. Sit congue, ac montes, lorem ligula etiam ac fusce ipsum, lacus dolor in suscipit aliquet vitae. Blandit neque aliquam, amet vel, ante nullam neque. Adipiscing nullam, neque elit, nunc non mauris libero vivamus tortor.
</code></pre>
<p>running the above command yields a pdf document with some content as the following:</p>
<pre><code>Introduction
Lorem ipsum dolor sit amet, scelerisque natoque, in etiam erat nibh lacus,
</code></pre>
<p>Is there a fast way of converting a markdown(.md) file to pdf with word-wrapping (similar to the way done in <a href="http://www.markdownviewer.com/" rel="nofollow noreferrer">here</a>)? </p>
| 0non-cybersec
| Stackexchange |
Small teal cylinder. | 0non-cybersec
| Reddit |
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application.
I need to scale my app adding some spot instances that EB do not support.</p>
<p>So I create a second autoscaling from a launch configuration with spot instances.
The autoscaling use the same load balancer created by beanstalk.</p>
<p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p>
<p>This work fine, but:</p>
<ol>
<li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p>
</li>
<li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p>
</li>
</ol>
<p><strong>UPDATE</strong></p>
<p>Elastic Beanstalk add support to spot instance since 2019... see:
<a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
| 0non-cybersec
| Stackexchange |
How to use spot instance with amazon elastic beanstalk?. <p>I have one infra that use amazon elastic beanstalk to deploy my application.
I need to scale my app adding some spot instances that EB do not support.</p>
<p>So I create a second autoscaling from a launch configuration with spot instances.
The autoscaling use the same load balancer created by beanstalk.</p>
<p>To up instances with the last version of my app, I copy the user data from the original launch configuration (created with beanstalk) to the launch configuration with spot instances (created by me).</p>
<p>This work fine, but:</p>
<ol>
<li><p>how to update spot instances that have come up from the second autoscaling when the beanstalk update instances managed by him with a new version of the app?</p>
</li>
<li><p>is there another way so easy as, and elegant, to use spot instances and enjoy the benefits of beanstalk?</p>
</li>
</ol>
<p><strong>UPDATE</strong></p>
<p>Elastic Beanstalk add support to spot instance since 2019... see:
<a href="https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html" rel="nofollow noreferrer">https://docs.aws.amazon.com/elasticbeanstalk/latest/relnotes/release-2019-11-25-spot.html</a></p>
| 0non-cybersec
| Stackexchange |
Two different pictographs of the same animal species plus another – most portable way to achieve this?. <h3>Actual Question</h3>
<p>I want to represent something like the following in Unicode:</p>
<p><a href="https://i.stack.imgur.com/fsEvL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fsEvL.png" alt="example of the desired result"></a></p>
<p>More specifically, I am looking for a set of Unicode representations (character or character plus modifiers) comprising of:</p>
<ol>
<li>Any life form that is not a humanoid. I prefer animals, but plants, fungi, etc. are also okay.</li>
<li>A different representation of the same species. The distinction could be something like point of view, mood, or colour. I prefer the colours, ideally unrealistic ones, say a green and a pink elephant. Different sexes or ages of the same species (e.g., rooster, hen, and chick) do not work.</li>
<li>A different non-human life form that is otherwise comparable (point of view, etc.). Ideally it lives in the same habitat as the other one; so no mountain goats and deep-sea fish.</li>
</ol>
<p>The representations of each must be separate. For example, one character featuring two cats does not work for me. It should not be necessary to guess that the characters represent animals; so ∀ representing an ox doesn’t work.</p>
<p>Here is the catch: I am looking for the <strong>most portable</strong> solution, i.e., one that works on as many devices as possible. If you need something quantifiable, go by the Unicode version.</p>
<h3>What I found so far</h3>
<ul>
<li>I could use a smiling cat face, an pouting cat face, and some other animal face: 😸😾🐷 (U+1F638, U+1F63E, U+1F437). These are in Unicode since Version 6.0. and thus is not very portable: The cat faces look different than the pig face depending on where I view those characters. </li>
<li>I could use the black and white chess knight: ♞♘ (U+2658, U+265E). These are in Unicode since version 1.1 and hence very portable. However, I am lacking the third pictograph, since the other chess pieces are not non-human animals.</li>
</ul>
<h3>Why on earth do I want this?</h3>
<p>I am about to submit a manuscript on ecological modelling to an academic journal. This journal asks for a “tweetable abstract”, which is strongly character-limited. The requested symbols would allow me to illustrate the key scenario considered in my manuscript very concisely.</p>
| 0non-cybersec
| Stackexchange |
computer freezing randomly. <p>Hi I have a computer under windows 7 32 bit and I randomly encounter freezing :</p>
<p>the pointer does not move anymore, nothing happens and the light indicating that the RAM is being used
is off. I have to force rebooting. Can
the freezes be because of a virus, although avast free version does not find anything, malwarebyte anti malware find a few thing (bitool.DLL)</p>
<p>EDIT :</p>
<p>I checked my logs and I find just before the unexpected reboot a message indicating that the driver has detected an error on the controller <code>\Device\Harddisk2\DR2</code></p>
<p>EDIT 2:</p>
<p>CrystalDiskInfo doesn't display any error, everything is good according to it. And I have only a disk 0 and 1 no #2.</p>
| 0non-cybersec
| Stackexchange |
How do I make cloud-init startup scripts run every time my EC2 instance boots?. <p>I have an EC2 instance running an AMI based on the Amazon Linux AMI. Like all such AMIs, it supports the <a href="https://help.ubuntu.com/community/CloudInit" rel="noreferrer">cloud-init</a> system for running startup scripts based on the User Data passed into every instance. In this particular case, my User Data input happens to be an Include file that sources several other startup scripts:</p>
<pre><code>#include
http://s3.amazonaws.com/path/to/script/1
http://s3.amazonaws.com/path/to/script/2
</code></pre>
<p>The first time I boot my instance, the cloud-init startup script runs correctly. However, if I do a soft reboot of the instance (by running <code>sudo shutdown -r now</code>, for instance), the instance comes back up <em>without</em> running the startup script the second time around. If I go into the system logs, I can see:</p>
<pre><code>Running cloud-init user-scripts
user-scripts already ran once-per-instance
[ OK ]
</code></pre>
<p>This is not what I want -- I can see the utility of having startup scripts that only run once per instance lifetime, but in my case these should run every time the instance starts up, like normal startup scripts.</p>
<p>I realize that one possible solution is to manually have my scripts insert themselves into <code>rc.local</code> after running the first time. This seems burdensome, however, since the cloud-init and rc.d environments are subtly different and I would now have to debug scripts on first launch and all subsequent launches separately.</p>
<p>Does anyone know how I can tell cloud-init to always run my scripts? This certainly sounds like something the designers of cloud-init would have considered.</p>
| 0non-cybersec
| Stackexchange |
The origin of list data structure. <p>Does anyone know when the list data structure was mentioned in computer programming/algorithms? Who gave birth to this list concept?</p>
| 0non-cybersec
| Stackexchange |
In java using PDFBox, how to create visible digital signature with text. <p><a href="https://i.stack.imgur.com/bziU3.jpg" rel="nofollow noreferrer">Digital text with text and background image</a>I am trying to digitally sign pdf file using PDFBox in Java with visible text to appear on page similar to one that gets created when manually created in Acrobat. As shown in the image (one with only snap shot I am looking for and another with details of digital signature too), this example shows signing using image file. How to do that?</p>
<p><img src="https://i.stack.imgur.com/7roNi.jpg" alt="Digital signature with text on PDF"></p>
| 0non-cybersec
| Stackexchange |
FCC Falsely Claims Net Neutrality Took Away Your Freedom. | 0non-cybersec
| Reddit |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.