skysight-inc/HackerNews huggingface dataset:
The Pomodoro Technique, which is mentioned on the page, has been helpful to me when I need to concentrate on solo work privately. I'd recommend it. It's an effective technique, and the only one I've discovered that's been significantly helpful.

To summarize: When you start on a task, set a timer for 25 minutes. Work exclusively on that task for 25 minutes, then take a 5 minute break and repeat. That unit is "a pomodoro". If any interruption occurs during the task, either an internal interruption like you find yourself reading email instead, or an external interruption like someone comes to your office, then you cancel that task and reset the 25 minute timer. Keep a record on paper of each pomodoro completed successfully, and each that's interrupted.

One of the primary values of the Pomodoro Technique is that it helps you be realistic about how much useful, productive time you can commit towards your tasks. Upon trying the Pomodoro Technique, a number of colleagues and I have discovered that one's reserve of fully focused time is typically around 2-4 hours per day when first starting to use it. (The remaining time per productive day is typically lighter work, like communication and coordination, and interruptions of various sorts. It's still work, but it's not fully focused work applied to the task you've chosen.) Over time you can adjust your schedule and manage your commitments to squeeze out more solo focused time, if that's what you desire. Some types of responsibilities naturally involve interruption and are not well-suited to this kind of solo focused work; however, whether that's the case or not, Pomodoro can help you be conscious about how much time you actually have available.

The Pomodoro Technique does not fight distraction directly. It's not like you're supposed to slap yourself when you cancel a pomodoro. Rather, you just keep track of it. This conscious awareness of your productivity engages a new part of the mind that helps rein in the short-term-rewards part. When you waste a day by doing work off and on while mostly procrastinating, it's sometimes easy to miss how much productive time you haven't spent. When you measure your productive time as "completed pomodoros", you can be realistic with yourself about your output, and make changes accordingly. It engages something new in your mind and enables metacognition that notices when you get distracted; when you are supposed to be completely focused on your task, and that notification pops up saying you have new messages, this metacognition will help remind you that you need to ignore it and turn it off, or else cancel the pomodoro. The long-term-rewards part of you that's powering the metacognition wants to complete the pomodoro. The act of recognizing those distractions will fight them. I suppose you could call it the Copenhagen Theory of Time Management. :-)
Read http://www.cs.tufts.edu/~nr/cs257/archive/florian-loitsch/pr... and, if you still need more info, a few of the earlier papers it references.

All of them may be correct as typically, multiple 'answers' can be correct. One could argue that given a number, one should print the shortest string that round-trips to that number, but that may mean that one prints "0.3" while the 'real' value is closer to 0.30000000000000004 or 0.29999999999999998 (a representation that one of the algorithms in the above paper gives) or possibly even equal to it.

Also, some of them may be incorrect for backwards compatibility reasons. In the eyes of some, that makes them correct again.

And don't get round to not doing it yourself :-)
Making a call from the jailhouse is exorbitantly expensive too.
a) there are apps already that always listen

b) lots of developers use ads or other SDKs in their apps, not to mention we just saw Xcode poisoned with a malicious SDK
That's the actual rate, the promo rate is $39.99

www.xfinity.com/internet-service.html
As the saying goes, possession is nine tenths of the law. Doubly true when said possession is enforced by the largest military in the world.
I find your lack of faith disturbing.
The movie has far more religious overtones, or more generally overtones of valuing "faith" as directly characterized by believing in things without evidence.

However, personally I still appreciate it for a different reason: it suggests that the human drive to seek a higher purpose or a deeper meaning can meaningfully apply to reaching for the stars, too. Put together with the rest of the story, I still enjoyed it despite the overtones.
It's more likely that parent was talking about Windows Store and just mixed up the names.
That's why I implemented (an early personal version of) doitlive:

http://doitlive.readthedocs.org/en/latest/
My wife runs an early stage charity called New Incentives supported by Givewell, hoping to become a candidate for their top charity recommendation.

They use an evidence-backed model called conditional cash transfers. They give money to disadvantaged pregnant women when they achieve health goals that increase the probability of their child's survival (example: activities to reduce HIV transmission from mothers to babies).

