HNHacker News
TopNewBestAskShowJobs

noloblo

216 karma · joined June 17, 2017

Cypherpunk Crypto Anarchist believing in de-centralized, non-custodial, trustless and truly anonymous services that help separate money and state. Satoshi nakamoto is trying to save the world. haskell, ocaml, golang, rust, functools -python, erlang, elixir, sql

keywords: haskell, erlang, elixir, otp, pattern matching, concurrency, stm, message-passing, fp, monads, functors, type-classses, lazy, applicativeDo, streamly, parmonad, async, ocaml, quant, compilers, zen, merkle, bitcoin, xmr, cron, rkt, racket, grenade,weka,hlearn, dao, da*, crypto, gpg, distrubuted, de-centralized, trustless, anonymous, autonomous, libertarian, algorithms, data-structures, surrealism, meditation, yoga, crypto-ownership, cypherpunk, Crypto-anarchy, Cyber-states, Pirate-utopias, proof-of-work, way of tea

email: noloblonoloblo at gmail dot com

bitcoin: 1KQNb23JoQP83exLyxSGQ3zGoXZnMn3k2S

submissionscomments
noloblo··on RustPython – A Python-3 (CPython >= 3.11.0) Interpreter written in Rust
Yes rust has user friendly tooling that's far superior to pip poetry pipenv and venv etc

Since rust Python can theoretically access Tokio does it make it avoid the cpython gil issues

noloblo··on Stochastic gradient descent written in SQL
Postgres has read write parallism that can scale across millions of read writes ; if ml model is inherent in the Postgres db it is indeed very elegant reminds me of the glory days of tsearch2 to do text search in Postgres for searching our internal document repository using nothing but Postgres and boy was it faster than Java based search systems
noloblo··on Stochastic gradient descent written in SQL
Exactly since it declarative the style Lends itself using stored procedure calls to become composable
noloblo··on Stochastic gradient descent written in SQL
Does this work with Postgres?
noloblo··on Stochastic gradient descent written in SQL
We store individual sql files in github and keep them in separate folders

This is very simple and scales well for our purposes

noloblo··on Stochastic gradient descent written in SQL
+1 sql is extremely elegant composable and is under rated

Postgres is very powerful. While I sought a short detour in nosql Mongodb land now back to Mysql Postgresql sql territory and glad for it

Being able to generate views is and stored procedures is useful as well.having sql Take over more like ml, gradient descent does open up good possibility.

Also since sql is declarative it Makes it so it's rather easier than imperative scripting languages

noloblo··on Atlassian to shed 5 per cent of workers
bitbucket is a solid product on its own but it's no where comparable to the social network and sheer volume of github and usability of github copilot.
noloblo··on How ChatGPT was built from the people who made it
it is not a stable coin for certain @astrange, it is not a USD replacement but it is a deflationary store of value, where the value is supposed to accrue over longer term time horizons due to it is fixed number of 21m cap of number of bitcoins. so with the store of value comes quite a bit of volatility
noloblo··on Linker Notes on AArch64
thanks for this @signa11 @maskray while i believe the world is moving to arm aarch64 and arm64, there is quite a bit of work still needs to be done in the llvm, compiler, linux software delivery ecosystem to bring aarch64 upto par with x86_64
noloblo··on The Determinate Nix Installer
Yes I'm still getting the error so I'm unable to install in wsl2 windows 10 and not planning to upgrade to windows 11
noloblo··on Ask HN: How do I stay on top of AI within software development?
Haskell composing well and type safety makes handling the complex networks of rnns very elegant
noloblo··on ARM64 Linux Workstation
Asahi Linux is one of the best projects in OSS community I trust their work to run on my m1 m2 macs
noloblo··on Ask HN: Why has functional programming become so popular oustide academia?
in a sense erlang is the most used dialect of prolog in industry
noloblo··on Phoenix Dev Blog – Streams
But you never know with rustaceans as there is a strong enduring culture to rewrite in rust
noloblo··on Achieving High-Performance the Functional Way (2020)
what about GIL? https://wiki.python.org/moin/GlobalInterpreterLock

why python can't thread? impact of GIL on python https://pythonspeed.com/articles/python-gil/

noloblo··on How ChatGPT was built from the people who made it
bitcoin/cryptocurrency is useful as a store of value under kleptocratic regimes and super inflationary economies sadly the USA has become very inflationary due to fed printing infinite $$s under the guise of pandemic rescue.

