Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
quadcore
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
541.
▲
by
quadcore
9y ago
Cool. I've coded a RTS myself, and I might be able to add some information. DE's pather gives up if after many thousands of iterations it can't make forward progress towards the goal, to avoid spending CPU cycles on hopeless
542.
▲
by
quadcore
9y ago
Thinking about it, I think I understand their insight now. The idea is that, even if you got triplebyte-d, the startups will pass you through their interviewing process - let's be realistic for a sec. So triblebyte is not about getting
543.
▲
by
quadcore
9y ago
I've thought about that a lot and my conclusions weren't what I expected as a programmer. The issue is that, someone has to talk to the internal customer [0]. Now if a programmer do the talking with the internal customer, then I b
544.
▲
by
quadcore
9y ago
It's an interesting article. I'm not sure I agree with everything though, but maybe I do. Let me explain. Let's compare programming to figure drawing for a minute. What you could do to learn for example is, you could lear
545.
▲
by
quadcore
9y ago
He doesn't see people being willing, en masse, to convert the currency they receive (in a paycheck, for example) I think he meant in the short term , didnt he? In the long term, this is obviously wrong. For two reasons. 1) You dont
546.
▲
by
quadcore
9y ago
Are those Tasks coroutines? If yes, do they yield on any sleeps ? These aspects are key to goroutines.
547.
▲
by
quadcore
9y ago
It's unclear to me if these parallel tasks are also coroutines (there seems to be a call to yield but its unclear what it really does), and if they yield on any sleeps which is a key features of goroutines.
548.
▲
by
quadcore
9y ago
Cool, thanks for the suggestion.
549.
▲
by
quadcore
9y ago
Go is not a language for "system-level features" in the first place. Its garbage collector largely precludes it from that in any modern context. I'm pretty sure I disagree with that largely because Go is low-level enough
550.
▲
by
quadcore
9y ago
throw tasks into a scheduler that will run them in parallel was never the hard thing to accomplish Common mistake number 1. Goroutines are running in parallel AND concurrently - they are coroutines (common mistake number 2 is to think
551.
▲
by
quadcore
9y ago
As a matter of fact, you can do the same in assembly if you want to. Notice how you can always have that answer when it comes to programming languages: you can do the same in . The point is that, the way it's made in go, is awfully ha
552.
▲
by
quadcore
9y ago
Well, go isn't really a high-level language which maps can be seen as a feature of. The idea behind go, I believe, is to focus and provide innovative system-level features.
553.
▲
by
quadcore
9y ago
Wrong. Goroutines are not simply coroutines. GOMAXPROCS defaults to number of cores.
554.
▲
by
quadcore
9y ago
https://golang.org/ In case you dont know, Golang goroutines are a marvel of parallelism. They are coroutines which are dispatched on a few OS threads. So you can use 100% of a multi-cores CPU and yet, spawn, say, 10K of
555.
▲
by
quadcore
9y ago
Well that's a shame.
556.
▲
by
quadcore
9y ago
Tried amazon chime 2 times I think. As far as I can tell, software seemed good.
557.
▲
by
quadcore
9y ago
I think you've not yet found what you love. Try new things and wait until you think about these naturally in the shower. You should force yourself to assume you dont know who you are. It could be surprising. Maybe you should be, say, a
558.
▲
by
quadcore
9y ago
I wonder if ITA software still use lisp.
559.
▲
by
quadcore
9y ago
refactoring Java is pretty easy if you have a good IDE rename a function Refactoring in software development is not the same as refactoring in IDEs. Refactoring in software development is changing existing code. Specially the architectu
560.
▲
by
quadcore
9y ago
I agree, OO is ultimately good enough. Problem is, coding using OOP is like printing ideas on paper: you dont wanna do that because it's hard to discard ideas that's been printed on paper. You wanna use post-its instead because
561.
▲
by
quadcore
9y ago
See what I did there? Despite the good intention, no, because you're trying to explain lisp using lisp. If I knew lisp, I wouldnt need you to explain what code-as-data means. Maybe it's time for a different strategy. As a matter
562.
▲
by
quadcore
9y ago
Guys it's simpler than that I think. First, homoiconicity means one representation for code and data. Code and data are represented by the same data structure (in lisp it's list). So what's it good for? Well, it's a ge
563.
▲
by
quadcore
9y ago
I see what you mean. Yes this is exactly that: each client is authoritative, alone in the world - and they just have to trust the other clients will compute the same game.
564.
▲
by
quadcore
9y ago
Develop strong out of sync (OOS) detection tools early, and learn how to use them. The way lockstep work is that the clients gives themselves a rendez-vous in the future and agree to compute one turn of the game, given the players' i
565.
▲
by
quadcore
9y ago
the ability to build something lasting Anyone can elaborate on that?
566.
▲
by
quadcore
9y ago
Here is what I don't do: 1. Read some code 2. Try to understand how it works 3. Repeat Here is what I do: 1. Try to figure out what the code might be in advance using the information you have. (For example: I know nothing but the fact
567.
▲
by
quadcore
9y ago
Good point. It's not really relevant for local variables I guess, because those caches are invalidated quite elegantly (you'll still find cases Im sure where the programmer took that too far). I dont have all the cases in mind but
568.
▲
by
quadcore
9y ago
Function composition do most of that. Now, I said it was a fundamental explanation, not necessarily the whole story.
569.
▲
by
quadcore
9y ago
While this may be technically sound, I think this is not the most fundamental way of explaining FRP. FRP is just a toy really. It's a useful toy that help to grasp and use an advanced programming concept. Let me explain. That concept o
570.
▲
NiceHash will fully reimburse its users
(nicehash.com)
1 points
by
quadcore
9y ago
|
0 comments
More ›