skysight-inc/HackerNews huggingface dataset:
> Also, I'm not sure I agree with claim of readable output js: http://somebee.github.io/todomvc-render-benchmark/todomvc/im.... (look at tag.prototype.render). It's not exactly clean, although it's not terrible either.

You are absolutely right, and I agree. When you use static tag trees in Imba (with inline caching) the code is not readable. If you only use it for regular things you would write in js (classes, functions, etc) I still think it is quite readable.

BTW, I really love the simplicity of Mithril. It is a very impressive project.
My 16 Favorite Software Books
Connected Teams, Connected Code, and the Connected Device: IoT Development
This is based on a different mapmaker's work (there are several of them), but is generally what you're looking for:

https://youtu.be/TyHkSEs6dAM
You're not alone. I can't stand Twitter...IMO it's just noise and confusion in 140 characters or less.

It also delivers little value to businesses who advertise on it because people tweeting have a very short attention span. The Twitter ecosystem is closed since they closed their API. It blows my mind that Tweets don't appear in Google searches.

It's almost as though the management team are going out of their way to stifle growth and innovation. The areas where Twitter could have been powerful and unique have not been maximised at all.
> 1. Can anyone name a company on par with Amazon/Uber/SpaceX/Goog etc... where everyone is working 9-5?

In terms of revenue? Volkswagen had a revenue of about EUR 200 billion in 2014. In Germany (where 200.000 of Volkswagens employees work), working hours are 32 hours at Volkswagen proper, and up to 40 hours at Audi, Porsche etc.

And Volkswagen is a profitable company (in contrast to Uber and Amazon...).
32 People You Should Know
I dont like 'predator' connection. We have quotas, planning, protection areas... It is basically farming and agriculture.
I think the real question is, "Will Spotify nix the new privacy policy?" I wonder how they reached the product decision to roll it out. I deleted the app like many others are doing. Did they really underestimate the backlash?
Docker on Raspberry Pi
Or at the Mel level: http://www.catb.org/jargon/html/story-of-mel.html
Read a physical book (not a computer, phone, or tablet screen) — I've been reading this monstrous tome lately, and it's been a great change from Facebook and Twitter: http://www.amazon.com/Aperture-Magazine-Anthology-Minor-1952.... A Kindle is an ok fallback (for me at least)

Get some exercise — I feel way better after running even just 1 mile. I did 3 earlier tonight, and can barely keep my eyes open right now.

Don't drink — Your sleep isn't as restful: http://time.com/3671777/drinking-sleep

Don't drink coffee after x PM — I always cut myself off from caffeine by 4pm, and try to do it by 2pm. Find out what's right for you.

Take some melatonin — It did me a lot of good when I used to have trouble sleeping.

Address the sources of anxiety in your life — A comparison of how well I sleep now vs. when I had a lot of anxiety in my life (stress from working at Microsoft, stress from trying to drag along my faltering startup, etc.) is stark. I don't fall asleep with much or any worry most nights.

Worst case scenario: ask a doctor to prescribe you Ambien or the like. Re-establish a decent sleeping pattern, and then figure out how to address everything else.

Edit: There's one thing I want to mention about exercising. I started running only two months ago after what essentially amounts to a lifetime of non-exercise. I wasn't overweight by any means—I was just plain skinny. Like, sort of the way you expect your average nerd to be skinny. After my first run of barely a mile (walking about half of it), I wondered if I was going to have a heart attack. I didn't, thankfully. And now, two months later, I can run a longer distance than my first run/walk with basically no trouble whatsoever. I feel great, have more energy, and sleep better.

You don't even have to start running. Just start walking. Here's a better story than I can offer you at the moment on the value of this: http://www.loopinsight.com/2015/06/16/apple-watch-my-most-pe... and http://www.loopinsight.com/2015/06/18/follow-up-to-how-i-los...

You don't need an Apple Watch. You don't need a health tracker. Just move. It feels better every day, and—I promise—within a month or two you'll start craving it. It's an awesome feeling.
Eclipse Che and Codenvy on Docker
Previously discussed at https://news.ycombinator.com/item?id=10087484.
Chinese mobile game publisher distribute pokemon's Android “remake”
As someone who worked on crisis mapping stuff, how do they know this is ground truth? We had similar problems in Haiti and elsewhere with GIS ops for crisis operations, and with a lot less political value to demarcation of battle front lines and region ownership.

I guess I will have to re-read and check out the maps on /r/syriancivilwar other responders mention.
IP Hider Pro v5.6.0.1 with Crack Free Download
It just goes to show how many Mac OS X users care about CLI.
I highly disagree. You could start most people with an actual job in web development after a year or two with solid foundations.

You don't need to relearn imaginary numbers or assembly programming to be a good software developer.
> "Traditionally, law schools would teach classes to prepare students for taking the bar exams"

Really? When and where? In fact, the opposite is true. Traditionally, law school classes have little to no relation to the actual bar exam (or to the actual practice of law, for that matter - unless you do constitutional appellate litigation).

In recent years, some (many?) school have begun teaching to the bar, so to speak - so as to raise their bar passage rate. This has happened primarily post-crash (and the resultant contraction in the market of high-paying legal jobs), to (1) help their students look somewhat more marketable and (2) just as important to them, make the schools look better (both to prospective students and prospective employers).

Subsequently, "here has been a major push back to curb bar based teaching." But I don't think the same people who disapprove of teaching to the bar are those behind the movement to teach more real lawyering (workshops, etc.) - I think those who dislike the trend are professors and other legal academics who refuse to admit that they are teachers in (what should be) a vocational school - not philosophers.

All too many law professors are wannabe PhD's of economics, policy and/or philosophy who believe they missed their true calling.
I have to disagree; apprenticeships work perfectly fine in IT.

Yes, technology moves fast and if one wants to stay current in the field, one has to keep learning.

But the fundamentals remain the same. It has been forty years since TAoCP was published for the first time. Has it become irrelevant? Hell, no. Has logic or maths changed because of this year's fad? Of course not.

Is four years a long time? Not if you want to give a young person a thorough education and a solid understanding of the craft, from the foundations up.

Instead, you know, of just train them to hammer out code in the currently most hyped language, without really knowing what they are doing and why it all works.

Teach concepts, not implementations.

