LINUX.ORG.RU

Сообщения bender

 

Вендекапец в Стиме

Форум — Games

Новый ноут с Вин11, пока устанавливать линукс лень, установил Стим, аккаунт с кучей по нынешним временам древних, но, вообще, нормальных игр времен ХамблБандла - в основном 2д-скроллеры и всякое такое. Поставил несколько навскидку (Аквария, СуперМитБой, Лимбо, еще несколько в таком духе) - часть запускается, часть вообще не запускается, часть глючит с разрешением, может вылечится, может нет хз. Пока линукс не накатил, проверить не могу, но есть ощущение, что если они запускаются через какой-нибудь Протон, то шансы на то, что они заработают и будут продолжать работать дальше в Линуксе я рассматриваю как более высокие, чем возможность поиграть в эту библиотеку на Винде. В Винде дальше будет все только хуже - бинари на серверах Стима лежат, но портировать их на новые Винды уже никто не будет, править Винду для исправления обратной совместимости - тем более, не для того ломали. Таким образом, на средней перспективе еще через пару поколений Винды стимовская библиотека будет выглядеть как кладбище незапускающихся проектов, а у тех игр, у которых есть вариант запуска на Линуксе, будет все нормально, если Протон подпилят и перенесут на него те игры, у которых изначально платформа была только Винда - тем более.

 , ,

bender
()

Internet Control Message Protocol (ICMP) Remote Code Execution Vulnerability

Форум — Talks

https://msrc.microsoft.com/update-guide/vulnerability/CVE-2023-23415

CVE-2023-23415

How could an attacker exploit this vulnerability?

An attacker could send a low-level protocol error containing a fragmented IP packet inside another ICMP packet in its header to the target machine. To trigger the vulnerable code path, an application on the target must be bound to a raw socket.

Кто разбирается получше - чем и кому это грозит? Если нет винды, можно спокойно злорадствовать, или не?

 ,

bender
()

Туземун [over $20000]

Форум — Talks

(теперь официальный)

последний оплот здравомыслящих хейтеров пал. Дальше порабощение мира, хайп, emotion-driven экономи.

 

bender
()

Наутилус показывает десктоп-файлы не как файлы, а как нечто странное

Форум — Desktop

Качнул Шоткат Вышел Shotcut 20.10.31 , распаковал архив и обнаружил страшное.

Внутри файл Shotcut.desktop (это вижу с ls из консоли) отображается как просто Shotcut без расширения при том, что все остальные файлы везде отображаются с расширениями.

Сначала я подумал, что он прячет расширение как винда для каких-то особенных файлов (и стал искать такую настройку, безуспешно), но оказалось еще хуже. Я нажал пару раз копи-паст на этом файле и получил 4 одинаковых ровно ничем не отличающихся (в т.ч. по имени) друг от друга файла «Shotcut» в одном и том же каталоге (я имею ввиду, что Наутилус показывает их рядом как 4 одноименных файла «Shotcut»).

ls при этом показывает вот что:

Shotcut (3-я копия).desktop  Shotcut (другая копия).desktop
Shotcut.desktop              Shotcut (копия).desktop

Т.е. он показывает даже не имя файла, а, походу, поле Name из структуры десктоп-файла, генерируя неотличимые один от другого ярлыки в одном каталоге - так они выглядят в Наутилусе, в фс всё нормально.

При этом еще и опция «Редактировать» не доступна в контекстном меню по правой кнопке, т.е. я не могу изменить его из Наутилуса как текстовый файл.

В принципе, конечно, пох на это. Просто бомбит немного, решил поделиться

 ,

bender
()

Вебкамера не рабатала, потом просралась (а потом опять запор)

Форум — Linux-hardware

Встроенная вебка на ноуте, определяется как «XiaoMi USB 2.0 Webcam: XiaoMi U», есть девайс /dev/video0. Открывается в VLC через «открыть устройство захвата», но только первый раз, если закрыть окно и потом сделать то же самое опять, или висит черный экран и ничего не происходит, или иногда сразу ошибка, что не может открыть поток «v4l2:///dev/video1». После перезагрузки могу посмотреть еще раз опять (иногда может просраться без перезагрузки, но это не точно). Webcamoid (первая попавшаяся в Синаптике прога для работы с вебкамерой) висит (в настройках камеру определяет со всеми характеристиками), лампочка не горит. OBS при добавлении источника v4l камеру видит, но при активации иногда игнорирует, иногда зависает, иногда вылетает. При этом после некоторых зависонов/вылетов/обращений к камере номер устройства может меняться (после перезагрузки появляется /dev/video0, после вылета - /dev/video1, потом /dev/video2 и т.п)

Ubuntu 16.04, ядро 4.15. Драйвер uvcvideo:

$ v4l-info /dev/video1

### v4l2 device info [/dev/video1] ###
general info
    VIDIOC_QUERYCAP
	driver                  : "uvcvideo"
	card                    : "XiaoMi USB 2.0 Webcam: XiaoMi U"
	bus_info                : "usb-0000:00:14.0-5"
	version                 : 5.5.0
	capabilities            : 0x84a00001 [VIDEO_CAPTURE,?,?,STREAMING,(null)]

standards

Логично предположить, что проблема в драйвере http://www.ideasonboard.org/uvc/ в старом ядре. Обновил ядро до 5.5.

$ uname -a
Linux 5.5.0-050500-generic #202001262030 SMP Mon Jan 27 01:33:36 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

Поведение - всё ровно то же самое (только еще каким-то фигом на одну вебку стало появляться два устройства).

И вот я решил купить другую вебку, взял Логитек (Logitech). Она тоже сразу определилась как «UVC Camera (046d:081b)», создаёт новый девайс /dev/video4. Ведёт себя гораздо лучше: открывается в VLC сколько угодно раз подряд, распозналась и открылась в Webcamoid и в OBS. Пару раз тоже заглючила так, что пришлось переткнуть, но, в целом, довольно надежна (особенно, по сравнению с встроенной).

$ v4l-info /dev/video10

### v4l2 device info [/dev/video10] ###
general info
    VIDIOC_QUERYCAP
	driver                  : "uvcvideo"
	card                    : "UVC Camera (046d:081b)"
	bus_info                : "usb-0000:00:14.0-4"
	version                 : 5.5.0
	capabilities            : 0x84a00001 [VIDEO_CAPTURE,?,?,STREAMING,(null)]

standards

Но вот прикол: сразу после подключения вебки Logitech просралась и нормально заработала встроеная камера! Изображение появилось и в Вебкамоиде и в OBS и в VLC открывается сколько угодно раз подряд, лампочка горит. Более того, в одном OBS без перезапуска приложения: не воспринимает встроенную вебку (на этот раз не завис и не вылетел), подключаю внешний Логитек, OBS показывает изображение с внешней, выбираю в настройках встроенную - начинает показывать изображение со встроенной, как будто так и было.

Вытыкаю Логитек, встроенная продолжает работать, как будто так и надо. Я вроде даже обрадовался, но не надолго - то ли после перезагрузки, то ли после закрывания крышки ноута, толи просто немного подождал, встроенная вебка деградирует до исходного состояния и опять начинается старая история.

