text stringlengths 3.84k 39k |
|---|
What native games are available?
This question exists because it has historical significance, but it is not considered a good, on-topic question for this site, so please do not use it as evidence that you can ask similar questions here. See the FAQ for more information.
What games are available that run natively on U... |
Belkin wireless 802.11g USB network adapter not working
Hello everyone I really am new to this Ubuntu thing. I am now running the latest Ubuntu and windows on the same PC. Wireless connections work fine on windows but connects and disconnects on Ubuntu.
I am on ADSL with wireless router (Belkin and Belkin wireless netw... |
Diferenças em gráfico no matplotlib para diferentes precisões de parâmetro
Para um trabalho de uma disciplina, eu construi o seguinte código em Python com uso dos pacotes Matplotlib e scikit-image:
#!/usr/bin/env python
# -*- coding: utf-8 -*-
import numpy as np
from scipy import interpolate
from mpl_toolkits.mplot3d ... |
Devo escrever meu programa em inglês ou português?
Quando estou escrevendo programas, normalmente eu escrevo os nomes de variáveis em inglês (por exemplo, fields, class_name, rec_number), por vários motivos:
Nomes em inglês não têm acentos, então não fica um negócio estranho como pontuacao
Os nomes normalmente são men... |
Quais as principais vantagens e desvantagens de se usar um parser LL ou um LR?
Estou construindo um parser para uma linguagem de programação. A gramática não precisa atender todas as complexidades de uma linguagem como C++ ou Lisp.
Tenho um conhecimento moderado sobre construção de linguagens mas pouca experiência com ... |
Quando devemos permitir que uma coluna de uma tabela de um banco de dados aceite NULL?
Esta é uma pergunta conceitual que sempre gera confusão na hora de decidir se uma coluna deve ou não aceitar NULL.
Há uma corrente que considera o uso do NULL um erro e que sempre deveria ser feito uma organização no banco de dados, ... |
Fragment ошибка
При попытке вставить фрагмент в FrameLayout (который находится в диалогом фрагменте), выскакивает ошибка. Вот код основного фрагмента:
public class AddWord_Fragment extends DialogFragment {
MainActivity mainActivity;
private static int form = 0;
@Override
public void onCreate(Bundle savedInstanceSt... |
Не изменяется высота FrameLayout при замене фрагментов
Как, после вставки маленького фрагмента, после большого, FrameLayout возвращался до размеров маленького? Я пытался это делать через:
((FrameLayout) findViewById(R.id.frameLayout1_wordsAdd)).getLayoutParams().height = LayoutParams.WRAP_CONTENT;
((LinearLayout) fin... |
Не выходит вызвать метод принадлежащий Activity из фрагмента
У меня есть фрагмент:
public class NewDictionaryInput_Fragment extends DialogFragment implements OnClickListener {
public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
View v = inflater.inflate(R.layout.new_d... |
O que são e onde estão a "stack" e "heap"?
O que são esses tais de stack e heap que tanto se fala em gerenciamento de memória?
Isso realmente são porções da memória como algumas pessoas falam ou é apenas um conceito abstrato para facilitar o entendimento da forma como se gerencia a memória?
Algum deles é mais rápido qu... |
Sound doesn't work with Intel 5 Series/3400 chipset
Who can help me find the audio driver.
I got the following information after I ran sudo lshw and lspci
lshw
vun-k42jc
description: Notebook
product: K42Jc
vendor: ASUSTeK Computer Inc.
version: 1.0
serial: A8N0AS67662035
width: 64 bits
capabilities: smbios-2.6 dmi-2.... |
O que é JSON? Para que serve e como funciona?
Costumo me deparar com esse JSON, mas não sei pra que serve e como ele funciona.
JSON é uma notação (uma forma de se escrever) objetos em Javascript. Pode ser visto como um formato "universal" que é muito conveniente para troca de informações entre aplicações através de di... |
Как убрать тормоза, при быстром изменении TextView, во время прокрутки Slider
У меня есть Slider (вот эта библиотека). Возможный прогресс от 10 до 30. Когда отметка изменяется на один пункт, TextView получает размер от текущего прогресса (к примеру, прогресс 17 = размер текста 17sp). За изменение текста отвечает слушат... |
How do I add swap after system installation?
I did not create a swap partition during Ubuntu installation. Later, I freed up some space and made a swap partition. Now after each boot up, I am manually opening gparted to right-click the swap partition to turn on the 'swapon' option.
How can I automatically enable the sw... |
Como usar uma thread específica de uma classe com múltiplas threads?
Estou com uma classe chamada Bola onde nela tenho uma thread que faz umas bolinhas se movimentarem na fase 1 de um do jogo. É possível eu implementar nessa mesma classe outra thread que faça as bolinhas se movimentarem de forma diferente no caso para ... |
How to delete file(s) in secure manner?
Is there a way to make sure that a deleted file can not be recovered?
As you know, deleting a file by pressing shift-del or using trash doesn't mean that file is gone forever. It resides somewhere in the computer.
In day to day life, law enforcement or thieves use recovery progr... |
Expected EOF error for JSON object jslint
I'm working on putting an image in a JSON object, which is proving to be a real pain. Although I can get the image to display on the website's landing page (base 64 code is correct), what I want to do is to display an object's attributes including the image with ui-view.
JSON
{... |
How to install dot provided by graphviz?
How can install the package? I have to do a test dot -Tpng -o
But while installing it fails.
$ uname -a
Linux GoogleKnockOuter 2.6.38-8-generic #42-Ubuntu SMP Mon Apr 11 03:31:24 UTC 2011 x86_64 x86_64 x86_64 GNU/Linux
$ sudo apt-get install graphviz
Reading package lists..... |
usb wifi dongle on ubuntu server, cannot install realtek driver RTL 8188cus
I got cheap Ebay wifi dongle from HongKong, Im trying to set it up on my ubuntu server.
Occasionally need to move server, so it cannot always be connected to router via lan.
Anyhow, usb wifi came with a driver cd. I uploaded files to my home di... |
Drivers for NVIDIA 520M not working
I know this is nominally a duplicate question, but I've read the other questions and haven't been able to fix my problem after many hours and attempts, so please don't delete it. Also, it seems like answers to other questions are dependent on certain situations. My situation being di... |
Too many script statements (in a patch org only - OK in dev org)
I have a schedulable class in my managed application.
(I feel that some of the code I am about to discuss is not good code so in my defence I want to clarify that I did not write this code - I just support it)
In my main dev org there are no issues - test... |
A lot of `gtk-warnings` in terminal. Is this serious?
I had a lot of problems with my system and had to reinstall it. One of them was these very messages. After reinstalling the system and using the same icons, I get the warnings again and am wary of future problems. How risky is this and should I remove the icons-them... |
Como proteger o código fonte?
Estou pensando em fazer uma aplicação para vender, gostaria de saber como proteger meu código fonte para manter meu software seguro.
Eu vi que os bytecodes do Java, armazenados no arquivo .class são facilmente convertidos de volta para .java usando a ferramenta Java Decompiler
Os .class po... |
Getting a NameError when trying to read a file
Please bear with me I'm still new to programming, so I'm trying to read a file and store some text into variables, here's my code:
fo=open(vpn_account)
for line in fo:
if line.find('remote')==0:
vpn=line.split()
if len(vpn) > 1:
servervpn=vpn[1] + ":" + vpn[2]
hostvpn... |
Время создания переменной
Например, есть искусственный пример:
...
int main() {
/*
некоторый код
*/
...{
static int someVal = 42;
}
}
Когда произойдет создание переменной? Во время запуска программы или когда доберемся до нужной инструкции?
Вопрос поставлен криво. В чем "искусственность" примера и в чем "не ис... |
MySQLi vs PDO - qual o mais recomendado para usar?
Com o mysql_* entrando no estado deprecated, a documentação PHP recomenda o uso do PDO e MySQLi.
Qual vocês recomendam para o uso? PDO parece ser mais indicado para trabalhar com orientado a objetos só que ao mesmo tempo vi benchmarks que mostram que a performance usan... |
Quais as vantagens e desvantagens entre MySQL e PostgreSQL?
Estou com essa dúvida faz um bom tempo, vejo algumas pessoas recomendando o uso do PostgreSQL, mas não fica claro as vantagens e desvantagens em relação ao MySQL. Quero definir o banco que irei utilizar em meu projeto e gostaria de saber qual o melhor.
Primei... |
APEX Data Loader 21 Consistently Crashing - Error Message Inside
Nearly every time that I try to use the Apex Data Loader it crashes after clicking on 'Browse' to select the file to load data from. This error message is generated. Any idea what might be causing this and/or if it is avoidable? Thanks!
#
An unexpected er... |
PHP : Неправильно работает функционал отрисовки даты и времени
Ребят помогите найти ошибку в логике.
Есть строка которая хранит интервалы времени в разных временных зонах.После парсинга строки получив день и время надо его вывести по следующей логике:
Код учитывал разные временные зоны
если в строке день повторяется ... |
Как устроить ловушку для хакера, или достойно отбивать атаки?
Ребята выручайте. Меня взломали и в наглую соединились со мной, требуя денег. Я новичок в этом деле и думаю, что пока научусь, то офис скорее снимет меня с работы.
Недавно сайт стал зависать, похоже было на DDOS атаку. Забанил его по IP, но бесполезно. Я уст... |
Code golf - сортировка символов строки по алфавиту
Задание: написать функцию (метод) который будет принимать строку и возвращать ее рассортированную по алфавиту, игнорируя регистр.
К примеру если передать сТрока то она должна вернуть акорсТ.
Строка, передаваемая в вашу функцию может быть как на английском, так и русс... |
GUI program to resize pdf documents and change their DPI
I see that LibreOffice Draw should be able to open a pdf and export it with options for changing quality and DPI resolution. But the high-resolution scanned pdfs that I have are not properly opened in this application (only the first page is imported) so I want t... |
Save image from http response with sockets in C and Lua
I made a C function that sends a http request over https and now I need to grab the image retrieved with that request with Lua.
But when I remove the header and save the body the image is not a valid one.
When the file requested is text nothing wrong happens.
Thi... |
12.04 /var directory default user:group ownership
I'm pretty sure I recursively messed up the default /var user:group ownerships. I've tried to restore them to the best of my ability by searching. Specifically, I'm worried about /var/lib. Currently, mine looks like the below. If there's a kind soul out there who would ... |
JS scrollbar not working
I have this script that would drag through a series of
that are organized by years on a timeline. However, I cannot drag horizontally through the page. Is there a better hay of doing this? What could be wrong?
$(document).ready(function(){
/* This code is executed after the DOM has been com... |
Удаленность сторон куба от плоскости проекции
Дано:
Система координат
Куб вращается вокруг своего центра по всем трем осям.
Угол поворота заранее не известен.
Параллельная проекция считается по формуле:
x`` = x;
y`` = y + z / 4;
В единицу времени отображаются только 3 ближних к плоскости проекции грани.
Вопрос:
Как... |
É errado usar herança de classes para agrupar comportamentos e atributos comuns?
O que nos ensinam sobre Herança
A esmagadora maioria* dos materiais que tratam sobre Herança de Classes a exemplificam como um mero mecanismo de agrupamento de atributos ou ações comuns. No máximo, como um meio de representar uma hierarqui... |
Como representar dinheiro em JavaScript?
Qual a melhor forma de se representar unidades monetárias (i.e. dinheiro) em JavaScript? Sei que não é bom usar ponto flutuante, dado o problema de arredondamento, mas não sei qual seria a melhor alternativa. Outras linguagens têm tipos Decimal como built-ins, mas até onde eu sa... |
Math.Pow(31, 43) % 77 даёт неправильно значение
Компилятор даёт значение 48. Калькулятор 3 - правильное значение. Не совсем пойму - в чём проблема. Возможно, слишком большие числа выходят. Как с этим справиться? Заранее спасибо Вам.
% - это операция деления? В шарпе так остаток считается - https://docs.microsoft.com/r... |
Не работает celery (Process exited with 'signal 9 (SIGKILL)'.)
Задача находится в models.py
@task
def send(text):
try:
bot = telebot.TeleBot('token******')
for user in BotUser.objects.all():
try:
bot.send_message(user.chat_id, text)
except:
pass
except Exception as e:
print(e)
bot.send_message(359144124, ... |
What happened whith software-center - authentification failed?
2014-05-04 16:00:34,847 - softwarecenter.backend.zeitgeist_logger - WARNING - Support for Zeitgeist disabled
2014-05-04 16:00:35,910 - softwarecenter.ui.gtk3.app - INFO - setting up proxy 'None'
2014-05-04 16:00:42,923 - softwarecenter.region - WARNING - fa... |
Como criar um com imagens nas opções?
Achei que saberia fazer um select simples em html com imagem, porém não funciona.
Começo a achar que seja problema dos browsers modernos ou do HTML5.
CSS
select#gender option[value="Prima"] {
background-image: url('../produtos/1.jpg');
}
select#gender option[value="Piana"] {
bac... |
Qual a diferença entre DAO e Repository?
Qual a diferença entre DAO e Repository?
Ambas são muito parecidas, mas em qual caso é melhor usar uma ou a outra?
Gostaria de código de exemplos.
Pelo minha experiencia em C#, a unica diferença é a nomenclatura mesmo, ambas as camadas (Padrões de desenvolvimento) eram responsá... |
Rails 4: Mudar o banco de dados "development" de PostgreSQL para SQLite3 faz o rails server dar erro
Olá.
Por algumas razões, eu tive que mudar o meu DB "development" do rails de PostgreSQL de volta para SQLite3. Só que a página parou de funcionar e o erro que aparece na saída do rails server é esse:
Started GET "/" fo... |
Google Chrome PPA upgrade invalid signature
When running:
sudo apt-get update && sudo apt-get dist-upgrade
I got this output:
Ign http://security.ubuntu.com utopic-security InRelease
Ign http://gb.archive.ubuntu.com utopic InRelease
Ign http://extras.ubuntu.com utopic InRelease
Get:1 http://security.ubuntu.com utopi... |
Intel Wireless N 7260 disconnects and asks for password
I am on the ubuntu 14.04 live usb, and would like to dual boot with the pre-installed Windows 8.1 (i know how to do this), on my Toshiba e45t. The problem is whenever i try to connect to my WPA wifi (which all my other devices can connect to), every 2 seconds it d... |
Como saber a medida certa de comentários?
Passei pelas linguagens PHP, C, C++, JavaScript e agora estou trabalhando com C#. Nesse tempo todo sempre ouvi dizer que é importante ter códigos bem comentados, mas eu nunca soube a medida certa de comentários. Ou comento de mais ou comento de menos.
Além disso, no C# tem aque... |
Скачивание написанного файла из textarea
Я использую ace.js.У меня есть textarea для html.Когда я пишу в этом редакторе что-то, а потом качаю и открываю мне не воспроизводиться, что я написал, а пишут undefined.Почему?Помогите пожалуйста!
var eh = ace.edit("htmlEditor");
eh.setTheme("ace/theme/monokai");
eh.session.... |
Gerando tabelas no sql-server com hibernate
Estou migrando um sistema java, para trabalhar com 2 ou mais bancos de dados. Criei as tabelas para o firebird usando o hibernate sem muitos problemas. O segundo banco não tive sucesso. O SQL-Server. Porque os produtos da microsoft tem de ser diferente ?
Bom... Minhas proprie... |
Как исполняется машинный код и как система ограничивает его права?
У меня возник вопрос о том, как работают программы, написанные на низкоуровневых языках. Допустим я составлю программу на си, которая будет читать файл и выводить в консоль его содержимое. Как она будет исполняться?
Я правильно понимаю, что при запуске,... |
Test Class code coverage for controller
I am trying to test for the below controller but I am struggling to write statement for covering user and territories.
Please help me in correcting testclass which is below
@istest
public class TestDM_Approval_New
{
public static testmethod void approvalmethod()
{
//Profile
... |
Насколько сильно объектная модель Java отличается от C++
В общем обрисую ситуацию.
На протяжении последних восьми лет я работал с C и C++. За это время я успел поработать в нескольких компаниях, в том числе в международных. Делал много чего - начиная от встраиваемых систем, заканчивая игрульками и прошивками для IP-тел... |
Openstack with landscape install fails
I followed the instruction from this site: http://www.openstackbasement.com/
I get all the way to the end until I have to issue: "sudo openstack-install"
It gets pretty far, but it is stuck on the following page:
After about 2900 seconds it fails. the following is the error log o... |
Remote web driver does not start - Selenium grid
I'm trying to run my selenium grid code on remote nodes but it always throw exception.
hub :
java -jar /home/bu/selenium-server-standalone-3.0.1.jar -role hub
it will listen on 192.168.1.106:4444
node :
java -Dwebdriver.gecko.driver=geckodriver -jar selenium-server-stan... |
Por que COBOL ainda é a linguagem preferida no mundo dos negócios?
Como todos sabem COBOL é muito usado por instituições financeiras, onde apenas a interface é feita utilizando linguagens atuais como Java.
O custo para manter mainframes é grande, mas a migração para uma linguagem atual é maior?
Atualmente é muito usad... |
How to get specific JSON values for a given key of a JMeter response?
I want to extract some data and store it as JMeter variables of a previous sampler response. In my response, there are many, so called, attributes which have a formulaName, a definitionId and a id. I want to find a specific attribute via the formulaN... |
Can I comment out an entire class and trigger?
One of our classes in Production has begun to produce errors. Because of this we are unable to deploy new code into Production. I am assuming something was done directly inside Production to produce this error such as a new Validation Rule added or a field deleted etc. In ... |
Код-гольф: Обход двумерного массива змейкой
Задача соревнования:
Имеется двумерный массив N x N. Нужно написать функцию обхода двумерного массива змейкой от правого ребра. Пример на картинке.
Пример двумерного массива:
На входе имеется следующий массив:
input = [[4, 3, 2, 1], [5, 6, 7, 8], [12, 11, 10, 9], [13, 14, 15... |
Deleting an Element of a map with jpa
I'm trying to figure out for days now how I can remove a persisted element from a map. I found threads with similar problems, but none of them would help me finally.
Everything works fine, adding and persisting the element, editing and updating that element and so on. Except for de... |
Célula da tabela com tamanho fixo
Como definir a largura da coluna de duas tabelas para que uma não tenha uma célula maior que a outra? Quando tento criar, a célula da segunda tabela sempre fica maior que a célula da primeira tabela, mesmo definindo para cada uma, a segunda tabela permanece maior.
Como eu poderia deixa... |
Dpkg: error processing package linux-image-extra-3.13.0-93-generic
Unfortunately, apt-get always throws errors due to the 3.13.0-93 kernel package and I would like to get rid of them.
Also, there seems something broken with my grub configuration, since the boatloader only shows entries for
3.13.0-93
3.13.0-93 (recover... |
Por que usar "SELECT * FROM tabela" é ruim?
Frequentemente é dito que pegar todas as colunas de uma tabela através do comando SELECT * FROM tabela é uma má prática. Qualquer recomendação sem explicação não é útil. Então...
Se é uma má prática, deve haver um jeito de usá-lo adequadamente. Deve haver uma situação em que ... |
Uma enumeração deve ser constante no tempo de vida da solução?
As linguagens modernas costumam ter um tipo de enumeração que normalmente é uma faixa de constantes relacionadas. Seus membros costumam ser constantes. Na maioria das linguagens isto é até garantido pelo compilador.
Mas constância nesse caso significa que s... |
pcie USB add on card recognized by Elementary OS but not Ubuntu
I have USB 3.0 card (Vantec UGT-PC345) recognized by Elementary OS an Ubuntu derivative, however, it is not recognized by Ubuntu 16.04.2 LTS.
Here is uname -a
Linux 4.8.0-51-generic #54~16.04.1-Ubuntu SMP Wed Apr 26 16:00:28 UTC 2017 x86_64 x86_64 x86_64 G... |
NPM - Cannot find name 'Many' and Cannot find namespace '_' from lodash library
I'm trying to use lodash in my angular2 project.
$ npm install --save lodash
$ npm install --save @types/lodash
I got this warning messages from installing lodash
And this one for the types
I ignored those warning messages and continue.... |
Реальные достоинства Java
Почему Java получила такое распространение (в частности для преподавания в универтетах США)?
Помимо очевидного (топ-маркетинга и т.п.). Все таки если ее кто то продвигал, значит это делалось для чего то, значит есть какие-то достоинства. Если это делали какие то анонимные гении из MIT и Стенфо... |
ошибка при сборке проекта на android studio
Основная задача - это связать Firebase и связать проект на android studio.
Согласно, вот этой инструкции проект нужно импортировать в android studio, https://firebase.google.com/docs/unity/setup?authuser=1
Я импортировал, добавил исключения и плагин.
При сборке появляется о... |
Кнопка scroll-up в AngularJS
На сайте AngularJS Material эта кнопка есть! Оформлена в виде md-fab-button - круглая красная внизу.
Никак не могу понять какой код у этой кнопки - в описании отсутствует..
UPD: Пример кода на AngularJS + Material без кнопки прокрутки (использую аналогичный код):
'use stric... |
Getting "E: Unable to correct problems, you have held broken packages."
This question is not a dupe. I have received the answer I wanted here: https://unix.stackexchange.com/a/411530/3285
Previously, I was getting this error when I merely tried to update. I believe this problem is related to the VLC PPA which has alway... |
O que são Loaders? Como implementar um loader para carregar do banco de dados sem content provider e como implementar um custom loader?
Na internet, pelo menos em minhas pesquisas, achei pouco material sobre Loader em português. Por isso deixo aqui registrado esta pergunta, para ter respostas documentadas para a comuni... |
USB wireless won't connect in 17.04
I've got a problem with the driver for an RT5370 WiFi dongle which I downloaded it from the manufacturer website (www.mediatek.com/products/broadband/Wifi/rt5370; sorry, I can't post more than two links because it's my first question).
Then I followed this (superuser.com/questions/69... |
mongodb service crashes after saying serverStatus was very slow
I have a mongodb service on EC2. It automatically crashes after sometime.
When I did systemctl status mongodb, it gave me the following output:
● mongodb.service - High-performance, schema-free document-oriented
database Loaded: loaded (/etc/systemd/syst... |
Por que ainda se usam outras codificações além do UTF-8?
Se a codificação UTF-8 pode representar todos os caracteres do Unicode, por que ainda existem aplicações que adotam outros padrões de codificação, como ANSI?
Não seria mais fácil abandonar todas as que não oferecem essa compatibilidade e geralmente se tornam um e... |
Почему не работает виджет QMediaPlayer в приложении PyQt?
Начал разрабатывать медиаплеер на Python, используя PyQt5,
и столкнулся с проблемой.
Весь функционал я реализовал, кроме воспроизведения видео.
Нигде не могу найти решение моей проблемы. Буду благодарен любому, кто поможет.
main.py:
from PyQt5.QtGui import *
... |
O time.sleep() com declarações if/else
Olá. Estou com um impasse. O meu objetivo é que se o usuário carregar no enter ou esperar 2 segundos ele inicie o "PowerBIT", mas numa declaração if/else e não sei como fazê-lo. Exemplo:
#(...)
elif machine == "" or #tempo:
if temp >=20:
print "A iniciar o PowerBIT 1.0..."
star... |
Mouse won't work after repluging unless system reboots
Mouse won't work unless it's plugged during the system boot up and will stop working again if I unplug and plug it back unless I reboot the system with the mouse plugged in. Also, the mouse is being powered even if it doesn't work. the red light under it is lit as ... |
Why would running Java in Dos window try and run an application wrapped in exe
Totally stumped this perhaps obvious to somebody. I package my Java application in an installer (using Izpack), once installed they run SongKong64.exe which is a wrapper around the java files created using Launch
This was not working for a c... |
SAML SSO With .NET - What is this error from Salesforce?
I am trying to use MVC.NET as an SSO IdP
I cannot understand the reason of the error message I get.
The result I get from salesforce says:
Validating the Signature
Is the response signed? true
Is the assertion signed? false
The signature in the response is vali... |
Не работает SNMP в Java процедуре
Пытаюсь запустить следующую Java процедуру в Oracle 19с JVM. Данная процедура должна запросить по SNMP у принтера определенный OID и вернуть его значение.
import java.io.IOException;
import org.snmp4j.CommunityTarget;
import org.snmp4j.PDU;
import org.snmp4j.Snmp;
import org.snmp4j.Tar... |
Japanese keyboard layout symbol file broken since 18.04 to 20.04 upgrade
I recently installed a Japanese layout keyboard on a Lenovo X220 laptop. Using the terminal, and xmonad as a window manager, I first did:
$ sudo dpkg-reconfigure keyboard-configuration
Where I selected the Sun 7 Japanese 106 key keyboard, using th... |
Over wifi consomation
I have been experiencing a little problem these days. I am using a lot of my wifi without me knowing it. It is really annoying. Every time i have to pay 60$ because i don’t know how much i use. See now im asking myself, is there a program that i can download, or a program that i can do to see how ... |
Google Custom Search box text is overflowing a line
Something in my styles is interfering with the text in my Google Custom Search box.
Here's a jsfiddle demonstrating the problem: https://jsfiddle.net/eykd/xqbfn9z0/
And here's what it looks like:
Here's the HTML:
(function() {
var cx = '0113676162042637... |
Upgrade from 18.04 LTS to 20.04 LTS fails due to `Unofficial software packages not provided by Ubuntu`
When trying to upgrade from 18.04 LTS to 20.04 LTS on my PC, the process fails due to Unofficial software packages not provided by Ubuntu. I tried to find the broken packages using grep Broken /var/log/dist-upgrade/ap... |
Boot failure: Gave up waiting for root file system device. UUID does not exist
Edit 4: I've reinstalled Ubuntu and erased the disk, now its working again and I learned my lesson on system backups. Thank you for your support nonetheless.
I've been stuck all day trying to get my custom-built Ubuntu 18 computer for a robo... |
Erro ao alterar modelo de aplicação C# asp.net
Precisei alterar uma aplicação feita há algum tempo atrás em C# asp.net. Acrescentei a coluna no banco de dados que precisava e quando acrescento no model o campo correspondente, ao rodar a aplicação ela já não me identifica como usuário. (A aplicação usa windows authentic... |
Trying to run fasterq-dump to download/format $SRR, but receiving error code
I am trying to use SRA toolkit on Kubuntu local terminal to run an accession for Illumina. Every time I get a new error, and so far, I have figured it out, but this time it is saying there is no disk space. I tried rm and rmdir to clear up spa... |
TcpChat (Console)
Нужно сделать tcp чат, есть сервер и несколько клиентов, сообщения отправляются на сервер и потом к клиенту. Проблема такая: сейчас все сообщение клиентов отправляются на сервер (смт. фото), как сделать отправку сообщений с сервера клиенту?
Server:
class Client
{
public TcpClient tcpClient;
public... |
Padrão de nomenclatura no código para o C#
Reconheço que é comum que cada linguagem utilize um padrão para compor seus identificadores (variáveis, constantes, objetos, controles etc).
No caso do C#, quais seriam as boas práticas com relação à maiúsculas/minúsculas, tamanho e utilização de caracteres especiais?
De um ... |
Problemas em criar entidade com Hibernate/JPA
Boa tarde galera, a pouco me deparei com um problema no qual não consigo achar a solução.
É o seguinte tenho 2 classes no banco criadas através da anotations utilizando JPA. No entanto não consigo criar uma terceira tabela. Abaixo encontra-se a classe das duas tabelas exist... |
Exportando meu projeto, erro proguard
Exportando sem o proguard tudo ocorre normalmente, mas quando ativo da esse erro:
[2014-09-14 01:59:01 - meuapp] Proguard returned with error code 1. See console
[2014-09-14 01:59:01 - meuapp] Warning: android.support.v4.app.NotificationCompatApi20: can't find referenced method 'an... |
Erro "Transaction is required to perform this operation" ao inserir, editar ou excluir - Wildfly
Então pessoal, estou quebrando a cabeça com esse erro à algum tempo e não consigo descobrir como arrumar...
A situação é a seguinte, eu tinha esse projeto rodando no Tomcat e agora foi necessário migrar para o WildFly, a m... |
How to convert datetime in Persian in SQL Server
I want to convert my datetime into Persian datetime in SQL Server. My datetime is in MM/DD/YYYY format. Is there any function in SQL Server to do this as when I want hijri datetime I use this
SELECT CONVERT(VARCHAR(40), GETDATE(), 131) -- Output is 14/08/1432 5:02:01:19... |
Can't create an arrays from .txt file inside a loop
I am trying to create a different types of arrays (String, int ...) from a .txt but I face an error message immediately.
Exception in thread "main" java.util.InputMismatchException
at java.util.Scanner.throwFor(Scanner.java:864)
at java.util.Scanner.next(Scanner.ja... |
iwlwifi related boot warning and trace
Should I be concerned about this boot warning? The only downside I've experienced so far is that sometimes after boot, the wifi card is not recognized and not loaded, but a quick reboot almost always fixes it immediately.
Apr 29 15:11:21 Raza kernel: ------------[ cut here ]------... |
How to know which usb port is associated to which root_hub?
I have a requirement where I would like to connect many USB devices to the system using USB hubs. Currently, I have 2 20 ports USB hub with 40 USB devices connected this way. When I am trying to add more devices by adding another USB hub but I am hitting the l... |
External devices crash - BAR 15: failed to assign [mem size 0x00200000 64bit pref]
Every time I wake/boot and login and start working, all of the usb devices connected to the hub stop working sometime within the first ~10 minutes of being logged in. The display continues to work normally and I can still use the built i... |
Android Studio: Gradle build finished with 251 errors
I have this Android project that I was successfully running on Android Studio. The problem is: ever since I have reinstalled my Windows, ironically, after I had installed everything, including Android Studio and other support libs, the project has never built succes... |
wireless dropping constantly
After using Ubuntu 22 LTS for almost a year, last week I started to face some issues with wifi, it will show a popup at the top of my screen saying authentication required, so I click in there authenticate and it starts to work again.
[1]: https://i.stack.imgur.com/W7BGR.png
This is happeni... |
Не получается загрузить ключ RSA
Я сохранил ключ в файле с расширением .PEM и пытаюсь его загрузить, но при попытке это сделать появляется ошибка:
Traceback (most recent call last):
File "crypto_log.py", line 110, in app_key_task
decrypted = rsa.decrypt(base64.b64decode(line.strip()), key_priv)
File "G:\PyCharm\Pyth... |
В вызванном окне не работает логика
Есть код, в котором пользователь заходит в программу по логину и паролю.
После входа программа запускает второстепенное окно, но логика этого окна не работает.
Как это исправить?
from PyQt5 import QtCore, QtGui, QtWidgets
#from register_window import Ui_MainWindow_Register
from to_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.