Edit: Typo, standpoint clarification.
Cheap V-Neck Wedding Dresses
I think falling a sleep at will can be done by either getting too tired or too bored. I generally watch / read something really boring (e.g. I cannot stand biology related books or youtube video teaching biology. Sometimes I force my self to watch / read a boring books / videos and in 15min I start yawning and soon sleep.

Another thing I do is I climb stairs to my house (I stay on the 6th floor and have to climb more than 100 steps)
Thanks. Are you running 14.04 ?
Twitter is one of those you either "get" or you don't (same with Snapchat).

I could never get Twitter. I couldn't understand why I would want a rapid fire stream of messages that were a third witty banter, a third retweets of marketing messages, and a third "breaking" news.

I know you can filter your feed out, but for me, it's too much work.
I wonder how efficiently it can do that compared to other systems.

For example a short iterative function like this:

function(complex c)
complex z=0
int steps=0
while (z<someNumber & steps<someNumber)
z=z^2+c;
steps++;
return steps<someNumber;

Can calculate with extremely high accuracy if a point in the complex plane is in the mandelbrot set or not. I would assume that a NN with the same accuracy would be of enormous size. It would probably have way more neurons then there are atoms in the universe.
Is Cloud right for your mobile app?
Everything I Learned About Dual-Stick Shooter Controls
Well, that's one position on the subject. The Rust people prefer option 3 over option 4. Go takes the same approach. Python prefers exceptions, and the exception hierarchy puts (almost) all the exceptions which result from external problems under EnvironmentError.

Much of the trouble with error returns comes from the strange C convention that functions with return values can be called as if they didn't return a value. This is a consequence of the original K&R PDP-11 implementation without function prototypes, and has messed up programmers for four decades now.

RAII (resource acquisition is initialization) is popular in C++, but if anything goes wrong in a destructor, things usually come unglued. I/O errors on file close where close is via a destructor tend to be either ignored or fatal. Python "with" clauses handle failure during release better. This was well thought out in Python; exceptions in "with" clause exits are handled rationally.

With Javascript, you get none of the above, although you can build it out of the primitives, and there are kludges to do this.
Sure. You can do all of this. But you'd also be requiring Sony to put in the effort to write an optimized compiler, debugger, and toolchain effort to bring FreeBSD up on a MIPS platform. MIPS is dead.

You never talk about what an "accelerator" is in your case -- you say "stuff like disks and networking". Both of those already have dedicated hardware, and they're IO bound, not CPU bound, so an "accelerator" doesn't help much.

What you want for an accelerator is something to accelerate graphics and physics, perhaps a "Graphics Processing Unit", and something realtime to do audio processing, like a "Digital Signal Processor". Modern computers already have both of those accelerators built-in. Your funky MIPS architecture doesn't add anything but dev annoyance.
when i can't sleep, i read HN.

this list is pretty good, considering the source:

http://www.buzzfeed.com/nataliebrown/charts-that-will-help-y...

* exercise

* wake up earlier

* stop using all electronics after 9
Great advice. Especially the part about anxiety... he said as reading hackernews at midnight to avoid sleeping.
>No matter what the function, there is guaranteed to be a neural network so that for every possible input, x, the value f(x) (or some close approximation) is output from the network

Love NNs, but accuracy is relative. At some resolution of "close approximation," every function "computes" every other function.
AirBnB's Pricing Algorithm
Isn't that just a matter of having your library differentiate the timezones slightly,even if the canonical name is identical for the two different timezones (no matter what the country calls them, they really are different)? Additionally, there are ways to reference the timezone in the local time that are guaranteed to be unique. For example, offset from UTC. 1:15 AM UTC-09 is not the same as 1:15 AM UTC-08.

What localities do you know of that just change the hour and do not have a time zone assigned to deal with it? I'm fairly sure the point of time zones it to track all those changes, and a name would be assigned to deal with it.
> The ligature has no place in writing about computer daemons.

Surely we only write the simplified 'daemon' because for several decades mass-market typesetting was too limited to handle the ligature? Under the covers, if you will, it has always had æ in it but the UI was unable to render it.

Pedantically we should still all write encyclopædia but it fell out of custom in casual use because of the awkwardness of typing it.
fluentd is one of the more enjoyable logging systems I worked with.

None of the above (HTTP, MongoDB, etc...) is needed at all, you can just as well setup a logfile watcher as input, which sends the log messages over to a logfile writer on another machine, all within 5..10 minutes on 2 VMs.

Or you can directly write messages (JSON or MessagePack) to a TCP socket (MessagePack-formatted messages to TCP socket is basically the lowest level you get).

Messages have a tag for filtering and routing.

It's basically just input plugins connected to output plugins, and you build a message distribution network from that. And it is extremely easy to get into.
I think one of the caveats was that the function should be relatively smooth and continuous, a mandelbrot set isn't very smooth is it?
I pop a couple benadryl usually works in about 30 mins

As far as drugs go benadryl is pretty innocuous. You could always buy that ZzzQuil stuff but it's the same thing for more money.
I agree. Three months 'apprenticeship'? How is that different from a three month internship?
now, I think "video game" has a different meaning than before.

I'll be waiting for this to create this type of games and going on even multiplayer era. great stuff.

Btw I think, this would allow elder/non-tech people to enter gaming
I don't think you're disagreeing here. Kalium is saying that an apprenticeship model is the wrong way to teach these skills.
Angry Birds Go Cheats Hack No Survey Android-IOS
https://news.ycombinator.com/item?id=10091981
>We'd love to use a ruby-based solution like this, but the docs say it will lose data whenever the receiving end crashes. Any plans to fix that?

Where does it say this? I don't think this was ever the case for Fluentd.

>The way it was described in the docs gave me the impression there is no acknowledgement of network writes - if that's true won't even clean shutdowns lose data sometimes?

This is not true. All writes are acknowledged over TCP, at least between Fluentd and Fluentd.
ACK of network transfer is available ("require_ack_response" option). This option ends up choice of at-most-once semantics vs. at-least-once semantics. You need to choose and you can choose.

Fuentd provides "buffer_type file" to buffer records on disk. Shutting down won't loose data. If you need to choose memory buffer for performance reasons, fluentd enables "flush_at_shutdown" option by default.

You would also want to use <secondary> feature. This lets you to write a buffer chunk to another storage if the primary destination is not available "retry_limit" times.

Those concerns would be solved by the document:
http://docs.fluentd.org/articles/out_forward#buffered-output...
I'm not sure the rationale behind this. That is, the rationale section of the proposal does a poor just of explaining any case where this is actually a problem.

In every case where I've seen this problem, it's a matter of people either not storing the timezone along with the local time, or not storing in UTC time. A local time with a timezone is a unique time, it does not occur twice. A UTC time additionally does not occur twice. Store a time zone along with the date and time or store in UTC and convert on use.

Note: If there are instances where a second is repeated, it's rare special occurrence that developing a formalized interface for seems like overkill.
I have mixed feelings about that.

You know, many young kids actually have a Mac already, and if not, a new Mac and a monthly subscription for Adobe costs a fraction of what 3 months in college costs.

And if you've already spent a couple of years in college studying literature, algebra, music, philosophy, psychology, introduction to business and what not, you might just want some practical experience that within a few months could actually land you a job that provides a decent paycheck.
So :

Time in UK is currently UTC +1 (BST)
At 2am on 25 OCT we will return to GMT / UTC. It will therefore become 1am, and for the next hour all times will have happened before

The idea is to put a bit flag that says "alreadyseenthistime"

It seems to me this is a solution to the wrong problem.

Store all strings as bytes, assuming UTF-8, store all times as longs assuming UTC

If we convert all python datelines to non-naive (ie embedded with a TZ) then we are forced always to choose an encoding just like in strings. The right encoding is to always assume incoming dates are UTC, to throw error if they are non naive, and to assume that local clocks are set correctly (which we do anyway)

I need to read it more carefully - but it seems the wrong solution
Agreed - and more succinctly put than I managed - clearly it's the wrong time for me :-)
Yeah... gcc's optimizer very often falls down in absolutely trivial cases on ARM. Like they discovered here - compiling even

u32 read32(const void* ptr) {
u32 result; memcpy(&result, ptr, 4);
return result;
}

results in a load from ptr, then a store to the stack, then a load again into the same register to return. Thats... kinda bad that it can't eliminate an easy dead store to the stack.

@ args = 0, pretend = 0, frame = 8
@ frame_needed = 0, uses_anonymous_args = 0
@ link register save eliminated.
ldr	r0, [r0, #0]	@ unaligned
sub	sp, sp, #8
str	r0, [sp, #4]	@ unaligned
ldr	r0, [sp, #4]
add	sp, sp, #8
bx	lr

Though this specific case is probably ultimately because gcc had code to handle unaligned accesses via bytewise accesses (I think... can't get gcc to generate such a sequence now), since unaligned support in armv6 could be (and often was) disabled by the OS, and it still hasn't been excised from the newer architectures that don't need it. LLVM on the other hand has never cared about ARM CPUs/OSes that don't support unaligned accesses.
Apprenticeship?

Any role I looked at there had significant requirements. "Must have intermediate knowledge of Swift" etc etc.

That's not how apprenticeships work. If anything, this is a far worse version of an internship given that some of them are measuring the tenure in weeks.

Edit: Hah. "Our apprenticeship is not a junior role. The majority of people who join thoughtbot as an apprentice leave a job working as a developer or designer to join us. Because it is such a high bar, even people who have been working in the industry for many years may not make it through the interview process."

Insane. You've somehow managed to find a way to destroy the value of employment even further.
I'm using the word "charitable" in the specialized sense of "replying to the strongest form of an argument", as described by the link upthread.

Your comment isn't flippant (well, at least not until the wild non sequitur at the very end). That puts it on the right side of the most important line. I still don't think it counts as charitable, though, because your criticisms don't engage the meat of the post. I was hoping to write a detailed reply about that, but alas there's no time.
Owners of AshleyMadison.com hit with class action suit
I don't see why the LSAT would care when the SAT, GRE, etc. don't...
Often there's video or photo evidence that show whether claims made by the various sides involved in the fighting are true or not. Other times there's uncertainty and it isn't clear who controls this or that village but the big picture generally is very accurate.
I undersand why unrolling loops is faster with current hardware, but does it ought to be so ? Maybe we are putting a lot of complexity in software to cope with limitations of hardware that could not exist anymore in a couple of generations (of hardware).
I've just started programming professionally. I've noticed I'm a quick learner and I'm pretty good at problem solving. However, because I just started I lack quite a lot of knowledge. Will I still be able to play this game, or is 5 years of full-time work on multiple languages a prerequisite?
Yeah but they're nothing like this. An apprenticeship in CH lasts between 2 and 4 years, you get paid around 15k CHF and you go to school something like 2 days a week. Also, big-ish corporations have to take on apprentices by law.
I'm learning CL and whetting my appetite debugging a sizeable project with SBCL/SLIME. When I trace a certain method the system goes nuts because it reports on _all_ methods of that name and they are called a lot. What I want is to trace just the method of my request and nothing more.

Instead I get flooded with useless information. Any recommendation?
> .., 168 hour code sprints are more thrilling.

"So then I downed the fifth Red Bull that hour and wondered whether I better change that for loop into a while loop because the first operand was empty anyway."

Can't wait for the novel!
I was waiting for a build to finish ;) I was planning on getting to bed before midnight, but got wrapped up in some fun 'work'. Thought I'd come back here once to see what folks had said on this thread, and then call it a night.

Are you this Tim Schumann? http://projectskyhook.com

edit: to be clear, not that I'm previously familiar with your work; just noticed that you must be another left-coaster, and decided to Google you. And, assuming you are the aforementioned Tim Schumann, hi from a somewhat near neighbor in Seattle.
> Does anyone else feel like 1.5 was released prematurely before it was honestly ready to go out the door? At this point Go is more than 5 years old; these kinds of amateur issues seem unacceptable.

Honestly, no. All software has bugs. The Go codebase is very solid, in general. It's hard to get away with as much change as we've had between 1.4 and 1.5 without a few issues slipping through.

At Google we've been running 1.5 in production for a while and didn't catch this issue. As have a lot of our other users. But inevitably when you release the stable version more bugs are uncovered; this is just life.

Conservative users should certainly wait a few days (or weeks) after a major new version before upgrading. Historically we have released version 1.N.1 within a couple of weeks of each major release. If I were you I'd just wait for 1.5.1.

edit: I think "very nasty" is overstating things. The likelihood of real code triggering this bug is extremely low.
There's work underway to implement the SSA form for amd64 in 1.6.
GPU's still seem to be improving rather quickly.
Twitter has already made their feeds "intelligent"

1. Search defaults to what Twitter thinks are the "best" tweets for the search, not the most recent.
2. If there are tweets between 2 people you follow (where they are replying to each other), it will show up on your feed in ascending order.
3. They've now implemented, "while you were away" into your timeline which posts ~5 tweets they think you want to read, then when you scroll down you will see them again if they're recent.