Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rspeer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
69 ms
·
721.
▲
by
rspeer
10y ago
> Choose your video card wisely, AMD does some things better than NVIDIA depending on what software you're running. Deep learning toolkits basically have two modes of operation: the CPU way, and the proprietary NVIDIA way. There is
722.
▲
by
rspeer
10y ago
Why would they each cost a dollar when they're running out? How could you possibly defeat economics like that? Scarce things are expensive. The Redditors who are paying lots of money for the scarce handles, and the people they are payi
723.
▲
by
rspeer
10y ago
Now you're faced with exactly what the GP said: address spaces are hard to change later. What part of Urbit involves voting? Even if Urbit were a democracy, which sounds improbable, why would the people who have the scarce thing vote t
724.
▲
by
rspeer
10y ago
This is something I've seen, but does it apply to chrono? I'm looking at its README on GitHub ( https://github.com/chronotope/chrono ), and useful examples are right there up front. DateTime::format seems to do
725.
▲
by
rspeer
10y ago
Artificial scarcity helps them make sure that only the "correct" people get planets. EDIT: You think I'm making a random political dig at Urbit that isn't borne out by the actual system, don't you. No, I am making a
726.
▲
by
rspeer
10y ago
One thing I've noticed is that the answer to "how do I use this library?" is often hidden away in a sub-page about one of the traits it defines. Many libraries are made of boring top-level code and then interesting trait impl
727.
▲
by
rspeer
10y ago
> Rustdoc has a search bar at the top. Let me assure you that I mean only the best for this language and I appreciate your persistent willingness to help, but I want to help debug your use of internal terminology that doesn't help b
728.
▲
by
rspeer
10y ago
> I copy-pasted my search term exactly in the previous post. I'm bringing up a problem with how the language presents itself to beginners, not asking you to solve a specific problem for me. If searching is the answer to everything,
729.
▲
by
rspeer
10y ago
Oh, I guess the case of this I encountered most recently was actually Option<String> == Option<&str>. I get why that's different, but it would be great if the type system could figure that out, so that the literal Some(
730.
▲
by
rspeer
10y ago
> Maybe you're only loading a small configuration file, and so fetching it all in one go is better than dealing with a buffer. If it's small, it can't be that much worse to buffer. What's wrong with reasonable defau
731.
▲
by
rspeer
10y ago
Iterators exist.
732.
▲
by
rspeer
10y ago
I mean, if I have a method foo() that returns a String, as many methods do, why can't I check if foo() == "bar"? Why do I have to check foo() == "bar".to_string()?
733.
▲
by
rspeer
10y ago
It would be silly and wasteful to read the whole file into memory just so I can iterate its lines. I'm not sure why that's an option you'd need to accomodate. However, many languages make a reasonable assumption that you can
734.
▲
by
rspeer
10y ago
Another wart (in a separate post from my other wart so that replies are coherent): I understand why &str and String are different, but why do they act like they've never heard of each other? Why do they implement such different set
735.
▲
by
rspeer
10y ago
Here's a wart. Why is reading lines from a file so hard? It's one of the first things people are going to need to do in a programming language. On top of handling errors (which I understand is necessary, and which the ? operator m
736.
▲
by
rspeer
10y ago
1. Make loads of money from black and white cardboard 2. Use some of that money to pull anti-commercialist stunts 3. Stunts increase name recognition: "Did you hear what the Cards Against Humanity people did this time?" 4. Repeat
737.
▲
by
rspeer
10y ago
> But: I expect that many of the uses of time.Now to measure elapsed time were accompanied by a comment along the lines of "// TODO: use a monotonic clock when go exposes it". You may be too optimistic. I think most d
738.
▲
by
rspeer
10y ago
Okay, you can announce that everything is fine, but it just ain't so. I missed MMS messages on T-Mobile in 2016. Google's suggested solution, besides twiddling cellular network settings and asking your friends to keep texting you
739.
▲
by
rspeer
10y ago
Hangouts can't receive MMS without special support from your mobile operator. Operators such as T-Mobile and... Google Voice... have been known to insufficiently provide that support.
740.
▲
by
rspeer
10y ago
When you switch from an iPhone to an Android phone, other people's iPhones will continue to send you messages over iMessage, which your Android phone will never see.
741.
▲
by
rspeer
10y ago
On the other hand, I understand why most developers wouldn't pay "even the price of a Starbucks coffee" for the product: because paying anything as a developer is hard. It requires making the case for why you need it to other
742.
▲
by
rspeer
10y ago
Nice. That is exactly the approach to editing I want, especially in Source Code Mode. Of course, it's only an editor for local documents. I wonder if this could be glued to Standard Notes as a backend somehow.
743.
▲
by
rspeer
10y ago
Diaeresis: a typographical accent used to remind you that you are reading the New Yorker.
744.
▲
by
rspeer
10y ago
What I'm hoping for is self-previewing Markdown -- where you use the equivalent of syntax highlighting to approximate how the Markdown will be rendered. Lines starting with # are bigger, links are links, and so on. Bullets don't e
745.
▲
by
rspeer
10y ago
Oh! Sorry. I suppose this is what Inkscape for Mac is using; that makes sense. Does it support hi-DPI yet?
746.
▲
by
rspeer
10y ago
Git is fundamentally different from a blockchain. In git, you trust the upstream repo to maintain the integrity of the data.
747.
▲
by
rspeer
10y ago
Gtk is not very cross-platform. It looks non-native on Windows, and it's so non-native on macOS that you have to run an X server just to see it. wxWidgets seems to be abandoned (their bindings don't even have a Python 3 release, w
748.
▲
by
rspeer
10y ago
Would you say the password "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaa" has high entropy? People have gotten their Bitcoin wallets owned with 60-character passphrases, because they used phrases that appeared in a Web crawl. Number of characte
749.
▲
by
rspeer
10y ago
How are you making such a specific assessment without any knowledge of what the characters are?
750.
▲
by
rspeer
10y ago
> The inflation however is mathematically guaranteed. You mean "deflation". Inflation is when your currency is worth less than it was before. Also, I'd be careful of claiming anything is "mathematically guaranteed&quo
More ›