News for hackers. Stuff that matters.

paultag

Re:LLM Voice on Thursday October 29, 2026 @01:34PM (#50292903)
Couldn't agree more with the post.

I wrote down a few of my thoughts a few weeks ago at https://notes.pault.ag/why-write/ -- I find myself scanning text to see if it's LLM before I actually engage with the content.

It is getting harder to do by the day, and has slowly moved from a mental exercise (look for specific markers) into a "gut feel" based on how the pieces fit together.

Re: on Monday October 09, 2023 @10:13AM (#37820654)
Matt Might is an exceptional human, mind-numbingly sharp, incredibly kind, and an astonishingly great communicator. His precision medicine work has a real shot at saving many many lives.
Came here to post the same thing. This is a wildly bad site that's not affiliated with the Debian community.
Re:Hy on Sunday August 04, 2019 @12:01PM (#20607295)
The speed of Python with all the readability of scheme
Re:Hy on Sunday August 04, 2019 @12:00PM (#20607287)
Aw thanks!
Re:Hy – A Lisp-flavored Python on Thursday August 03, 2017 @09:15AM (#14919226)
It does! We run tests on pypy, and it for sure works. I did at one point even test hy with rpython, I can't remember if that will still work or not, but it did compile like 4 years ago :)
Re:Hy – A Lisp-flavored Python on Wednesday August 02, 2017 @09:45PM (#14916311)
<3
Re:Hy – A Lisp-flavored Python on Wednesday August 02, 2017 @09:45PM (#14916306)
Thank you so much. I'm deeply humbled and extremely grateful for this. It's the nicest thing I've read all week, and really brightened my day up. Thank you!
Re:Go Debian: Writing Debian tooling in Go on Monday June 20, 2016 @05:55PM (#11941903)
<3 <3 <3
Re:Go Debian: Writing Debian tooling in Go on Monday June 20, 2016 @02:56PM (#11940354)
<3 y'all
Re:Go Debian: Writing Debian tooling in Go on Monday June 20, 2016 @02:54PM (#11940335)
cgo has its own set of problems, and there is no single C API. The version comparison isn't in shared library form, and breaks API a lot. The C parser for dependencies isn't the same we use in control files, and there's no C API for parsing a deb (or unpacking control files).

Most of this just has to be done. I take your point, but I couldn't find much. And I'm a debian developer - who knows what most non-Debian people would find. The best APIs are in `libapt`, which is C++, and cgo won't work with that all that well.

So, yes, you're right. This is yet another project. That's uncool, but there's not a ton of other ways out, short of me making a clean C shared library and get everyone to switch to that :)

Re:Go Debian: Writing Debian tooling in Go on Monday June 20, 2016 @09:30AM (#11937870)
Eep. I do some messed up stuff with SNI; what's the error you're seeing?
Re:Python 2, Python 3, Debian and Porting on Thursday April 16, 2015 @04:53PM (#9390685)
Thanks! (re: Hy :) )

Sorry, I didn't document this since i'm rushing stuff out as soon as I get it together -- I was looking at the Trove classifiers, and setting candidate to true iff it says it's Python 3 compatable but no Python 3 package :)

Re:Python 2, Python 3, Debian and Porting on Thursday April 16, 2015 @01:41PM (#9389501)
Yes, everyone's making fun of me for not saying 2 years rather then 3.

Also, our releases aren't timed, they're based on bug count, so the timing of the releases wasn't even the main point (and doesn't really matter) :)

I also typoed Python 3 as Python 2 in one of the lines, so, uh, just switch those two numbers. I'm pretty sure it works like that.

Either way, getting Buster off Python 2 means the transition will be more bug free, since we'll have a bit of slack time.

Re:Python 2, Python 3, Debian and Porting on Thursday April 16, 2015 @01:30PM (#9389418)
Yep! My email is [email protected] - sign up for the porting list @ https://lists.alioth.debian.org/mailman/listinfo/py3porters-...

Yes, it's hilarious that version of Mailmain needs to be ported to Python 3.

Re:Hy – A dialect of Lisp that’s embedded in Python on Wednesday December 03, 2014 @07:49PM (#8697285)
Hy core here!

It works both ways, and bi-directional interop is intended! Just `import hy` then you can import any `.hy` on `sys.path` :D

(yes, this means you can make Hy code pip installable, just like Hy itself!)

Re:Try hylang 0.10.1 on Friday October 10, 2014 @02:01PM (#8439160)
Nice! This is awesome! Great work! :D
Re:Ask HN: Looking for contributors? on Friday March 07, 2014 @10:23PM (#7364115)
Consider contributing to Debian! We've got tons of wicked hackers working on issues on a massive scale. If you're keen on it, feel free to join #debian-mentors on oftc and say hi!
Re:Butterfly: Your everyday terminal in your web browser on Friday February 28, 2014 @05:56PM (#7322112)
No. It's not. If you saw the people filing the bugs, you wouldn't say this.
Re:Butterfly: Your everyday terminal in your web browser on Friday February 28, 2014 @05:34PM (#7322012)
I wrote about why this was a bad idea at: http://notes.pault.ag/debian-python/

If you want a clear failure mode - if this installs requests globally, think about the chaos if you're on Debian stable, with 0.12.1, before the API break - after a pip install, you may end up with all the software on your system broken.

When this happens, please don't file bugs with Debian. Thanks.

Re:Hy, a Lisp that compiles to Python on Monday February 10, 2014 @07:37PM (#7214860)
Interesting, thanks for that! I'll read it over on the train in the morning and see if I can't fudge it in :)
Re:Hy, a Lisp that compiles to Python on Monday February 10, 2014 @07:32PM (#7214828)
* lisp-1 (Python rules)

* Python (sucks)

* 2-way

* Yep! CLOS syntax

* Yep! hy.contrib.loop - to be promoted soon

* Yep, they're OK, relies on dispatch char that's static

* Very little, actually - it compiles to (pretty sane) Python AST / Bytecode - so good pdb works to debug Hy :)

Re:Hy, a Lisp that compiles to Python on Monday February 10, 2014 @07:31PM (#7214824)
trampolining - confirmed
Re:Hy, a Lisp that compiles to Python on Monday February 10, 2014 @07:15PM (#7214749)
Language author here :)

if anyone wants to learn more, we have a pretty sweet team over in #hy on freenode, and have some MLs and stuff sprinkled around.

Re:Docker 0.8: Quality, new builder features, btrfs, OS X support on Wednesday February 05, 2014 @01:22PM (#7185633)
Nice!
Re:Hy: The Logical choice on Sunday January 26, 2014 @11:07AM (#7125519)
Yeah, totally. Not sure where we're going yet, but right now those stupid warts are just harmless tumors. Hopefully we can clean it up soon.

I, of course, prefer (defn) and (first) / (rest), but I know killing (defun) (car) and (cdr) will make a few people go nuts.

We'll have to make it sane before 1.0 :)

Thanks for hacking with Hy :3

Re:Hy: The Logical choice on Sunday January 26, 2014 @12:35AM (#7124028)
Hey dude, language author here - yeah, a (lambda) will become a Python lambda if it's a single expression, otherwise it'll turn into an anonymous function (with a name like `_hy_anon_fn_00011`) and replace the lambda with a ref to the function.

Allll taken care of :)

Re:Try Hy on Saturday November 09, 2013 @08:55AM (#6701623)
It's not meaningless, a lot of people (myself included) use it to talk about programs that can alter their own program in the data structures that they're good at moving around.

In Python, the AST approximates this. Perhaps I'm lax in usage, but I think there's a continuum of homoiconicity - some things (like C) have no language functionality to deal with their own source code. Other languages (like CL) are very good at this, since you write the language in it's own data structures. Other languages (like Python, or Racket) aren't homoiconic, but they approximate what makes homoiconicity special.

Re:Try Hy on Saturday November 09, 2013 @08:53AM (#6701614)
Well, two things.

Firstly, AST visitors in Python (or whatever) are clunky and lots of code to do what you say. Hell, I think that it's borderline unpythonic.

You have to consider lots of things, such as whether or not you can put an stmt where you're inserting code, and write a lot of, frankly ugly, Python code to do it.

Hy macros (and really Lisp macros) that are first-class members of the language are nice, because they're a lot more clean to write.

In addition, since Hy does some nasty stuff under the hood to generate clean Python AST, you can do stuff like:

   (print (if true true flase))
(Ok, that's a lie, since it'll do "print True if True else False", but if that had a (do) around everything, it'd still work by mangling the expression - just too tired to write that example right now :) )

Fundamentally, a Hy macro IS an AST macro, just on the parsed and tokenized Hy code (which turns into AST), rather then fiddling with Python AST (which isn't even a stable interface).

That answer the question? :)

Re:Try Hy on Friday November 08, 2013 @10:26PM (#6700561)
Original author of hylang here - because lisp is homoiconic, you have real macros, not AST macros; although the distinction isn't exactly clear, it's nice to have them as first-class members of the language, and allow them to avoid caring about stmt vs expr internally.

Happy to answer questions.

Older »