Numbers Station Omeґа
422 subscribers
1.18K photos
15 videos
14 files
491 links
Борюсь зі свідомістю, резоную з реальністю, ненавиджу (насправді ні) ХХІ ст. Філіал церкви свідків Пітера Уоттса

Спочатку тут були меми, зараз - amateur non-profit навукпоп з любов'ю до математики

Зв'язок та nudes сюди: @send_xfiles_bot
Download Telegram
Выл чуть дольше, чем позволяют правила приличия
Сегодня начал посещать лекции по дифференциальной геометрии и наконец-то, после стольких лет, разобрался, что из себя представляет гладкое многообразие!
Потом упомянули Группы Ли и теперь не могу не вспомнить классику:
Потрясающе
Forwarded from Я сам, соломка, чай (SH)
"Odd Comments and Strange Doings in Unix"
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'ом лярд раз, второй - простой обмен через временную переменную. Дальше еще проверил вариант с a,b=b,a, получился почти идентичный результат, что и с xor.
Видимо, Julia как-то сама оптимизирует или я где-то ошибся в методологии.
Numbers Station Omeґа
Вот этого вот я что-то не понял. Первый - меняет местами значения двух переменных xor'ом лярд раз, второй - простой обмен через временную переменную. Дальше еще проверил вариант с a,b=b,a, получился почти идентичный результат, что и с xor. Видимо, Julia как…
Я продолжил заниматься непонятно чем. Тот же функционал на с++ дал результаты 24 +- 1 секунды с -О0 и 0 секунд с -O3, пхех, компилятор не дал заниматься непонятно чем и резонно пропустил вызов функции. А на пикче разоблачение xor способа.
Еще один скриншот из будней студента прикладной математики. В среднем что бы посортировать квиксортом массив из 2 элементов требуется 11 сравнений 😏
Forwarded from xkcd
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