Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
NOGDP
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
NOGDP
6y ago
Haven't read Gene Wolfe (yet), but I can strongly recommend 'Hyperion Cantos' by Dan Simmons.
32.
▲
by
NOGDP
6y ago
> I said "liberal democracy," not "US government agencies." I also don't think the information itself is suspect. So, how does exposing high-level corruption, war crimes, mass surveillance, etc. lead to a 'd
33.
▲
by
NOGDP
6y ago
Except you're spreading FUD about a huge trove of information without any specific reference to how or why the information is suspect. The only actual reasons you mention as to why this information is untrustworthy is that it's hu
34.
▲
by
NOGDP
6y ago
'I think all information should be free. Except anything that could be damaging to CIA, NSA, US government. And only approved actors can release this information. Because uhhh, democracy.' Okay bud.
35.
▲
by
NOGDP
6y ago
A few years ago I got an unsolicited sales call from godaddy, offering me all sorts of bullshit that I didn't need (I did have some domains with godaddy then). I promptly told them no and thought that was that. A few days later I notic
36.
▲
by
NOGDP
6y ago
Try crack.
37.
▲
by
NOGDP
6y ago
tldr - Java is safer and simpler than C++.
38.
▲
by
NOGDP
6y ago
> When you put various things into this map and then later get them out and want to work with them, you will have to cast them to be able to do anything useful with them. Considering this is entire hypothetical is a edge case, that'
39.
▲
by
NOGDP
6y ago
> Sure, but that already means you are jumping through hoops. Map<String,Object>, Object, a few other things you may need are standard Java, so not sure how this is 'jumping through hoops'. It's not necessarily more
40.
▲
by
NOGDP
6y ago
> Any code which you do not know how to structure within Java's type system can be written with some Objects/Maps/Collections and a bit of runtime logic Yeah, but that means jumping through hoops because of the lack of the
41.
▲
by
NOGDP
6y ago
Java gives you a decent way to build guard rails, Rust gives you a somewhat better way, JS doesn't give you any way at all. A more sophisticated type system gives you more elegant ways of expressing constraints, with increased language
42.
▲
by
NOGDP
6y ago
> However, in javascript this problem does not exist, so obviously that can't be compared to Rust. Static typing and a whole bunch of other things don't exist in JS as well. The point of a comparison is to highlight the differe
43.
▲
by
NOGDP
6y ago
You can't 'think away' the additional complexity of lifetimes and the borrow checker though. It's something you have to understand and keep in mind. > Better type-inference. In Java this has improved but is still much
44.
▲
by
NOGDP
6y ago
Why? Rust's type system is basically a more sophisticated version of Java's, JS is in the opposite direction - a much simpler dynamic type system. Rust's lifetimes and borrow checker is additional complexity that JS doesn
45.
▲
by
NOGDP
6y ago
We are talking about Python and JavaScript from the top of this comment chain, and the 'user experience' of writing Java/C# is closer to Python and JavaScript than to, say, Haskell.
46.
▲
by
NOGDP
6y ago
These languages have far better type systems than languages like python or javascript, that's not a reason to hate them.
47.
▲
by
NOGDP
6y ago
Modern versions of these languages have these features to a varying degree.
48.
▲
by
NOGDP
6y ago
> Dark is intending to be "batteries included" and relieve developers of the need for a huge ecosystem with multiple libraries for everything. If it's actually going to be 'batteries included' in any meaningful w
49.
▲
by
NOGDP
6y ago
> But those UltraScale DSP48 units are competitive vs GPUs. Are they really competitive from a price / performance perspective? Based on my limited understanding, nvidia GPUs, for example, are several times cheaper for similar perfo
50.
▲
by
NOGDP
6y ago
DeepMind is also the company behind AlphaGo, and it's now owned by Google.
51.
▲
by
NOGDP
6y ago
> But it's not like you can just go out and beat this price at home with minimal effort. That's exactly what I did. Taking the cost of my time for setting everything up and maintaining it, I estimate the net cost is about 1
52.
▲
by
NOGDP
6y ago
I must be missing something: https://i.imgur.com/3PNqSt5.png Edit: You're talking about spaces[1], I'm talking about volumes[2]. [1] https://www.digitalocean.com/products/spaces/ [2] ht
53.
▲
by
NOGDP
6y ago
The digital ocean volume pricing of $1/10GB per month seems very steep... I can literally buy fresh SSDs every month for that money. The container pricing is reasonable though.
54.
▲
by
NOGDP
6y ago
Nice tool, though I tried a few searches, and a few searches of <same text> + ' hackernews' on google, and I gotta say I like the google results better. Search options for comments/titles/users, date range, ask
55.
▲
by
NOGDP
6y ago
> Chinas success in doing this can in large part be traced to the unwillingness of the U.S and the west to challenge and stop the pure theft of IP from basically all advanced industries I don't know if that had such a large impact.
56.
▲
by
NOGDP
6y ago
> It's shocking to me how far ahead MacOS is in terms of keyboard shortcuts compared to all other operating systems. You only think that because you're used to macos shortcuts. > There absolutely has been some people there w
57.
▲
by
NOGDP
6y ago
Why does the kind matter? Both of your examples use type inference and polymorphism - the type 'a' is inferred when quux is used, the type for the second example is inferred from the polymorphic types of (++) and `$`, and both all
58.
▲
by
NOGDP
6y ago
I guess the idea is: data Foo a b c = FooBar a b | FooBaz c or data Foo a b = FooBar a b | FooBaz [a] But I agree that writing explicit type annotations is overall better practice.
59.
▲
by
NOGDP
6y ago
Is there anything specific that you find Rust is missing in this regard?
60.
▲
by
NOGDP
6y ago
The problem with this, for me, is that almost anything I want to do can either be accomplished with existing tools or is too complex for a doable side project.
More ›