1,957 karma · joined Feb 7, 2016 (10y ago) · 888 submissions
871.
Ask HN: Dark UI Kit Similar to Webflow, Adobe, Atom?
1 points · by CommanderData · 10y ago · 2 comments
comment 10y ago · link · parent
Though struggled getting Iceweasel to start in full screen from command line, afaik there no flags, one way was to close in fullscreen state or install a plugin. Further IW shows first run dialogs. Annoying if your deploying several Pis, then theres the cursor which unclutter package helps to solve. Lastly matchbox x uses less ram than LXDE which was important in my use case.
Chromium is better if you want to seamlessly deploy Pi's without spending too much time configuring them, theres a trade off somewhere - the official Chromiums package is old and IW is newer with less API.
You may want to consider wrapping your command inside the while loop in the script above. I added did this after I experienced IW and Chromiums unexpectedly closing sometimes. Helped alot.
comment 10y ago · link · parent
For anyone interested heres a dirty bash script I had:
1. Auto Login & Disable Screen Blanking: http://www.raspberrypi.org/phpBB3/viewtopic.php?f=66&t=18200, http://elinux.org/RPi_Debian_Auto_Login
3. Adjust Overscan and force HDMI hotplug: nano /boot/config.txt disable_overscan hdmi_force_hotplug
4. Install Chromium, Matchbox, unclutter: sudo apt-get -y install unclutter matchbox chromium-browser
5. Add a start up script:
unclutter & xset -dpms xset s off
matchbox-window-manager & while true; do sudo rm -r /etc/chromium su -c "chromium-browser --kiosk --incognito http://localhost" -s /bin/sh pi done
The script logs in and starts x with matchbox (better performance than LXDE default), opens Chromium to localhost (nginx would show a page).
I remember I added a few other things to 'sed' replace Pi config files to display a mp4 splash screen I made in AE (it looked marvelous). At one point I had a front end that could manage Wifi and do some other basic tasks. Using PHP and Nginx. Shamefully hackey.
comment 10y ago · link · parent
This coupled with web camera recognizing hand gestures e.g. http://hadi.io/gest.js/ could help grabbing user interaction inside his apps without too much hassle but right now its a janky solution compared to a real native kinect setup (I don't think its even possible to effectively connect to kinect in browser).
comment 10y ago · link · parent
The best thing is to try and use minimal frameworks and libraries and justify every single one - Which I'm sure most devs already do. jQuery is still rather justifiable. Yes, you can replace functions with JavaScript today but you'll end up with similar looking functions.
I recently added Transit to animate using CSS3, the alternative would be to write each animation effect I use in CSS3 down to the duration! If I need to change the ease I spend 5x the time doing so - From a devs perspective no, just no.
comment 10y ago · link · parent
https://news.ycombinator.com/item?id=11265666
These laws WILL affect UK tech start-ups if privacy has anything to do with their business model.
I have said so in the past, don't register your tech startups in the UK. Boycott is sometimes an effective means for change. UK law makers know this could back-fire, they are taking a gamble they have already lost.
comment 10y ago · link · parent
>The govt wouldn't give a squat about what contractual agreements
Setting yourself up in that manner would mean more challenges and making it difficult for the UK govt to win in court.
comment 10y ago · link · parent
Register overseas (if possible). This is going to harm the UK economy a lot more than they think.
Founders will think twice and will only add to risk and burdens when you are already competing in an international, competitive, start-up space.
Remove the offending country from the equation by relinquishing legal responsibilities. I know a few founders who have talked about doing this so I hope the UK reverses this or never becomes a prolific start-up space (which would be a shame).
I hope avoidance becomes common practice, the UK is not the only country that incentivise start-ups. Others do and thankfully don't have draconian laws such as this.
comment 10y ago · link · parent
Whether they reach these cells from point of entry (mouth) intact is a different matter, some research suggests some compounds can.
There needs to be more research in establishing which foods are able to perform roles in prevention and also fighting.
I would like to think William Li's research is at least a start at making information easily accessible to the wider public from studies and research journals. There are also issues of funding for these types of studies, as they are seen controversial and almost a form of pseudo-science. Not to mention the whole "big pharma" arguments which I don't necessarily subscribe to.
comment 10y ago · link · parent
Reminds me of this talk on TED - William Li, Anti-Angiogenesis therapy: https://www.youtube.com/watch?v=OjkzfeJz66o
Does this research mean these diets and therapies are less effective than previously thought?