Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lennel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
17 ms
·
31.
▲
by
lennel
13y ago
its a tad more complex that you would imagine from the get go. Certain coding patterns don't work well with closure; for example obj["name"] = a and elsewhere obj.name will cause issues. Of course it would make a lot of sen
32.
▲
by
lennel
13y ago
the problem is that you will still include the whole of jquery given that it is passed in through an externs file to the compiler.
33.
▲
by
lennel
13y ago
Mockito easily leads to a false belief that code is tested. Mocking dependencies and simply asserting those mocks is useless yet I see that all the time.
34.
▲
by
lennel
13y ago
That is what I thought, so dead the tech is dead in the water.
35.
▲
by
lennel
13y ago
what impact will this have on the web component standard implementation in webkit?
36.
▲
by
lennel
13y ago
i mean teams of 20-25 people, working with millions of lines of code over all the modules, that has to be regressed the whole time. Big for the tech stack it is. This is not counting our bucketloads of java and scala code as well.
37.
▲
by
lennel
13y ago
the use of bind with event listeners will lead to memory leaks since you have no way of removing the event listener, given that you don't have access to the function bind returns (at least in the code examples the writer created).
38.
▲
by
lennel
13y ago
we use java to render our templates on the server side. https://developers.google.com/closure/templates/ And yes response times, it makes a massive massive difference in perceived responses. Our stack is the same
39.
▲
by
lennel
13y ago
I create fully fledged JS apps on a big scale, the difference from this test to reality is startling. The difference is I enforce the use of the closure compiler in our team so 99% of these issues are caught by the compiler. end of story. t
40.
▲
by
lennel
13y ago
we use rhino for some types of testing. brutally slow.
41.
▲
by
lennel
13y ago
i assume you work on the team at FB. Are you considering writing jsx compilers for platforms like the jvm?
42.
▲
by
lennel
13y ago
I started with this line: >initial rendering should definitely be on the server this technique is called pre-rendering, and yes, I am amazed people don't do it. "PyExecJS (which just uses raw JavaScriptCore)." this seems
43.
▲
by
lennel
13y ago
initial rendering should definitely be on the server, his premise to render content on the server side and then async load it in is flawed, he adds latency and the dom still has to parse a string at the end of the day and put them on the di
44.
▲
by
lennel
13y ago
<<harsh criticism - i feel bad for, yet I also feel the standards are too low in general>> pre-rendering the board on the server would have solved his perceived problem immediately. then in more detail: layout thrashing only now
45.
▲
by
lennel
13y ago
blocked rendering works, but reuse of existing dom components do not. much cheaper to break it into the list item and render around your display area in larger blocks than you would if you use native. detaching from the dom changing is chea
46.
▲
by
lennel
13y ago
I agree with you 100%, reading is a much better way to absorb information with fewer emotional strings available for the plucking with yer brain in a more rational state. We all however know people who got through university without ever re
47.
▲
by
lennel
13y ago
You describe dropwizzard then rule it out, I don't follow why?
48.
▲
by
lennel
13y ago
that is an paragon of maintainability if I ever saw one.
49.
▲
by
lennel
13y ago
There was no push for war. The apartheid government just wanted to finish their plundering and not be liable for the economic position they created.
50.
▲
by
lennel
13y ago
tactic yes, but also a great appeal to his humanist intellectual position.
51.
▲
by
lennel
13y ago
We moved back to SA a week after Mandela was released. My thoughts on SA as someone who saw this goal of transformation fail. Mandela was an incredible humanist, more so than people realise. his government was run on charm, persuasion and
52.
▲
by
lennel
13y ago
"I didn't know there was a dubbed version." "The original version is so much better." ? was it remade? ps. I have also not seen a dubbed one, but it is obviously subtitled.
53.
▲
by
lennel
13y ago
The thing that will break your code is this type of notation this['function'] since the compiler can have no idea what renaming should apply. There are aspects of the library that lets you expose public apis. I can really recommen
54.
▲
by
lennel
13y ago
closure kicks uglify for size when compiling with advanced optimisations.
55.
▲
by
lennel
13y ago
We also programmed in Oberon at varsity. I think oberon with scheme and c would be a great set of 3 languages to teach from school level through till end of undergrad at varsity.
56.
▲
by
lennel
13y ago
I am wondering the same thing. I would imagine that if your whole stack (especially build system) is built ontop of javascript you could have a level of meta programming via esprima, but the rest is bla
57.
▲
by
lennel
13y ago
I am in the dark, the pasge describes a build tool, what's the fantastic idea here? What is your build doing. or do you mean simply build vs using an ftp server? sorry if this sounds weird, but the blurb explains nothing new, and nothi
58.
▲
by
lennel
13y ago
Your reading list for Eco is perfect, I can recommend his essays as well, his intellectual range is amazing. BUT, as you said, above all of this stand Foucoults pendulum. A book about being human and fearing, history, human believe system
59.
▲
by
lennel
13y ago
once the tech is solid I am 100% sure health insurance companies will ask (probably not mandate due to human rights) their customers to do this and give them a financial incentive as such.
60.
▲
by
lennel
13y ago
Nitpicking certainly but I would say use something like antlr rather than peg.js antlr "schemas" are extremely close to ebnf's (some exceptions obviously) and the compiler creation club could benefit from that. Antlr 3 is us
More ›