Видео и материалы со встречи:
http://getdev.net/Event/dynamic-language-runtime
В докладе рассмотрим скриптовые языки на платформе DLR, способы автоматизации рутинной работы с их помощью, а также интегрирование в конечное приложение.
Речь пойдёт о планах Fedora Project на язык Go. Подробно разберем один случай его применения — когда с помощью языка Go мы решили проблему с написанными на Erlang системными сервисами, ставшую заметной при переходе с SysVinit на systemd. После этого обсудим, насколько Go применим к задачам системного уровня (забегая вперед: применим, и еще как!). Выступление будет интересно прежде всего последователям DevOps.
Manolo Ruiz de Elvira es un diseñador naval español de 51 años especializado en la Copa América. Ha diseñado los barcos ganadores de las últimas cuatro ediciones de la competición con dos sindicatos diferentes. Actualmente está sin equipo pero abierto a nuevas ofertas.
Wristbands can be used for various purposes such as promoting awareness for causes and events, fundraising, showing support, and providing medical information. They are customizable with messages and artwork and serve as an affordable accessory. AmazingWristbands.com designs silicone wristbands for these varied uses at low cost with quick turnaround.
Видео и материалы со встречи:
http://getdev.net/Event/dynamic-language-runtime
В докладе рассмотрим скриптовые языки на платформе DLR, способы автоматизации рутинной работы с их помощью, а также интегрирование в конечное приложение.
Речь пойдёт о планах Fedora Project на язык Go. Подробно разберем один случай его применения — когда с помощью языка Go мы решили проблему с написанными на Erlang системными сервисами, ставшую заметной при переходе с SysVinit на systemd. После этого обсудим, насколько Go применим к задачам системного уровня (забегая вперед: применим, и еще как!). Выступление будет интересно прежде всего последователям DevOps.
Manolo Ruiz de Elvira es un diseñador naval español de 51 años especializado en la Copa América. Ha diseñado los barcos ganadores de las últimas cuatro ediciones de la competición con dos sindicatos diferentes. Actualmente está sin equipo pero abierto a nuevas ofertas.
Wristbands can be used for various purposes such as promoting awareness for causes and events, fundraising, showing support, and providing medical information. They are customizable with messages and artwork and serve as an affordable accessory. AmazingWristbands.com designs silicone wristbands for these varied uses at low cost with quick turnaround.
Este documento presenta información sobre el uso de servos con Arduino. Explica las funciones de la librería Servo como attach(), write() y read(). Incluye ejemplos de código para controlar un servo mediante un potenciómetro y usar un servo como indicador de temperatura. El autor también proporciona enlaces a sus cursos básicos e intermedios sobre Arduino.
A União Europeia está preocupada com o impacto da inteligência artificial no mercado de trabalho. Estudos mostram que muitos empregos podem ser automatizados nos próximos anos, mas também que novos empregos serão criados. A UE quer garantir que os trabalhadores recebam treinamento para as novas habilidades necessárias e apoio para encontrar novas oportunidades.
The document announces an upcoming Java User Group Latvia meeting in March 2011 that will feature presentations on bytecode fundamentals, Apache Camel, and JRebel. It also advertises an April conference with 200 seats and 3 parallel talks being a joint event between the Oracle User Group and Java User Group. Information is provided for following the Java User Group on their website, Twitter, LinkedIn, and Google Groups.
The Premium Club Brochure for the 2009-2010 season, displaying recent renovations and Premium Seating options from 10-86 games. Go Bruins & Celtics! Contact me for a private tour.
The AT&T SportsDeck is the introductory membership into The Premium Club. Packages start with 10 games and guarantee Premium amenities and benefits.
The document discusses unit testing and addresses common objections to writing unit tests. It advocates that unit tests are important for finding bugs, reducing costs of changes, improving code quality, and avoiding fear of breaking code. While developers think they don't make mistakes or that unit tests add unnecessary complexity, the document argues that unit tests pay off by improving code quality and maintainability.
A empresa de tecnologia anunciou um novo smartphone com câmera aprimorada, processador mais rápido e bateria de maior duração. O dispositivo também possui tela maior e armazenamento expansível, com preço sugerido a partir de $799. Analistas esperam que o aparelho ajude a empresa a aumentar sua participação no competitivo mercado de smartphones.
O documento descreve um empreendimento residencial chamado Elegance localizado na Rua Alcides Lima em Freguesia, Rio de Janeiro. O condomínio oferece apartamentos de 2 quartos com lazer, segurança e qualidade de vida, incluindo piscina, academia, salão de festas e estacionamento. As unidades terão porcelanato, split e as coberturas terão churrasqueira e previsão para piscina.
This document contains the agenda for a Java User Group meeting on June 2011. It lists the schedule which includes welcome remarks from 18:15-18:30, a Java User Group update from 18:30-18:45, a presentation on Spring Roo from 18:45-19:45, a coffee break from 19:45-20:05, a presentation on developing Android apps from 20:05-20:50, wrap-up and a raffle from 20:50-21:00. It also provides information on related events and how to stay connected to the Java User Group via their website and social media pages.
The document introduces Spring Roo, a tool that aims to make Java development fun by eliminating complexity, boosting productivity, and following principles like KISS and DRY. It discusses problems with traditional Java applications like complexity, lack of DRYness, and boilerplate code. Spring Roo uses simple commands, pragmatic code generation, and aspects to generate basic application structures and address these problems. The core components and development cycle are explained, and examples are provided of entities, controllers, and JSPX views that Roo can automatically generate.
The Premium Club lounge provides seating on the 5th and 6th floors of the building. Membership costs $2,000 annually and provides access to the lounge and its amenities. The lounge offers food and drinks, comfortable seating areas, and workspaces for members to use.
This document provides an overview of the traveling salesman problem (TSP), including its origin, definition, complexity, and classifications. It discusses several real-world applications that can be modeled as TSP problems, such as drilling printed circuit boards, overhauling gas turbine engines, X-ray crystallography, computer wiring, and vehicle routing. The TSP and its variations, such as the symmetric, asymmetric, and multiple TSP, are introduced.
The document summarizes an author's first experience using Google AppEngine, a platform that allows developers to build and host web applications on Google's infrastructure without having to maintain servers. The author discusses how AppEngine provides a scalable hosting environment but has limitations like blacklisting of certain technologies, per-account application limits, and constraints on data storage and querying. The author also explores services provided by AppEngine and notes that while much is free, usage beyond quotas requires payment.
The document summarizes the activities of the Java User Group Latvia from 2010 to 2011. It held its first events in 2010 and saw growth in 2011 with supporting companies, 10 events held, and international speakers. Upcoming events are announced, including the JUG Meeting #4 on February 3rd 2011 covering topics like JSF2, Google App Engine, and JPA2, as well as the Agile Riga Day 2011 conference on March 5th.
Este documento presenta información sobre el uso de servos con Arduino. Explica las funciones de la librería Servo como attach(), write() y read(). Incluye ejemplos de código para controlar un servo mediante un potenciómetro y usar un servo como indicador de temperatura. El autor también proporciona enlaces a sus cursos básicos e intermedios sobre Arduino.
A União Europeia está preocupada com o impacto da inteligência artificial no mercado de trabalho. Estudos mostram que muitos empregos podem ser automatizados nos próximos anos, mas também que novos empregos serão criados. A UE quer garantir que os trabalhadores recebam treinamento para as novas habilidades necessárias e apoio para encontrar novas oportunidades.
The document announces an upcoming Java User Group Latvia meeting in March 2011 that will feature presentations on bytecode fundamentals, Apache Camel, and JRebel. It also advertises an April conference with 200 seats and 3 parallel talks being a joint event between the Oracle User Group and Java User Group. Information is provided for following the Java User Group on their website, Twitter, LinkedIn, and Google Groups.
The Premium Club Brochure for the 2009-2010 season, displaying recent renovations and Premium Seating options from 10-86 games. Go Bruins & Celtics! Contact me for a private tour.
The AT&T SportsDeck is the introductory membership into The Premium Club. Packages start with 10 games and guarantee Premium amenities and benefits.
The document discusses unit testing and addresses common objections to writing unit tests. It advocates that unit tests are important for finding bugs, reducing costs of changes, improving code quality, and avoiding fear of breaking code. While developers think they don't make mistakes or that unit tests add unnecessary complexity, the document argues that unit tests pay off by improving code quality and maintainability.
A empresa de tecnologia anunciou um novo smartphone com câmera aprimorada, processador mais rápido e bateria de maior duração. O dispositivo também possui tela maior e armazenamento expansível, com preço sugerido a partir de $799. Analistas esperam que o aparelho ajude a empresa a aumentar sua participação no competitivo mercado de smartphones.
O documento descreve um empreendimento residencial chamado Elegance localizado na Rua Alcides Lima em Freguesia, Rio de Janeiro. O condomínio oferece apartamentos de 2 quartos com lazer, segurança e qualidade de vida, incluindo piscina, academia, salão de festas e estacionamento. As unidades terão porcelanato, split e as coberturas terão churrasqueira e previsão para piscina.
This document contains the agenda for a Java User Group meeting on June 2011. It lists the schedule which includes welcome remarks from 18:15-18:30, a Java User Group update from 18:30-18:45, a presentation on Spring Roo from 18:45-19:45, a coffee break from 19:45-20:05, a presentation on developing Android apps from 20:05-20:50, wrap-up and a raffle from 20:50-21:00. It also provides information on related events and how to stay connected to the Java User Group via their website and social media pages.
The document introduces Spring Roo, a tool that aims to make Java development fun by eliminating complexity, boosting productivity, and following principles like KISS and DRY. It discusses problems with traditional Java applications like complexity, lack of DRYness, and boilerplate code. Spring Roo uses simple commands, pragmatic code generation, and aspects to generate basic application structures and address these problems. The core components and development cycle are explained, and examples are provided of entities, controllers, and JSPX views that Roo can automatically generate.
The Premium Club lounge provides seating on the 5th and 6th floors of the building. Membership costs $2,000 annually and provides access to the lounge and its amenities. The lounge offers food and drinks, comfortable seating areas, and workspaces for members to use.
This document provides an overview of the traveling salesman problem (TSP), including its origin, definition, complexity, and classifications. It discusses several real-world applications that can be modeled as TSP problems, such as drilling printed circuit boards, overhauling gas turbine engines, X-ray crystallography, computer wiring, and vehicle routing. The TSP and its variations, such as the symmetric, asymmetric, and multiple TSP, are introduced.
The document summarizes an author's first experience using Google AppEngine, a platform that allows developers to build and host web applications on Google's infrastructure without having to maintain servers. The author discusses how AppEngine provides a scalable hosting environment but has limitations like blacklisting of certain technologies, per-account application limits, and constraints on data storage and querying. The author also explores services provided by AppEngine and notes that while much is free, usage beyond quotas requires payment.
The document summarizes the activities of the Java User Group Latvia from 2010 to 2011. It held its first events in 2010 and saw growth in 2011 with supporting companies, 10 events held, and international speakers. Upcoming events are announced, including the JUG Meeting #4 on February 3rd 2011 covering topics like JSF2, Google App Engine, and JPA2, as well as the Agile Riga Day 2011 conference on March 5th.
Язык Lua — секреты производительности / Ник Заварицкий (Mail.ru)Ontico
Lua — высокоуровневый язык, похожий на Python/JS, но существенно более простой. Он гибкий и при этом очень быстрый.
Многие слышали про OpenResty. Это решение для разработки Nginx модулей на Lua. Cloudflare, крупнейший CDN/anti-DDOS провайдер, как раз работает на OpenResty.
У нас была задача валидации данных на соответствие схеме; мы переписали валидацию с Си на Lua и получили ускорение в 4 раза (за счет JIT-компиляции).
Что будет в докладе:
* краткое введение в язык Lua;
* как работает трассирующий JIT-компилятор Lua;
* как писать быстрый код, искать и устранять проблемы с производительностью;
* наш опыт: как мы ускорились в 4 раза, переписав валидацию с Си на Lua.
До выхода Feature Complete версии OpenJDK 9 EA остался месяц. Самое время посмотреть, что ждет нас в следующей версии Java. Для начала рассмотрим процесс того, как идеи становятся JEP-ами, а потом становятся частью стандарта языка Java. Потом посмотрим на список из четрех десятков фич, разберем наименее тривилаьные из них на примерах: jshell, jmh, unified jvm logging и, конечно же, модулярность.
Что такое REPL, как он устроен и какие крутые возможности в нём заложены. Поговорим о выполнении кода в REPL и о том как работает автокомплит в динамических языках. Ответим на вопрос что такое vm.runInContext, перехватим парочку промисов, сделаем вывод результатов действительно приятным и даже узнаем как подгрузить нужные модули и не подать виду. В заключение рассмотрим потрясающие возможности, которые даёт нам инфраструктура npm и как это всё можно использовать в работе.
Доклад ориентирован на тех, кому небезынтересен мир Node.js, но будет доступен также и более широкому кругу JS-разработчиков. Надеюсь, для кого-нибудь этот доклад станет очередной ступенькой в изучении любимого языка.
Построение систем автоматического протоколирования Си/Си++ кодаTatyanazaxarova
Иногда единственным методом отладки является использование протоколирования событий приложения. К недостаткам протоколирования (логирования) можно отнести большой объем кода, который приходится писать вручную для сохранения всей необходимой информации. В статье рассматривается методика, позволяющая построить систему автоматического протоколирования кода на языке Си/Си++.
31. SLF4J
Чем лучше?
А куда пишем?
slf4j -> Log4j / slf4j-log4j.jar
slf4j -> JUL / slf4j-jdk14.jar
slf4j / logback / locback.jar
32.
33.
34. Где мы сейчас
log4j
JUL
commons-logging
SLF4J
Logback
35. Как «скрутить» logger
Выбираем “правильный” logger
Log4j
Jul
Logback
Удаляем все остальные API
Заменяем их соответствующими
переходниками
54. Что и где ?
http://logging.apache.org/log4j/1.2/
http://www.slf4j.org/manual.html
http://logback.qos.ch/manual/
http://www.parleys.com/#st=5&id=1701&sl=27
Т.е. о чем всегда “надо” помнить? Logging это не только “запись” куда либо log-инфомации, но и анализ той информации, кроторую вы записали в log. Т.е. не “мы ЧТО-ТО записываем в лог” Постарайтесь, в первую очередь, что бы у вас было ЧЕТКОЕ понимаение “ЗАЧЕМ мы записываем в log”. Если вы это делаете потому что “вам сказали”, “так принято”, то лучше НЕ ПИШИТЕ В LOG НИЧЕГО, по крайней мере вы не сделаете “ошибок” и ваш код будет лучше выглядеть, проще читаться.
Попробую расказать об истории развития Java logging’а, в меру возможности. Почему “…” ну, потому что как говорилось в сказке “ мы шли шли шли, а что вышло, то вышло”. Вобщем история о том как шли, куда шли и как с этим жить.
Давным давно, когда программисты JUG были еще маленькими Что было нужно для logginga ? Ну, вобщем минимальная “функциональность” для logging’a это ? (варианты)
log4j — используют подсевшие на него изначально и не видящие необходимости перехода. JUL — тихо умирающий стандарт. Все, кто изначально пытался его использовать, переезжают на Logback. commons-logging — обычно задействован в legacy-библиотеках, которые очень боятся причинить неудобства пользователем, переехав на что-нибудь получше. SLF4J — очень популярен в библиотеках. Многие переехали на него, не выдержав ужасов commons-logging Logback — обычно современные high-performance серверы, которых не устраивает log4j.