skysight-inc/HackerNews huggingface dataset:
Ask HN: Why web frameworks are becoming so complex?
A little about me: I am web-developer with almost 10 years of experience. I've spent lots of time in my life learning about design patterns, frameworks, and going through hundreds of programming blogs. I work mostly with quite big business apps (crm's, intranets) but also big frontend websites.

Since I started working as developer I can see that every year majority of leading frameworks (at least in PHP, Javascript, Ruby...) for web applications are becoming more and more complex. Instead of writing code in programing language we move into xml/yaml direction and hundreds of weird config files. Each frameworks use different syntax for config, often different templating languages, few layers of abstraction with a lot of magic behind the scene, Dependency Injections, ORM'S, CRUD generators with supposed to make our life easier actually are painful to use...

Even small website often requires hundreds of megabytes of dependencies. Sometimes one application can have 2 different build systems e.g. (ant, grunt) and few dependency managers...

Micro/nano services trend looks optimistic, but I am not sure if it's not double-edged sword, and instead of using complex frameworks developer will be forced to use complex communication system to orchestrate communication between them.

In few years instead of writing code are we going to write configs files?
> Rust has been around for all 2-3 years now? 1.0 for what? Months?

Rust as a project has been around for eight years in total, about twoish in a similar fashion to what it is today. It's been 1.0 for three months.
If we expand "image" to include a 3D relief map of the brush strokes, then I might agree.

But there is still forensic analysis, spectroscopy, etc. that can only be done with the original.
> So why are the basic problems not getting fixed?﻿

Because it's a protocol, not a service. There is nobody in charge of IRC or its evolution, there is no single entity in charge of dealing with spam, so as he said it's every network's job to do it. There are of course some things that don't need scripting or a bot, such as history, for which we have a replacement protocol: XMPP. But short of having a single company running things, all the niceties of centralization can't be implemented .
In practice it often does, because introducing brand new patterns alongside existing ones may be frowned upon in a large project.

Consider a codebase that uses the "comment indicates ownership transfer" pattern everywhere. Would it improve the code quality if one developer suddenly introduced unique_ptr, std::move and rvalue references in just one place in the API, when every other call would still be using the old style?

To my taste, the mental overhead of having two different ownership patterns would outweigh the advantage of the new compiler checks (which in this case would be mostly theoretical, since the devs working on this project would presumably feel at home with the old pattern).
> I try to be nice but people will take advantage even if they don't think they are.

> They will say that they are getting the work done so those 5 hour days are justified. I don't always agree and as a working manager I'm working 10-12 hour days cleaning up the rest and need more help and that attitude doesn't help me.

...which is the point you bring up, which clearly demonstrates the 5 hour days not working for you. When I say "you", it's the collective: the whole team. Not individuals on the team.
I might quibble on the definition of "technology".

For instance, yes, a gun is a tool designed to kill a thing. Some guns are specifically designed to kill people.

But the technology of gunpowder propelled projectiles has peaceful applications. For instance, one of the early uses was to propel a rope to distressed boats and ships so that passengers could be rescued.

Likewise with the hypothetical device you have described. Sure, sounds terrible. But what are the underlying technologies it is built upon? Unless you've tapped into some sort of fundamental evil force of the universe, there are probably some pretty awesome technologies involved, that would have peaceful, useful applications in another device that wasn't so awful.
Boy - you are way wrong. If you have printed materials like books then scanning gives you everything needed for reproduction. With paintings there are many more unique elements. Eg. Not all colors are covered by rgb. Even those covered may absorb and reflect light differently. So looking at the image with different lighting or from different angle may create unique impression. There is also texture that cannot be easily scanned.

We may get there with scanning and displaying technology someday but at the moment good copies are created by artists and not printed.
Have you seen a painting in person? They don't look like reproductions.
There is another subtext: the current government is on a privatization drive. Met Office is a prime candidate for being spun off, since it's already trading. Making them lose one of their biggest customers will force them to find new ones (readying MO for full privatization) or failing that, put their finances in an unsustainable position (readying MO for full privatization or even shutdown).

