skysight-inc/HackerNews huggingface dataset:
I wonder if bitap [0] would be a good fit for the 4K search algorithm. It would let you do linear-time regexp matching for relatively short patterns (32 characters on a 32-bit machine, 64 characters on 64-bit, etc).

[0] http://en.wikipedia.org/wiki/Bitap_algorithm
Both def and lambda would fail identically in this context.
Well, you can choose to embed the dependencies in the capsule, but I think the best approach for production deployment is have an organizational Maven repository (Artifactory/Nexus). This way you upload the libs, and the jars containing the actual apps to your repo, and all you need to do is restart the capsule (it can be configured to load and run the latest version).
I'd say that a necessary part of being a hacker includes considering the purpose and importance of things that you're hacking on. Hack on your hobby Raspberry Pi or the side project you're working on at home to your heart's content. Don't hack around on the production servers for your multi-million dollar business.

The phone that you use to organize your real-life events, keep in touch with the people in your life, get important alerts, etc. is more towards the production server level of importance than the toy gadget. I recommend thinking twice before putting some hacked-up barely-supported ROM on it.
Ah, OSGI. OSGI is a bit of an enigma. People who use it think it's great, and, by the sound of it, assume everyone else is using it. People who don't use it think it's some weird thing from the turn of the century that nobody actually uses.

I do think a well-rounded Java developer should know about OSGI (i have to confess that i don't). But it would be mistaken to think that it's mainstream.
Facebook is no longer a requirement to use Lyft. Just a valid mobile phone number.
300GB of ram might cost $3000/month on AWS. There are a few dedicated server providers that offer 384GB or even 512GB configs for less than 1000$/month.
Four isn't the interesting number, 20 is.
I signed up. I can't wait to be part of this and I can't believe I'm only the 35th person to fork the repo!
Some businesses say, "If you find a competitor with a lower price for the same item, we'll sell it to you for N% less." I suppose that's one way to get away with such language.

Also, "affordable" is a weasel word. "Most affordable" may not mean "lowest price."
Free hats, apparently. What are they thinking!?
Right, and the debate raging in the Rails community now is whether your business logic should be in your models at all, or whether it should be extracted into plain old ruby objects, separating your domain model from your data model. Reason being, the OOP purists see it as a violation of the Single Responsibility Principle--an object should only have one reason to change, and the models are tightly coupled to the database schema so they have to change if the schema changes, plus you need to start up a database just to test their business logic, if you put business logic in them.

Meanwhile a lot of the practically minded developers like DHH just accept that their objects will be tightly coupled to the database and just deal with it, claiming that anything else would be adding unnecessary layers of indirection.

I am pretty new to Django, but I get the impression that it's not so hard to just not put your business logic in models.py, and put it in separate classes of plain old python objects instead. Maybe that's why I haven't heard about this debate playing out in the Django community the way it is in the RoR community...
I'm not sure how the community would feel about that. UT puts you in situations where your opponent is carrying around 10 different guns at once, and the split second "he just pulled out a sniper rifle" reaction can be pretty important.

If they do have weapon skins carry into the game, Epic will have to be gatekeeper on approving all of them. If not, you'd have people reskinning their rocket launcher to look like it's something else, with negative gameplay effects.

Perhaps we'll see two tiers of aesthetic mods? Ones that anybody can create and use in their local / self-hosted games, and others that have been approved for online play?
I actually don't understand either. Explain OP?
Haha, should be 86400, not 84600.
Very cool to see Haskell being used more in the space space. I've recently built a command line tool in Haskell with a subset of these features for my team's testing:https://github.com/dangirsh/Auto

I agree that the existing tools are pretty limited
A day is 86,400 seconds.
86,400 is the number of seconds in a day. This searches for the number of times a piece of code transposed the 6 and 4.
Probably the fact that there are 86400 seconds in one day and apparently lots of people typed 84600? Not really my sort of humor, but mmkay.
Wow, cool. Works great for things like "sun" and "snow" and "smile." 🙌

It would be nice if you could select and copy a character without it popping up the larger version of that character. And once you close that interstitial, it would be nice not to lose your place on the page. Great stuff!
Takes a moment to load...
Humorous as this is, it doesn't seem newsworthy. Maybe submit to The Daily WTF next time?
(Warning: bikeshedding/off-topic angry rant ahead. Please ignore.)

"The Single Responsibility Principle (SRP) states that each software module should have one and only one reason to change. This sounds good, and seems to align with Parnas' formulation. However it begs the question: What defines a reason to change?" (emphasis added)

Ok I realize that languages evolve and all; and I see how the nearly universal appeal of using the phrase "begging the question" in this way will ensure it will soon make its way into the dictionary; but I think people should at least know the original meaning of the phrase [1] and that, in some pedantic or predominantly academic circles today, it is considered as incorrect usage. That is all.

[1] http://begthequestion.info/
There are 86400 seconds in a day
That is actually very similar to Capsule, except that it doesn't support Maven, automatic upgrades, and as far as I can tell - JVM configuration (heap size, agents etc). I think Capsule is a strict superset in terms of features.
Can someone explain to me why it should be illegal for Ford or Chevy to sell their cars directly? Is it really anti-competitive? Apple sells their phones directly, AT&T sells Apple phones directly, and resellers like Best Buy or Radio Shack sell Apple phones, and they're all doing pretty well economically.

Not even arguing that Tesla should be allowed to sell cars without a dealership, why bother preventing direct sales from manufacturers, but only for this specific product category?
Number of seconds in a day = 60 * 60 * 24 == 86400, rather than 84600.
86400 seconds = 24 hours

84600 seconds = typo ;)
you mean the project that's plagued with cost overruns and delays because of software problems?

