skysight-inc/HackerNews huggingface dataset:
I think there are some good, sound principles here; I've dealt with some to one extent or another, and I couldn't find anything to disagree with. I worked on a port of a large Java application to C++ on a different platform, and we went back and forth for a while trying to choose between utf-8 and utf-16 as a standard character encoding. We ultimately settled on utf-8, even though the Java code had used utf-16 (because it's Java's native encoding); I'm not surprised to read here that utf-8 is the way to go. Utf-16 is at odds with the expectations of every C and C++ standard library function and the language itself, which would have been a source of annoyances that would never end.

It's very, very hard to make any generalization about programming, and so I suspect that in his confident pronouncement that cross platform should never add more than a small amount of time to a project, there is something he's ignoring. The application they sell is for backup, and so it would probably be close to ideal for making cross-platform. I think he underestimates how complex GUI code can get when dealing with requirements less trivial than a backup application.

He also basically ignored Macintosh and ObjectiveC. I don't recall what the state of Macintosh was at the time this piece was written, but I'm pretty sure ObjectiveC was the standard language on Mac then as it is now.

I think there are sage principles here, though.
The answer to your question is here:
http://www.anandtech.com/show/8031/huawei-ascend-mate-2-revi...
Repeating here the relevant section from my comment earlier[2]:

The idea is that there are only so many small numbers, and there are lots of ways of combining things together. The Pigeonhole Principle then says that if you stuff too many things into a small enough space, some of them will be close together. Although apparently obvious, this is more widely applicable than people generally realize. It's used, for example, in one of the proofs that that every prime of the form 4k+1 is expressible as the sum of two squares (Examples: 29=4x7+1=5^2+2^2, 181=4x45+1=10^2+9^2).

Combine this with the birthday problem/paradox[0][1], and you end up with more coincidences than you might expect.

[0] https://news.ycombinator.com/item?id=1312636

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

[2] https://news.ycombinator.com/item?id=7892425
Charles Web Proxy? Not free, but I've been using it very reliably on all platforms for at least 3 years now. :) A nicely polished bit of software. Free 30 min "trial mode" and no-cost upgrades, if it helps. Otherwise I've also used mitmproxy, or for some things, the Net panel of Chrome Dev Tools.
I'm partial to PuTTYTray.
The Nightmare on Connected Home Street
http://mathworld.wolfram.com/AlmostInteger.html
I'm trying to work out how enable is useful over dropping an executable in /bin or ~/bin (not in this story, but in general)

It's definitely a nice trick, though.

Edit: http://cfajohnson.com/shell/articles/dynamically-loadable/
I've thought a lot about depression over the years. I also
talked to a Psychiatrist about my melancholy for over 20 years. He has told me there are basically three differnt
types of depression; situational(your life sucks), dysthymia(low level depression, that seems to linger),
clinical depression(you want to end it all).

Supposedly, drugs are effective in clinical depression--I
don't think I have been that depressed.

My life flew off the rails years ago. I went from a guy who
thought life, school, and sucess came to easy; to a guy who
couldn't walk in a grocery store because I felt dizzy around
people, and had daily panic attacks. Over the years, the
anxiety improved, but then depression set in. Sleep became
reversed. I became an alohoholic, etc.

Well, I don't have any sure fire cures, but I do know this you will get better with age. There were times when I thought it just isn't going away, but the bad feelings do
go away. You will forget just how bad you felt. I spent
about a year in Therapy(2 x week). I'm not sure how nuch it helped, but it did alleviate some concerns I had at the time. I didn't have any big break throughs, but I'm glad I
went. I found the more a Psychologist charged, or the fact
that they had a Ph.D didn't matter whatsoever. The worst
person I saw was a $400/hr Psychiatrist. The best was a 15.00/hr student working on their Masters. As to medication, you will need to see a Psychiatrist; shop around! Personally, the only medications that worked in my case were highly addictive, but they were better on my body than alcohol I was abusing
All I can say is you will feel better, and you are not alone.
Interesting way to discover events unfortunately only for holland..
I like the concept of P2P microlending, especially enabled by technology, so the loan sharks can be kept out of the system.