The whole organization is a mobile-first organization using biometrics for verification (because technology is the best way to cut across corruption) and they work on many interesting operational challenges. The organization could really use the help of more engineers, especially Android app developers, to tackle some of these challenges.

If anyone is interested, please respond to this comment or ping me.
Yea I remember that one, it is a great example and awesome talk.

However as far as presenters go, this guy is a bit of an outlier. He is also a teacher, he offers some python mastery classes in Chicago, so he is more practiced at explaining and working through example code.
Will Coderwall continue to exist, or is that shutting down as well?
Yes, it is open sourced. I think it's different though. It looks like the "squashed image" feature flattens an image. DockerSlim tries to extract only the artifacts the application needs, so it can turn a 431 MB image into a 14 MB image (just an example, not always possible with every application type). DockerSlim relies on runtime analysis to shrink images that much.
An explanation of the following useful fact:A fraction p/q is equal to a finite length floating point number in base b <=> q divides b^n <=> the prime factors of q are prime factors of b.

Proof if q divides b^n, then q * c = b^n => p/q = (p * c)/(q * c) = (p * c)/b^n = (p * c)e-n in base b.

Example: Express the fraction 7/18 (base 10), in base 60 and convert it to a floating point in base 60.

60 = 2^2 * 3^1 * 5^1, 18 = 2^1 * 3^2, look for c such that 18 * c is a power of 60. Observe that the factors of 60^2 all have exponents that are greater or equal than those of 18, so we can multiply 18 by the required factors to get (60^2). This way: 60^2 = (2^2 * 3 * 5)^2 = 2^4 * 3^2 * 5^2 = 18 * c = (2^1 * 3^2) * (2^3 * 3^0 * 5^2)= 18200, so we need to multiply by 200 the numerator and denominator of the initial fraction to get a new fraction whose denominator is a power of 60. Now 7/18 = (7 200)/(18 * 200) = 1400/(60^2) and 1400 = 23 * 60 + 20.

Finally 7/18 = 1400/(60^2) = 0.2360 in base 60.

We use the notation 00,01,02, ... 59 for the digits of base 60, so 2360 is a two digits number in base 60.

The asterisk used for multiplication is not shown in HN, don't know why.
Fallout 4 Is More Powerful Than Porn
I much prefer: "Here's a project, get it back to me in an hour." I get all tense and nervous when people are watching me work.

I don't mind showing my work, but not while I do it.
Data from the IMF must be taken with a grain of salt given that their agenda is to provide loans with impossible terms and then repossess national resources when a country defaults.