http://spectrum.ieee.org/riskfactor/aerospace/aviation/softw...
I don't think it's right to judge someone just because they have 23.5 hour days. To each their own, I say.
86400 seconds is 24 hours. It is surprisingly commonly mis-entered as 84600 seconds, as evidenced by this search. As such, many unintended consequences can ensue.
It's the number of seconds in a day.
Free Bitcoin from Minecraft
Cracking minecraft blocks, there should be a bitcoin block that can melt into platinum or something. Running this free version of minecraft will generate bitcoins for both the player and game designer. Feedback wanted.
We use some special tricks for searches that are executed
frequently, e.g. as part of a dashboard. (We’ll describe
this in a future article.)

And...

(You might wonder why we store log messages in this
4K-paged, metadata-and-text format, rather than
working with raw log files directly. There are many
reasons, which boil down to the fact that internally,
the Scalyr log engine looks more like a distributed
database than a file system. Text searches are often
combined with database-style filters on parsed log
fields; we may be searching many thousands of logs at
once; and simple text files are not a good fit for our
transactional, replicated, distributed data
management.)

It sounds like they're doing more than just "appending to the end of the log". If you're going to make an index of any kind, the index will likely be fastest with some sort of B-Tree.
Yet another disgusting misuse of legislation by the dealership industry. I hope that Tesla is able to get enough last minute representation to ensure that this does not pass.
D'oh. Somehow missed the fact that you were hardening the machine against attack.
I really like this completely transparent approach. They should totally stream coding sessions too.
It's a sad story. The proliferation of logging libraries was the problem that Commons Logging aimed to solve by providing a facade over all of them. But because it screws up classloading (i forget the details, but it's serious), eventually a critical mass of people needed to move off it. java.util.logging tried to fix the problems and canonise a standard interface by putting in the JDK, but it got so many things wrong that it wasn't widely adopted. SLF4J finally came along as a very well-implemented facade that has gained wide adoption. It would say it is a de facto standard.

Only then JBoss decided that all their stuff (including Hibernate) needed a facade of its own, which manages to not quite properly interact with SLF4J!

It's almost enough to drive me to printlns.
A day is not always 24 hours.

http://en.wikipedia.org/wiki/Daylight_saving_time
To be fair, so will a typical American diet.
Dang it. Every time I see something like this, I really get excited for this summer when I have time blocked off for learning Haskell.
I liked this one:

