Трохи угару: в Apple є спеціальна служба Глобальної Безпеки, задача якої — запобігати витоку інформації з компанії. Так от, нещодавно в мережу злили схему роботи цієї служби.
https://goo.gl/pbipgM
https://goo.gl/pbipgM
Forwarded from Hanna
Команда DEV Challenge шукає волонтерів на заключну подію 11 Чемпіонату з розробки - Фінал. Подія відбудеться 1-2 липня у першому технопарку країни - UNIT City. Заповнюйте анкету і гарантовано отримаєте купу незабутніх вражень: http://qoo.by/2c61
Forwarded from Maksym Khamrovskyi
Рєбят, чого вам, як технарям, не вистачає в універі (крім сучасної програми і компів)?
Помічали щось, що хотілося б мати, але чого тупо не було?
Зараз справді є можливість зробити щось мегакруте. Але важливо, щоб у ком'юніті справді була в цьому потреба. По хостингу ясно, що можна по студаку зарішати, але може є інші потреби?
Гоу генерити ідеї, щас або ніколи!
Помічали щось, що хотілося б мати, але чого тупо не було?
Зараз справді є можливість зробити щось мегакруте. Але важливо, щоб у ком'юніті справді була в цьому потреба. По хостингу ясно, що можна по студаку зарішати, але може є інші потреби?
Гоу генерити ідеї, щас або ніколи!
Forwarded from Oleksii
New facts from J.Skeet "C# in Depth" book
1) Delegate is an object, event is, actually - the collection of delegates, which invoke one after one when event is triggered.
Delegates cause memory leaks. For example, object A is subscribed on object B event. Delegates prevent its' holders to be garbage collected. So, object B implicitly holds an alive reference on object B, so until object A will unsubscribe to event, it will never be collected.
2) Boxing can be implicit and explicit.
Generics make implicit boxing if generic constraints does not handle passing value types instead of reference types.
Example : class A<T> -> if object is passed - ok, if struct - implicit boxing
class A<T> where T : class -> fixes this issue
3) static constructors + generics -> already know, that for each generic instance the new class is generated by compiler + CLR does not guarantee, when static constructor is gonna be called, but we know exactly, that before the first "new" call.
4) Generics are invariant, that means, that you can't implicitly cast derived type to base type.
That makes sense, because instance methods will ask for the base type, so you can pass everything that derives this base type.
Arrays are variant, but they will fail at runtime with exception.
5) Java VM sucks because it knows nothing about generics and compiles generic classes to non-generic with casts, when performing operations.
6) yield statement compiles to state machine, which supports lazy-evalutaion and only works when there's access to iterable variable. That's why LINQ has this feature.
7) anonymous types compile to object of generic class. But even anonymous objects with same properties will compile to different generic classes' objects
8) lambda expressions can compile to delegates invoking (Enumerable) or building an expression tree I(Queryable), which compiles to delegate (like in LINQ TO SQL, or EF).
9) extensions methods compiled in earlier versions of .NET as methods with "ExtensionAttribute"
10) async method compiles to state machine which implements IAsyncStateMachine.
It works like this - initial state of state machine is -1. Then MoveNext() method is calling.
Then the code below await is working, then await method is working (it returns Awaiter and bunch of gotos which check state of excecution). If operation is done or exception is thrown, then it sets the state to 2.
11) async void and async Task is pretty much the same. It makes the same thing, but async void is made in order to make non-async events (in WPF, for example) async.
1) Delegate is an object, event is, actually - the collection of delegates, which invoke one after one when event is triggered.
Delegates cause memory leaks. For example, object A is subscribed on object B event. Delegates prevent its' holders to be garbage collected. So, object B implicitly holds an alive reference on object B, so until object A will unsubscribe to event, it will never be collected.
2) Boxing can be implicit and explicit.
Generics make implicit boxing if generic constraints does not handle passing value types instead of reference types.
Example : class A<T> -> if object is passed - ok, if struct - implicit boxing
class A<T> where T : class -> fixes this issue
3) static constructors + generics -> already know, that for each generic instance the new class is generated by compiler + CLR does not guarantee, when static constructor is gonna be called, but we know exactly, that before the first "new" call.
4) Generics are invariant, that means, that you can't implicitly cast derived type to base type.
That makes sense, because instance methods will ask for the base type, so you can pass everything that derives this base type.
Arrays are variant, but they will fail at runtime with exception.
5) Java VM sucks because it knows nothing about generics and compiles generic classes to non-generic with casts, when performing operations.
6) yield statement compiles to state machine, which supports lazy-evalutaion and only works when there's access to iterable variable. That's why LINQ has this feature.
7) anonymous types compile to object of generic class. But even anonymous objects with same properties will compile to different generic classes' objects
8) lambda expressions can compile to delegates invoking (Enumerable) or building an expression tree I(Queryable), which compiles to delegate (like in LINQ TO SQL, or EF).
9) extensions methods compiled in earlier versions of .NET as methods with "ExtensionAttribute"
10) async method compiles to state machine which implements IAsyncStateMachine.
It works like this - initial state of state machine is -1. Then MoveNext() method is calling.
Then the code below await is working, then await method is working (it returns Awaiter and bunch of gotos which check state of excecution). If operation is done or exception is thrown, then it sets the state to 2.
11) async void and async Task is pretty much the same. It makes the same thing, but async void is made in order to make non-async events (in WPF, for example) async.
Є ідея накупити машин і розгорнути щось таке в бібліотеці. Як вам?
https://azure.microsoft.com/ru-ru/overview/azure-stack/
👍 — круто
👎 — не круто, треба думати ще
✌️ — не вникаю в тему
Всі ідеї і побажання кидати сюди: @itkpi_flood
https://azure.microsoft.com/ru-ru/overview/azure-stack/
👍 — круто
👎 — не круто, треба думати ще
✌️ — не вникаю в тему
Всі ідеї і побажання кидати сюди: @itkpi_flood
Microsoft
Azure Stack | Microsoft Azure
Узнайте, как Azure Stack обеспечивает гибкость облачных вычислительных решений в локальной среде.
Так, ще одна ідея.
Затарюємось купою компів з потужними відеокартами, ставимо на них Ubuntu з усім пакаваном необхідного софту для тренування нейромереж і робимо "комп'ютерний клуб дата-саєнтистів".
Ідеально для тих, у кого слабкий комп, але хочеться затестити DS.
Можна розвести локальну мережу по бібліотеці і коли захотілось потренувати якусь нейронку — підключився до машини по шнуру і погнав.
👍 — круто
👎 — не круто, треба думати ще
✌️ — не вникаю в тему
Свою думку висловлювати тут: @itkpi_flood
Затарюємось купою компів з потужними відеокартами, ставимо на них Ubuntu з усім пакаваном необхідного софту для тренування нейромереж і робимо "комп'ютерний клуб дата-саєнтистів".
Ідеально для тих, у кого слабкий комп, але хочеться затестити DS.
Можна розвести локальну мережу по бібліотеці і коли захотілось потренувати якусь нейронку — підключився до машини по шнуру і погнав.
👍 — круто
👎 — не круто, треба думати ще
✌️ — не вникаю в тему
Свою думку висловлювати тут: @itkpi_flood
Той момент, коли "нерадивий студент" -- переможець KPI Vision Hack і зафігачив топовий проект.
Forwarded from КПІ live 🇺🇦
На фб легкий #КПИобмаз. Препод с ФПМ пожаловался на нерадивых студентов. Студенты зашли в тред и понеслась:
https://m.facebook.com/story.php?story_fbid=1914721188784039&id=100007385298398
https://m.facebook.com/story.php?story_fbid=1914721188784039&id=100007385298398
Forwarded from КПІ live 🇺🇦
Forwarded from Maksym Vlasov
Треба писати API до ваших сервісів так, щоб їх потім у різних мовах можна було реалізовувати ось таким чином:
https://github.com/confirm/PhpZabbixApi/blob/master/templates/abstract.tpl.php#L568-L601
https://github.com/confirm/PhpZabbixApi/blob/master/templates/abstract.tpl.php#L568-L601
GitHub
confirm/PhpZabbixApi
PhpZabbixApi - A PHP library for the Zabbix™ JSON-RPC API.
Forwarded from Maksym Vlasov
Самопідтримувана ліба
Це мб найкрутіше, що я в лібах взагалі бачив
Це мб найкрутіше, що я в лібах взагалі бачив
Forwarded from Skydev
Ребят, может есть тут супер-про спецы по ораклу? Есть триггер который срабатывает после логона в базу, есть юзер у которого есть роли с флажком default. Вот после обновления до 12c какого-то хера dbms_session.is_role_enabled в триггере на эту роль всегда возвращает FALSE (в 11g всё было нормально). Это в 12c как-то модернизировали сесурити процедур (втч и триггеров) или дефолт роли не хотят применятся? В инете нихренашеньки не нашел толкового.
Вітаємо! Детальніше про івент тут: https://dou.ua/calendar/16108/
ДОУ
Безкоштовна літня школа з Інтернету речей, 19 — 24 червня, Київ
Учасники школи поділяться на команди і протягом тижня працюватимуть над реальними проектами: метеостанція, система реєстрації відвідувачів, мобільний робот-дослідник мапи перешкод, система доступу до обладнання коворкінгу, керування віддаленим об’єктом за