skysight-inc/HackerNews huggingface dataset:
> ... the 'who wants to be hired' thread.

I don't think I've come across any such post before. Perhaps they get pushed off the home page before I come around to check HN?

Any way to create a sticky of such posts like in a public GitHub repo where one can browse the links for the current month?
> It is not the duty of the lawmaker but of the contracting parties (= employer and employee) to define the amount of work hours per day.

Who mentioned lawmakers? I only see two contracting parties here: the municipal government in Gothenburg, and a group of its employees.

This idea that there's a short and slippery slope between 'City municipality experiments to find the most efficient working day for its employees' and 'GOVERNMENT BANS ANYONE WORKING MORE THAN SIX HOURS' is, ISTM, dubious.
Most of my experiences with StackOverflow are positive, but just once in a while I'm left baffled by what feels like an excessive use of force by the power wielders there. Are there some misaligned incentives? Or perhaps I'm not good at understanding the community guidelines.

This is a question I asked yesterday that was down voted at impressive speed. Thankfully a couple of the commenters helped me out with information that benefits the community. Their comments would have made acceptable answers but they were unfortunately closed.

http://stackoverflow.com/questions/23998391/how-to-identify-...

Or perhaps I did just ask a bad question, it wouldn't be the first time.
Pushed this example last weekend. It may be useful for someone else.
Cheers!
That is done by: process.argv.slice(2)[0]
The first two arguments are node, and the name of the file you are running.
More here: http://nodejs.org/api/process.html#process_process_argv
So what is the optimal work day for productivity? Many folks here believe it's a (proven?) fact that less than 40 is actually more productive. However, surely 40 is more productive than 0. So, what is the magic number?

Personally, I don't think this is that simple. Heck, humans just aren't that simple. I think some people and some professions are more productive above 40 and others are more productive under 40. That's why I'm in favor of a system that leaves this as a point of negotiation between the employee and employer. Just like there is no one-size fits all salary for, say, a java developer with 5 years experience (how fast is he? how buggy is his code? can he work independently? etc), why would expect to find a one size fits all for work day length?
What it Takes to Launch a Mobile App
> 1. Lack of down-vote means vocal minorities are disproportionately represented.

Allow downvotes for submissions.

> 2. Votes on comments are used to express agreement or disagreement rather than value, perhaps because many people simply cannot see the difference between the two.

Downvoter has to write a short explanation of the downvote. He's warned that admins can ban people who downvote just because they disagree.

> 5. It's a time suck.

Make the site faster, it's really slow.
I have been very happy with Republic Wireless, but I am considering Ting because I am an Apple Fanboy. Black wireless looks very good. I am not sure I how I missed them before now.
Because you are being served content from other people's servers. If one of those servers fails, the whole site you are trying to load fails.

Like hotlinking images from someone else. They might block you, or they might just serve your goatse.jpg instead.
RDFeasy: Scalable RDF publishing in the AWS cloud
Almost assuredly not. Where did they agree?

Just because I define a series of steps that constitutes them agreeing with the contract I design, it doesn't mean that following those steps means they agree.

