Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
picomancer
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
picomancer
13y ago
> HTML is built around intentionally ignoring malformed input To elaborate: In the very early days, HTML was often written by hand. Part of the early vision of the web was that anybody could write HTML and publish content. It was thoug
32.
▲
by
picomancer
13y ago
This looks like an ideal use case for ZeroVM [1]. [1] https://news.ycombinator.com/item?id=6588566
33.
▲
by
picomancer
13y ago
The article says that the two functions, f : x -> pow(x, pubkey) mod m g : x -> pow(x, privkey) mod m being inverses of each other was a big breakthrough when it was discovered. The article implies, but does not directly
34.
▲
by
picomancer
13y ago
Assuming A and B are produced from separate input processes, they have to be submitted to a "gather" process that takes both of them. If the "gather" process uses select() or non-blocking I/O -- says basically &quo
35.
▲
by
picomancer
13y ago
Fraleigh's abstract algebra text [1]. Sipser's Introduction to the Theory of Computation [2] is also excellent, and possibly of special interest to HN. [1] http://www.amazon.com/First-Course-Abstract-Algebra-Edi
36.
▲
by
picomancer
13y ago
I've been thinking for a long time that this is something the world needs -- a way to easily make interactive mathematical diagrams. Not necessarily using LaTeX and HTML5; not even necessarily browser-based. (Although a plugin-free br
37.
▲
by
picomancer
13y ago
For those who missed it, a recent HN headline: "Facebook using D in production starting today" [1]. I'm pretty sure it made the front page. I'm planning to put type inference in a new programming language I'm crea
38.
▲
by
picomancer
13y ago
I find this article very interesting. I'm writing a compiler for my own programming language, so I'm thinking a lot about various interesting compile-time analysis that can be done to produce more efficient code...
39.
▲
by
picomancer
13y ago
I submitted this after seeing a video of their WildCat robot: http://www.youtube.com/watch?v=wE3fmFTtP9g
40.
▲
Boston Dynamics: Changing Your Idea of What Robots Can Do
(bostondynamics.com)
1 points
by
picomancer
13y ago
|
1 comments
41.
▲
by
picomancer
13y ago
If anyone here wants to play a game about building a business, that includes a better stock market simulation, Capitalism Plus [1] and its sequel [2] are really good. [1] http://www.gog.com/game/capitalism_plus [2] ht
42.
▲
'Accelerator on a chip' demonstrated
(phys.org)
5 points
by
picomancer
13y ago
|
0 comments
43.
▲
by
picomancer
13y ago
If you don't remember the double angle formula I used in the parent, but you remember the angle-addition formulas: cos(ψ + Φ) = cos(ψ) cos(Φ) - sin(ψ) sin(Φ) sin(ψ + Φ) = sin(ψ) cos(Φ) + cos(ψ) sin(Φ) You can just set ψ =
44.
▲
by
picomancer
13y ago
You can derive the identity 2 sin^2(θ / 2) = 1 - cos(θ) mentioned in the article from the double angle cosine formula, cos(2 Φ) = cos^2(Φ) - sin^2(Φ) Since cos^2(Φ) + sin^2(Φ) = 1, substitute 1 - sin^2(Φ) for cos^2(Φ) in the a
45.
▲
by
picomancer
13y ago
Wave 7 - 327950, no deaths, got bored and quit first try. It's too easy! You should add difficulty levels. (I played a lot of Touhou recently so my sense of "difficult" is in a non-standard location.) Also, more enemies t
46.
▲
by
picomancer
13y ago
I have a favorable impression of Marsaglia's Xorshift / Xorwow. Not least because it's a linear operator over GF(2) and thus, properties about its behavior, such as the period or bijectivity, can be determined analytically.
47.
▲
by
picomancer
13y ago
You can use find/xargs for this. It'll be faster because you can parallelize it with the -P option, for example, for a 4-core machine: find . -iname "*.psd" -print0 | xargs -0 -P 4 -n 1 -I I convert I I.png For
48.
▲
by
picomancer
13y ago
> changing the endian-ness x86 has had the BSWAP instruction since the 486. gcc has a __builtin_bswap16, __builtin_bswap32, and __builtin_bswap64 which will presumably take advantage of these built-in instructions on x86 and any other gc
49.
▲
by
picomancer
13y ago
The main reason you don't want to rebase published code is to avoid inconveniencing other people. But that doesn't imply that code that's under heavy development and may need rebased should always be hidden from the world an
50.
▲
by
picomancer
13y ago
What's the license on this? ToS? Is there somewhere we can get the source code?
51.
▲
by
picomancer
13y ago
You certainly could, but this trades off fill cost against polygon count. I.e. you're using more complex calculations per-pixel for a smaller number of per-vertex/per-polygon computations. It'd be interesting to look into th
52.
▲
by
picomancer
14y ago
Installation is actually a problem with Rails, and web app development as a whole. Think about PHP: Drop files in the web server directory, add a database and user, edit the app configuration file to point to said database and user, and yo
53.
▲
by
picomancer
14y ago
I'm running Gitlab 4.1 with more-or-less the default installation instructions and very light usage currently. I'll upgrade to 5.0 in the near future. Here's what I'm seeing: $ top PID USER PR NI VIRT RES SHR S %CPU
54.
▲
by
picomancer
14y ago
The author gives an example, you just have to fill in some blanks. To follow along, on Linux you can use the NASM assembler (sudo apt-get install nasm on Debian-like or Ubuntu-like systems). Then you can copy-paste the assembly language fr
55.
▲
by
picomancer
14y ago
Once upon a time (c. 1990-1997), most programs were written for DOS, and some amount of command line knowledge was required to run them. Installers were typically batch files (the DOS equivalent of shell scripts), which was really cool: Yo
56.
▲
by
picomancer
14y ago
If you like the business decisions made by some developers, and you don't like the business decisions made by other developers, vote with your wallet and support the ones you like.