The BBC has many ongoing fights with the current government, so this was probably a relatively easy wish to grant in order to build back some favour. Among other things, it could end up reducing expenses for them, so it's a win-win as far as the BBC is concerned.
Python developer here. Here's my rant.

I've been using OrientDB (one of the leading Graph databases) for the last few months; it's been a horrible experience to get it working with Python, as the official Python OrientDB driver is essentially a very thin wrapper around the binary protocol.

Using Gremlin would actually be nice, and save me a lot of nasty queries, but it seems like there is no python ecosystem for it.
The presentation mentions "Gremlin-Python". A quick Google search brings up these results:

1. "Bulbs" (http://bulbflow.com/download/) - it's a dead project, last commit being 10 months ago. Look at https://github.com/espeed/bulbs

2. "Gremlin-Python" - https://github.com/pokitdok/gremlin-python . Dead project (last commit 6 months ago), and requires one to install Jython.

I would love to know if I've missed something - did anyone get Python to nicely work with Gremlin?
Never take "realtime" seriously, unless it's prefaced with either "soft" or "hard".
Does anyone have access to this paper [1]. The reporting around this paper, and the conclusions reached both by the authors and the media sound ridiculous considering the tiny sample group studied: 32 holocaust surviving parents, 22 children of those parents, and 8 parents / 9 children for control. Variations in such tiny sample groups have to be truly dramatic to be meaningful in any way, and even with dramatic variations you can't possibly make such bold statements as: "This is the first demonstration of transmission of pre-conception parental trauma to child associated with epigenetic changes in both generations."

Now I am not saying that the underlying concept isn't possible. But I feel like this paper isn't properly questioned by the media or the scientific community, because to do so will some how be perceived as antisemitism. It feels wrong to me, I feel like the author is using the horrific events of the Holocaust to promote her scientific career, and that's wrong.

[1] http://www.biologicalpsychiatryjournal.com/article/S0006-322...
there needs to be a FAQ/wiki/sticky about how to circumvent paywall, or just block these submissions

[EDIT] (or rewrite URL for referer
I'm using the exact same combination for my website (http://r3bl.me). GitHub + Jekyll + Namecheap's domain.

Actually, the reason why I created a website was that there was already a designer, a photographer, an actor and an alleged war criminal who I share the exact same name with. Of course I have to do my best to get to top Google results, otherwise, my potential employer could stumble upon a term "war criminal" and think that was me.

Off-topic: Am I the only one who thinks that managing a Jekyll-powered website is _way_ more easy than Wordpress?
It would help if video content on the Internet were not centralized and commodified at huge impersonal sites like YouTube. There definitely ought to be such communities on the Internet. It's easier than ever to make film and it's easier than ever to connect with others and share.
Saas Pricing: Customer Value
It's important to be able to construct specific meanings. You don't need terms to do that, and you run a major communication risk by relying on terms that you aren't willing to define. And if you define them first, then you can use them however you like.
I also wish C++ had a large Standard library. Including <vector>, just works, you don't even have to think about it. Now imagine doing the same for <sound> or <window>.
Cutest Baby Onesie Party Favors for Baby Shower
Improve your website for free with apps you can install in seconds
Next up, Privatisation of the Met Office then.

Shame as while the BBC websites presentation of the data is pretty poor the MET provide open data feeds (hard to see that continuing if they are privatised) of 3 hourly forecasts out to 5 days for 5000 locations that are considerably more accurate and detailed.

http://i.imgur.com/vuCklmn.png is their example usage of the data.
There seems to be confusion about the purpose of one-time authentication; the purpose is to protect against key leaks after the key has been used. For instance, suppose I want to SSH to my machine from an Internet cafe but am concerned the key will eventually found by someone after me.

SSH in fact already has support for one time passwords: skey. See http://www.openbsd.org/cgi-bin/man.cgi/OpenBSD-current/man1/...
still errors i will mail you :)
I was in the market for an editor on a new side-project a few days ago, ran across this and was going to use it until I took a look at the integration details.

I've been using TinyMCE for a while (bunch of projects) and had gotten pretty used to the editor replacing a <textarea> element, and submitting with forms. It doesn't look like Summernote takes this route?

Add div into body; this targeted element will later be rendered to summernote editing tool.

> Add div into body; this targeted element will later be rendered to summernote editing tool.

> <div id="summernote">Hello Summernote</div>

If this project needed to be ajax-y this would work fine, but I'm not capturing the form elements with JS, instead using traditional form submits, and I'm not seeing that this would work?

Looks great otherwise, love to see some good alternatives being developed.
Gotta love this:

1/Extremely alarmed by rumours BBC to drop UK Met Office in favour of foreign weather forecaster. Vital 90 year old strategic relationship.

2/Not only weather forecasting. Shipping forecast, extreme weather/crisis events/national defence. Madness if true. Govt must intervene

No, government doesn't have to intervene. Silly man, competition drives quality. We don't need a governmental lid on quality.
I believe bringing up Rust in a discussion like this is completely warranted. After all, both Rust and C++ try to achieve similar goals (C++ also has a goal of maintaining backward compatibility with decades worth of code, which Rust doesn't yet have). Rust might not be quite there yet, but I believe the future is either Rust (or other similar language) becoming "mainstream", or C++ changing radically (and offering a "compatibility mode", perhaps).
The met office is already a "trading fund" - which means they're required to run on a commercial basis.

http://www.metoffice.gov.uk/about-us/who/management

The BBC was not a huge amount of money for the met office. They have plenty of other customers. (Sky, ITV, Channel 4, are other media companies.)
Using Android Wear to Control Google Cardboard Unity VR
You Can't Walk in a Straight Line – And That's Great for VR
Hi, I'm the writer of this blog post. I love the simplicity and speed of Jekyll, but honestly I'm too lazy to use static site generators. WordPress is heavy and bloated, but it efficiently gets the job done for me. I'll add Jekyll to the list!
Are you planning to put out a Kindle version of this when it's done? I'd pay for it.
I didn't think of that.
Thanks for pointing that out.
> I'm (literally) having nightmares about a JS bug I won't be able to solve
> since it's so many moving parts

I am similar, writing the back end was easier ... front end not so much. I hated having JS bugs due to stupid typos and less than 100% code coverage in tests.

Switched to Typescript for the front end and things became much better. Doesn't have to be 'all or nothing' either, I still have some JS glue for interacting with some libraries and more dynamic bits, but generally everything is Typescript and feels much more solid.

FWIW the stack also heavily includes KnockoutJS, DataTables, Backbone's router & a smattering of JQuery plugins for this and that.
"ROM" is, these days, short for "ROM image"—the type of binary you'd typically write to a ROM that gets memory-mapped and jumped into, e.g. firmware, a BIOS, or a previous-generation console game unikernel.

"Fork", meanwhile, has simply transitioned from having a discrete to having a continuous meaning. All Github "code forks" of a project have the potential to become "organizational forks", and whether they do is mostly a question of to what degree the changes introduced in one "code fork" are incompatible with merging into the upstream. I would argue that this transition in meaning is necessary—when every piece of code is owned by some organization, "code forking" is "organizational forking"—but when there is no organization, it can happen that some random stranger's "code fork" becomes the de-facto accepted fork, just because it is being maintained while the upstream isn't.
I wouldn't recommend Jekyll for beginners either. I think you are right. Github pages require html knowledge.
It doesn't have to be. If you're willing to pay for the infrastructure and bandwidth no one is stopping you from hosting and streaming your own videos. What youtube and similar sites really centralize is not the content, but the distribution.
Nice quote too : If their only source of news is a three letter TV broadcast, they are morally deficient.
The idea behind this initially was to have 1 key available on say, a flash drive, as a last-resort option for remote logins. This way, even if the key is stolen, it can't be used.
Having more of the history of SSAO, and measuring some rendered images in the same way, would help this article..

Several corrections here:

1) Historically, SSAO was never intended solve wall corners. That was already being done with baked textures, in games like Doom and Quake. It was first used in CryEngine to show deep crevices in fabric folds, and plants. Objects that capture light.

2) The examples of 'ugly' artifacts are just that, incorrect implementations. There should be no halo or shadow around objects, which is caused by not implementing a smart-blur, which is required for SSAO.

