Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
BugsBunnySan
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
BugsBunnySan
9y ago
It might have something to do with what the article's author writes as the moral 'lying is bad'... And understanding why it is bad if code lies about stuff. I can imagine someone looking at that code and the part where the
2.
▲
by
BugsBunnySan
10y ago
Well, very interesting indeed! Cool that you actually went through with writing a complete shell :) I guess, I might've been too optimistic about the power of parser generators. Still, I think if someone were to start implementing a sh
3.
▲
by
BugsBunnySan
10y ago
I tried to implement a shell in C once, just to see how to do it. Until I realized, I was basically just writting a shell language interpreter, and thus implementing a lexer and parser for that language manually (which it seems is exactly w
4.
▲
by
BugsBunnySan
10y ago
Should be the other way around, shouldn't it: "Only if you really care about security should you be allowed to write in C" :) (i.e., don't use a professional-grade band-saw, if you're not a professional)
5.
▲
by
BugsBunnySan
10y ago
Yes, but not if you don't want it to: http://winaero.com/blog/turn-on-xmouse-active-window-trackin...
6.
▲
by
BugsBunnySan
10y ago
The awesome thing about focus-follows-mouse is that it doesn't raise the window that gets the focus (which clicking in it usually does). So I can type into a partially hidden window, while keeping another window on top. For example b
7.
▲
by
BugsBunnySan
10y ago
Focus-Follows-Mouse for the win :) Which is even available on the crippled window manager that Windows has...
8.
▲
by
BugsBunnySan
10y ago
I think the difference is that the test shows what the idea you (as the architect) have is, while the code shows how you (as the developer) implemented it. And then you run the tests and they will, hopefully, tell you if the how match
9.
▲
by
BugsBunnySan
10y ago
"Your ideas are intriguing to me and I wish to subscribe to your newsletter!" XD It would be pretty cool to remote control all of those sockets and make a blinkenlights display visible from space :D
10.
▲
by
BugsBunnySan
10y ago
a) the sockets all connect to a central server in China b) the sockets identify themselves to that server with their MAC address (kind of makes sense, it's a readily available, global unique (more or less) identifies) c) if you send a
11.
▲
by
BugsBunnySan
10y ago
Maybe it's a bit the complexity of todays game engines, but I suspect that also, If you give people that much freedom, the publishers and other DRM-zealots will freak out, since then people will easily build their own servers and such.
12.
▲
by
BugsBunnySan
10y ago
oh, ok, that is pretty usefull actually!
13.
▲
by
BugsBunnySan
10y ago
Yeah, but afaik, switching those profiles in Firefox is (currently) really difficult. So much so that it almost feels the same as if you didn't have the capability to do it...
14.
▲
by
BugsBunnySan
10y ago
I think, often it was more that one didn't want others to know about the history of those activities, which is not the same thing as not wanting them recorded. If there had been a safe way to secretly store that history, by having sepe
15.
▲
by
BugsBunnySan
10y ago
Omg, finally this exists :D I think this is the actual solution to the problem that 'private browsing' was trying to fix when it first came out.
16.
▲
by
BugsBunnySan
10y ago
Well, there goes that neighbourhood.
17.
▲
by
BugsBunnySan
10y ago
So, it has come to this: https://www.ece.cmu.edu/~ganger/712.fall02/papers/p761-thomp... (Ken Thompson "Reflections on Trusting Trust") in real life...
18.
▲
by
BugsBunnySan
10y ago
IANAMathematician, but, a brute force proof is still a proof though, isn't it? If I have the theory, that all positive integers smaller than 5 are also smaller than 6, I would assume I'm mathematically allowed to 'brute force
19.
▲
by
BugsBunnySan
10y ago
"Well, I don’t think there is any question about it. It can only be attributable to human error. This sort of thing has cropped up before, and it has always been due to human error." (HAL9000)
20.
▲
by
BugsBunnySan
10y ago
This is not about the recording side of things, this is about the display side of things. And if you display footage shot on film on a standard computer monitor, you won't magically have more color. Also, modern high end digital camera
21.
▲
by
BugsBunnySan
10y ago
In a different field (digital cinema) the above is being done for color, lookup the ACES colorspace and workflows... (Very) Basically the camera's recording goes through a process to make it into a standardized ACES colorspace. It will
22.
▲
by
BugsBunnySan
10y ago
You don't need EME to play video, HTML5 video can be played just fine without it. AFAIK, You need EME to make sure that only browsers that have the Foo-Corporation EME plugin can play Foo-Corporation videos. And to get the EME plugin f
23.
▲
by
BugsBunnySan
10y ago
well, good riddance to flash, but Encrypted Media Extensions are definitly not an advantage, see for example https://www.eff.org/deeplinks/2016/04/save-firefox
24.
▲
by
BugsBunnySan
10y ago
Nice post! I hope lot's of people read and understand it, the world will be a better place for it :) One thing that would be good to add is: If you implement a way to create/add something, implementing a way to delete/remove
25.
▲
by
BugsBunnySan
10y ago
If your hwclock is a source of randomness, maybe you should be worried ;)
26.
▲
by
BugsBunnySan
10y ago
Well, grasshopper, I guess you can code like a kung fu novice, trying to split a stone; repeatedly and thoughtlessly bashing your hands on it, making a bloody mess. Or like a master; contemplating the best way a while and then splitting the
27.
▲
by
BugsBunnySan
10y ago
The thing that helped me out of this, was seeing writing code like forging a sword, where you repeatedly heat up the metal, hammer it into shape and then cool it down again. (note: IANASwordSmith) This works because heating up the metal mak
28.
▲
by
BugsBunnySan
10y ago
Hm yeah, it could've been that I disconnected from the server when I went home for the weekend and didn't check for that in the code. It was a long time ago :)
29.
▲
by
BugsBunnySan
10y ago
AFAIR, they had one, which was so flakey they had to disable it all the time. But yeah, maybe them being somewhat at fault as well helped me out a bit :)
30.
▲
by
BugsBunnySan
10y ago
Related story time: At university, we ran a local quakeworld server (yes, this was in the stone age XD). And I wanted to write a tool to allow users to control to server. It would listen on a network port and pipe its input into the quakewo
More ›