ДОБАВЛЯЮ: деградирует, пока пишу пост, прямо на глазах: выткнул логитек, сначала встроенная вроде работает, как при Логитеке, потом начал зависать Вебкамоид, OBS при этом работал (перезапускал его - видел камеру несколько раз), потом после очередного перезапуска вылетел (и продолжил вылетать) OBS. Втыкаю Логитек - и встроенная тут же оживает, как выше написал.

Вот такая история.

 , , , ,

bender
()

А нам правда нужен пользователь Deleted?

Форум — Linux-org-ru
  1. Возможность удаляться с форума с затиранием ника - это требование каких-нибудь очередных еврозаконов или просто такая прихоть чтоб было?

  2. В структуре базы остаётся старый ник забаненного, чтобы потом при случае можно было все вернуть, как надо (отображать реальных авторов сообщений - забаненные ники), или там реально делается масс апдейт с затиранием контекста в один конец?

  3. Считаю затирание ников в старых тредах в том числе забаненых атеншен-шлюшек вандализмом, как и правку архивных сообщений.


updt. кто удаляется с удалением повреждением всех сообщений, тот атеншен-шлюшка, привлекающая к себе внимание через вандализм.

 

bender
()

Газпром переходит на Постгрес

Форум — Talks

Эксклюзивный ИТ-поставщик «Газпрома» создал загадочного конкурента СУБД Postgres Pro https://www.cnews.ru/news/top/2019-10-18_v_reestre_rossijskogo_po

Безальтернативный ИТ-поставщик «Газпрома» зарегистрировал в реестре отечественного ПО свою СУБД на основе PostgreSQL. В российской компании Postgres Professional говорят, что никто из сотрудников разработчика нового продукта никогда не был замечен с какой-либо активностью в прозрачном PostgreSQL-сообществе.

Новая российская СУБД на PostgreSQL

В реестре отечественного ПО при Минкомсвязи произошло примечательное пополнение раздела «Системы управления базами данных» (СУБД). В него был внесен продукт компании «Газинформсервис» — Jatoba. По данным, которые 17 октября 2019 г., распространил разработчик, он представляет собой программное средство общего назначения для создания и управления реляционными базами данных и обеспечения многопользовательского доступа к данным с разным уровнем конфиденциальности.

«Ядро программного комплекса построено на основе одной из самых известных и распространенных в мире СУБД с открытым кодом — PostgreSQL, которая используется в решениях различного масштаба: от небольших компаний до ИТ-систем крупнейших корпораций с размерами баз данных до десятков терабайт и десятками миллионов транзакций в день», — говорится в сообщении «Газинформсервиса».

Особенности продукта

По утверждению компании, разработка программного комплекса была проведена в рамках программы по импортозамещению в соответствии с постановлением Правительства № 1236 от 16 ноября 2015 г. (о «запрете иностранного ПО для госорганов», как его прозвали в прессе).

«Клиенты, использующие данную разработку, смогут повысить информационную безопасность за счет поддержки системой Jatoba различных методов контроля и ограничения доступа к данным и сервису, которые реализуются механизмами авторизации и аутентификации», — отмечают разработчики.

По их словам, в программный комплекс встроена система предотвращения анализа и изменения исходных кодов процедур и функций. Благодаря этому у администраторов и пользователей СУБД может быть ограничена возможность просмотра и изменения исходных кодов, процедур и функций в базе данных. «Это исключает стороннее вмешательство в бизнес-логику программного продукта, использующего СУБД Jatoba как платформу хранения, — уверены они. — А также позволяет обезопасить процесс поставки и развертывания сложных решений и защитить интеллектуальную собственность производителя продукта».

На сайте компании также говорится, что в дополнение к стандартным возможностям систем управления базами данных, в СУБД Jatoba реализовано хранение пространственных, географических и геометрических данных, поддержка запросов к ним и управления ими, увеличенная синтаксическая совместимость с распространенным PL/SQL Oracle, а также реализовано протоколирование команд манипулирования данными (DML/DDL). Реальна ли конкуренция с Postgres Pro

На открытом рынке самой известной российской СУБД на основе PostgreSQL сейчас является решение компании Postgres Professional — Postgres Pro, которое было внесено в реестр отечественного ПО еще 18 марта 2016 г.

В этой компании по запросу CNews сообщили, что о новом потенциальном конкурирующем продукте за авторством «Газинформсервиса» впервые узнали только сейчас.

«Считать его конкурентом Postgres Pro сложно, поскольку в “Газинформсервисе” отсутствуют разработчики ядра PostgreSQL, — говорит заместитель генерального директора Postgres Professional Иван Панченко. — Никто из сотрудников этой компании никогда не представлял свои разработки ни на конференции Postgres, ни в российском, ни в международном сообществе. Судя по всему, это сборка свободно распространяемой версии, возможно с некоторыми незначительными изменениями. Как следствие, нет уверенности, что продукт смогут адекватно поддерживать, исправлять ошибки, развивать. Сложно использовать продукт без поддержки для обработки данных, которые вам хоть немного дороги».

Комментируя заявленные «Газинформсервисом» особенности его СУБД, Панченко заверяет, что упомянутое хранение географических и пространственных данных хорошо поддержано и в самом PostgreSQL, и в бесплатном расширении PostGIS.

«Второе отличие (увеличенную синтаксическую совместимость с PL/SQL Oracle) при отсутствии внятного описания комментировать сложно, — говорит Панченко. — Тем более что частичная совместимость есть и так, а чуть большая или чуть меньшая — вряд ли имеет существенное значение».

Что же касается протоколирования команд манипулирования данными (DML/DDL), то по заверению Панченко, оно также реализовано в бесплатном модуле pgAudit.

Сам «Газинформсервис» на вопросы CNews о перспективах конкуренции Jatoba с СУБД Postgres Pro и в целом о продвижении нового продукта на открытом рынке на момент публикации этого материала ответить не смог.

Отметим, что в разделе «Системы управления базами данных» реестра российского ПО сейчас зафиксировано без малого шесть десятков продуктов. По оценкам Панченко два-три из них представляют собой варианты свободно-распространяемой СУБД PostgreSQL. «Мы не слышали об их применении», — добавляет он. Несколько фактов о «Газинформсервисе»

По данным ЕГРЮЛ, ООО «Газинформсервис» было зарегистрировано в Санкт-Петербурге 11 февраля 2004 г. Единственным учредителем организации является Валерий Пустарнаков, который также выступает гендиректором компании.

«Газинформсервис» позиционирует себя в качестве системного интегратора в области безопасности и разработчика средств защиты информации. На рынке известны его решения для защиты ERPSAP, для управления доступом и др.

Территориальные представительства компании работают в Москве, Санкт-Петербурге, Екатеринбурге, Минске, Бишкеке и др. Основными заказчиками заявлены корпорации энергетической отрасли, промышленные предприятия, органы госвласти, а также учреждения финансового и телекоммуникационного сектора.

