Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
CornCobs
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
121.
▲
by
CornCobs
5y ago
It's not the network, though - it's the experience. When some community decides to up and move to libera, I connect and register with the new server and it's literally the same thing. Clients create the UX and the community c
122.
▲
by
CornCobs
5y ago
The identical experience of libera chat makes me realize how useful open protocols are, and how much harder it would be to do something like this with some platform like discord
123.
▲
by
CornCobs
5y ago
I think f strings are great - obvious, unambiguous and an instant huge qol improvement
124.
▲
by
CornCobs
5y ago
I have a similar experience. I initially naively thought that implementing data structures would be a good exercise in grasping syntax and ownership. It's usually one of the earlier exercises I do in learning a new language. However da
125.
▲
by
CornCobs
5y ago
I recently did a bit of a dive into the internals of another interpreted dynamic language - R. This may be quite unsurprising but I was struck by how similar many things are here. I guess this says something about how writing a runtime in a
126.
▲
by
CornCobs
5y ago
Yeap. I think Pandas could and should see a lot more use outside data science as performant in-memory data storage in Python. The best thing is? Most data scientists don't even care about SoA vs AoS - tabular structure is easy to grok,
127.
▲
by
CornCobs
6y ago
In my personal opinion when I'm reading code and trying to follow execution flow, OOP's "Everything happens elsewhere" approach is really annoying. In a Java codebase for example I would need to find all implementing cla
128.
▲
by
CornCobs
6y ago
I've used ANTLR4 and parser combinators (haskell). I would say ANTLR4 was really fast to get going, but it hides a lot of execution semantics from the user. It was pretty difficult for me to debug precedence or even figure out when cer
129.
▲
by
CornCobs
6y ago
I'm quite sure that's not right. I don't think anything else is in much common use besides basic solfege, especially for teaching.
130.
▲
by
CornCobs
6y ago
Agreed. Tidyverse is a totally different language, even. And it's one that is consistent, easy to use and most importantly, it feels designed Huge props to Hadley Wickham and whoever helps bring programming niceties to R's otherwi
131.
▲
by
CornCobs
6y ago
Honestly, in my experience, R's DSLs are not a bad thing. When you are doing analytics day in and out you basically are speaking the DSL anyway, so what if you have to learn this slightly different language if it expresses what you wan
132.
▲
by
CornCobs
6y ago
In fact it's been so long since I've seen anyone use it for powerpoint slides (or anything really) that when I came across the "Wearing the hair shirt" talk recently I was hit with a nice nostalgic feeling: https:/
133.
▲
by
CornCobs
6y ago
TIL. I've always wondered how to select range besides starting from totally empty space (below the rows). Never imagined so much thought needs to go into this!
134.
▲
by
CornCobs
6y ago
I learnt this the hard way the other day that this is the case with Postgres too. Its very jarring in my opinion that we have to write date(1, 0, 2020) to mean 1st Jan - the date and year are fine but we suddenly need to minus one in the mi
135.
▲
by
CornCobs
6y ago
Paint has a "Render history as gif" function??? That is amazing! Or is this a new feature in paint?
136.
▲
by
CornCobs
6y ago
Pandoc for text, ffmpeg for audio/video and imagemagick for images? I've used pandoc for pdf generation and ffmpeg for some audio recording/encoding/playback. I can't imagine what I would use imagemagick by itself f
137.
▲
by
CornCobs
6y ago
Great thing about Pandoc - it has a clear, descriptive and yet unique name that aptly describes what it does. That aside, I find the markdown + additional features (e.g. latex math, inline code eval), mainly as implemented in Rstudio and Rm
138.
▲
by
CornCobs
6y ago
Love this idea. Maybe you could add random value generation? E.g. EXPERTS CLAIM <var> TO BE <type>. IT WILL SURPRISE YOU!
139.
▲
by
CornCobs
6y ago
Having used Java somewhat, the biggest pain points I encountered with checked exceptions was their incompatibility with highly generic code (aka streams). What if all library functions taking lambdas (e.g. map, filter) all took throwing fun