Earlier quoted context omitted.
Alternatively, one of the consequences of React is that the front-end can largely be unit-tested. You can at least get a pretty good idea that the page will render what you expect if it gets the data you expect. And whether or not it gets that data is a unit test in another place. I'm not a huge fan of React, or javascript, but having been forced to work in it, this is one of the wins.
You could test the front-end before react though? Also, one can still have a God component. I don't think React changed anything from a testability point of view. Well written modular code is well written modular code.
Ask HN: What is the most exciting development in your field right now?
341–350 of 436 posts
Re: Ask HN: What is the most exciting development in your field right now?
#342Earlier quoted context omitted.
Wouldn't that objection disappear once automation is more reliable than a human operator, since the human operator would be less likely to be sued when taking responsibility for an automated system's results than they would for simply trying to make the call themselves?
It's more about who gets sued. If you make software to fully automate interpretation you would be the party sued. If there is still a human in the loop, you are not liable for their errors.
Re: Ask HN: What is the most exciting development in your field right now?
#343Earlier quoted context omitted.
BTW You can do this kind of thing now, with classloading. I'm doing developmemt on my phone, and it's far faster to load new class versions than install a new app version. Google will have a framework around this. Full OS access could mean permissions per page - could be awkward or ok. Much of the app vs. webpage debate here is the same as always - though offline advantage is gome.
Never looked into Classloader until now. Very interesting. Can a loaded class also be an extension of a view or an activity?
There shouldn't be any problem classloading an Activity, use reflection to instantiate, and treat as you would a runtime Activity (as opposed to being declared in AndroidManifest.xml). But I haven't actually done this; could be some gotchas in incorporating runtime a Activity into the GUI.
IIRC google had a few hits on classloading Activities.
Re: Ask HN: What is the most exciting development in your field right now?
#344Why hasn't there been any innovation in the area of sleep?
There have been a few quickstarters which claim to reduce the amount of sleep you need but they've all turned out to be nonsense AFAIK.
I agree it's weird that we have nothing when we spend 1/3rd of our lives asleep.
Re: Ask HN: What is the most exciting development in your field right now?
#345Earlier quoted context omitted.
Yeah, this is one area where webdev is way behind other fields, and i think we're going to see lots of new tooling in this area soon. We're currently working on a way to help devs test web app functionality and complete user journeys without having to actually write tests in Selenium or whatever. The idea to is let devs write down what they want to test in English ("load the page", "search for a flight", "fill the fo…
>wants to reduce complexity >tries to do so by using an imprecise, context-dependent language designed for person-to-person communication to instruct a machine ??? Selenium is its own can of worms, but it absolutely sounds like you're using the wrong tool for the job here. The problem stopping people from writing browser-based tests is not that people can't understand specific syntaxes or DSLs, it's actually the oppo…
Re: Ask HN: What is the most exciting development in your field right now?
#346Deep learning architectures built by machines (so we no longer have to design architecture to solve problems) https://arxiv.org/abs/1611.01578 Transfer Learning (so we need less data to build models) http://ftp.cs.wisc.edu/machine-learning/shavlik-group/torrey... Generative adversarial networks (so computers can get human like abilities at generating content) https://papers.nips.cc/paper/5423-generative-adversarial-n…
Re: Ask HN: What is the most exciting development in your field right now?
#347Compilation: - Meta-tracing, e.g. PyPy. - End-to-end verification of compilers, e.g. CompCert and CakeML. Programming languages: - Mainstreamisation of the ideas of ML-like languages, e.g. Scala, Rust, Haskell, and the effect these ideas have on legacy languages, e.g. C++, Java 9, C#. - Beginning of use of resource types outside pure research, e.g. affine types in Rust and experimental use of session types. Foundatio…
I work in CPU design. So I'd add that the tools for formally verifying CPUs have come a very long way in the last two years, and the next two years look like they will be very exciting indeed.
I don't know much about CPUs, but I suspect that one of the core problems of software verification, the absence of a useful specification, isn't much of an issue with hardware.
Re: Ask HN: What is the most exciting development in your field right now?
#348It's all subjective, but as a data analyst I'm excited about probabilistic databases. Short version: load your sample data sets, provide a some priors, and then query the population as if you had no missing data. Most developed implementation is BayesDB[1], but there's a lot of ideas coming out of a number of places right now. [1] http://probcomp.csail.mit.edu/bayesdb/
Re: Ask HN: What is the most exciting development in your field right now?
#349Compilation: - Meta-tracing, e.g. PyPy. - End-to-end verification of compilers, e.g. CompCert and CakeML. Programming languages: - Mainstreamisation of the ideas of ML-like languages, e.g. Scala, Rust, Haskell, and the effect these ideas have on legacy languages, e.g. C++, Java 9, C#. - Beginning of use of resource types outside pure research, e.g. affine types in Rust and experimental use of session types. Foundatio…
There's a new project to implement TLS in python [1] with the idea to have secure and verifiable code, but so far (to my knowledge) there's no formal tool involved in the verifiability aspect -- the approach is mostly around keeping the implementation as RFC-compliant as possible. I'd be really interested in applying any of these techniques to a full TLS implementation. [1] https://github.com/pyca/tls
[1] http://research.microsoft.com/en-us/um/people/fournet
[2] K. Bhargavan et al, Implementing TLS with Verified Cryptographic Security. http://research.microsoft.com/en-us/um/people/fournet/papers...
Re: Ask HN: What is the most exciting development in your field right now?
#350Compilation: - Meta-tracing, e.g. PyPy. - End-to-end verification of compilers, e.g. CompCert and CakeML. Programming languages: - Mainstreamisation of the ideas of ML-like languages, e.g. Scala, Rust, Haskell, and the effect these ideas have on legacy languages, e.g. C++, Java 9, C#. - Beginning of use of resource types outside pure research, e.g. affine types in Rust and experimental use of session types. Foundatio…
> Homotopy type theory. Can you talk more about this? I even got THE book on this (haven't really read it yet though) and like I think I get the rough ideas but I'd be curious to hear what HTT means to you (lol).
HoTT brought dependent types and interactive theorem proving to the masses. Before HoTT, the number of researchers working seriously on dependent type theory was probably < 20. This has now changed, and the field is developing at a much more rapid pace than before.