Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
trishume
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
301.
▲
by
trishume
10y ago
If they banned a service as popular as Dropbox (I assume for hosting rather than "hiding") I doubt they would have any issue with banning Github. This repository becoming well known just sounds like a recipe to get Github banned i
302.
▲
by
trishume
10y ago
I certainly would. Qt is fantastic. Not only will your app be faster, but depending on which type of Qt you use (Qt Quick controls 1, Qt Quick Controls 2 or Qt Widgets) it can also look native. I also like the UI and event model better than
303.
▲
by
trishume
10y ago
This apparently uses the back-propagation engine from https://alpha.trycarbide.com/ (which the author of g9 also works on). When I saw it I thought I remembered seeing it in the Carbide demo, so I Googled and I was right. S
304.
▲
by
trishume
10y ago
Totally agree. This is like burntsushi's technical tour de force, the culmination of years of work building up a stack of technology leading up to this utility and article. It's a simple tool, but he's built every piece from
305.
▲
by
trishume
10y ago
One answer is that it would break tons of old school websites that have things in popup windows which communicate with the main page. Up to you whether you think the ire of millions of people stuck using old corporate web apps is worth the
306.
▲
by
trishume
10y ago
Interesting that Crystal did worse than Java even on many non-GC-stress-test benchmarks. I wasn't expecting that. Some theories as to sources of the slowness: - The Boehm GC is so much worse that it accounts for bad performance even on
307.
▲
by
trishume
10y ago
Yah I know, both me and the parent comment were talking about fasthttp vs the fastest Java web server. Both of which are likely optimized like crazy to avoid synchronization and allocation as much as possible.
308.
▲
by
trishume
10y ago
Why would you expect that? AFAIK the Go compiler has a worse optimizer, a worse GC (at least throughput-wise) and possibly also a worse threading runtime. Since the benchmark measures steady-state performance and not memory or latency, and
309.
▲
by
trishume
10y ago
It took me a little while to realize this was satire. But the thing that tipped me off was that the twitter API call didn't include any auth or request parameters, which was less believable than a tweet-liking dependency. Then the rest
310.
▲
by
trishume
10y ago
Okay you should have clarified that in your original comment, it's not that Nix is incompatible with unprivileged containers (it includes built in support!) but only with a specific container system that isn't even the most popula
311.
▲
by
trishume
10y ago
I have no idea where you got that idea. Nix has built in support for building normal non-privileged Docker containers. The paths are hard-coded but just like hard-coded /usr/whatever paths in other unix software, that's what
312.
▲
by
trishume
10y ago
A nice big ecosystem with both a simple ABI and type system, but with a nice safe type system that doesn't need manual memory management. Interfacing to C libraries from more modern languages is generally a huge impedance mismatch and
313.
▲
by
trishume
10y ago
Some answers: - The type system I'm thinking of includes effect inference from Koka ( http://www.rise4fun.com/koka/tutorial ), is simpler in other places, and has full type inference even of function signatures. - A
314.
▲
by
trishume
10y ago
Counterpoints as someone considering writing a language that targets LLVM, and as someone who has used Rust a bunch: - Your compile times will be a lot slower than they would otherwise be. This is a big one for me. - If your type system is
315.
▲
by
trishume
10y ago
But if you circumvent copy protection for the purpose of sharing copyrighted works publicly then you were already doing something illegal before section 1201. All section 1201 does is also make it illegal to circumvent copy protection even
316.
▲
by
trishume
10y ago
Exactly the same except including the "radically" from the blog post. Wow I missed out on 400+ karma at this point... Oh well, at least they are only internet points.
317.
▲
by
trishume
10y ago
I wondered why this didn't get merged with my submission. Makes a neat example of how random getting on the HN front page is though. Although I'm sad that randomness chose to give the second posting karma instead of mine.
318.
▲
by
trishume
10y ago
Totally, Truffle is not nearly as easy as a simpler interpreter in a terser language, but unlike a Racket interpreter your code can actually run faster than raw Racket, and have incredible tooling and integration support.
319.
▲
by
trishume
10y ago
Truffle+Graal could actually easily implement all of those things, LuaTruffle is just one of the less developed ports. JRuby+Truffle has highly efficient analogues of most of the things you mention.
320.
▲
by
trishume
10y ago
That's exactly how Truffle's cross-language-interface works though. Instead of paying the high cost of conversion, data stays in its existing representation and it is the interface code that is recompiled to fit. An example is JRu
321.
▲
by
trishume
10y ago
The fundamental technology really is that impressive, the catch is that everything is a research project and not yet battle-tested. Also SubstrateVM is pretty important for usability but it isn't open source yet.
322.
▲
Graal and Truffle could radically accelerate innovation in programming languages
(medium.com)
26 points
by
trishume
10y ago
|
5 comments
323.
▲
by
trishume
10y ago
It's only succeptible to some very specific false postives. But yes it is annoying (my roommate was having fun scrolling my computer from a distance today). The answer is that all the false positives I encounter are human-triggered so
324.
▲
by
trishume
10y ago
One thing I love about Hammerspoon is the flexibility and power some of the modules like drawing and event spoofing give you. It allows really neat things like the tabs and hints modules (which I wrote) and lately I hacked together a module
325.
▲
by
trishume
10y ago
strictly better than mjolnir, since it's a fork that never removed anything and only ever improved.
326.
▲
by
trishume
10y ago
That's not a good application of Ockham's razor, it's not about which explanations sound simple, and you need priors. If I gave you some data saying that telecom industry sales have been correlated to GDP for decades and sudd
327.
▲
by
trishume
10y ago
Except that LuaJIT does something close to just a pointer offset. The trick it uses is to use a hash function that is known by the compiler so when you have a constant key ("y" in this case) the hash table set is compiled down to
328.
▲
by
trishume
10y ago
Idea: I wonder if it would be profitable to have a mode for Pyston/PyPy/ZiPy/Whatever that disables threads, or perhaps an annotation that stops other threads from being scheduled inside certain loops. This would allow so man
329.
▲
by
trishume
10y ago
Except that Lua has the almost the same problem, and Mike Pall solved it in LuaJIT. So did the Truffle/Graal team with JRuby+Truffle. Lua has the same property that global methods are hash table lookups. What LuaJIT does is that it s
330.
▲
by
trishume
10y ago
Interesting idea that I just came across that is somewhat relevant: The author of LuaJIT 2.0 says an interpreter written in assembly is just as fast as a baseline JIT and way easier to write. He also has measurements to back this up: http:
More ›