skysight-inc/HackerNews huggingface dataset:
Most developers have pretty short attention spans and we expect things to be fast. In development on a large-ish Rails application due to the way Rails autoloading works (I heard this is changing soon?) just editing certain files is not that far off from a full-restart. So the "F5 Driven Development" flow is very slow on our app. The Rails app I work on is 9 years old (no rewrites, go us!).

We've tried to use pre-forking preloaders like Spring but we found ourselves force killing Spring more often than it was useful for us.

EDIT: Performance is complicated and can be a sensitive topic so I'm going to elaborate. While dev restart/refresh times are annoying, the real elephant in the room are Rails test suites. We (and many other places I've worked at) rightfully use our test suite as a signal of when to merge and when to deploy. This means the entire suite (~4000 tests - it's a big app!) needs to come back as passing before we will merge a branch that can be deployed. Our current test suite takes about 40 minutes to run in a single process (more on this later) if the planets align.

Here's a list of a few things I've done in my career (I'm very grateful Ruby and Rails have given me a career, btw) to get around Ruby and Rails' performance gotchas:

- Caching logic so complicated that you would think our business domain is actually caching and not our real business.

- Converted a test suite from TestUnit to RSpec (it was fashionable) and then finally back to MiniTest.

- Stopped writing the type of test that is by far the most valuable (End-to-end browser specs) for all but the most important features due to how slow these types of tests are and the amount of false negatives they produce.

- Tried the whole shared_connection.rb[0] trick to share a DB connection between feature spec thread and Rails server threads for transactions in feature specs. It's buggy and made our test suite worse off.

- I've gone back and forth between PhantomJS and capybara-webkit more times than is healthy.

- Wrote code to spoof the User session in the above tests so we didn't have to browse to login_path all the time.

- Set DEBUG_ASSETS to false in development (except for when we're editing CoffeeScript files) to reduce the amount of work that sprockets need to do.

- Used our hosted CI's parallel test runner to try and run things faster. Marginal improvement, proprietary, and lots of yucky config files.

- Used Aman Gupta's test-queue[0] to parallelize our test suite under our own control and now we're looking for automate spinning up instances with 8+ CPUs to hopefully get our test suite to run in less than 5 minutes.

0 - https://gist.github.com/josevalim/470808

1 - https://github.com/tmm1/test-queue
Three hour TSA lines at O'Hare
Sounds like Pinterest.

I'd be interested if focused more on sharing Drive content across personal and business accounts.
I've provided enough information to get to the right answer (Haskell isn't magical and can't compile to my platforms if it never heard of them, and it doesn't generate portable and human readable C or C++ so I can't build Haskell code using my tool chain).

That's all that matters to me. I'm not sure what crusade you are on... but if you had read the comments you replied to you would have avoided wasting my time and yours offering up Haskell as a solution when, based on information contained in the very posts you replied to, you should have been able to figure out that such a position was a misrepresentation.

Whether it was intentional or not I will refrain from speculating.
CIA Achieves a Whole New Scale of Torture Evidence Destruction
You're incorrect and you're incorrectly equating pot to alcohol as if the effects were remotely similar, they are not.

> And after adjusting for age, gender, race and alcohol use, drivers who tested positive for marijuana were no more likely to crash than who had not used any drugs or alcohol prior to driving.

That means users who are too high to drive know it, and don't. It also means you can drive high as long as you're not too high without adversely affecting safety.

Pot is not alcohol, it does not belong in that mold and there's absolutely no reason to single it out of the multitude of other things that can impair driving. Alcohol is a special case precisely because it impairs your judgement.
Is being a startup hub about coddled one-percenter lifestyles, or is it about a critical mass of ideas and hustlers? Maybe startups are the new finance, but it makes me sick.
Self propagating code can perform all the functions of a corporation. The only difference is that in the past the code had no way to acquire goods and resources from humans and other corporations because it couldn't control and transmit value.

Now code can.

The DAO is a start, code can do everything the DAO does.
Ruby isn't fast enough. We're getting 2-20x speedups by switching to Go. (Some things are io-bound waiting on the database, that's the 2x end of the scale, some things we're doing more compute on and that's the 20x end of the scale.)
A lot of people read "truth" when they see the word data, but this data was forecasts. Aka speculation.
I feel like I keep getting burned by using Google things. Unless it's Gmail, Chrome or Android I always worry that whatever I use of theirs is just going to go away almost overnight. This is why I don't use Google Keep and while I've been thinking about moving domains out of Google Domains.

I mean it's an interesting concept though it takes me out of my normal flow of using a web browser or getting my news through various apps so I can't see how I would ever get a chance to use it. I like how it's a more integrated experience, however. Good integrations always trump multiple apps as far as usability is concerned.

Btw I love the lack of self awareness with the blog entry.

> Group sharing isn’t easy. From book clubs to house hunts to weekend trips and more, getting friends into the same app can be challenging.

So here is yet another app to get your friends into!
I see it.

Tried to upload to imgur but I think you need an account. Any IMG hosts that don't? Imageshack has long since turned to the dark side.
Well I can say for certain when I take certain allergy meds I know I can't drive for crap. So I usually stay in. And when at work I just deal with the allergies as is since I have a long commute home since the last time I tried driving on allergy meds made it hard to concentrate. So, I can imagine it's not much better driving high on pot.
docker run -it -v "$PWD":/usr/src/app -w /usr/src/app rails rails new --skip-bundle webapp
Ruby performance on par with Python, PHP etc.
Rails is slow but at same time it's faster than like 80% of all the PHP frameworks. So i'd agree with DHH - not the issue at all in most cases.
Someone can choose different framework for other reasons than plain requests per second.
In case of Elixir/Phoenix it's things that Ruby/Rails can't handle properly, like

* websockets & realtime stuff. (Rails 5 added that, i know, point still valid)

* dev mode experience. rails startup time is slow enough to add bandaids like "spring" in default installation.

* sort of "magic" that actually hurt developers
David Nutt would be the man to find out: http://www.encod.org/info/EQUASY-A-HARMFUL-ADDICTION.html
The peak of the current El Niño exceeded that of the 1998 version by a massive 0.08 C, according to satellite data. What is the probability the difference is natural variation? I suspect things aren't nearly as dire as the usual breathless pronouncements would have us believe...

Regardless, a new push for advanced nuclear power would be a good thing. Air pollution isn't good for anyone. Next-gen technology from companies like Thorcon Power will provide power at lower rates than coal, with no possibility of meltdown and no need for water cooling.
He just deleted the post :/
Swift, most likely.

Go I don't like the design, but I will always suggest it to anyone wanting a simple safe C like language.

D, the community is great, but they still need to decide which direction the language is supposed to grow.

Rust community and language are great, but I think they need to get into an OS SDK to really accomplish the goal of replacing C++.

Swift is replacing C and Objective-C as the official systems language on Apple platforms. It has the necessary tooling for full stack applications, IBM is already pushing it on their cloud services and Microsoft will eventually support it on their iOS bridge.

So in what concerns OS vendor support I am betting on Swift.

For the use cases where that isn't relevant, I would say Rust is also a very good candidate.
Google Facebook
Why would he do that?
Start the timer, I give it 19 months before it's sunset.
The best online communities I've been a part of have been the focused ones built around concrete discussions. I have problem X, let's talk about some solutions A, B, and C, that kind of thing.

There doesn't seem to be a way of involving small groups of people in small discussions that don't require a lot of attention. Someone else mentioned D&D groups -- that's exactly my use case. I don't want to send out tons of email to my players about stuff they might not be interested in. I do want a place that I can dump interesting things that they can later choose to participate in, low attention kind of stuff. Making a G+ community for five people feels like overkill.

This could be perfect for that.
edit: ugh, nevermind. your ridiculousness has nothing to do with gender bias.
Application Insights, Entity Framework, OWIN and two dozen other things are included in a "standard" website template.

Now, I love templates - and I wish that they were easier to use so we'd see more variety - but putting everything and the kitchen sink into the default templates is getting annoying.
SSL labs is brilliant and I've thought about 'why do qualys do this, what are they trying to sell.' I mean. You can't do anything meaningful with the data that you couldn't have done with automated scanning.

It has definitely made me remember the brand in a fond way, service above profit is something I respect a lot and if they had something I need I would consider them above cheaper competitors.
If flying to warm places is your metric, PIT has direct flights to LAX, SFO, Las Vegas, Atlanta, and four airports in Florida. I don't think travel connectivity is a good argument against Pittsburgh.

It's also really easy to get to other east coast cities from here. Megabus goes to Philly and NYC for ~$15 if you buy at the right time. DC is a four-hour drive away. We may be inland a bit from the true "east coast" but we're not in the middle of nowhere.

> Pittsburg

Minor nit, but we're also very particular about the "h". It's "Pittsburgh."
still alpha but we using it at priceposts.com
well since he disregarded jruby, you would have thought pypy was out too.
Don't know, but I'd assume Intel's McAfee idea was more for the enterprise market vs selling junk to consumers. At the enterprise level it's somewhat more defensible, plus it opens up paths to desktop management capabilities.
You're right, it probably is a stretch. But since they have not demonstrated any evidence either way, the study basically has to be disregarded.
Yes you can conclude that precisely because you don't lose the ability to know when you've had too much. Unlike alcohol, pot doesn't affect your ability to judge that.
One option to allow arbitrary packages that plays well with a gist-hostable style of notebook is to make use of the JSPM CDN (details towards the bottom of http://jspm.io/). I've used that for little gh-pages hosted experiments in the past. It can be a powerful way to access both the GitHub and NPM ecosystems of JS libraries.

The JSPM CDN could also provide a way to load transpilers like Babel, Traceur, Closure, and Typescript.
Show HN: Resting Heart Rate – An Android App
The next bug found will be sold on the blackmarket.
False economy.
A quarter million people have now used the co-founder equity calculator
"Fast enough" is a subjective, not objective term. For some things Ruby is fast enough, for other things it isn't. It depends not only on what you are doing with Ruby, but also how you are using Ruby. Just like any other tool.
Swift if you're targeting iOS or OS X and either need GUI or integration with system frameworks, Rust otherwise.
Or simply correlation of multilingualism with high education and a relatively long work life using brainwork rather than a short work life of exhausting physical labor and then less mental activity.
Indeed, but I don't people are as locked in their services as they used to be. They've been resiliant, but it isn't like the 80s or 90s when a decision to buy IBM was a 20 year commitment.

Now the decision to buy IBM is more around software and services. Outsourcing contracts have long lives, but software and implementation less so.

This is where the Growth investor looks at something different than the Value investor. The growth investor says, "They're technologically irrelevant. They're still hawking Lotus Notes!" [0] The value investor says, "Their PE is 11, and they're buying back every share in sight." [1]

[0] http://www-03.ibm.com/software/products/en/ibmnotes

[1] http://www.google.com/finance?cid=18241
Your characterization of the discussion is not accurate. Read the thread, it is still here. You lamented not being able to use haskell. I took this in good faith and tried to help you to use haskell. You have done nothing but deflect and derail trying to avoid being helped. You insist haskell can't do this, but you still can't even tell me what haskell compiler you even tried. There's dozens of supported platforms, and more than one compiler that produces C. You are being dishonest because you never actually wanted to use haskell, you just want to post vague anti-haskell nonsense.

>Haskell isn't magical and can't compile to my platforms if it never heard of them, and it doesn't generate portable and human readable C

Haskell isn't a compiler. Different compilers support different platforms. You insist "haskell" has never heard of your platform, but I guarentee you can't find a platform that I can't compile haskell code on successfully. You are simply being dishonest. And yet again, yes, multiple haskell compilers produce human readable C code as output.
Mobile Menu Navigation – CSS Only, No JavaScript Required
Looks like the article just got deleted? Here's a cache http://webcache.googleusercontent.com/search?strip=1&q=cache... (It's not available in the Internet Archive because of robots.txt, which makes me wonder how Google justifies caching it but whatever)
Ask HN: Tips on Moving/Getting Hired into the Denver/Boulder Tech World
I'm a NYC based product manager who is trying to figure out the best way to move to the Denver/Boulder area. It seems that the Boulder and Denver startup weeks would be good networking events, what other events or knowledge might be helpful as I work toward finding and making connections within the tech Colorado tech world. Thanks!
First, I was responding not to either the study in question, nor to a question of harassment or stalking, I was trying to make sense of the formulation the PP made about somebody wanting something from somebody to see if I could square it with my experience in the world; I qualified what I said with "for instance", not "for all instances"

In terms of what I said, I'm actually not saying anything is anybody's "fault" nor that a transgression had transpired. I'm saying people interact as they have always done through history and some interactions are termed creepy by some of the parties. I was actually allowing for a sexually alluring woman to feel creeped by some attention but not all attention rather than saying it was her fault or that all interactions fit this mold. Of course individuals can be creepier than avg and individuals can be creeped more than avg, and if you get far enough from average it becomes excessive. I was simply testing the formulation that the PP suggested.

There are people with socialization issues (psychiatric) such that they frequently get termed creepy, and there are people who more frequently experience the feeling of being "creeped out". It's worthy of study.

In addition to being creeped out, other people such as yourself more frequently can experience feeling "shocked, shocked" and outraged.
Doesn't seem to require invites.
Honestly, most of this just feels like asshole behavior... Most of this would be easy for someone not already in a job, but the last one is expressly negative given that if someone isn't working, most people can't wait 3 months to start working again.
The bakery itself is cool, maybe the parent doesn't like the stuff added around it. The bakery building still has the NBC sign, in terracotta, above the original entrance.
Announcing ASP.NET Core RC2
If we're not counting PyPy, and we're not counting Cython, and we're not counting the ease of writing CPU-bound code in C or C++[1] while leaving the rest of your application in Python (e.g., like Numpy and other libraries do), then we're left with:

Releases like Python 3.6[2], where lots of little optimizations are made, give Python a performance growing edge on Ruby.

1. https://docs.python.org/2/extending/extending.html

2. https://docs.python.org/3.6/whatsnew/3.6.html
Huh, that doesn't match my intuitions at all (at least on UNIX-based OSes), so I'm pretty surprised and want to re-adjust my expectations. You're saying that you regularly see compromised machines that are running kernel-mode keyloggers, but only keyloggers? What has the attack vector been, and do you know where they keys are being logged to?
It depends on the business. For a consumer oriented business, it could be great to have a whole bunch of people with a vested interest in your success.
Her son being misinformed, assuming that was true, is not a hoax. By definition, a hoax is an intentional deception. You claiming that it is a hoax explicitly means you think there's an intent to mislead on the part of the editor.
I've been following Buffett since the 1990s and his reputation for shunning tech seems to be based on his wise choice not to play in tech in the late 1990s. This seems to be based on relatively simple valuation techniques as well as asking the important question "Do I understand the business?". Of course he missed some winners as a result of this but overall it helped his results. His two tech moves so far, IBM and Apple, don't violate that approach at all so it makes sense.
Rebuild times for almost any decent C codebase are less than that, and people should complain. Wait a bit longer, lose more feedback cycles.
No. I don't want to have a device listening to everything I say or do.
Show HN: Curated activitities for you to do in the local area
The form of a man?

My point is there's no sex field next to my handle... It was just assumed. I'm guessing that you googled me to even start this discussion, and even then you have no idea what my gender identity is. These biases are the types that keep tech a men's club and make it hard for women to want to be around 99% guys.
Intel's problems are long time coming. They lost track of real customer needs and have been operating in their own x86 centric world. It was always "let me build it first and then try to look for a good usage". I am ex-Intel and used to do software things. None of the leadership had a real sense of what customers really wanted and the h/w architects just built things that they are really good at. And they justified it in unnatural ways ("You know why you need such a fast processor ? You can run this flash game at 10K fps").

Things have been getting very efficient both on the client and the server side. With Cloud, they will have some momentum behind - but long term, I think the glory days are gone where they can just produce chips and someone would take it.
This looks really useful. Could be just what I need - thanks a lot. :)
... and also the GPU market.
"Profitable profitable" - I, I just can't even understand why someone would say something like this.

What's next? "We're negatively profitable right now but hope to swing to an evenly profitable state and then turn positively profitable profitable in Q2 2017"

SMH...
Judge Grewal joins Facebook
Thanks. I tried with different browser and it worked.
HN discussion 3 days ago: https://news.ycombinator.com/item?id=11686029
DHH is ridiculous. Ruby and Rails are nowhere near fast, in the past or present. Especially the past.

http://harmful.cat-v.org/software/ruby/rails/is-a-ghetto

> The main Rails application that DHH created required restarting ~400 times/day. That’s a production application that can’t stay up for more than 4 minutes on average.
Right, the App surveys suffer from selection bias in a huge way. It's almost the pinnacle of what Silicon Valley gets made fun of for, right: "you're so dissatisfied with your comparatively cushy life that we'll make an app for that!"

Yet we've seen [0] that our happiness is relative to our peers. Is the happiest illegal immigrant better off (happiness-wise) than the saddest millionaire? We build our floor on our parents' (families' etc) ceiling. If we build a craptastic studio apartment, it doesn't matter if it's on the 300th floor, we're still unhappy. I guess that's the empathetic way to look at it? Sociology is hard.

[0] http://www.eurekalert.org/pub_releases/2005-08/asa-mcb080805...
The value of the write-up is a reward at least.
> I'm also a big supporter of a technology that can instantly detect whether someone's reflexes are impaired by cannabis.

We simply don't need that; this presume driving while high is a problem that needs solving and it quite simply isn't. There's no evidence to justify treating pot special like we do alcohol and specifically testing for it.
NET Core RC2 released
Single sign-on improvements in Fedora 24
I would say that Judge Grewal is one of the most influential judges in patent law in the country. I am saddened that he left the bench.
I know that Ruby was broadly a horrible mess in, say, 2010.

For example, the Ruby interpreter never returned dealocated memory to main, it just kept anything deallocated by a program in it's own memory - copy a huge file between machines, wind-up with a

The head of operations of Twitter told me that at one point they were starting and killing ruby processes every minute because of Ruby's huge memory appetites and they not only had to throw huge amounts of hardware at the problem but also throw huge amounts of electricity to keep with the CPU churn.
>
Like I said "to be determined" is what I understand, however they appear initially to be employing a real-world company avatar: DAO.Link, based in Switzerland.

Sounds to me like DAO.Link (which appears to be an offering of Slock.it) is the actual legal business entity involved, and that the legal basis and enforcement mechanisms for assuring that it acts as expected by the participants of the blockchain-based entities it interacts with is...somewhat murky.
How to suck at basketball:

1) Be short.

2) Perform the same behaviors as tall people.

3) Goto 1

....Do you see how this logic doesn't hold up to scrutiny?
Yes, and I'm contesting the statement that this research made any information "more readily accessible." In what way was information inaccessible before the study, and accessible afterward?

The only qualifying scenario I can think of is if someone deleted their profile during the study, and it "reappeared" as a result of the study publishing its data.
this (SyntaxNet) is also about natural language understanding (NLU)