HNHacker News
TopNewBestAskShowJobs

snicker7

1,713 karma · joined February 27, 2016

Domains of expertise: financial mathematics, data engineering.
submissionscomments
snicker7··on Squash, Merge, or Rebase?
Squash + Merge is better for the vast majority of developers who put garbage commit messages in their feature branches.
snicker7··on PostgreSQL views and materialized views and how they influenced TimescaleDB
Interestingly, DBT does not support creating materialized views.
snicker7··on Crystal's Interpreter (2021)
It is good to see languages like Crystal and Julia having both a compiler and an interpreter.

I would really like to see a hybrid approach, where an interpreter is used for the outer loop and a compiler for the inner loop. I believe Guile takes this approach by automatically compiling frequently called functions.

snicker7··on How safe is Zig?
How exactly is pre-allocation safer? If you would ever like to re-use chunks of memory, then wouldn’t you still encounter “use-after-free” bugs?
snicker7··on We Put Half a Million Files in One Git Repository, Here’s What We Learned
As a counter-point, package managers generate “lock files” that are designed to be tracked in VC.

For these translation files, I’d imagine there may be occasional work to modify them even after they are initially generated.

snicker7··on CeresDB: A high-perf, distributed, schema-less and time-series database (Rust)
Since it’s not obvious from the README, this is by Ant Group (Alibaba affiliate).
snicker7··on Microsoft will include pay ranges in all U.S. job postings
So he’s getting paid full salary for two years and doing nothing? Sounds like a dream!
snicker7··on Probability and Statistics Cookbook (2011) [pdf]
There is a book titled “All of Statistics” if you’d like a whirlwind tour.
snicker7··on Computer work lying down comfortably with a home-made stand over the bed
BTW, The Dygma Raise is the best keyboard I ever owned. It feels dirty using anything else.
snicker7··on Correctness and composability bugs in the Julia ecosystem
Yes, if you use tooling (mypy). It definitely helped me a few times.
snicker7··on Correctness and composability bugs in the Julia ecosystem
C/C++ memory errors are literally responsible for 70% of ALL critical security bugs. Most python "dumb errors" can be caught by linters. Memory is infinitely harder.

Source -- https://msrc-blog.microsoft.com/2019/07/16/a-proactive-appro...

snicker7··on Correctness and composability bugs in the Julia ecosystem
"known to be incompatible"

Known to whom? People who regularly participate in the Julia forum/chat? Julia's composability relies on people agreeing on unwritten rules and standards.

In other languages, such incompatibilities are caught by the compiler. Even in other dynamic languages like Python or Javascript, it is now considered best practice by many to annotate types whenever you can. Like Julia, Haskell is also composable. Unlike Julia, it does not need to sacrifice correctness.

snicker7··on Correctness and composability bugs in the Julia ecosystem
A lot of these issues can be fixed. Adding robust type constraints (e.g. traits) and accompanying "static analysis" tooling would help a lot. Julia can learn a lot from ML-family languages (e.g. OCaml, Haskell) in that regard. And there are efforts in the Julia community to add these features via third-party libraries. However, I don't see things improving unless such features are baked into the language and used more ubiquitously in open source modules.
snicker7··on K – A simple, fast vector programming language
The main product is is “kdb+”, a simple, fast, proprietary, embedded, time series database. Especially good for tick data.

I work in finance, and literally all of my employers used it. Not much secret sauce, just simple algorithms implemented very well. No real open source competitor. Well, maybe DuckDB if they support as-of joins.

snicker7··on Jax vs. Julia (Vs PyTorch)
The underscore naming convention is far from ubiquitous in either the Python or Julia communities.

The more practical indicator of a function being "public" is whether or not it appears in the published API documentation. Unlike Julia, Python projects are more likely to have complete documentation (or even documentation at all). So there is a better understanding of what "public" means in Python. Without docs, it's a guessing game.

snicker7··on Nqcdynamics.jl: A Julia package for nonadiabatic quantum classical MD
I can't seem to select a text select on the code snippets in either the HTML or PDF version. This feels like an accessibility issue.
snicker7··on Implementing Cosine in C from Scratch (2020)
In the Julia repl, just type '@less sin(pi)' to view the source code of sin. I don't know of any other programming language that makes it this easy to look at its internals.
snicker7··on Why income share agreements did not work out
If it weren’t for private loans, it would have been impossible for me to go to college.
snicker7··on Please put units in names
Julia supports zero-overhead units:

https://github.com/PainterQubits/Unitful.jl

snicker7··on Ask HN: How do you share your personal setup over different computers?
Do you mind detailing your setup? Do you use guix home? How do you manage personal data?
snicker7··on Sweden’s 'speed camera lottery' hit a red light years ago (2021)
- Does not matter. If my someone driving my car fails to pay the toll, the state sends me the letter. If I want to dispute it, I can take it to court.

- More financial penalties.

- Can't enforce what isn't enforceable.

- See above

- Yes

- Yes

- They are exempt.

- They can explain that in court.

- The state makes a lot of money, then.

- That would be a crime.

- Fine the fly.

- No. Save the taxpayer dollars.

- No. But that's true with anything that's government-related.

snicker7··on 60 percent of hiring managers say they value skills over diversity
These sorts of polls are worthless because it depends on one's perception of the difference between "skilled" and "moderately skilled".
snicker7··on Just say no to :latest
Dockerfiles are generally bad for reproducibility. This is mostly because Linux distros generally don’t care about it. Nix and Guix both support Docker export.
snicker7··on “The president of MIT told me that tenure was not about research or merit.”
Countries in Latin America are composed of many races, nationalities, and ethnicities. They intersect, but are not equivalent.
snicker7··on “The president of MIT told me that tenure was not about research or merit.”
Race is a social construct invented by colonizers (whites) as a way to categorize and other-ize everyone else. It has no biological or ethnic or cultural meaning. Race is not an inherent thing, but a complex relationship between groups of people with unequal power and privileges.
snicker7··on “The president of MIT told me that tenure was not about research or merit.”
In the United States, you can be white Hispanic and non-white Hispanic.

The term Hispanic just refers to anyone with heritage from a Spanish speaking country in the Americas. It is neither a race nor an ethnicity.

snicker7··on InteractiveCodeSearch.jl – Interactively search Julia code
The pipe operator '|>' is rendering as '>' .
snicker7··on State of Rhombus (programming language)
> Its macros have to be given at least vaguely Julia-like syntax

That’s true with Lisp as well. The point of homoiconicity is that your DSL looks like your parent language.

That said, Julia supports string macros. See for example “APL.jl” for a macro of to compile APL to Julia.

snicker7··on Why won’t anyone teach me math?
There are multiple entry points, depending on your goals.

However, if your goal is to learn mathematics for the sake of art, I recommend Kolmogorov's Elements of the Theory of Functions and Functional Analysis.

snicker7··on Is it even worth working on FOSS anymore?
Unlike paintings, FOSS software is critical to many governments and multi-trillion dollar corporations.
← PreviousPage 3 of 20Next →