News for hackers. Stuff that matters.

parmesan

Re:The struggles of an open source maintainer on Friday May 17, 2019 @08:37AM (#19938900)
He/she posted that they had "a dozen kids", could just be exaggerating a bit.
Re:How Sitting For Long Periods Affects Your Metabolism on Tuesday March 26, 2019 @11:38AM (#19492787)
I'm working remote since 4 years, and I have had periods spanning weeks where I have moved less than 2000 steps during 90% of the days. When I started working remote, I went from walking 8k steps per day to ~1k consistently for a 6 months or so. My schedule when I started was 1) Go up from bed 2) Go to computer 3) Sit for ~8h straight, only pause for toilet and making lunch 4) After 8h make dinner, eat, feel like a vegetable in both mind and body.

I've since then re-arranged my day to at least walk 5k-8k steps per day. I've found that the step count doesn't matter much, I need at least 30min high intensity workout every day to not go numb in my mind and body. Luckily, I have two daughters, so I'm forced to do more excersices than I did when I worked from outside of my home.

Re:The Chinese media model on Tuesday March 26, 2019 @08:30AM (#19491116)
I'm accessing it from Sweden.
Re:Ask HN: What technologies did you learn in 2018? on Monday December 24, 2018 @05:13AM (#18751404)
Thanks! And yes, that's indeed true. There's a fine line between passion and obsession. I found that my motivation and passion easily are morphed to their negative equivalents when I'm under pressure, or when I just need to focus on something else entirely.
Re:Ask HN: What technologies did you learn in 2018? on Sunday December 23, 2018 @05:30PM (#18748794)
Nothing. Strangely enough, I can't think of anything new techy that I learned this year.

I've worked full time remote in mobile and machine learning the last 3 years, but this year is special. This year has required me to set my own motivations and goals aside to really be there for my 18 months old daughter, and for my wife. At first I tried to resist and focus on both my family and my career, but I found it hard to be my best self for them.

I took a step back from the stress and greed. I learned that I need to keep my career out of my head when I'm caring for my daughter. I'm more motivated than ever to do some cool projects in 2019. And I've learned that I need to maintain a mental balance between work/passion/me and my family.

Towards new beginnings, and growing as a person.. :)

Re:Neural networks in JavaScript – free 19-part course on Sunday December 23, 2018 @04:26PM (#18748436)
Real world use cases might be; Classifying the users mood from mouse movement, classifying the microphone audio. I.e. process real time data that might be too large to upload.

I personally haven't seen any NNs being used in browser apps, but there are plenty of existing mobile apps that has NNs to classify audio/video/etc directly on the device.

Wow this is amazing! I don't understand the VCs input about ML, why and how would it help in this use case?
Re:VS Code can do that? on Saturday April 21, 2018 @11:49AM (#16891855)
I believe it is the same functionality as in Sublime, IntelliJ, Eclipse and others. It's a total lifesaver when editing bulk stuff, like a lot of constants and what not! One of my must-haves in an IDE.
Dagger2 is great when you have it setup, generating the dependency graph during compilation makes it lightning fast during execution. I also like the error messages, as long as you can read Java stack traces all the info for solving errors are in there - I've never seen an unsolvable situation this far.

Kapt does bump the clean build time to about 2min, incremental builds take between 10-60s - although actually launching the app on an emulator/device adds another 20s.

The cons of Dagger2 that I've experienced since it's launch are; The documentation and support is useless. You're on your own of you don't use a 3rd party sample project as a template. No one understands scopes and subscopes, subcomponents etc. The new Android dagger api is arcane and weird, no one wants to use it.

The Dagger2 team should (if they aren't already) create a Kotlin extension for it, I believe there are some syntactic optimizations to be offered.

Re:Game Workers Unite on Saturday March 24, 2018 @09:10AM (#16666423)
You should advice your relative to just get another job, dunno why anyone would bother working under such conditions.
Re:Samsung Galaxy S9 and S9+ on Monday February 26, 2018 @04:02AM (#16464065)
I have a S8+ and have never been annoyed by the round edges, never experienced any distorted colors or been annoyed by indirect light.
Re:Planet Shadertoy on Sunday February 25, 2018 @12:43AM (#16457340)
It doesn't render properly on my Samsung S8+, Chrome/Firefox. Weird!
Re:React Native and Yoga Both Given MIT Licence by Facebook on Saturday February 17, 2018 @04:50AM (#16399948)
/s? React Native seems to be the only alternative to native apps as of today. Googles Flutter might be a viable alternative if they don't drop it, but it's far from production ready..
Re:Australia’s new real-time banking payments platform on Tuesday February 13, 2018 @05:15AM (#16366049)
Most people use it at least once a week, I use it around 2-5 times per week. It's awesome.
Both are already compatible. (I'm using both on Android)
Re:The diabolical genius of the baby advice industry on Monday February 12, 2018 @03:41PM (#16361890)
Our baby goes to sleep between 5-8pm and sleeps until 6-7am.. She makes the rules though, when she finally becomes grumpy in the evening I prepare some food and it's off to bed. Works every time!

I believe all babies are different, so luckily our first have been kind to us this far with her sleeping habits and mood.

Re:An introduction to Reactive Programming on Thursday February 01, 2018 @11:47PM (#16288490)
It's turned out to become a standard for mobile developers due to the concurrent and async nature of the platform. As a side note, I've been working through ~10 different code bases during the last 4 years - every single one has included an Rx library. Scala, Java, Swift, Kotlin, C++.

My bet it's here to stay.

Re:TDLib – Build Your Own Telegram Client on Thursday February 01, 2018 @08:22AM (#16281636)
Takes a great engineer to make that work as well as it does..
Re:The hustle is dumb and killing you on Thursday February 01, 2018 @01:58AM (#16280078)
80 hours?! I can't believe anyone can work that much, to me 40 hours is the limit. I won't work one hour more than that if it isn't necessary.

If I would code for just 60 hours/week I would only last less than two weeks. My spine and back would probably give up on me before that. Other than that I would be the worst father, friend and husband ever since my brain would be totally messed up between working hours, and in the long run during them as well.

Not to mention my productivity would be dipping to like 30% after a week or so with that pace. Today I have 5-7 highly productive hours out of 8 working remote. Sometimes less, sometimes more. But if I lose my balance and start working an extra hour each day I usually start dipping in productivity and sleep as the days go by.

Re:The paradigms of programming on Monday January 29, 2018 @09:05AM (#16257517)
My thoughts exactly, though it should be noted that the architecture astronauts are more common in customer facing software. In most backend projects I've been involved in, the final state of the project is so well known, all different corner cases are well covered by the chosen architecture. For frontend clients however, the architectural choices mostly end up being tech debt.

Sometimes I prefer "and then, and then, and then" over "sign up async observer, send through our java-redux, oops forgot to implement async actions, hack in an and then and then and then case into it" -solutions.

Re:Httpie: A cURL alternative on Sunday January 28, 2018 @04:08AM (#16250521)
Httpie is my version of Postman and similar services, curl for humans is spot on imho.
What?! I didn't know it indicates that the user is "untrusted", I'm from Sweden and my impression has been that the green users are super users of some kind.
Re:Kotlin: A Language with a Bright Future on Monday November 20, 2017 @11:05AM (#15740876)
If you're familiar with Java, adopting Kotlin is just a matter of setting it up and reading the docs frequently for a week or so.

If you want to, Kotlin can be practically Java without the over-verbosity and some nice extra features. In time you'll be writing less Java-Kotlin and more Kotlin-Kotlin, if you get what I mean. To me the syntax and structure is so resembling to Java that I haven't really had any confusions at all, most of my gotta-read-the-docs moments involve the concepts that you can use that aren't present in Java (along with the `when` version of `switch` which I've grown to love).

Re:YouTube terminates exploitive ‘kids’ channel ToyFreaks on Friday November 17, 2017 @03:42PM (#15725802)
There are bots, humans and what not exchanging code words and encrypted data in the comments on many of the involved channels. There are thousands "confirmed" channels with many of them having hundreds of videos each, there are hundreds of comments on each video.

The content is clearly managed by a "small" number of individuals. It's dark. I usually don't catch on to conspiracy theories, but there's a lot of data to go on when it comes to this one.

Re:Firefox 57.0 Released on Tuesday November 14, 2017 @09:57AM (#15695497)
I just updated - WOW! What an improvement! Compared startup time and scrolling around some over-monetized sites; Behaves just as well as Chrome. Time for a switch again, I've missed FireFox since I started having Chrome as my default browser back in ~2011
Re:Backdoor with root access found from OnePlus phones on Tuesday November 14, 2017 @08:40AM (#15694833)
Ikr, why would you even insert a reference like that?
I appreciate that they crack down on content that is obviously designed to hurt and traumatise.
Re:Simple React Patterns on Friday November 10, 2017 @08:27AM (#15669696)
In Android (for example), one would use an observable stream bound to the lifecycle of the host. Most folks do this using Rx and add a custom operator for unsubscribing on the host DESTROY event.
httpie: https://github.com/jakubroztocil/httpie (cURL for humans)

Httpie is my goto http cli for all systems. Pretty much PostMan (that a lot of ppl use for no reason) but without annoying UI and on a single line. Formats JSON and colors it right in the terminal as well. Has a super nice query, header and post body syntax. Works well with sessions and cookies.

Re:The art of over-engineering your side projects on Friday September 01, 2017 @01:59PM (#15150886)
Set your goals high for the project instead, achieving your goals can never be considered over-engineering. Don't let the scope creep into "oh I should totally spend 30 hours on this form design"

Older »