HNHacker News
TopNewBestAskShowJobs

vmorgulis

5,306 karma · joined June 8, 2015

submissionscomments
vmorgulis··on Fake UI
An implicit rule in the cinema is also to beautify everything.
vmorgulis··on Fake UI
I stole the link from this interesting post on the subject:

https://news.ycombinator.com/item?id=11827005

vmorgulis··on Alan Kay's reading list
Sure!

https://twitter.com/urbit_/status/738099830233272321

vmorgulis··on Ask HN: What do you strive for when you are programming?
Fun!
vmorgulis··on Ask HN: Relationship between OO and functional programming?
I would say an object is a state machine and a pure function is a transition.
vmorgulis··on The Nickle programming language
Tutorial: http://nickle.org/tutorial/
vmorgulis··on C as an Intermediate Language (2012)
Yes it is.

For me, C as an intermediate vs LLVM language is a "worse is better" or "good enough" issue.

LLVM is far more powerful but more complex. C is simpler and already works everywhere.

vmorgulis··on C as an Intermediate Language (2012)
Porting nothing is better.
vmorgulis··on C as an Intermediate Language (2012)
If the target compilers are GCC and clang, C++ is even a better intermediate language.
vmorgulis··on Lambda expression comparison between C++11, C++14 and C++17
https://isocpp.org/files/papers/p0018r3.html

It's the best reference I found. The paper only talks of capturing "*this" by value (as in the original post of the topic).

I think I read that in a draft about coroutines. The idea was to capture "this" by reference and convert the lambda to a function pointer to make it movable.

It would useful for delegates or signals too.

vmorgulis··on Lambda expression comparison between C++11, C++14 and C++17
There is another interesting feature in C++17 for lambdas:

Possibility to cast a lambda to a function pointer.

It will become possible to store a lambda as a struct/member that could bind to "this" (like in Javascript).

vmorgulis··on Why Some Countries Are Poor and Others Rich
> I wanted to be a hero and fix India's problems but then I took the easy way out and moved to a developed country.

Not so easy way :-)

The video says that 20% of the wealth is cultural. I guess it's more. Western countries are probably so successful because they inherited the greek and roman culture.

Some countries in Asia (like Japan) switched from feudalism to capitalism in few decades.

The difficulties of Africa could be explained by the lack of the writing (unless it's a consequence). The society is more flat than vertical.

vmorgulis··on 30 years later, QBasic is still the best
BASIC-256 is a good alternative to QBasic: http://www.basic256.org/index_en

The voice synthesis with the "say" command is impressive: http://doc.basic256.org/doku.php?id=en:say

Say "Hello, World" (instead of Print...)

vmorgulis··on 1984 v. Brave New World
Yes! D-503 reminds me a lot THX 1138...
vmorgulis··on 1984 v. Brave New World
Zamyatin is the less known precursor of Huxley and Orwell:

https://en.wikipedia.org/wiki/Yevgeny_Zamyatin

vmorgulis··on “Fiercely resist any further broadening of the scope of the C UB problem”
ubsan could help a lot: http://clang.llvm.org/docs/UndefinedBehaviorSanitizer.html
vmorgulis··on The Theory of Concatenative Combinators
The combinators (operators on the stack) are often limited to 1, 2 or 3 parameters picked on the top of the stack.

In Lisp you can write (+ 1 2 3 ... n).

With a stack-based language, you might write:

    1 //push 1
    2 //...
    3 
    + //add 3,2 and push 5
    + //add 5,1 and push 6
vmorgulis··on The Theory of Concatenative Combinators
Yes a bit but stack operators have always an "ary". Lisp works on "n".
vmorgulis··on Show HN: Min – web browser with better search and built-in ad blocking
IMHO the truly one because of it's render engine (not webkit/gecko/blink-based).
vmorgulis··on Calculating PI with bc

    time echo "scale=10000; 4*a(1)" | bc -l

    3.141592...

    real  2m33.930s
    user  2m32.304s
    sys	  0m1.308s
vmorgulis··on Founder of Blackwater's Drive to Build a Private Air Force
Or apes ;-)
vmorgulis··on Founder of Blackwater's Drive to Build a Private Air Force
> When people in Germany get their bank accounts seized by the FBI because they bought Cuban Cigars from a shop in Denmark, and it's justified with "US Embargo of Cuba", it becomes easily noticeable that it's not the laws of the UN governing the world.

Or the weakness of those countries towards US that can be explained by recent history.

vmorgulis··on Founder of Blackwater's Drive to Build a Private Air Force
> A club of 5 members which list will never be revised and who aspire to rule the world.

Until next war.

vmorgulis··on Ask HN: Submit Please limit text to 2000 characters
The upper message is 2000 char width.
vmorgulis··on Ask HN: Submit Please limit text to 2000 characters
.........0.........0.........0.........0.........0.........0.........0.........0.........0.........a.........0.........0.........0.........0.........0.........0.........0.........0.........0.........a.........0.........0.........0.........0.........0.........0.........0.........0.........0.........a.........0.........0.........0.........0.........0.........0.........0.........0.........0.........a.........0.........0.........0.........0.........0.........0.........0.........0.........0.........a.........0.........0.........0.........0.........0.........0.........0.........0.........0.........a.........0.........0.........0.........0.........0.........0.........0.........0.........0.........a.........0.........0.........0.........0.........0.........0.........0.........0.........0.........a.........0.........0.........0.........0.........0.........0.........0.........0.........0.........a.........0.........0.........0.........0.........0.........0.........0.........0.........0.........X.........0.........0.........0.........0.........0.........0.........0.........0.........0.........a.........0.........0.........0.........0.........0.........0.........0.........0.........0.........a.........0.........0.........0.........0.........0.........0.........0.........0.........0.........a.........0.........0.........0.........0.........0.........0.........0.........0.........0.........a.........0.........0.........0.........0.........0.........0.........0.........0.........0.........a.........0.........0.........0.........0.........0.........0.........0.........0.........0.........a.........0.........0.........0.........0.........0.........0.........0.........0.........0.........a.........0.........0.........0.........0.........0.........0.........0.........0.........0.........a.........0.........0.........0.........0.........0.........0.........0.........0.........0.........a.........0.........0.........0.........0.........0.........0.........0.........0.........0.........2
vmorgulis··on How good is your French accent?
The best french accent I've heard in a movie is from Sacha Baron Cohen: https://youtu.be/yv7UJLOyERs?t=17
vmorgulis··on How good is your French accent?
> Also, French people are often shy of speaking English.

I think it's more pride than shyness mostly because of history and the rivalry with England. It's unconscious too.

vmorgulis··on Space X lands Falcon 9 stage 1 on drone ship (picture)
I see him as a moderm Edison (without Menlo Park).

Maybe his company will become the biggest in the world like GE. A small posthumous revenge for Nikola Tesla.

vmorgulis··on RISC-V Offers Simple, Modular ISA
I've just found their online simulator (caller ANGEL). It boots linux and busybox:

http://riscv.org/angel-simulator/

vmorgulis··on RISC-V Offers Simple, Modular ISA
Which CPU did you try?
← PreviousPage 5 of 20Next →