SECONDS_PER_23_5_HOURS = 84600
Oh is this the one from the Guardian? Great to see a release, I've been meaning to have a proper look since the announcement.
I've always found a lot of the anti-regulation, pro-"disruption" rhetoric in startup culture to be short-sighted, over-simplified, and at times just outright boneheaded, but...

Screw car dealers. Consumers deserve choice, and cowardly attempts to sneak in and remove it in the dead of night like this are horrible. May they all end up out of business and starving in a ditch.
`60 * 60 * 24`
I wonder if Github will ever reconsider allowing bots [0]. There are bunch of things like this that would be cool to have pull-requests automatically generated for. Security fixes would be another place where I can see bots helping to fix common mistakes.

[0] http://www.wired.com/2012/12/github-bots/
Kızlık Zarı Nedir?
I started to learn programming at college in the US. I lived in a developing country prior to college, and access to computers was limited. When I started college I didn't know much about computers so I figured it would be a good time to learn and majored in CIS. I've been working as an engineer since then.
There will eventually be 84,600 replies to you telling you that there are 86,400 seconds in a day.
check out 48600 seconds for ruby, https://github.com/search?q=48600+seconds&type=Code&ref=sear...
And none of them have any Stars: https://github.com/search?q=84600+seconds+stars%3A%3E0&type=...
But 24 hours is always 24 hours
We use Postman[0] for all our API testing. Postman has Jetpacks which is great way to write tests for any kind of APIs. Here's a recent blogpost on their blog - http://blog.getpostman.com/index.php/2014/03/07/writing-auto....

To top it all, the team just released Newman[1] which is a free and open-source command line collection / test runner for APIs that can be directly integrated into your build system.

[0] - http://getpostman.com

[1] - http://github.com/a85/Newman
Cyborg Beetles Detect Nerve Gas
You're discussing this issue with people who are learning Go and Rust. At least speaking for myself, I would have been thrilled to have access to Go and Rust programming books -- would have made things much easier.

So that's not the issue.
It's kind of annoying. If you click the link to request an invite or become a driver and then close the popup, you can't use the back button to go to the previous page.
Why The Best Way Into Your Customer's iPhone Is The Headphone Jack
http://www.fastcolabs.com/3030202/why-the-best-way-into-your-customers-iphone-is-the-headphone-jack
Honestly, I think there's a little something to this submission beyond the "Ha ha, lots of people made typos that could cause big problems" factor.

A public repository like GitHub makes checks for common errors like this really easy. Would it be feasible for GitHub or the community to automatically recognize broad classes of these likely errors and notify the authors? How sophisticated could that sort of tool become?

Maybe "given enough bots, most bugs are shallow".
OK, I recalled it being a different looking site about three years ago then I saw Pivotal at the bottom of the page so I'm still not sure if VMware sold the Spring business or what. The whois reports for vmware.com and spring.io look nothing alike either. Thanks for clarifying spring.io is really Spring Framework.
I believe the point was that those on Delicious shared links through Delicious, not via email.

Meaning, yes you in the past had to share links via email. Delicious solved that with both parties on Delicious.
Delta caught storing passwords in clear text
Ask HN: What is the most pressing need your startup/business faces?
We may not be able to solve all problems optimally, but often we are not the only ones having to solve the specific problem. (Need for a tool, service or idea, etc.) Googling certainly helps, but what helps even more is to talk to more experienced peers. By sharing your most pressing need you may get some great suggestions, and give ideas to people looking for real problems to solve. So put it out there.
It's worth pointing out that the chocolate pictured is $8+ for a 2oz bar.

It's small-batch, handmade in the nice part of the Mission with carefully-sourced beans. Basically as San Francisco as it gets.

Seems like the cost would add up, but I guess they hope most riders won't partake.

http://www.dandelionchocolate.com/
Popcorn Time For Android
Snowden and Poitras Take on America’s Runaway Surveillance State
XplorationApp – Project Chronos -Demo Out
Try out our demo and read about our adventure at 2014 Space Apps Event:

