This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let on f g = fun x y -> f (g x) (g y) | |
(* uncurry from https://thelema.github.io/batteries-included/hdoc/BatPervasives.html | |
dunno if you can use that *) | |
(* line 15 can't be rewritten like that. | |
I'm still trying to come up with another solution, but it's really different from the other two *) | |
(* line 16 *) | |
List.map (fun (vx, vy) -> atan2 (float_of_int vy) (float_of_int vx)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Это логи чата, а не протокол какого-то собрания, так что просьба шуточки про JS | |
близко к сердцу не принимать. Кроме того, речь идёт о JVM, Erlang VM, браузерах, | |
native, поэтому слово «абстракция» следует понимать как «платформа». —Minoru | |
Из [email protected]: | |
<ForNeVeR> ɹǝɟılʍǝu: смотри что. У JS есть своя семантика (модель памяти, | |
выполнения, и проч.). Прямых маппингов на машинную модель у неё нету. | |
JS не зависит от машины. Поэтому, чтобы писать на JS, тебе нужно |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Distributed under the terms of the GNU General Public License v2 | |
# $Id$ | |
EAPI=5 | |
PYTHON_COMPAT=( python3_4 ) | |
inherit eutils python-single-r1 | |
DESCRIPTION="Checking tool for gettext POT, PO and MO files" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Thread 3 (Thread 0x7f236da08700 (LWP 26588)): | |
#0 0x00007f237227f190 in nanosleep () from /usr/lib/libc.so.6 | |
No symbol table info available. | |
#1 0x00007f237227f09a in sleep () from /usr/lib/libc.so.6 | |
No symbol table info available. | |
#2 0x000055a0a2ecd376 in newsbeuter::reloadthread::operator() (this=0x55a0a443e988) at src/reloadthread.cpp:40 | |
seconds_to_wait = <optimized out> | |
#3 0x00007f2372842a6f in std::execute_native_thread_routine (__p=0x55a0a443e980) at /build/gcc/src/gcc/libstdc++-v3/src/c++11/thread.cc:83 | |
__t = std::unique_ptr<std::thread::_State> containing 0x55a0a443e980 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <curl/curl.h> | |
#include <cstddef> | |
#include <iostream> | |
#include <vector> | |
#include <cstring> | |
#include <libxml/HTMLparser.h> | |
#include <libxml/tree.h> | |
#include <libxml/parser.h> | |
#include <libxml/xpath.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use async_std::task::block_on; | |
use async_std::task::{sleep, spawn}; | |
use pin_project_lite::pin_project; | |
use std::future::Future; | |
use std::pin::Pin; | |
use std::task::{Context, Poll}; | |
use std::time::Duration; | |
pin_project! { | |
struct TwoFutures<Fut1, Fut2> { |
OlderNewer