Better HN
topnewbestaskshowjobs
Log inSign up

HugoDaniel

2,376 karma · joined Mar 27, 2012 (14y ago) · 710 submissions

Submissions

comment 9y ago · link · parent

I am not sure what he means by that since the contact he provides on his personal page is e-mail. Which works through federation. Which he knows, since his e-mail is working on his own domain (not a 3rd party provider like gmail).

comment 9y ago · link · parent

That and PATENTS:

https://github.com/facebook/hhvm/blob/master/hphp/hack/PATEN...

comment 9y ago · link · parent

chrome only

comment 9y ago · link · parent

Two things to keep in mind:

- This is a google chrome project

- Hasn't been updated in 2 years [gecko ~1 year] (which is a LOOONG way ago in browsers time)

https://github.com/GoogleChrome/css-triggers/tree/master/dat...

comment 9y ago · link · parent

Who generates the keys for B ?

comment 9y ago · link · parent

Google Docs is centralized. Maybe you meant Google Reader ?

comment 9y ago · link · parent

or even XI XII XII. Hail caesar or something.

comment 9y ago · link · parent

Yup, so Apple knows about your data.

And according to that slide they are a "provider" for NSA.

End-to-end encryption at least maybe guarantees that it is not your ISP that is selling you out to NSA (making it harder for Apple to explain why they are on that list).

comment 9y ago · link · parent

Does it mean that the next version will be called Iphony ?

comment 9y ago · link · parent

"Apple encrypts End-to-end all iMessage chats, as well as FaceTime (VoIP) calls."

End-to-end encryption does not guarantee that Apple keeps your data encrypted, or that they don't process it for 3rd parties (NSA would fit as a 3rd party, where Apple would be for them a content provider, as the slide shows).

"You can bet your ass their arm was twisted by the government or they were taken into the program unknowingly (datacenter ISP taps, etc)."

Can you back that up ? How can you be so sure ?

comment 9y ago · link · parent

Here is a slide from the PRISM leaks:

http://www.washingtonpost.com/wp-srv/special/politics/prism-...

#neverforget

comment 9y ago · link · parent

So are most things in life. While we want to explain how everything is a different thing let's not forget that breaking most abstractions entails a valid point is being raised. I don't agree with almost all of the hacker_9's opinion, but that is just my opinion, which does not automatically make it a valid opinion.

A single thing covered in names.

comment 9y ago · link · parent

And we are all miserably part of your existence. Which does not imply that we should not be viewed as separate entities with different beliefs, desires and ways of reacting/interacting to the noise around us.

comment 9y ago · link · parent

Doesn't it break the separation of concerns ? JSX is already a big red flag in that respect.

comment 9y ago · link · parent

Yes, but that is all the CSS you will ever need to have.

If you assume an average of 2.3MB[0] on the common page, that is about 3% of your project size for CSS that will not grow past that (atomic approach implies that you won't change it as we add more styles to your page(s)).

[0] https://www.keycdn.com/support/the-growth-of-web-page-size/

comment 9y ago · link · parent

How many of people that argument in favor of the CSS in JS know about the Atomic CSS approach ?

It is currently the best of both worlds, you can control it with JS in a proper semantic way (through class setting) while keeping 0% replication and loose coupling between concepts.

It also is easily extensible and composes very well. The downsides are that your CSS file is going to be a bit bigger than usual (tachyons.io with all modules goes about 84KB uncompressed, 17KB gziped). But that can be quite irrelevant in big JS oriented projects where most of the size is occupied by big libs.

comment 9y ago · link · parent

Yes I agree with you but I was not making the point of sharing a repository you shouldn't share to a recruiter (I do own a few private repositories that I wouldn't mind sharing to recruiters).

My point was that seeing code is not as mandatory for a recruitment as we currently make it so. I gave the comparison to management but it happens even in engineering areas. It is worth to know your candidate before asking to write a solution to an air conditioning problem in a whiteboard in 40 minutes when applying to a mechanical engineering position. Specially if your company never solves air conditioning problems.

comment 9y ago · link · parent

Well the .2 "Ask the interviewee for a git repository" can be a private repository. It is a very hard problem to solve if they have no visible code to show but it does happen in other areas. Imagine asking for a management candidate for the private e-mails he shared in certain tricky situations of previous jobs. Or even public e-mails. Or even to take 40 minutes to write in a whiteboard a team statement for a certain conflict scenario.

Trust is entailed when recruiting in most areas. But in programming not as much.

comment 9y ago · link · parent

Here is how to do a good coding interview if you are a recruiter:

1. Do your homework: know what projects drive the interviewee (what kind of things she likes to code, what recent projects has she been involved in), make sure they are a match for your company projects and goals