По информации «Контур.фокус», за «Газинформсервисом» числится 329 госконтрактов на общую сумму в 3,5 млрд руб. В последние годы компания преимущественно получала господряды от «Газпрома» и его дочерних структур, причем, как правило, безальтернативно — фигурируя в закупочных процедурах единственно возможным поставщиком. Какую либо аффилированность компании с «Газпромом» «Контур.фокус» не обнаруживает. Сам разработчик свою возможную связь с «Газпромом» CNews прокомментировать не смог.

Штат «Газинформсервиса» превышает тысячу человек. По данным «Контур.фокуса», по итогам 2018 г. выручка компании составила 8,4 млрд руб. с приростом по отношению к предыдущему году на уровне 61%. Чистая прибыль — 1,6 млрд руб.

 , , ,

bender
()

Gimp создает анимацию GIF в обратном порядке

Форум — Multimedia

GIMP 2.8.22 на Убунте из какого-то репозитория. Добавляю слои

1.png
2.png
3.png

Сохраняю, как анимированный GIF, анимация получается 3.png->2.png->1.png->...

Я могу поменять порядок слоев, но меня морозит, почему это может быть так сделано? Глянул туториалы на ютюбчике, там анимация в нормальном порядке - сверху вниз.

 ,

bender
()

Установить и запустить Android APK на Tizen?

Форум — Mobile

Есть истории успеха?

Хочу запускать APK на смартв Samsung QLED, у них вроде внутри Tizen. В интернетах пишут про Application Compatibility Layer (ACL) и Polaris App Generator (PAG).

Судя по всему, оба издохли.

здесь пишут про PAG https://developer.tizen.org/forums/web-application-development/polaris-app-ge...

У ACL домен с конца июля на продажу http://www.openmobileww.com/

 ,

bender
()

Опубликованы исходники ядер MIPS32 microAptiv по программе MIPS Open

Новости — Hardware and Drivers
Группа Hardware and Drivers

Компания Вейв Компьютинг (Wave Computing, бывшая MIPS Technologies, ранее поглощенная компанией Imagination Technologies и после ее расчленения снова получившая самостоятельный статус) объявила в публикации исходного кода процессорных ядер MIPS32 microAptiv по программе MIPS Open.

Опубликован код для двух классов ядер:

  • ядро microAptiv MCU – микроконтроллерное ядро для встраиваемых систем реального времени.
  • ядро microAptiv MPU core – включает контроллер кеша и блок управления памятью (MMU), обеспечивающие возможность запуска полновесных операционных систем таких, как Linux.

В разделе закачек:

  • Документ с архитектурой MIPS Open
  • Среда разрботки MIPS Open IDE (версии для Linux и Windows)
  • Пакеты MIPS Open FPGA - для запуска ядер MIPS Open на ПЛИС
  • Исходный код ядер microAptiv UP Core и microAptiv UC Core на языке описания аппаратного обеспечения Верилог

Для скачивания требуется принять условия лицензионного соглашения и зарегистрироваться на сайте.

Ранее компания Вейв Компьютинг объявила о запуске программы MIPS Open, в рамках которой участники получат возможность выпускать собственные ядра с архитектурой MIPS без необходимости оплачивать сертификацию на соответствие архитектуре, покупать исходный код ядер, выплачивать другие лицензионные отчисления, а также получают доступ к исходному коду существующих ядер MIPS, являющихся разработкой Вейв Компьютинг.

>>> Подробности

 , , , ,

bender
()

Опубликованы исходники ядер MIPS32 microAptiv по программе MIPS Open

Форум — Talks

Продолжение анонса MIPS Open

https://wavecomp.ai/wave-computing-adds-mips32-microaptiv-cores-to-mips-open-...

Wave Computing Adds MIPS32 microAptiv Cores to MIPS Open Program

CAMPBELL, Calif., May 13, 2019– Wave Computing,® Inc., the Silicon Valley company accelerating artificial intelligence (AI) from the datacenter to the edge, today announced it will include the MIPS32® microAptiv™ cores in the newest release of MIPS Open program components. One of the smallest and low power CPUs in the MIPS product line, the MIPS32 microAptiv core is a highly-efficient, compact, real-time solution for microcontrollers (MCU) and entry-level embedded market applications such as automotive, Internet of Things (IoT) and home networking appliances. The Verilog register transfer level (RTL) code for the MIPS32 microAptiv cores and other MIPS Open program components are available for immediate download at http://www.mipsopen.com/resources/download.

“When the MIPS32 microAptiv core was introduced, it delivered much higher clock speeds than other MCU cores as well as better code density,” said Linley Gwennap, principal analyst of The Linley Group. “Now that Wave Computing is offering microAptiv in the MIPS Open components, SoC designers are free to integrate this reliable and powerful CPU without any license fees or royalties. This announcement marks a significant advance for the MIPS Open initiative.”

[...]

The new set of MIPS Open program components will include two different versions of the microAptiv Verilog RTL code:

- microAptiv MCU core – designed with application-specific features and real-time performance for microcontroller SoC development.

- microAptiv MPU core – includes a cache controller and MMU facilitating embedded system designs executing operating systems such as Linux.

In addition to the Verilog RTL code, the package also includes documentation, configuration tools and a verification suite.

...

У Панчула раз

Хотите создать собственный микроконтроллер с необычными параметрами, например добавленными вами инструкциями, и конкурировать с PIC32, STM32 или AVR? Или просто использовать такой проект для трудоустройства?

С сегодняшнего дня вы можете скачать свободно конфигурируемое ядро MIPS microAptiv UP, совместить его с MIPSfpga+ и запустить на ПЛИС, или спроектировать с ним ASIC и выпустить на фабрике - например тайваньской TSMC или GlobalFoundry в Дрездене (российские Микрон, Анстрем и Ангстрем-Т под санкциями).

Это ядро использовал Microchip Technology, Broadcom, Samsung и многие другие компании.

В опции конфигурации входит например несколько наборов регистров (можно сделать скажем 16 наборов по 32 регистра с автоматическим переключением наборов по прерыванию, без сохранения контекста в память), расширение для DSP, ScratchPad RAM (блок памяти с латентностью кэша, который можно также использовать не как память, а как блок ввода-вывода скажем сетевых пакетов или даже математический сопроцессор), два интерфейса для сопроцессоров (CorExtend и Cop2), конфигурируемый размер и количество секций кэша.

Последнее полезно для студенческой дипломной работы: исследование как параметры кэша влияют на производительность процессора на тех или иных алгоритмах с той или иной латентностью памяти.