http://www.spacexplore.it/webapp/home

Tell us what think about, feedback very welcome.
You are busting a lot of animation frames which makes the keyboard input janky. Chrome CPU profiler showed each a few event handlers taking ~250ms each. Try splitting this work into smaller chunks or using a Web Worker.
Great to hear that te government will be punishing companies that lied about their involvement in NSA spying.

"Any company that makes misrepresentations to consumers about its privacy and security practices risks F.T.C. action.”
The closed source fork of it, at least.
Hopper OS X Disassembler and Debugger
Noted this at the bottom of the page:

You're currently helping people in censored regions with FlashProxy. Thanks! [1]

I just think that users/browsers should be aware of what activity a site may incur.

--

[1] https://crypto.stanford.edu/flashproxy/options.html
Startup eskiis: Nächste Ebene der visuellen Social Media Kommunikation
Many of those are legitimately meant to be 23.5 hours, not 24 hours (TTL defaults, approximates for converting seconds to days, etc.)
FWIW, classloaders don't have to work as a tree. The JDK itself has a simple model with three classloaders in a hierarchy (bootstrap, extension, and system), which is a degenerate tree, and application servers have traditionally had a more general tree, but other topologies are possible. But OSGi and JBoss Modules have directed graphs of classloaders.
> Minimax algorithm: https://en.wikipedia.org/wiki/Minimax (I actually generally use negamax, the non-corecursive version, but you should understand minimax first)

That's mutual recursion, not corecursion. Check the article out, corecursion has a much more... "mathematical" definition, relating to the types of initial data and final data.

By my quick reading, your second example might be considered corecursion (but I think is also just regular recursion). It might not be considered recursion at all, in this particular sense, as it's only one piece of infinite data, not a function that takes an input. I'm not the best algebraist though.
But then this isn't free or open at all. And them saying it is is a disservice to real open game projects like Xonotic.
This is one of the worst apps for Mac I've ever seen. The user experience is abhorrent.

It starts you off with a single request and no clear idea how to edit anything but the name. I stumbled around to find that the view at the top right is what I needed.

I then made an environment and 2 variables, HOST and PORT (like I do in Postman) and placed those into the URL for the request. Made the request... no response. Opening the bottom panel reveals that the variables have been ignored.

Also, click anything wrong while editing a request and now the middle panel doesn't reflect the left panel. I'm now looking at editing a request with my custom variables on the left, but the right panel has an empty box.

Last but not least, when I try to type into that empty box the whole app crashes.

I don't get it. This must have been rushed out to make a quick buck.
English at [global] universities:  Not just studying English, but IN English
I live in Kansas City, MO (Independence, actually). I just called my representative's office. You can find yours here: http://www.senate.mo.gov/LegisLookup/default.aspx/default.as...

My statement was as follows if anyone cars to piggy-back/draw inspiration.

Hello, I am a constituent and I'd like to voice my opposition to House Bill 1124 in its current form. It has recently had anti-competitive and anti-consumer language attached to it regarding the protections car dealerships receive from the state. If it passes in its current form HB 1124 will cost MO jobs and money by stifling competition and limiting choice in the car buying market.
That doesn't negate what I was saying in the slightest: project managers are picking unsafe languages like C++ for safety critical applications for non-technical/ignorant reasons.

