Better HN
topnewbestaskshowjobs
Log inSign up

CommanderData

1,957 karma · joined Feb 7, 2016 (10y ago) · 888 submissions

Reach me on: data.clover98@slmails.com
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

A true character filled with personality and changed my view of certain aspects of life. Rest in peace and with success.

comment 10y ago · link · parent

Works well, Iceweasel has better HTML5 support on the Pi than Chromium.

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

I've achieved this with a few lines of bash on the default Pi distro. I don't really see the benefit unless there's added advantage of Chromium being accelerated? (Last time I checked it was not. Not only that HTML5 Audio was missing too).

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

I think this could be useful with Digital Signage. My client uses HTML to display content and is run in browser which makes it easy to design and deploy content. He says one of the challenges is getting seamless user interactivity with his browser based digital signage.

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

Scientific Journal of Tumblr.

comment 10y ago · link · parent

This makes me excited. Could you kindly spare any information ETA etc?

comment 10y ago · link · parent

You 'probably' don't need one but 'should' use one to save yourself countless hours re-inventing the wheel that frameworks solve.

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

Excellent! Would you be willing to create a Webflow's UI components? Similar to topcoat.io - but with Webflows UI components. I've seen a few online designers but by far I haven't seen any as polished as Webflows. Thanks for an awesome product!

comment 10y ago · link · parent

Don't forget this from 2 months ago.. UK surveillance powers bill could force startups to bake in backdoors

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

I'll make sure my next router is not TP-Link. I'm upgrading in about a month.

comment 10y ago · link · parent

It would make a difference. Circumventing this law will be possible even if it means setting up company in a different country.

>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

Don't create start-ups based in the UK.

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

There is enough evidence to suggest diet can play a role in defeating cancer. Some foods contain compounds that can interfere or even induce apoptosis in mutant cells.

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

Please elaborate / substantiate?

comment 10y ago · link · parent

Anti-angiogenesis diets increase amino acid intakes, What does it say about those?

comment 10y ago · link · parent

Very interesting. What does this mean for low carb, high protein diets heavily promoted these days (Keto)?

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?

comment 10y ago · link · parent

I like it! There are no or a lack of drag and drop editors on the web, what I mean is using true drag and drop with absolute positioning, granted it would also require a script to render. What frameworks and libraries are you using on this project?
1
2627282930