Hacker Newsnew | past | comments | ask | show | jobs | submit | itishappy's commentslogin

That's cool, but I might prefer semantic whitespace. Sure would be neat if we could both work with the same code in our preferred forms.


Ah yes, now there is a LISP I can get behind!

Love this take! Unison is exactly this, and it's awesome!

Here's a quote from one of the creators:

> But here's the super cool thing about our language! Since we don't store your code in a text/source code representation, and instead as a typechecked AST, we have the freedom to change the surface syntax of the language very easily, which is something we've done several times in the past. We have this unique possibility that other languages don't have, in that we could have more than one "surface syntax" for the language. We could have our current syntax, but also a javascript-like syntax, or a python-like syntax.

https://news.ycombinator.com/item?id=46053304


Can Raku do something like this? I was lightly exploring it recently, and I thought I saw that something like this may be possible with it.

I'm not super familiar with Raku, but if RakuAST is what you had in mind it looks a bit different:

    use experimental :rakuast;
    
    my $ast = RakuAST::Call::Name.new(
      name => RakuAST::Name.from-identifier("say"),
      args => RakuAST::ArgList.new(
        RakuAST::StrLiteral.new("Hello world")
      )
    );
Looks more like "low-level programming an AST" (which I believe other languages offer as well), rather than using a bidirectional transform. I don't know how you'd get Raku code back out, for example.

Edit: I should have looked deeper, `DEPARSE` does exactly this:

https://docs.raku.org/type/RakuAST

Neat!


It also goes from source code to AST:

  $ raku -e 'say Q|say "Hello World!"|.AST'
  RakuAST::StatementList.new(
    RakuAST::Statement::Expression.new(
      expression => RakuAST::Call::Name::WithoutParentheses.new(
        name => RakuAST::Name.from-identifier("say"),
        args => RakuAST::ArgList.new(
          RakuAST::QuotedString.new(
            segments   => (
              RakuAST::StrLiteral.new("Hello World!"),
            )
          )
        )
      )
    )
  )

thanks, all.

Fascinating! It almost seems like the more popular a language is the less likely it is to have syntax on the landing page.

Popular languages don’t have to sell themselves anymore. No one goes to rust or pythons website to see if they would enjoy the syntax

I don't think the project wants any "takers" per se. The first sentence describes it as:

> a novel, maximally-simple concatenative, homoiconic programming and algorithm notation language

This is a toy language designed to showcase a novel programming paradigm.

Personally, I like tech demonstrations, so I scrolled down and found the examples section. That's all I was hoping to get out of this interaction.


That would be parsed as a single operator and evaluated using the following rule:

> Evaluates to the operation defined for the operator in the environment. If none, evaluates to a constant function that pushes the operator, followed by all input terms, onto the output program.

I believe it would simply output itself.


The impact isn't felt by most. That's the point.

Most people in China get along fine with their social credit system. I don't think that's an argument for the tech in Nosedive (S03E01).


There are legitimate use cases and illegitimate ones. Unfortunately, I'm seeing more examples of the latter. I somehow suspect Mark's entourage aren't all hard of hearing.

No, that honestly sounds like something I'd prefer to avoid being around too.

Smart glasses are spyware. The ability to record without my knowledge or consent is what I take issue with. I don't particularly care if you self host.

> The ability to record without my knowledge or consent

All major brands have a clear indicator for when they're recording.

Someone could block that indicator out, but someone could also just go to Amazon.com and select one of hundred of available pinhole cameras or not-smart camera glasses.

These aren't enabling an ability that hasn't been enabled for decades. If anything, seeing someone with main brand smart glasses makes it more obvious.


Existing alternatives also make me uncomfortable for the exact same reasons. I would prefer to avoid anyone who purchases a pinhole camera for public use, regardless of whether it came with an LED to indicate recording.

To their credit, smart glasses are an obvious signal for me to avoid. That doesn't make me appreciate them any more.


Every cellphone in every hand is a recording device, very often used in public. Where I am, you can look most anywhere, at any time, and see someone on a phone call, taking a picture/video, posing, etc. What's the significant difference that I'm not seeing, especially since the smart glasses have an indicator, and cellphones DO NOT.

No difference. If I see your recording in public, either via cell phone or smart glasses or shoulder mounted news rig, I do my best to steer clear. I don't like Alexa or Flock or whatever else either.

I do not agree that the existence of surveillance tech justifies the expansion of surveillance tech.


I see. This is entirely reasonable. :)