Absurd example: if the New York Times continues to publish, they agree to pay me $1000 a day. (This example is missing consideration[1] but you can imagine that in yourself. It's an absurd example anyway.)

[1] http://en.wikipedia.org/wiki/Consideration
Actually, that definition matches the other usage, too: people force a system to do things it isn't supposed to do; they "hack" at it until it works.

(But I agree that "hacker" has meant invading systems as long as it has meant anything else)
In the 90s, I would sometimes trip over ethernet cables that had been strung between server racks, across an aisle.

Will this be the decade where I get to experience being struck by falling routers and switches, far from any data center?

(EDIT: Simply remarking on novelty of problem and upward growth of network. No criticism of any firm implied or intended.)
at the kernel level, fortran isn't really that different to C. it has a power operator. there is no for loop. you certainly will not be reading from files inside a kernel, so.. why do you want to use fortran? i can't tell you whom, but one of the big OpenCL vendors is actually working on fortran OpenCL kernels, as a direct result of SPIR.

if you want C++ in your kernels.. well, you're going to have a bad time if you want performance.
It's also 42 backwards. Important I feel
I've never used OS X, but isn't it confusing for the windows to not have titles? To find the window you need, don't you need to look at it's contents - something that sounds clunky to me? It's one of the things I hate most about the file manager in Windows 7.
Additionally, they're a quick route between code and something visual. If the demo yesterday had been "look how easy I can make a tableview", no one would have cared much, but the circus scene had motion, lights, and barely any code. People love spectacle.

That reads a lot more sarcastic than it should have, but it's unfortunately true. Swift was announced in front of a room of people who needed to be convinced to start migrating from something they all know (ObjC) in favor of something new, so you have to win them over quick.
For the curious: the reason that this property with 24 holds is because 24 = 2^3 * 3. For any prime number p:

p^2 - 1 = (p+1)(p-1)

And p+1 and p-1 must both be multiples of 2 because p is odd. Furthermore, one of p+1 or p-1 is also a multiple of 4 (because they are both multiples of 2 and only 2 apart). So, we can see where the 2^3 factor comes from in the magic number 24. The remaining factor, 3, comes from the fact that p is prime and not a multiple of 3, so either p+1 or p-1 must be a multiple of 3 (otherwise p-1, p, and p+1 would be three consecutive numbers, none of which are divisible by 3, which is impossible).

As a result, for any prime p > 3, (p+1)(p-1) is divisible by 24, so p^2 - 1 is also divisible by 24.
I jumped straight from being a student to being a freelancer, so I didn't really experience 'normal' work hours until much later (as a contractor working on location).

I found that I did slowly gravitate to normal hours because of precisely this reason. My friends started having regular jobs and so I ended up having to adjust my working hours to that.

In fact, I was worse off because I didn't really realize I was conforming to normal work hours, but clients realized that they could approach me whenever they wanted, which was usually in the evening or the weekend.

It took me a while to learn how to not answer every email or phone call at odd times, and re-condition my clients.
Bitcoin 101: The Ultimate Guide to Bitcoin for Beginners (Free on Amazon)
That Flickr video widget didn't work the last time, when they salvaged the thing, and it doesn't work now. I do have Flash, but it just displays a black box. Does anyone know a workaround?
Let me find it for you, one second.

edit: here you go: https://news.ycombinator.com/item?id=7833250

Monitor the account that posted that thread around the beginning of July and you won't miss it.
How to accomplish this: need some group to determine and call themselves 'hackers' and sue everyone for actually associating with crackers by calling them hackers. Hence it'd be politically incorrect to call them hackers. Done!
Apple is out to grab a piece from Google’s search revenue
Yes, all this cultural relativity is just wonderful. Kumbaya.

Except, who walked on the Moon, and who didn't?
Minority Entrepreneurs Have More Trouble Getting Loans
You seem not to understand the depth of that statement.

It's not that one company would have excess hours; all of them would. So, you would be free to find a new position. . . at another company with a 60 hour work week.

Look at the history of the labor movement. Those in power tended to abuse those that weren't; long hours, unsafe conditions, etc. Now, unless you work in a coal mine or foundry, we can count out unsafe work conditions.

That really leaves one other option. . . . . .
what a legend. One of the few people who actually bases their opinions of psychoactives on controlled experiences with them.
+1

I hope that they finally fix groupchats across devices. Always have about 5 different conversations with the same 2 people and each message goes seemingly randomly in one conversation.
No. It's really useful to be able to just look at what's happening; it lets you do binary search to figure out where your assumptions are wrong, rather than having to verify every individual step. I use Scala which can provide much stronger static guarantees than Go, but a debugger is still very valuable.
It sounds like using the legal system as a regulation system. Instead of the government needing to go look into everyone's business, it lets recipients become regulators by giving them the ability to extract fines.
I think both. I have a young cousin who is starting to show interest in programming, and when I think of showing her Objective-C, I grimace inside because it has taken me so long to become comfortable with it, and I'm coming from other languages and years of experience. But I think I can walk through Swift with her, and we can learn it at the same time - me bridging the gaps because I come from another language, and her learning how to program for the first time.
Big Data, Big Difference: Europe vs. the USA
One of my heroes has died today.

RIP to a great chemist and experimenter.
Lately I've been really focused on catering to the main usecase of most websites: reading. Not all websites are for reading, of course!, but if yours is, use a nice big font with serifs, like 18 or 20px computer modern, and keep the number of characters per line down around 65. This makes the trip your eyes take during a "visual carriage return" shorter, so you keep your place more easily.

I like to use sans for any widgets. Serifs are nice for the main content, because they signal an editorial frame, but for you don't want that for your widgets. I also like to keep the text on widgets a bit smaller, because they spend too much time sitting there, staring at you, not telling you anything useful.

I also like to keep pages single-purpose. On any given horizontal line, have only focus. This will obviously depend on your application. But chances are pretty good that your website is meant to be read, and most people can only read one string at a time. Put related stuff at the bottom, or top. Ok, maybe a nav bar in the margin -- but it should be quieter than the main content.

The layout and styling of a website should emphasize the main content, and help make relationships between items of content clear. That said, design should be subtle. It should not speak, or else it will compete for the user's attention with content. Keep a high information-to-ink ratio. Meaningless gloss, is to be avoided. The beginning or ending of an article is important, mark it a big initial, an elegant flourish, or a nice, stolid tombstone. But please don't succumb to the temptation to put drop shadows, gradients, and other bubbly 3D effects.

Usually, what makes a website nice is what is not done.

Also, hold your color. Black, white, 80% grey, and 20% grey are your best friends. IMO they are good for about 95% of the pixels on the page. In that context, color can then actually be used to signal meaning, emphasis, and functionality. Lots of sites establish a highlight, background, and main-text color which are not in the greyscale. That's ok as long as that's as far as it goes.

This should go without saying, but don't use any animation anywhere, ever. Ok, ok, I'm excluding single-frame changes on mouseclick and hover -- used judiciously. But please, no stretching menus, whirling tabs, and no slide shows. If I want to watch a goddamn slideshow, I'd go watch a doggamned slideshow :P

Again, this assumes you're making a site for reading. You should free to use as many colors as you want, spurious lines, shading, animations, bright, solid colored flashing backgrounds, and play sounds, when making a page for fun, for breakfast, or for Reasons.
The Swedish average commute is under 25 minutes (excluding the top 5% who travel an hour or more). [1] My friends' commute in Stockholm includes the walk to drop off kids at the local school. Is Göteborg worse than the rest of the country?

[1] http://jamda.ub.gu.se/handle/1/738
No, only comments with a sufficiently negative value should be downvoted.
I'm not a Brit and I'd rather know what your government does to violate my human rights.

There are about 60 millon Brit and approx 7 billion non-Brits. Surely, if you believe that all humans share equal rights, the rights of the latter group outweigh, for simple quantitative reasons, those of the former, especially in the light of the dreadful record of UK secret services collaboration with imperialism, not to mention the recent collaboration in the assault on Irak which left, by conservative estimations, a six-figure of people dead.
Pixar Will Make Renderman Available for Free for Non Commercial Use
I tried using the spacial feature of Nautilus, a file manager for Linux. What's your usage of a spatial file manager? I couldn't see it being beneficial to my file browsing in any way. Just curious.
Haskell has it for its type classes in the form of existentials[1] too:

forall a. SomeClass a => a

in Haskell is quite similar to

&SomeTrait

in Rust.

[1] http://www.haskell.org/haskellwiki/Existential_type
That's not why they built Swift.

Objective-C is a difficult language to work with and has decades of cruft. Swift is a start-over, but with Objective-C interop so you still have full access to the full existing APIs for OSX and iOS. Thus, the same boiler plate.
I really need to fix that server... Sorry it's out again.
I'm Italian, my girlfriend is French. I always tell her it's not polite to arrive on time to dinner dates, because people will be embarrassed because they're not even remotely ready.
Let me guess... You were raised Christian? Protestant perhaps? http://en.wikipedia.org/wiki/Protestant_work_ethic

(EDIT: It's about the feeling of guild, people. It's embedded inside the Protestant Culture, alongside with working hard. As mentioned in Wikipedia link)
While I do have the Northern desire for punctuality, I have the same issues that you do with planning days ahead to specifically. Unfortunately, since most of the people around me plan ahead, they have specific times in their schedules to meet me, so I have to accommodate that.
Micro Python
I wish I knew how to quit you...
It's a great shame.

I recommend the "Dirty Pictures" - a documentary about his life:

https://www.youtube.com/watch?v=f5q1bBVzDpc
Suggesting that certain cultural traits might be unproductive or even bad is frowned upon, in my opinion unjustly.

My family is Bangladeshi. One of the characteristics of the culture is a total inability to be punctual. Its always drove my dad up the wall, even though he grew up there. So when I read articles like this, I just think of people like my dad--the linear time minorities in these places. Pacing around waiting for guests who show up at 10 for dinner scheduled for 8.
The news consolidation on HN is great, for the most part.

Participating in the threads is like gambling in Vegas. It can be a fun way to spend some time, but you aren't really winning anything in the long run. The little wins you get here and there are ground away by the House, which always gets its cut. In the HN case, that cut comes in the form of your time - which could really be better spent doing your work, trying out a new idea in software, or visiting with loved ones.
- XMPP is deprecated as far as Google is concerned.

- Google Hangouts (non-XMPP) replaces Google Talk (XMPP) on Android.

- Apparently I always appear online in Google Hangouts even when I'm signed out of Google Talk leading to people messaging me and being confused that I don't respond, or never got the message (apparently it just goes into the aether, or maybe only shows up if I switch over the Google Hangouts).

Saying "look XMPP still works!" doesn't prove much as it's a second-class (or even third-class) citizen in Google's ecosystem.
If "maintain national security" means preventing terroristic attacks, then the appropriate way is first of all to stop invading foreign countries (or supporting their invasion).

The fact that "this" Snowden published Britain related documents should concern british citizens very much, because shows how tightly the contry is connected to USA, and how the wrongdoings of the latter will (and did) fall back on the former.

Accepting/supporting surveillance strategies today, both internal and foreign, has more to do with totalitarian and imperialistic objectives more than security itself.
oh yes venerated software 'craftsmen' because we don't have enough ego as programmers.
Here is the cached version:
http://webcache.googleusercontent.com/search?q=cache:http://...
There's no extreme right in Norway (at least not in the parliament). The so-called "extreme right" progress party are left of the US Democrats in all(?) matters.

With only 16% of the votes they also lost 1/4th their seats from the previous election, which was won by a labor/left coalition.
How is technology not an aspect of people's lives? Not to mention, some aspects of people's lives might be good, but could be better. Should they not be improved? Well, not according to 9.
Posted with no discussion a few months ago (I guess around the time of a Kickstarter), they announced the project on the Python mailing list today:

https://mail.python.org/pipermail/python-list/2014-June/6729...
What does "communistic states" have to do with anything? They were/are kleptocratic oligarchies that are so stratified that they have even worse class systems than capitalist states.

> My point is that system evolution via democratic process is much better than bloody revolution that left-wing quite often has on its mouth.

It was not evolution via democratic process that gave us the 8 hour day. It was not bloody revolution either, but plenty of blood has been shed during the fight for decent working conditions. People were outright killed. People were arrested. People were intimidated; blacklisted.

The current system is only as good as it is because our forefathers were brave enough to stand up and fight even when they had to break the law, and even when they in many cases risked their life to fight the conditions of the time.

And they had to: Plenty of people died because of the disproportionate powers of employees to dictate conditions. Such as the Triangle Shirtwaist Factory fire, where 146 people died when the factory burned because the employees kept the doors locked during working hours to prevent unauthorized breaks(!):

http://en.wikipedia.org/wiki/Triangle_Shirtwaist_Factory_fir...
templates are not something that (outside of simple uses) you'd want to use in your kernels. regardless, nvidia should be pushing their improvements through to OpenCL by exposing extensions. they might get adopted into the core profile.

> What bugs me about OpenCL is the intentional vagueness of the specification that gives every implementer the freedom to do whatever they want with the result that performance portability is often difficult to achieve.

well, that flexibility is required for OpenCL to be meaningful. that's where the variation in the hardware platforms exists. it's what differentiates compute devices. if that vagueness wasn't there, then we couldn't have things like OpenCL on FPGAs (altera, xilinx)

as for your statement on performance portability, perhaps that is an issue (but that's entirely dependent on the type of problem you're trying to compute). but something i don't understand is this;

you could have picked a proprietary API to do your compute. but say you choose CL. you optimize for your hardware, then what do you know - it's not really that fast on other hardware. but you're entirely overlooking the biggest boon here - your code ran on the other hardware in the first place. getting performant code is now only a matter of optimizing for that piece of hardware.

you could argue that's entirely too complicated, but that's what we have been doing already with our regular C/C++ programs (SSE/AVX/SMP...)
GATO CODES
Just as a remark, proving that given a prime n, n^2 = 1(mod 24)[equivalent to n^2-1 is multiple of 24] is pretty easy:
i) prove that n^2 = 1(mod 3). Enumerating, n = {-1,1} (mod 3) (mod 3) [since n is prime, n != 0 (mod 3)]. n^2 = 1 (mod 3)
n^2 - 1 = 0 (mod 3). Exists m such that n^2-1 = 3m.

ii) prove that n^2 = 1(mod 8). Enumerating, n = {1,3,-3,-1} (mod 8) [ n != pair (mod 8) since then, it would be divisible by 2]. n^2 = {1,9,9,1} (mod 8) => n^2 = {1,8+1}(mod 8) => n^2 = 1 (mod 8). Exists k such that n^2 - 1 = k8.

iii) There exists 2 integers m,k such that k8 = m3. m must have an 8 factor and k a 3 factor. Then, there exists j such that j = m/8 = k/3 = (n^2-1)/24. qed.
> var width = $container.height();

Hehe
It seems that FederBet will publish a detailed explanation about the meaning of that notation very soon on their website.
There is also more information here: http://renderman.pixar.com/view/non-commercial
You're assuming that torque remains constant at higher angular velocities, which is not true in most electric motor-drives.
This is programmed into as a child. It's your operating system as a future worker, to be used by your future manager. Days of the week, standing in line, sitting quietly, not complaining. It starts out as fun, a game in pre-school, but then...

This obedience-training is the main point of school, certainly not developing creativity and initiative.

There are school-like places where children are free to do what they like. Free to play, free to fail. Check out Sudbury Valley School. It's an international movement. See the new book "Free to Learn".
The Right To Be Lazy
Coral cache should also show images: http://pandoralive.info.nyud.net/?p=3671
(Though it hasn't loaded yet)
I work from home, and I find if I eliminate distraction and go zone-in coding, then six hours are a lot more productive then 8 hours of fooling around.

Organization is key (not hours).
Some of the most amazing moments I've had in life were on MDMA.
I'm sure this is true for hundreds of millions of other people who've taken it.
This substance has revolutionised our word in many ways - music, fashion, art, architecture, etc.

Apart from MDMA, Shulgin has synthesised, experimented with and wrote about countless substances and plants which affect the mind or spirit.

A great explorer, and from what I've read, a great human being as well.

Rest in peace & Keep exploring ;)
Calculus as typically taught is just a series of symbolic-manipulation rules. It's not taught as math. Ironically CS is probably many students' first exposure to actual math, by which I mean reasoning about (and proving things about) abstract entities.

The requisite calculus could very well be covered in an Intro to CS class itself "hey by the way there are these numerical functions and they have rates of change. Moving on..."

Much more important mathematics for CS is Logic. Linear algebra. Combinatorics. It's true at some point "it all ties together" and there are some combinatorial problems that can be solved with complex analysis.

But to me, calculus as it is generally taught (heres a polynomial calculate its derivative using the symbol-manipulation rules you memorized), is the complete opposite of what CS and actual mathematics is. I think logic or maybe combinatorics are the easiest-to-grasp domains that capture the actual type of reasoning problems CS people encounter.