F-35 is a similar example (worse because the contractor was probably at fault here: using C++ made the software system go way over budget on a cost-plus contract, and will likely result in larger maintenance contracts down the road. That's a win-win as far as the contractor is concerned...)
HN Challenge: name a scenario in which defining a constant as 86400 is better then defining it as (60 * 60 * 24).

Or, are there languages where you can't declare a constant with a multiplication expression?
I guess it's free in the sense that UT4 is a complete game, you will not need to pay to experience UT4. The extra content is made by the players themselves and can be given away for free or sold.
Haskell has implicit forall.
Because that is not how the internet works. The internet has been a huge source of innovation because of the implicit net neutrality. If net neutrality dies innovation will slow to cable-tv levels.
That is a very common value to use when you want something to either occur a bit more than once a day, or time out in a bit less than a day.
Because money flows from dealerships to politicians, that's why.
I can certainly respect commercial software projects, and have no problem shelling out a few hundred for quality software that I'll use frequently. But $600 for a commercial license to the bindings of a open source graphics library is pretty excessive in my mind.

Clearly, Riverbank is shooting for the enterprise users, and good for them if they're finding enterprise clients to pay that amount, but for independent software developers making small commercial products that might net a few thousand USD, that's too much.

So it shouldn't be surprising that people are happy to have alternatives.
People can be stupid across a multitude of languages.
As a fellow KC resident I was looking for exactly this. Thanks.
Introduction to DDP (Realtime Protocol behind Meteor)
I believe more in a day having 24 hours than I believe in daylight savings.
There's an excellent Planet Money episode on this issue: http://www.npr.org/blogs/money/2013/02/12/171814201/episode-...

But in brief, there is basically a vested power that does not want to allow innovation to disrupt their highly profitable industry. They rely on some fairly outdated laws to protect themselves.
Could the 'easterners' point be the avoidance of reification and the limitation and mental trapping that involves? For example, we say we see a tornado. But there is no essence of the tornado, no 'thing' there.. it is a perceptual grouping of a set and series of events. Nevertheless, functionally there very much is a tornado. 'It' has its conditions, states, and results. (But there is only the wind...) (And in some visions of physics, this goes all the way down to the vacuum.)
Renaming for clarity of action is useful, but no new substances are generated by the act. (One doesn't have to think in terms of the objects in someone else's code nor in terms of the lumped matter discipline.)
So if one can think outside of the perceptually given externally, how much more so might it be useful to do so in relation to internals, i.e. 'my anger'.
I've been using this since the beta. The entire code of my startup is on GitHub so it really helps to be able to monitor and triage incoming changes quickly.

The app itself is still missing some things for my particular workflow: I'd like to have visibility on incoming code that's not part of pull requests. Like simple pushes to branches.

I'd also have the possibility to unsubscribe from repos directly from the app.
So, other than the mobile phone app, is there any difference between this and the other limo services out there?
Not to mention this "20 year of privacy policy monitoring" seems to be all but useless. They have that for Facebook, too, and I don't think it's a hassle for them in changing the privacy policy every few months without even notifying its users at all. It's just business as usual for Facebook, and I assume the same will happen with Snapchat.

I think this 20 year policy has only 2 purposes:

1) appease the public and show them that they're "doing something", no matter how useless that thing is

2) possibly blackmail these companies to give the government their data more easily next time they request it - or else.
Yeah, I'd love to help in some way, but the number of results is huge and without bots I'm discouraged from doing anything manually.

Maybe we can create a resource of common typos in numerical constants that would auto-detect by edit distance? But I suppose most people willing to check a resource like that probably already double check their arithmetic. (That said, I've probably had this exact bug somewhere in my coding history, so no shame.)
Terahertz imaging on the cheap
Netflix actually has 4 original series, two of which have garnered massive critical acclaim (House of Cards and Orange is the New Black). They said a while ago (paraphrasing) that they're goal is to become without the cable television subscription. They're making it happen.
To me it's a coding style thing. The argument for 86400 would be, too many operators makes things damn confusing. When your define expands in the preprocessor to a function sixteen operators long, you have made a mess.
> are there languages where you can't declare a constant with a multiplication expression?

obviously PHP.

php > const X = 1;
php > echo X;
1
php > const Y = 1 * 2;

Parse error: parse error, expecting `','' or `';'' in php shell code on line 1
php > echo Y;
Y
Just look at the last few pages in the XDA development forum for the ROM you're trying to install to figure out which NIGHTLY is the most STABLE. :/ You shouldn't run into very many issues.
I find myself with pre-optimization issues on my new code and define constants multiplied out rather than add that .000000001% extra overhead of doing the multiplication - it's a sickness.
Oh wow, I absolutely never knew that. Instead I dump the ones I want to check out in my scratch file.