But to really be sustainable and have a high-impact (as a tool for economic growth in the 3rd worlds, not as a business per se), it should be more localized. Think at something like localbitcoins.com - as a working system - ignore the bitcoin part of it. This way you can get rid of the most of the taxes and decrease the level of fraud.
This is basically a bootstrapping problem and turns out to rest on these critical functions:

- being able to create a file containing arbitrary data

- being able to make a file executable

- being able to execute a file

Would the same be possible if your shell was not bash but one with fewer features, like e.g. POSIX sh? That doesn't even require echo to be a builtin (it only has the 3rd function above), so it might be a dead end, but maybe there's some other way...
Whatever happened to Livejournal, anyway?
Ah. Reminds me of http://xkcd.com/217 :)
Related: http://xkcd.com/1047/
Why Chinese is Not That Difficult to Learn
#3 is bad (or at least incomplete) advice when you consider portability to 64-bit. What it should say is to use the C type that correctly represents the data.

Translating DWORD to `unsigned long` is not correct! unsigned long is 32 bits on x86_64 Linux, but 64 bits on x86_64 Windows. Using long is essentially never correct for cross-platform code.

The right thing to do depends on what the value represents. If you want a 32 bit unsigned integer, use uint32_t. If you want something representing a pointer or size, use the corresponding type (uintptr_t, size_t). This doesn't just make porting easier, it adds useful hints for anyone reading your code.
On the other hand there are infinitely many small numbers. Maybe one could express it more precisely using Kolmogorov complexity?

http://en.wikipedia.org/wiki/Kolmogorov_complexity
So you're saying it's not about PC and then arguing how it violates political correctness and therefore shouldn't be used ?

Something that would get 75% of your students involved sounds like a huge win compared to standard curriculum programs, as soon as a class is required it's going to involve people that have 0 interest in it from start.
"more memory and more overhead than e.g. splitting a string by simply scanning it."

Regexes are simply scanning strings, they're just a more condensed syntax for specifying how the scanning should be done.

And in interpreted languages, using the built-in regex feature (which can apply high-level optimizations) will virtually always give much better performance than implementing the same logic by manually looping over the string character-by-character with the language's interpreted for/while loops.
DreamObjects is down
I'm feeling a bit ignorant.

Any math guys want to elaborate on the relevance of the result?
#4 is not completely true, as the "standard" ifdefs are defined by the compiler, not the platform. Thus, they may differ when building on Windows using MSVC and building on Windows usign MinGW.
Graceland 2. Sezon 1. Bölüm Türkçe Altyazılı izle
Solving path finding and AI movement in a 2D platformer
that's (the/a) equation for finding an approximation of e, a constant in mathematics.

http://en.wikipedia.org/wiki/E_(mathematical_constant)
I'm going to eat now, cheat mode on:

window.setInterval(function(){

$("#gatherButton").click()

}, 5000);

window.setInterval(function(){

$("#trapsButton").click()

}, 5000);

window.setInterval(function(){

$("#end").click()

}, 20000);
Update: the README now describes the available key bindings and gives more usage examples.
> focusing on the multi-machine single-image clustering

Yeah, but I am trying to get people to build a "Hello World" cluster in 5 minutes - so single machine, multi-node is easier...
Hang on, I'd reword that as "that equation happens to result in an approximation of e".

The way you've put it sounds like if mathematicians are trying to figure out e they are applying this equation (I'm of course giving assuming this is unintentional and the result of commenting quickly).
The Iraq Mess: Place Blame Where It Is Deserved
This one is different. It also has transparent QR codes integrated with it.
Turn off data, wifi, gps and all background apps. You'll be surprised how long your battery lasts.
My reasoning is this: if 4K is a new standard resolution for media (TVs, desktop monitors, laptop screens), phones should not be excluded, so there wouldn't have to be any upscaling/downscaling/converting which increases energy consumption and results it lower quality. LG is taking the right path and this screen should be just a test run for an upcoming 4K one.
pi^4 + pi^5 - e^6 = -0.00001767345...
I'll chime in with my experience. I'm in an emerging market in the middle east (Saudi).