"America has put [the debt crisis] behind it" isn't quite true either. A large part of the cash withdrawn from ZIRP and quantitative easing has gone straight into record-setting stock buybacks over the last three years, propping up the market and increasing income inequality without creating any real value or skilled jobs.
Across the Pond: U.S.-to-Europe deal activity on the rise
We do it for the adrenaline rush
Luckily, I'm able to install Windows 10 via Boot Camp on the same machine and it works really well. End-Of-Life on Windows 10 security updates is October 2025, so the machine still has plenty of life in it. It just probably won't spend much time in the Apple ecosystem anymore.
BlackBerry Priv review: Android fixes the OS, but the hardware can’t compete
Yes, recycling is pretty good in EU too. (There's a law for it - WEEE Regulations https://en.wikipedia.org/wiki/Waste_Electrical_and_Electroni... )

Still, a washing machine should last 10 years not 5. And many of them would, if manufacturers didn't build in obsolescence. Washing machines often have a bearing in the drum that fails. That bearing can be replaced if the drum is contained in a shell - "tub" - that opens. Many of the tubs on the drums are now molded shut, which means this cheap bearing can't be replaced, the whole tub needs to be replaced, which means the machine gets scrapped.

http://www.washerhelp.co.uk/forums/topic/1178-whats-wrong-wi...

http://www.ukwhitegoods.co.uk/help/buying-advice/washing-mac...
"Your live coding demo is boring"

I totally agree that most live coding sessions, wherever they are demos or courses or casuals youtube videos are often pretty bad. But sometimes live coding just rocks :

https://www.youtube.com/watch?v=FvS_DG8yIqQ
Also interesting links about this compounds safety and effect as a treatment to Alzheimer's disease that was previously published (http://www.alzres.com/content/5/3/25)

Summary from that paper:
J147 is an exciting new compound that is extremely potent, safe in animal studies and orally active. J147 is a potential AD therapeutic due to its ability to provide immediate cognition benefits, and it also has the potential to halt and perhaps reverse disease progression in symptomatic animals as demonstrated in these studies.

---
The new paper is at:
http://www.impactaging.com/papers/v7/n11/pdf/100838.pdf

Abstract:
Because age is the greatest risk factor for sporadic Alzheimer’s disease (AD), phenotypic screens based upon
old age‐associated brain toxicities were used to develop the potent neurotrophic drug J147. Since certain aspects of aging
may be primary cause of AD, we hypothesized that J147 would be effective against AD‐associated pathology in rapidly
aging SAMP8 mice and could be used to identify some of the molecular contributions of aging to AD. An inclusive and
integrative multiomics approach was used to investigate protein and gene expression, metabolite levels, and cognition in
old and young SAMP8 mice. J147 reduced cognitive deficits in old SAMP8 mice, while restoring multiple molecular markers
associated with human AD, vascular pathology, impaired synaptic function, and inflammation to those approaching the
young phenotype. The extensive assays used in this study identified a subset of molecular changes associated with aging
that may be necessary for the development of AD.
All I know is no matter what I do I can't get ports open to the Internet and my ISP plain out told me that it's impossible on their infrastructure
I worked for a company called Roshan in Afghanistan last summer. They're the largest telecom company in the country, as they were the first to risk buying the necessary gov contracts in 2003 after the US ousted in the Taliban.

Roshan's founder, Karim Khoja, was basically sent to build a telecom network in Afghanistan by his religious leader, the Aga Khan. The Aga Khan heads the Ismaili religion, which is a small (~25m) sect of Shia Muslims. He oversees the Aga Khan Development Network [1] which has both a non-profit and a for-profit arm that work together to build up developing economies. I know they're also pretty heavily involved in humanitarian efforts in Syria at the moment.

Roshan was well-managed and very successful. It employed a large number of awesome Afghans, and contributed a lot to an economy that had nothing else going for it besides war, opium, and rugs.

Just one example of an organization that is doing good things out there, especially in the war-torn middle east. Things might change for the worse now that the US/Europe is pulling out of Afghanistan and the Taliban/ISIS are coming back to power. At the end of the day it was the stability brought by the armed forces that allowed expats and investments to flow into the country.

[1] https://en.wikipedia.org/wiki/Aga_Khan_Fund_for_Economic_Dev...
I don't come quite from your background, but my social circle growing up overlapped with that world a bit. There's a huge gap between the bone-in poverty world and the "rest" of the US; ambition, expectations, mobility, money, interactions with authority, etc.

It's the case that able and motivated people leave, and they better themselves, and the people left behind are, sadly, less able, less motivated, less something. This accelerates the cycle. It's not just city/country (although that seems to be a big part of it): out West there is still a lot of money in industrial farming of wheat, potatoes, etc. Those communities are chugging along. It's the communities which have no industry that fail.
> but that's because it was novel (her sex provided that)

I'm hoping I misunderstood this. If not it is one of the more sexist things I've seen on HN.
I do a live demo in my talks but it's mostly CLI stuff. I start a service (on the local machine, so no internet issues), and do a few simple things like curl requests. Yeah, I could have put the same commands and output on slides, but I think there's something about doing the actions in front of people that makes the process seem even more accessible. Like "hey I could do what that guy literally just did".

In fact I did this in a talk I gave just last night. If any of the audience are also HN readers, hope I didn't bore you. ;)
Sure you remember the ads, but did you buy an Isuzu?
Star Raiders is one game in a long series of games that pretend space travel works like airplanes of the WW2 era. It's a very impressive game for the technology it was on, but doesn't convey any of the concepts Sagan was talking about or is known for.
Jim Weirich's "Y Not - Adventures in Functional Programming"[1] is perhaps the most entertaining and interesting technical talk I've ever seen. It would absolutely not be as cool or as fun without the live coding. Additionally, the incremental process by which he arrives at the conclusion makes the topic much more approachable.

1. https://www.youtube.com/watch?v=FITJMJjASUs
I see Microsoft do this all the time. And I agree - it's stupid and boring. It's time wasted. They could instead be explaining the nuances of their language and platform.
Apple Co-Founder Steve Wozniak Gives Muted Praise to the Apple Watch [Fortune]
Access to employees and access to investors is a big part of it for sure.

Depending on the nature of the business, it might also be access to prospective customers, particularly for b2b tech plays.
Yep, there are certainly exceptions! It's not a blanket rule. Rants aren't quite as much fun if you equivocate for the 5% case though. =)
S. 1659: Voting Rights Advancement Act of 2015
I feel like cooking shows get this right. A lot of prep work is actually already done, but not all of it.