Not only that, but smart glasses have terrible recording time limits. A cheap $30 pinhole camera with a SD card will far surpass meta glasses in recording capabilities.

Hidden cameras have been a thing for a long time now. Stick one in a pair of glasses and give it a super short battery life and people freak out...


Wearing a hidden camera and recording people is also very socially unacceptable. If someone knew you were wearing they would probably also “freak out”.

It used to be if you were caught wearing a hidden camera in a department store the police would be called.

Now they're being billed as fashion accessories.

Sorry, but "normalize hidden cameras" isn't a movement I can get behind.


My point is the tech is nothing new.

Every person holding a cellphone up in their hands could also be pointing a camera around at people, a camera with much higher fidelity, computing power, and one that can take much longer videos.

This is just panic about a new form factor. The same thing happened when cell phones came along, with the exact same talking points.


Totally agree, but that's not a justification. "We already do a thing you don't like so you won't mind if we do it lot more, right?"

The same talking points still apply to cell phones. I think people who record TikToks in public are similarly gross and I go out of my way to avoid them.

I watched a guy setup a cell phone to record his laps in a pool yesterday. He swam one lap right about a meter from the 15 year-old girl playing with her mom, then climbed out of the pool, shut off his phone, and walked away. The remainder of the pool was open. Should I have called him out? I couldn't decide, and therefore didn't. This is normal now.


I don't get the point of this argument. Yes, the people who buy pinhole cameras are creeps too

why is someone protecting their property/children creep?

Pinhole cameras ain't for that

why not? secret camera is sometimes better than letting others know they are being filmed

For what benefit? A secret camera is not a deterrent as by definition it can only be used reactively.

Smart glasses (or any camera-equipped device) don’t have to record anything to provide utility.

If anything, the primary utility of smart glasses is the wearable display, not camera. YMMV, of course.

But even machine vision-capable devices can do a lot of useful things without causing you any trouble, unless your issues are more of a religious concern rather than anything substantial.


I understand there are legitimate usages. There are also usages that make me uncomfortable. My issue is that I'm unequipped to know the difference.

Smart glasses sans camera would address my complaints (I take no issue with smartwatches, for instance), but that admittedly decreases the utility.


I'm not entirely sure what's your exact threat scenario, if someone records your image, especially given that you've said it doesn't matter to you whether it gets siphoned straight into some megacorp database, or private home server, or gets processed on-device only.

But... aren't already existing protections that make it e.g. illegal to distribute your image or its derivatives sufficient? If someone does you wrong, you can seek recourse. If everyone is respectful of each other (and we hate corporations instead of technologies), we enable a lot legitimate uses, making the world better: more accessible, and easier to learn and understand.


Oh, it very much does matter to me what happens to recordings! I should have made that more clear. Self hosting is infinitely preferable than sending that info to Facebook. This isn't enough to flip my opinion on the technology in general, but if I had a friend who wanted to self-host their own smart glasses, I would not mind. The keyword there is friend.

My issue is that I don't have the ability to audit every smart glasses user to find out what their tech stack is, so I'm looking at averages. If I saw that smart glasses were being used and promoted as assistive technology, I would likely form a different opinion. Unfortunately, that's not what I perceive. I am open to the possibility that smart glasses could end up a net positive on our society, but the history of similar technologies does not encourage.

I will think more on your comments here. I find them quite insightful.

Edit: For a rather recent example of my threat model, I will repost part of my comment from elsewhere in the thread:

> I watched a guy setup a cell phone to record his laps in a pool yesterday. He swam one lap right about a meter from the 15 year-old girl playing with her mom, then climbed out of the pool, shut off his phone, and walked away. The remainder of the pool was open. Should I have called him out? I couldn't decide, and therefore didn't. This is normal now.


Do you consider dashcams to also be spyware? I feel like dashcams are just as hidden and nonconsensual but more or less accepted.

A challenge to my beliefs! What a great question! Upon reflection, I don't have anywhere near as much reaction to dashcams. There's certainly some dissonance there.

I think it's an issue of perceived benefit vs perceived risk. I see the utility in both technologies, but I assign significantly higher risk to smart glasses. I really struggle to imagine widespread abuse from dashcams.


Alas, your knowledge or consent is not a requirement if you are in public, and this is a human right worth defending, frankly.

Your desire to consent to being recorded in public places does not counteract my right to record everything I can perceive in public. Period.


You're assuming every country has laws similar to, I'm guessing, america.

