HNHacker News
TopNewBestAskShowJobs

thetwentyone

1,132 karma · joined March 11, 2011

Firefox relay email address: 6r1zyd040@mozmail.com
submissionscomments
thetwentyone··on From Common Lisp to Julia
https://juliacomputing.com/case-studies/
thetwentyone··on Ask HN: Why do you hate (or love!?) your language's package manager?
Pkg.jl has been such a breath of fresh air vs my prior experience with Python,R, VBA. Built into language, environment management, dependency pinning, SemVer enforcement at the registry level, easy to update as a package developer.
thetwentyone··on Why do arrays start at 0?
They point at 3 apples and goes "0,1,2" naturally?
thetwentyone··on Why do arrays start at 0?
This is my take and when working directly with computer memory/addresses, 0-based is most convenient. For working with data/stuff at a higher level, 1-based is more natural and convenient.
thetwentyone··on Julia 1.8
Right, but there is a separate new feature which caches more lowered code.

https://julialang.org/blog/2022/08/julia-1.8-highlights/#imp...

The core devs also said that they are aiming to cache native code in the next year or so.

thetwentyone··on Six programming languages I’d like to see
The "reactive calculator" language the author wants is just Julia running in a Pluto notebook: https://github.com/fonsp/Pluto.jl
thetwentyone··on Blender shader-based halftone CMYK offset printing emulation process
This is very cool! Are there any libraries to do this with HTML elements? I'd love to do certain site content in a similar way.
thetwentyone··on Elegant six-page proof reveals the emergence of random structure
I wish Quanta was a print publication I could subscribe to. Definitely the types of articles I'd like to sit down and read not on a computer.
thetwentyone··on A basic introduction to NumPy's einsum
Also see: https://github.com/ahwillia/Einsum.jl
thetwentyone··on Why We Use Julia, 10 Years Later
... plus Pluto, language-wide automatic differentiation, multiple dispatch, lispy macros...
thetwentyone··on State of Machine Learning in Julia
I've used MLJ for some small projects at work without issue.
thetwentyone··on Julia frameworks to create desktop GUIs and web apps
I'd also add Pluto notebooks[1], which when deployed[2] powers interactive sites like MIT's Intro to Computational Thinking[3].

I also get a ton of mileage creating Pluto notebooks and sharing the results for others to run or view a static webpage of the results.

1: https://github.com/fonsp/Pluto.jl

2: https://github.com/JuliaPluto/PlutoSliderServer.jl

3: https://computationalthinking.mit.edu/Spring21/

thetwentyone··on Femtolisp – A lightweight, robust, scheme-like Lisp implementation
I think femtolisp powers Julia's code parsing and helps make Julia so lisp-like. Femtolisp can be run with as an argument to julia: `julia --lisp`

  > julia --lisp
  ;  _
  ; |_ _ _ |_ _ |  . _ _
  ; | (-||||_(_)|__|_)|_)
  ;-------------------|-----------------------
thetwentyone··on Ask HN: Are new ThinkPads still worthy?
I had a terrible experience with Lenovo. In October 2020 I ordered a laptop. In the next couple of months I called and tried to cancel (they would put in a "cancellation request"). Additionally, they sent an email saying the regulation required that since it hadn't shipped, if it still hadn't shipped in 5 days they would have to cancel the order. A few weeks later, it shipped and I had UPS "return to sender" before it even arrived at my apartment. It was returned to the address Lenovo put as the return address.

Paypal refunded me the money after reviewing the case, but I'm now fighting a debt collector for the ~1k USD.

thetwentyone··on Ask HN: How to be my own genetic disease researcher for my partner?
Hello, thank you for the offer to contact me. I do have a couple of questions that it seems like you might be able to help with. My email is in my profile.
thetwentyone··on Ask HN: How to be my own genetic disease researcher for my partner?
Hi all, appreciate the input! I may respond to specific comments but to address some general comments/questions:

- Of course I want to spend time with my partner and don't see this as the "way to fix everything". - The literature surrounding my partner's disease calls it a "rare disease", but the number of patients in the US are in the 10's of thousands. I'm not trying to find a new associated gene/SNP with the disease, just reference against what research has been done by others. - The diagnosis is FSGS, and there is a history (since childhood) of high cholesterol.

thetwentyone··on Julia 1.7 Highlights
Been really pleased with Julia and happy about the continued progress. Package speedups on Windows are expecially nice for me in this release.
thetwentyone··on Ask HN: What are the best-designed things you've ever used?
Or Teddie's Super Chunky if you like chunky peanut butter: https://teddie.com/product/old-fashion-natural-super-chunky/
thetwentyone··on German car that was super-aerodynamic but impractical
United Launch Alliance still makes some parts of their rocket by hand like this: https://youtu.be/o0fG_lnVhHw (at 25:15)
thetwentyone··on Python: Please stop screwing over Linux distros
And Julia's Pkg! One of my primary reasons for switching away from Python to Julia was how ergonomic modern dependency management was.
thetwentyone··on One Week of Bugs (2014)
Looks like that's correct though things have been reorderd since the original: https://web.archive.org/web/20141202041102/https://danluu.co...