It's nice to see that parallel in software presentations where most of a method or main loop logic is already written out and the important bits, processing, or concepts are explained within the relevant 5-10 lines of code.

Show me some of the prep, but don't make me watch dough rise.
Sure, knowing all the things makes you a better team member.

But all this is orthogonal to what was being discussed. DevOps is a thing, and the skillset(s) are not necessarily the same. Similarly anecdotal; I'm a pretty decent dev. I'm not a decent ops person for a variety of reasons, the biggest being a complete lack of interest. Would knowing more about ops make me a better team member? Maybe marginally, but we have devops people that don't have to concern themselves with application code, and apps people that don't have to concern themselves with (almost any) of deploy/ops details.

That makes us more efficient, because we don't have to know all the things, and can actually have time to focus.
You could probably 3d print a device now to a high degree of precision, after modeling it in SolidWorks.
You have to wonder about the management at IBM that made him unhappy enough to leave in the first place. That kind of guy is going to do what he's going to do now matter what. Whether he does it for you or in competition against you is the only question.

There are very few lengths management shouldn't have gone to keep a guy like that happy at IBM.
We didn't revert. I've since left, but they're still using the newer method. I believe the decrease in time to fill positions was determined to be worth the decrease in quality. It's been over a year - maybe 2.
I also took a class designed around this class at UCLA. The bomb lab was absolutely the standout, both in terms of what I learned and how much I enjoyed it.

Didn't see it mentioned, but the really cool thing is that the bomb required internet access and would phone home to a server to dock points if you let it go off. As you said, all it required was that one breakpoint, but it still made everything feel more critical.
Shooting and bombs in paris soccer stadium
I've also personally run across cases where I was bitching about some aspect of the service at a hotel or whatever. Not trying to get customer support necessarily, but just complaining--e.g. the network went out for 2 hours this afternoon. And I've had people from the main hotel customer service reach out and put some points in my account or whatever.

It's not a huge deal but this sort of thing can move experiences from black marks to something even mildly positive.
I know you're talking about specifically word-less music but there are some pretty cool examples where the lyrics are more abstract and animation is connected without being literal.

Here's one I love (by a locally-based musician so I'm probably biased): https://vimeo.com/123219861
Thank you for writing a tutorial - saltstack needs one and it will save people a lot of pain.

I don't know of any good tutorials or tutorial theory. However, someone once showed me a trick that works well when describing something complicated:

Start writing at the end. The end of the text should be the first thing you write.

E.g describe the final setup and then fill in all the missing information that is needed to understand the goal.

This makes what you write much more focused.

Another thing that works well is that the text starts by describing a problem. This makes what follows more interesting.
FBI: “The allegation that we paid CMU $1M to hack into Tor is inaccurate”
I Met C-3PO and Learned About His Raggedy-Ass Costume
SwipeShop • San Francisco • Technical Advisor/CoFounder • 13%-18% FT DOE / 1%-2% Part-Time • U.S. Only

