Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
simias
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
54 ms
·
511.
▲
by
simias
6y ago
I agree that it's very arbitrary, but the justification that it could set a precedent by allowing effectively "copycat" application using spelling to mislead users holds some water IMO. It's especially problematic when
512.
▲
by
simias
6y ago
I considered that but IIRC browsers like firefox will accept to load an URL without creating a new child process. For instance if I type "firefox ' http://google.com '" in my terminal my already-running firefox
513.
▲
by
simias
6y ago
I really don't care to defend Apple in particular, I think the only Apple product I've ever owned was an old school hard-drive ipod over a decade ago. It's just that Apple has always been pretty clear that it's going to
514.
▲
by
simias
6y ago
It amazes that that this is still considered amazing. Apple is the gatekeeper of software running on the app store, always has been, probably always will be (modulo a successful anti-trust campaign I suppose). If you want to be able to deci
515.
▲
by
simias
6y ago
How does Windows prevent this type of bypass? It seems extremely hard to prevent in an unsandboxed environment.
516.
▲
by
simias
6y ago
I never claimed otherwise. If you want to enforce invariants in your DB API you'll have to implement them yourselves, Rust won't do it for you because Rust doesn't know what a database is. Still, it's perfectly possible
517.
▲
by
simias
6y ago
In case somebody stumbles upon this conversation in the future: I just migrated a project to use smartstrings and it works a bit differently from smallvec. Smallvec lets you decide how big you want to make the static buffer before it alloca
518.
▲
by
simias
6y ago
Ah, nice, I was looking at the smallstring package that's appears abandoned. I'll be sure to check this one out. The good thing about having a decent type system is that I expect that transitioning to smartstrings should be painle
519.
▲
by
simias
6y ago
Rust has the expressive power to design an API that explicitly makes it impossible if you so desire though. For instance by using an API similar to mutexes where you have to lock to access the contents.
520.
▲
by
simias
6y ago
I completely agree with the points made here, it matches my experience as a C coder who went all-in on Rust. >"Clever" memory use is frowned upon in Rust. In C, anything goes. For example, in C I'd be tempted to reuse a bu
521.
▲
by
simias
6y ago
I think all of us who yearn to master a foreign language felt that way at some point. When some concepts seem to fly above your head, you gain new appreciation for the natives who can just juggle with all of that intuitively. One thing to a
522.
▲
by
simias
6y ago
My 1200 day streak was actually first Portuguese, then Russian (with some overlap), and I've used many other resources to help learning in both cases, I never only did Duolingo for long amounts of time. I don't think using only an
523.
▲
by
simias
6y ago
I think Duolingo is fine for reading comprehension and basic sentence-building skills, but I think there are many better apps for vocabulary learning, such as Anki, Memrise and Closemaster. The problem with Duolingo is that it doesn't
524.
▲
by
simias
6y ago
I was actually just thinking that he should probably register the [diamond][hands].kk domain, there's got to be some demand for it given how much it gets spammed over there.
525.
▲
by
simias
6y ago
I thought about that but I think the main advantage of doing it this way is to corner the market somewhat. You get all the "good" ones and make it harder for anybody to clone your idea.
526.
▲
by
simias
6y ago
The website is in Russian though. The author probably knew that because he had to use some online translation tool to go through the purchase process. Fun fact: the Kazakh government decided to replace Cyrillic with Latin for the Kazakh lan
527.
▲
by
simias
6y ago
I'm genuinely impressed by the author's willingness to come up with such a silly idea, go through with it, implement a completely barebones website that won't even let you send emails from the addresses and starts selling sub
528.
▲
by
simias
6y ago
Agreed, deepl is pretty impressive, although its language selection is a lot smaller than, say, Google Translate. The usual caveats of automated translation apply though. "Take it" will be translated as "tomem-no" in Por
529.
▲
by
simias
6y ago
Technically it's based on whether the output is a tty or piped/redirected into something, not whether it's run from the shell's prompt or a script. So for instance if you run a bare `ls` from a script that outputs straig
530.
▲
by
simias
6y ago
If you're willing to trust your restaurant you should also probably trust Coca Cola. Not because I think Coca Cola is more honest, but do you imagine the PR nightmare if employee #832453 captures a video on their smartphone of dirty bo
531.
▲
by
simias
6y ago
Ah yeah I forgot about `ps`, that's definitely one of the worst offenders. I completely agree with you overall point btw, I just don't think that's in an either/or type of situation. Rewriting the existing standard utils
532.
▲
by
simias
6y ago
I think both approaches are interesting and valuable. Yes ripgrep is great for interactive usage, but in scripts I'll still be using grep for the foreseeable future. I think the situation with GNU coreutils on Solaris/BSDs is a bi
533.
▲
by
simias
6y ago
I don't think that being surprised by the physical appearance of somebody that you only interacted with online says anything about you but I assume that if you were called racist it means that you remarked on it? If so that's at t
534.
▲
by
simias
6y ago
It's a pretty weird comment though, it's hard to judge without knowing more context. Whether this is actually racism or not it's hard for me to imagine a context where such a remark would be appropriate at work. In general I
535.
▲
by
simias
6y ago
I always found SPARC's stack handling to be very elegant and I write enough of low level code that these architectural details do from time to time impact me, but isn't it largely irrelevant for the industry at large? After all MI
536.
▲
by
simias
6y ago
It's just incredibly hard to compete with Youtube. In a way that's Google's greatest achievement: they convinced everybody that they're entitled to host and stream 4K videos forever not only for free, but the creators ge
537.
▲
by
simias
6y ago
> However, the money mostly comes from patreon subscribers, and you can also have videos delivered there Did he break that down publicly or do you get your info from elsewhere? I've always been curious to know what a typical high pr
538.
▲
by
simias
6y ago
You comment made me realize that if it becomes reality RSS might finally make a much needed comeback. You'll just poll various decentralized website to find updates for content you actually want. Aaaah, now you got my hopes up. If you
539.
▲
by
simias
6y ago
I think that's a great decision. Many people like to complain about Youtube and its policies and its algorithms but it's simply very hard to compete with it. Its offering is really unparalleled. Hopefully these creators will manag
540.
▲
by
simias
6y ago
(I wanted to read your [1] reference but you seem to have forgotten to add it.) I agree that comptime is not the same thing as Rust macros, I mostly mentioned Rust macros because I felt it was a gotcha to my argument since my criticisms of
More ›