HNHacker News
TopNewBestAskShowJobs

pgz

258 karma · joined August 11, 2013

GitHub: https://github.com/pigoz Twitter: @pigoz Freenode: pigoz
submissionscomments
pgz··on Bublé: a fast, batteries-included ES2015 transpiler
> Rather than manipulating the AST, Bublé manipulates the source code directly, using the AST as a guide – so there's no costly code generation step at the end.

Is that really good idea when looking at the possibility of introducing bugs in the transpiler?

pgz··on iPhone SE
WTF. €609 in Europe vs $499 in the US for the 64GB model.

I will not let them get away with this pricing model. Keeping my trusted Nokia 2700 :)

pgz··on What's New in Webpack 2
We solved this with https://github.com/jackfranklin/jspm-dev-builder

It's so fast now.

pgz··on What's New in Webpack 2
We are using jspm on an inherited codebase that was concatenated "by hand" with Rails' asset-pipeline (it has lots of old libraries and the overrides are very good to handle them).

What we hate is jspm is extremely slow in development for us. There are two main causes:

  - The amount of xhr. This is solvable with http2's server push (but
    our dev server is in Ruby, and there's no http2 webserver yet).
  - Apparently jspm doesn't cache the result of Babel's compilation,
    so for each page refresh every file has to be recompiled again.
We will look at Webpack2 when it's released, if it allows us to use these legacy libraries and wins us some development speed we will not look back.
pgz··on Yahoo to cut 15 percent jobs, close several units
This, IMHO, is the crucial point: what exactly is Yahoo's business?

As an outside watcher I have no clue (I am also stupid). Hopefully people working there have better insight than myself.

pgz··on ClojureScript Year in Review
That holygrail project looks cool thanks. As a Clojure newbie, I'm not too fond of Lein to be honest.
pgz··on How will you be programming in a decade?
How will you be programming in a decade?

With Vim (or Emacs)... that's kind of obvious.

pgz··on Ask HN: Who is hiring? (October 2015)
Gromia - https://www.gromia.com | Milano, Italy | Full time | Onsite/Remote

Gromia is an early stage startup aiming to digitalize home rentals and make agents a thing of the past. We are looking for a:

- Frontend Developer (https://www.gromia.com/jobs/frontend-developer)

If you apply mention you come from HN :)

pgz··on Elixir v1.1.0 Released
It really depends on the startup. For some form of chat application or distributed system he will find himself reinventing less compared to the competition. Would be a great way to beat the averages :)
pgz··on Ask HN: Did you implement a lunch picking app at your startup?
When in doubt, we used this.

  irb
  xs = %w(indian antichi ramen vietnamese bue pastificio)
  xs[rand(xs.size))]
Otherwise we talked to one another.
pgz··on Sublime Text 3 builds picking up steam again
Well, in some time you will lose all your productivity when you have to switch. With a proprietary tool it's not a matter of 'if' but 'when' (unless it's provided by a huge corporation, but then they try to lock you in their ecosystem).

OTOH I will be able to use vim (or a fork of it) 20-30 years from now and become more and more productive with it during the timeframe.

pgz··on Sublime Text 3 builds picking up steam again
I don't really like Atom because of the webkit usage, but I strongly agree that using a closed source text editor is a terrible idea for a programmer... when that editor stops being maintained all the time investment learning all it's time saving tricks is lost.

Luckily I've been burned really early in my programming career by TextMate to know better: all my tools must be OSS and cross-platform.

pgz··on Making Ruby Faster
I meant having something like:

if (check_cfunc(ci->me, rb_obj_equal)) { return rb_obj_equal(recv, obj); }

and trusting the compiler to inline rb_obj_equal (or using inline), although I reckon you don't probably want rb_obj_equal to always be inlined.

pgz··on Making Ruby Faster
Great article! What I don't understand is why can't they make the compiler inline the function instead inlining manually?
pgz··on Nvidia's G-Sync: Attempting to Revolutionize Gaming via Smoothness
This also looks really good for video playback (as in movies). It would avoid stuttering from pulldown. I am quite hyped about this.
pgz··on Nidium – A new browser engine
They claim no HTML in the video though, so I expect to be more like programming a GUI toolkit than a web application.
pgz··on SDL 2.0.0 is out after many years in development
On OS X main was wrapped in a function that made it work with the Finder (manipulating an argv containing --psn).

It was annoying to me because I worked on a application that did the same thing internally and where SDL was not a hard dependency. But well, it's not that bad as I make it sound.

pgz··on SDL 2.0.0 is out after many years in development
That's great news, I always felt the whole SDL_main thing to be quite evil.
pgz··on mpv - a free and open-source general-purpose video player
Interesting, it should actually build with ffmpeg 1.2 correctly (as a matter of fact I have been using it until 2 days ago).

If you can reproduce it, I'd love a bug report.

pgz··on mpv - a free and open-source general-purpose video player
That player has a nice GUI but renders colors incorrectly with common h264 HD videos that use planar YUV colorspace (pretty much all of them use it).

It always uses the BT.601 colormatrix to perform the YUV -> RGB colorspace conversion. While for HD material one should use the BT.709 colormatrix.

In practice you will notice darker reds that are closer to purple for this implementation error.

pgz··on mpv - a free and open-source general-purpose video player
Did you actually activate vdpau with `--hwdec=vdpau`? If you did can you please open a issue so that your specific problem can be investigated?

The switch changed from mplayer/mplayer2 and mpv uses the new hwaccel api where available (instead of the custom decoder).

pgz··on mpv - a free and open-source general-purpose video player
I know people have been using it with XMonad. There is a fresh issue from today (https://github.com/mpv-player/mpv/issues/179), is this helpful in any way?
pgz··on mpv - a free and open-source general-purpose video player
It is installable via homebrew very easily: https://github.com/mpv-player/homebrew-mpv

The formula also builds `mpv.app`, I use that to open files directly from the Finder.

pgz··on mpv - a free and open-source general-purpose video player
I know it was added to deb-multimedia some days ago and it is also in the gentoo-multimedia overlay and on AUR.

I think many distributions would consider mpv a duplicate of mplayer, so for one to be packaged officially the other would have to be removed. Realistically that's not going to happen anytime soon.

pgz··on mpv - a free and open-source general-purpose video player
The main selling point of mpv, IMHO, is video quality and color correctness. You can get pretty nice results (on par with MadVR on Windows) with --vo=opengl-hq and it's many suboptions.

Minimalism is also something people are interested in. mpv has 1/5 the code of mplayer and 1/6 of VLC but still has relevant features.

They appeal to different kind of users. For example, even if I am in the mpv team, I will recommend VLC to my 'average Joe' friend as I know he would be put off by the CLI usage and config file editing.

pgz··on mpv - a free and open-source general-purpose video player
I believe the new filter infrastructure is now in ffmpeg. Infact they added many filters lately (1.2 and 2.0 releases) and ported most of libmpcodecs (mplayer's) filters.

mplayer still doesn't support mkv segment linking.

← PreviousPage 2 of 2