2. Ask the interviewee for a git repository and take a careful holistic look at it (commit messages and code, timespan, branches, merges etc...)

3. Go for a 2h lunch with the interviewee in a relaxed environment to check speak communication skills (talk about whatever you think is interesting, if you can't have or don't know how to have 2h lunches you shouldn't be interviewing, check your life first and learn how to enjoy it before doing interviews).

4. Stop asking programmers to write code in 40 minutes. Learn how to respect before expecting respect in return, if you didn't take the time to read through their code repositories then don't ask for a 40 minute code problems.

comment 9y ago · link · parent

meh, desktop Safari is actually a very good browser. It is the fastest of all browsers in macos for a bunch of operations and their support for ES6 features beats all the other browsers (99% in https://kangax.github.io/compat-table/es6/ ).

Also one could argue that if Apple did not invest so much in WebKit then chrome would have had a harder time achieving its current usage and would probably be a very different browser than what it is today.

My 2cents

comment 9y ago · link · parent

I love the soundtrack. Many lines of code were written to it

https://www.youtube.com/watch?v=RRI-o9JDfCI

comment 9y ago · link · parent

Here are a few:

elm: https://en.wikipedia.org/wiki/Elm_(programming_language)

purescript: http://www.purescript.org/

postgREST: https://postgrest.com/en/v4.1/

Trending stuff on github: https://github.com/trending/haskell?since=monthly

comment 9y ago · link · parent

Lets hope they don't find oil there...

comment 9y ago · link · parent

And yet the political threads are the ones that get censored (among so many others)...

comment 9y ago · link · parent

Thank you!

Unfortunately my macbook is old and does not support WebGL.

I am using a lot of WebWorkers for the rendering. The code is using a mix of SVG and Canvas.

I don't know if I can explain it here in a comment. Roughly in the final passes I am preprocessing SVG paths into Path2D's[0] that then get rendered into an offscreen canvas. (they get cached)

The rendering code keeps 4 offscreen canvases, one for the layers bellow the current layer, one for the current layer, one for the layers above the current layer, and finally one for the HUD (the grid lines and zoom info).

These offscreen canvases are then rendered into many final canvases on the DOM in different ways (to do splitting animations, like row splitting or column splitting that happen to allow the UI to react to some specific user interactions like editing a grid element).

This way the rendering is smooth with simultaneous users on the same project on my old hardware.

I am planning to package this specific rendering part into npm and release it soon.

[0] https://developer.mozilla.org/en-US/docs/Web/API/Path2D

comment 9y ago · link · parent

Thank you :)

Illustrator is an amazing tool, I have seen a few use cases of that feature in logo drawing tutorials. My main differentiation points with Illustrator (and sketch) are:

* Web based

* Grid based (there is always a grid bellow that you can use to create patterns)

* Free (right now the export to svg is the only planned payed feature, I hope to make it enough to cover my cost of living, maybe I will add pro accounts to those that need to produce non CC0 stuff if there is audience for it, but I will need to pay a lawyer to help me with that feature if it comes to it)

comment 9y ago · link · parent

I quit my job in May 2016 (15 months ago) to work on an idea (a painting web app). Unfortunately I was also trying to earn money with any sort of side-kick jobs (teaching) and the idea never got the attention it deserved. It got a few turns and twists after an initial demo to some designer friends in December 2016.

I have since then managed to get some funding and have been working on it more seriously for the past 4 months (since may 2017). In two weeks I will have another closed alpha-demo that is then going to be used to produce a video for the landing page, and opened to the public if there is no big bashing from my zen target audience friends.

It does seem like a huge desert to cross. Motivation comes and goes. In the meantime I managed to kill my desire to feature creep it to death and learned a lot about the fine art of listening/ignoring the target audience requests. I know for sure that my approach for my next project is going to be completely different than my current one. But in the meantime the rent is due :)

The landing page: https://www.pixnit.com

My blog with some thoughts on the bootstrapping experience: http://www.hugodaniel.pt

comment 9y ago · link · parent

I can see the niche that GraphQL tries to fit in. But seriouslly, REST is much simpler and good enough for the huge majority of use cases.

Striking the middle ground there is also postgrest[0] and their queryable REST approach.

[0] https://postgrest.com/en/v4.1/

comment 9y ago · link · parent

Seamlessly switched from react to infernojs[0] a year ago. The only difference is that the apps are way faster now in infernojs while providing me with more optimization options as jsx properties[1]. Also their support channel in slack is great[2].

[0] https://github.com/infernojs/inferno

[1] https://infernojs.org/docs/guides/optimisations

[2] http://infernojs.slack.com

450.

Vi is not vim(hugodaniel.pt ↗)

49 points · by _gjrn · 9y ago · 61 comments

1
141516
24