Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ingenieroariel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
61.
▲
by
ingenieroariel
4y ago
Should we be linking flagged items? That discussion was very ugly and unproductive.
62.
▲
by
ingenieroariel
4y ago
> If you give GPT-5 too broad of a problem to solve, it can get lost and forget things For a second there I thought I needed to read more articles per day in order to not miss the release of a new model!
63.
▲
Learn OCaml with ChatGPT4
(gist.github.com)
2 points
by
ingenieroariel
4y ago
|
0 comments
64.
▲
by
ingenieroariel
4y ago
Try switching all the .cuda() to .mps() I got a 100x speedup on a different language model on a Macbook M1 Air. https://pytorch.org/docs/stable/notes/mps.html
65.
▲
by
ingenieroariel
4y ago
Seems you would need to first override ocaml and then override the ocaml used in mkOcamlPackages. [1] let o = ocaml.override { flambdaSupport = true; }; in let oP = ocaml-ng.mkOcamlPackages o (self: super: {}); in oP.apron [1] h
66.
▲
by
ingenieroariel
4y ago
Most hardcore Nix users/developers I have met have been suspicious for Flakes for several years, so your point rings true. That said, it feels like they are slowly coming to terms with it and just accepting it as default. Here are two
67.
▲
by
ingenieroariel
4y ago
If you are mainly using OCaml and do not mind flakes, this was a very good starting point for me: https://github.com/brendanzab/ocaml-flake-example/blob/main/... Using Flakes you can have a devShell, a c
68.
▲
by
ingenieroariel
4y ago
To your point: If you have your data as parquet files and load it into memory using DuckDB before passing the arrow object to Pandas you can run in arbitrary large datasets as long as you aggregate them or filter them somehow. In my case I
69.
▲
by
ingenieroariel
4y ago
Great work Graham and team, I'll be switching to it on OSX. I wonder if you took a look at some of the modifications done by portable-nix ( https://github.com/DavHau/nix-portable ), most important ones being: a)
70.
▲
by
ingenieroariel
4y ago
That's the latest one. It is the same as on the website. If you need any help getting started, please join us on the Redbean Discord: https://discord.gg/eHtVmUEB
71.
▲
by
ingenieroariel
4y ago
If you like Flask (I do too), you can do what we used to do before Flask existed (./djngo.com -p project runserver) where .python/project.py in the zip is: import os from django.conf import settings from django.core import
72.
▲
by
ingenieroariel
4y ago
Please try again, I just re-ran the deployment and tested on my M1 (OSX): x@m1n1n0 ~> chmod +x djngo.com x@m1n1n0 ~> sha256sum djngo.com 6205984f572575c407ce65502361b554af17584f076076bec7440613459d 1dff djngo.com x@m
73.
▲
by
ingenieroariel
4y ago
The technical reason for choosing Python 3.6 no longer applies due to how quickly cosmo has advanced in the past months (in particular thread support). jart and ahgamut were the ones who made it happen, I am only a python.com user. But if y
74.
▲
by
ingenieroariel
4y ago
Author here. In 2007 when Django was starting to get popular there was a website called instantdjango.com where you could go and download a zip that would let you run Django and Python on Windows, with everything configured nicely. I only u
75.
▲
Portable Django
(djngo.com)
116 points
by
ingenieroariel
4y ago
|
65 comments
76.
▲
by
ingenieroariel
4y ago
Is the author stuffing the book contents in SQLite on load time or fetching them from a file?
77.
▲
by
ingenieroariel
4y ago
I have tried to teach everyone in my family to use Google with special keywords instead of natural language, for maybe 15 years. Much like how people who learned using books or articles diss on the people that learn using Youtube tutorials,
78.
▲
The Stock Tip: Jerry Seinfeld (1990)
(imdb.com)
1 points
by
ingenieroariel
4y ago
|
0 comments
79.
▲
by
ingenieroariel
4y ago
On number 2, even if you are John Carmack you may have trouble getting the right people on the phone. https://twitter.com/id_aa_carmack/status/1305967411749892098... Anyone at Google Cloud out there? It seems I ca
80.
▲
by
ingenieroariel
4y ago
I do run nix on the macos side, for graphics apps like a browser I would not recommend. But for command line apps like interpreters, compilers and vim-like editors it is really useful imho.
81.
▲
by
ingenieroariel
4y ago
I have been using this repo as my daily driver for a month: * The author is quite responsive to personal messages or issues / pull requests. * The people who fork it and change a thing or two are champions, they play with adding rust
82.
▲
by
ingenieroariel
4y ago
There is a point between AI (chatgpt, stable diffusion) and regular software based controllers (PID on an 8bit microcontroller). This point is Machine Learning and for literature it may be indistinguishable from AI but can be just a Linear
83.
▲
by
ingenieroariel
4y ago
Here is an example of a single file Django project I started around eight years ago that does what you mention: https://github.com/planetfederal/registry/blob/149a2b958dd05...
84.
▲
by
ingenieroariel
4y ago
Back in 2004? they would ship CD's to Colombia, even if you put like 20 in the form you would get them a few months later and could share with friends. Those were the days, we laughed and laughed.
85.
▲
by
ingenieroariel
4y ago
Just that it is built in I guess, and that cosmo libc places special attention to allowing you to use gdb/strace/memzoom and other debugging tools.
86.
▲
by
ingenieroariel
4y ago
Another benefit of cosmo compiled apps is debugging. I won't get into pledge/unveil but check this out: On my compiled python.com I try to open an app with a socket already in use: ./o/third_party/python/python
87.
▲
by
ingenieroariel
4y ago
It was mentioned in the discord that instead of doing `curl something | sh` you could do `curl something | ./pledge.com sh` that looks like an interesting way to see what all those install scripts really want to get access to
88.
▲
by
ingenieroariel
4y ago
Reading your writings since the times where you had to manually merge newadmin and geodjango svn branches. Lots of love from south america.
89.
▲
by
ingenieroariel
4y ago
For anyone confused, this is not an "Open Source Cloud" replacement, but and "Open Source" "Cloud Replacement". A way to have the vacuum robot become cloud-free.
90.
▲
by
ingenieroariel
4y ago
I saw a project get themselves in that position by using a lot of AWS services. At some point it seems they had a dev environment but it quickly faded. Their solution was to have an anonymized copy of prod to a few (like 3 for 20 engineers)
More ›