3) Even in scenes containing walls, SSAO is often better because - other than baked lighting - the alternative was just straight Phong illumination, which gives essentially a straight line profile using the technique the author describes. Analyze corners for regular Phong and SSAO in the same way, and you'll find Phong is the worse of them.
For example, regarding the images where the author says "And sure enough, the darkening is way less prominent here than I think it is visually.." What is not realized is that, with basic phong rendering, those gradual curves >would be flat lines< since the surface normals are constant. So yes, the effect is quite subtle, but we are still seeing a profile curve which has a 'curve' to it, and we notice (feel/see) that.

4) SSAO is now replaced by HBAO, and even further by VXGI (Voxel cone tracing) and other GI methods that truly solve wall corners in the correct way. Most of what the author is measuring here is multi-bounce lighting, which is correctly simulated by these new techniques.

Each method has its particular uses, and SSAO fits into that history for specific needs.

(Full disclosure: I work for NVIDIA, but the thoughts expressed here are my own.)
That mesmerizing thing in Xamarin.iOS
It has long been discussed within the Jewish community that lots of children of survivors can be really screwed up - not just their parents.

This sounds like an attempt to examine this to find something other than anecdotal evidence and to see if there is something more going on.

However, so much time has passed, that getting good sample sizes is difficult (i.e. you need parent DNA from living parents as well as child DNA and there are now very few survivors left alive). The DNA science necessary for the study came along too late for there to be a good sample size still available.

The research could have considerable application if it is found to hold true - there are many, many situations where we could be setting up future generations in need of help (e.g. Iraq, Syria to name just 2). If there is a genetic change component, gene therapy applications could be part of a better planned approach to address issues suffered in 20, 30 or more, years time.
i hit the same things on mac, like ctrl-a/e.
couldn't jump to the beginning and the end of the file either.
i tried various shift key combinations until i finally inserted some special character which i couldn't delete.
all this happened within ~20seconds of trying it.
not sure what to conclude from it; im still in shock.
somehow the language of announcement is not in line with the capabilities of the tool. it suggested something more mature.
First off, no, you do not need a website. You are a high school student. Slow your roll.

Secondly, what you really need is an editor, because damn your site is riddled with misspellings.
This sort of "complexity" (DI, ORM, extensive configuration) has existed for a long time, particularly in the Java webapp space.

You don't need a license to release a framework, and a framework doesn't have to be sensical to be adopted.

If you learn the fundamentals of the things you're working with, particularly HTTP, web browsers, the web in general, and your chosen programming languages, things will become much more clear.
And, up until the last year or so, there were parts of the west coast (basically, off the olympic peninsula) that didn't have any offshore radar coverage. So there were certain classes of dangerous storms that could sneak up and whack Seattle. (One of the storms that did in a floating bridge did this, basically, no one knew that there was a hurricane force storm until it hit the coast, and from then, it was an hour to Seattle)
> You are the same person who tried to falsely claim that cmdlets are not instances of .NET classes

The fact stands, cmdlets can be implemented as .NET classes, but they can also be implemented through script (i.e. not .NET classes) or through manifests where cmdlets are generated for WMI/CIM classes.

