Better HN
topnewbestaskshowjobs
Log inSign up

byt143

220 karma · joined Dec 6, 2017 (8y ago) · 116 submissions

Submissions

comment 2y ago · link · parent

So Israel can't enjoy the same right to self defense that any other state would? They can't conduct a war in an urban environment with an actual intentionally genocidal enemy, and must resort to targeted assassinations? That standard is absurd. Surely you can admit some middle ground ,if you're discussing in good faith.

comment 2y ago · link · parent

Second !

comment 3y ago · link · parent

How about the misery of a loved one going untreated, undiagnosed and dismissed by physicians with a facile understanding of chronic multi system disease dynamics. People who do that are usually ones who cannot find physical relief elsewhere.

comment 3y ago · link · parent

Don't expect a good answer. That brand of skepticism is performative rationality devoid of actual critical thinking.

comment 3y ago · link · parent

It's really depressing that a handful of big corporations will be able to exert such control over labor and productivity

comment 3y ago · link · parent

What tasks?

7.

Mojo (Musings from a Julia Dev)(mikeinnes.io ↗)

6 points · by byt143 · 3y ago · discuss

comment 3y ago · link · parent

What's the difference between chat and instruction tuning?

9.

The Replit AI Manifesto(twitter.com ↗)

1 points · by byt143 · 3y ago · discuss

comment 3y ago · link · parent

How does mojo handle function polymorphism and abstraction? Julia uses multiple dispatch, Haskell type classes etc

Edit: I see you're going to have protocols/ traits. Can those be specializes/monomoprhized at function call time like Julia abstract types?

And how about function specialization? Will functions be attached to structs in a single dispatch fashion or free floating multimethods?

11.

It's Starting to Get Strange (GPT 4 as a "first rate data analyst")(twitter.com ↗)

21 points · by byt143 · 3y ago · 2 comments

12.

TurnItIn CEO projects AI driven 80% cut to programmers and marketers(twitter.com ↗)

1 points · by byt143 · 3y ago · discuss

comment 3y ago · link · parent

Interesting. What's your prompt?

comment 6y ago · link · parent

If you're only looking for one novel view, can it use less views that are close to the novel one?

15.

Cxx.jl: a Julia C++ REPL and interactive FFI(github.com ↗)

3 points · by byt143 · 6y ago · discuss

comment 6y ago · link · parent

Even then shape errors would require a dependent type system not found in most static languages.

comment 6y ago · link · parent

What are your concerns around the support / dev?

Google has a fairly sizable team around it, it has a fast path to adoption by the large pool of swift devs and fast.ai, and of course, google hype.

Chris leaving doesn't seem to be an issue: https://twitter.com/clattner_llvm/status/1222032740897284097

comment 6y ago · link · parent

It does not have macros.

comment 6y ago · link · parent

Why can't you just have the higher level representation of the code available and just recompile everything?

comment 6y ago · link · parent

Perhaps this helps? https://github.com/apple/swift-evolution/blob/master/proposa...

and this

https://twitter.com/jckarter/status/1202260205074968578

comment 6y ago · link · parent

So it's a package, not a language issue?

Here's a revamp based on protocols https://github.com/apple/swift-numerics

comment 6y ago · link · parent

That makes sense. Swift is also way too complex and syntatically noisy imo. I like that Julia has a smaller set of very powerful abstractions.

Though isn't point (2) just a convention thing? Protocols can refine other protocols. So in S4TF there's a layer protocol and an RNN protocol which extends that, IIRC.

comment 6y ago · link · parent

This can be done better with traits in Julia, which are more powerful, safer and faster.

See here: https://white.ucc.asn.au/2018/10/03/Dispatch,-Traits-and-Met...

comment 6y ago · link · parent

Thanks. I mean in julia you can use traits for that, but it's not built in (yet). Though there's no speed penalty, as you probably know.

So this is about extending types, but it sounds like swift is strictly "better" then, since it's also statically checked? Or is there something that multiple dispatch gives that substantively better?

I'm trying to get a feel for if the Swift for Tensorflow project will afford the same kind of composability, while keeping static type checking, modules etc (assuming they work out cross module code specialization, which I think is happening).

comment 6y ago · link · parent

Sure, but I'm more looking for something from the swift side of whether Swift can do the same sort of composable generic programming.

comment 6y ago · link · parent

Anyone know how this compares to swift and its protocols etc?

comment 6y ago · link · parent

Julia gives you the best of both worlds. And more.

All those pretty function like things you see above are actually callable objects that can be introspected, intercepted and dispatched on...so you can mix and match pure object abstractions, pure function abstractions and objects with function like properties depending on the usecase.

This is because Julia's philosophy is to make Differentiable Programming a completely seamless and normal programming paradigm inter-operable with all standard code patterns.

And all this is only possible because of a unique mix of amazing reflection, code gen (including hooking into the compiler from third party packages, allowing source to source autodiff and GPU codegen), fast generic/parametric polymorphism even across packages, multiple dispatch and macros, among other technologies.

It's not quite at the stage of "write any normal julia code and it just works", as there are some rough edges being worked out, but that's the vision and it's even now it's leaps and bounds above pytorch.

comment 6y ago · link · parent

https://forums.fast.ai/t/swift-for-tensorflow/40167/72

comment 6y ago · link · parent

https://twitter.com/clattner_llvm/status/1222032740897284097

Jeff Dean seems to disagree.

Also, I think it hasn't picked up steam because it just isn't mature enough yet

1234