Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
trishume
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
32 ms
·
271.
▲
by
trishume
10y ago
Normally I defend Sublime Text, but I think this is the ideal use case for Atom/VSCode. It has great defaults and is easy to get started with without plugins. Sublime is still easier than VIM/Emacs for beginners but it does requir
272.
▲
by
trishume
10y ago
Perhaps that study looks at wages because I specifically looked for another study that also measured IQ-wage correlation. There are studies measuring other things, I was just looking for something to compare to the study the article mention
273.
▲
by
trishume
10y ago
The low correlation of IQ and future wage is surprising to me given what I've seen elsewhere. For example https://www.researchgate.net/profile/Robert_Sternberg2/publi... finds that IQ predicts 15% of the vari
274.
▲
by
trishume
10y ago
Agreed. But if the goal is something like "build the largest number of paperclips", recursive self improvement is going to be a phenomenally good way to achieve that, unless it is already intelligent enough to be able to tile the
275.
▲
by
trishume
10y ago
It is to some extent if we have a constant time example in real life. If the AI can't solve protein folding fast enough it can just design absurdly fast protein sequencers and really good microscopes and get proteins to fold themselves
276.
▲
by
trishume
10y ago
The thing is it doesn't need a huge leap in any specific thing, it needs a quantum leap in anything at all. Complexity only constrains you from solving all problems of a given type in reasonable time, not from solving any instance. The
277.
▲
by
trishume
10y ago
Why wouldn't it if it is able to? It doesn't have to "want" to self-improve, it only has to want anything that it could do better if it was smarter. All it needs is the ability, the lack of an overwhelming reason not to,
278.
▲
by
trishume
10y ago
The issue is that in this case "vastly smarter" is not smart enough to truly understand the cat. It's conceivable an AI with tons of computing power could simulate a cat and reverse engineer its brain to find any stimulus tha
279.
▲
by
trishume
10y ago
Oh sorry for not being clearer, I didn't mean to imply you misinformed people. I just thought you should be more transparent about where results are coming from. For example it would have been nice to see a "results from Bing"
280.
▲
by
trishume
10y ago
Do you really do your own crawling for purposes other than image retrieval? Is it really any good? I highly doubt that your queries are primarily coming from your own engine. The results are too good. It has good ranking, spelling correctio
281.
▲
by
trishume
10y ago
If you look at the article, you'll see that I wrote a full clone of Sublime Text's syntax highlighter before even opening a disassembler. I do in fact know how to do syntax highlighting. And yes I read lots of Scintilla's cod
282.
▲
by
trishume
10y ago
You're right that it does use a canvas, but I'm not sure that it could do full rendering at decent speeds. The trick is scrolling at 60fps. I'm not sure JS Canvas can draw 100,000 characters in 16ms. I think you could do it w
283.
▲
by
trishume
10y ago
Cool, email me if you need any help with it. In fact, email me regardless of if you need help telling me what your project is and how syntect might help.
284.
▲
by
trishume
10y ago
Yah I'm aware of Atom's minimap, hence why I wrote "that actually renders based on the shape of characters". Atom's renders with blocks instead of tiny characters because the DOM couldn't handle full rendering.
285.
▲
by
trishume
10y ago
Part of what you lose other than large files is little features that need high performance to work. For example Sublime's fuzzy finder previews files behind it as you type, VSCode/Atom/Emacs can't load files fast enough
286.
▲
by
trishume
10y ago
In theory they could do some of them, but they'd have to be done in asm.js or WebAssembly. Both for speed, and because otherwise the lack of statically sized structs will kill you on memory overhead. For other things (like a very nice
287.
▲
by
trishume
10y ago
I definitely envy VSCode's nice debugging interface. I wish there was a standalone debugging app that integrated with Sublime (and other editors) to provide multi-language debugging like VSCode. For now, Sublime's plugin ecosystem
288.
▲
by
trishume
10y ago
VSCode is better in some ways for a couple languages that it has nice debuggers for. Otherwise Sublime has a lot on it. Sublime is faster and is crazy polished. It also has a larger plugin ecosystem.
289.
▲
by
trishume
10y ago
Depends how complex your video game is. It has a GPU back end so it can be pretty fast, but it is still focused on very high quality antialiased rendering so it isn't crazy fast. Apps like Chrome and Sublime don't repaint the enti
290.
▲
by
trishume
10y ago
Sublime's doesn't: https://www.sublimetext.com/eula
291.
▲
by
trishume
10y ago
AFAIK yes. It's not illegal to look at how something works. There are some dumb laws in the US about circumventing and changing things, but I didn't actually touch anything. I would also be more skittish if I was looking at the li
292.
▲
by
trishume
10y ago
You need a file with a line longer than your window is wide. Then whichever side(s) of your window have content scrolled off the side of them will have a slight shadow effect on them. It's actually quite cool and I think indicative of
293.
▲
by
trishume
10y ago
Yah the work day before I did this I actually was using Sublime on a portrait monitor where the line length limit in our source guidelines fit at my font size, but since the shadow kicks in slightly before the line actually goes off screen,
294.
▲
by
trishume
10y ago
Yah I'd read that, so I looked for signs of a piece table, but couldn't find any. Which doesn't necessarily mean that it isn't using one. I suspect that Sublime Text either doesn't use a piece table, or uses one tha
295.
▲
Disassembling Sublime Text
(thume.ca)
419 points
by
trishume
10y ago
|
144 comments
296.
▲
by
trishume
10y ago
Would you be willing to post this cheat sheet, or link to it if you got it from the internet?
297.
▲
by
trishume
10y ago
Great article, I too loved this game. In fact the article prompted me to fire it up again and figure out the tricks to match his 148 on the 2nd problem and it was really fun. Now for that second campaign...
298.
▲
by
trishume
10y ago
shameless plug: If you're looking for more keyboard build logs, I wrote one about my custom keyboard. http://thume.ca/2014/09/08/creating-a-keyboard-1-hardware/
299.
▲
Designing and Building a Keyboard: The Body
(thume.ca)
1 points
by
trishume
10y ago
|
0 comments
300.
▲
by
trishume
10y ago
Well, it happened.
More ›