Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
etra0
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
etra0
4y ago
I agree, I should have phrased it as *I believe it's one of the reasons*. Developer ergonomics matters a lot, too. The compiler is incredibly helpful, it makes these kind of projects less scary to contributors too, and I agree that pat
92.
▲
by
etra0
4y ago
I think this is because now one of the fastest languages is also safe. Before, the usual options for writing 'performant code' were usually C or C++, and even though modern C++ has better tools for memory management and safety,
93.
▲
by
etra0
4y ago
I just tried it with a blogpost of my own that's written in a somewhat localized Spanish and it summarized it pretty well in English, which is quite surprising. Good job team kagi!
94.
▲
by
etra0
4y ago
Nim does this, it has 'proc' and 'func'. They define a `func` as a procedure with no side effects using the macro `{.noSideEffect.}` [1]. [1] https://nim-lang.org/docs/manual.html#procedures-func
95.
▲
by
etra0
4y ago
A bit tangential, but, recently my partner had her Google Drive with around ~3.000 files in the root folder (created mostly by Google Classroom), which means the Files app of the iPad couldn't show them all, because for some reason it
96.
▲
by
etra0
4y ago
I remember when I was a kid, I wanted to start coding so naturally most places mentioned Visual Studio. I installed it in the hopes to begin something new and challenging. Every time I open Visual Studio, it took an average of 18 minutes (y
97.
▲
by
etra0
4y ago
For me, it's game hacking (not online cheating, though!). Such a diverse topic where you can do a lot of stuff, learn a lot of stuff (x86 assembly, reverse engineering, etc) and you can achieve things like free-cameras, spawning npcs,
98.
▲
by
etra0
4y ago
I am curious about the safety, though. This minimal example causes a segfault: type Foo = ref object a: int var foo: Foo = nil echo foo.a which wouldn't be simply possible to type in safe Rust.
99.
▲
by
etra0
4y ago
I recently tried Nim for the first time, and although is simpler, the model with values vs refs was a little more complicated than needed imo, and the 'easy C interactivity' wasn't as simple as with, let's say, Zig, wher
100.
▲
by
etra0
4y ago
I think of all social networks I've used, Twitter was the best at 'getting out of my echo chamber'. I was able to discover about multiple topics I got interested in, got to read about a lot more technical stuff that otherwise
101.
▲
by
etra0
4y ago
I do have a blog but haven't updated it for a while, but it is also in heavily localized Spanish, so it won't be as useful to most people here :( I might think on writing a blog post of this now that some of you found it interesti
102.
▲
by
etra0
4y ago
Maybe not what you expect for an answer, but I'm self-hosting a telegram bot that does a bit of scrapping of a certain site I'm interested in, and serving those messages to a couple of subscribers (around ~10 people). I know, it i
103.
▲
by
etra0
4y ago
Nice, I'm really vouching for Affinity since Adobe went to SaaS. It has performed quite well for me and one time purchases are welcomed. I'd love for them to do a Lightroom replacement, since it's one of the last tools I'
104.
▲
by
etra0
4y ago
Agree, I don't know if it's that useful for `Result<T>`, but for `Option<T>`, there has been a couple of times I've written if foo.is_none() { return; } let foo = foo.unwrap() Now I can do simply
105.
▲
by
etra0
4y ago
I agree -- I've been using vim for 4 years and jumping around has never been a problem. I use `f`, `t` and `/` a lot and usually that's more than enough (son of course `<n>[jk]`). At this point I'm more bottlenecke
106.
▲
by
etra0
4y ago
> Given that they should never be in this position, Cloudflare is choosing between "platforming the bad guys" and "censoring free speech". They have navigated this imperfectly, but have done better than most would, I
107.
▲
by
etra0
4y ago
I had this problem as well. Author later in the comments replied with youtube links: * https://www.youtube.com/watch?v=b-eZsclPq64 * https://www.youtube.com/watch?v=sV_CbRsnxF4 * https://www.yout
108.
▲
by
etra0
4y ago
Sometime ago I was comparing go, python and Rust to do some GET request asynchronous. At first, I noticed that the go version was actually faster than the Rust one, and then I saw that in `reqwest`, they recommend you if you're doing m
109.
▲
by
etra0
4y ago
Well clearly I suck at 'searching' :-) for some reason I thought searching on github `language:haskell` would spit useful results, but now I can see I did it wrong. that's a good list to look at into for inspiration, thanks!
110.
▲
by
etra0
4y ago
That's cool to know, maybe I should keep trying. And regarding your top comment, I agree that's quite hard to find interesting SW written in it, that's one of the reasons I quickly gave up, but I guess it doesn't hurt to
111.
▲
by
etra0
4y ago
I recently tried to get into Haskell, while also looking for relevant projects written in it on Github and couldn't find anything "interesting" (this may vary from person to person, obviously). I was watching a YouTube playli
112.
▲
by
etra0
4y ago
The day iPad gets hardware accelerated VMs without any jailbreak would be the day it'll become a productivity machine for developers. The iPad is cool, portable and has a nice screen, but iPadOS still holds it back IMO.
113.
▲
by
etra0
4y ago
That's a good selection :^) This pandemic I started learning about knots as well but IMHO one end up using a very few selection that works for most cases. I admit sharing small selections may not be that useful because people have di
114.
▲
by
etra0
4y ago
I had the same issue, but luckily, with your mouse you can move some of the blocks so you can adjust them to break the first line, and then everything collapses and it's kind of fun to see.
115.
▲
by
etra0
4y ago
You cannot longer see the true like/dislike ratio. They removed the dislike count even from the API since December 13th [0]. The extension does some guesswork to calculate that for you [1]. This library also doesn't give you the d
116.
▲
by
etra0
4y ago
Doing std::mem::forget is not unsafe as you cannot get any sort of undefined behavior which is what Rust protects you from [0]. Leaking is pretty safe, not always desired but definitely not dangerous like random pointers derefs. But as OP s
117.
▲
by
etra0
5y ago
True, vim at the end of the day as you said -- is just a text editor. I usually use vim + tmux to handle a couple of panels with compiler + debugger. Maybe I should try Emacs since it sounds like it can do everything without ever leaving it
118.
▲
by
etra0
5y ago
Vim still has some short comings when it comes to developing, since at the end of the day, is a text-editing tools. I usually use tmux + vim over SSH and it's very comfy, maybe Emacs can do all of that in Emacs itself. I hope I can gat
119.
▲
by
etra0
5y ago
I remember seeing vim as a complex solution for text editing, and I didn't touched it for that same reason. A couple of years later I spent sometime learning it and now it's my day-to-day tool for writing code. I feel the same wit
120.
▲
by
etra0
5y ago
This is... actually genius. I wonder if that would work with media too, specifying the input type or something, going to test that.
More ›