Хочу установить свежий вместо 4.6* . Какие есть рекомендации?
Собираю программу из qtcreator'а под виндой. gcc 4.7..
Много таких ошибок:
.
propagation.cpp:186: multiple definition of `Propagation::getMethodPtr()'
.
..\determineworkload.cpp:17: error: undefined reference to `_omp_get_num_procs'
флаги в .pro файле:
.
CONFIG -= console
CONFIG -= app_bundle
TEMPLATE = lib
QMAKE_CXXFLAGS += -std=c++11
QMAKE_CXXFLAGS += -U__STRICT_ANSI__
QMAKE_CXXFLAGS += -fopenmp
QMAKE_CXXFLAGS_WARN_ON += -Wno-reorder
Подскажите пожалуста с ошибкой:
Получаю строку с QDirIterator'а. Потом хотел преобразовать её к std::string и передать её в поток через std::move.
std::string s = it.filePath().toStdString();
auto ftr = std::async(std::launch::async, &fListDir, std::move(s));
Получаю ошибку:
error: invalid initialization of reference of type ‘std::string&& {aka std::basic_string<char>&&}’ from expression of type ‘std::string {aka std::basic_string<char>}’
Так получается та же самая ошибка:
std::string s = it.filePath().toStdString();
std::string && r = s;
auto ftr = std::async(std::launch::async, &fListDir, r);
gcc 4.6
Не работает flash в firefox'e. cуся 12.1, firefox 7.0.1, flash 11.1 r102
Попробовал вот это: http://www.zentus.com/sqlitejdbc/ не может открыть бд созданный с плюсового скулайта. Подскажите пожалуста есть ли рабочий врапер под жаву или .net или mono?
Подскажите пожалуста как поправить.
Подскажите пожалуста что есть годного по матстатистике, случайным процессам. Или может лекции есть.. Я смотрю универы и независимые лица потихоньку выкладывать начали.
Не пойму с чего вдруг стал получаться пустой итератор. Чё-то csv файл читался, а потом перестал. Библиотечка на жабе тоже перестала читать. Нормально файл открывается другими программами.
~> scala
Welcome to Scala version 2.9.0.r0-b20110529140252 (Java HotSpot(TM) 64-Bit Server VM, Java 1.6.0_26).
Type in expressions to have them evaluated.
Type :help for more information.
scala>
scala> import scala.io._
import scala.io._
scala> val file = Source.fromFile("/home/leron/Documents/food.csv")
file: scala.io.BufferedSource = non-empty iterator
scala> var dataIter = file.getLines()
dataIter1: Iterator[String] = empty iterator
Хочу установить программку отдельно от других.
env WINEPREFIX="/home/leron/.wineprefix/utorrent-wine/" LANG=ru_RU.utf-8 wine utorrent.exe wine: chdir to /home/leron/.wineprefix/utorrent-wine : No such file or directory
nvidia-setting после перезагрузки сбрасывает настройки. Можно сделать как-то что бы оно их сохраняло?
> firefox *** nss-shared-helper: Shared database disabled (set NSS_USE_SHARED_DB to enable). /usr/lib64/firefox/firefox-bin: symbol lookup error: /usr/lib64/libnssutil3.so: undefined symbol: PL_ClearArenaPool
Что это поломалось?
Пытаюсь собрать opencog. make в конце выдаёт:
[ 91%] Building CXX object opencog/embodiment/Control/OperationalAvatarController/CMakeFiles/OACTester.dir/OACTester.cc.o
make[2]: *** No rule to make target `/usr/lib/libluabind.so', needed by `opencog/embodiment/Control/OperationalAvatarController/OACTester'. Stop.
cmake выдаёт вот что:
-- Found Lua51: /usr/lib64/liblua-5.1.so;/usr/lib64/libm.so
-- Looking for open in /usr/lib/libluabind.so
-- Looking for open in /usr/lib/libluabind.so - not found
-- Found Luabind library: /usr/lib/libluabind.so
-- Found Luabind headers: /usr/include
Это что значит? Что не так с луабайндом?
Попробовал cuneiform + yagf и результат довольно плохой. ths вместо the и т.п. Можно как-нибудь улучшить качество распознавания? Разрешение картинок небольшое но текст читается хорошо.
Нашёл два старых файла 8 и 17 GB, но не могу их удалить, так как юзер почему-то другой. Хотя может ещё какая причина.
# chown -R leron .opera chown: changing ownership of `.opera/cache/opr00IK1': Operation not permitted chown: changing ownership of `.opera/cache/opr00IGF': Operation not permitted
Ещё в корзине несколько новых но тоже почему-то не удаляемых файлов.
Как от них можно избавится?
В долфине исчезли теги с информационной панели. Выводит вот что:
>dolphin %i -caption "%c" %u
"/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/dolphin(12720)" Soprano: "QLocalSocket::connectToServer: Connection refused" "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/dolphin(12720)" Soprano: "QLocalSocket::connectToServer: Connection refused" "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/dolphin(12720)" Soprano: "QLocalSocket::connectToServer: Connection refused" leron@linux-2p6h:~> "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" QObject: Cannot create children for a parent that is in a different thread. (Parent is Soprano::Client::LocalSocketClient(0xa35ac8), parent's thread is QThread(0x608450), current thread is KLoadFileMetaDataThread(0x9f12c0) "/usr/bin/dolphin(12720)" Soprano: "QLocalSocket::connectToServer: Connection refused" "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/dolphin(12720)" Soprano: "Unsupported operation (2)": "Invalid model" "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/dolphin(12720)" Soprano: "Unsupported operation (2)": "Invalid model" "/usr/bin/dolphin(12720)" Soprano: "Unsupported operation (2)": "Invalid model" "/usr/bin/dolphin(12720)" Soprano: "Invalid iterator." "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" QObject: Cannot create children for a parent that is in a different thread. (Parent is Soprano::Client::LocalSocketClient(0xa35ac8), parent's thread is QThread(0x608450), current thread is KLoadFileMetaDataThread(0x9f12c0) "/usr/bin/dolphin(12720)" Soprano: "QLocalSocket::connectToServer: Connection refused" "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/dolphin(12720)" Soprano: "Unsupported operation (2)": "Invalid model" "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/dolphin(12720)" Soprano: "Unsupported operation (2)": "Invalid model" "/usr/bin/dolphin(12720)" Soprano: "Unsupported operation (2)": "Invalid model" "/usr/bin/dolphin(12720)" Soprano: "Invalid iterator." "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" QObject: Cannot create children for a parent that is in a different thread. (Parent is Soprano::Client::LocalSocketClient(0xa35ac8), parent's thread is QThread(0x608450), current thread is KLoadFileMetaDataThread(0x9f12c0) "/usr/bin/dolphin(12720)" Soprano: "QLocalSocket::connectToServer: Connection refused" "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/dolphin(12720)" Soprano: "Unsupported operation (2)": "Invalid model" "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/dolphin(12720)" Soprano: "Unsupported operation (2)": "Invalid model" "/usr/bin/dolphin(12720)" Soprano: "Unsupported operation (2)": "Invalid model" "/usr/bin/dolphin(12720)" Soprano: "Invalid iterator." "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" QObject: Cannot create children for a parent that is in a different thread. (Parent is Soprano::Client::LocalSocketClient(0xa35ac8), parent's thread is QThread(0x608450), current thread is KLoadFileMetaDataThread(0x9f12c0) "/usr/bin/dolphin(12720)" Soprano: "QLocalSocket::connectToServer: Connection refused" "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/dolphin(12720)" Soprano: "Unsupported operation (2)": "Invalid model" "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/dolphin(12720)" Soprano: "Unsupported operation (2)": "Invalid model" "/usr/bin/dolphin(12720)" Soprano: "Unsupported operation (2)": "Invalid model" "/usr/bin/dolphin(12720)" Soprano: "Invalid iterator." "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/dolphin(12720)" Soprano: "QLocalSocket::connectToServer: Connection refused" "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/dolphin(12720)" Soprano: "Unsupported operation (2)": "Invalid model" "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/dolphin(12720)" Soprano: "Unsupported operation (2)": "Invalid model" "/usr/bin/dolphin(12720)" Soprano: "Unsupported operation (2)": "Invalid model" "/usr/bin/dolphin(12720)" Soprano: "Invalid iterator." "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/dolphin(12720)" Soprano: "QLocalSocket::connectToServer: Connection refused" "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/dolphin(12720)" Soprano: "Unsupported operation (2)": "Invalid model" "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/dolphin(12720)" Soprano: "Unsupported operation (2)": "Invalid model" "/usr/bin/dolphin(12720)" Soprano: "Unsupported operation (2)": "Invalid model" "/usr/bin/dolphin(12720)" Soprano: "Invalid iterator." "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/dolphin(12720)" Soprano: "QLocalSocket::connectToServer: Connection refused" "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/dolphin(12720)" Soprano: "Unsupported operation (2)": "Invalid model" "/usr/bin/dolphin(12720)" Soprano: "org.freedesktop.DBus.Error.ServiceUnknown - The name org.kde.nepomuk.services.nepomukstorage was not provided by any .service files" "/usr/bin/dolphin(12720)" Soprano: "Unsupported operation (2)": "Invalid model" "/usr/bin/dolphin(12720)" Soprano: "Unsupported operation (2)": "Invalid model" "/usr/bin/dolphin(12720)" Soprano: "Invalid iterator."
Наткнулся на страничку Линаса Вепстаса - http://linas.org. Пишет что википедики турнули хорошего математика и вообще специалисты сваливают оттуда. У него тоже разногласия, не понятно будет ли писать дальше.
Wikipedia needs new leadership! I used to have various essays about the structural and cultural problems in Wikipedia, and the things that could be done to solve them. These were posted on my WP user page. Unfortunately, the malicious and stupid leadership there found these so offensive that they deleted the essays. Boo-yah! So now my profile is just soo very squeky-clean and totally inoffensive. To anyone, that is, except me. You might never guess that I'd been raped by the admins there. Woo hoo! Go Wikipedia!
One of the many editors driven away in disgust by WP policies and culture was a world-class mathematician whose excellent books taught me a fair portion of the geometry that I know. Alas.
Постоянное появляется сообщение:
>authentication is required to set network proxy used for downloading packages.
Кто знает что это такое? Как его отключить?
Хотелось бы понять на что влияют настройки phonon'a . Попробовал переключать вывод на звуковые карты через него - в нём работает, из плеера звук идёт только через дефолтную карту. Не пойму что он переключает.
Хочу расшарить интернет через usb c целью скачать обновление. Да и потом может пригодится. Пока нашёл только это:
http://blog.mycila.com/2010/06/reverse-usb-tethering-with-android-22.html
Там настраивается мост ethernet->usb
Отсюда два вопроса:
1) получится ли обновится если настраивать соединение черед ADB, или это просто эмулятор?
2)Как настроить мост через usb? Там описано для убунты.
thx
Нет звука после спящего режима. Звуковая карта работает - можно послушать правый и левый динамики. Видимо проблема в pulsaudio. Можно как-то поправить?
| ← предыдущие |