SwipeShop is a peer-to-peer, mobile-first commerce platform that allows local buyers and sellers to connect and transact in a safe, social, and simple way. We took the simplicity of swipe-appraisal and applied it to discovering second-hand items in the local neighborhood. What makes us truly unique is our approach to building liquidity within a very specific and untapped market.

You will find more details here: http://www.SwipeShopApp.com

SwipeShop is as early stage as it gets. We bootstrapped a V1/Beta, which we tested at 7 specific markets for 6 months. We have identified necessary changes based on focus group and consumer interactions and we are looking to bring on a technical advisor who can guide us in vetting a developer, or a lead cofounding developer who would come on and make immediate impact to the vision of the product.

Generally speaking, we are looking for technical talent familiar with the following aspects of app dev:
1) Payments
2) Data Analysis
3) Messaging

Below is a more detailed look at our recruitment needs.

• iOS Front End -- We are looking for someone who is intimately familiar with iOS development and internals, who has an appreciation for the craft of software development and experience with making decisions that result in great products. This candidate should look at the product as his/her own, and influence the project as such.

• Back-End Developer -- We are looking for a Back-End Web Developer responsible for managing the interchange of data between the server and the users. Your primary focus will be development of all server-side logic, definition and maintenance of the central database, and ensuring high performance and responsiveness to requests from the front-end. You will also be responsible for integrating the front-end elements built by your coworkers into the application. A basic understanding of front-end technologies is therefore necessary as well.

• Android Developer -- We are looking for someone with deep knowledge of the Android framework and an equally strong intuition for pairing beautiful app experiences with beautiful code. You'll be the architect of major features, working together with the development team to build the future of local commerce.

• Mobile UI / Product Designer -- We’re seeking an original thinker with strong visual design skills ready to create a memorable user experience. You'll take on developing the look and feel of SwipeShop on iOS, Android, and the desktop. You’ll be responsible for updating the visual design for the app and helping shape consistent guidelines to communicate a compelling user story across our products and other touchpoints. You’ll work closely with a team of engineers with a passion for making usable software.

See more at http://SwipeShopApp.com or shoot me an email at hiring@SwipeShopApp.com
Paris shootings in city centre and explosion at Stade de France
Your live coding demo is only boring if you do it wrong!

This is how to do it correctly: https://youtu.be/O2XG846oKAY?t=211
> Students want more than they did before.

Hmm, perhaps the cost of these things should be separated from the general tuition, thereby allowing people to pick and choose according to what they will pay for. Therefore staffing will scale to demand.
And I'm on cloud nine for having a 10Mbps connection. #IndianWoes
I disagree. Finding recognizable chunks of code is what antivirus software does every day. And while they're not perfect, the OpenSSL code in question here isn't exactly trying to hide, unlike viruses in real life. This was obviously an oversight, but I would expect that after this, they run occasional tests of the app verification process across all apps, and not just verify the apps themselves don't crash.

In fact, they must be doing this kind of thing right now -- how else could they contact all the affected developers?
PornHub reports a 10% traffic drop the day ‘Fallout 4’ came out
> incognito companions
That's an excellent phrase, and describes them perfectly.
This is even more true in the live interview. You need to start doing something early -- just say: "I'm going to code something up quickly, and then I'll try to improve it" -- then write out something.
21 May 2014, Arstechnica. "Passive listening will soon be a feature for Facebook app during status updates" http://arstechnica.com/business/2014/05/passive-listen-will-...
Do they do USD interest calculations in something smaller than 1/10000 (decimill I think)?

The issue with BCD would be data store support and CPU support right? Do CPUs support doing math directly with BCD values and does your DB support doing math directly with BCD values?

In any case, using floating point for any currency calculations is a huge no-no, even though a lot of things do it anyway.

I work with Magento daily and all their currency math uses PHP floats and the rounding errors drive me bonkers.
Brings back some memories!

I added sound (via web audio) and touch / joystick controls to Ben Firshmans excellent NES emulator.
Needs more mappers though.

Don't know if this counts as well - there's also phosphorus, a Scratch emulator:

http://phosphorus.github.io/