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

I mean… that would be a trivial check with `ripgrep` et al. I’d be more worried about other sneakier tactics that LLM’s like to do as to move the goal posts (prove something trivial posited as grander, take arguments in a function head but not use them in the body etc)

Huh? How would that be a good criteria - how many languages exist where a non-user can easily grok non trivial functions with at least five distinct arguments?

If someone told me German was easy to learn, I wouldn’t get an LLM to generate me a complex sentence with two clauses and three adjectives and then be like “sure about that?”

`processRecord :: (a -> b) -> Maybe c -> [d] -> (e -> Bool) -> (b, c, [d], e) -> Either String (b, c, [d], e)`

Says: “ give me: 1) a function of a to b, 2) a ‘c’ wrapped in a Maybe, 3) a list of d’s, 4) a function of e to a Bool, 5) a 4 tuple of a, b, list of d’s, and an e

And I will give you either a String or your original tuple back”

It doesn’t really do anything so there’s not much more to explain


The Stacks project concerns algebraic (and geometric) stacks - schemes generalised through descent (via sheaves, groupoid fibres etc)


They’re definitely numbers though -in many ways they’re nicer numbers than the Reals.

Complexes are overloaded as is - cellular, simplicial, chain etc.


“Stop calling it slop you guys, I’ll have you know I am even sloppier”


Well… yeah. But I didn’t blame the employees, I blamed the employer who must have seen the writing on the wall for a long time and yet let it come to this.


Why do you assume unions are always reasonable? Unions in the US have a long history of over reaching and crippling industries and governments.


Did the restrictions on JavaScript get resolved? IIRC, they made it so you had to use their “Ports” mechanism to interface with JavaScript, and you couldn’t write your own wrappers.

There was some drama when someone forked it so you could write your own JavaScript wrappers/FFI too?


FFI is still mostly done through ports (or web components, for the view part). This is an intentional choice and likely to stay until 1.0 and beyond


And combined with its inability to provide mature native APIs and its hostility towards libraries containing ports, this essentially kills the language.

Elm's current story for interacting with the wider web ecosystem is "reinvent the wheel a dozen times by DIYing your own wrappers around literally everything". Fine for a trivial toy project, not fine for building production software.

I understand why they made those decisions, and each choice on its own is logical, but that doesn't make the combined outcome any better.


You can also do lunatic things like overload the `Object` prototype and get synchronous FFI by encoding then decoding an object. I do this at work to get locale-aware sorting. I know you know this, but it'll be news to others in the thread.


Haha, yeah I didn't realize there would be a monkey patch route to FFI in Elm. Can't control the runtime. Is there a good read up on this technique?


Slightly important point: it's still safe FFI! Everything that crosses the JS/Elm boundary has to be encoded/decoded from serialized JS Objects. So it's hacky BUT it's not actually unsafe, which is kind of funny. I have an example where I use it to effect locale-aware sort. This repo is a benchmark test of that: https://github.com/perkee/elm-js-sort-ffi-speed-test/tree/ma...


Great hack, thanks! And yea I was missing some native string api when I abandoned Elm at 0.19.


Oooft, in cubical.ml why is your identity equivalence `CVar "__id"`? Surely this should be some fibration/reduction?

In fact, these weird string terms pop up pretty often, but surely you’d want to be using de Brujin indices lest you accidentally string match two different things (can’t believe I’m saying that for an implementation of a dependently typed language).

I started to wonder how your types were glued, as I would have thought Sigma types glued along identity equivalences would give me some insight on the odd behaviour.

`reduce_comp` seemed like the place it should be. There I realised your `CTGlue` case is wrong: it seems like `partial_pairs` is in the head but dropped from the body, so they’re never glued by any equivalence.


Seconding Debruijn indices. See here: https://github.com/yon-language/yon/blob/aa4617ced3abc92ac53...

The alpha renaming algorithm does not run under scopes, only lambdas.


I don’t think that’s Orion specific, I have the exact same issue with Safari and Firefox


I'll pitch in that since youtube was bought by Google it's become pretty anticompetitive too. They've absolutely been caught degrading their product on all browsers except chrome. I've witnessed this numerous times on Firefox on my android. Videos refusing to play, subtitles appearing off the screen, refusing to fullscreen, and at least 3 more annoying things i can't remember anymore.


On numerous occasions, I had issues with YouTube and Firefox that were fixed by changing the user agent to make it look like chrome.

I stopped using YouTube 10+ years ago, so no clue if it still the case.


This is incompetence, not malice. YT devs would skip testing on Chrome if they could get away with it, but are forced to.


Incompetence at scale is malice. We're talking about a mega-corporation gobbling up some of the brightest minds of our generation, not some garage startup that is barely able to keep the lights on.


I'll agree with some of the brightest minds, but some Googlers I worked with were mediocre at best.

Also, I don't really understand what your catchy phrase means. Google's management is being malicious by not forcing their employees to not be lazy?


Eh. I’ve been writing a small HoTT language over the past two years based on schemes, stacks, and sites and anything short of Agda or Lean falls short in terms of Real™ Category Theory.

So much has to be pragmatised, carefully considered and made concrete categories anyway that much of the category theory exists in the documentation rather in the actual code.


That sounds really cool, do you mind dropping a link if the work is public?


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

Search: