skysight-inc/HackerNews huggingface dataset:
I suggest you buy that next house now. That $185K could become $300K in a hurry. House prices in my area are up by about 50% in 2 years and accelerating. This is partly due to hedge funds buying up houses to rent them out. They'll likely be a big player in every major city eventually.
These annoyances are familiar enough, but I think that the author is underselling the benefits of this kind of abstraction. For one project I'm currently using an ORM (NHibernate) with several patterns depending on the requirements and the context:

- With single-table queries and simple joins, having a repository available means that these are a joy to write and maintain with LINQ. And with some preparation the mappings can prevent all sorts of runtime issues.

- Complicated queries which might be tricky to generate optimized SQL for can be written in HQL, meaning that the data access code does not have to be coupled to one brand of persistence store.

- Really quirky stuff that only works in Oracle, for example, can be written raw with CreateSQLQuery(). Here the ORM is basically functioning as an extremely bloated DB session manager, but this is not very often.

I definitely agree that familiarity with the database query language is needed to build non-trivial applications, but at the same time I would not enjoy building many of those applications without the option to query a table in one line of type-safe code. Some folks might say that I'm not using all the features of the ORM unless I have every single foreign key relationship mapped out to lazy-loaded collections and such, but I'm not really comfortable enough with the technology to want to do that, and I don't really mind the extra bit of housekeeping required to handle those cases.

Don't get me wrong, if you must prioritize raw performance or need all the flexibility of your query language, the right decision might be to ditch your ORM. With my current project, stability and maintainability are much more important, so I'll be sticking with the convenient tools for now.
Woah. It says I can make $340/night for my place in Cow Hollow that usually goes for $159!
Like I said, there are edge cases but I've been using this with teams for a few years and I hardly ever have to fix the project file.
I think I'll keep Ctrl+D for quitting the whole program, Ctrl+C for just finishing the REPL and going to the save/discard prompt.
This seems illuminating.

"The only complaint that I have here [about Salt] is that they are sometimes less rigorous than they should be when it comes to accepting code (I’d like to see more code review)."

Keeping high quality across a project requires discipline. And that discipline can sometimes seem cold.

"pull request welcome" is at the warm end of the spectrum.
They say 85% break the limit, but by how much? According to a 2003 UK study only 25% of people break the 30mph speed limit by more than 5mph, and only 20% break motorway speed limits by more than 10mph.

https://en.wikipedia.org/wiki/Road_speed_limit_enforcement_i...
http://labs.sapo.pt/~projects/Unite/ticket/141055
This is simply not true, lots of tools are able to tell you exactly which line of code is responsible for which query.
+1. The EFF's attempt to completely invalidate the patent is the correct approach. If the patent is invalidated, then it protects all of us from trolls (at least in the case of podcasting).
I don't think that the thrust of this story has anything to do with the mortality of one person.

What is newsworthy is that there is potentially an Ebola patient zero in the most densely populated part of the United States. Worse, the patient was in contact with travelers who have likely fanned out throughout North America, South America, Europe, and Asia.
Other research shows that raising speed limits increases accidents, and reducing speed limits reduces accidents.

https://en.wikipedia.org/wiki/Speed_limit#Effectiveness
You weren't previously asking me why I disagree with her.

If you are actually interested in a few of my thoughts on the subject, there are relevant posts on my personal blog that can be read. You could look for the tag "The Gray Zone" to get you started.
iOS global usage falls behind Android for the first time
We're experimenting. Expect to see more of this.

https://news.ycombinator.com/item?id=8122403
I don't play games anymore
Help us out: 3 minutes survey about how you save content and how you access it
Yup, this is not so revealing
Check out this exchange here on HN a couple months ago following the comment "I have two programming tattoos: a Perl camel and a Ruby ruby": https://news.ycombinator.com/item?id=7866845
I thought I understood "pythonic." Aren't his variable names the exact opposite of what one would expect in pythonic code?
I've seen quite a few wild turkeys. And they almost certainly are the offspring of domesticated turkeys. I am not saying that they are particularly smart, but they are able to survive on their own.
To be more confusing, "bitch" has a different meaning when applied to men.
not sure I follow? Most sql templates I have seen behave like Django's .raw() function (which inspects the resultset and auto binds to the object)
Do startups build their own tools at all? At what stage do they usually start building custom tools?
I agree. I wouldn't consider online learning neglected. The article mentions vowpal rabbit which is being used at Microsoft
Simple form creation and storage, built for developers
Summary: given the current regulatory conditions, you don't need a medallion if you just take bookings and do not get hailed from the street. "Taking a booking" is interpreted more broadly each day, so it includes summoning via apps. The owner, Kim, estimates that giving up the hailed fares in return for not paying for medallion rentals, would let him make more money and outcompete Uber.

My comment: How long until someone converts a street hail into a booked ride by generating a record to make it look booked?
Afaik what you're talking about is more commonly referred to as "semi-supervised learning". Transduction is a more specific case of semi-supervised learning where you know the test set, i.e. you know which data points the model will have to make predictions for. That means you can exploit this data for training the model, for example by unsupervised pre-training or with a pseudo-labeling approach.
"I much prefer to keep the data definition in the database and read it into the application. It doesn't solve the problem, but it makes it more manageable. I've found that reflection techniques to get the data definition are not worth it and I succumb to managing the redundancy of data definitons in two places."

My experiency is almost the oposite of that. I've found that automatic migrations are one of the best features of ORMs (only on par with getting reflection on the data structure), and the OO syntax much better for defining data structure than DDL.

Nowadays I favor ORMs even when I don't use the OO data interface, just because it's easier to maintain.
Find Drones, Internet of Things, Pharma and Health IT companies on Mattermark
Game of Hacks
that's absolutely not true.Sure you cant write a procedure with an ORM. But good ORM have query builders that with allow you not to write ANY sql.At all.ORMs are not just about CRUD at all.
Have you ever tried to hail a taxi in San Francisco? Can't be done anyway.
Well, there goes my last reason. Downloading now.
The Providence Startup Ecosystem
You can now reserve your Lavaboom username
Interesting...I should write a blog post about some techniques I've used that are similar to your example (modulo specific algorithms). Is there something specific you are trying to accomplish?
Very nice write-up on where are we standing currently, but that's pretty much it.

General idea seems great, but there's not much more than hand waving about it.
Compared to developers salaries, it is very cheap.
The problem is a virus have a nasty habit of evolving - just because all the past ebola strains have had a particular property does not mean that any new strain will behave in the same way.

There does seem to be something about the strain in this latest outbreak that is different to past outbreaks.
has anyone tried http://www.ztrip.com/ ? it's a car hailing app developed by the company that owns a bunch of yellow cab companies. curious what people's thoughts/impressions of it are...
> At the very least, it makes the code more portable

How writing SQL make your code more portable ? using an abstraction make something portable.SQL implementations are differents from one table to another.
The non-standard TIMESTAMP behavior is deprecated btw, and can be disabled via --explicit_defaults_for_timestamp:

http://dev.mysql.com/doc/refman/5.6/en/server-system-variabl...
What, the Google maps where street-view actually worked? Don't be so old-fashioned gramps!
All traffic laws do one thing: increase the likelihood that all drivers behave predictably. Going a certain speed. Stopping at a stop light. Not changing lanes erratically. It's all about being predictable to other drivers so they have time to react to your presence. Being unpredictable is the quickest way to get into a collision. Speeding but being predictable is a lot safer than going the speed limit and swerving erratically.
There are a lot of others like fluc and non bay-area ones like orderup, favor, WunWun, kanga
I wrote "raw" SQL for many many years before using ORMs, so I feel a lot of this guy's pain and agree with most of his points. Especially the part about still having to know SQL even though you're using an ORM.

Not sure I understand his solution to this one, though!

Window functions are relatively advanced SQL that is painful
to write with ORMs. Not writing them into the query likely
means you will be transferring a lot of extra data from the
database to your application.

In these cases, I've elected to write queries using a
templating system and describe the tables using the ORM.

Templating system? Whaaaat? Here's what I do in ActiveRecord + Postgres and/or SQLite. (Edit: OK, I think I understand! Other people in this very HN thread have discussed templated approaches, like https://news.ycombinator.com/item?id=8134170 )

1. I stick to ActiveRecord whenever possible for the simple stuff. It's really good for like 75% of what I want to do. Being able to chain scopes and things is neat and a good example of something you can't easily do in SQL.

2. When I need to work some SQL magic that ActiveRecord can't do (or can't easily do) that's when I write a SQL view or function. So my class might be something like:

# Example is Ruby+ActiveRecord but concepts should be applicable elsewhere
class SomeClass < ActiveRecord::Base

def some_simple_method_that_uses_activerecord
SomeClass.where(foo: bar).order(:baz)
end

...

def some_method_that_needs_sql_magic
SomeClass.find_by_sql "select a,b,c,d,foo,baz from some_crazy_view_or_table"
end

end

This has been working pretty well. For the simple CRUD stuff that ActiveRecord is good at, I use ActiveRecord's built-in query interface. For the other stuff, it's easy to write a SQL view/function and simply reference that. It's not perfect because obviously you risk having too much of your app logic live in the database layer... although, then again, I feel equally icky about having too much of the data logic live in the app layer.
Hacker says to show passenger jets at risk of cyber attack
Mobile Apps Using Deeplinks Have 2.5x Higher Engagement
Ah very cool. I have added a watch to your profile so I can see any further developments.
User Interface Mistakes in Coming Years of VR
P.F. Chang’s in Clearwater was hacked for card data; breach now contained
It would reduce the number of crashes. Its essentially the same argument as your comment's grandparent, that we should make the roads narrower to reduce driving speed.
I'm wondering if a "kiosk" in key locations on the street to grab a cab would be considered a booking or a street hail?
I would highly recommend Scrapy if you plan on doing any serious scraping: http://scrapy.org/.
Incognito can still capture your location which will affect the ranking: http://imgur.com/7O04wwl
Hibernate can almost be used as the definition of pernicious

http://www.merriam-webster.com/dictionary/pernicious

"causing great harm or damage often in a way that is not easily seen or noticed"

The most pernicious thing about Hibernate is the "caching feature" (read as "time-bomb") layer that doesn't write objects right away when modifying an object. So instead of immediately seeing changes in your database, they gradually creep in from other application instances as the write-timeout expires, slowly corrupting your data without any errors occurring. Great idea guys.
Just looking at the pricing model again and I see they've introduced monthly subscriptions. Going for the business plan will be, paid monthly, marginally cheaper than the annual subscription fee. I think I'd rather pay $83 a month than $999 at once.
How Binaural Beats (Sounds) Alter Your State of Mind in Positive Ways
I've always heard it with pilots
This doesn't seem quite right. It says reservists. They may also have roles in civilian life, but they are also part of the Military. That seems a bit deceptive in the title.
True. But then again, Xamarin Studio is not a developer. :)
Using an ORM ties you to that implementation. I can more easily take a raw SQL statement and use it elsewhere.
If you think ssh negotiation is the slow point with ssh, have a look into 'persistent connections'

The below is an example setup of a session that persists for ten minutes after last logout. Subsequent ssh attempts (or new parallel ssh attempts) will piggyback onto the session and avoid the renegotiation delay.

host *
ControlPersist 10m
ControlPath ~/.ssh/master-%r@%n:%p
ControlMaster auto
Actually it is very difficult to place any risk estimate on ebola (or any other new viral strain) as we don’t really know much about it.

Imagine that it is 1918 again and someone was trying to make a prediction of the likelihood of influenza becoming a deadly pandemic that would kill 100 million people over the next 18 months. They would look at the past history of influenza and say there is a negligible risk of this happening. Of course now since we know that influenza can become very serious we keep our eyes on it, but for something like ebola we really know very little.
We are very heterogenous--something like 60/40 Windows/Linux split.

Traditional Windows folks don't really use configuration management or even have any clue about it. Or at least that's my impression. I'm a Linux guy and have been fighting a one-man battle to CM-ize our infrastructure. I have no interest in using Microsoft's DSC on the Windows side (their brand-new CM-like solution in PowerShell) and something else on the Linux side, and since I'm a Python developer I gravitated to Salt.

I love SaltStack (no real experience with Ansible). Although it supports Windows in a sense, it's very rough around the edges. Many modules will fail or have weird edge cases on Windows. I've gotten to the point where the only module I really trust to work 100% of the time is cmd.run (which executes arbitrary shell commands). That said, it's been a total win so far. I've almost completely replaced ad hoc Windows server provisioning with version controlled, documented Salt states. It's glorious.
Let's be honest, if these things become commonplace in shipyards - we are all going to want one.
Adam's lawyers who are fighting a patent troll.
Almost all good tools were built for in-house use first. Rails is a classic example and there's a front-page article today about the history of Cassandra. But you should only build a tool if that's less work than learning/adapting an existing one, which is almost never. Either existing stuff has to be really bad/nonexistent or youhave to have an idea(+execution) for how to make something 10x better and a need for 10x better.
Such as? Using ASP.NET and NHibernate, I've not seen any way to do this other than old fashioned log statements and guesswork.
This Alarm Clock Will Wake You Up with a Cup of Freshly-Brewed Coffee
I saw Mattt introduce Alamofire at the New York iOS developer meet up and he actually expressed some concern over what seems to be a lot of blind optimism towards Swift in his talk.
If you smash my car and I sue you for $10,000 damages, and then I drop the case when I discover that you have no assets, is that vexatious litigation?
I suppose I can't really argue with the data (assuming it's generalizable). So it seems this tool will annoy people like me, but otherwise might be a net positive.
You can get a free VM from MS to test under IE at https://modern.ie/en-us/virtualization-tools

On the mac, they are support VMWare, VirtualBox and Parallells.
I have come to the conclusion that people A) this sentiment is an edge case and B) people will never be happy.

The last time there was a thread about Xamarin on here the top comment was complaining about the cost of a license, several weeks later they announce monthly pricing.