Without that context, some of the criticisms seem unfair (like Julia being version 0.3 and rapidly iterating; 4 years before its late 2018 1.0 release).

thetwentyone··on Julia 1.6 Highlights
I think so - Julia master branch (1.7 precursor) works on M1, but not all the dependencies that some packages require have been built for M1. Though, I understand that the wonderful packaging system and the folks who work on it are working on it.

> `git clone https://github.com/JuliaLang/julia` and `make` should be enough at this point.

https://github.com/JuliaLang/julia/issues/36617#issuecomment...

thetwentyone··on Julia 1.6: what has changed since Julia 1.0?
- [JuliaLang.org](https://julialang.org/), the home site with the downloads to get started, and links to learning resources.

- [JuliaHub](https://juliahub.com/ui/Home) indexes open-source Julia packages and makes the entire ecosystem and documentation searchable from one place.

- [JuliaAcademy](https://juliaacademy.com/courses), which has free short courses in Data Science, Introduction to Julia, DataFrames.jl, Machine Learning, and more.

- [Data Science Tutorials](https://alan-turing-institute.github.io/DataScienceTutorials...) from the Alan Turing Institute.

- [Learn Julia in Y minutes](https://learnxinyminutes.com/docs/julia/), a great quick-start if you are already comfortable with coding.

- [Think Julia](https://benlauwens.github.io/ThinkJulia.jl/latest/book.html), a free e-book (or paid print edition) book which introduces programming from the start and teaches you valuable ways of thinking.

- [Design Patterns and Best Practices](https://www.packtpub.com/application-development/hands-desig...), a book that will help you as you transition from smaller, one-off scripts to designing larger packages and projects.

- Lots more topical books (Statistics, Optimization, etc) if looking for a Julia-oriented subject matter

thetwentyone··on Ditching Excel for Python in a legacy industry
I'm on mobile, but do also consider https://JuliaActuary.org (something that I personally have contributed to).
thetwentyone··on Ditching Excel for Python in a legacy industry
Related note about something I've been working on: https://JuliaActuary.org

It's basically packages to support actuarial work written in Julia, which addresses a lot of the issues of Python/R (environment management, runtime speed, rich cross-package compatibility).

thetwentyone··on Risk BowTie Method
Interesting recommendation. I've been wanting to read something that talks about important failures and the root/structural causes. E.g. I loved reading into the Challenger disaster and the follow-up investigations and was interested in similar types of events to learn from. Do you think that book is along those lines or something different?
thetwentyone··on Ask HN: What startup/technology is on your 'to watch' list?
Programming languages count as technology, right?

I'm really excited for what Julia is doing - making a really nice ecosystem of modern, dynamic, high performance code.

thetwentyone··on Why I use R
To give a quick comparison with Julia:

1. Native Data types - this is one of the things that Julia was designed to do very well. That is, native-like-treatment for all data without needing to have a C-family underbelly like Python does for its high performance code.

2. Non-Standard Evaluation - Julia has Metaprogramming[1] and Symbols[2] which provide similar ideas in a different way. It uses abstract syntax trees and is very lisp-like in that way if you wanted to get into writing Macros and such.

3. Package Management - Julia has a best-in-class built in package management system with versioning. Julia also has first-class support for documentation, so its very easy for developers to write relevant documentation. As an R user before RStudio, package management was a pain but RStudio hides the manual work that used to be searching for, downloading, and unpacking packages. Packages usually work really well together, usually automatically so you can often get really cool results[3] where other languages would require a lot of coordination (like Tidyverse).

4. Function paradigm - Julia is multi-paradigm and is conducive to functional, imperative, object-oriented, among others.

I'm a big Julia fan, after having gone R -> Python -> Julia. Not to make this totally in favor, I still like R for plotting because it's more mature. RStudio also is very nice for dynamically interacting with datasets, but Juno comes pretty close there too.

1: https://docs.julialang.org/en/v1/manual/metaprogramming/# 2: https://stackoverflow.com/questions/23480722/what-is-a-symbo... 3: https://www.youtube.com/watch?v=HAEgGFqbVkA

thetwentyone··on Larry Wall has approved renaming Perl 6 to Raku
Julia has a really great threading model coming in v1.3, which is likely to be released this month: https://julialang.org/blog/2019/07/multithreading

It already supports a variety of parallel techniques but it's about to get easier and safer (e.g. safe I/O).

thetwentyone··on Julia's Release Process
You can see some examples here: https://juliacomputing.com/case-studies/

Additionally, a lot of use cases were discussed at the recent JuliaCon (and in years past): https://www.youtube.com/user/JuliaLanguage/videos

← PreviousPage 2 of 4Next →