skysight-inc/HackerNews huggingface dataset:
> If you've got a way to compile Ruby to JS that has tolerable arithmetic perf and doesn't do type analysis or generate a huge volume of code, I would definitely like to know more about it.

Yeah, that's kinda the point, you can do that and preserve Ruby semantics?

Let me note here that is a strawman indeed, Dart has frozen classes, Ruby is a bit different. In order to do something like that you should inline a ton of ternary operator to check if the method has been redefined on that particular object.

Something like:

(a._isNumber && !a._plusRedefined) ? a + 1 : a['$+'](1)

plus listening on new method definitions to set `_plusRedefined`.

It's definitively a trade off, readability will suffer.

Opal had optimized operators in the past (that assumed native operations on numbers),
they could even be back in the near future. But what I see here is a comparison of two different language semantics. I agree that “compiling to JS is hard”, but I don't think that this demonstrates anything. What can be argued instead is that JS VMs could and should do that for us.
This was actually one of the easier aspects to solve, the webcam server ran on a different port than your regular web server so it knew exactly what it was that you were going to request, it existed for one purpose only: to serve up those images. There was no HTML or other stuff to be confused with. Technically it was probably possible for a browser to re-use the same connection and to request say in index.html after requesting an image but in practice this simply never happened. After the first image request all the subsequent requests on that same socket would be image requests as well.
"maybe you can program in an OO style at a high level, use functional style code for the low level implementation."

That's sort of the Erlang approach, right?
To change sound playback device, you simply right-click on the speaker in the system tray > Playback Devices > choose what you want and click on Set Default.

Sounds like most of your issues mostly relate to just not knowing how to do certain things in Windows. Which that's basically the same reason people have issues with Linux.

It's fine to be comfortable in Linux, that's actually a great thing, but Windows is incredibly capable and usually easier to use for more advanced things. The basic UIs are similar enough to not be a big deal.
Interesting to hear your experience. I'm wondering which library you switched to and how's the experience been with the two separate libraries?
The plane tickets and accommodations are just populist fodder. It sounds like an asskicker of a project and some luxury isn't that bad. The screwed up welds and cracks scare the hell out of me though, that's the real story.
Game Development with Unity 2D – part 5: A grid of Roman centuriae
I think you missed my whole point. Whoosh. (PS. This is silly :P)

> if [native code] was enough people wouldn't care about parallelizing Python

They would, for the same reason that they care about parellelizing Java -- once you're hitting the limits of single-thread speed (whether it's by being fast yourself or by having fast extensions), multithreading is next on the list.
As it appears to be the case with most people here, I did the same thing - started while still employed.

I started a cloud and security solutions company that mostly targets the government market, but also commercial to a degree.

My employer was supportive. The government market is a little different, though, so if you work for a large company they sometimes see you as an opportunity to work on contracts that are targeted only for small business. For example, you can get these special "small business only" contracts and bring them to your (former) employer to work on as a subcontractor. You both win in this case.

The company is currently growing steadily after about 9 months in operation. We're in this for the long term, so steady is better than a rapid ascent. We have about 5-6 employees and are generating enough to pay myself a large percentage of what I was making working for other employers (which was fairly substantial).

My advice is don't burn bridges - meaning don't let your startup work impact your "day job" while you are doing both. Your employer can be a gateway to your first customers, so don't upset them. Also, there is no "ideal" time to make the leap, but when things are noticeably starting to take off (a couple solid, stable clients on decent-paying contracts) and you can pay yourself about 30-50% of what you were making in your full-time job it would be a good sign.
What they charge as a 'fee' for each CC transaction will determine what competition in the online payment space will look like over the next few years...
Latency Mitigation Strategies
Shanghai is more or less a first-world city these days. American-style hotels will not be hard to find. Your "if it's even available" parenthetical may be true in general but is rather absurd in this particular context.
Here's the LKML listing, because that little asp classic site seems to be having some slowness, and they didn't really include much more than a small summary, which is about as big as the whole lkml article anyway.

https://lkml.org/lkml/2014/6/8/70
Smart TVs subverted by radio attack
For me, it's the same consonant, but the vowel sound is very slightly longer in "whirred".
I'm fairly certain this is more for users and not developers. Giving people an easy small window for little-apps makes a lot of sense to me.
Suprised that the year ended with one language and not another, particularly given his background.

This could be indicative of a "good enough" FP trend where the net affect of language authors cherry picking FP constructs does not, ironically enough, result in significantly increased adoption rates for those FP languages that are at the forefront of FP R&D.

Case in point: the recently announced Swift appears to have a decent grab bag of FP candy that will immediately appeal to legions of iThing app developers.

In short, it may be that Haskell, and particularly Scala (fending off Java 8, Kotlin, Groovy, and Clojure) will be fighting for scraps until one of them comes up with a killer stack that launches them out of niche status into the mainstream. Could be awhile yet...
Nice ! I like how you've organized the website.

