HNHacker News
TopNewBestAskShowJobs

Pyppe

47 karma · joined September 8, 2012

submissionscomments
Pyppe··on Generative AI for video recognition and voice narration
Quick blog post to share a fun project about AI-generated sportscasting. Featuring OpenAI vision and ElevenLabs voice APIs for real-time video narration.
Pyppe··on Embedded Disqus modifies global variables (removes lodash)
Thanks for the link; didn't find that existing report. Yeah, it's a new thing. Apparently at least 9 days old. :)

I'm kind of baffled that a service, that literally has one entry point: providing JavaScript to customer sites, can do something as stupid as this.

Pyppe··on Advent of Code Solutions
Transliteration. See e.g. https://en.m.wikipedia.org/wiki/Transliteration
Pyppe··on Security vulnerability in Chrome's JSONView extension?
https://github.com/gildas-lormeau/JSONView-for-Chrome/pull/4... maybe it's about this XSS issue. Funny though, that the extension it's just now suddenly being pulled out.

I would've imagined this extension being used by A LOT of developers...

Pyppe··on Show HN: Customizing ubuntu for the likes of a developer
So what is the optimal starting point in your opinion?
Pyppe··on Show HN: HN Chat – Minimal Hacker News Chat with User Verification
HTTP 503 Service Unavailable "Request queue full."
Pyppe··on GitHub Code Search – Programmers' Goldmine
"Percentage: {:.2f}%".format(foobar * 100) vs "Percentage: {:.2%}".format(foobar)
Pyppe··on GitHub Security Update: Reused Password Attack
Related to password security: any of you guys using Chrome's ability to sync passwords to "Google cloud"?

I just started using it a few weeks ago. Supposedly it uses a password to encrypt the data, but I still don't feel too confident syncing them there. On the other hand.. damn it's so convenient between multiple devices.

Pyppe··on Jenkins 2.0 Beta
Jenkins too is built on top of a compiled language. Too bad it is JVM, which is a hog when it comes to memory... Point being that a "compiled language" is no guarantee of a low memory usage.
Pyppe··on Oh My Fish Undergoing a DMCA Takedown
Here's the notice: https://github.com/github/dmca/blob/master/2016-02-04-Wahoo-....

Also, basically the same thing happened 5 months ago: https://news.ycombinator.com/item?id=10271304

Pyppe··on Elasticsearch 2.0.0-rc1 released
Could someone confirm if doc_value support for analyzed strings is part of the 2.0 release?

I find no mention about it in the release notes, so I'm guessing it's not... :\

Pyppe··on Ask HN: What stack would you use to build a CRUD web app on the JVM today?
In scala-land, I've got experience from Scalatra, http4s and Play framework. We've recently migrated a large Scala project from Scalatra to http4s. I would not recommend using the current 2.x version of Scalatra. The biggest issue I've got with it is it's lack of type-safety. Each REST-endpoint in Scalatra is basically a function from Request to Any. So you can return anything and cross your fingers it works runtime (see e.g. https://github.com/scalatra/scalatra/issues/534). I believe many of the core Scalatra-contributors are nowaday much more active in development of the http4s (see https://github.com/scalatra/scalatra/graphs/contributors vs https://github.com/http4s/http4s/graphs/contributors).

I really like the design of http4s; services compose really nicely -- each service/server is just a partial function from Request to Response. It utilizes Scalaz Tasks for asynchronous opeartions / streaming. On the other hand, I would not consider http4s very mature yet. We've encountered some issues during refactoring from Scalatra to http4s. Also, they offer support for both Servlet- and Blaze NIO -servers, but I've had the feeling that Servlet-support feels a bit like second-class citizen. Maybe not so thoroughly tested (I'm just spitballing here)? But still.. I like it and based on current experience would not advice against using it. Also, I've had great help from their Gitter-channel. :)

Play framework, is nowadays pretty mature. I've used it in multiple projects, and love that nowadays it's sbt compatible (just declare the dependencies) -- I think in the past you had to download a separate distribution for using it.

I think http4s and Play are both excellent choices. Play feels a bit bloatish and maybe opionated compared to http4s, but on the other you've got everything ready (play-ws, play-json, play-twirl etc.). Once http4s gets a bit more mature, I believe it'll be awesome! :)

P.S. With http4s my current recommendation would be: Argonaut for JSON, and Slick for RDMS-support (Postgres all the way).

Pyppe··on Lenovo ThinkPad X1 Carbon Review
I got my Gen1 Carbon X1 -laptop two years ago, and remember wondering how on earth they could release such a great piece of hardware with such a crappy 8GB RAM limit.

And exactly one year ago also tweeted (https://twitter.com/pyrylahti/status/420565944776155136) about the crappiness of the 2nd generation 8GB-limit.

Aaaand.. third time's no charm either. I'd upgrade in a heart beat if it had more memory (otherwise it's the best laptop I've used). Probably have to start googling for an alternative hardware (for running Xubuntu). sigh...

Pyppe··on CVE-2014-7169: Bash Fix Incomplete, Still Exploitable
That's what I initially figured, but was left uneasy after seeing the Gist and trying to Google about it.
Pyppe··on CVE-2014-7169: Bash Fix Incomplete, Still Exploitable
Stumbled upon https://gist.github.com/anonymous/929d622f3b36b00c0be1

Just to verify; apache httpd / nginx without CGI-support is not vulnerable?