Forwarded from Я сам, соломка, чай (SH)
"Odd Comments and Strange Doings in Unix"
https://www.bell-labs.com/usr/dmr/www/odd.html
https://www.bell-labs.com/usr/dmr/www/odd.html
/* You are not expected to understand this */,/ Credit to an unknown author who slipped it under the door., / this is the clever part and other legendsВот этого вот я что-то не понял. Первый - меняет местами значения двух переменных xor'ом лярд раз, второй - простой обмен через временную переменную. Дальше еще проверил вариант с
Видимо, Julia как-то сама оптимизирует или я где-то ошибся в методологии.
a,b=b,a, получился почти идентичный результат, что и с xor. Видимо, Julia как-то сама оптимизирует или я где-то ошибся в методологии.
Numbers Station Omeґа
Вот этого вот я что-то не понял. Первый - меняет местами значения двух переменных xor'ом лярд раз, второй - простой обмен через временную переменную. Дальше еще проверил вариант с a,b=b,a, получился почти идентичный результат, что и с xor. Видимо, Julia как…
Я продолжил заниматься непонятно чем. Тот же функционал на с++ дал результаты 24 +- 1 секунды с
-О0 и 0 секунд с -O3, пхех, компилятор не дал заниматься непонятно чем и резонно пропустил вызов функции. А на пикче разоблачение xor способа.Forwarded from Backtracking (Дима Веснин)
This media is not supported in your browser
VIEW IN TELEGRAM
разработчик Энди Бэйкон показывает как пользоваться сервисами вроде Google Poly чтобы получить кучу бесплатных низкополигональных ассетов для своей игры
Forwarded from Backtracking (Дима Веснин)
с помощью такой штуки намного легче прототипировать идеи игр вроде Scribblenauts и Katamari Damacy, требующих внушительные базы объектов. а ещё у Google Poly есть внятный туториал о том, как пользоваться их API и тулкитом в Unity и Unreal Engine
Forwarded from HN Best Comments
Re: Self-driving cars turned out to be harder than exp...
Alternate headline: Some people overstated how simple this problem was because they didn't know what they were talking about, could promote themselves as experts, could get funding for a self-driving startup or some combination of the above.
I guess that isn't as pithy but it's closer to the truth.
When it became clear that Uber's strategy (under Kalanick anyway) was premised on replacing drivers with AIs before the cash ran out I couldn't see general self-driving vehicles coming within 20 years. I still say that's true. AI assistance? Sure. But there's an uncanny valley there too where the AI will be good enough in most circumstances that drivers lose attention and people will die. You already see this with Tesla autopilot.
Here's a simple counterexample to the idea that self-driving cars are "just around the corner": in NYC, quite a few buildings have doormen. This is great for residents. Part of this is dealing with deliveries and so forth but there's also an issue of general security. People can sneak in (and I'm sure do) but just the fact that a human is there acts a strong (but not complete) deterrent. Just like having a dog is one of the most effective burglary deterrents.
What prevents a lot of bad actions on the roads is actually fear. Fear of what other drivers might do. Fear of road rage by other drivers. That sort of thing. This is just how humans work.
Once a driver knows the car next to them isn't driven by a person it changes their behaviour. They will do things they wouldn't do if it were a human behind the wheel, particularly because they know an AI won't ram them, cut them off, yell at them and whatever. There's no fear there. Even if there's a passenger in the car, it's still (psychologically) different.
How do you program around humans changing their behaviour to take advantage of there being no driver in your car?
cletus, 8 hours ago
Alternate headline: Some people overstated how simple this problem was because they didn't know what they were talking about, could promote themselves as experts, could get funding for a self-driving startup or some combination of the above.
I guess that isn't as pithy but it's closer to the truth.
When it became clear that Uber's strategy (under Kalanick anyway) was premised on replacing drivers with AIs before the cash ran out I couldn't see general self-driving vehicles coming within 20 years. I still say that's true. AI assistance? Sure. But there's an uncanny valley there too where the AI will be good enough in most circumstances that drivers lose attention and people will die. You already see this with Tesla autopilot.
Here's a simple counterexample to the idea that self-driving cars are "just around the corner": in NYC, quite a few buildings have doormen. This is great for residents. Part of this is dealing with deliveries and so forth but there's also an issue of general security. People can sneak in (and I'm sure do) but just the fact that a human is there acts a strong (but not complete) deterrent. Just like having a dog is one of the most effective burglary deterrents.
What prevents a lot of bad actions on the roads is actually fear. Fear of what other drivers might do. Fear of road rage by other drivers. That sort of thing. This is just how humans work.
Once a driver knows the car next to them isn't driven by a person it changes their behaviour. They will do things they wouldn't do if it were a human behind the wheel, particularly because they know an AI won't ram them, cut them off, yell at them and whatever. There's no fear there. Even if there's a passenger in the car, it's still (psychologically) different.
How do you program around humans changing their behaviour to take advantage of there being no driver in your car?
cletus, 8 hours ago
На самом деле, формулу косинуса суммы можно получить из банального скалярного произведения векторов. Все время чувствовал, что есть простой способ запомнить ее и только сейчас встретил
https://twitter.com/keenanisalive/status/1228665393545457664?s=19
https://twitter.com/keenanisalive/status/1228665393545457664?s=19
Forwarded from Brodetskyi. Tech, VC, Startups
Вот это действительно крутой биохакинг: немец создал специальный девайс, который улавливает электронные сигналы от его руки и передаёт соответствующее управляющее напряжение на модулярный синтезатор. Вместо того, чтобы крутить ручки протезом, этот чувак буквально управляет синтезатором силой мысли 🤯
https://youtu.be/qSKBtEBRWi4
https://youtu.be/qSKBtEBRWi4
YouTube
Hacking my arm prosthesis to output CV so that it plugs into my synth: Thought-controlled music!
*** EDIT: Update/part 2: https://youtu.be/9tRjeoTb3RQ
Together with Chrisi from KOMA Elektronik and my husband Daniel, I am in the process of building a device (the "SynLimb") that attaches to my arm prosthesis instead of the prosthetic hand. The SynLimb…
Together with Chrisi from KOMA Elektronik and my husband Daniel, I am in the process of building a device (the "SynLimb") that attaches to my arm prosthesis instead of the prosthetic hand. The SynLimb…
У меня тут мемная котострофа. Я потерял мем с собакой, обмотанной скотчем, и нейробиологическими терминами вроде ПЕРЕХВАТ РАНВЬЕ, АКСОН, МИЕЛИНОВАЯ ОБОЛОЧКА
Если сможете кинуть в @send_xfiles_bot буду безмерно благодарен
Если сможете кинуть в @send_xfiles_bot буду безмерно благодарен
Замечательная статья, хотя непривычно много тезисов сразу доносит. Ещё и немного поправила мое восприятие нейроночек (спасибо @sv9t_channel)
Forwarded from partially unsupervised
Я мало знаю про алготрейдинг. Кажется, что это область для действительно умных или излишне самоуверенных, я ни к одной категории себя не отношу, потому особенно не интересуюсь. Но эта статья мне понравилась: просто и задорно объясняет, почему мамкины трейдеры, которые прошли краткий курс по машинному обучению, обречены на провал. Ссылкой можно тыкать всем четким пацанчикам, которые вздумали наебать систему и заработать на форексе и прочих бинарных опционах.
Для кликабельности приведу цитату:
Хотя искусственные нейронные сети и не являются «электронной моделью человеческого мозга», некоторые свойства «разума» они все же проявляют. В основном это «лень» и «хитрость». Причем одновременно. И это не последствия зарождающегося в паре сотен «нейронов» самосознания. Это последствия того, что за популистским термином «обучение» на самом деле кроется термин «оптимизация».
Для кликабельности приведу цитату:
Хотя искусственные нейронные сети и не являются «электронной моделью человеческого мозга», некоторые свойства «разума» они все же проявляют. В основном это «лень» и «хитрость». Причем одновременно. И это не последствия зарождающегося в паре сотен «нейронов» самосознания. Это последствия того, что за популистским термином «обучение» на самом деле кроется термин «оптимизация».
Хабр
Мечтают ли нейросети об электроденьгах?
TL;DR: Нет На просторах Сети полным полно материалов, мануалов, готовых решений, сборок и прочего добра, посвященного прогнозированию цен на криптовалютные и традиционные биржевые активы, пахнущего...
#books
Чуть не забыл. Зацените, какое крутое издание 1984! Название книги и автор нанесены тиснением и увидеть можно только подставив под свет и посмотрев под подходящим углом. С другой стороны, впервые вижу такой материал обложки - как будто очень плотная бумага из вторсырья, но, тем не менее, очень приятная на ощупь. И матовая!
Чуть не забыл. Зацените, какое крутое издание 1984! Название книги и автор нанесены тиснением и увидеть можно только подставив под свет и посмотрев под подходящим углом. С другой стороны, впервые вижу такой материал обложки - как будто очень плотная бумага из вторсырья, но, тем не менее, очень приятная на ощупь. И матовая!