This is not intended to be comprehensive or authoritative, just free online resources I've found valuable while learning more about Erlang.
- 日時: 2015-08-24 19:15-20:40
- 講師:
- 野島 梨恵氏 (東京山王法律事務所)
- 場所: Co-Edo
- 資料
- ハッシュタグ #coedo
- On C, the for statement expressions are evaluated each time in the loop.
- On Lua, the for statement expressions are evaluated only once at the beginning of the loop.
- So you can rewrite the exit condition in C during the execution of the loop body;
- but in Lua you can't do that; all loop parameters in the numeric for are evaluated only once.
- Note: always set
umask 022
for system-shared libraries - See http://blog.equanimity.nl/blog/2014/02/09/erlang-r17-rc1-on-osx-with-wx-and-a-working-observer/ for the details
- wxWidgets 3.0.0 works the same in R16B03-1 and 17.0-rc2
- Note well:
wx:demo()
on OS X 10.9.2 with wxWidgets 3.0.0 is still unstable, thoughobserver:start()
is more stable. - If you really don't have time, try Erlang Solutions' 32bit (not 64bit) distribution at https://www.erlang-solutions.com/downloads/download-erlang-otp to use it as a debugging console.
- Update 28-FEB-2014 0230UTC: Leo Liu reports
brew install wxmac --disable-monolithic
will do. See http://erlang.org/pipermail/erlang-questions/2014-February/077952.html.
(See http://lists.freebsd.org/pipermail/freebsd-announce/2014-April/001541.html)
FreeBSD port security/openssl have been patched on 2014-04-07 21:46:40 UTC (head, r350548) and 2014-04-07 21:48:07 UTC (branches/2014Q2, r350549).
FreeBSD base system have been patched on 2014-04-08 18:27:32 UTC (head, r264265), 2014-04-08 18:27:39 UTC (stable/10, r264266), 2014-04-08 18:27:46 UTC (releng/10.0, r264267). The update is available with
If you have found any problems and bugs on project name, submit an issue on the GitHub repository at https://the-project-url.examples.com/.
When you propose a pull request, send the diff with the next branch. The PR will be reviewed and the authors will decide whether it will be merged into the master branch.
If you do not want to use GitHub but have something to
#!/usr/bin/perl | |
# tai-detect.pl: detecting current time offset between | |
# the system unmodified time with gmtime() and | |
# the leap-second-aware time using Perl DateTime module | |
# by Kenji Rikitake <kenji.rikitake@acm.org> | |
# RCS $Id: tai-detect.pl,v 1.3 2008/09/16 08:16:48 kenji Exp kenji $ | |
use strict; | |
use DateTime; |
#include <pthread.h> | |
#include <stdio.h> | |
int main(int argc, char *argv[]) | |
{ | |
size_t stacksize; | |
pthread_attr_t attr; | |
pthread_attr_init(&attr); | |
pthread_attr_getstacksize (&attr, &stacksize); | |
printf("Default stack size = %zu\n", stacksize); |
# See http://stackoverflow.com/questions/11775109/determine-if-makefile-is-executed-with-gmake | |
# and http://stackoverflow.com/questions/11775197/how-to-execute-gmake-make-from-a-bash-script-file | |
# for the GNUMAKE detection script | |
# If stock `make` is GNU Make, use `make`; otherwise use `gmake` | |
GNUMAKE=@`sh -c \ | |
'if (make --version | grep "^GNU Make" 2>&1 >/dev/null); \ | |
then echo make; else echo gmake; fi' 2>/dev/null` | |
TARGETMAKEFILE= ./name-of-the-target-Makefile |
d0a02b3836451753d493665d33f0e8862dea54cdb293abc7506939276772f8d5021c19216bad525c8579695d83ba2684 |