I'm the founder of one of the very few funded Internet companies in the country. Spent the last 24 months fundraising with little luck. My God what a brutal time it's been.

When the company ran out of money, I talked with our leading investor about my need for temporary employment (we were talking with a couple of VCs at the time and I didn't want to commit before hearing from them). He ran an Internet company as well, and I worked with them for a while.

I did that for about six months till I knew the investments were not coming. After that I polished my resume and started contacting people and companies about possible full time jobs.

The first question that came to my mind was about which type position to apply for. Before starting the company, I was a software engineer - so I could always fall back on that. But the years I spent working on the startup forced me to be a generalist. It really worried me to think I wasn't sure what sort of position I should be seeking.

It came down to three main options,

1- managing a software product team (which aligns well with my passion for building things) at a software company.

2- working with investment companies interested in Internet/tech investment. What helped me in this area was that I did my homework when we were discussing the term sheet for our seed investment. And that I blogged and spoke about the experience (Arabic content about the topic is very rare, aside from general entrepreneurship hype).

3- working in digital marketing. This drew upon our experience with digital marketing our product. This was my least favorite option, but it had the most market demand.

One of the things that really helped me in this job hunt was that I was visible to the local industry in my attempts to promote the company. I spoke at events about lessons learned, I blogged about the various experiences... Etc.
Re "compatibility", I was thinking more about the language's library ecosystem, that could benefit from a single official regex implementation that can be relied upon and can be assumed to be known by programmers (when designing library APIs, for instance).

But I actually forgot to mention the biggest benefit of having dedicated regex literals (rather than just passing them as strings to some constructor at run-time):

They will be treated as part of the language, and can be parsed and compiled together with the rest of the code (a.k.a. at compile-time).

Which means:

1) Better performance

2) Syntax errors in regexes are compile-time errors, which is a huge help in keeping bugs out

3) Editors will show you syntax highlighting inside of regexes

It's hard to overstate the benefit of those three consequences; Once you've worked with a language that supports such compile-time regex literals (e.g. Perl) you don't want to go back to using regexes in a language that treats them as strings (e.g. Python).

Regexes are code, and defining code in strings to be eval'ed at run-time is just plain wrong.
Pfft ... this is nothing compared to

1.49 ^ 2.87