It's a more fundamental issue than those legal oddities of the day. It's whether people have a right to remember, right to share their memories (there must be lots of nuances here), and whether others have a right to be forgotten or deny some or all of such sharing - and how all those play together.

I can't wait for the day brain-machine interfaces will become more advanced and commonplace (so cyborgs become something way more advanced than just limb prosthetics), and hope the day comes fast enough so the true issue is forced before any decisions are made off the ill-informed assumptions and the shuttle designs are left to depend on a width of horse's ass.


I have a right to collect evidence in my own defense, and that evidence may not be abrogated by by-standers to the event who might attempt to prevent me gathering that evidence.

Its the Universal Declaration of Human Rights and it covers you whether you like it or not, thankfully. You might not like it but thats gonna change the moment you need to exercise that very right yourself.

How do you figure? There is no "right to record," nor is surveillance mentioned in the Declaration of Human Rights. In fact, it points out in Article 12 and 29 that rights and freedoms can and should be limited by law if they impinge on the rights and freedoms of others, such as those mentioned in Article 12:

> No one shall be subjected to arbitrary interference with his privacy, family, home or correspondence, nor to attacks upon his honour and reputation. Everyone has the right to the protection of the law against such interference or attacks.

That doesn't seem as clear cut as you're implying.


Article 19:

Everyone has the right to freedom of opinion and expression; this right includes freedom to hold opinions without interference and to seek, receive and impart information and ideas through any media and regardless of frontiers.

Seeking and receiving information covers gathering facts, evidence, or observations from public events or spaces (e.g., documenting protests, government actions, police conduct, or everyday occurrences visible in public).

You might not like it, but its a key mechanism by which we, the people, keep despots and the police state in check.


I do like it, and agree it's an important mechanism, but it's not a blank check as it's in tension with the other articles. I do not read that as granting you the right to any and all information you might desire. For instance, I hope we can agree that allowing the public to film bathrooms or gynecology appointments crosses a line.

Oh, there are always going to need to be exceptions to the rights, such as the tacit contract one enters into, abrogating the right to record, when entering a privacy-respecting space that is marked as such and is not part of the public commons but rather that of a private entity whose intent was to create a private bathroom in which people are definitely not to record each others activities without additional contract - i.e. consent - of all parties involved.

But it still has to be iterated in light of such exceptions, that the rights encoded in the UDHR are there to protect humanity, as a species, so that we can indeed form our own cultures freely as we see fit.


The Universal Declaration of Human Rights has as much teeth as The New Colossus does. It's a bunch of prose with absolutely no binding or enforcement mechanisms.

Following the notion that one needs force to get things done is rather a tempestuous path to take.

The rights are there for all of us, and indeed they are generally aligned along natural human phenemonen, specifically for the purpose of allowing the weak and the strong to live as equals, universally.

Sure, you have the right as long as you have the gun. But you still have the rights once you lose the gun too, human.


That's fair. You have the legal right.

I'm still going to avoid you like the plague.


Yeah, that is totally okay, its why human rights are so important to protect. You wouldn't want to be in a situation where an authority doesn't allow you to avoid them like the plague, would you? It is, therefore, your right to record those authorities .. so that they will go away, too.

Totally agree. To be clear, I'm not arguing for a ban on smartglasses. I'm simply explaining why they make me uncomfortable.

The ability to record authorities is something I fully support, but I still don't want to be in that video if I can help it.

On top of that, most smartglasses are not private. If authorities can access the feeds, then my neighbor with RayBans becomes an authority, and it makes it that much harder for me to avoid them like the plague. This similarly applies to Ring doorbells and Flock ALPRs.


> I imagine a non-tech crowd would be even more negative.

Weird, I'd assume the opposite. The meme is "tech enthusiasts vs tech workers" implying there are people who like tech and people who understand it enough to distrust it. This tech-crowd is more aligned with the latter.


That used to be the case (see the joke about printers) but AI completely reversed it.

AI turned a lot of tech workers into tech enthusiasts (and frankly, most cool new technologies take their toll), but there are still plenty of people here who distrust AI.

I find myself in the awkward place of being both. I use LLMs to offload busywork and to allow me to get work done that I otherwise wouldn't have time for, but I also see that we're walking a pretty tenuous tightrope when it comes to pretty much every concern we've ever had with technology bundled in one place and amplified 1000x.

It's the old rag of "tech is the tool, ethics are the user" in an era where people who are unethical have become loud and proud about it and the tech is recursive reinforcement power tools on steroids.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: