skysight-inc/HackerNews huggingface dataset:
With Rails 5 just coming out now does it make sense to just start learning there. Is the material like the "Ruby on Rails Tutorial" book that uses 4.2 still worth reading or is it a large change, something like the python 2.7 to 3 where tutorials and reference material are largely dependent on the software version you use.
Ask HN: How to recognise parametric drawings?
Hey, something I've always wondered, how does an application like Ken Perlin's chalktalk do its gesture recognition?

You can see what I mean here: https://vimeo.com/127447653

I somewhat understand how to classify a crude square drawing as a "square" gesture. What I don't understand, is how do you classify a small crude square drawing as a "square(5)", a larger one as "square(50)" and all the other square-sizes in between.

Do you know how something like this could be done?
The concern is that you may be equating the conservative position to flat earthers bases on biased information. It's the classic epistomological dilemma, how do you know what you know? Maybe reality doesn't have a liberal bias. Maybe it's just the loudest people who have a liberal bias.
The trouble is KiCad just won't cut it for complex boards. Eventually it could get there, but I ended up buying Pulsonix. Maybe starting a nonprofit to throw KiCad fundraisers?
Let's assume you have reversed engineered some kind of boolean check and you now want to patch it to always return true or false. What does that process look like at a high level?
The client writes spec and solicits a bid, instead of soliciting design partners.
I don't have a problem with your ideas. I think the vast majority of drug development costs are being borne by industry right now. So when you say "massive step up in grant funding," that might have to be something like a 100x funding increase. And the NIH budget has been flat (when adjusted for inflation) since 2002 [1], so there doesn't seem to be much political will for your suggestions. (And that's bad! Even if you could get your suggestions passed, long-term stagnant government funding for R&D would stall drug development.)

I think your ideas should be implemented first in another country, such as India or somewhere in Europe, so that we can see how well they work before throwing away the baby in the bathwater. Personally, I would prefer more gradual changes here in the US. For example, the cost of running drug trials has been increasing. Big pharma companies like this; going through the drug trial obstacle course is their specialty, and the huge barrier means that small drug companies that do the pre-trial drug research have to go through the big companies to get to market. Reducing these costs would lead to more competition.

[1] http://www.aaas.org/page/historical-trends-federal-rd#Agency
Scala and c#. Great tooling, static typing, functional and OO paradigms covered, fast (Scala runs fast once complied), flexible with tons of existing code already out there to be used or learned from.
I think you overestimate the value of random sources of entertainment. Take away one, people will cry for a day, a week later it is forgotten.

We have an incredible abundance of content.
How are generics 'fuzzy at best'? I can understand why you could think that associated types in protocols can be a pain in the ass, but there are reasons why its done this way.
ESA Incubator Developing Electric VTOL Plane
Ha, I thought it was packet switched network routing as a service.
> "flat earthers", blatant racists, and charlatans air time (excuse the hyperbole, hopefully the point was understood).

The point was understood, but differently than you intended.

These terms seem to be used to reference the folks that would claim to hold the conservative viewpoint, but the terms themselves only further evidence the misunderstood viewpoint non-conservatives may have of conservatives, and that misunderstanding may have been furthered by what is discussed in the article.
Panama Papers affair widens as database goes online
Fast stereo rendering
The client bring the problem, the vendor brings the solution
Regarding TrackStudio, do you seriously have those AAA companies as clients?
What would be interesting would be a lawsuit from renters arguing that Airbnb has reduced supply otherwise available and caused rent to go up.
That book is a highly relevant read to anyone who feels something is unpleasant about their work as developers.
I can tell that you wanted a clear distinction between implementations for comparisons sake. And I don't doubt that you could probably achieve higher performance in each respective branch with Cuda and c++ for GPU and CPU branches.

I get why you'd choose Cuda over opencl for pure gpgpu code, but when faced with the requirement of having both a CPU and a GPU version why not use openCL to keep both code paths as close as possible? Did you write it so both branches live in a single build and can select the optimal path at runtime and looking at the hardware and seeing what is available? Or do you maintain two separate builds that are deployed to different servers?
That's exactly what it did. It got them to support Trump. For a long time the party has had a fortunate synergy of "red meat" issues that constituents care about and business interests who for some reason think that Hillary Clinton hates Goldman Sachs (but pays her $8000 a minute to hear what she has to say.) Note how "pro business" republicans will pay lip service to the Teslas and Ubers of the world until the local car dealers and taxi medallion owners want to stop them.

So much money gets thrown at anybody who passes the "litmus tests" that the the Republican party has a field of 17 losers who all looked alike and they were bowled over effortlessly by someone who could pick and choose from the litmus test issues to make a message that actually sells.

If there was not so much money for conservative candidates there might have been fewer candidates and it would have been easier for somebody serious to get some traction. Look at how $100 million got spent on those stupid "Ted Cruz is a flip flopper, you always know where Jeb stands, he stands in the same place as Rhett Butler, Han Solo, and Hillary Clinton..." ads -- in the Citizens United age, spending huge amounts of $$ just makes you look like a jackass.
It's today's software which -- being almost a synonym for enterprise software -- can be a problem for a culture built on it's difference from Enterprise Java.
Most of Asia and Europe. The American plans are so expensive and restrictive they don't reflect the current state of the technology at all. That's what's causing all this 'crisis' scaremongering. 1GB is a fairly basic plan over here and for that you can expect to have to watch your usage.
Why are people commenting here, instead of in the reddit request for comments thread? It's literally a call for you to leave your comments on this matter for reddit to read, doing so here is in this case about as counter productive as it gets...
They're just closing the loop, like an good entrepreneur would do.
It's a combination of flagging and flame war detection. While I'm participating here, politics really aren't a good fit for this forum. The discussions tend to get too heated to be productive and brings out the worst in people.
You insert the equivalent of "mov eax, 0x1; ret" (or 0x0) in x86 for whatever architecture you're using as the first instructions of the function.
Sure but then generate a signature and submit it.
In the mean time, who was harmed?
Here's the video: https://www.youtube.com/watch?v=0MojR1XUEc0

As an aside, how do people consume slide decks? It doesn't seem as interesting without the associated lecture...
yes, I was thinking that a programmer with about 5-10 years experience in other (non-lisp) programming languages and 1 year of Clojure should be able to tackle macros effectively...
Agreed.

As someone with Type 1 diabetes (look up the difference if you don't know), I'm always interested in this distinction. Sugary foods neither "give people" nor cause Type 2 diabetes. A person consistently consuming too many sugary foods over a long period of time causes themselves to be at higher risk for Type 2 diabetes.

Cigarettes are a different beast, due to the chemically-addictive nature of them (although in this day and age, one could make the argument that people of all ages should know better than to start smoking, and should thus bear responsibility for the outcome - but that's another discussion for another time).

Cigarettes != sugar. End of story.
It's not Rails. Web software development in general has simply plateaued across the board.

We're out of new frontiers to innovate around and the work from now on is about playing custodian to the innovations of the past.

Unless something spectacularly interesting comes along, the priorities of the web are now all about supporting what's already been built. Either by maintaining something hastily built and cracking at the seams with patches and fresh coats of paint - or replacing it with something more stable for the long haul. Rails was designed around rapid innovation, not the long haul. So it's in maintenance mode.
The real problem is not America itself, the forces of Geo-Politics are just too damn BIG and beyond the control of the actors i.e. the Nations and the diplomatic core.

Its absolutely Naive thinking that a President is going to wipe out and start new, Obama was right, no body starts with a Clean Slate. You are dealt a hand, you deal with it.
Now, you can define and refine the approach, but the events themselves hardly controllable.
I'm not sure it's worth learning the emacs key bindings for text editing if you already know vim. Just turn on evil mode and use that. I could be totally wrong here but I haven't seen any real defenders of emacs key bindings. seems to me that people are used to them and they do the trick, but vim is considered more powerful for pure text editing. Using emacs is still great for a host of other reasons though.
I have no complaints about C# and Webapi. Well, "no complaints" isn't exactly right but I like it.
There is no correlation. People of all incomes become addicted to all sorts of things. And it was perhaps wrong of me to phrase myself that way.

I suppose the motivation for that parenthetical was just subconscious--as I've seen some people who happened to be lower income have their lives ruined by their pain meds, whereas in the higher income circles I've seen, they're more addicted to strictly recreational drugs.
Is this validation of: customers, revenue, profit then seeking funding? I think yes. My small, empirical data follows this. Similar to the PG set of "default-alive"
This is an interesting idea, but it seems like an awful lot of work on my part to go through and organize and tag every file. While some of it could be automated (pulling ID3 tags out of MP3s), a lot of it seems to depend on me figuring out good names for everything I make.

The biggest problem is that I have to figure out which tags are going to be useful to me in the future and where to add them. This is relatively easy for music (but even there can explode in complexity depending on how granular you want to be), but more difficult for things like photos or papers.

IMHO, fully general tagging systems never work because the complexity explodes as the number of potential tags increases. You need to narrow the scope down to a specific domain so your tags can be limited to human scale.
It isn't Open Source. Interesting since it written in Python rather than Lua/Torch, PHP or JS.
Thank you. Makes sense. I'm more of a G.K. Chesterton man myself, but maybe I'll come around! :-)
I think the problem here is that regardless of the "visionary"...

* You make an ad network that makes advertisers happy. In reality this will pretty much *always* make users *unhappy*.
* You make an ad network that makes users happy. In reality this makes advertisers *unhappy*.

There's not much middle ground there. The only possible win-win scenario is you make an ad network that makes users happy by only allowing users to advertise to other users. AKA classifieds.

...or you could just have one ad network that advertisers hate that users are happy with but because there's only one the advertisers just have to live with it.
I mean even more high level than this. If I open a binary, can I just write the new machine code to it directly and not be concerned with recompiling?
But it's not the publishers process or business model that is causing the problem - it's the process of filling ad space that is broken. Sure, you could pick one ad network and micro monitor it, but you wouldn't make enough money to sustain quality content. CPM optimization is a requirement of the field if you'd like to profit enough to sustain quality journalism and not be the next you-wont-guess-the-top-10-craziest-things site.

Yes, I think publishers have a responsibility to monitor their ads and keep their users safe. But I still don't think it's a black and white ethics situation. The exchanges and other ad providers need to fix their business model and not depend on publishers to filter the malware ads they're sneaking onto their page.
Amazon Alexa - Cambridge, MA | Sunnyvale, CA | Seattle, WA

The Amazon Speech team is a group of scientists, inventors and developers working on audio, speech and natural language solutions that revolutionize how customers interact with Amazon’s products and services. The team’s mission is to push the envelope in automatic speech recognition (ASR) and natural language understanding (NLU) in order to provide the best possible experience for our customers.

We're building a new team that will own search with speech. If you'd like to get in at the very beginning of something that millions of people will use every day, please send me a note! ebbounty@amazon.com I'd love to discuss!

Best,
Emma
Go ahead and use a new technology. But don't use a proven-bad technology.

But the "proven bad" technology you're talking about here is just incorporating any third party content in your site. Obviously that is a security risk if the third party isn't perfect about policing what they host.

On the other hand, billions of resources are served in that way every day, and the web is a much better place for it. Only a tiny fraction of those third party resources are hostile, and most of the ones that are will be closed down rapidly by the third party service themselves once discovered.

So is this really in "proven bad", "known-risky" territory, or are we actually talking about "very rare" dangers and a lot of hyperbole here?
The ability to grieve for the deceased is an intrinsic part of the healing process that needs to happen, after death rips a person from the fabric of their loved one's lives.

The dead body allows for death, in all its unknown shock, to be visualized and thus integrated into human experience. A link from the living to the gone, that allows grieving to heal the social wound of a death.
You're confusing free market capitalism with "perfectly competitive market".

Nowhere in the study of economics does it say that free market capitalism necessarily leads to all industries having multiple competing companies that drive prices down.

On a somewhat unrelated note, if history and human nature is any indicator, then we know that with an under-regulated market most industries will gravitate towards oligopolies with homogeneous product offerings, monopolies or cartels (colluding oligopolies)
Haha, I don't want to go too much off topic of this thread, but essentially we can analyze actual file contents, source and metadata to find patterns between file structures and associate them to user and "common" labels.

On top of that we try to get further accuracy by using user information to help us find the context. We call it a Personal System, a repo of knowledge and learned preferences heavily tailored around each individual user. We're just in beta now but definitely put your email down if you want to try it out eventually!
Zobrist Hashing: Tranform a gameboard configuration into an almost unique index
World's shortest guide for D3.js
That's certainly one point of view.

Another point of view is that expecting beginners to adhere to a rigid set of rules and design principles is both unrealistic and makes the learning process dull.

Pretty much an entire generation of programmers cut their teeth on the BASICs in the early microcomputers, and we have all kinds of whizzy stuff now.

Where's the modern equivalent? I would argue that it's HTML/Javascript/CSS ecosystem. It has many features in common with the early BASICs.

It's on every machine (well, every machine with a brower, which is pretty close to every machine)
It's there as soon as you start up.
It lets you tinker around with graphics and sound out of the box.
It doesn't require any tedious and confusing (to a beginner) compile/link process.

It's danged-near as messy as old school BASIC, too, yet it's also where most of the innovation seems to be occurring. Personally, I do not think this is a coincidence.
Cheddar, the ‘CNBC for Millennials,’ Goes Behind a Paywall
Startup Trends 2016
I no longer feel that believing such things to be in the realm of the NSA's capabilities is an indicator of craziness.
I believe it, given how many startups are in YC :). If there is, I haven't heard of it. As far as I can tell, there doesn't seem to be anything close to an widely adopted solution in the market, just standard ad agencies that do sales for you.
Pitch Data Rocks
TTIP “Transparency” captured on Video
This what they mean by "vertical integration" right?
What GP means is that US is no longer a republic. Unifying aspect of the Obama, Sanders, and Trump campaigns is tapping the desire of the American public to make it one again.
For those that are feeling fatigued from working with and around the magic of Rails, Sinatra is a great choice (in python land Django has an alternative called Flask).

http://www.sinatrarb.com/

That said, you will have to re-implement machinery that rails gave you for free. If you're building a simple API, there will be obvious simplicity benefits. If you're trying to build a server-side rendered web application, you may long for some things that rails provided (of course, you can use libraries and create simpler patterns than rails provided).

Note that going the sinatra+libs (or any "micro" framework for that matter) route places a higher burden on the development team when it comes to documentation. If you implement a scheme for server side templating/rendering outside of what is provided, you will be in a world of pain in a relatively short time if you do not maintain good documentation.
In your opinion what are the considerations of this vs. say, a Vanguard bond fund?
Pheonix looks promising. It's basically Erlang on Rails.
It sounds to me like a complaint about stupid metaprogramming. Every kind of programming can be done badly: there is stupid imperative, stupid OOP, stupid functional, stupid declarative, stupid pattern matching, stupid reactive, stupid aspect-oriented, ...

I'm not saying that Rails is stupid anything (I'm not familiar with it), but maybe that's the way it is in the blog author's view.

