Without doubt, GraphQL is the next technologo I will learn. The idea is so brillant compared to REST. If you are convinced by SQL and in general by Domain Specific Languages, I think you should give GraphQL a try.
I'm intrigued ... can you elaborate on the wow factor beyond REST that you see in GraphQL? When I looked at it in the past, it seems to make sense for things that could be represented by graph (e.g. FB's social graph), and graphql allowed you to run complex operations in the backend without fetching each individual node on the client. I clearly missed something?
> it seems to make sense for things that could be represented by graph
False, even if there is graph in its name it's not restricted to graph, and that what is great about it compared to things like RDF and SPARQL. Backend data can be stored in key/value store, document, files, RDBMS or whatever. And you will still be able to make it work. AFAIK you write a "translation" layer that interprets a pseudo-JSON file into your data.
AFAIK GraphQL is not good at querying recursive datastructure, it's better at "neighborhood" kind of query, so you can traverse Foreign Keys, but not "indefinitely".
> graphql allowed you to run complex operations in the backend without fetching each individual node on the client.
Yes.
> I clearly missed something?
IDK. For me, GraphQL basically it's an RPC interface particularly suited at "reading" data.
> And if you can also elaborate on why SPARQL and RDF were a major failure, and how GraphQL is different/better?
GraphQL is not tied to particular data layout. I don't know much of SPARQL and RDF actually and don't know why they failed. I am just guessing.
That said, GraphQL it "just" another query language, it's "just" another DSL targeted at querying datastructures. As something that was thought a long time, focused to solve a particular issue.
> AFAIK GraphQL is not good at querying recursive datastructure, it's better at "neighborhood" kind of query, so you can traverse Foreign Keys, but not "indefinitely".
That isn't true. You can request data in any shape you want and could theoretically traverse through child nodes indefinitely.
Let's say you want to query Wikipedia for village descriptions, and get a map of matched villages from openstreetmap. Would it be a use case where GraphQL could help?
Then it would need a "translation" layer for both systems. And joins between datasets would be based (for example) on the couple "country+postalCode".
Is it a possible use case of GraphQL?
Ok. And the join strategy (i.e IDs alignment) between data sources is defined (declaratively? Programmatically?) in the "translation" layer. Sounds very interesting.
I still think the URIs of the semantic web are a better idea, but given the fact that nobody (re)uses them, then why not a "translation" layer.
You can ask for data in the structure the UI expects and only get exactly that data, letting the GQL client handle batching network requests for needs distributed across the whole app, caching, UI updating, etc under the hood. Also does a great job of decoupling product and data management code.
I'm encouraged to hear your opinion on it. A friend of mine who turned me on to elixir is a fan of GraphQL as well. So you have pushed me to spend the day reading up on it and experimenting with it. Thank you.
I built a GraphQL API earlier this year. The learning curve can be a little awkward coming from REST, but once you get the hang of it GraphQL is super fun. Can't recommend it enough. Enjoy!
I couldn't put a number on it, but it greatly accelerates development on the front-end. The API call gets you back all the data you need, only the data you need, in the format or structure that you need.
If there were GraphQL for Spotify's API and you wanted an artist's discography, you don't have to make multiple calls to endpoints and work through huge objects where 90-95% of the data is not needed.
For the front-end, it's a no-brainer. I've read that it is a bit more involved on the server-side but Apollo seems to be making great tooling for it.
I was really not sold by GraphQL, I'm totally down to not use REST as I think that's daft but GraphQL seems to be less powerful than SQL and only really useful if the thing you're querying really is a graph, and not lots of rows of relational data. I do work with data all the time so it's not actually that useful, I wish someone would invent something similar but with a more logical foundation (joins and aggregations and stuff, not only through ugly plugins). Maybe like datalog although I never learned that enough to find the payoffs.
Personally, I believe that someone needs to build some kind of a scalable, security-hardened SQL interface that can be queried directly from the browser using actual SQL. Part of that need involves federated data from multiple services/data sources. We already have a query language that can even handle nested values (see ISO SQL:2016 standard), why not just adapt it for use in the browser?
I don't really like SQL either, it's hard to generate and doesn't support any abstractions, it might be an OK target format for some amazing query generator.
I'm genuinely surprised by the number of people on HN who seem to know very little about what has been safe to call the successor to REST for quite some time.
Forgive me if this sounds hyperbolic, but unless you have unusual or strict requirements, building a new app in 2017 REST-first is most likely a terrible mistake.
Let me clear up some misconceptions I see in almost every HN comment thread on GraphQL:
1. GraphQL isn't more suited to Graph databases. Your data sources can be a mix of relational DB, NoSQL, key value, a REST API, or anything else.
2. n+1 has always been a solved problem in GraphQL thanks to DataLoader[1], a query batching utility which coalesces calls to your data sources from different parts of your app, specifically to avoid n+1.
3. It's unquestionably production-ready, battle-tested, has a real spec and official reference implementation, and it's probably the safest bet you can make at this moment in an industry as fickle as this.
With GraphQL you simply write your schema, define types and relationships, and you’re then able to request data in almost any shape you wish, with very little extra work. This is invaluable during development.
If you have a list of recent comments with author names, and later decide to show an avatar alongside the name, you don’t need to write any extra code on the server. You add an extra line to your query (or component’s fragment) on the client.
The same goes for any field, any relationship, no matter how complex the resulting shape. If you wanted a comment author’s follower’s comments’ likeCounts, you still don’t need to write another line of server code.
This makes it stupidly simple to rapidly prototype new features, try out new layouts, and means you can share a single API endpoint between mobile apps and desktop site without sending useless data to one or both.
There have been many occasions when we simply wouldn't have had the time to implement a feature correctly with REST, particularly when we might not even know what data we'll want until we begin developing the feature and get a feel for how it works.
It doesn't just save server dev time either. On the client side
there are libraries like Apollo[2] and Relay which take care of fetching data, caching, normalization, and you should almost certainly use one (I recommend Apollo) unless you have a good reason not to. Writing fetch calls and managing your store manually is just going to be a huge waste of time.
And the spec is more than queries and mutations. It's subscriptions, live queries, and more [3]. Real-time data is a first-class citizen of GraphQL, and the two most popular front-end libraries have official implementations of subscriptions (with live queries in progress).
GraphQL is elegant, has a well-designed official spec, great DX and just plain makes sense. But it's really something you need to try out for yourself (preferably on a real project) to see just how great it is.
If you’re planning to build something new with REST, seriously, reconsider. There's a slightly higher upfront cost to using GraphQL (particularly if you're new to it), but once you settle into it you'll be glad you did.
Useful tools and resources:
- GraphiQL[4] - an incredibly useful tool for running queries on your GraphQL API
- Graph.cool[5] - BaaS for quickly prototyping a GraphQL API
- Apollo Launchpad[6] - Try out GraphQL server code in your browser
If by "tech" you mean mostly computers and software, then WebAssembly is exciting. We've had 5 or more years now of companies inventing languages that compile back to Javascript, even though Javascript is a terrible target for compilation. WebAssembly was designed to be a true compilation target, and will allow an endless number of languages to be used on the browser.
WebAssembly helps create more space between the kind of languages that developers want to use, and any particular GUI output, such as HTML. In a different thread, I just wrote about what is wrong with HTML:
AR. Being able to superimpose software on top of real objects is amazing. It has so much economic potential that it hurts not being in the space already (working on that though). I feel AR will be the app craze 2.0.
Iron Man style AR has so much more consumer potential than VR imo. Being able to get real-time info about the world around me without having to wave my phone around would be killer.
> It has so much economic potential that it hurts not being in the space already (working on that though)
As someone not familiar with the area, could you elaborate on some examples of what you think the economic potential is? To an outsider like me, being able to overlay virtual objects on a scene seems like a nice curiosity, not particularly an engine for commerce.
Edit: specifically, I was curious about areas where AR offers a (financially) meaningful advantage over traditional HUDs (for example).
To me the benefit of AR is not just overlaying virtual objects on the physical world but specifically highlighting real objects in your field of view. Granted, this does just come down to placing a virtual object on the physical world. I can give a specific example that is perhaps of not so great financial advantage, but I think this kind of thing will be useful - using AR to give you directions to build IKEA furniture. You are sitting in front of a pile of materials and the AR will tell you to put _this_ bolt (highlighted) in _this_ hole in _this_ piece of wood. You would not have directions on a piece of paper but rather using the actual objects.
I feel the key AR advantage will be that we don't have to spend half our time glancing down on tiny rectangles anymore.
The Oculus is already less than an order of magnitude away from competing with regular LCD panels. Google glass and maybe that magic leap thing give us hints that it will eventually happen for mobile.
No more displays, now that's something I would pay for.
One of the financial uses for AR is the ability to show a user how a product will fit in their life before they've purchased it. This has a lot of potential for any large purchases that need to fit in your home (furniture, appliances, renovations, TVs, etc.), and once we have access to high quality full body tracking it could be applied to fashion as well. Lowe's innovation lab is doing a lot of this already on a variety of different devices for both at home and in store (https://blogs.windows.com/devices/2016/03/18/microsoft-holol...).
Beyond that, with AR you can make certain classes of digital goods and marketing "exist" in the real world. The margins for AR merchandise will be significantly higher than real physical merch, although I'm guessing the prices will be a lot lower. Selling virtual items that you can see in real life opens up a lot of cool and fantastic options as well as more mundane stuff or a mix between the two.
If AR becomes ubiquitous it gives big tech companies a lot of data that no one currently has. Specifically you would have a detailed, 3D map\point cloud of most of the real world at various points in time. You could build an awesome developer platform on this, use it for VR tourism, simulation, license it to film or games producers, etc.
There are already many use cases for industry and enterprise customers when it comes to training and data overlays for workers.
A boring, but lucrative use case happens when resolution and tracking get good enough and assuming the form factor gets to eye glass size. AR could potentially replaces all conventional screens and be more comfortable to use than smartphones.
Note I'm using AR more broadly and including Google Glass\HUD style stuff, ARKit\Vuforia SmartPhone AR, and Hololens or Magic Leap style MR or "holograms".
I think you're missing a more important use case, namely, being able to layer contextual information over objects in your field of vision.
Use cases in industry abound. On a trip to the doctor's office, your physician can overlay your medical file and get pertinent information about you. If you are a politician holding a fundraising dinner, AR + facial recognition will supply you with the biographical information, social media profiles, voting records, donation history, etc. of the people in the room allow you to schmooze ever so effortlessly and ever more efficiently. AR tailor made for athletes could do a number of physiological measurements like heart rate, VO2, etc. (with wearables or implanted sensors) that could combine to produce some sort of stamina bar, allowing for more effective substitution patterns. An activity like paintball can will feel closer to an actual military engagement or a video game if a minimap that includes your teammate's location will be in the corner of your vision.
The Terminator franchise did a great job of showing it's utility by giving Arnold "Terminator vision" in shots from his POV. Video games also make extensive use of OSD. A 1st person shooter's OSD really shows the advantages of AR.
Advances in computer vision and networked IoT devices will be a multiplier for AR's utility. Imagine an app that overlays your vision with the mathematical patterns of nature: illustrating the Fibonacci sequence in the leaves, petals and seeds of plants or in the way tree branches form and split. It could highlight all of the phenomenon that exhibit golden ratios. It could show the equations of motion for objects moving or spinning in your field of view or detail the biomechanics of the elegant dancers of the Bolshoi ballet. In a way, you get to experience what the mind of a Leonardo Da Vince or John Nash might be like, like you are able to get an insight into the mind of a genius.
That was an insightful comment, thank you. Like a few others in the thread, I was skeptical of AR's practical potential - the demos/apps I've seen so far felt like "a solution in search of a problem" - but your examples and concise summary helped me to imagine the range of possibilities.
The ability to "layer contextual information over objects in your field of vision".. I see, that is the crux of it, to further integrate the "real world", the sensory experience of a person, with the global web of information and computing. Great examples you gave of industries that could utilize this, in healthcare, political/social/interpersonal sphere, athletic or intellectual/educational/artistic uses.
It conjures a vision of near future where people enhanced with AR - or maybe "augmented senses" - would have distinct advantages over people without access to such layers of contextual information.
Sure. WebGL is a sandboxed subset of OpenGL ES 2.0, and WebGL 2 is similarly a derivative of OpenGL ES 3.0.
While both of those APIs offer nearly full programmability, they do so with an API structure that retains a ton of legacy cruft from the days of fixed-function pipelines. Neither are low-level graphics APIs; many assumptions are made. This makes doing general purpose compute tasks on WebGL extremely hacky at best.
Think of WebGPU as Vulkan or Metal for the web. Lower level with much more work, but ultimately cleaner with superior performance and capability.
It aims for more economically secure public blockchains with shorter confirmation times and less cost (electricity/hardware/inflation). I haven't delved deep enough into it to be fully convinced, but what I've gotten through so far is promising. AFAIK its the only proof of stake algorithm thats been formally documented.
For me it is Raiden, I believe Ethereum should be able to beat Bitcoin in their lightening network implementation, and for the cryptocurrency of future, Raiden is very important for Ethereum.
PS: So you don't support Ethereum Classic anymore?
Also more excited about Raiden. Sad there isn't much more information about it.
From my understanding, the thing I like about payment channels is that the capacity of the payment channel depends on how much of the cryptocurrency is deposited/locked away under it.
So with everyone competing for a payment channel toll, they have taken large amounts of crypto off the market, constricting the supply, while distributing the marketing out for their own use case, some of which will be successful at increasing the demand. Any limited supply commodity performs the same under these circumstances, up, and that is exciting because the capacity can also scale for the new attention, while the "centralized" payment channels stay optional ways to transact on the network at all.
There are rumors of phones with batteries lasting longer than 5hrs. I'm still not sure if true or not but when it happens it will revolutionize what you use your phone for. It may even replace the watch completely some day.
Obviously I insist they still need to be as thin as they are now. That is much much more important than batteries.
Are you guys for real? This is ridiculous! I've been on the old Nexus 5 for ages. I think, if we aren't going to get Android 7, then maybe it will be time for me to switch to one of the fringe mobile operating systems.
I get about 20 - 40 hours between charges, depending on whether or not I need to use Google Maps that day, and I often stay in airplane mode when I am working.
Airplane mode is cheating. My Nokia 920 lasted for a literal week during my honeymoon. It sat in the room in airplane mode and zero usage other than an alarm clock and a few dozen pictures. No one cares how long a smartphone lasts when you're not doing smartphone things with it.
Phones and watches are either two entirely separate things, or indeed, once miniaturization and battery tech improve sufficiently, the watch, being much more convenient to carry around and being instantly to-hand, glanceable etc, will replace the phone for everything except large-format display, just as with pocket-watches.
ARkit finally pushing AR to the masses. From a developer perspective, having an SDK that simplifies "environment detection/reasoning" is huge. Previously required pretty deep hardware requirements and now is turning into an AI/ML/software problem.
not that I've seen, though with some logical combination of object dimensions, env variables (depth of field, etc), and a decent image recognition/ML then you could probably get decent OCR. Note that this is for visual recognition, feel text is decently solved (exhibitA, Google Translate).
A usable AR SDK has been available from Qualcomm/Vuforia for years on more devices than ARKit supports. The only thing that came out of it was marketing gimmicks.
I thought vuforia was mostly just a marker based AR, which never really took off in the US market. ARKit is markerless and their VIO system is actually pretty good.
yep - have been using Vuforia since it came out. Fantastic for scanning in models and the usability is great. That said, I keep coming back to the fact that the install base of iOS11 is what intrigues me the most. By no means is ARkit the magic bullet, but its enough and it can tempt developers the same.
Excited may be too strong a word, but I'm interested in seeing how the world of decentralised apps evolve. I like the idea of decentralising the web using plug and play home servers. There are a few projects in this space already (such as Sandstorm) and there are some existing projects that aren't strictly limited to dapps but could play a key role in the future (a few unikernel and meshnet projects spring to mind).
I'm looking for a CRISPR (or equivalent gene tech) loading system to be implanted, so we can easily install upgrades to our genome as a species. Patches that fix common flaws that dramatically increase disease / shorten life expectancy, along with improvement patches that make us better in various ways. It's not coming anytime soon, but it's inevitable and will be more beneficial than the vaccination programs we've spread globally that work similarly in how they benefit the species as a whole as a sort of upgrade. I don't know whether it'll be more efficient/ideal to have it function as an implanted system that check & regulates constantly, or as something that is performed every so many years (you'd get your first patch in the womb).
It probably seems like sci-fi now, some early concepts in this space will be possible within 30 years.
I'm a little bit concerned about the improvement patches. We should get rid of devastating diseases, but we should also be really careful about how we decide to change the species. We'll be deciding that for future generations.
I think this is only true for genetic modifications to germ cells or embryos, which is why the recent embryonic gene editing story [1] is so controversial.
As far as I know, gene editing in somatic cells only affects the individual and not their offspring, unless that change somehow propagated itself to the genetic material in the gametes.
(Disclaimer: this is in my field of interest but way outside of my field of expertise)
It's a way's off, but I'm looking forward to the day genetic engineering lets people see colors they aren't able to see today. Those and other sensory enhancements could revolutionize art, culture, and society.
I'm not sure if gene editing is really the quickest way to see more colors-- I would assume that a Brain Computer Interface solution would happen sooner.
I think "around the corner" is a little optimistic, but I totally get you and I think with more computer scientists joining the research in this area we will see tremendous advancement in the near future.
Although both of these have been around for a few years, we are yet to see a general adaptation of these. (might be due to inconsistent browser support).
Now with the rise of VR, 3d Printing, powerful GPUs these two technologies are bound to open new avenues of an immersive browsing experience. I imagine that in next few years we would have 1- Webs stores, that show a virtual 3d shopping mall, 2- 3-d virtual try out of garments, 3- VR coaching of physical activities like a- Playing Tennis, b- Judo, c-Taecondo, d- Dance
I've been interested in learning WebGL but have been hesitant to take the time to learn it because it didn't seem like a skill companies would hire for. Do you think it will become a marketable skill in the future?
WebGL is very similar to OpenGL ES. In general, having basic knowledge of OpenGL and the rendering pipeline is always a good thing. But that alone won't provide a lot of value to a company.
Start out with some tutorials and learn the basics, but keep in mind, that there are frameworks like three.js [1], which abstract away all the nitty-gritty details, like setting up a render context, initialize texture buffers or load 3d models from known formats. By using a framework you will save a lot of time and you can concentrate on the fun stuff.
But even three.js can be kind of low-level, because depending on what you want to achieve, you still need more 'boilerplate'. If you want to write a game, you need stuff like a ui framework within the render context, a physics engine, particle generators, pathfinding etc etc. If you need this, maybe take a look at Unity [2] or Unreal Engine [3], which provide said extensions and alot more. Those engines provide ways to build applications for different targets like direct3d, opengl or webgl, so you basically can cover browsers, pc's and mobile platforms with the same codebase which is truly awesome. But be prepared for a step learning curve (but it's fun!).
When you start working on stuff like this, you realize, that those frameworks and game engines are just tools. In the end, you need to combine those tools with some kind of domain knowledge, like art, game design, architecture, interface design or something similar to increase chances finding a job in such a sector.
It's alot to ask for, but you need to start somewhere. And if it doesn't work out, you maybe find a new cool hobby and gain programming and design experience on the way.
I'm looking for a company to successfully implement what I call on-behalf AI. AI legally allowed to take actions on behalf of someone, in a large number of ways in relation to daily life. This may be 5, 10, or 20 years out yet, hard to say. It'll be very hard to pull off, and whichever company does it first at a high function + comprehensive level will be another Airbnb or Uber, as the legal/regulatory hurdles will be similarly challenging, and exactly as with those cases it'll be ideal to move first and apologize later (which will cause the typical uproar among people that find that approach appalling). This type of AI is where you get deep into real time savings for consumers, by significantly reducing dozens of mundane & routine tasks (most of which repeat from person to person and can be modeled very accurately accordingly).
Because I occasionally don't respect the restraints that tend to exist in democratic societies when it comes to entrenched regulation & interests vs innovation (or really anything new or different), which frequently dramatically slow down progress (see: zoning law abuse, or the FDA's countless abuses or otherwise slow & meandering approach (what I call backwards), or the present US healthcare system (vast entrenched interests, fear of change, etc)). That is, it's my opinion that that restraint is what always must be pushed back against to generate any positive change in any culture or society at any point in history. Failure to push in this regard, guarantees stagnation.
The vast majority - in my opinion - overwhelmingly tend toward being either aggressively anti-change, or they're at best very cautious about it. That has been demonstrated non-stop throughout history with practically every step forward in technology for example. It may even be a beneficial evolutionary attribute for the survival of humanity. I don't belong to the dislikes change group, my personality type is to push. That's the honest answer.
Am I biased because of my own world-view or personality type? No doubt to one extent or another. I'm not advocating for chaos or anarchy though; rather, I'm advocating for constantly testing assumed or entrenched notions/boundaries, as a means to find out if there is new progress to be found there. My opinion is that there's almost always progress to be found in challenging such, with some areas blatantly worth focusing on more than others (due to favorable upside vs downside risk ratio). If you ask permission first every time you attempt to find progress at the edge of what a society presently finds comfortable, you're not likely to get very far.
Amazing VR gaming experiences have already arrived.
The last two months have seen a flood of incredible VR gaming experiences for the Oculus Rift. I highly suggest you give the current generation of consumer VR another try:
* The Unspoken - You're a wizard, with magic, and you use your hands in different combinations with the Oculus Touch controllers to battle other mages, including real people via multiplayer gaming: https://www.youtube.com/watch?v=UVD1O853aSw
* Star Trek Bridge Command - You are literally on the bridge of a Star Trek spaceship.
* Mages Tale - VR RPG from the creator of the classic Bards Tale, makes me feel like I'm embedded into a classic AD&D dungeon crawl.
Anyway, that's just a small selection! I picked up an Oculus Rift + Touch Controllers the last two months and have been blown away at the developments lately.
Agreed. Owned a Vive since last October and still have a "wow!" moment at least once a week.
And that's even without the continual joy of demoing to people who've never tried proper VR. It's genuinely rewarding every time you pop a headset on someone new.
The second coming of WebTV. I am sick of small devices, I want a huge 100" display managed by a touch remote where I can play and work, watch videos, movies, track my cryptos, even code my own apps from it, all from the comfort of a fat-ass recliner.
I am glad you have heard it now! I am typing this on a T420s because I refuse to use anything but the old seven row keyboard and hope I can move to the Retro in October :)
RISC-V We should see the first hardware running a real Linux distro in 2018 and it should proliferate from there. RV32 should also start showing up in micro controllers as well.
Still need an open GPU, but I think a bunch of risc-v cores with vector extensions running LLVMpipe would be reasonable for running a Wayland desktop.
Single row keyboard that has minimal finger movement. It was to be delivered March 2015 or so, but it has yet to be released. They have testers who rave about it and it looks incredible, but it is perpetually around the corner.
Originally designed as an ultra-portable phone keyboard, those who have used it tend to use it for all their machines. It has jump slots to quickly switch from device to device.
Wow, that is brilliant! But it's not on the market, you say? Well, it looks like something I can draft and print. I won't be competing with them, that would be rude, but I must have this for myself.
They should remove the unresponsive Buy button, that just looks bad.
I don't know if this is the solution, but I agree improvements in human-computer-interaction is one of the big things holding back tech for a lot of problems. Obviously a non-invasive brain interface would be the holy grail.
Hi ! Very strange juxtaposition of your examples of "irrational" or "stupidity without established merit".
Subdermal magnets aside, BASE comes in many forms. You may think of it as guys in wing suits zooming past the ground and 5' clearance and killing themselves in droves - and you could be forgiven for this perspective, as it's the one most focused on by media / movies / etc.
It's a sport, performed on the overwhelming whole by highly trained, cogniscent people, in a legal context, in situations well within tolerance, and that's that. Instead of jumping from a plane, it's a fixed point.
That makes it sound like it'd be a two-way street - like an Ono-Sendai from Neuromancer, and not just an input device. To offer an analogy, are Alexa, Siri, Google Assistant, or Cortana "hooking your voice directly to the internet?" In a sense, yes, but that isn't going to take over your voice...
Not available? I didn't go through the full check-out process; but what happens when you go to buy it? I don't see any reference that it's unavailable.
Yes, you can pre-order it. I have. They will charge you right away and then you will probably wait months, maybe years, until they are ready to release it.
Given how amazing it seems, it was worth it to me to take this gamble for $100.
Unlike a kickstarter, they do offer a full refund if you ever get tired of waiting. I went through that process once when I bought an iPad Pro with the keyboard case; this was before people were testing the Textblade. They did promptly refund my money. I then decided I really did not like the Apple keyboard case, returned it to Apple, and re-pre-ordered the Textblade. That was over a year ago.
The really annoying thing is that they do not do any push notifications, such as emailing status updates. To get their randomly timed updates, one has to be on their forums.
When I load it in Firefox for Android, that link pops up with an alert that reads "Please view with Chrome, Firefox, or Safari," and then just presents a blank white page. Using "Request desktop site" seems to fool it.
I'm one of the testers, and yes it is awesome. They severely underestimated the development time required for it, but considering where they're at, I'd expect it to be released first quarter of 2018.
I saw the videos and it looks really innovative and great.
Although, my concern is that it will not catch on, because people don't usually like to learn "two" keyboards, even though Textblade is essentially a QWERTY keyboard.
The same happened with Dvorak and other variations of the keyboard. While it's easier to type on Dvorak (my own experience), you're going to have to type in QWERTY on other computers. Sometimes you'll get confused about where keys are.
This is also true when switching from Mac to PC and vice-versa. I spend an hour on a PC and when I switch back to Mac, I automatically press Fn instead of CMD.
- an aggregation of everything I have to know to run a porcelain store in my country (taxes, suppliers, how to find staff or better yet: showing candidates directly, best location in my town, etc.)
- Fuzzy stuff like: the pic of that tree I took when I was on hollidays in XY a few years ago; or the note I took a few days ago about that band with some greek name
- a ready to paste, non-ancient js-script for XY
- a cafe where nobody cares about how long I sit with my laptop with a not too modern ambiente
Honestly, it may not be at the level you are describing here now, but I have been overwhelmed by the ability I've had to find small figments of memories with Google search. For example, I had a faint memory of a movie I watched as 4 year old, and could only remember a few generic nouns describing it, and after a few minutes of searching I was able to pinpoint. This wasn't possible years ago, either because the search engine itself wasn't ready, or that the information simply wasn't on the web. Now both of those are true, and only becoming more so, so they are improving in tandem.
I'm pretty confident I can find something on the web by only knowing a few keys words.
"Internet has become a wasteland of unfiltered data. […] I hunt for the date of the Battle of Trafalgar. Hundreds of files show up, and it takes 15 minutes to unravel them"
The 10 minute wait is only ok if the result is really really good. If I use google I do maybe 15 searches to crack a mildly hard nut, if each search would take more than 10 seconds I'd be too annoyed.
I would pay, but again it would depend on the quality and I would probably use it just once a week. If I could do it myself with google in 20min, I would not pay more than 2 bucks. If you can do the china-shop thing, I might pay 15 or even 40 if I knew it was good.
When I search for myself I get a feeling for whether there is more information out there or not. I'd have to trust the service to be good enough not to miss much.
VR will dominate entertainment, AR will dominate industry. Although I can see AR taking up some of the entertainment space as well (Pokemon Go for example).
I really want a VR Hollywood film experience. One I can watch over and over and notice different details each time.
Fully & Quickly Reusable Rockets (refuel & refly, like jets)
Obviously both SpaceX and Blue Origin are the leaders here, but once they do it the other majors will either have to build the same thing or drop out of the industry.
There are so many things about space that we just assume are true, but are actually only true because access to orbit has always been so expensive. If we can get the cost to reach orbit down to a multiple of the fuel cost, then so many more things are possible.
We finally get large satellite constellations for low-latency Internet all over Earth. We get space stations and O'Neil cylinders. Moon bases and fuel depots on Titan.
At the same time, firms like Made In Space are working on in-space construction so you can build radio telescopes in space with arbitrarily large dishes (10 km, maybe?). Eventually we build mirrors that size too.
Basically just those two things are the only barriers between us and a solar-system-wide civilization like in The Expanse.
Arguably the third thing is ISRU (In-Space Resource Utilization), aka, mining asteroids for fuel and materials. But that's not immediately necessary and doesn't count as "around the corner".
My understanding is that "ISRU" normally stands for "In Situ Resource Utilization", which can include mining asteroids (if your locale is 'asteroid belt'), but also includes using fuel that can be generated from resources found on a planet or moon.
361 comments
[ 2.7 ms ] story [ 362 ms ] threadFalse, even if there is graph in its name it's not restricted to graph, and that what is great about it compared to things like RDF and SPARQL. Backend data can be stored in key/value store, document, files, RDBMS or whatever. And you will still be able to make it work. AFAIK you write a "translation" layer that interprets a pseudo-JSON file into your data.
AFAIK GraphQL is not good at querying recursive datastructure, it's better at "neighborhood" kind of query, so you can traverse Foreign Keys, but not "indefinitely".
> graphql allowed you to run complex operations in the backend without fetching each individual node on the client.
Yes.
> I clearly missed something?
IDK. For me, GraphQL basically it's an RPC interface particularly suited at "reading" data.
> And if you can also elaborate on why SPARQL and RDF were a major failure, and how GraphQL is different/better?
GraphQL is not tied to particular data layout. I don't know much of SPARQL and RDF actually and don't know why they failed. I am just guessing.
That said, GraphQL it "just" another query language, it's "just" another DSL targeted at querying datastructures. As something that was thought a long time, focused to solve a particular issue.
That isn't true. You can request data in any shape you want and could theoretically traverse through child nodes indefinitely.
We have many queries which go 5-6 levels deep.
If there were GraphQL for Spotify's API and you wanted an artist's discography, you don't have to make multiple calls to endpoints and work through huge objects where 90-95% of the data is not needed.
For the front-end, it's a no-brainer. I've read that it is a bit more involved on the server-side but Apollo seems to be making great tooling for it.
Forgive me if this sounds hyperbolic, but unless you have unusual or strict requirements, building a new app in 2017 REST-first is most likely a terrible mistake.
Let me clear up some misconceptions I see in almost every HN comment thread on GraphQL:
1. GraphQL isn't more suited to Graph databases. Your data sources can be a mix of relational DB, NoSQL, key value, a REST API, or anything else.
2. n+1 has always been a solved problem in GraphQL thanks to DataLoader[1], a query batching utility which coalesces calls to your data sources from different parts of your app, specifically to avoid n+1.
3. It's unquestionably production-ready, battle-tested, has a real spec and official reference implementation, and it's probably the safest bet you can make at this moment in an industry as fickle as this.
With GraphQL you simply write your schema, define types and relationships, and you’re then able to request data in almost any shape you wish, with very little extra work. This is invaluable during development.
If you have a list of recent comments with author names, and later decide to show an avatar alongside the name, you don’t need to write any extra code on the server. You add an extra line to your query (or component’s fragment) on the client.
The same goes for any field, any relationship, no matter how complex the resulting shape. If you wanted a comment author’s follower’s comments’ likeCounts, you still don’t need to write another line of server code.
This makes it stupidly simple to rapidly prototype new features, try out new layouts, and means you can share a single API endpoint between mobile apps and desktop site without sending useless data to one or both.
There have been many occasions when we simply wouldn't have had the time to implement a feature correctly with REST, particularly when we might not even know what data we'll want until we begin developing the feature and get a feel for how it works.
It doesn't just save server dev time either. On the client side there are libraries like Apollo[2] and Relay which take care of fetching data, caching, normalization, and you should almost certainly use one (I recommend Apollo) unless you have a good reason not to. Writing fetch calls and managing your store manually is just going to be a huge waste of time.
And the spec is more than queries and mutations. It's subscriptions, live queries, and more [3]. Real-time data is a first-class citizen of GraphQL, and the two most popular front-end libraries have official implementations of subscriptions (with live queries in progress).
GraphQL is elegant, has a well-designed official spec, great DX and just plain makes sense. But it's really something you need to try out for yourself (preferably on a real project) to see just how great it is.
If you’re planning to build something new with REST, seriously, reconsider. There's a slightly higher upfront cost to using GraphQL (particularly if you're new to it), but once you settle into it you'll be glad you did.
Useful tools and resources:
- GraphiQL[4] - an incredibly useful tool for running queries on your GraphQL API
- Graph.cool[5] - BaaS for quickly prototyping a GraphQL API
- Apollo Launchpad[6] - Try out GraphQL server code in your browser
[1] https://github.com/facebook/dataloader
[2] https://github.com/apollographql/apollo-client
[3] https://dev-blog.apollodata.com/new-features-in-graphql-batc...
[4] vladimir-y ↗ OData appeared before the GraphQL with the similar ideas. scottmf ↗ Cool, which ones? I think the concept of requesting a response shape was inevitable. It's one of those "obvious in hindsight" ideas. vladimir-y ↗ > Cool, which ones?
You see many "GraphQL is similar to x, and x failed" comments on here, but I'm not sure x ever came close to where GraphQL is at the moment.
Good ideas fail sometimes. E4X failed, but JSX and its variations are game-changers.
Forming data requests on the client/consumer side.
> JSX and its variations are game-changers.
don't be so sure
WebAssembly helps create more space between the kind of languages that developers want to use, and any particular GUI output, such as HTML. In a different thread, I just wrote about what is wrong with HTML:
https://news.ycombinator.com/item?id=14926845
If by "tech" you don't mean computers/software, then CRSPR is clearly going to be a huge thing going forward.
As someone not familiar with the area, could you elaborate on some examples of what you think the economic potential is? To an outsider like me, being able to overlay virtual objects on a scene seems like a nice curiosity, not particularly an engine for commerce.
Edit: specifically, I was curious about areas where AR offers a (financially) meaningful advantage over traditional HUDs (for example).
The Oculus is already less than an order of magnitude away from competing with regular LCD panels. Google glass and maybe that magic leap thing give us hints that it will eventually happen for mobile.
No more displays, now that's something I would pay for.
If Siri advanced enough, I would love to leave my phone at home and bring only my Apple watch.
Beyond that, with AR you can make certain classes of digital goods and marketing "exist" in the real world. The margins for AR merchandise will be significantly higher than real physical merch, although I'm guessing the prices will be a lot lower. Selling virtual items that you can see in real life opens up a lot of cool and fantastic options as well as more mundane stuff or a mix between the two.
If AR becomes ubiquitous it gives big tech companies a lot of data that no one currently has. Specifically you would have a detailed, 3D map\point cloud of most of the real world at various points in time. You could build an awesome developer platform on this, use it for VR tourism, simulation, license it to film or games producers, etc.
There are already many use cases for industry and enterprise customers when it comes to training and data overlays for workers.
A boring, but lucrative use case happens when resolution and tracking get good enough and assuming the form factor gets to eye glass size. AR could potentially replaces all conventional screens and be more comfortable to use than smartphones.
Note I'm using AR more broadly and including Google Glass\HUD style stuff, ARKit\Vuforia SmartPhone AR, and Hololens or Magic Leap style MR or "holograms".
Use cases in industry abound. On a trip to the doctor's office, your physician can overlay your medical file and get pertinent information about you. If you are a politician holding a fundraising dinner, AR + facial recognition will supply you with the biographical information, social media profiles, voting records, donation history, etc. of the people in the room allow you to schmooze ever so effortlessly and ever more efficiently. AR tailor made for athletes could do a number of physiological measurements like heart rate, VO2, etc. (with wearables or implanted sensors) that could combine to produce some sort of stamina bar, allowing for more effective substitution patterns. An activity like paintball can will feel closer to an actual military engagement or a video game if a minimap that includes your teammate's location will be in the corner of your vision.
The Terminator franchise did a great job of showing it's utility by giving Arnold "Terminator vision" in shots from his POV. Video games also make extensive use of OSD. A 1st person shooter's OSD really shows the advantages of AR.
Advances in computer vision and networked IoT devices will be a multiplier for AR's utility. Imagine an app that overlays your vision with the mathematical patterns of nature: illustrating the Fibonacci sequence in the leaves, petals and seeds of plants or in the way tree branches form and split. It could highlight all of the phenomenon that exhibit golden ratios. It could show the equations of motion for objects moving or spinning in your field of view or detail the biomechanics of the elegant dancers of the Bolshoi ballet. In a way, you get to experience what the mind of a Leonardo Da Vince or John Nash might be like, like you are able to get an insight into the mind of a genius.
The ability to "layer contextual information over objects in your field of vision".. I see, that is the crux of it, to further integrate the "real world", the sensory experience of a person, with the global web of information and computing. Great examples you gave of industries that could utilize this, in healthcare, political/social/interpersonal sphere, athletic or intellectual/educational/artistic uses.
It conjures a vision of near future where people enhanced with AR - or maybe "augmented senses" - would have distinct advantages over people without access to such layers of contextual information.
https://webkit.org/blog/7380/next-generation-3d-graphics-on-...
So this means that we'll soon have web ads mining bitcoins using our GPUs, right? :)
Can't tell if they are "honest" people who closed shop when they realized how bad their idea was, or if they just threw smoke and went dark.
While both of those APIs offer nearly full programmability, they do so with an API structure that retains a ton of legacy cruft from the days of fixed-function pipelines. Neither are low-level graphics APIs; many assumptions are made. This makes doing general purpose compute tasks on WebGL extremely hacky at best.
Think of WebGPU as Vulkan or Metal for the web. Lower level with much more work, but ultimately cleaner with superior performance and capability.
https://github.com/ethereum/research/blob/master/casper4/pap...
It aims for more economically secure public blockchains with shorter confirmation times and less cost (electricity/hardware/inflation). I haven't delved deep enough into it to be fully convinced, but what I've gotten through so far is promising. AFAIK its the only proof of stake algorithm thats been formally documented.
PS: So you don't support Ethereum Classic anymore?
From my understanding, the thing I like about payment channels is that the capacity of the payment channel depends on how much of the cryptocurrency is deposited/locked away under it.
So with everyone competing for a payment channel toll, they have taken large amounts of crypto off the market, constricting the supply, while distributing the marketing out for their own use case, some of which will be successful at increasing the demand. Any limited supply commodity performs the same under these circumstances, up, and that is exciting because the capacity can also scale for the new attention, while the "centralized" payment channels stay optional ways to transact on the network at all.
Obviously I insist they still need to be as thin as they are now. That is much much more important than batteries.
I get about 20 - 40 hours between charges, depending on whether or not I need to use Google Maps that day, and I often stay in airplane mode when I am working.
Phones and watches are either two entirely separate things, or indeed, once miniaturization and battery tech improve sufficiently, the watch, being much more convenient to carry around and being instantly to-hand, glanceable etc, will replace the phone for everything except large-format display, just as with pocket-watches.
http://www.gizchina.com/2017/08/02/measures-9mm-20-day-batte...
https://developer.apple.com/documentation/arkit/building_a_b...
I don't know if its around the corner, but considering the human genome was completed circa 2003, I'm pretty enthusiastic that it isn't too far away.
It probably seems like sci-fi now, some early concepts in this space will be possible within 30 years.
Isn't the premise that they can decide for themselves?
Now imagine parents deciding this for their future kids, grandkids, etc.
I think this is only true for genetic modifications to germ cells or embryos, which is why the recent embryonic gene editing story [1] is so controversial.
As far as I know, gene editing in somatic cells only affects the individual and not their offspring, unless that change somehow propagated itself to the genetic material in the gametes.
(Disclaimer: this is in my field of interest but way outside of my field of expertise)
[1] https://www.scientificamerican.com/article/embryo-gene-editi...
Although both of these have been around for a few years, we are yet to see a general adaptation of these. (might be due to inconsistent browser support).
Now with the rise of VR, 3d Printing, powerful GPUs these two technologies are bound to open new avenues of an immersive browsing experience. I imagine that in next few years we would have 1- Webs stores, that show a virtual 3d shopping mall, 2- 3-d virtual try out of garments, 3- VR coaching of physical activities like a- Playing Tennis, b- Judo, c-Taecondo, d- Dance
Start out with some tutorials and learn the basics, but keep in mind, that there are frameworks like three.js [1], which abstract away all the nitty-gritty details, like setting up a render context, initialize texture buffers or load 3d models from known formats. By using a framework you will save a lot of time and you can concentrate on the fun stuff.
But even three.js can be kind of low-level, because depending on what you want to achieve, you still need more 'boilerplate'. If you want to write a game, you need stuff like a ui framework within the render context, a physics engine, particle generators, pathfinding etc etc. If you need this, maybe take a look at Unity [2] or Unreal Engine [3], which provide said extensions and alot more. Those engines provide ways to build applications for different targets like direct3d, opengl or webgl, so you basically can cover browsers, pc's and mobile platforms with the same codebase which is truly awesome. But be prepared for a step learning curve (but it's fun!).
When you start working on stuff like this, you realize, that those frameworks and game engines are just tools. In the end, you need to combine those tools with some kind of domain knowledge, like art, game design, architecture, interface design or something similar to increase chances finding a job in such a sector.
It's alot to ask for, but you need to start somewhere. And if it doesn't work out, you maybe find a new cool hobby and gain programming and design experience on the way.
[1] https://threejs.org/ [2] https://unity3d.com [3] https://www.unrealengine.com
Things mature at different rates.
- hardware acceleration is everywhere, we all have an SGI Onyx in our pocket
- good positional tracking give us a natural 3D input technique
Without those, the tech doesn't work.
- always connected
- population increase
- boredom increase
- social networking (ie. highly targeted ads)
- mobile payment
- global map / elevation / city map / traffic data free online
The vast majority - in my opinion - overwhelmingly tend toward being either aggressively anti-change, or they're at best very cautious about it. That has been demonstrated non-stop throughout history with practically every step forward in technology for example. It may even be a beneficial evolutionary attribute for the survival of humanity. I don't belong to the dislikes change group, my personality type is to push. That's the honest answer.
Am I biased because of my own world-view or personality type? No doubt to one extent or another. I'm not advocating for chaos or anarchy though; rather, I'm advocating for constantly testing assumed or entrenched notions/boundaries, as a means to find out if there is new progress to be found there. My opinion is that there's almost always progress to be found in challenging such, with some areas blatantly worth focusing on more than others (due to favorable upside vs downside risk ratio). If you ask permission first every time you attempt to find progress at the edge of what a society presently finds comfortable, you're not likely to get very far.
https://en.wikipedia.org/wiki/Wikipedia:Chesterton's_fence
The last two months have seen a flood of incredible VR gaming experiences for the Oculus Rift. I highly suggest you give the current generation of consumer VR another try:
* Lone Echo - Amazing space story line, one of the highest ranked PC games on Metacritic right now: http://www.metacritic.com/game/pc/lone-echo
* Echo Arena - Basically the Enders Game zero-g arena in space, multiplayer. Really addictive: http://www.metacritic.com/game/pc/echo-arena
* The Unspoken - You're a wizard, with magic, and you use your hands in different combinations with the Oculus Touch controllers to battle other mages, including real people via multiplayer gaming: https://www.youtube.com/watch?v=UVD1O853aSw
* Robo Recall - Battle robots, grab them with your hands, tear them apart, grab bullets from the air. Epic: https://www.youtube.com/watch?v=MIK4D0kVlIs
* Star Trek Bridge Command - You are literally on the bridge of a Star Trek spaceship.
* Mages Tale - VR RPG from the creator of the classic Bards Tale, makes me feel like I'm embedded into a classic AD&D dungeon crawl.
Anyway, that's just a small selection! I picked up an Oculus Rift + Touch Controllers the last two months and have been blown away at the developments lately.
And that's even without the continual joy of demoing to people who've never tried proper VR. It's genuinely rewarding every time you pop a headset on someone new.
I am glad you have heard it now! I am typing this on a T420s because I refuse to use anything but the old seven row keyboard and hope I can move to the Retro in October :)
Still need an open GPU, but I think a bunch of risc-v cores with vector extensions running LLVMpipe would be reasonable for running a Wayland desktop.
Single row keyboard that has minimal finger movement. It was to be delivered March 2015 or so, but it has yet to be released. They have testers who rave about it and it looks incredible, but it is perpetually around the corner.
Originally designed as an ultra-portable phone keyboard, those who have used it tend to use it for all their machines. It has jump slots to quickly switch from device to device.
They should remove the unresponsive Buy button, that just looks bad.
They keep tweaking and iterating and keep saying another couple of months.
Subdermal magnets aside, BASE comes in many forms. You may think of it as guys in wing suits zooming past the ground and 5' clearance and killing themselves in droves - and you could be forgiven for this perspective, as it's the one most focused on by media / movies / etc.
It's a sport, performed on the overwhelming whole by highly trained, cogniscent people, in a legal context, in situations well within tolerance, and that's that. Instead of jumping from a plane, it's a fixed point.
Given how amazing it seems, it was worth it to me to take this gamble for $100.
Unlike a kickstarter, they do offer a full refund if you ever get tired of waiting. I went through that process once when I bought an iPad Pro with the keyboard case; this was before people were testing the Textblade. They did promptly refund my money. I then decided I really did not like the Apple keyboard case, returned it to Apple, and re-pre-ordered the Textblade. That was over a year ago.
The really annoying thing is that they do not do any push notifications, such as emailing status updates. To get their randomly timed updates, one has to be on their forums.
Couldn't be happier.
Although, my concern is that it will not catch on, because people don't usually like to learn "two" keyboards, even though Textblade is essentially a QWERTY keyboard.
The same happened with Dvorak and other variations of the keyboard. While it's easier to type on Dvorak (my own experience), you're going to have to type in QWERTY on other computers. Sometimes you'll get confused about where keys are.
This is also true when switching from Mac to PC and vice-versa. I spend an hour on a PC and when I switch back to Mac, I automatically press Fn instead of CMD.
this product is a flop. why people even know about it?!
wake me up when I can use it as a real phone keyboard. like the priv already does.
Find me:
- an aggregation of everything I have to know to run a porcelain store in my country (taxes, suppliers, how to find staff or better yet: showing candidates directly, best location in my town, etc.)
- Fuzzy stuff like: the pic of that tree I took when I was on hollidays in XY a few years ago; or the note I took a few days ago about that band with some greek name
- a ready to paste, non-ancient js-script for XY
- a cafe where nobody cares about how long I sit with my laptop with a not too modern ambiente
- the lesser known types optical illusions
I'm pretty confident I can find something on the web by only knowing a few keys words.
"Internet has become a wasteland of unfiltered data. […] I hunt for the date of the Battle of Trafalgar. Hundreds of files show up, and it takes 15 minutes to unravel them"
from 1995 http://www.newsweek.com/clifford-stoll-why-web-wont-be-nirva...
today google shows it right away: https://encrypted.google.com/search?hl=en&q=date%20of%20the%... (powered by the now slightly more semantic wikipedia I think)
The 10 minute wait is only ok if the result is really really good. If I use google I do maybe 15 searches to crack a mildly hard nut, if each search would take more than 10 seconds I'd be too annoyed.
I would pay, but again it would depend on the quality and I would probably use it just once a week. If I could do it myself with google in 20min, I would not pay more than 2 bucks. If you can do the china-shop thing, I might pay 15 or even 40 if I knew it was good.
When I search for myself I get a feeling for whether there is more information out there or not. I'd have to trust the service to be good enough not to miss much.
VR will be cool later, when Oculus and others get more perf and fix more current problems.
I really want a VR Hollywood film experience. One I can watch over and over and notice different details each time.
Obviously both SpaceX and Blue Origin are the leaders here, but once they do it the other majors will either have to build the same thing or drop out of the industry.
There are so many things about space that we just assume are true, but are actually only true because access to orbit has always been so expensive. If we can get the cost to reach orbit down to a multiple of the fuel cost, then so many more things are possible.
We finally get large satellite constellations for low-latency Internet all over Earth. We get space stations and O'Neil cylinders. Moon bases and fuel depots on Titan.
At the same time, firms like Made In Space are working on in-space construction so you can build radio telescopes in space with arbitrarily large dishes (10 km, maybe?). Eventually we build mirrors that size too.
Basically just those two things are the only barriers between us and a solar-system-wide civilization like in The Expanse.