Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ojosilva
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
211.
▲
by
ojosilva
3y ago
Perl has Smart::Comments, original work by the brilliant Damian Conway. https://metacpan.org/pod/Smart::Comments
212.
▲
by
ojosilva
3y ago
Try poe.com, they apparently work in Norway and have a paid Claude 100k option. Disclaimer: I'm not affiliated and have only used the free version.
213.
▲
by
ojosilva
3y ago
It took me a while but I finally got open to open folders in a new Finder tab instead of opening a new window each time. function opent () { what=${1:-`pwd`} what=$(cd "$what"; pwd) osascript -e &quo
214.
▲
by
ojosilva
3y ago
I've spent the last month or so working on a write-behind cache in both Rust and Zig, with a RAM + Disk component, similar to what a OS kernel memory page swap does, but at the app level and key-value-oriented. My experience trying out
215.
▲
by
ojosilva
3y ago
Well, not really. The written play is the actual Work. Shakespeare put his soul into writing every word in it. They are his instructions, a script for eternity. It's like saying don't ever read the source, just use the app!
216.
▲
by
ojosilva
3y ago
The "whole Silicon Valley" thing is very old guard too. Larry Ellison's first Oracle database would lose customers records randomly and reliability was left for the "future". This submarine, Amazon's Blue Origi
217.
▲
by
ojosilva
3y ago
Does anyone know how to convert these e-book web templates to EPUB? There are a hack lot of Rust books with these templates and it would be great to turn them into epub. There are a couple of FF addons for this but they are just meh.
218.
▲
by
ojosilva
3y ago
Having more than one way of doing things is good when it's a consequence of a positive, well-curated language evolution. I think that's Rust case. It doesn't mean that it will become more readable ("beauty"?) in the
219.
▲
by
ojosilva
3y ago
Python sits on the C-glue segment of programming languages (where Perl, PHP, Ruby and Node are also notable members). Being a glue language means having APIs to a lot of external toolchains written in not only C/C++ but many other comp
220.
▲
Afraid of AI? The startups selling it want you to be
(latimes.com)
16 points
by
ojosilva
3y ago
|
2 comments
221.
▲
Artificial intelligence warning over human extinction labelled “publicity stunt”
(independent.co.uk)
20 points
by
ojosilva
3y ago
|
7 comments
222.
▲
by
ojosilva
3y ago
Astrud fits so well the role of the Girl from Ipanema, even though she's not actually the girl who inspired Tom and Vinicius. She was always this soft-spoken, youthful spirit who so gently reminded us of a time when we were also young
223.
▲
by
ojosilva
3y ago
> I've been astounded by GPT-4 and have nearly 5x-ed my productivity with it (for coding and for parsing documents). I wonder if StackOverflow, Quora, GitHub Issues and similar websites have noticed a decrease in new questions/
224.
▲
by
ojosilva
3y ago
If you haven't read Ficciones, it's a must! Besides the Spanish original, I've read the English version and it's just as excellent. The stories in the book are each one a universe in itself and is part of today's co
225.
▲
by
ojosilva
3y ago
Yes, and sometimes one order of magnitude slower compilation and significant larger memory footprint, and typically slower execution times than Rust. Swift coincidentally has a slow compilation time thread today on HN's front page. Ada
226.
▲
by
ojosilva
3y ago
What every other modern language makes this work? Dynamic languages? C++? Nope. Golang? Nope. Java? Nope. JS/Typescript? Nope. Like I said, if the feature is not compatible with the core principles of the language maybe they shouldn&#x
227.
▲
by
ojosilva
3y ago
Named arguments in statically-typed languages is a naturally a hard thing to implement. When used in code, it also results in many folding API branches such as Foo::new(port=8088, host="localhost") or Foo::new(pipe="./my
228.
▲
by
ojosilva
3y ago
Look for lactose-free milk, typically color-coded in purple tones.
229.
▲
by
ojosilva
3y ago
BDFL or atomic leadership-led groups are more streamlined and decisions tend to be less questioned, dissidents are erased out and egos crushed. It's easier because all the gravitas, and all the blame, is pinned to a monolith. "Whe
230.
▲
by
ojosilva
3y ago
Also Node.js SEA - Single Executable Applications is a Deno-like ("deno compile") feature.
231.
▲
by
ojosilva
3y ago
I've built digital systems based on Fuzzy Logic in the US sometime in the mid 1990s. Fuzzy was good because it allowed us to implement very complex decision making (outcomes, classification...) on very, very basic hardware. It was, in
232.
▲
by
ojosilva
3y ago
I find that YAML can be, if stripped down to the nice parts, a delightful config file structure. Here's the toml.io example in perfectly legal YAML but using only YAML's nicer, JSON-like, compatibility grammar: title: "
233.
▲
by
ojosilva
3y ago
I recommend you consider Rust if you can. I'm not going to lie: it's definitely harder to learn than Go, but the benefits are immense as Rust is serious about C-level performance and encompassing the ample capabilities of C++ whil
234.
▲
by
ojosilva
3y ago
This is the new Godwin's law: the longer a thread about AI grows, the higher the probability of a comparison to Skynet, Matrix, HAL etc popping up. I would also like to add Wall-e to this memetic set of movies. In Wall-e, AI is an enab
235.
▲
Githut 2.0
(madnight.github.io)
1 points
by
ojosilva
3y ago
|
0 comments
236.
▲
by
ojosilva
3y ago
At one point, the Rust team switched away from the performant Jemalloc allocator to something more widely compatible (the system default). They chose to sacrifice performance in the sake of compatibility/stability. It's still avai
237.
▲
by
ojosilva
3y ago
Nope. I wouldn't. Not for production. • Bun is not stable yet (0.6.0) • Zig, the language Bun is built upon is not stable either (0.11.0) Nothing against these awesome projects, I'm all in for a streamlined toolchain (TypeScript,
238.
▲
by
ojosilva
3y ago
OP is right, forget about delimiters and prompt strategies, this is a classic CS problem, you can't sanitize user input if it's mixed up with "code". All possible solutions involve a significant change of architecture. T
239.
▲
by
ojosilva
3y ago
I found the issue about storage quite interesting, went digging and I found this article: https://medium.com/precision-medicine/how-big-is-the-human-g... Although the article does not mention it anywhere, I thought suc
240.
▲
by
ojosilva
3y ago
I think somewhere down the rabbit hole we lost perspective of what neural nets are doing and how we got to the post-GPT world. Remember deep neural-networks? The idea is that each layer _deeper_ the software encodes more _hidden_ relationsh
More ›