IMHO :

- 60 minutes workouts may be a little intimidating for some

- you could tag workouts "@Home" vs. "@the Gym", depending on required equipment

- maybe you should say who you are, and yes, justify you have some form of authority to provide workout/diet advice... I'd like it more personal, like a private coach...

Lastly, Small problem with quotes: http://imgur.com/fvliwtG
(at least on Chrome and Firefox / OSX)
This could be a really neat idea. If they don't already, I wonder if Google would consider verifying business phone numbers optionally. Android's caller ID powered by that database is awesome but if they had verification they could potentially make a real difference here. It definitely seems backward that we apply more verification to a company's Twitter account than phone number.
> Every time we checkin to GitHub, Jenkins is called via a post commit hook and builds, unit tests, and integration tests our code as is typical in a continuous integration setup.

Are the tests run against the docker image that is going to pushed on passing build?

> As images are pushed into the Docker registry they are versioned using the Jenkins build number.

Why not use the git SHA ?
I didn't get that from the article, but they aren't explicit about it.
Dude, this ain't no straw man, this is my life! :-)

("only the names have been changed, to protect the guilty")

Not sayin' it's a universal problem, but it's a problem for me.
Seems to work on FF/OSX Mavericks
Is Docker one of those things that works better for big projects than small ones? I tried using it for 3 little projects, just to see what all the fuss was about. But every time it ended up being easier to use bare LXC.
> people would see fever dreams at best and unwholesome value-destroying privacy-invading witchcraft at worst

Oh yes. The hacker subculture, even parts of the tech industry in general at the time was dealing with things like the Clipper Chip, the V-Chip, and Operation Sundevil. There was a love of tech, but a good dose of distrust as well.

There was also a certain aesthetic to 90s tech. It needed to be obnoxious and tech-looking. Well, everything needed to be obnoxious & in-your-face in the 90s.
STM applies to OOP just as much as it does to FP. There is nothing magical about monads that make STM possible, they just make building the infrastructure for STM easier.
Ask HN: Is there any way to ACTUALLY stop biodiversity loss?
The amount of species disappearing every year is scary to think about, 100 to 1,000 times the natural rate. I'm aware of many of the causes, they have been written about extensively. However, the solutions proposed don't sound too convincing.
But we concluded it was round based on how we see it from here.
Find Out Which Hollywood Celebs Are Betting Their Money On The Startup Nation
Building a responsive SVG map at the BBC
Very cool tool. Signed up to the list, and keen to see how the service can simplify the data viz process.
This link, I presume: http://silverman.svbtle.com/the-best-time-to-post-on-hacker-...
A Bug's Life : Security Level Cray
There's a company that is trying to do this with microbes: Joule Unlimited[1]. I have no idea whether they are going to be profitable, but it is a really cool idea.

[1] http://www.jouleunlimited.com/how-it-works
Curious why it was easier to use bare LXC?
> The valence of Andreesen's feelings about Snowden isn't at all weird.

Of course it's weird. In one breath he says Snowden gave US national security secrets out to "everybody on the planet" and then proceeds to claim what came out shouldn't be surprising because everyone could have known already.

Either it's public knowledge or it's secret.

And that's not even counting the public knowledge and suspicions that, a year ago, simply weren't taken seriously because they was too far into tinfoil hat territory.

Now we know for sure that shit is going on, and people can form a real opinion about it and speak up about those opinions without immediately being labelled a paranoid schizophrenic, because we can't deny it any more either.

Read that again maybe, if you don't see how that's a huge deal, even if his revelations were merely things we already sort-of knew and suspected.

If that's not weird, it's at least stupid and disingenuous.

BTW there was no reason (at all) to insinuate the idea of Snowden working together with the FSB in the first sentence of that post of yours, similarly as there's no evidence at all that you're hired as part of one of those psyops campaigns to downplay all things related to Snowden/NSA here on HN, none at all. You know I feel really dirty for just writing this and planting that idea? Why didn't you?
Yesterday I used a VPN (TunnelBear) + ITV (UK) app to watch the Roland Garros final.

For the WC I will download whichever TV channel app that streams the football and use it with a VPN in order avoid geo blocking. I will do this for whichever game I can't watch for free on TV. Given that I live in the EU, and using this as precedent (http://www.bbc.com/news/business-17150054), I don't think this is illegal in any way. Hope that helps.
There are plenty of side effect free ways of dealing with change...you can make the effects you know...explicit. Anyways, for a game like SMB, FRP should work relatively well. Just be careful with collections.
So redeploying means switching database to a different docker, and means interruption (thinking of traditional relational DBs here)?
You can do this same thing in C to get Objects.

