Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
xixixao
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
55 ms
·
661.
▲
by
xixixao
11y ago
Because most would find it an extreme hindrance to their work. It's really difficult to get something done with such long breaks in between. I'd find it more plausible to have a scheme like southern nations do, siesta in the middl
662.
▲
by
xixixao
11y ago
Similar theory, though using the Red Sea, is used in the book Pastwatch: The Redemption of Christopher Columbus. What do you think of the maybe prevailing theory that Atlantis was actually located on Santorini? Wikipedia has all the links,
663.
▲
by
xixixao
11y ago
This is a very inaccurate comparison for many reasons, but to get the sense of complexity of the human brain: In the human brain, there are almost 100 billion neurons (the project plans to simulate 1000 neurons on one core, hence 1% atm). E
664.
▲
by
xixixao
11y ago
That's a pretty bad definition of a AAA game. I'd say it's a game that is up to the current standard in video gaming, which is rapidly evolving. This means that the graphics aren't archaic, the game content has appropria
665.
▲
by
xixixao
11y ago
"Released in June 2011" they have been working on it for a long time, which might also explain some of the choices you pointed out.
666.
▲
by
xixixao
11y ago
Just one click through and you arrive at the README: https://github.com/nwjs/nw.js (the website is clearly, unfortunately, geared towards people in the know). nwjs (node-webkit formerly) is a Chromium wrapper that lets
667.
▲
by
xixixao
11y ago
This is a more general declarative vs imperative question so if you search for "declarative programming", you should find lots of examples. But here is one, taken from Bret Victor[0]: Consider a classic drawing API: /&
668.
▲
by
xixixao
11y ago
1) React does not make simple apps overly complex. It might feel like more work if you are more used to jQuery. If you are used to React instead, it really won't have a huge negative impact on a small app. 2) React will scale. It will
669.
▲
by
xixixao
11y ago
But I haven't written that input-process-output equals functional. I just pointed out that the React model allows for a larger piece of the code to be functional, in exactly the same way it's done, say, in Haskell. This has nothin
670.
▲
by
xixixao
11y ago
If they are not pure, you are literally making an error (as the framework states they are supposed to be pure). input-process-output is how pure functional languages (such as Haskell) deal with imperative coding. You push the imperative par
671.
▲
by
xixixao
11y ago
This is such a step back, it's a completely wrong approach trying to mimick it in React: <ul> <li ng-repeat="item in items">{{item}}</li> </ul> The equivalent in ES6 (which
672.
▲
by
xixixao
11y ago
Before React: to make a transition, let's change this, this and then that, mutating state on every step. After React: have one pure function, which takes as input the current state and produces the desired output. This is the main shif
673.
▲
by
xixixao
11y ago
There might be an argument that this assumes that the terrorists are in the same location, which often might not be the case.
674.
▲
by
xixixao
11y ago
Is the job simpler because Clojure is not statically typed?
675.
▲
by
xixixao
11y ago
Someone else will be the consultant, perhaps spending $20k on more useless products. In that case, you doing the consulting is still net positive. Perhaps a better suggestion than not earning that $20k is to earn it by working with companie
676.
▲
by
xixixao
11y ago
This. From my experience at Facebook and Google, FB's open space is way more quiet than cubicles at Google. People in the other cubicle feel like the others don't hear them (they do).
677.
▲
by
xixixao
11y ago
Awesome, UX feedback: 1. Hitting back button should hide the overlay. 2. The left side of the overlay needs to scroll as the screen scrolls, otherwise you're not able to see the picture you hover over in the gallery.
678.
▲
by
xixixao
11y ago
> I didn’t really want to write any graphics code, so here’s a way to cheat: I wanted to try out Rust maybe a year ago, was thinking of writing a simple terminal app and found out that there was no way to do simple 2D graphics in Rust. H
679.
▲
by
xixixao
11y ago
The worst part about the comments under any "JS" submission is the amount of time I have to spend to weed through all the "there are too many tools" comments. Brunch is older than Grunt and Gulp, how is your comment in a
680.
▲
by
xixixao
11y ago
I wish there was no reason for stupid warfare, but: Aren't they better off than the Vietnamese who lived under the fear of Napalm bombardment? (or, for that matter, Japanese fearing the atomic bomb) I don't think that robotics has
681.
▲
by
xixixao
11y ago
This must be where the TIE Fighter got its sound from.
682.
▲
by
xixixao
11y ago
In "Schedule" look at Filters on the right.
683.
▲
by
xixixao
11y ago
The layout is pretty broken in Firefox.
684.
▲
by
xixixao
11y ago
Look, the problem here is you are comparing bad with really really bad. People aren't defending the US via Russia here, people are saying don't defend Russia via the US. Can you really imagine USA invading Mexico to extend its are
685.
▲
by
xixixao
11y ago
> technologically Seems many invent at an old age. Also seems that some few are responsible for great many breakthroughs, only stopping at their death beds...
686.
▲
by
xixixao
11y ago
Hmm, was hoping this would show the denied percentage, but the "denied" column doesn't corresponds to reality, not sure what it's supposed to represent.
687.
▲
by
xixixao
11y ago
It would be interesting to compare to Lux [ https://github.com/LuxLang/lux/ ]
688.
▲
by
xixixao
11y ago
You can of course search open tabs from the address bar. But at least my workflow is to browse through the old tabs and read / close one by one. Also in Firefox the tabs never shrink to just favicon, the tab heads become a scrollable l
689.
▲
by
xixixao
11y ago
So I got momentarily excited that there are new "tab preferences" (like having new tab open next to the current one), but unfortunately it's just a UI revamp of the settings pane, which since I'm on OS X I cannot care fo
690.
▲
by
xixixao
11y ago
There aren't enough positive comments here. Damn this is so cool, technically rendering-wise, UX-wise, a great showcase... I love the video! Really hope the author releases the app, even if it isn't open sourced.
More ›