HN user

calo_star

56 karma
Posts1
Comments45
View on HN

`std::optional<T>`'s style is more akin to using

  if x.is_some() {
    let x_value = unsafe { x.unwrap_unchecked() };
  }
everywhere.

- Google has a number of "sponsored" results at the top of search results, which look identical to the actual search results, other than having a "sponsored".

That was the reason I switched away from Google. Here when I search "apache cassandra" the first result is something something free trial.

edit: I just tried with Bing it gave something similar, oh well.

NeXT Computers 3 years ago

CoreGraphics often emphasizes it's ability to draw PDF, I guess that has to do with the Display PostScript lineage as well.

Erlang processes indeed do cooperative multitasking under the hood, something like yielding control to the scheduler roughly every 1000 function calls.

They are not relevant, the author made a totally irrational choice by benchmarking under Windows, not realizing the Deck is marketed as a Linux machine first and foremost, and they should be ashamed of themself.

One thing I love about Elixir's syntax is that virtually everything is a call, take the if statement:

  if condition do
    IO.puts "true"
    :yes
  else
    IO.puts "false"
    :no
  end 
is just a call to the *Kernel.if/2* macro:
  if(true, do: (IO.puts("true"); :yes), else: (IO.puts("false"); :no))
I was joyous when I realized I could pipe stuff into a case statement.

My hot take: Anyone who's new to the BEAM/ERTS/OTP ecosystem should just go learn Elixir instead: You get to learn Erlang for free, and you get to use nicer build system, package manager etc..

So it isn't just me then! There was this one time, I downloaded a piece of porn in h.265 .mkv and I wanted to change its container to mp4 using ffmpeg(so that I could view it on iPad), and I actually, actually got pissed. In the end I just re-encoded the whole thing using Handbrake. The documentation does not explain its syntax.