Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
PeCaN
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
80 ms
·
781.
▲
by
PeCaN
11y ago
As someone who quite likes Qt, why should I prefer this over Qt5+QML? This whole React Native thing just feels like "let's reinvent Qt but slower and much less mature". Note: I really don't mean this in an inflammatory w
782.
▲
by
PeCaN
11y ago
I'm glad it did though—this is awesome! Good luck with it, and perhaps I'll contribute something (do you plan for it to be garbage collected?).
783.
▲
by
PeCaN
11y ago
For Haskell see https://hackage.haskell.org/package/vacuum-cairo (among other stuff, I think there's an OpenGL version) which lets you view live graphs of your data structures.
784.
▲
by
PeCaN
11y ago
Obligatory "org-mode[1] does that very well". Anyway if you put two spaces after "another thing" ("2. another thing \nPlease clarify...") it should render the way you want. 1. http://orgmode.org
785.
▲
by
PeCaN
11y ago
You usually just avoid them. Some (e.g. Factor) do offer pattern matching/multimethods which are generally much cleaner.
786.
▲
by
PeCaN
11y ago
Wow, where are you? I haven't found any with shipping (to Denver CO) more than ~$100. $2k sure is a bit steep....
787.
▲
by
PeCaN
11y ago
Woah. Where did you get it? Sounds cool. Do you run HP-UX on it or does some common Linux distro run well?
788.
▲
by
PeCaN
11y ago
Works fine for me (Firefox on Android and Windows)—I think your browser doesn't handle Unicode combining characters properly. (Chrome gets a little funky with them on Android, haven't used Windows Chrome in a while). The reason is
789.
▲
by
PeCaN
11y ago
https://github.com/jezen/is-thirteen/commit/b112acdf2d64f13d... This whole thing is hilarious.
790.
▲
by
PeCaN
11y ago
Yes, but the "could be interpreted as" operator, colloquially "sleep equals" is pretty obscure and not recommended for production: "thirteen" ~_~ 13
791.
▲
by
PeCaN
11y ago
Oh, that actually makes a lot of sense. That also explains why they're used for checkwriting. Thanks!
792.
▲
by
PeCaN
11y ago
Chinese only has uppercase numbers (called 大写, lit. "big writing"). I̶ ̶d̶o̶n̶'̶t̶ ̶k̶n̶o̶w̶ ̶w̶h̶y̶,̶ ̶b̶u̶t̶ ̶I̶'̶m̶ ̶h̶a̶r̶d̶l̶y̶ ̶a̶n̶ ̶e̶x̶p̶e̶r̶t̶ ̶i̶n̶ ̶C̶h̶i̶n̶e̶s̶e̶.̶ ̶T̶h̶e̶y̶'̶r̶e̶ ̶n̶o̶t̶ ̶u̶s̶e̶d̶ ̶m̶u
793.
▲
by
PeCaN
11y ago
There are dozens of us! You can get old SPARC servers super cheap on eBay too. I'm super tempted to get one. I was also trying to find an Itanium the other day but those are darn impossible to get. :(
794.
▲
by
PeCaN
11y ago
Nyuzi open GPU focused on GPGPU programming: https://github.com/jbush001/NyuziProcessor J Core is the opened version of SuperH, and thus already has good OS and compiler support: http://0pf.org/j-core.h
795.
▲
by
PeCaN
11y ago
Rabbit hole never ends, but your sanity will thank you for it.
796.
▲
by
PeCaN
11y ago
Still can't top https://news.ycombinator.com/item?id=35079
797.
▲
by
PeCaN
11y ago
Pfft try Haskell sometime. Everything that's even remotely Applicative seems to have a tendency to export 20 variations of <*>. Then there's Lenses, the coolest line noise you'll ever see.
798.
▲
by
PeCaN
11y ago
I worked with a CRT monitor for a while (design job at a non-profit; I had 2 CRTs and a several year old Mac Pro—it held up very well though) and it was actually quite nice. - Non-16:9 aspect ratio. Photoshop is much nicer on 1600x1200 (rel
799.
▲
by
PeCaN
11y ago
Chinese internet is as bad as the English one (plus a few funny expressions to avoid censorship—frequent use of certain puns for restricted subjects for example). My Chinese internet experience is largely relegated to the Chinese Dota commu
800.
▲
by
PeCaN
11y ago
I don't think I'd consider std::stringstream to be particularly obscure.
801.
▲
by
PeCaN
11y ago
SQLite 4 is also designed, in part, to beat LevelDB (i.e. they explicitly benchmark the default storage engine against LevelDB)[1]. SQLite 4 looks pretty darn cool, is it still actively being worked on? Commits seem quite scarce[2]. -- 1.
802.
▲
by
PeCaN
11y ago
Its grasp of language and context is surprisingly impressive, and definitely helped make it much more offensive. It'd just be a kid spouting profanities if it didn't have a rather decent understanding of language. From a purely ac
803.
▲
by
PeCaN
11y ago
...Good lord. Worst part of this is that it's useful. ȱ_ȱ
804.
▲
by
PeCaN
11y ago
Because finding code that passes arbitrary tests is undecidable in the general case. (Same reason the pseudo-Idris language would have to be non-Turing-complete)
805.
▲
by
PeCaN
11y ago
We could have something similar with full dependent types a la Idris: you could write a proof and search for a function that satisfies it. If such a thing were popular and huge amounts of Idris code were written, you could write only proo
806.
▲
by
PeCaN
11y ago
How does that help? Besides they overflow to doubles if they get bigger than 2^31-1 anyway. The problem with a naive average like this is that if you're averaging a bunch of big numbers there is a very high chance of overflow when you&
807.
▲
by
PeCaN
11y ago
I think Apple would probably just use ARM chips; they already have the license and they have lots of experience designing their own. OpenPOWER is awesome though. I'm hoping Talos will get enough interest; I'm ready to throw money
808.
▲
by
PeCaN
11y ago
...Along with allowing packages to run arbitrary JS code when installed. That's the part that really got me. Questionable dependency practices is one thing; but running whatever JS when a package is installed, with no warning whatsoeve
809.
▲
by
PeCaN
11y ago
This is what a lot of non-JavaScript languages do. I suspect JavaScript ended up this way because people wanted to avoid downloading anything they absolutely didn't need in the browser. Now packagers can automatically remove unused fun
810.
▲
by
PeCaN
11y ago
I don't believe pizza is trademarked or can be trademarked in any jurisdiction. On the other hand, apparently you can name a package twitter[1] without any problems. 1. https://www.npmjs.com/package/twitter
More ›