Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
5hoom
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
181.
▲
by
5hoom
15y ago
But thats sort of the point. I _have_ read about quicksort. Some of these other methods, not so much. That for me makes this a useful and interesting story.
182.
▲
by
5hoom
15y ago
I agree about it being humbling. I'm at an early stage of learning lisp & coming from a C++ background I feel like a total noob lost in a syntax free wilderness where there is nothing but you and the problem domain. There is a lot to be
183.
▲
by
5hoom
15y ago
This is the sort of stuff that's great to read because you can't help but learn something. I'd never never heard of sorting networks or oblivious sorting before, and it's good to see some answers other than "Quicksort!"
184.
▲
by
5hoom
15y ago
This is a great list. I would probably put number 4 "Learn everything you can about vectors and matrices" right at the top though. That stuff really is the foundation of most of what you do in 3D programming. Trying to implement a camera vi
185.
▲
by
5hoom
15y ago
This is pretty cool. It's always good to try out new languages but it can be time consuming getting things up & running before you can make your "hello world". I wrote my first Go program just now, might try Prolog next :)
186.
▲
by
5hoom
15y ago
I guess it would, it's just not something I've run into. The only time I've ever seen backslash's used in C or C++ as a line-break is in huge multi line macros with lots of variables that has been broken up for readability. It never occurre
187.
▲
by
5hoom
15y ago
I loved the punchline, & probably wouldn't have spotted that one myself. As others have noted, the moral is to not use C++ '//' style comments in C code or at least hope that you are using a clever editor ;)
188.
▲
by
5hoom
15y ago
I know! He could probably better optimize his tasks by typing C-x C-c, then going out & buying a small notepad & pen ;) (I kid! I kid! Cool project really) [edit] downvoted! I'll C-c r & remind myself not to make cheap emacs jok
189.
▲
by
5hoom
15y ago
I think just the tiniest bit of experience with assembly would chase away a lot of unwarranted fears about goto. At that level it's all goto so you have to use them. And if you don't want your program to become a spaghetti nightmare you hav
190.
▲
by
5hoom
15y ago
One of the first examples of OOP I encountered was the old 'shape' hierarchy demonstration: 'shape' is a base class. 'rectangle' is a new class that inherits from shape. 'square' inherits from 'rectangle', etc. It demonstrates the ".. is a
191.
▲
by
5hoom
15y ago
I'm but a lowly humble indie developer unschooled in techniques such as test driven development, yet I often find myself doing something like what the author describes. The bit that rings true for me is that he decided to "write out a scrip
192.
▲
by
5hoom
15y ago
In Xcode cmd-shift-f means "find in project", never used it to fullscreen an app but I might be missing something ;) [edit] Oops, you said ctrl-shift-f, not cmd-shift-f. My bad!
193.
▲
by
5hoom
15y ago
I know, the tone of this piece is just drearily familiar. Nothing substantial, just vague speculation about impending doom, all phrased so as to be just "asking questions", then a cosy reminder of how great Windows phone is. Oh, Nokia
194.
▲
by
5hoom
15y ago
Outwit the A* pathfinding ninja! That's really nice, thanks for sharing.
195.
▲
by
5hoom
15y ago
As I am currently trying to implement the A* pathfinding algorithm in C++ this is both timely & very cool. Most interesting is the selectable distance heuristic function (never thought about doing that in my own limited experience) whic
196.
▲
by
5hoom
15y ago
But lisp is a pretty interesting XYZ to blather about, you must admit. I'd rather a million lisp stories than all the non development related human-interest/social-studies stuff that often winds up on the front page ;)
197.
▲
by
5hoom
15y ago
Not really the same, but Angband is quite well regarded (seeing as how Nethack has already been mentioned).
198.
▲
by
5hoom
15y ago
Agreed. It's an awesome bit of hackery getting that & all the other systems running in realtime. Respect, Dwarf Fortress, respect. :)
199.
▲
by
5hoom
15y ago
I think that most fluid simulations for games would be pretty far from physically accurate just for the sake of speed. Doing a full simulation at any sort of resolution would totally kill your framerate, and you've got a lot of other stuff
200.
▲
by
5hoom
15y ago
My dad had a saying, "you have two ears & one mouth. Use them in that proportion".
201.
▲
by
5hoom
15y ago
I say this is great news. A lot of the new stuff really does make C++ both nicer to use and a good deal safer, and it will be interesting to see more boost-y style of C++ become widespread. Also glad they waited and went with C++ 11, and no
202.
▲
by
5hoom
15y ago
My apologies if my post sounded disrespectful in any way though. I wrote my post from the perspective of being a long time lurker on various tech forums who is only just beginning to feel I may be able to contribute on some topics (and only
203.
▲
by
5hoom
15y ago
Your finding the articles less interesting could be a function of you becoming more knowledgable yourself, therefore there is less "low hanging fruit" with regards to new knowledge for you to acquire. Might be a sign that it's time for you
204.
▲
by
5hoom
15y ago
'Haters gonna hate' is all very cute, but seems to be interchangeable with 'I don't listen to criticism'.
205.
▲
by
5hoom
15y ago
Totally agreed. The MBP trackpad is a wonderful thing & when combined with various swipe gestures I find it really efficient for getting around. Things like being able to do a two finger swipe to scroll an out of focus document or four
206.
▲
by
5hoom
15y ago
I've got no issues with xcode4 as such, however it has made some significant changes under the hood from xcode3. My problem is it seems quite a few libs & frameworks I use for iOS are designed for xcode3 & tend to be break in xcode4
207.
▲
by
5hoom
15y ago
Personally had no Xcode4 performance issues on 2010 MBP. Seems quite snappy to me (not running filevault though so YMMV...)
208.
▲
by
5hoom
15y ago
The big thing C++ has over D is momentum. Lots of stuff out there in C++ land, whereas the D ecosystem feels a bit sparse. Also, D doesn't have an equivalent to the RAII/Smart pointer paradigm (being a garbage collected language) so it migh
209.
▲
by
5hoom
15y ago
Probably the best legacy of MS-DOS is the number of kids it taught how to really use a computer. When I got my first PC (486SX 33MHz FTW!) the ONLY way to run the best games was to get down & dirty with the command line. Soon you'd le
210.
▲
by
5hoom
15y ago
My story is similar. I never had problems with the concepts taught in maths/physics/etc classes but always seemed to get the questions on the blackboard wrong as I just couldn't see the writing properly. I got an eye exam around the 8th gra
More ›