skysight-inc/HackerNews huggingface dataset:
> And latency is important. I can't have a user performing a lengthy operation, while at the same time blocking all other users. Real (not fake) threads are needed to combat latency.

And if you have thousands of current connections (the kind of workload Go was designed to handle), and only a few hundred of them are performing "lengthy operations", you could have 4 cores, or 16, it won't make much difference compared to 1 core - which is the vast majority of the connections are going to be blocked for unacceptably long intervals. In this scenario, the only solution is to either queue up work and make the client come back later, or scale across many servers behind a load balancer.

The point I am making here is that people who are engineering scaled out systems across multiple servers to handle thousands of concurrent requests are usually high-end ops people who are not going to be naively assuming that any process will be doing threading in a particular way - they would have already tested Go in details first and would very quickly have seen you need to set the GOMAXPROCS variable to use more than one core. They would probably look at the GC as well. Tuning stuff to run well is what ops people do, and choosing how many cores a process should use is pretty standard stuff (it may be sharing the server with other processes after all).
I love it!

As someone else also mentioned in the comments, it is unapologetically dynamic. In many ways, this reminds me of Perl. The array destructuring assignment is such a common pattern in that language (eg. http://perldoc.perl.org/functions/caller.html)

What's even more exciting/terrifying is that ES6 goes even beyond the patterns allowed in Perl!
> would it help for configuration

Yes, definitely. Try to set up the whole email pipeline in Linux/*BSD. You need dozens of programs including sendmail/postfix and each has its own config format. Many of these programs had their first release in the late 1970s or 1980s and probably no one understand every flag anymore. It's very time consuming (at least 4 hours) to config all packages.

How would a new implementation in Go help? It would be a clean break. Less features but a stable high performance implementation would be a win. Go is the ideal language for that task.
I would like to take the chance to invite English tutors and students who are looking to learn English with a native speaker to have a free view on this excellent website that offers English classes http://preply.com/en/skype/english-native-speakers I am currently taking English classes over there with native speakers and the quality presented is professional and satisfying
The debate over concurrency vs parallelism hit its peak in the mid 1990s, well before Go came along. I remember having arguments with fellow students (and the occasional professor) at university about how it affects memory allocations (stack vs heap), virtual memory layout (the thread vs coroutine stack being one of the bigger issues; Linux's early introduction of mremap was particularly handy) the OS scheduler, etc. It's not just a Go / language feature thing.
Sounds like what EF already do in London (joinef.com) with technical grads.
I'm actually considering going back to Eclipse (or dumping IDEs altogether) because my computer is struggling under Android Studio's memory requirements.

(I'm unemployed and don't really want to pay for a 64-bit system. Anybody want to hire me so I can afford a new computer?)
Cool explanation but I wonder why other operating systems don't have the same restriction. On OSX, for example, it used to be here: /private/var/vm/sleepimage

I suppose they have a clever boot loader with advanced drivers?
Well, in fact bluebird is a very powerfull tool.
Recently I've noticed a kind of a strange fashion in the way of advertising new software projects on HN.

The most important information is not what cool things given project does, or what unique features it has but what programming language it is using.

There is a lot of posts "New blog engine in Clojure", "Amazing email server written in Haskell", "Text editor in ECMA Script version 9", etc.

Sometimes there is more to that: new project comes with better performance, easier code maintenance, clever algorithms used, novel architectural solution developed - stuff that really matters, but Monsti is an pathological example.

The first sentence on their web page says that it is written in Go, as if it mattered for their potential audience, that is "personal, small business, or small NGO websites".

Why should I choose Monsti over Wordpress? Is the installation easy? Does it work on a cheap website hosting? Can it survive Slashdot effect on that cheap hosting? How about comments spam protection? Is creating templates/themes super easy, maybe I can reuse the ones created for Tumblr? And so on.

Programmers might want to know if the GO API is particularly well designed or maybe we can create hooks to customize some functionality or maybe there is some utility to monitor Monsti site statistics.

Who cares that this stuff is written in Go and WordPress in non-fashionable PHP, while the latter offers something that is actually important for programmer, admin and site owner?
Well, I thought OpenSCAD was a pretty fresh look at things:

http://openscad.org/

.. with fairly similar goals - only not for architecture, but rather 3d-printig ..
I started reading his phd thesis he linked in that post, my favorite quote so far:

"The term distributed computing has been used to describe the loosely coupled systems built using this technology. But like many other fashionable terms, distributed computing means different things to different users of the term"
Yep. The Firefox version of Photoshop really cuts it. Not to mention the 3dsMax one.
IMHO the proposed API fix is also risky. I can see someone trying to be clever and simply extracting "alg" from the header themselves, feeding it to verify(), and then thinking "Jeez, why isn't this library smart enough to do this for me?". Someone copying and pasting the snippet to Stack Overflow to do just that would be inevitable. A better fix might be to make like /etc/shadow and stick the algorithm type on to the front of the encoded secret key.

[Rant] Optionally use a statically typed language that supports overloading of the original, nice simple, function instead of doing crypto on malleable data formats in dynamically typed languages and expecting good results... if you go to the JWT homepage[0] you'll see all the statically-typed languages are unaffected by this vulnerability. Coincidence?

[0] http://jwt.io/
There's no reason that technological progress from the US government couldn't be driven by NASA rather than DARPA. I suspect many peace-loving people would prefer to see that.
Show HN: Sleep Calculator – wake up feeling refreshed
This just changes the default, which anyone can do in their OS. If your program breaks when run by someone who set gomaxprocs.. that's a bug in your program.
> I'm not sure what you mean when you say these people have an 'advantage'?

People who buy-to-let are not in the rental-income business, they are in the business of acquiring property, because property prices are sky rocketing.

People with a job trying to get on the property ladder pay mortgage interest with wages. People with second, third etc. properties deduct mortgage interest as an expense.
I think the original intent of the spec was to allow some flexibility... in practice supporting this flexibility lead to some vulnerabilities.

In this case, when you're expecting tokens using public/private pairs for signing tokens and a client library also supports a different signing method, you can forge a token targetting a specific client.

The purpose of having a signature method was to have a fast system in place for being able to verify a token per request... fully encrypted tokens have slightly more overhead when there will be a lot of small requests... though you can also use an in-memory, or simething like redis to have a cache of pre-hashed tokens on the same system, which would reduce at least some overhead for the validation.

As I mentioned in my own post, JWT is easy enough to implement an expected methodology, when you are only supporting a single authority, that I hadn't even considered the problem mentioned in the article, I'd actually ignored the header part for my own use.
Snakebird development, images and history – Noumenon Games
Snapdeal has better prices on a few products, but the overall experience isn't any better (wrong products being shipped, customers cheated by soaps/bricks in product cases). Flipkart/Amazon prices are a little higher but the overall experience is better. Both offer pretty good support as well.

Flipkart is technically more impressive than Snapdeal. (Flash sales/in-house hardware, etc). It has it's own brand similar to Amazon basics - DigiFlip, some of which are of decent quality - cables, chargers, etc.
Xalan is Apache project so there will be redundancy.

(I remember they had a dozen Java MVC frameworks 10 years ago tho)
Java is the obvious example that springs to mind. Because of the requirement to be backwards compatible with Java 1.4, all the type information is erased during compilation. The call for reified types in Java has been heard for over a decade now.

C++ compile type templating is the cause of egregiously long compilation speeds. One of the original drivers for the creation of Go was the speed of C++ compilation.

I don't think you can separate a desire that generics was implemented a different way in these examples from the regret that their current implementation causes.
For that matter, why is there no Minix support? Why no Haiku support?
Uber Unveils Design Concept for Its New, 420,000 Square-Foot Headquarters in SF
So, he thinks it's best for entrepreneurs to ramp up the volatility, because a 90% chance of failure with a 10% chance of $100M is the way to go. Advice from a guy with his own risk spread over a portfolio of such companies to a guy whose whole net worth is invested in one company that has a 90% chance of wipeout.

Hmm. Maybe there's something to that estimate he makes about how harmful VC advice tends to be.
Interesting the obstacles are always magenta.
It's because it's "Hacker News". The main audience here is hacker types who care about language. The main people to target with an open-source CMS, or with an email server or blog engine or whatever is the people who are going to want to hack it, and actually get involved in the project. Finding new contributors is really hard and important in a new open source project, and so advertising to find the kind of people who'd be interested in actually helping to write it is very important.

Once a project is big enough, then sure, drop the language stuff down to page 3 or whatever. But until you've got a community of passionate developers, it's a key concern.

IMHO.
that's only half the suggested fix, the other half is to remove alg from the header altogether... In practice, I've always ignored the alg header, and just used the expected alg for my implementations.
I'm assuming that quote is from:

http://www.forbes.com/sites/antoinegara/2015/05/28/could-ava...

Did the link originally point to Forbes? Why was it changed to the press release (it doesn't seem to hold as much information?)?
Just a note on 2.: If your onetime price is equal to just 6 month subscription time, you're going to lose money. Either you're lowballing your onetime payment, or making a subscription too costly.
Consider a case where you offer both at the same time:
Unless the costs associated with self-hosting are incredibly high, very few people would choose the SaaS option if they can save 6 months of budget on the first year. In this case, I would increase your price to at least a year of SaaS subscription.

As to your original question: Unless your software is special in some way that you don't want anyone to find out about, you can offer both SaaS and self-hosting at the same time. My advice would be to do that, but use a yearly-license model for the self-hosting. Calculate the costs a self-hosted version would cost in total to a client (license, hardware, maintenance etc.), and make the SaaS version slightly cheaper than that.
Community Managers Don't Just Tweet
7 years is worse of a joke 18 months is. The flagship phone seven years ago was the Nokia n96: 128MB RAM, 267Mhz CPU, 320x240 display...
> there's a FIFO, and to post a notification, you write to it. Clients see that the FIFO became readable, and that change represents the notification. The sender then drains the data it wrote, so that the FIFO becomes unreadable again.

Beware: I tried that once, and it was unreliable. Only some clients woke up.
The Economist Who Realized How Crazy We Are
I love Go too, but I have to disagree with you about Postfix -- it was first released back in 1998, it has a very sane config file format, and it definitely does not take 4 hours to configure. Actually it only took me a couple of minutes last time I did it for a client.
It's basically just pattern matching. Similar things have been around since at least the 70s (e.g. in SASL).
First off, great work! Looks promising.

Does it use a geometric modeling kernel? e.g open source Open CASCADE (http://en.wikipedia.org/wiki/Open_Cascade_Technology ) ?

Two other open source CAD come to my mind that use Python as primary scritping language: FreeCAD and the unmaintained HeeksCAD: http://en.wikipedia.org/wiki/FreeCAD , http://en.wikipedia.org/wiki/HeeksCAD
> If you want to serve many requests that do significant CPU work in parallel

For what definition of "many"? If you have 16 cores that is 16 requests being processed in parallel. Go hasn't even got out of bed by the time it is handling 16 connections. When Go is being used for it's intended purpose - handling thousands of concurrent connections, you need to be a lot smarter than just running on all the cores you have.

I'm not saying you wouldn't use all cores to maximize utilization - what I am saying if that if you are scaling beyond one core, then you would already be thinking about scaling across multiple servers behind a load balancer - i.e. you are doing ops work on a production scale cluster. And if you are doing production ops work, you are going to be tuning all the processes under your control in detail, not just making rash assumptions about how they may or may not utilization multiple cores.

The point I was arguing here is that someone who said "Back when I was learning Go" and who understands the "nature of the claims of the language" is not going to be running into these sorts of scalability issues, and would not be bitterly disappointed to learn of a default threading value of 1. Unless they had some misconstrued understanding of what Go's concurrency support was all about, and made an incorrect assumption that it was primarily about parallel computation, rather than it's true purpose of having many thousands of lightweight processes handling lots of network I/O.
It seems obvious that the engineers at Boston Dynamics have spent an awful lot of time carefully studying and analysing the movement of real 4-legged animals.

There's a big difference though between learning valuable lessons & taking cues from natural bio-mechanics, and trying to emulate them.
That API is awesome, and works for more than just payment info. Can't wait until its universally accepted.
How to Code a Live Dynamic Twitter Feed in HTML Email
DevOps Is Not a Culture – It’s a Concrete Activity
Sort of, but ef is acting like a pre-accelerator. The money (1100 pounds a month) for three months is not really serious either.

My idea was more go out and hire all the great people (they are not that hard to find, just hire), pay them well (none of this 50% of the market wage in return for 0.0002% of the company), and put them to work with the minimium of outside friction. If you went to hire talent with an offer of good pay, total freedom in business direction, minimal VC politics, and solid financial support you would be able to put together some amazing teams. On top of this you could give up listening to crazy pitches from spotty 22 year olds.
Muscle, bone, and sinew are about a hojillion times better in building active structures than motors, pneumatics, etc. It'll be a while before robots are as flexible and dexterous as animals.
Agreed, also, differentiating between "touch" and "mouse" events would be a good idea, using a mouse or touchpad for this was kind of a weird experience.

Not to mention supporting left-right arrow key binding.

That said, if this was for a mobile-only interface (Apache Cordova, or similar) might not be so bad. Didn't look to see the implementation details, but Angular, React and Bootstrap compatible versions of this as components would be awesome.
Ask HN: Are there any examples of profitable Google Chrome extensions?
I have been trying to see if I could find any Google Chrome extension that were either profitable or at least created revenue so far without any luck.
So they can spend millions developing the robot, but the best they can do for tracking while they film from the side is a guy pushing another guy in a big plastic box on wheels. Way to go geeks!
Guilt by association? Perhaps SF is not the true source of badness/malware but instead they tend to host the projects most likely to include such malware.
I think bootloaders for Linux have more stages: the initial problem is the same, but then GRUB loads its configuration from [/boot]/grub2/grub.cfg. If it can load a config file, it can also load FS drivers or hibernation files, and prepare the actual kernel boot more subtlety.
No, they definitely are... http://arstechnica.com/information-technology/2015/05/source...
I disagree, paying customers wouldn't put up with a malware infested version of FileZilla, this stuff only really exists at the "free" end of the market.
Wow, I hadn't even noticed that... Other than ExtJS (which is dual licensed, and their intent is clear), I don't think I've seen JS licensed under something that isn't very close to MIT/ISC or similar.

And as to static/dynamic, absolutely.. if it's properly abstracted, does dynamic mean just leaving it in its' own file (separate script tag in the browser)?
In 3D CAD it's usually a parametric geometric modeling kernel. Everything is reversible and changeable, it usually it depends on an tree/directed graph.
Slashdot split from Thinkgeek a few years back.
JEAN AND COLLINS' STORY
Nice article. It certainly works at scale because of the economies. I think this distributed system has potential but there are some issues. There are also some things they could do to make it better if the trial is a success.

Using resistive heating (which is what this is) is not very efficient (even if it's a by-product). A better way to heat your home is to not waste power and use it instead to run an electric heat pump (which are over 100% efficient). There is a good analysis in the "Mythconceptions" section at the end of chapter I.11 of the excellent "Sustainable Energy — without the hot air" [0] on p71 (p84 of the free PDF).

That's the downside but there are some interesting applications. They could enable you to host your own personal cloud on the box in your home. So you know where it is.

You could vary the operating time of the servers so they only operate (or at least only run at 100%) when heating is needed. This could be based on the season, an external temperature sensor or weather data. Processing could migrate between the hemispheres of the world depending on the season.

The load could also be varied based on the local grid demands and power mix. Various real-time data sources are available that report on how green the current energy mix is [1] [2]. You can even just measure the frequency of the electricity to see how well generation is matching consumption. This is known as dynamic demand or demand shaping and you can even be paid by the grid operator for it so it could be a good business model. It would also be nice if they partnered with green power companies that buy their energy from renewable sources.

[0] http://www.withouthotair.com/download.html
[1] http://www.earth.org.uk/_gridCarbonIntensityGB.html
[2] http://www.gridwatch.templar.co.uk/
Tablespoons of liquid chicken fat and pork belly slices are not exactly the life-extending ingredients :)
Because you specifically asked it to do just that?
...and later also VBA (Visual Basic for Applications). The same goes for CATIA v5 (VBA).
It was 4 months ago. A company that I wish to see myself heading towards my dream (Vancouver, Canada). It was the first startup that I have entered. The team are all seniors and I applied to be a programmer. When I started, I found out that my 3 years experience in Ruby on Rails is not enough for me to match my seniors. So I started as a junior programmer. But I didn't start work as what the job that I applied to. First I was sent to work on customer service. Answered tickets, answer calls, learn the product, etc.

As I continue on the job I was changed to QA (Quality Assurance) I haven't question why I have change roles or responsibility. I remember that it was on the contract but I haven't signed it because they forgot to give it and even remind them of it repeatedly. Anyway, after sometime I go on errands checking on the devices that run the app, do some test then report.

I wasn't happy about what I was doing and the seniors are very busy programming. Although they offered to give me a mentor but it didn't happen. It was a pressure to learn programming at the same time when you were exhausted doing work for 12 hours 6 days a week. So I wasn't able to really focus on programming as I start to burn out due to the long work hours. Then after a while they found a person that is more suited in QA. Eventually, I was moved to data entry position. At that time I know that it's time to quit. Then, Monday morning they asked if when am I leaving.

I learned a lot at the startup and also how organized the developers take bugs, feature and enhancement. And then I started to do my startup. It's a challenge but because of my learning form the startup, I was able to get an idea to move from programmer to entrepreneur.
SF takes over abandoned projects and ads the adware themselves.
Seems literally no different from having access to notification center on your phone. In terms of the "always there" point you're making.
> English is dead easy to learn

Maybe it was for you, but its not equally easy to learn for let say Swedes, French and Japanese. I noticed latin languages speakers have a harder time. English accent is very difficult to get right for French.

> Nobody can speak English back in france. It's pathetic.

It's obviously not true. Most people that went through high school at least know the basics. Usually, they lack practice and feel shy and self conscious, but I believe they can sustain a simple conversation if needed.

And all "grandes écoles" students speak at least decent English (I know for teaching in one).

> This is unique to France

Have you been to Italy? my experience is that they're not better than the French as far as english speaking is concerned. Same in Spain.

But seriously, what about Japan? Peru? Brazil? China? There are tons of countries where most people don't speak english at all.

> it's not something we can be proud of.

A lot of time is devoted to teaching English in France. Starting at primary school now. But learning a foreign language is notoriously hard. And things are getting better.

Maybe, what is unique to the French is to think they are so unique at everything :)