HNHacker News
TopNewBestAskShowJobs

miguelmurca

541 karma · joined February 22, 2021

submissionscomments
miguelmurca··on Write Your First Quantum Program (Common Lisp)
Hello! PhD student on quantum computing here. While it's cool that the field of QC raises excitement and there are efforts to promote QC to a more general public, it's always a little frustrating to see these approaches that, in a sense (and in my opinion), seriously underplay the difficulty and distance of the field from computer engineering. While it's true that it's an incredibly interdisciplinary field, which can be studied from a Physics, CompSci, EE, etc., perspective, it's definitely its own field, and not a new framework or programming language. I think this reflects heavily on the fact that a lot of QC programming languages peddled by the main industry players hide a lot of stuff behind opaque API calls.

The thing is (again, imho!) it wouldn't have made sense to talk about frameworks when the first classical computers appeared --- and you'd better have knowledge about the hardware and theory. (These are still a good idea to know but not really a requirement anymore.)

Likewise, I think that for the next decades, anyone who wants to meaningfully contribute to QC (rather than call a few API functions) will have to read some technical stuff (my recommendations are [1] as a semi-informal approach, [2] for a CS approach, [3] for an algorithm overview, and [4] as the reference book).

Sorry for the minor rant :)

[1] https://www.cambridge.org/catalogue/catalogue.asp?isbn=97811...

[2] Ethan Bernstein, & Umesh Vazirani (1997). Quantum Complexity TheorySIAM Journal on Computing, 26(5), 1411–1473.

[3] https://www.springer.com/gp/book/9783030190651

[4] https://www.cambridge.org/pt/academic/subjects/physics/quant...

miguelmurca··on Show HN: Sane, a single file, super flexible, Python command runner
Could you give me an idea of how you'd expect concurrent behaviour? Cheers
miguelmurca··on Show HN: Sane, a single file, super flexible, Python command runner
Hi HN,

[Sane][0] is a piece of software I've written to deal with my grievances with Make, Just, Bazel, Meson and other build systems or command runners.

I've always been frustrated by either 1. the opaque domain-specific languages, 2. the necessary installation processes, or 3. the difficulty to keep state coherently and to write logic.

Sane is a single Python3 file that exports a function decorator (@recipe), and a function (sane_run), which can turn any Python file into a Make-like utility: upon execution, a dependency graph is built, checked, and ran in deterministic order.

[GIF]: https://github.com/mikeevmm/sane/blob/master/demo.gif

There is no installation process, and no external dependencies; sane is made to be redistributed with the codebase. There are no domain specific languages, because everything is Python.

Thoughts are welcome.

[0]: https://github.com/mikeevmm/sane

miguelmurca··on A statx(2) Linux system Python wrapper
I'm positive I've done this before with the built-in os module
miguelmurca··on An author's obsession with freeing a man from prison
I can't help agreeing with another comment that so many aspects of the story (along with the way the it's presented) make me raise an eyebrow. She's friends with Jeff Bezos? Pours 20,000 a month into a PI? The man refuses a lie detector? She borrows against her house (while owning horses and with three children) yet can afford to do this (and her husband apparently supports her in the endeavor)? I don't mean to say I don't believe any of this, but it's all incredibly wild in a very uncomfortable way, that makes me question the lifestyle and priorities of someone who can afford to do this in the first place (even though it's a noble cause).
miguelmurca··on Douglas Adams' note to self reveals author found writing torture
I think I've figured it out after reading the article, but I'll be damned if that's not some strange phrasing:

Note (In which Hitchhiker's writer reminds himself (he will finally get pleasure from process)) to be part of book (based on his archive)

miguelmurca··on Douglas Adams' note to self reveals author found writing torture
> Note in which Hitchhiker’s writer reminds himself he will finally get pleasure from process to be part of book based on his archive

Are words missing from this or am I having a stroke?

miguelmurca··on John Cleese Sells the Brooklyn Bridge as an NFT
I've never really seen anyone heavily take issue with the concept of NFTs. Everybody's just taking issue with the PoW.
miguelmurca··on Experimental Nintendo Switch Emulator written in C#
Awesome, thanks for the explanation
miguelmurca··on Experimental Nintendo Switch Emulator written in C#
> Why would you see this emulator in particular getting DMCAed?

Nothing in particular, I was thinking about it from the other end. Seeing as the Switch is Nintendo's latest gen console I'd say it's different to something like Dolphin in terms of how much it might bother Nintendo. That plus the fact that when you want something off the internet nowadays a DMCA is typically the legal path, makes me think that Nintendo would love to find something to DMCA the repository for.

Whether there's anything to be DMCA'd I can't say (and from the replies I see probably not).

miguelmurca··on Experimental Nintendo Switch Emulator written in C#
I had no idea.

I'm not familiar with this case, but [this page][0] seems to be more focused on the use of screenshots rather than the emulator software itself? Did this set a precedent?

[0] https://itlaw.wikia.org/wiki/Sony_Computer_Entertainment_Ame...

miguelmurca··on Experimental Nintendo Switch Emulator written in C#
Starting a betting pool as to how long this makes it before being DMCAd
miguelmurca··on The Most-Used Mathematical Algorithm Idea in History (2016)
Kind of a side note, but Stephen Wolfram really has a way to make things about himself.
miguelmurca··on Show HN: A command-line utility for deploying serverless applications to AWS
> Serverless UI deploys each function in your /functions directory as a Node.js lambda behind a CDN and API Gateway for an optimal blend of performance and scalability.

Cool!

miguelmurca··on Living Like It's 99: No Social Media, No Smartphone
> A trick I’ve developed, when giving my contact info to new people, is to enter my phone number on their smartphone myself, and install Signal for them.

don't... do that. don't install stuff on anyone's phone unless they've told you to.

← PreviousPage 3 of 3