Better HN
topnewbestaskshowjobs
Log inSign up

cpplinuxdude

168 karma · joined Jan 8, 2013 (13y ago) · 90 submissions

Submissions

comment 10y ago · link · parent

> What is an unhealthy fat?

Fat consumed with high levels of sugar.

Not everyone has the capacity to be strict with their diet, habits, or health in general. These people might still attempt the Keto diet.

The Ketogenic diet gets approached by lots of people with mental health issues (bipolar for one), and people who have issues being strict with their diet.

Advising them to get their blood work done, and heart checked is normal, and sensible. Getting your blood and heart checked regularly is a healthy habit, and provides vital feedback to understand exactly how your diet is impacting your health.

comment 10y ago · link · parent

A word of advice to those attempting a Ketogenic diet: get your blood work done on a regular basis.

If possible, get heart scans done once a year.

It's easy to slip into a sloppy version of the Ketogenic diet, at which point you're consuming lots of unhealthy fats and carbs, you triglycerides and cholesterol could shoot up and put you in shit street.

This is a strict diet.

comment 10y ago · link · parent

Marbella: beach. :)

comment 10y ago · link · parent

I like the premise of the article. This is now a black & white issue; it's not about how the onus is entirely on the user, or entirely on the machine. Instead it's about both assisting each other, but humans ultimately remaining at the wheel.

comment 10y ago · link · parent

Please help me understand why DuckDuckGo decided for the query to go in the URL, as opposed to being encrypted on the client before being sent to the server as a get or a post.

Most users probably have their browsing history switched on, and synced with their friendly browsing software provider anyway, totally reversing any privacy advantage a user might potentialy gain by using DuckDuckGo.

comment 10y ago · link · parent

Yet another article to beat procrastination. I like the idea of rewiring the limbic system though.

comment 10y ago · link · parent

Why on earth haven't I come across this information before? I spent a crazy amount of time researching frameworks before settling for Meteor, and never came across this.

comment 10y ago · link · parent

I'm sorry for being the one breaking it to you, but I think you may, unfortunately, be wrong. :)

comment 10y ago · link · parent

When I had to learn Python to do my job, I read a few pages on python.org, and one of the things it mentioned was that 'a python developer can do in a month what a C++ developer can do in a year".

Expressive, concise code is always a good thing.

Meteor is excellent for MVPs and POCs; there are a lot of people out there with big ideas, but limited budgets to test out those ideas.

In Meteor, you can access your collections from the client and the server; and the vast number of packages on atmosphere makes writing a webapp in Meteor feel more like assembling lego than anything.

The speed at which we can write software is tightly correlated with our ability to innovate quickly; test things out, keep what works and throw away what doesn't.

I've developed things for clients in Meteor, in a matter of weeks what others have failed to deliver in year

90% or so startups fail, not because your front and backend were too tightly coupled, but because of a whole variety of other reasons. Given that most of that code will end up in the bin anyway, might as well focus on quantity, and switch to something more robust when need be.

comment 10y ago · link · parent

IFFT has a recipe to silence your phone when you're in focus time with rescue time.

I also put my laptop in a bag once in a while, padlock the bag, then put my phone and padlock key in my ksafe (http://www.thekitchensafe.com/). Offline heaven.

comment 10y ago · link · parent

Meteor fan here (new convert). Why build something that already exists, just by curiosity?

comment 10y ago · link · parent

Would you like a foot-rub with that sir? :)

comment 10y ago · link · parent

This is a little worrying; after much research I'm starting a new project for a startup using the meteor stack.

comment 10y ago · link · parent

Interesting. I think the posts contains a lot of useful information, however I believe this kind of response is detrimental toward user acquisition.

It's very much akin to the tech guy walking into a sale's person's office, to fix their immediate need. The tech guy is thinking all he has to do is teach the person to think for themselves, problem solved. All the sales guy is thinking is is "oh god, please don't teach me anything".

Personally I find locate and slocate very useful in linux to find the files I am after. Going over these might be more useful. That or whatever third party tools are available, with a UI and good UX, to achieve a similar goal.

comment 10y ago · link · parent

Yes please!

http://imgur.com/KzShplA

comment 10y ago · link · parent

Any code examples I can just load?

comment 10y ago · link · parent

