Hacker Newsnew | past | comments | ask | show | jobs | submit | more pimpl's commentslogin

is this a black mirror episode quotes?


This looks like a really good idea! The only thing is that I’d rather not give it full Dropbox access.


I’d never consider it Yiddish influence to be honest.


well, it is.


I had similar problems using Google Docs on Safari too, so I think it’s just a bug on Google’s side.


AIUI, Safari is the IE6 of the "Modern Web".


For the downvoters:

Go make friends with someone who works on Safari, then take them out for drinks. You'll understand why I'm saying what I'm saying. :)


Even this one? https://vimeo.com/105955605 :)


Do you think it’s safe to generate ticket numbers with such tools? I'm currently this PHP lib to do it: https://github.com/icomefromthenet/ReverseRegex and since we do not sell thousands of tickets a day I think it should be okay to use it for this purpose. What do you think?


It's practical, if you check the new one is not a duplicate - the lib info does not state how distinct the values would be, or how does it uses the RNG.

Depending on what you really need (output string format, amount of numbers, non-additive links), you should find a hash function for your fit. You can always start by looking for youtube url hash.


I've been using this one in the office for some time and it's really comfortable and visually pleasing as well: http://biurkobiurko.com/


these look pretty nice.


Has anyone actually managed to loop animations on the web without putting the CPU on fire?

It was my task recently to optimize some animations (done with Web Animations polyfill) and even though all the profilers showed that CPU is doing almost nothing (GPU animated all the stuff) Chrome was using ~25% of CPU all the time which resulted in a noisy fan after a minute or two.

I feel like I’m missing something here, I believe there must be a way to do it…


Here's how I've achieved that cheesy 90s spinning effect in the past:

    @keyframes spin {
      0% { transform: scaleX(1); }
      50% { transform: scaleX(-1); }
      100% { transform: scaleX(1); }
    }
    .spin {
      animation: spin ease-in-out 6s infinite;
    }
All done on the GPU as far as I can tell...

The only satisfactory way to do web animation I've found is to do it 100% in css by toggling classes. As soon as the JS interpreter gets involved in any way, things go south.


Right, but the point is even GPU-optimized animations in the browser seem to tax the CPU. It's something I've experienced as well.


Even when they're controlled/computed/whatever purely through css as above? Maybe I've just been lucky in my limited experience with looping them infinitely like this.


Same here on Firefox 31 on Windows 8.1. 25% used on my dual-core i5 with HT. This just sucks.

Years ago I added a 'snow' animation JS libary to a custom website which let little snow flakes drop during winter time. All just for fun. It turned out to be fun only for a few days until I got the first complaints about users not being able to use their computers anymore and mobile devices being barely able to scroll anything.

I also believe that there must be a better way for simple animations.


The site used 100% of my old Core 2 Duo's CPU on Iceweasel / Jessie; brought the machine to its knees. LOL js.


> until I got the first complaints about users not being able to use their computers anymore

They got snow in their browser, and they still complained. People are so ungrateful.

Seriously though, this animation sounds fun and neat.


You want to use GPU-based skinning or similar techniques for best performance.

Also are you limiting your framerate (not framework, sorry) to something reasonable?

Also I recommend not creating too many objects to be GC'ed.


What do you mean by limiting my framework?

Yeah, true, I don’t create any objects in that animation actually. I just do opacity animations (from 0 to 1 and vice versa) and some transforms sometimes (which are supposed to be 'cheap' according to some resources on the internet).


Framerate, sorry. Just make sure it isn't updating constantly. Can you share an example btw?


Could you render the animation, and play it back as a gif?


That's the traditional way to do it afaik, just tile a gif over the whole viewport.


Looks like a really cool idea!

What’s your stack? It spoke Polish to me on your login page because of my IP :)


This is pure Django! That functionality is provided by the wonderful Django-Allauth package.

I'll F/OSS this whole project soon enough, but I need to fix a few bugs first.. https://pubmail.io/mail/thread/20150517210222.16302.49561/we...


SEEKING WORK - remote and onsite in Poznań, Poland, short-term projects

I'm a front-end developer looking for HTML, CSS, and JavaScript projects. I have some React and Flux experience too.

I also work closely with a really great designer, so we can create your website from the scratch and then integrate it with WordPress.

Feel free to contact me:

  http://piotrek.co/
  me@piotrek.co


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: