Better HN
topnewbestaskshowjobs
Log inSign up

GiovanniFrigo

60 karma · joined Nov 12, 2014 (12y ago) · 29 submissions

Submissions

comment 9y ago · link · parent

Been using your tool almost since day one. It's lightweight and simple enough to provide me with exactly the metrics I need. Keep up the good job!

comment 10y ago · link · parent

This attack is really accurate and well-crafted.. and scary at the same time. Unfortunately, seems like we are not ready for Internet Voting Systems yet!

comment 10y ago · link · parent

I love this. Should buy a new MacBook just to be able to use this :D

comment 10y ago · link · parent

What a misleading, click-baiting title..

comment 10y ago · link · parent

/me likes pizza, /me likes bot

6.

Android Toggle Switch: customizable extension of Switches that supports 2+ items(belka.us ↗)

10 points · by GiovanniFrigo · 10y ago · 1 comment

comment 11y ago · link · parent

Thanks for the suggestion! will surely look into making it more accessible!

comment 11y ago · link · parent

check out http://react-components.com, they have a nice collection there!

comment 11y ago · link · parent

No market research here, TBH! It is a component extracted from a project we did with our agency Belka, but we'd love if people start using it in other projects!

comment 11y ago · link · parent

Great! thanks for the explanation and the docs!

comment 11y ago · link · parent

Great! yeah that was definitely something I wanted to add, here in Italy we usually use Monday as week start.

Feel free to submit a pull request then! I just kindly ask you if you could use airbnb's Javascript and React style guides, that is a pretty good standard IMHO https://github.com/airbnb/javascript/tree/master/react

comment 11y ago · link · parent

That reduced the click delay from approx 90ms to 67ms, that's a pretty solid -25% there! Thanks for the suggestion, @jkkramer!

comment 11y ago · link · parent

Thanks! Useful links, I didn't know anything about this. Will surely start using the `NODE_ENV=production` environment variable from now on!

comment 11y ago · link · parent

Also, you can get way more competent answers on reddit (/r/reactjs) or on stackoverflow :)

comment 11y ago · link · parent

I suggest you to read this (http://stackoverflow.com/a/31638988/2304450) very good stack overflow answer, you'll find some interesting introduction to inline styles if that's what you were looking for.

A different approach could be to pass a `classScope` string props down to the components, and each component then applies it to the classes it uses (Example: return (<div className={this.props.classScope + "inner-div"}></div>); ). This way we could achieve better css selector scoping, at a cost of a slightly more verbose code when using a component.

comment 11y ago · link · parent

Yeah, we are belka.us and we are not ashamed of doing self-promotion here.

I don't see what's wrong here: every company in the IT world releases open source components: Django, Bootstrap, Foundation and React itself are open source projects backed by companies. But there's also smaller things being released every day, and each of them contributes to the great world of open source.

We use open source, we give back to the open source community. We are giving away our time for free releasing a component, I don't see anything bad adding a small link to our website.

comment 11y ago · link · parent

You definitely won't use this for date selection, but we found it useful to layout the whole year and to review it at a glance.

Thanks for your kind words anyway! :)

comment 11y ago · link · parent

Will surely do, thanks! Also, how did you test the onClick delay? by spamming timestamps in the code? :D

comment 11y ago · link · parent

Yeah, that's a component, no more, no less.

I just wanted to share this, I think some people disagree with you if I am in homepage right now

comment 11y ago · link · parent

Please do! Also if you have any feature request use github's issues to let me know!

comment 11y ago · link · parent

Any idea on how one could optimize the rendering function to reduce this lag (which BTW I can barely see on my 2015 MBP)?

comment 11y ago · link · parent

Cool! If you find any bug or have any feature request please open an issue on github!

comment 11y ago · link · parent

Yeah that's another interesting use case! Maybe I'll add the "select period" feature, thanks for the idea!

comment 11y ago · link · parent

It's definitely not common, but sometimes it's useful to have the whole year under your eyes.

Basically we needed it for a project where we had to display how an year was subdivided into 4 different periods. Here we also highlighted the working, festive and prefestive days.

I think it turned out to be an interesting layout, you can see it here: http://postimg.org/image/4yqaywm2r/.

25.

Show HN: A React.js yearly calendar component(github.com ↗)

94 points · by GiovanniFrigo · 11y ago · 48 comments

comment 11y ago · link · parent

Errata corrige: 84 MB. 120 was the debug build!

comment 11y ago · link · parent

I won't call 120 MB (total weight of our app, including assets) an impressive amount of space. Also consider it's something people will use for work purposes, an unique configuration tool instead of having 3 or 4 small tools to configure each single meter type.

comment 11y ago · link · parent

I get your point here, but since the bundled Chromium version is compiled by ourselves we do not rely on an external toolset, allowing us to support just one version at a time. If you're intrested, we use Sparkle (http://sparkle-project.org/) to deliver remote software updates.

29.

Typing 'http://:' into a Skype Message Trashes the Installation Beyond Repair(it.slashdot.org ↗)

15 points · by GiovanniFrigo · 11y ago · 2 comments