yielding Pi, whereby 1.49 is a price of a 250cl bottle of vodka and 2.87 is the price of 0.5l of the same. Former is known as "chekushka" and latter - as "pol-litra", both are the staples of Soviet Union alcohol landscape with their prices remaining stable for decades and permanently etched into the heads of every Russian, drinking or not.
Kind of falls out of his using one compiler per platform. There tend to be few differences though unless you use something less standard (like ARM's C compiler).
ObjC and C go extremely well together, more so than C++ and C. You just have to make sure platform specific stuff that is in ObjC and GUI stuff is separate, which he advocates for any way, if I understood correctly.
I agree. This is a mindset I had ingrained in me since childhood (probably as a result of watching too much of Capt. Picard).

It's funny how many things around you stop making sense with this mindset. Racism and patriotism obviously come to mind, but there are many, many more, including most of the political discourse on the local scale.
And where's Doge balance lookup? :P
I was just looking to see if anyone had commented that as I was thinking the same thing, does anyone know which was first?
Yes and no. If you try to avoid labeling yourself as a "member of group X" you'll find that you can avoid a lot of ingroup/outgroup behavior situations. It isn't always easy or possible, but it's something striving for. Pick your groups wisely.
Won't the high res screen use more power?
i th root of i

Not what you would expect.
Is there any chance get this into Homebrew for an easier installation on Mac?
They seem to have Fiddler for Mac and Linux now (alpha version) http://fiddler.wikidot.com/mono
It's actually vice versa. long is 64bit on amd64 linux and 32bit on amd64 windows.
> One brief tip: it is OK to give up your startup - don't feel that you can't.

It is hard for me to accept this Paul. If I talk to someone giving up their startup, I'd ask them to hold on for some more time and keep trying.

It has been more than 6 months since we wound up our startup. I have plenty of reasons why it failed. Team conflicts, No focussed idea - and many more. But whatever reasoning I come up with, what hits me when I gave up on my startup and even now, is my lack of persistence and determination. I've failed...

I've moved on physically. But I haven't been able to forgive myself for not being determined and persistent; which is what a founder should have. It haunts me. I wish I could have seen through it, even if it boils down to being a solo-founder.
After playing a while, this game turns out to be a lot bigger than expected.
I just installed it on my mac by doing $ sudo pip install httpie

It was not too tricky
Very classic indeed and very inventive way of solving it.

The article should have [2006] in the title though.
Done that - thanks.
Most "4K" is really 3840x2160 which is exactly twice 1920x1080. So scaling 4K resolution to a 1080p screen is easy, just average every four pixels into one. This screen though has 1/3 more pixels in both dimensions so scaling is actually harder.

Since a Nexus 5 is already at 445PPI with a 1080p screen I don't see any advantage of going 4K on this form factor. On a large tablet perhaps, but not on a phone.
I wonder how hot such a small star gets and how long it lasts. The big blue stars burn out relatively quickly, this thing must keep on trucking for a long time. Maybe before the heat death, all whatever's out there will have are these things.
Which is the same as i^(i^(i^i))).
I welcome our chocolate battery overlords.
i would love to play one of these, provided it would be c++/python/haskell based.
With flash support though, presumably for larger than fits in memory, rather than just as a persistent store, based on the fact it uses leveldb.
Location appartement Casablanca
Vous cherchez un bien immobilier au Maroc ? Un appartement, une maison...en vente ou en location ? Ne cherchez plus trouvez sur Webimmo !
bash enable sounds like a potential attack vector for executing code on a filesystem that would otherwise not allow it.
It's a mathematical equivalent of Virgin Mary on a toast. Two expressions not related by any close theory yield almost the same result.
And despite that, he still worked on his side project ?
He needs his head read.
Michael issued me a license, and he gets a 50% royalty. It would have been extremely sleezy of me if I profited from this without including Michael. Even if it were entirely legal.

Additionally, I didn't write the game in JavaScript. So none of the original source was used. I used a snapshot Michael gave me as a reference and rewrote the entire thing from scratch in RubyMotion.
I'm talking about now (...additional golf courses).

You're talking about some interpretation of the impact of what Mao said half a century ago on the Communist Party's latter-day policymaking ... which, given that the CP are not Maoist or even really communist anymore, is dubious and of passing historical interest at best.
This is false. Of course Michael is benefitting from the sales and the work he put in.
And what happens to those who are neither an "us" nor a "them"? They become a "me"? I prefer being a "me" but that also takes one down the path of possibly not believing in much and, following that logic, of becoming a cynic of all "us vs them" paradigms.

We can also look at the digital world and the "together, alone" concept. With globalization and pop culture, the internet and fewer and fewer entities in charge of our food/entertainment/etc, we become a "me similar to an us".

Edit: I took out an aside/anecdote.
Reminds me of the "most stupid thing" I ever typed into Terminal.app. I somehow managed to create a subdirectory named "~", and decided it was a good idea to do this:

rm -rf ~

It took me about 5 seconds to realize the command should have returned immediately, and frantically press Ctrl-c. But that was all that was needed to ruin two week worth of code.

If you want to try a fun little experiment, type this command into your colleague's shell and see what happens (and how long it takes):

mkdir ./~
Given annuity rates at the moment are in the toilet would a fixed rate been that much better?

