HNHacker News
TopNewBestAskShowJobs

lelf

67,542 karma · joined April 20, 2011

  occasional c⊎k⊎haskell⊎erlang hacker
  #76d6ff
submissionscomments
lelf··on Using /proc to get a process' current stack trace
Also you can easily get both kernel- and user-level stack trace with dtrace.
lelf··on Panspermia
There’s an interesting paper mentioned: The DNA of Bacteria of the World Ocean and the Earth in Cosmic Dust at the International Space Station https://www.hindawi.com/journals/tswj/2018/7360147/
lelf··on Brief aerobic exercise immediately enhances attention and perceptual speed
Yep. Found it too (independently, haven’t updated the comments). Another link (same paper) https://www.researchgate.net/publication/274087768_Measureme...

> The results of this study also show that the GC group has a performance that is 42% better than the GC-EF group. These data seem indicate that after an intense physical exercise, people without ADHD show impairment in attention performance. However, this hypothesis requires further studies, which include the assessment of the duration of this effect.

lelf··on Bpftrace for Linux 2018
1. Obviously Linux-only. How is it DTrace 2.0?

2. That’s a staggering amount of NIH, from CTF to syntax. Why?

lelf··on E-Ink Monitors: Ready for Prime Time?
Interesting.

Basically two displays: primary IPS and secondary E-ink. But keyboard is… virtual, you type on e-ink.

lelf··on Recursive fibonacci benchmark using top languages on GitHub

    18> timer:tc(fun fib:main/0). 
    2971215073
    {59352962,ok}                        % 59s… slooow

    19> hipe:c(fib, [o3]).               % compile with Hipe
    {ok,fib}

    20> timer:tc(fun fib:main/0).
    2971215073
    {12570352,ok}                        % 12.5s!
PS that's Erlang, but it will be similar with Elixir.
lelf··on EC2 Instances with 6, 9, and 12 TB of Memory
From the page:

>> SAP HANA in Minutes

> The EC2 High Memory instances are certified by SAP for ⟨…⟩

[SAP HANA keeps everything in RAM.]

lelf··on On Go, Portability, and System Interfaces (2015)
Not to mention systems without syscalls [as concept] at all.

Simple example: GNU/Hurd’s glibc works quite differently.

lelf··on Elephant birds: Who killed the largest birds that ever lived?
More info http://www.sciencemag.org/news/2018/09/new-find-clears-madag...

Paper http://advances.sciencemag.org/content/advances/4/9/eaat6925...

lelf··on Kitty – a fast, featureful, GPU based terminal emulator
For instance, iTerm supports italic, which Terminal.app doesn't

It does (just checked).

lelf··on Introducing Keybase Chat
For instance, fs_usage(1)
lelf··on Samsung may remotely kill all unreturned Galaxy Note 7's
[speculated based on a reddit post]
lelf··on Functional Programming Isn't the Answer (2014)
> You're missing the point.

I don't think I am. That code deliberately uses Haskell’s low-level features. It’s like saying, “hey, high-level languages don‘t even save you from segfaults! Just look at my purposely crafted low-level code in a high-level (but not dead, so it has low-level interface) language that access memory at 0.“

lelf··on Functional Programming Isn't the Answer (2014)
Sorry for trolling, but sometimes I just have to.

“Look at my intentionally non-thread-safe, spaghetti imperative implementation. It sucks! So FP sucks.”

lelf··on UTF-8 Everywhere (2012)
Perl6 does support them natively too.
lelf··on Toward a URL for every function
Same. Was expecting something like http://www.haskellforall.com/2015/05/the-internet-of-code.ht... https://github.com/Gabriel439/Haskell-Annah-Library
lelf··on GHC 8.0.1 is available
It goes in that direction with https://ghc.haskell.org/trac/ghc/wiki/Backpack
lelf··on Ask HN: Why is it still so hard to host your own email/calendar that just works?
I thought so too.

Well, until you have done everything, — DKIM, SPF and checks are green… And gmail is continuing put your e-mail to spam every now and then :/

lelf··on Two Bytes to $951M
I'd be bold and say it doesn't really matter. It's all security through obscurity.
lelf··on The Expression Problem and its solutions
https://en.wikipedia.org/wiki/Expression_problem

> The goal is to define a datatype by cases, where one can add new cases to the datatype and new functions over the datatype, without recompiling existing code, and while retaining /static type safety/

So, while there's an easy way to write something with lispy multiple dispatch, it is not a solution, sorry.

lelf··on Tesla Model S autonomously crashes into a parked trailer while in ‘summon’ mode
Update: Driver whose Tesla Model S crashed while using Summon was breaking all the rules

http://www.theverge.com/2016/5/11/11658226/tesla-model-s-sum...

lelf··on The Evolution of a Haskell Programmer (2001)
That would be true for a toy Haskell compiler. “The standard” Haskell compiler, GHC, can do a whole lot of optimisations and produces really good machine code nowadays.
lelf··on Uninstalling Facebook app saves up to 15% of iPhone battery life
iOS allows processes to run in the background (after being in the foreground) for some time even with this setting turned off. So this can be quite a difference (I don't use Facebook, but it's fairly noticeable with Viber).
lelf··on You Need More Lumens
> There’s clinical evidence that ramping up the brightness gradually before you wake up (“dawn simulation”) is highly effective.

Can someone recommend a ready-made solution?

lelf··on MEGAChat now includes end-to-end encryption
> Not on iOS

Tried just now. It does require it and doesn't work without it.

             Sorry!

  Signal requires access to your
  contacts. We do not store your
  contacts on our servers.

         [Give access]
lelf··on The password hash Argon2, winner of PHC
Some discussion here: https://news.ycombinator.com/item?id=10857771 (less than a day ago)
lelf··on “Rootless” feature in El Capitan means DTrace no longer works
> DTrace is similar to ptrace/strace in Linux

No. It's 10000× more. http://www.dtracebook.com/

lelf··on Biggest mystery in mathematics in limbo after cryptic meeting
If you don't follow how it came mathematicians have so much trouble with some papers:

This is part I — http://www.kurims.kyoto-u.ac.jp/~motizuki/Inter-universal%20...

lelf··on Unicode, Perl 6, and You
Yes. Bear in mind however that ligatures are in Unicode only for the backward compatibility.

  > 'ffl'.chars
  1
lelf··on Unicode, Perl 6, and You
> ES6 includes support for Unicode regexps

Will it provide \X for example? (\X matches extended grapheme cluster.)

> am I missing any languages that do?

Swift is one notable example. It has built-in and simple enough grapheme handling.

← PreviousPage 8 of 21Next →