skysight-inc/HackerNews huggingface dataset:
Care to share the name/location? My family lives about 10km from Porto so would be interested to check them out when I visit them.
Apple will always have a niche market. It's history shows that it goes mainstream only for a little while. Apple vs Microsoft in the previous decade and now Apple vs Google.
I was wondering when we'll get three-index slices
I use Scala in my job and, though I never formally studied CS, I would be concerned at using it for an introductory course at university.

Scala is fundamentally a pragmatic language - it is about compromise between functional purity and JVM/Java-style (OOP-based) mutation. As such, it's hard to really identify the distinctive features of either because Scala is so liberal in what it allows.

I wonder whether students would be better off learning something like Haskell along with (e.g.) Python or Java. And of course a Lisp of some kind(!).
I find this article somewhat lacking a lot of content, given the amount of information you've been given in the gist and available on the internet.

Anyway, the answer to your "What happens when you run 'Hello, world'" should be divided in two parts.

First, the most important part (in my opinion) is understanding how the compiler translates the C code into assembly. Listing the assembly code of your program in your post is a must. GCC does a damn good job in generating readable assembly output, if you know which flags to use. In order to get just the important stuff, you could use:

cc -S -m32 -fno-asynchronous-unwind-tables main.c -o -

Now you should try to understand what does what. Knowing what the EBP and ESP pointers do is the absolute minimum, because they handle the stack. Also, it's important to understand how parameters are passed using both registers and memory positions, because that's how the system call (and any other function) is going to receive the reference to the string.

Now that you know what the program is intended to do (as per its instructions), the next thing to learn is how the program (its data and instructions) gets loaded in the memory and passed to the processor. Two things involved here: the shell (not the kernel) that reads your command and launches your executable, and (now yes) the kernel executing your program, previously building all the necessary memory structures.

The level of detail you want to go into can be very different. Do you need to know how the shell reads your "./main" command? Do you want to know how the executable is launched using fork-exec? There's a lot involved at this point. You should set your "detail level" and from that point, investigate.
A recent HN discussion [1] on a less recent Stackoverflow thread [2] has some more examples, and some good answers.

[1] https://news.ycombinator.com/item?id=6662342

[2] https://stackoverflow.com/questions/8318911/why-does-html-th...
That's the idea genetic algorithms, genetic programming etc. are based on.
Enhancing the Efficiency of Complex Computations
Ask HN: Best practices around discount offers?
We have a lot of choices when deciding when to offer discounts as incentives for our free users to upgrade to a paid product. We have had very impressive results from our discount campaigns in the past, so we know it works well, at least in our case! The problem is that we don't REALLY know if we're leaving a lot of money on the table and just doing it completely wrong. Valid testing is hard because we have a small number of buyers paying a relative high price.

Should we send them when sales are slow? Should we send them when sales peak, reducing friction among people CLOSE to buying already? Should we just work on modeling behavior and offer them on a case-by-case basis?

Do any best practices exist around this?
It's just a fact that even people with repugnant beliefs about certain classes of people can still make complete sense in other domains.
Wow. I haven't seen a <font> tag in years. My thought processes loading this:

• Ok, that is in fact green.

• I wonder if this is related to the colour name parsing weirdness that was on HN a couple of weeks ago?

• Heeeey, those aren't ASCII quotes!
If you intend to host your service behind something like CloudFlair it doesn't matter that some users don't have IPv6 yet: they'll contact the cache service via IPv4 and it'll contact your servers as needed via IPv6. The end user doesn't have to care, or even know at all, and you have just made a saving by not having to pay for IPv4 addresses.

People will start to care when IPv6 takeup hits critical mass and we start seeing services optimised for it. When people start seeing services they want to use not working as well through layers of NAT, they start asking their ISPs why they are having a problem and their friends on other ISPs aren't. Maybe at some point services will start charging a premium for IPv4 access (so IPv6 users aren't subsidising those who haven't moved forward yet) like on retail business did for IE6/7 users (http://www.bbc.co.uk/news/technology-18440979) then people will care. That seems extreme though and might alienate users, less severe option would be to serve more adverts.

