HNHacker News
TopNewBestAskShowJobs

xgdgsc

693 karma · joined January 25, 2015

submissionscomments
xgdgsc··on Why We Use Julia, 10 Years Later
Currently you can use the workaround to redefine structs in Revise https://timholy.github.io/Revise.jl/stable/limitations/
xgdgsc··on Ask HN: How do you get out of a rut?
One thing worth mention is you should block all the easy options (social media, video, games) at morning/afternoon. For me once I do those easy things at morning they seem to stuck at working memory for long to hurt my whole day concentration. I allow those easy options at dinner time as a small reward and block them again at 21:00 to 23:30.
xgdgsc··on Ask HN: How do you get out of a rut?
It's fine if it just happens in the evening,as long as you can finish meaningful work at day. I would arrange entertainment of today evening on morning as reward for day work. It might increase your productivity at day and after work you can enjoy the evening better. Or in some cases you have kind of flow of mind that continues in the evening that makes you skip arranged entertainment to do more.
xgdgsc··on Scattered thoughts on why I waste my own time
Recently I bought a Hisense a5pro eink phone as my secondary phone and commenting from it. I'm experimenting with reading those addictive sites only through this eink screen(block them on colorful screens). So far the desire to continue browsing or comment has dropped by a great deal. I think it might work if those sites are less visually stimulus than your workstation.
xgdgsc··on DJI Mavic 3 Drone
BYD https://www.youtube.com/watch?v=UvzRfUGAB_s
xgdgsc··on Ncdu 2: Less hungry and more Ziggy
I recently use https://github.com/bastengao/gncdu which is in Go. Easy deploy.
xgdgsc··on Private Home Directories for Ubuntu 21.04
This could be simplified to https://bugs.launchpad.net/ubuntu/+source/adduser/+bug/48734 is fixed.
xgdgsc··on Interactive C++ for Data Science
Glad they fixed this issue: https://github.com/jupyter-xeus/xeus-cling/issues/91 which made me stop trying years ago. I would like to try again. Have been happy using Julia since then.
xgdgsc··on How io_uring and eBPF Will Revolutionize Programming in Linux
Thanks. Now I understand what netdata ebpf.plugin process is doing.
xgdgsc··on Hands-On Scala Programming
Of course I first decompile using cfr. And then use scala REPL to load the jar and call functions to see the effect and find the parts interesting for further analysis.
xgdgsc··on Hands-On Scala Programming
Great book I can tell from the Contents. I used Scala for interactively inspect functions in jar you don't have source code. In most of other domains I tend to use other languages with a less powerful syntax to collaborate easier with other people.
xgdgsc··on Ask HN: How do I overcome mental laziness?
My experience is what you do after you get up in the morning have great impact all day long. I use appdetox on phone and webblock on chrome to block easier news/SNS apps for the day and only allow them or gaming for a fixed time at night as reward(after a while I find solving hard problems more rewarding than yhose shallow entertainment). I find it became easier to focus on hard things after starting doing this. If you do easy things at morning, the whole day is ruined. Also I run or swim at 5pm.
xgdgsc··on C++17 – better than you might think
Have you tried using precompiled headers? I' ve started using it recently and want to here some user stories.
xgdgsc··on Create and submit R package to CRAN: Step-by-step guide
Step eight: Get to know Ripley.
← PreviousPage 3 of 3