Better HN
topnewbestaskshowjobs
Log inSign up

angara

22 karma · joined Nov 24, 2018 (8y ago) · 6 submissions

Submissions

comment 6y ago · link · parent

Fascinating, do you have any links to papers about machine-verifiable formalisms?

comment 7y ago · link · parent

If you are following along with gcc on Linux and continuing to get linker errors even after adding -lfreetype, try passing it as the very last argument, e.g.

  gcc `pkg-config --cflags freetype2` -Wall -Werror -o main main.c -lfreetype

comment 7y ago · link · parent

> This whole “study” is based on data gathered through a “viral Facebook quiz” in which people provided self-assestments of their own skills and learning process.

The quiz (which you can take yourself at http://archive.gameswithwords.org/WhichEnglish/) measured syntactic competence with various tasks that were carefully tuned and based on prior peer-reviewed research [1, sec. 2.4]. At no point did quiz respondents provide self-assessments of their linguistic ability, beyond demographic information like identifying their native language and year of first exposure to English.

[1]: https://l3atbc-public.s3.amazonaws.com/pub_pdfs/JK_Hartshorn...

comment 7y ago · link · parent

Regular expressions are also useful for lexing. I like to work from this example code from the Python standard library docs: https://docs.python.org/3.6/library/re.html#writing-a-tokeni...

comment 7y ago · link · parent

Historically inaccurate flags are used for the Soviet Union, Germany pre-1949, and Libya as well. It seems the creator chose to use the modern flag in all cases for consistency.

comment 7y ago · link · parent

> Java is not a good language for compilers

Could you elaborate?