Now the complaint is we don't get Visual Studio support with indie pricing. Seriously folks? I am not trying to be a Xamarin apologist but the company has to make money and find a model somewhere that makes sense - putting VS support in an up-level SKU makes all the sense in the world if you follow the trends.

Look at it this way, the majority of Xamarin customers who want Visual Studio support are businesses for whom the cost of the licenses is irrelevant in the larger picture (I dont want to provide a math lesson but if they x-plat savings are manifest, the ROI on the licenses is near immediate). That is where Xamarin can find the margin to support the lower tiers. If they had the ability to support the entire company on $25/developer/year then I venture they would because there is value for them right now not in taking profit but in growing the developer base. Alas they are not doing that which tells me they are finding customers in the enterprise more than willing to pay for their product. In order to get TRIPLE the revenue per customer they add one specific sweet spot that they know nearly all those customers want - Visual Studio support. If they put that in the lower tiers they nuke their margins because it is the feature that matters most to the enterprise dev teams who are often filled with people who know and enjoy visual studio above other environments. It also enables them to not purchase a secon machine (mac) for each of these developers which gets beyond the hardware and licensing costs and has an effective cost on IT operations.

So yes, it would be nice if Visual Studio support were included in the indie tier - but it would not be prudent. Besides, how many 'indie' developers do you know are actually completely dependent on Visual Studio? I love Visual Studio and half my consulting revenue comes from the hours I spend in it - but the other half of my time which is usually spent doing mobile development is done in Xamarin Studio because - surprise, it is really pretty good.
>alternative living styles

Do you want to expand on this? Are you just living in a van now?
What was the goal of the press release?

It can have some good uses if you can get them wanting to ask more which would hopefully lead to a story.
If we're trying to use uniformed military troops to hack servers remotely, we deserve to lose any 'cyber war.'

They should be used to gain physical access to hardware and people, for the purpose of applying the xkcd decryption heuristic[1]. Leave the hacking to the experts.

[1] http://xkcd.com/538/
Ugoos reveals Cortex-A5 Android 4.4 TV dongle
Interesting, I'm glad to see more thought applied to rankings. What kinds of posts are you hoping to see more often?
US Navy personnel who tour the newest generation of Korean and Japanese warships are universally astounded by the high quality, attention-to-detail, and overall great design. Without exception, our sailors come off the ships blinking and asking "Why aren't we buying these?"
These suggestions are dreadful.

> Instead of 'Where are you from?' try 'What’s the strangest thing about where you grew up?'

> Instead of, 'Yes, it is a beautiful day!' try 'They say that the weather was just like this when the Japanese bombed Pearl Harbor. If that actually happened.'

If the goal is to have a pleasant and interesting conversation, dropping non-sequiturs isn't going to get you there.

And this is advice for introverts? Many introverts I know would crash and burn using these lines -- they already struggle with being awkward without throwing out, “What would you like your name to mean?”
Substantive posts that would otherwise have fallen through the cracks.
When 0 == absolutely-any-value-in-the-world in PHP
$needle = 0;

$haystack = array('absolutely-any-value-in-the-world');

if ( in_array($needle, $haystack) )
{

echo "I've heard of loose comparison but this might be a little excessive.";

}

Note: I submitted it as a bug on php.net and the response was...

"Fundamental bugs are easy to find when you don't read the documentation."

(Just in case this isn't clear, it was closed as NOT being a bug within 10 mins of submitting.)

Of course I did read the docs and was aware of the strict comparison but I don't want strict comparison I just want it to work as expected, ie the value on the left matches the value in an array as long as it looks the same. So I would expect.. 0 to match '0', or 12345 to match '12345' but would not expect 0 to match any string value.
In Scotland we have the a law that allows us to walk freely through farmland and land so long as we respect rules.

http://en.wikipedia.org/wiki/Freedom_to_roam#Scotland
Thanks. We edited the title.
I've found the nirvana with MyBatis https://code.google.com/p/mybatis/

I've benchmarked it and it adds roughly a 3% on top of raw JDBC, and allows different styles of usage. You can have your pojos annotated and get mapping for free, or (what I like) you can extract your SQL queries in XML files, name them and refer them from code with sql.insert("namedQuery", params);

It is super smart when it comes to mapping/aggregations and it is highly extensible to allow the transparent use of custom mappers and logics. Highly recommended.
He used to, he wrote the initial. That's like saying Bill Gates never built Microsoft.
Yeah, the real title of the article is "In supersecret cyberwar game, civilian-sector techies pummel active-duty cyberwarriors". Not sure why it's different here, usually the mods fix any deviation from the original title. I suspect they'll be along shortly.
The first thing I searched for was "you look like shit" which is a very common remark in movies and shows.

http://www.quodb.com/#search/you%20look%20like%20shit

531 titles. Wow.