Кроме MIPS microAptiv UP выложен также MIPS microAptiv UC - более малое ядро без кэшей, с предсказуемой латентностью обращения к памяти через SRAM-like протокол. Здесь тоже материал для студенческой дипломной работы - сделать для него обвязку, как MIPSfpga+ является обвязкой для MIPS microAptiv UP ( https://github.com/MIPSfpga/mipsfpga-plus ). Имея в резюме такую работу, можно устроиться не только в Wave и Microchip Technology, но и в ARM, Intel, Apple, AMD, ST Microelectronics, Texas Instruments. И в российские компании - Байкал, ЭЛВИС и другие.

Еще можно делать дипломные работы, создавая среды верификации компонент MIPS microAptiv UC/UP (TLB MMU, кэшей, DSP unit, DSPRAM, всего ядра) на SystemVerilog, UVM, Portable Stimulus. С последним еще проще трудоустроиться.

Вот еще основа для дипломной работы - сравнение производительности алгоритмов DSP на процессоре с DSP расширением против процессора без DSP расширения, с учетом цены расширения (статического и динамического энергопотребления, размеров ядра) https://s3-eu-west-1.amazonaws.com/…/MD00928-2B-mAptiv-APP-…

У Панчула два

Теперь вы можете скачать свободно конфигурируемое ядро MIPS microAptiv UP, совместить его с MIPSfpga+ и запустить на ПЛИС, или сделать с ним ASIC и выпустить микросхему на фабрике. Конкурировать с Microchip PIC32MZ или Microchip PIC32MM. Или просто использовать такой проект для трудоустройства.

В опции конфигурации входит например несколько наборов регистров (можно сделать скажем 16 наборов по 32 регистра с автоматическим переключением наборов по прерыванию, без сохранения контекста в память), расширение для DSP, ScratchPad RAM (блок памяти с латентностью кэша, который можно также использовать не как память, а как блок ввода-вывода скажем сетевых пакетов или даже математический сопроцессор), два интерфейса для сопроцессоров (CorExtend и Cop2), конфигурируемый размер и количество секций кэша.

Последнее полезно для студенческой дипломной работы: исследование как параметры кэша влияют на производительность процессора на тех или иных алгоритмах с той или иной латентностью памяти.

Кроме MIPS microAptiv UP выложен также MIPS microAptiv UC - более малое ядро без кэшей, с предсказуемой латентностью обращения к памяти через SRAM-like протокол. Здесь тоже материал для студенческой дипломной работы - сделать для него обвязку, как MIPSfpga+ является обвязкой для MIPS microAptiv UP ( https://github.com/MIPSfpga/mipsfpga-plus ). Имея в резюме такую работу, можно устроиться не только в Wave и Microchip Technology, но и в ARM, Intel, Apple, AMD, ST Microelectronics, Texas Instruments. И в российские компании - Байкал, ЭЛВИС и другие.

Еще можно делать дипломные работы, создавая среды верификации компонент MIPS microAptiv UC/UP (TLB MMU, кэшей, DSP unit, DSPRAM, всего ядра) на SystemVerilog, UVM, Portable Stimulus. С последним еще проще трудоустроиться.

Вот еще основа для дипломной работы - сравнение производительности алгоритмов DSP на процессоре с DSP расширением против процессора без DSP расширения, с учетом цены расширения (статического и динамического энергопотребления, размеров ядра) https://s3-eu-west-1.amazonaws.com/downloads-mips/documents/MD00928-2B-mAptiv...

Качать здесь: https://www.mipsopen.com/resources/download/

Лицензия:

MIPS Open™ Core License Agreement ver 1.0 For the microAptiv UP/UC Core (“MIPS Open Core”)

© 2019 MIPS Tech, LLC

THIS MIPS OPEN™ CORE LICENSE AGREEMENT FOR THE microAptiv UP/UC CORE (“AGREEMENT”) CONSTITUTES A BINDING CONTRACT ON YOU AND GOVERNS YOUR USE OF THE MIPS OPEN CORE DELIVERABLES. By clicking “Accept” to this Agreement below, the person or entity so accepting (“You”) agree to be bound by this Agreement. If You are entering into this Agreement on behalf of a company, organization or other legal entity (an “Entity”), You are agreeing to this Agreement on behalf of that Entity and are representing to MIPS that You have the authority to bind such Entity to this Agreement, in which case the terms “You,” “Your” or a related capitalized term herein shall refer to such Entity. If You do not have such authority, or if You do not agree with this Agreement, You must not accept this Agreement and You do not have a license to use the MIPS Open Core. An Entity does not include its subsidiaries or affiliates. Each and every subsidiary or affiliate of such Entity must separately execute this Agreement in order to have access to and use the MIPS Open Core.

The purpose of this Agreement is to establish the terms and conditions under which You may use and access the MIPS Open Core Deliverables as described herein and provided by MIPS Tech, LLC, a Delaware limited liability company (“MIPS”). This “Agreement” refers to this Agreement licensing the MIPS Open Core identified at the top of page 1 hereof and is not a license agreement for the “MIPS Open Architecture” as defined and used in the separate MIPS Open agreement for its license (the “MIPS Open Architecture Agreement”) nor an agreement licensing another core under a MIPS Open program.

1. Definitions:

(a) “Authorized Foundry” means a foundry approved by MIPS under this Agreement for You to have manufactured a semiconductor product incorporating a MIPS Open CERTIFIED Independent Core Implementation, made in accordance with applicable law and for an end use and end user(s) in compliance with U.S. export laws and regulations, such approval to be updated by MIPS from time to time.

(b) “MIPS Direct-Licensed Core” means any microprocessor core (other than the MIPS Open Core identified in this Agreement) that is made generally available for license from MIPS or its affiliates or predecessors that was either (i) licensed by MIPS or its affiliate or predecessor, to You or Your affiliate, or (ii) developed by You or Your affiliate under rights licensed under a MIPS Architecture by MIPS or its affiliate or predecessor.

(c) “MIPS Architecture” means the RISC technology processor instruction set architecture (“ISA”) or any application specific extension (“ASE”) to such architecture, and any associated privileged resource architecture (“PRA”) developed by or for MIPS or its predecessor entities.

(d) “MIPS Open Core IP Rights” means MIPS’ copyrights, patents, patent applications, and other intellectual property rights in the MIPS Open Core Deliverables delivered to You by MIPS (or a MIPS Open Core licensee of this Agreement in compliance with its license under this Agreement). “MIPS Open Core IP Rights” do not include copyrights, patents, patent applications or other intellectual property rights (i) that cover implementations of any MIPS Architecture or microprocessor core (including Direct-Licensed Cores and MIPS Open CERTIFIED Independent Core Implementations) except to the extent that such rights are necessary to implement the MIPS Open Core in accordance with this Agreement or (ii) that are owned or held by any affiliate or parent company of MIPS or any entity other than MIPS.

(e) “MIPS Open Core Deliverables” means deliverables for the MIPS Open Core or MIPS Open Tools made available by MIPS under this Agreement for You to download from the MIPS Open website upon Your acceptance of this Agreement, as updated from time to time, and includes without limitation MIPS Open Core Documentation.

(f) “MIPS Open Core Documentation” means the technical reference manuals for the MIPS Open Core.

(g) “MIPS Open Core Mark(s)” means the MIPS Open CERTIFIED™ mark and logo, and other marks and logos if designated by MIPS as applicable to a MIPS Open Core license.

(h) “MIPS Open CERTIFIED Independent Core Implementation” means an implementation of the MIPS Open Core in netlist format targeting a semiconductor manufacturing process for an Authorized Foundry, which (1) You developed independently and internally in compliance with this Agreement (a “MIPS Open Independent Core Implementation”), and (2) has been certified in writing as passing the compatibility verification process for the MIPS Open Core attached in Exhibit A hereto (“MIPS Open CERTIFIED”) by MIPS or a MIPS-designated third-party verification provider (each, a “MIPS Open Verification Partner”). A MIPS Open CERTIFIED Independent Core Implementation does not include any: (i) MIPS Open Independent Core Implementation that is not MIPS Open CERTIFIED or incorporated into a product manufactured at a foundry other than an Authorized Foundry, (ii) core implementation developed in whole or in part from a MIPS Direct-Licensed Core, or (iii) core implementation licensed or provided to You by a third party (unless such core implementation is a MIPS Open CERTIFIED Independent Core Implementation that You licensed from a MIPS Open licensee in accordance with this Agreement).

(i) “MIPS Open Tools” under this Agreement means the software, firmware, tools and documentation identified by MIPS as “MIPS Open” applicable for design and use with the MIPS Open Core, which are posted and accessible in digital form for authorized licensees which are made available by MIPS on MIPS’ designated website(s).

2. Verification: Before manufacturing or commercializing any core implementation of the MIPS Open Core licensed under this Agreement, You must ensure that any such core implementation is a MIPS Open CERTIFIED Independent Core Implementation (including if you have sublicensed such core implementation from another licensee of the MIPS Open Core). You must notify MIPS in writing of each MIPS Open CERTIFIED Independent Core Implementation within thirty (30) days of such verification by a MIPS Open Verification Partner. You agree to provide upon request by MIPS or its authorized MIPS Open Verification Partner, information demonstrating that such core implementation in its current format is a MIPS Open CERTIFIED Independent Core Implementation.

3. License:

(a) MIPS Open Core. Provided that You comply with the terms and conditions of this Agreement (including Section 2 (Verification) and Section 12 (MIPS Open Core Development Covenants)), MIPS hereby grants You a non-exclusive, worldwide, royalty-free, non-transferable (except as provided in Section 13) right and license (without rights of sublicense except as provided in subsection 3(a)(iii) below) solely under MIPS Open Core IP Rights, to:

(i) access and use the MIPS Open Core Deliverables internally to develop MIPS Open CERTIFIED Independent Core Implementations, verified by a MIPS Open Verification Partner, for incorporation into Your products or tools (or your authorized sublicensee’s products or tools under subsection (iii) below), provided that Your right to access and use the MIPS Open Tools is subject to subsection 3(b) below;

(ii) make, have made, use, sell, offer for sale and import the MIPS Open CERTIFIED Independent Core Implementations as incorporated in Your products at an Authorized Foundry(ies) to whose process the respective MIPS Open CERTIFIED Independent Core Implementations are targeted; and

(iii) sublicense a MIPS Open CERTIFIED Independent Core Implementation to another person or entity that is legally authorized to enter into this Agreement, and that has entered into and provided an executed copy of this Agreement to MIPS.

(b) MIPS Open Tools. Access and use of the MIPS Open Tools are subject to any applicable additional terms and conditions for each such software, firmware, tools and documentation on the applicable MIPS website(s). If such software, firmware, tools and documentation is provided to You under a separate open source or other license agreement, such tool is licensed under such separate license agreement and not under this Agreement.

(c) Trademark License. Subject to Your compliance with this Agreement, including the restrictions in Sections 2 (Verification) and Section 12 (MIPS Open Development Covenants), MIPS grants to You a non-exclusive, limited, revocable, worldwide, non-transferable (except as provided in Section 13), paid-up, royalty-free license (with a right to sublicense solely to a valid licensee of the MIPS Open Core) to use the MIPS Open Core Mark(s) solely in connection with any promotion, sale or distribution of a MIPS Open CERTIFIED Independent Core Implementation. You may use the MIPS Open Core Mark(s) in accordance with this Agreement and MIPS’ trademark usage guidelines posted at https://mipsopen.org/trademarks/. You may apply the MIPS Open Core Mark(s) only to Your product and materials in which You are verified by a MIPS Open Verification Partner. You acknowledge that MIPS owns the MIPS Open Core Mark(s) and that all goodwill from Your use of the MIPS Open Core Mark(s) shall inure to the benefit of MIPS. You hereby assign to MIPS all right, title and interest in the MIPS Open Core Mark(s) that may accrue to You by operation of law, together with all goodwill attaching thereto that may inure to You in connection with this Agreement or from its use of the MIPS Open Core Mark(s). Except as otherwise set forth in this Agreement or another valid written agreement with MIPS, You are prohibited from any use of MIPS trademarks. You agree that You will not use the MIPS Open Core Mark(s) in a way that is likely to cause confusion, disparage MIPS’ (or its affiliates’) product or services, injure its reputation or otherwise diminish or damage its goodwill in its MIPS Open Core Mark(s). You will not at any time contest or aid in contesting the validity or ownership of the MIPS Open Core Mark(s) or any other marks owned by MIPS or its affiliates or take any action in derogation of MIPS’s rights therein. You will not adopt or register in any jurisdiction any of MIPS trademarks, service marks or certification marks, or mutilate or otherwise modify MIPS Open Core Mark(s). This trademark license shall immediately and automatically terminate if You breach this Agreement (including this trademark license).

(d) Prohibition Against Exceeding License. You are not licensed to, and You agree not to, (I) exceed the scope of the licenses granted in this Agreement, or (II) license (whether proprietary or open source), disclose or otherwise provide any cores developed hereunder or any MIPS Open Core Deliverables licensed hereunder to third parties including Your affiliates, or otherwise use the MIPS Open Core, MIPS Open Core Deliverables or MIPS Open Core IP Rights, except in strict compliance with this Agreement or as expressly and separately authorized in writing by MIPS. Without limiting the foregoing, you may not license the MIPS Open Core under any third party open source license, or combine the MIPS Open Core with any third party open source code or other items in any manner or take any other action that would subject the MIPS Open Core to any third party open source software terms and conditions.

(e) No Modification of MIPS Open Core. You are not licensed to, and You agree not to, subset, superset or in any way modify, augment or enhance the MIPS Open Core. Entering into the MIPS Open Architecture Agreement, or another license from MIPS or its affiliate, does NOT affect the prohibition set forth in the previous sentence.

(f) Third Party IP. You acknowledge that third party hardware, software, tools, or other intellectual property (“Third Party IP”) may be identified among the MIPS Open Core Deliverables and may be required to implement the MIPS Open Core and provide a MIPS Open CERTIFIED Independent Core Implementation. You shall be responsible for obtaining all permissions, licenses, and consents necessary for to use any Third Party IP and following the license or providing attributions applicable to Third Party IP.

4. No Implied Rights; Limitations: The license under this Agreement is granted solely by MIPS Tech, LLC, and is only granted to You (and not to third parties including Your affiliates). You are not licensed under this Agreement to (a) any MIPS Direct-Licensed Cores (or any other cores except the MIPS Open Core), (b) any MIPS Architecture (including without limitation Releases 1 through and including 6 of the MIPS Architecture), or (c) modify or in any way include under the scope of this Agreement any MIPS Direct-Licensed Core or any other core or architecture licensed separately to You or Your affiliate by MIPS or a third party. This Agreement does not apply to or affect any products or technologies You or Your affiliates licensed or purchased separately from MIPS or its affiliates, and this Agreement does not amend, supplement or substitute the terms of other agreements between MIPS or its affiliates, and You or Your affiliates. You do not receive any rights hereunder, expressly, by implication, estoppel or otherwise other than the rights expressly granted in this Agreement.

5. MIPS Ownership: MIPS retains all ownership in and to the “MIPS Open Architecture” described in the MIPS Open Architecture Agreement, all other MIPS Architectures, the MIPS Open Core, MIPS Open Core IP Rights, MIPS Open Core Deliverables, MIPS Direct-Licensed Cores and all intellectual property rights therein (collectively, “MIPS Technology”). You retain Your ownership in Your products developed, manufactured and sold or distributed by You subject to MIPS’ underlying ownership rights described in the previous sentence. You may, but are not required to, provide suggestions, proposal, ideas, recommendations or other feedback, in any form (“Feedback”), to MIPS. To the extent You elect to provide any Feedback to MIPS, You hereby grant to MIPS a perpetual, irrevocable, royalty-free, fully-paid, sublicensable, transferable, non-exclusive, worldwide right and license to make, have made, use, sell, offer for sale, import, export, distribute, modify, create derivative works of, disclose and otherwise exploit such Feedback in any manner without restriction.

6. No Warranties: ALL RIGHTS AND ANY ITEMS PROVIDED BY MIPS UNDER THIS AGREEMENT (INCLUDING WITHOUT LIMITATION THE MIPS OPEN CORE AND MIPS OPEN CORE DELIVERABLES) ARE PROVIDED “AS IS” WITHOUT ANY EXPRESS OR IMPLIED REPRESENTATIONS OR WARRANTIES BY MIPS OR ITS AFFILIATES. ANY REPRESENTATIONS OR WARRANTIES FROM MIPS OR ITS AFFILIATES WHICH MIGHT HAVE BEEN IMPLIED OR INCORPORATED INTO THIS AGREEMENT, WHETHER BY STATUTE, COMMON LAW OR OTHERWISE, ARE HEREBY EXPRESSLY EXCLUDED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, QUALITY, FITNESS FOR A PARTICULAR PURPOSE, NON-INFRINGEMENT AND TITLE. FURTHER, ALL THIRD PARTY IP IS PROVIDED “AS-IS” AND WITHOUT ANY REPRESENTATIONS OR WARRANTY OF ANY KIND.

7. Indemnification: You will defend, indemnify and hold harmless MIPS and its affiliates and their respective representatives, officers, directors, employees and agents (collectively, “Covered Entities”), from and against any demand, suit, action, liability, damages, cost and expense including reasonable attorney’s fees (“Indemnified Claim”) arising out of or in connection with: (a) Your breach of this Agreement, or (b) the design, manufacture, sale or distribution of Your products incorporating MIPS Open Core Deliverables. MIPS may elect to defend or settle any part of such Indemnified Claim in its sole discretion, retaining its own counsel at MIPS’ own expense. You may not enter into any license or settlement agreement regarding any Indemnified Claim that might adversely affect any Covered Entities or require any Covered Entities to take any action, forebear from taking any action, or waive any rights, without MIPS’ prior written consent.

8. Support: No rights of maintenance or support are offered or implied under this Agreement. You may purchase support from MIPS or a MIPS Verification Partner if you so choose under a separate written agreement, but You are not obligated to do so.

9. Compliance. Export Control: Your rights under this Agreement are preconditioned upon Your compliance with U.S. and other applicable laws and regulations. Your license under this Agreement shall terminate immediately if Your access to or use of any MIPS Open Core Deliverables, development of applications for Your products under this Agreement, or exercise of this Agreement violates U.S. or other applicable laws or regulations. The technology that is the subject of this Agreement is controlled by U.S. export control laws and may be subject to the expert or import laws in other countries. The MIPS Open Core, MIPS Open Core Deliverables and any MIPS Open CERTIFIED Independent Core Implementation shall not be exported, reexported, transferred, or released, directly or indirectly, in violation of the law of any country or international law, regulation, treaty, executive order, statute, amendments or supplements thereto. Exercise of any licenses under this Agreement or use of technology provided hereunder in connection with nuclear, missile, chemical weapons, biological weapons or nuclear maritime end uses, whether direct or indirect, is strictly prohibited.

10. Limitation of Liability: TO THE FULLEST EXTENT NOT PROHIBITED UNDER APPLICABLE LAW, IN NO EVENT SHALL MIPS OR ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, LOSSES OR OTHER LIABILITY, INCLUDING BUT NOT LIMITED TO ANY DIRECT, CONSEQUENTIAL, INDIRECT, STATUTORY, PUNITIVE, EXEMPLARY OR SPECIAL DAMAGES OR LOSSES AND ANY DAMAGES OR LOSSES FROM LOST PROFITS OR REVENUES, AND WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM OR IN CONNECTION WITH THIS AGREEMENT OR YOUR PERFORMANCE UNDER THE AGREEMENT, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.

11. Term and Termination: The term of this Agreement shall begin on the Effective Date and continue unless terminated as provided in this Agreement (“Term”). If You breach this Agreement and fail to remedy such breach within thirty (30) days after written notice from MIPS, this Agreement shall automatically terminate. Sections 2, and 4 through 14 inclusive, of this Agreement shall survive termination, and MIPS reserves its rights and remedies in the event of termination.

12. MIPS Open Core Development Covenants:

(a) To preserve MIPS’ ability to continue to update, enhance, develop and commercialize the MIPS Technology, You hereby perpetually and irrevocably (both during and after the Term) agrees that You and Your affiliates will not enforce or assert or authorize or assist any third party (including any affiliate) any MIPS Blocking Patents in connection with, or in a manner which in any way limits, hampers or prevents, the use, design, development, modification, enhancement, testing, copying, and licensing or other distribution, by MIPS, its distributors, resellers, OEMs, agents, affiliates, customers, tools vendors, licensees (through multiple tiers of licensing and sublicensing) or end users in any country (“MIPS Community Members”), of the MIPS Open Core, MIPS Direct-Licensed Cores, any MIPS Architecture and other MIPS Technology, tools, physical implementations of MIPS core designs and MIPS Architectures, and (ii) other products incorporating or using MIPS Technology. “MIPS Blocking Patents” means all claims contained in patents or patent applications owned by, licensed to or assigned to You or Your affiliates, which cover or are necessary to implement any MIPS Technology.

(b) If You or Your affiliates, agents, representatives or assignees file, threaten to or bring a claim against, or voluntarily participate in or induce a third party to seek to invalidate, any patent or other intellectual property right of MIPS or its affiliate related to any MIPS Products, either unmodified or as incorporated into products, technology or tools of a MIPS Community Member (any of the foregoing, a “MIPS Adverse Claim”), then Your rights and licenses under this Agreement shall immediately and automatically terminate and You shall reimburse MIPS for its attorneys’ fees and costs incurred in connection with its defense against such MIPS Adverse Claim.

13. General: By entering into this Agreement, You give permission to MIPS and its affiliates to identify You as an Entity participating in a MIPS Open program for the MIPS Open Core in MIPS publications and/or websites. If MIPS updates this Agreement by publishing such update on the MIPS Open website, any subsequent download of MIPS Open Core Deliverables from the MIPS Open website following such publication shall be governed by the updated Agreement. This Agreement contains the entire agreement between the parties concerning the matters contained herein and supersedes any prior or contemporaneous discussions or representations of any party. This Agreement may not be modified expect by a writing duly executed by both parties. This Agreement is governed by the laws of the State of California, USA without reference to conflicts of law principles. You hereby expressly consent to the personal jurisdiction of the state and federal courts located in Santa Clara County, California USA for any disputes arising from or related to this Agreement. You may not assign, transfer or delegate any rights under this Agreement (including by operation of law, merger, consolidation or change of control) without MIPS’ prior written consent and any such attempted transfer shall be null and void. Subject to the foregoing, this Agreement shall be binding upon and shall inure to the benefit of the parties to this Agreement and their permitted successors and assigns.

14. U.S. Government Rights – Commercial Software: Any licensee or sublicensee under this Agreement that is a government user is subject to MIPS’ standard license agreement and applicable provisions of FAR and its supplements. If You or Your authorized sublicensee is permitted hereunder to provide any software, documentation, and/or related items and technology provided hereunder to any agency of the U.S. or of any state or local government, You will include this provision in any agreement governing the provision of such items.

Exhibit A

MIPS Open Core–Compatibility Verification Process 1. You must verify each MIPS Open Independent Core Implementation developed by You under the Agreement for the MIPS Open Core that You have licensed under such Agreement, on each manufacturing process to be used for volume manufacture. For each such MIPS Open Independent Core Implementation developed pursuant to the Agreement, You shall run the verification test suite (“VTS” or “Verification Test Suite”) provided under this Agreement by MIPS without any modification to the VTS, in accordance with the process set forth herein.

2. Verification Process

(a) For each MIPS Open Independent Core Implementation developed pursuant to the rights granted under the Agreement, You shall run the VTS on the final production version of the layout netlist for such MIPS Open Independent Core Implementation (“Final Netlist”), instantiated within a test bench provided by MIPS (the “Verification Test Bench”). The Final Netlist instantiated within the Verification Test Bench, as applicable, is referred to herein as the “Netlist Verification Environment.” You shall deliver to MIPS a copy of the log resulting from running the VTS on the Netlist Verification Environment and any other resulting data (“Netlist Log Results”).

(b) In addition to the Netlist Log Results delivered pursuant to Section 2(a), You shall provide MIPS with a copy of the Netlist Verification Environment and any other data required for MIPS to recreate the running of the VTS on the Netlist Verification Environment (collectively, the “Netlist Test Deliverables”).

(c) Within thirty (30) days of MIPS’ receipt of the Netlist Test Deliverables, MIPS shall review the Netlist Log Results, and, at its option, may run the applicable VTS on the Netlist Verification Environment delivered by You and may notify You in writing that the MIPS Open Independent Core Implementation has passed the compatibility verification process, or that the MIPS Open Independent Core Implementation has not passed together with details of the failure. In the event that MIPS does not provide such written notification to You within such thirty (30) day period, the MIPS Open Independent Core Implementation will be deemed to have passed the compatibility verification process. MIPS will give notice that a MIPS Open Independent Core Implementation has passed only when the Netlist Log Results and MIPS’ log results (if any) indicate that no errors have been detected or MIPS agrees to waive any errors detected.

3. You shall perform Your normal and reasonable test procedure consistent with the VTS, for chips or other product You develop in accordance with the Agreement (“Normal Licensee Test Procedure”). You will notify MIPS of the details of the Normal Licensee Test Procedure and will reasonably consider comments from MIPS about such procedure.

4. The VTS and Netlist Verification Environment, and any portion or derivative thereof, may not be used to test or verify core designs other than MIPS Open Independent Core Implementations developed strictly in accordance with, and expressly authorized under, this Agreement. You are not licensed to use or access the VTS or Netlist Verification Environment for any other purpose.

 ,

bender
()

MIPS гоуз opensource

Форум — Talks

Короче, я пока не разобрался, что там именно с лицензией и какие лицензии вообще принято считать опенсорсными для железа, но все равно давайте дискас

Wave Computing® Launches the MIPS Open Initiative To Accelerate Innovation for the Renowned MIPS® Architecture

https://www.facebook.com/yuri.panchul/posts/10157137614503392

CAMPBELL, Calif., December 17, 2018 – Wave Computing®, the Silicon Valley company that is accelerating artificial intelligence (AI) from the edge to the data center, announced it will open source its MIPS instruction set architecture (ISA) to accelerate the ability for semiconductor companies, developers and universities to adopt and innovate using MIPS for next-generation system-on-chip (SoC) designs. Under the MIPS Open program, participants will have full access to the most recent versions of the 32-bit and 64-bit MIPS ISA free of charge – with no licensing or royalty fees. Additionally, participants in the MIPS Open program will be licensed under MIPS’ hundreds of existing worldwide patents.

“Having spent years in the open source technology movement, I can attest to the hunger for community-driven solutions,” said Art Swift, president of Wave Computing’s MIPS IP Business. “However, until now, there has been a lack of open source access to true industry-standard, patent-protected and silicon-proven RISC architectures. The overwhelmingly positive response we have received thus far from customers on our MIPS Open initiative is an indication of the dramatic, positive impact we believe the program will have on the industry. We invite the worldwide community to join us in this exciting journey and look forward to seeing the many MIPS-based innovations that result.”

“The MIPS Open initiative is a key part of Wave’s ‘AI for All’ vision,” said Lee Flanagin, Wave’s senior vice president and chief business officer. “The MIPS-based solutions developed under MIPS Open will complement our existing and future MIPS IP cores that Wave will continue to create and license globally as part of our overall portfolio of systems, solutions and IP. This will ensure current and new MIPS customers will have a broad array of solutions from which to choose for their SoC designs, and will also have access to a vibrant MIPS development community and ecosystem.”

About the MIPS Open Initiative from Wave Computing The industry standard MIPS ISA represents decades of robust innovation with over 8.5 billion MIPS-based chips having shipped in thousands of commercial designs to-date. Wave’s new MIPS Open initiative will further fuel the adoption of MIPS by encouraging the global semiconductor community to develop new, MIPS-compatible solutions for a variety of emerging market applications. The MIPS Open initiative will be moderated by Wave Computing and an Advisory Committee that will include industry-leading OEMs, partners, universities and technology luminaries who will help guide community-driven innovations on MIPS. The MIPS Open initiative will also include certified verification partners who will assist in ensuring compatibility of implementations and preventing architectural fragmentation.

The MIPS Open initiative will help greatly expand the existing MIPS ecosystem comprised of thousands of developers and over 100 academic institutions worldwide by offering new opportunities to create innovative solutions from third-party tool vendors, software developers and universities. Through the MIPS Open program, MIPS customers will be assured that development tools, applications, or other value-added features and services provided by the MIPS Open ecosystem will be compatible with new implementations.

Further details on the MIPS Open initiative including the downloadable MIPS architecture, licensing details, support mechanisms, and information on how to participate will be announced in Q1 2019.

Developers, partners and companies seeking additional information on the MIPS Open initiative can visit https://www.wavecomp.ai/mipsopen.

 ,

bender
()

JSON теперь в SQL: SQL/JSON

Форум — Talks

Монгокапец

Объектная модель данных теперь в SQL: хранение, запросы, прозрачная интеграция с реляционной схемой.

Part 6: SQL support for JavaScript Object Notation (JSON) https://standards.iso.org/ittf/PubliclyAvailableStandards/c067367_ISO_IEC_TR_...

Уже в Постгресе (то ли в последнем выпущенном, то ли в надвигающемся).

 , , , ,

bender
()

А посоветуйте фундаментальный труд по протоколам передачи данных

Форум — Development

Там, асинхронные, синхронные, паттерны с примерами и т.п. Что-нибудь уровня thinking in java и шаблонов проектирования для нее же

 ,

bender
()

0.68+0.04 == 0.72: 0; 0.69+0.04 == 0.73: 1, wtf?

Форум — Development
    cout << (0.68 + 0.04) << " == " << 0.72 << ": " << (0.72 == (0.68 + 0.04)) << endl;
    cout << (0.69 + 0.04) << " == " << 0.73 << ": " << (0.73 == (0.69 + 0.04)) << endl;

./a.out:

0.72 == 0.72: 0
0.73 == 0.73: 1

wtf?? o_O

 ,

bender
()

Они убили Кенни (панель команд по shift+f2)

Форум — Talks

Вчера фаерфокс обновился до 62, сегодня заметил, что не открывается панель разработки (командная строка) по shift+f2, в меню тоже не могу найти. Скажите мне, что это глюк и я туплю, а не новая генеральная линия.

 ,

bender
()

Соединение VPN установлено, но трафик идет мимо?

Форум — Admin

Настроил на амазоне VPN pptpd, подключаюсь с домашней Убунты 16.04. В целом работает, cоединение устанавливается, запрещеночка (там слайдшара с линкедином например) открывается, но где-то в 4-3 случаях из 10 соединение устанавливается, но сайты в браузере все равно лочатся. Иногда один открывается, второй в это же время блочится. Переподключаюсь раз, переподключаюсь два, на третий может начать открываться. Или если долго ничего открывать, то соединение не рвется, но сайты перестают открываться и нужно опять переподключаться.

Вот, например, сейчас, начинал писать пост, сайты открывались, сейчас смотрю - соединение на месте:

ifconfig
lo        Link encap:Локальная петля (Loopback)  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:9959693 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9959693 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1228439041 (1.2 GB)  TX bytes:1228439041 (1.2 GB)

ppp0      Link encap:Протокол PPP (Point-to-Point Protocol)  
          inet addr:192.168.84.100  P-t-P:192.168.84.1  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1400  Metric:1
          RX packets:68237 errors:0 dropped:0 overruns:0 frame:0
          TX packets:41726 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3 
          RX bytes:92574647 (92.5 MB)  TX bytes:3070087 (3.0 MB)

wlp2s0    Link encap:Ethernet  HWaddr a0:c5:89:86:94:99  
          inet addr:192.168.1.111  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::1563:382b:415b:5cc7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1280  Metric:1
          RX packets:125321834 errors:0 dropped:0 overruns:0 frame:0
          TX packets:102787363 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:127677622971 (127.6 GB)  TX bytes:54052068258 (54.0 GB)

а слайдшара с рутрекером опять в локе.

Короче, очень ненадежно все получается. Такое ощущение, что при каких-то неполадках или там тормозах на канале VPN запрос перебрасывается на обычный канал и получает там сразу радостный фиг.

Собственно, вопросы: - Можно ли это пролечить или хотябы продиагностировать стандартными линуксовыми средствами (например, проверить, какой интерфейс сейчас используется для системного трафика)? - Может дело в pptp? Имеет ли смысл трахаться с openssh в надежде, что с ним все будет надежно? - Другие варианты пролечиться?

 ,

bender
()

Персональный сервачок по цене среднего компа?

Форум — Talks

Яндекс-фотки РИП, монополистам-империалистам больше нет веры. Смотрю на тарифы VPS, прихожу в уныние - хочу много диска и минимальный проц. Ну и потерять все нажитое после пары месяцев неуплаты тоже больше не улыбается - хочу спокойствия и стабильности без трахов с переездами. Решил пока есть эмоции психануть и запилить собственный железный сервачок гонять OWN Clowd / пускать собственные маленькие VPS по мере необходимости. Чтобы сначала положить под кровать, потом, может, отнести в интернет в датацентр типа такого (800 руб в месяц - не слишком мало? есть подвох?). [updt] Арендовать не хочу - это полумеры.

Выбираю железку. Буду плясать от цены, дальше - как пойдет. По ресурсам - достаточно производительности полудохлой VPS (т.е. понятно, что любая живая железка сразу подходит), главное - иметь возможность подключить дискового пространства (500Гб-Тб на обозримое будущее - более чем). Должна быть опция отнести из дома в дата-центр, поэтому корпус - вариант стандартного под стойку.

Рассматриваю варианты ARM/MIPS (если есть в природе) - пожалуй, даже приоритет, но не обязательно.

Например, на ARM навскидку нашел такую штукую штуку, но на сайте нет цены, подозреваю, что продукт не для простых смертных.

В общем, итого:
- Реально ли найти найти такую штуку по цене среднего (можно хорошего) компа или это фантастика?
- Посоветуйте железок
- Отдельно - истории про colocation для физлиц

 , , ,

bender
()

Почему alias из .profile не работает в xterm?

Форум — General

Добавляю alias в .profile, перезагружаюсь, захожу в иксы, запускаю gnome-terminal (или xterm), алиаса нет. wtf?

Если логиниться в «настояющую» консольку по ctrl+alt+f1, алиас есть.

Переменные, которые прописаны рядом с алиасом в .profile, все всегда на месте.

П.С. я в курсе, что алиас можно добавить в .bashrc или .bash_aliases, вопрос заключается в том, что за фигня и какого фига я могу прописывать в .profile переменные, но не могу алиасы?

П.С.2 Дефолтная убунта 16.04

 ,

bender
()

Inkscape: вычитать один объект из второго вместе с толщиной обводки

Форум — Multimedia

Добрый день,

Имеем в Инкскейпе 2 объекта - уменьшаемый и вычитаемый. У вычитаемого обводка определенной толщины. Выделяю объекты, иду в меня Контур -> разность. Результат - из уменьшаемого объекта вычитается вычитаемый объект так, как будто у него нет обводки.

Мне нужно, чтобы вырез прошел по границе обводки. Как вариант, преобразовать (вытянуть) вычитаемый объект так, чтобы его граница прошла по внешней границе его же обводки.

 

bender
()

RSS подписка на новые темы