Here is an example of stupid: someone writes some class framework or whatever. It's open-source. Yet, the next someone wants to extend it---but instead of a proper source code patch, they implement some monkey patch which relies on mutating things in the original framework after it's loaded. Then the next someone after that does the same thing to the second someone's customizations, and so on. Then to find out what is being called you have to trace through to understand the side effects of several run-time patches.

Let's not dump dynamic because of stupid dynamic.
The article you linked to has been debunked already. Claiming that's how DRM works is not very useful.
Hyperloop Technologies revealed a safer form of levitation technology
As long as all the instructions are the same size (or smaller padded with no-operation instructions) then yes. If, however, you do change the size of the application all relocation deltas need to be changed, and all relative jumps and calls need to be recalculated.
It's plainly clear that you didn't read the article, so there's nothing further to discuss.
What would that look like for, say, a small personal blog that includes a few ads to cover the hosting costs?
You are really pushing the turd argument [https://news.ycombinator.com/item?id=11661834]
Are the 1000+ bases part of a strategy to avoid nuclear proliferation? America agrees to provide security to its allies and in return its allies agree not to acquire nuclear weapons? How else are Brazil, South Korea, Indonesia etc... able to protect themselves against nuclear states?
Why Helsinki–a mix of Detroit and Geneva–is among the world's most exciting cities
Or to put it another way, it's extremely unlikely that anything we could recognize as human will be living here in 500M years, give that is 5000 times as long as our species has existed so far (and we're changing ourselves and environment faster and faster).
Fail story: I have SSD + HDD caching for Windows ( https://diskache.io/ ). But due to lack of marketing skills, and, perhaps, lack of common store for system software for Windows, even free Beta version has been downloaded by like 3.5 people during 3 months of availability.
HATEOAS is for Humans
Sorry was generalizing. I meant generics and protocols in combination. The ability to define a protocol based on a generic would be fantastic. It's something that is solved in Haskell fairly well.
Yes, there's no recompiling that can be done anyway if you only have the binary and no source code. Writing the new machine code would overwrite some code at the start of the function you're modifying, but that doesn't matter if you just want the function to return true or false.

You could edit the binary manually with a hex editor, but some disassemblers like Hopper have a feature where you can type new instructions in assembly and it will assemble and insert them for you. I'm sure IDA pro has something like that as well.
The fundamental problem with Chomsky's approach is he's one-sidedly applying criminal justice concepts and 'moral compass' of the western society to international affairs.

The side these are applied to is of course 'the evil West'.

Then he turns around and acts as all apologetic when it comes to anti-Western regimes no matter how bloody or atrocious they get - going back to whitewashing of Viet Kong atrocities and Cambodian genocide back in the 70s.
I'm not sure if Swift really needs language-level concurrency support. As it stands, you can wrap any C library which provides some sort of concurrency and make it feel like native functionality because of Swift's syntactic sugar such as trailing closures. For example, I'm a huge fan of the library Venice[0] which provides CSP by wrapping libmill (single-threaded like libuv, uses setjmp/longjmp instead of callbacks unlike libuv), essentially providing a Go-level api without language-level support. Its what Zewo[1] is built off of, and what allows all of its api's to be synchronous without any extra effort.

[0] https://github.com/VeniceX/Venice

[1] https://github.com/Zewo/Zewo
> the sugar they sell is bad, that's it, there's no questioning

I dunno, I think sugar is pretty delicious. Not everything has to be about maximizing your lifespan, you know. A balanced life can include tasty stuff.
>From what little I've seen of Django it isn't trying to be a DSL either (unless I'm misunderstanding that term).

Django bundles two DSLs - the ORM (filter, etc.) and the templating language.

>I don't think Flask attempts to be a DSL at all

Flask bundles jinja2 and sqlalchemy which perform the same purpose.