Also I believe there may be a typo in your last paragraph

>while staying clear of the brittle mess than is inheritance

It should be "that" instead of "than", I think.
I heard someone had an issue with the pointer lock on FF/OSX. Did you see any issues with the pointer lock?
I don't see the point in using a Bitcoin-esque protocol for a voting system (ie a hashing based blockchain). In fact the existence of a double spent vote could simply invalidate both (or all) votes; the user attempted to cheat, no need to decide which is valid. Otherwise vote acceptance could be based on the votes of the ids themselves rather than by hashing power. You say decentralization is a key aspect, but the distribution of whatever underlying identity the users are voting with still has to be centralized. Bitcoin has opened people up to these sorts of ideas, but that doesn't mean it has to form the basis for everything in the future.
Centralized control for image upload – image size, format, thumbnails and more
I upvoted this on designer news, happy to do it here as well.

This is such a slick app. I agree with the person who suggested SASS, but really, great job. Getting it so clean and slick must've been tough.
This post introduces Cloudinary's upload presets that allow you to control your asset upload options using an interactive UI or an API. You can update image uploading settings live for your web sites and mobile apps with different thumbnail sizes, tagging, photo moderation and more. Sample code included for Ruby on Rails, PHP and Node.js.
> With Haskell their reuse was an order of magnitude higher as measured by the number of external library dependencies!

If we're talking real world -- as we should -- then this should be contrasted with the tradeoffs and alternatives. The most important kind of code reuse, IMO, actually happens at a larger scale, and in the past few years has worked remarkably well, since the advent of open-source. I'm talking about reusing projects like ZooKeeper, Hadoop, etc. Being able to use such a project might save you millions of LOC, regardless of the level of internal code reuse. The lack of Haskell libraries and bindings relative to other languages reduces this most important kind of reuse. In fact, using ZooKeeper also reduces a large number of bugs.

> But don't worry, we're working on it.

Excellent. I'd love to get a full picture, tradeoffs and all, of a big, important software project in Haskell (which isn't a compiler).

> The other day our newest hire made the comment that at our company each individual developer is responsible for roughly the equivalent of an entire team at all his previous jobs.

I can say the same for my current job, even though we're mostly doing Java (and some Clojure), and at our previous jobs we also used Java. This mostly has to do with the quality of developers, company structure and size, and less with the choice of programming language.
Huh?

The big difference is opting in and consent. That’s what’s important. Also, yeah, Apple get their 30% – but only if apps actually cost anything. Those store apps usually don’t cost anything (the stores want to sell the stuff in the stores, not apps) so they will cost Apple money, not make Apple money.

I don’t really get where you see the incentive for Apple to do this, besides privacy.
s/his/their

