Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kyberias
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
61 ms
·
631.
▲
by
kyberias
10y ago
Unplayable without the standard left+right-button combination: http://www.minesweeper.info/archive/MinesweeperStrategy/mine...
632.
▲
by
kyberias
10y ago
What is the link with Excel FlashFill feature?
633.
▲
by
kyberias
10y ago
It looks like a mixture of C++, Pascal, Haskell. Ugly to my taste. Reminds me of PHP and certain Operating system named after a building of worship.
634.
▲
Jonathan Blow demos his game development tech: own programming language/compiler
(eurogamer.net)
19 points
by
kyberias
10y ago
|
2 comments
635.
▲
by
kyberias
10y ago
Using python for all those individual WIN32 calls looks awkward. This interfacing would be easier in pure C.
636.
▲
by
kyberias
10y ago
Yeah, I'm not blaming Carmack for making that decision. It just sounds a little bit like Romero didn't think too highly of Windows 95. Why do you think I should count Carmack games? I have nothing against the guy and I'm full
637.
▲
by
kyberias
10y ago
What an awesome cynical ending: "John decided that developing on Windows 95 was the way to go."
638.
▲
by
kyberias
10y ago
> That's like saying "Why not just use lisp?" to a python programmer. They're entirely separate languages That's not really true now is it? Sure, C++ and C are separate languages but they have a common history an
639.
▲
by
kyberias
10y ago
> DOM / CSS manipulation, however bad they are, are years ahead compared to what you can easily do with WPF and friends. This doesn't make any sense. It's much easier to create UI with XAML (WPF) because it's designed
640.
▲
by
kyberias
10y ago
Yeah that's a software modem. I meant using real modems over internet. I know, makes no sense really. This is only nostalgia.
641.
▲
by
kyberias
10y ago
I like modems. How feasible is it to run actual, real modems over IP-based network? Sampling audio at one end and playing it back on the other. We could have the old BBSs back. That would be great.
642.
▲
by
kyberias
10y ago
Slightly off-topic or meta but still: the layout, CSS styles, fonts, colors and contrast on this blog (article) are just PERFECT. Rare occurrence.
643.
▲
by
kyberias
10y ago
https://en.wikipedia.org/wiki/Symbian
644.
▲
by
kyberias
10y ago
I think calling it "standalone app", rather than native would have been more correct. Yeah, go ahead and do exactly that.
645.
▲
by
kyberias
10y ago
I don't want to "sign in to a Postman account" to download it. Sorry, I'll use something else. UPDATE: I stand corrected. One can download without signing up. Sorry, I guess I'll try this after all :)
646.
▲
by
kyberias
10y ago
You may not understand something important about Windows API. Let me explain. There's the documented, public functionality that Windows implements and wants all the applications to adhere to. This should be documented and it is. Then t
647.
▲
by
kyberias
10y ago
Because quite many people feel that way. Honestly, I think Windows 10 is largely better than Windows 8 and slightly better than Windows 7 (mainly due to small improvements in UX and major improvements in performance). There are some negativ
648.
▲
by
kyberias
10y ago
Yes, MSDN documentation may be inaccurate from the perspective of people trying to REPLICATE THE ACTUAL IMPLEMENTATION of the APIs! That's not the purpose of MSDN documentation though.
649.
▲
by
kyberias
10y ago
>"Every output is based on IPC and calls to the event logger." What does that even mean? I think you're painting an incorrect picture of the design goals of NT. The original NT was designed by a group of people (e.g. Cutle
650.
▲
by
kyberias
10y ago
I don't think the reason of shutdown is anything technical. They're not shutting it down because of perl and they wouldn't be keeping it alive because of PHP.
651.
▲
by
kyberias
10y ago
It should have the same mouse usage. Now it's totally random: sometimes left mouse "opens" up a square, sometimes it puts a flag on it.
652.
▲
by
kyberias
10y ago
> Good comments adds to readability I agree. I was talking about the _amount_ of comments. Extreme example: void foobar() { // iterate over the list foreach(var item in list) { // send it
653.
▲
by
kyberias
10y ago
Well, the point is that people who write good, clean code don't need to comment their code extensively. They don't need to continuously explain why they did some horrible hack or some trivialities because their code is well struct
654.
▲
by
kyberias
10y ago
No. If I have a function and I need to understand _how_it works_, that is, how does it implement some algorithm, of course I have to read every single line of code to understand how it works! If the function is named "quicksort",
655.
▲
by
kyberias
10y ago
From my experience there is a correlation between the amount of code comments and defects in the code. The more I see comments in the code base of a module, the more likely it doesn't have any (unit) tests and the more it has defects.
656.
▲
by
kyberias
10y ago
This is not black and white. Code comments have their place of course. For example, in sic. situations where one really needs to explain _why_ a certain approach was taken. But usually the why explanation is not needed. Also, code doesn
657.
▲
by
kyberias
10y ago
No. Those are test cases that you put in your unit tests. You don't put data examples as comments in your code.
658.
▲
by
kyberias
10y ago
I think the Uncle Bob quote is good: "Code comments are not the Schindler's List. They're not pure good." If a line of code has a comment attached to it, the reader needs to understand both the code and the comment. The
659.
▲
by
kyberias
10y ago
Usually the people who cannot write good code love to write comments because they somehow feel it makes the code better. But they cannot write good comments either. Then everything is horrible. Code is really complex and hard to understand
660.
▲
by
kyberias
10y ago
Well, each and every PC emulator implemented in Javascript contains an x86 instruction emulator. For example: http://copy.sh/v86/ And many others...
More ›