Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jvilk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
13 ms
·
61.
▲
by
jvilk
12y ago
While I dig the idea, it's important to note a few issues with the dataset. Take the presented data with a huge grain of salt. First, many repositories are not a single language. For example, this PHP framework is reported as a CSS pro
62.
▲
by
jvilk
12y ago
> ...TypeScript doesn't purport to analyze the correctness of regions of code that lack type annotations. TypeScript infers the types of local variables. For example, the following unannotated code would cause the TypeScript type ch
63.
▲
Java 8 WTF: Ambiguous Method Lookup
(jvilk.com)
6 points
by
jvilk
12y ago
|
1 comments
64.
▲
by
jvilk
12y ago
The author of micropolisJS is not the author of 3D City. In this case, 3D City needs to be licensed under the GPL, and I believe 3D City needs to include the copyright details for the original port. In addition, micropolisJS has additional
65.
▲
by
jvilk
12y ago
> I wish we could move towards a model where browser vendors would expose low level APIs... You might find this academic paper from James Mickens interesting, which explores this exact idea in detail: http://sigops.org/so
66.
▲
by
jvilk
12y ago
I like to think that my BrowserFS [0] codebase is a relatively well-designed TypeScript codebase, but I'm a bit biased. Not sure what you view as 'large', though. [0] https://github.com/jvilk/BrowserFS
67.
▲
by
jvilk
12y ago
> you shouldn't have to encode that in the path, just some metadata in a file somewhere would have done the same job There are two problems with this approach, from how I see it. 1) Now there is an extra build step: Produce the meta
68.
▲
by
jvilk
12y ago
(Apologies in advance if I am misunderstanding the complaint -- I'm assuming 0 prior knowledge on your end, so my write-up below may sound obvious! Sidenote: I've written a JVM, so I've gained an appreciation for some aspects
69.
▲
by
jvilk
12y ago
It is supposed to provide a unique identifier for all packages in all applications, allowing you to mix code from multiple packages without namespace collisions. From http://docs.oracle.com/javase/specs/jls/se
70.
▲
by
jvilk
13y ago
I made a (very childish) bookmarklet to make it more fun :) http://people.cs.umass.edu/~jvilk/bookmarklet.html (The "javascript:" link for the bookmarklet is on this page) Click it when you're on a Git m
71.
▲
by
jvilk
13y ago
> Who Maintains Type Definitions? Hi. As a user of TypeScript in all of my projects, if I find a typing bug or a deficiency in a typing, I commit a fix to DefinitelyTyped. Or if a library isn't typed, I create a typing myself and co
72.
▲
by
jvilk
13y ago
Not personally, but this article has stuck in my mind: http://gigaom.com/2013/03/15/by-the-numbers-how-google-compu... Note that this is a year-old article. It also doesn't address reliability; it focuse
73.
▲
by
jvilk
13y ago
Hello, JSMESS developer here. It should work on Chrome/Firefox/Opera/IE 10+/Safari/just about anything with typed arrays. Chrome and Firefox have USB joypad support, but you need to activate it (by pushing a button
74.
▲
by
jvilk
13y ago
Earlier versions of TypeScript had some significant typing issues in my experience, especially related to typechecking static fields on object instances (which you can't access through object instances -- you have to go through the cla
75.
▲
by
jvilk
13y ago
I think it's just syntax highlighting, like the current ST support [1]. There's notable vim support [2], but... I prefer GUI editors for IDE-style development. [1] http://blogs.msdn.com/b/interoperability/
76.
▲
by
jvilk
13y ago
It has improved in recent releases, but I think they are focusing mostly on incremental compilation via the -watch flag. My projects still take 5-7 seconds to build from scratch on my MacBook Air. You probably know this, but just for others
77.
▲
by
jvilk
13y ago
I also switched two of my research projects over to TypeScript from CoffeeScript [1,2]. I'd like to state up-front that CoffeeScript still has its merits in certain scenarios; they are two very different projects, despite both providin
78.
▲
by
jvilk
13y ago
Nice! Good to see others tackling this sort of problem. I'm actually working on a similar project, but it instead uses the file system abstraction for storing and retrieving data. It's called BrowserFS [0], and it emulates the Nod
79.
▲
by
jvilk
13y ago
Cool hack. Is the source code available somewhere? > - Consistent performance. > (not like the V8 engine pausing the whole application for GC) But... you're still going to need garbage collection, unless you are only planning on
80.
▲
by
jvilk
13y ago
Visual Studio has really nice TypeScript support. :) Also, I never said the Windows developers were 'okay' with Cygwin... just that it wouldn't solve the problem. ;)
81.
▲
by
jvilk
13y ago
I used make for a long time on my JS codebases, and I agree that it is very useful. You can do a lot without needing to write a lot, and file targets usually 'make sense' for most build tasks. I decided to switch to Grunt, though,
82.
▲
by
jvilk
13y ago
And now you can relive this classic computer in your browser, courtesy of JSMESS [1] (although, at the moment, it doesn't run at 100% speed). Information on key bindings and how you can e.g. activate the FORTH interpreter can be found
83.
▲
by
jvilk
13y ago
Thanks! We had an excellent Google Summer of Code student work on AWT support for half of the summer. We discovered that the OpenJDK AWT implementation betrays its own internal abstractions, making it impossible to implement a new backend w
84.
▲
by
jvilk
13y ago
Right now, http://codemoo.com/ by the University of Illinois uses it to teach Java. A few teachers have expressed interest in using it for similar purposes, but we need to make deployment easier. It's too slow at the m
85.
▲
by
jvilk
13y ago
Note that the demo is somewhat old; I do not know if it has park implemented. You'll want to build it from GitHub, which we've made relatively straightforward. We are planning to update the demo (and perhaps post on HN) once I fix
86.
▲
by
jvilk
13y ago
In the Java Class Library, any function that needs to interact with the environment outside of the JVM itself (OS/file system/network/threading/etc.) is implemented in C and is marked as 'native'. Those are the
87.
▲
by
jvilk
13y ago
We have the ability to park threads and atomic CAS implemented, so we should support java.util.concurrent. Granted, it's possible that it invokes a native function somewhere deep inside itself that we don't implement yet, but fixi
88.
▲
by
jvilk
13y ago
Interesting! It looks like you've reimplemented portions of the Java Class Library rather than use e.g the existing class files from OpenJDK. My current research project, Doppio [1], implements the native portions of the OpenJDK Java C
89.
▲
by
jvilk
13y ago
My current research project, Doppio, can already run Rhino in the browser using JavaScript. :) Demo: http://doppiojvm.org/ Code: https://github.com/int3/doppio