> Imagine a car where the passenger's side is fully set up to drive, and with the push of a single button, the driver can swap all control to the passenger. I'm having a hard time thinking of situations where this is better than just stopping the car.

I don't know about you, but when I'm a passenger in a car, I'm attentive to everything. I guess the fact I often have strong rapport with the driver (usually a family member) means we are in sync; I mean I'll literally do blind spot checks, and carry out many of the driver's visual rituals simultaneously.

I think this is an interesting scenario; machines assisting men in, for example, collision avoidance systems, or in this case all the way up to self driving; and men being required to help self-driving machines in unusual situations.

comment 10y ago · link · parent

> a restaurant in in Zhangjiagang city recently started charging patrons for fresh air, after owners bought air filtration machines for the establishment and added a surcharge to people’s bills for the operation costs.

Having lived in Mumbai for 2 and a half years, this to me actually kind of makes sense.

Surcharging people will probably vanish once air filtration becomes more common, or ubiquitous (I've never been, so wouldn't know).

But in Mumbai, there's really nothing like stepping off the hot and polluted streets, into an air conditioned place with clear air.

Of course, the issue needs to be fixed at source, and this is so obvious it's hardly worth stating. But somehow, having lived in a polluted asian city, none of this surprises me, unfortunately.

comment 10y ago · link · parent

Yup. And right now, people above a certain age raise an eyebrow when a domain is not a .com, or .co.uk, or .[something familiar].

But the more time goes on, the more we'll have users who just don't care if it's a .io, .xyz or .whatever.

comment 10y ago · link · parent

Doesn't holistic approach just make sense?

It's not like you learned to speak with your parents reading you the dictionary beginning with the letter A.

comment 10y ago · link · parent

That's useful, thanks.

comment 10y ago · link · parent

I only used it for small scripts. I'd think twice before using it for anything more significant.

What did you use it for, if I may ask? What how big a project are we talking about?

I would have thought hitting the docs wouldn't be a part of the annoyances list. Did you feel you had to hit the docs more than with any other language?

comment 10y ago · link · parent

Let's not forget what perl was created for; it's a practical extraction and report language.

Initially it was used to extract tables from text documents, and its always had a strong focus on text manipulation and regular expressions.

Its implicit variables and syntax mean you can write very, very concise code. Yet by following stylistic guidelines of your choice, you can write code that looks sane and maintainable.

I really like the fact you can import os commands and call them as a part of the language. It makes writing scripts a breeze. In fact writing anything in perl is a breeze. Check rosetta code, you'll see Perl 6 is one of the most concise at every turn.

As much as I really like python, I find that calling system commands is a pain.. calling os.system is obviously far from great, and calling subprocess can get cumbersome.

I haven't played with perl in a while, but my past experiences with perl was always getting a lot done, with very little work.

comment 11y ago · link · parent

It depends on many factors, such as experience, learning abilities, and how well people work together. Speaking for myself, I can start becoming useful within my first morning using a new language or technology. Then, given that I'm working with people who enjoy sharing their knowledge, I can be up to speed with them in a week.

What I tend to dislike with the concept of prior knowledge before being let to work on something, is that in the vast majority of cases, once you join a team that has such a requirement, you notice their knowledge acquisition rate is currently flat; they've become stagnant themselves and are generally insecure about what they know and don't know; it's usually people with a currently flat learning curve who assume others need to know a technology prior to working on it; they're just projecting their static mindset onto others.

Some people eat new programming languages for breakfast if they have to. Deal with it?

comment 11y ago · link · parent

Or how to have 1984 running in your web browser. :)

But some people don't care about their privacy any longer, because, well we probably have none at this point anyway.

So in for a penny, in for a pound.

Edit:

Consider putting something about privacy right at the top of the page, if such a feature exists. e.g all bookmarks are encrypted, and only the user has the key, or whatever.

comment 11y ago · link · parent

Quitting for a week, and quitting forever are two different things. Life off facebook has its own challenges too. How does a 1 week study draw such categorical conclusions?

comment 11y ago · link · parent

I got lost a the word "space-age". I don't mean to be the pedantic one. Sorry. But why would an outlet like the NYTimes use a word that means 1976 when they don't mean it. Meh.

returns to article

123