The rest alt-coins, tokens yes I agree with you are never useful except for grift

noloblo··on Ask HN: Why has functional programming become so popular oustide academia?
And watching periodically

https://youtu.be/vGVJYoKIzjU

John Hughes why fp

https://youtu.be/1qBHf8DrWR8

noloblo··on Ask HN: Why has functional programming become so popular oustide academia?
Erlang is prolog inspired
noloblo··on Ask HN: Why has functional programming become so popular oustide academia?
John Hughes why fp

Worth a read periodically IMHO

https://www.cs.kent.ac.uk/people/staff/dat/miranda/whyfp90.p...

noloblo··on Ask HN: Why has functional programming become so popular oustide academia?
Pls watch haskell monad

https://youtu.be/_Gk_lwhJMzk

And then >>=

https://youtu.be/ZhuHCtR3xq8

And then >>=

https://youtu.be/t1e8gqXLbsU

noloblo··on Ask HN: Why has functional programming become so popular oustide academia?
As far as haskell

Declarative by nature and get parallelism and concurrency from the world class ghc runtime ; avoid call back style js, locks mutex, semaphores

Type classes

Type inference

Io capturing the messy real world of state, side effects, io, async concurrency, parallelism

Pure functions or expressions as opposed to imperative Statements

Pattern matching

Monads >>=

Monadic transformers

Maybe Monad equivalent to option type in rust ocaml to avoid null (f# might still have nulls)

Hackage cabal stack and world class libraries

Green threads like erlang Otp elixir

Cloud haskell is haskell's answer to erlang

Lazy default evaluation with strict constraints if needed

Perform unsafeio but explicitly

Immutable by default

Stm software transactional memory when need mutations that compose well

Heavily optimized ghc compiler with fast gc

Type safety Compilers giving errors on type mismatches : trusting the compiler and refactoring with abandon - if it compiles it works

Haskell native compiled code can be Very fast as in golang / ocaml

Tldr haskell makes easy things hard with a steep learning curve and hard things easy as composing is way more useful than Oops. Theoretically, functional programs should: have fewer bugs, be easier to optimize for performance, allow you to add features more quickly, achieve the same outcome with less effort, require less time to get familiarized with a new codebase, etc.

As venerable prof Joe armstrong says you need haskell erlang for fp ; you need c for high performance ; you really don't need cpp Java python c#

Most of these points apply to varying degrees to common lisp racket erlang elixir rust

noloblo··on Living with Rust Long-Term – Jon Gjengset
No seriously are there best practices to avoid common rust pitfalls with the borrow checker?
noloblo··on Testing multiple Python versions with nox and pyenv
python3 -m venv.

. bin/activate

pip install dependencies

noloblo··on Phoenix Dev Blog – Streams
it is very hard for other languages to pull this off

as Erlang OTP uses a shared nothing architecture

each green thread has it own GC

communication is only via message passing

it is ok to fail over as the threads are easy to replicate as they are cheap

it is possible Golang via ergo as golang gets concurrency right, but doesnt have evolution systems and BEAM

Haskell via cloud haskell might replicate live view... but they are not the sensible defaults as in erlang/elixir/otp

Python never as their async concurrency parallelism story is ill-thought out w GIL limitations. Rust very very hard as their async concurrency design is extremely complex...

noloblo··on GitHub Desktop 3.2: Preview your pull request
https://github.com/gitx/gitx/releases my daily driver in mac
noloblo··on Living with Rust Long-Term – Jon Gjengset
error[E0382]: borrow of moved value

Uh-oh. Looks like you’ve run into the dreaded borrow checker!

Are there best practices and how to avoid common sense rust pitfalls!?

noloblo··on Use GNU Emacs
Why is an emacs server needed
noloblo··on Use GNU Emacs
Is that not the description of vi
noloblo··on ARM64 Linux Workstation
seems to be clean bash script http://pastie.org/p/578asRpS0abo92Efj1YGLZ FWIW

so seems safe to me

noloblo··on ARM64 Linux Workstation
yes No need to use flash usb drive just enter in terminal

curl https://alx.sh | sh

to install asahi linux Dual boot on m1 or m2 MacBook apple silicon

← PreviousPage 4 of 10Next →