News for hackers. Stuff that matters.

Pyppe

Re:Generative AI for video recognition and voice narration on Friday November 24, 2023 @04:09AM (#38401930)
Quick blog post to share a fun project about AI-generated sportscasting. Featuring OpenAI vision and ElevenLabs voice APIs for real-time video narration.
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.

Re:Advent of Code Solutions on Monday December 26, 2016 @05:14AM (#13257729)
Re:Security vulnerability in Chrome's JSONView extension? on Thursday November 10, 2016 @03:14PM (#12923857)
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...

Security vulnerability in Chrome's JSONView extension?

I've used daily the JSONView Chrome extension (previously available in https://chrome.google.com/webstore/detail/jsonview/chklaanhfefbnpoihckbnefhakgolnmc?hl=en) for viewing JSON.Just now I noticed that it has been automatically disabled from my browser. Visiting `chrome://extensions/` states "This extension contains a serious security vulnerability". And also, it's no longer available in the...

( Read More... | 4 comments | 6 points | on HN )
Re:Show HN: Customizing ubuntu for the likes of a developer on Monday September 12, 2016 @01:00AM (#12477293)
So what is the optimal starting point in your opinion?
HTTP 503 Service Unavailable "Request queue full."
Re:GitHub Code Search – Programmers' Goldmine on Sunday August 28, 2016 @04:12AM (#12375742)
"Percentage: {:.2f}%".format(foobar * 100) vs "Percentage: {:.2%}".format(foobar)
Re:GitHub Security Update: Reused Password Attack on Thursday June 16, 2016 @05:54AM (#11915079)
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.

Re:Jenkins 2.0 Beta on Friday March 25, 2016 @05:41PM (#11362881)
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.
Re:Oh My Fish Undergoing a DMCA Takedown on Tuesday February 09, 2016 @03:44PM (#11068606)
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

Re:Elasticsearch 2.0.0-rc1 released on Thursday October 15, 2015 @01:58AM (#10391580)
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... :\

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).

Re:Lenovo ThinkPad X1 Carbon Review on Wednesday January 07, 2015 @12:08PM (#8851686)
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...

Re:CVE-2014-7169: Bash Fix Incomplete, Still Exploitable on Thursday September 25, 2014 @09:16AM (#8366905)
That's what I initially figured, but was left uneasy after seeing the Gist and trying to Google about it.
Re:CVE-2014-7169: Bash Fix Incomplete, Still Exploitable on Thursday September 25, 2014 @08:03AM (#8366695)
Stumbled upon https://gist.github.com/anonymous/929d622f3b36b00c0be1

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