There are some places where things are already heading towards being IPv6 only. A friend of mine noticed this when out east for a work related trip, the hotel he was in provided Internet access but IPv6 only internally. They provided a 6-to-4 gateway so IPv4 only sites worked fine (with everyone from several places looking to be coming from the same address) but your device had to speak IPv6 to connect to the network in the first place (which his phone didn't).
WhatsApp costs 69p and is lame. At least this free I guess.
I think many people in this thread have a very self-informed and naive view of what a society made up of people with unlimited free time would do with that time -- it wouldn't be self-actualizing.

I know where this idea comes from, I think it's very tempting as well. I was fascinated with the society described in the Culture books. But the harsh reality is that most people would not go in the direction that's hoped.
But notice that private networking is more complex. If you want to reach non-public server, either you have to log in into a public server in the same network and then open another connection, or you need VRF routing (ouch!).

With IPv6 you can just ssh into the box directly.
I don't know why is considering that as a RGB notation instead of the color red, but following this progression seems correct:
http://jsfiddle.net/7ACky/2/

red => #red => #0ed => #ed => #ed0 => #eedd00

Could be this?

EDIT: That was wrong:

red => #red => #0ed => #00ed00 seems the correct one.
This is petrifying. My computer knows exactly where I am sitting.
When I made the first version 2 years ago I thought that classes would feel more natural to newbies, but since then have data-attributes become pretty much standard in the community.

But today it's mostly a performance thing. List.js is supposed to be very fast and handle really long lists (check out http://sindresorhus.com/bower-components/ it has 6000+ items)
Seriously? http://books.rkravi.com
Nokia 515 is waiting for you. Really. Check out it.

Still there is nothing exceptional about this hardware IMHO.
Ask HN: Universe expands. What's the area outside the universe called?
Eternity?
Thanks for the answer! I will give Locomotive a try next time I need to install a new CMS.
are the ads same? If so, either the system should be smart enough to not show me ad if i skipped it a few times. Or perhaps provide a "dont show me this ad" checkbox
There is no reason to not listen his views on software, if he has weird views on homos.

He is a horrible bigot when it comes to gays. We as logical rationalists should stop labeling someone as 'Insert some hateful word' and ignore everything what he says.

This is occurring more and more these days, if we dont like someone's economic views we label him as communist and completely stop hearing him.

Few days back someone mentioned; Zed shaw is too cocky, so whatever he says is shit.
I completely agree. One might even argue that idleness would also give well-meaning people the free time necessary to work on effort-intensive community projects that might help mitigate the problems the comment above mine was concerned about in the first place! But humans are tricky creatures, and I can see how it might turn out poorly. I think community interaction, events, and promotion of constructive activities (opt-in and minimal government interference, of course, we still want to maintain freedom of ideas) would be a very important part of any pro-idleness society.
Idleness is the symptom. You're absolutely correct that their environment is the problem. Shatter than environment and make it unavailable (I wrote about this at length elsewhere in this thread) and the symptom will go away.
It's clever as long as you operate in a zero-friction environment :)
You're right. Thanks for the improvement report! I'll get on it right away.
Web 3.0 is the semantic web, thank you very much.
Same thing here.

I then hit F5 and it told me I was in Germany.
That's because to minimize shipping costs you will get a package of 1kg every second month. Not 500 gram every month.

Thanks for the feedback
I guess "report" is too strong an option, but you tehy should provide you the ability to ive feedback. Even FB lets u tell them that this ad is against my beliefs and i dont want to see it.
Yeah 4 digit id's seems a little crazy... Why so low??
Tons of papers are published every year for the sake of publication, careers, .... absolutely not for the sake of science.
Most of them do not even contain any significant delta with previous research.

An important activity of the researcher is to sort between interesting papers and garbage, since the selection process of even high level conference is deeply broken.

Just read SIGIR proceedings where every paper beats the previous baseline by 0.X % on datasets that do not represent the real problem, it's just an example among many others.

Also check this interesting analysis where the authors analyse best vs top cited papers over a span of ten years:
http://arnetminer.org/conferencebestpapers

Here you can see that some conferences where able to identify lasting value and others not.
There was a big Stack Overflow post on HTML color rendering[0].

Basically, the browser thinks it's looking at a malformed hex number and strips the invalid chars, in this case turning “red” into 00ED0. This is padded with 0s until it's divisible by 3, giving 00ED00.

[0]http://stackoverflow.com/questions/8318911/why-does-html-thi...
> If you want to buy stuff and ship to Romania with a US credit card, that will raise a lot of read flags I'd imagine

I'd imagine that would be a shitty algorithm.
Always wanted this! I redeemed KTN44AKFWKL4.

UPDATE: Working great, thank you very much!
This paper is more than 10 years old. Since then a new systems research arena has emerged: virtualization / hypervisors. (Not exactly new, but new on the consumer market. Before, VMs were only in the mainframe land.)

"Compatibility" has killed OS research, because the OS's main job is to multiplex the underlying hardware among applications, and it seems that the current OS's do that well enough.

I think that "systems research" has today moved towards building infrastructure on top of VMs (Java / .Net). There's a lot of innovation there which would have before went into a new shiny (and incompatible) OS. (Example: Java security policies.)

Also: writing a new OS requires a lot of upfront investment with _zero_ research value: boot/startup code, managing the CPU's idiosyncrasies, _drivers_ for bazillion of different HW units, a filesystem, TCP/IP stack, etc. No wonder people just tweak existing systems, as it's almost impossible to rip out these boring parts from Linux/*BSD kernels and reuse them in something new.

My personal wish for furthering system's research of today is something that would kill the need for hypervisors. Android, for example, runs each app under a different UID, thus achieving isolation w/o hypervisor. Let's devise something similar for desktops/servers; bonus points if the system can run existing binaries.
OT its about universe, not Earth :)
One shouldn't feel obligated to be tolerant of intolerance expressed by people with power and privilege against those who have less power and privilege (like a wealthy, straight, white male attacking LGBTQ folks). That's a very common tactic of bigots to claim that being told they should stop oppressing people is oppressive toward them. Demanding an end to oppression is not oppressive toward those who currently benefit from that oppression.
Thats odd but I see it all light green on Chrome, Windows 7. http://i.imgur.com/0mRarjC.png
I wrote Commentary to address this issue - https://github.com/sdqali/commentary
I know of several German ISPs (Kabel Deutschland, MNet) that don't even give you a dynamic IPv4 IP anymore, but use Dual-Stack Lite (that is, IPv6, and carrier-grade NAT to access public IPv4 addresses). Oh, and they limit the ports (and thus connections) you can have open at a time, to something like 1000. I wouldn't want to have such a connection.
Rivals can create copycat software through testing and user manuals: UK court
Glad I could help. Nice project!
The reason why people don't pick up on Card's shit writing while reading Enders Game is because in Enders Game he substitutes "actually writing complex characters that develop as the story progresses" with "child characters who merely become less foolish as the story progresses". It is a surprisingly common cop-out, making a character a child is a great way to disguise the fact that they only grow in one dimension.
Help HN: Items for the homeless for Christmas
Hi Guys,

Got a big favour to ask of you! Our website GetInspired365.com dishes out daily doses of inspiration. However, we also want to try and inspire people on a wider scale. To this end, we are launching a Homeless Christmas Appeal. We're after people's spare old clothes, scarves, hats, umbrella's, books and anything else that could be of use to someone who is homeless.

Our hope is that people will send us their items and we are then going to gift wrap all of these items and put around five gifts into each Christmas sack, as well as a toothbrush, toothpaste, soap, a list of housing shelters and a list of places that are cooking Christmas dinners. We will then be going out on Christmas Eve and handing out our Christmas Sacks to various homeless individuals in London.

We wondered if you'd consider sending us any stuff? Or, alternatively, if you'd consider doing something similar in your area. If you did do it locally then we'd love for you to film it and post it on our site. If you want to send us any items then please drop steve@getinspired365.com and we can give you our address and help with postage costs.

Any help you can give us would be great!
Thanks!
Why I’m not on the Julia bandwagon (yet) (2012)
Well, first sorry for that.

It's on our roadmap to move away from paypal asap. The reason we started with it was purely out of easiness.. I don't know if you're based in Europe but around here setting up a merchant account with a company like PayMill or Braintree can take up to 2 months before you can process any payment.

Again, sorry for that, it will be fixed as soon as we move away from paypal which I hope will happen in the next couple of weeks.
I am a heavy user of Go, I use it in my job and for side projects as well, for years now.

The lack of generics in Go takes away most of the fun from coding after a couple of month. Despite what is being said, interfaces do not lessen the pain.

With a better type system, taking ides from Haskell (ADT, generics done well, ability to implement interfaces for a type outside of its package etc) Go could be the perfect "dirty Haskell" for me, but now it is just a meh language with a half assed implementation.

That being said, it is still a much better choice then a lot of overcomplicated languages out there.

EDIT:

The biggest practical problem with not having generics is the fact you do not have access to list (slice in Go) manipulation functions. This means you have to implement them yourself, on the fly, for the given type when you need it. This does increase the time it takes to implement something, but also can introduce a lot of bugs as well - you can't rely on (almost guaranteedly) bug free implementations of existing functions.

Of course this runs much deeper than just the list type, but on day-to-day basis I feel this to be the biggest pain. But the rabbit hole is deep: we could get into how the multiple returns values are just a really inconvenient (not composable) workaround of not having a generic tuple type...
Wot? Didn't that use to work?

I remember that HTML had named colors, like "goldenrod" and "peachpuff". Or was that just css?
you can also search/post on reddit.com/r/askscience
His book Lost Boys contains pretty fair descriptions of the videogame industry and development processes in the 80's, and he did a good amount of videogames writing in the 90's, including Monkey Island, The Dig and the disaster that was Neohunter.
Hmmm, this was rather out for me. I got: http://mapme.in/1515 however I live almost 5 miles away from there.
The simple answer is: the universe.

Just today, Fraser Cain posted a video to answer this question.

Have a look :
http://youtu.be/Kj0TwTonG_8

Hope it helps!
Not necessarily. talaria ( https://github.com/m2w/talaria ) provides a way to use Github for your comments.
> Could you explain a bit more about the tooltip issue you've mentioned?

Say that you have a dynamically generated form where an input should display a tooltip only in specific cases.

Using tooltip="" will not do the trick, you have to do some sorcery to attach dynamically your tooltip, aKa: using compiler in your controller to replace dynamically the DOM region with the DOM elements returned by $compile and jQuery.

> I find that services are relatively essential building blocks for my applications.

But they doesn't help much against the issue of feature scaling.

Some UI logic just can't be factorized. Some other data handling is to specific to be re-used elsewhere. In a large business application, logic is poor but corner cases are legion. We made the choice to keep our specific logic near the place they are used against using services because that doesn't add any value.

> Providers are there so that you can preconfigure your modules

Again, thats what the rest of the world call 'a factory'. You can perfectly imagine a Factory that register in $injector it's instances. IY think Provider should stay something internal and not be documented as a feature everyone can use. It's not.

> I can see how $rootScope could be perceived as code smell but after examining how angular uses it internally I'm ok with the way I use it.

I am too. But I don't want anyone else than hackers to use it.

> Directives are confusing the first time you see them.

They are confusing because everything is blend together. Separate the different use cases and everything will be simpler. Even if it's the same internal thing (that you can use directly if you need).
My point is that if you provide different handlers, noone will ever fear the directives.

> You can create really amazing components that are totally reusable on your other projects.

If only...

In the real world, there is no way my current employer will accept I'll reuse his code for my next project. Only FLOSS libraries can do that.
+1. In my opinion, the Chinese government has effective control over the price of bitcoins right now. Obviously they can't dictate the price but, if they decide to restrict bitcoin trading, the price would plunge.
Yup. Nested hstore and JSON are going to be semantically equivalent ("cast" works both ways), and PgREST will support them equally once 9.4 is released.

PgREST also comes with a shim JSON type for Postgres version 9.1 and earlier, so the column type implementation is mostly hidden from the user.
LOL I love it. I would never find out the trick without read the comments here.
UK MOOC to help teachers tackle the new computing curriculum
Nobody disputes that. The question is, I believe, if we should enable them and elevate them. Giving Card a platform and indulging him validates his entire personal concept, not just the good parts. It's not only a matter of giving credit, it's about choosing where your content comes from.

This person is still alive and relevant and subject to social acceptance. And even with dead people, we are reluctant to cite them if they have a bad reputation - it's only that we make certain historical allowances based on the perceived historical distance to us.

Especially in this day and age, it's easy to find alternative authors on pretty much any subject who convey the same ideas without the amoral baggage. Let's recognize them instead.

Do you think this essay contains unique insights? No way. It's here because it's written by Orson Scott Card.
You presuppose the concept of individual earnings determined by market value, and argue as though only the distribution of earnings is a point of debate.
Ensaios de Geotecnia Ferroviária em Palestra na Ordem dos Engenheiros
Actually doubles as a digital piano :) It's really an excellent workhorse, I'm still using it though it's getting really old after 20 years (some keys stick down now; some have been broken and glued back in 1995). For years I've been looking for a replacement but couldn't find one worth it (real pitch/mod wheels; 2 addressable inputs; hard piano touch; integrated amplifier for quick gigs; excellent piano sound; decent Rhodes sound; actually useful equalizer; absolutely indestructible).

OTOH if you like interesting synths I have a wonderful 1976 ARP Pro DGX, and I love it but it's far less versatile than the PF :)
That makes a great lot of sense, well explained! This should be on top of the comments.

Edit: Heh
Would be cool if you had some screenshots up there.
You are right. It can be hackly usefull. I suggest to expose it only the internal way: via the ctrl.$get array so that you have to know what you are doing.
Sam here from Discourse, I use Discourse to drive commenting on my blog and I love it, ever since I did it comment quality has gone way up. eg: http://samsaffron.com/archive/2013/11/22/demystifying-the-ru... , one could build a plugin that gives parity with disqus, its just a space we have not really decided to enter
Hah, got it. The snipped used curly quotes instead of regular ones :-)

http://jsfiddle.net/WGSNX/122/
There should be no need to hold a sale. In the long to medium term, reducing prices has never been the answer. By this stage you should've already worked out where you are in the market and what your optimum price point is.

You should focus on providing the very best service possible and work out, from your customers' perspective, how you can add value to your product.

Once you've done this you'll be surprised at how less important a factor the price become to new customers. Also, these new customers will stay with you longer as they aren't fickle about price and so won't jump ship as soon as something a few pennies cheaper comes along.

Feel free to drop me an email for a chat: fortitude3141@gmail.com
not yet on their VPS offer (but that is my platform for all of my future projects). On every other gandi products I used, I've been amazed by the technical aspect and their support.
I'm just waiting for when we get to the point where there are thousands of users behind the same ipv4 address and one of them gets the ip banned from something popular. I'm sure customers would start caring then.
I've used their VPSes for a long time, and I must say I really like both their services and the company.
How do you get an IPv6 address from Kabel Deutschland? I'm in Berlin and it's still IPv4 only.