I don't know why you continue to ignore this, or even why it is important. I point out that you are incorrect and point to a authoritative source that demonstrate the point.

The relevant section of the PowerShell section:

---
... A module can contain one or more module members, which are commands (such as cmdlets and functions) and items (such as variables and aliases). The names of these members can be kept private to the module or they may be exported to the session into which the module is imported.
There are three different module types: manifest, script, and binary. A manifest module is a file that contains information about a module, and controls certain aspects of that module's use. A script module is a PowerShell script file with a file extension of ".psm1" instead of ".ps1". A binary module contains class types that define cmdlets and providers. Unlike script modules, binary modules are written in compiled languages. Binary modules are not covered by this specification.
Windows PowerShell: A binary module is a .NET assembly (i.e.; a DLL) that was compiled against the PowerShell libraries.
---

I will point out when your claims about PowerShell are incorrect. It's an opportunity to learn something. Please address the topic, not the poster.
It's probably worth noting that Forecast.io and Dark Sky use the Met Office's radar, prediction system, and severe weather warning system (in conjunction with other data sources) to create their forecasts.
I have read many articles but found this the most helping and motivating http://googler700.blogspot.com.tr/2015/08/self-seo-training....
Opinions aren't a problem. The problem is the combination of dismissiveness ("go on and on", "he's just upset because") and lack of substance. Perhaps you have a solid case that SV's early history is analogous to China today. That would be very interesting [1]. And there's nothing wrong with just summarizing; not every comment needs to be a treatise. But you expressed it in the form of what pg calls a middlebrow dismissal. That's what I objected to, not your opinions.

Taking potshots is easy and feels good, but degrades the discourse. This is a tragedy of the commons and we all need to consciously work on reducing it, not least me. This would also be excellent for the diversity of opinion you mention, so I don't see any conflict here.

I didn't mean to pick on you personally. I'm not really following your more general complaints about HN, but if you want to explain them further you're welcome to email us.

[1] Out of curiosity, I took a look at the SV history website you linked to. It gives rather an opposite impression to what you say. For example it says that SV was involved in Farnsworth's invention of television in 1927 (I found that quite surprising), that Stanford was a "major center of innovation" in the 1930s, and so on.
Steve Case Rise of Rest Competition
From the business analytics example, I think a useful layman's definition of "realtime" might be able to be extracted: "fast enough that, given the speed of the task the client is trying to accomplish, the client is never blocked waiting on the computation in such a way that it then performs suboptinally against its deadlines."

In machine-assisted translation, "realtime" is whatever speed (milliseconds) is fast enough to have a conversation without pausing. In business, "realtime" is whatever speed (minutes/hours) is fast enough that the feed of information outpaces your ability to absorb and change strategy in response to the information.

Interestingly, VR technology is "realtime" by both definitions: any perceptible latency (layman's definition) is unacceptable and causes feelings of "VR sickness"—so hard limits on frame delivery (technical definition) must be set. Or, "VR must be hard realtime in order to be realtime."
Reminder to all posters that Eric Raymond was nominated on a Puppy slate and lost to "No Award."
The "after" version just looks like a bunch of crude drop shadow added at various spots. At close distance the original looks much better with finer texture and more believable details, but the version with the shading might be better for a prop to be seen from very far away / at small size, similar to exaggerated stage make-up on actors that looks gross up close.
Typhoon Goni batters Japan with record 159 mile-per-hour winds
Looks very promising. Been looking for Google Doc alternative for sometime now.

I realize that there is a commercial service aspect that is being worked on to provide server side hosting, however, how easy would it be to self host this on sandstorm.io?
What insane compiler/platform sets string data as executable memory?
The Anthropology of Hackers (2010)
You could copy code from Summernote to a textarea using javascript. Some examples can be found here [1]. But you are right, I do not know why the authors decided to completely forgo textarea. Any way, nothing wrong with TinyMCE either.

[1] http://stackoverflow.com/questions/22136242/textarea-value-c...