Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
tsahyt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
271.
▲
by
tsahyt
14y ago
There's no casting involved in while(1). 1 is "true" in C, in fact, any integer != 0 is "true". I just did a quick check and gcc -S produces the same ASM output for both of them, which doesn't include any comparisons whatsoever, just a jm
272.
▲
by
tsahyt
14y ago
Rewriting law to be machine-readable as in "instructions a machine can understand" would be quite a task I suppose. Interesting project though. Would that even be possible? How well does the law map on the black and white logic of a compute
273.
▲
by
tsahyt
14y ago
As long as you keep your data on your own machine, it is your responsibility to back it up. In the cloud, it's different though. The average user now expects the service provider to be responsible for keeping their cat pictures secure, warm
274.
▲
by
tsahyt
14y ago
Seriously? Imagine the following... Say I'm a naive person and say I go for dinner and pay via credit card. Since there's not much information on there, I throw the receipt away. On the receipt (at least those I get here) is my last name, a
275.
▲
by
tsahyt
14y ago
The only sensible choice would be to mark items as deleted for a while, say a week or two and then delete them for real. The site may even notify the user before the permanent deletion, so he/she can think twice about what to get rid of or
276.
▲
by
tsahyt
14y ago
Again, congratulations to the team responsible for that at NASA! Space exploration has advanced science like no other area. What really rubs me the wrong way are some of those Youtube comments that go like "Why spend so much money on NASA?"
277.
▲
by
tsahyt
14y ago
That sort of business model is not for everyone though. I'm perfectly fine with paying per album as long as the album is actually mine after purchase without any limitations on what to do with it. Period. I'd even rather have that than a
278.
▲
by
tsahyt
14y ago
> Math! What can't it do? Real randomness, or actually explain what it is. And some other things. But it's pretty powerful :)
279.
▲
by
tsahyt
14y ago
> Awww hell. Now it's on In a sense all computers are "just calculators". That statement wasn't meant to mock the Apple II in any way. After all, modern computers can't do "more" in terms of computability. I was mainly refering to how i
280.
▲
by
tsahyt
14y ago
Your reasoning is definately correct. I haven't made enough measurements myself to justify the statement, but the couple of times I did, OpenGL was usually a tad quicker. However that's more anecdotal evidence than anything else.
281.
▲
by
tsahyt
14y ago
Same here. However I'm a little worried about Hollande too, for completely different reasons though. But democracy these days always seems to be about picking the lesser evil. Quite a sad thought actually. Btw: I'm not french, I'm just watc
282.
▲
by
tsahyt
14y ago
Interestingly I've never seen the parallels between the Unix way and functional programming. But it makes perfect sense. Code programs/functions that do one thing and do them well. However, that's how code should work in general. That's wha
283.
▲
by
tsahyt
14y ago
I'm a bit too young to know how well the Apple II was documented for programming. However, people like Jordan Mechner (creator of the original Prince of Persia) were spitting out 6502 assembler code at a rather young age, weren't they? And
284.
▲
by
tsahyt
14y ago
>We're there again: take 3 lines of JavaScript and you're drawing an image[...] I think Carmack wasn't referring to how more abstractions could make his life easier. I've never had the time to dig deeply into id Software's sources (whic
285.
▲
by
tsahyt
14y ago
Since the Apple II was all in all just very basic easily programmable hardware for home users, I say no. Our generation's Apple II is the ARM or any ARM based development board. It's ubiquitous and it's (at least compared to the x86 archite
286.
▲
by
tsahyt
14y ago
It kills the "pixelness" of it, yes. Personally I do like them though. Those algorithms do create interesting looking graphics. Last year, me and my girlfriend decided to play some classic Mario again, and since we didn't have any old Ninte
287.
▲
by
tsahyt
14y ago
I already stopped using it a couple of months ago for a couple of reasons. Most notably privacy concerns upon realizing that nothing ever gets lost there. Yeah I know, as a tech person I should have known that from the start. Well, Facebook
288.
▲
by
tsahyt
14y ago
The monospace version looks brilliant. Looks like something that could one day become my coding font. It's quite hard to find a nice monospace font and I think the choice does in fact matter (for coding obviously)
289.
▲
by
tsahyt
14y ago
I had a feeling that the Linux version would actually run faster. I can't put my finger on why that is though. Valve says it's because of the underlying effeciency of the kernel. However, I'm still very much concerned about the things that
290.
▲
by
tsahyt
14y ago
I think editor skills are a perfect example of bicycle skills. When you're effectively editing text all day long, learning an editor like vim or emacs really pays off in the long run, although it might be painful in the beginning. Bash scri
291.
▲
by
tsahyt
14y ago
One word: Scriptabilty. I still haven't found a properly scriptable GUI. On the command line I can automate almost everything and customize it to my needs. Additionally I'm way faster on a CLI for almost any task I do as a programmer on a r
292.
▲
by
tsahyt
14y ago
This looks interesting. I somehow really like Haskell, although I never got around to dive into it. It's one of those languages that I want to learn one day but never have time to. So, watching those videos is kind of showing me how things
293.
▲
by
tsahyt
14y ago
That's interesting! Do they pale in actual complexity of the code or in terms of sheer code size?
294.
▲
by
tsahyt
14y ago
You end up with a much more powerful product? ;)
295.
▲
by
tsahyt
14y ago
Yes I agree, I was really stating the obvious here. It depends on what you define as the "death" of Facebook. When it is no longer a profitable business whatsoever, or when they've lost the majority of their users.
296.
▲
by
tsahyt
14y ago
In the long run the answer will be yes.
297.
▲
by
tsahyt
14y ago
About the "too expensive" argument. That is one of the worst misconceptions the general public ever had. I'm a peace-loving person but every time I hear somebody complain about giving funds to scientists I want to punch them in the face. Th
298.
▲
by
tsahyt
14y ago
How do you manage to write 10 Million Lines of Code for an accounting software? I haven't had a proper look at it yet, but that seems like overkill. That's an entire OpenSolaris worth of lines in an accounting software, just to put this int
299.
▲
by
tsahyt
14y ago
A very blunt reply would be: A dumbed down one. Really, I think it's hard to dumb down an operating system enough to make it impossible to be productive with it. However, one can try. To my terms a consumer is the exact opposite of a produc
300.
▲
by
tsahyt
14y ago
I find it weird enough to be an actual fan of a corporation. It's a phenomenon that I haven't really witnessed outside of the Apple crowd very often (there are always exceptions but they're rare).
More ›