Interestingly the UK is relaxing the requirement to buy an annuity when your DC (defined contribution) Pension matures.
Very high resolution panels will be needed for Virtual Reality headsets to reach human eye level fidelity. When looking at even this LCD panel from just an inch away from your eyes and through lenses, it's actually quite a low effective resolution per eye. We still have to go A LONG way to go with respect to screen technology.

Also unfortunately this technology is LCD (not OLED), so not suitable for VR applications due to lack of low-persistance.
And the 933 is not going to lose several thousand dollars in value the moment you drive it of the dealers lot.
What is there about my comment[0] that you feel is lacking? I'd be happy to elaborate further, but I'm not sure what you think I've missed out.

[0] https://news.ycombinator.com/item?id=7892425
They're working on a modern version nowadays. I think it's in beta. http://elite.frontier.co.uk/
Time-coding audio files
Sleep Like The Dead
There is a great story in Ed catmull's new book creativity inc that tells how the handled the time when rm -rf ~/* was run on the Toy Story II servers, deleting 90% of the finished film weeks before the release. Not a problem till they realized the backup system failed. I won't spoil how it ended but they recovers (not technical solution) but shows how to handle random screw ups. The book is a great read in general as it showcase their techical achievement as well as how to manage a creative culture.
agreed, it's fun too!
For most "computer guys" the real question is "how to be the guy worth marrying."
Yes, it is all an ad-hoc framework. There are no large frameworkless projects. Programming languages don't come with enough abstraction to model a large domain (unless you're using a 4gl, but those are semi-frameworks). You always end up building or reusing additional abstractions, and those collectively are a framework. The framework can be procedural, functional, declarative, oop, mvc, or any of dozens of additional buzzwords, but you cannot avoid having one.

Anyway, my point is that if you're working on a non-trivial solution in a problem domain that other people with good design skills have built frameworks for (like web dev, the most oversolved domain in software, aside from text editing), it doesn't make economic sense to roll your own. Even if you have the rare trait of good design, the productivity benefit for yourself by having a more closely adapted framework is washed away by the cost of building it and having to bring other people up to speed on it. I've had the experience of lots of home-grown framework code, and rolled my own quite a few times, and the longer i've had to observe other developers working on that code the more convinced i've become of NIH being a programming anti-pattern. It can make sense to roll your own, but for the majority of web dev programming it doesn't. There may be categories of software dev where the statement inverts though, i'm not going to generalize too far.

What i however also think is that many of today's frameworks are overengineered and force you to write too much code to solve a problem. They suffer from tdd-induced design damage, as dhh would describe it (the recent discussion between fowler, beck and dhh was enlightening). Many frameworks have optimized for secondary goals like orthogonality or compliance to design patterns instead of primary goals like fitness for purpose, speed of development, maintainability, and usability of the resulting product. However, i'm of the opinion that even given all that, for general web dev and for most people, it's better to use one of the common ones than to roll their own. They'll build a more maintainable solution in less time.
Angular Mobile UI Using Bootstrap
We've had 630k downloads to date. 30% goes to Apple. Michael and I split the rest. From my half, the IRS gets 45%. So my net so far is $120k.

Now, given that we're no where near the #1 spot, we're averaging about $1,000 a day. But that figure is dropping too. ADR is a depreciating asset with a life span of two years I'd say (making this assumption based on what I've seen with other paid apps and their rank history).
Ok so with profits funds is as simple as a basic two stroke IC engine with 3 moving parts not sure I buy your line
How Pixar almost lost Toy Story 2 to a bad backup [video] (2012)
$ bind '"\C-L": "\| less -S \C-j"'

Warning: seems like GNU readline isn't case sensitive so C-L === C-l thus, in this example, C-l default behavior (clear screen?) is overridden. I didn't RTFM so trust yourself.
Classic HN: The case of the 500-mile email
Yep - nice animated piece with interviews here: https://www.youtube.com/watch?v=EL_g0tyaIeE
And 10! seconds is exactly 42 days. Not an approximation.