Unless of course there is something on this service that actually limits all of your users into being one gender :)
JetBrains make the best IDEs on the market, their products always surpass my expectations. I use their python IDE and the php IDE both fantastic products that are well worth the money(and i HATE paying for software).
No i don't work for them and i am not affiliated with them i just happen to appreciate their amazing software.
Some time ago I collected a list of games, that are related to science/education, but at the same time - can be played for fun (so it's not "gamified exam preparation")
https://hackpad.com/Science-based-games-J0X4MSberlM
A consideration to you:

You spent 4 years of learning Perl, 4 years in which you likely also massively improved your skills as a programmer, regardless of the Perl angle. Then you went to Python, bringing in your programmer experience, probably started off with a good book and had a much happier time.

So, do challenge yourself and ponder how much of that come from having spent 4 years programming, and how much from actual differences in the languages?
Poetry v Writing: Battle 1 (Mark Grist v Mixy)
Really? Pricing is the main question? How about how much time does it save, relative to the up-front investment of learning a new tool? As a developer, your time is worth far more than nearly any piece of software you will buy!

It seems incredibly ironic that software developers have hangups around software pricing. With the amount of money you can make writing software, and the amount of time good tooling like this can save, it should be an absolute no-brainer. They even offer personal licenses and free versions for OSS developers.

The best justification I can think of is the non-free aspect. Any text editor requires a lot of up-front investment to master. As the centerpiece of a developer's workflow, developers could be justified in favoring an open-source editor to embrace. But if that's your reason, $1 is just as unpalatable as $1000.
Thinking software at the RTL level
I work a full 8-5 salaried job, have a side job from 6-whenever I sleep, and am starting a consulting gig with a friend of mine.

All bootstrapped, all while still having security. Things are still in their infancy, but we have 5 clients between two people, so things may pick up a bit soon.

I wouldn't do this any other way though. It may take a little bit longer to set everything up, but I have security. If everything fails tomorrow, my worst case scenario is I get back up and go back to work in the morning.
Deterministic Parallel Ruby
It seemed to me to say that the Future of Kinect is not particularly as an essential aspect a major gaming platform. "Museums, hotels, and corporate offices" seemed to figure large in its increasingly tiny future. The article seems like a bit of a swan song—maybe a consolation prize to honor all the people who worked on an ingenious but basically rejected product?
Quite scarier than the TinSnail demo, but it must have a much lower bandwidth. The source only has three links and you will probably see all three if you have caching turned on. I guess if you're looking for one or two specific sites, it doesn't matter.
>So, you're argument against GMO is not an scientific one, just that you don't trust companies. Do you have any scientific argument against genetic manipulation?

Yes. You cannot do proper science if you're motivated by profit to rush it to market, to hide bad results, and to not give a fuck about properly investigating long term consequences.

That it's based on technology (the technical ability to do something) and not deep scientific understanding of it.

>Do you have any scientific argument against genetic manipulation?

Did they have many scientific arguments against thalidomide?
FP doesn't ignore state, FP reifies state and state transitions and allows you to talk about them more explicitly (and, if you have static types, use your type system to reason about them). 2 is no reason at all to avoid FP.

That said, I agree with others here that there might not be an FP language that is a good fit, mostly because they have some trouble giving good guarantees about memory usage (particularly true of Haskell, with its lazy evaluation, but gets to be the case whenever you're passing a lot of closures around).
I think the "object"-less OO tag is a bit overblown. Structs are objects. Just because Go creators didn't choose to name them that doesn't mean there's a fundamental difference between Go structs and other languages' objects.
I went to school and worked part time while starting a business on the side. Looking back, it's interesting to note that one may go through a progression from freelancer, to contractor, to consultant and beyond.

Regardless of what you want to do, some lessons are waiting for us in every decision we make, regardless of the direction.

Entrepreneurship, at a small level, teaches taught me real business skills. There is a huge value in building something small before something big. The difference is sufficient enough that the "go hard or go home" mantra neatly seems to divide the folks who solved any problem of value to others, vs trying to channel their inner Steve Jobs, or doing as others are.

The most valuable thing I have today is the realization that I"m going to do this for a very long time and I will not accept anyone telling me to go home.
Are you talking about the website or about Firefox now :)
This is a fork of JRuby that allows you to build programs that are parallel but are also deterministic, avoiding one part of the difficulty in writing parallel programs.

Source code: https://github.com/RB-DPR/RB-DPR.
You know, you're right - that does sound a lot like Erlang.

Which is generally considered an extremely pragmatic language.

I guess it all goes back to the Actor model and the origins of OO in Simula.
Rights can't be voted off.

Fix that problem first.

Then suffrage won't be necessary at all.
How do you deal with performance problem?

In a classic "apps run on a known instance" model, when the instance starts having performance issues, I can ssh to it and use the usual tools (iosat, top, atop, netstat, etc...). With docker, how do you correlate instance/docker, and do perf analysis?
The use of the word dimension here more than likely stems from dimensional modeling / data warehouse / OLAP design [1], where designing your database in a star/cube schema will allow you to query it easily across many "dimensions".

With crossfilter.js your data gets structured similarly and then bound to d3.js svg charts. dc.js provides the glue between the two to make it easier to work with. This allows you to interactively select part of a chart and immediately see other charts bound to that data get filtered at the same time.

It allows for an interesting way to explore / visualize data.

[1] https://en.wikipedia.org/wiki/Dimensional_modeling
What do you consult?
Interesting but this method is limited to the URLs that you list in the javascript (in this case linklist.js). More of a specific validation to see if the user has visited the links you provide rather than a total data scrape.

To full scrape the users history you would have to list every URL in existence.

Great proof of concept though.
Modulus Acquired by Progress Software
Remember that video has a lot of contrast and that's why your home page is so busy and the headline is getting lost. Nothing worse than a headless ad.
> I use their python IDE and the php IDE both fantastic products that are well worth the money(and i HATE paying for software).

I don't think I've ever seen a better advertisement for a product.

Think about it: we're carpenters but we really don't want to pay for our hammers and saws! Paying for tools is fine, if they are good quality and give you a competitive advantage.
>The phone is a good example, if only because it's one of the few areas where reliability is top of the requirements list rather than for instance execution speed. That's why it should be no surprise that Erlang has a telecommunications background. It even factors in broken hardware to some extent.

Yes, but my point was it took half a century or more for the phone network to have the reliability we enjoy today.

(Not to mention how the mobile phone network STILL sucks donkeys balls in large parts of the states, including in highly populated urban areas).
FP doesn't just avoid global variables, it avoids local variables a lot of the time: you compute things from the function's arguments directly. f(a,b,c) always returns the same thing for the same values of a, b, and c and does not modify them.

FP hides state behind the concept of monads. This tends to make state-heavy systems harder. Often small embedded systems follow the "state machine" design pattern.
Food in America, in 40 maps