News for hackers. Stuff that matters.

pwr

Isn't the problem of including only the code the component actually needs already solved with dead code elimination? So the framework authors can include new features but as long as your component doesn't use them the code for those feature does not end up in the final bundle you serve to the user.

I sure am missing something here because the author of Svelte is actually also the author of rollup.js [1] which does exactly that, it eliminates dead code via its tree-shaking mechanism.

[1]: http://rollupjs.org

Re:Ask HN: Selling IDEs for proprietary platforms? on Friday September 16, 2016 @04:08AM (#12512572)
Thank you for the encouraging words.

Unfortunately I'm targeting more of a web based platform. But it's good to know that there apparently is demand for such solutions in another niches.

Ask HN: Selling IDEs for proprietary platforms?

Hey there, I'm developing for a proprietary platform and have been quite frustrated with the developer tooling that is provided by the platform vendor.The current state is that you have to use Eclipse with a plugin provided by the vendor. There are some problems with the plugin:- sometimes it's quite buggy (occasionally you have to wipe the workspace it has crashed in to start up Eclipse...

( Read More... | 2 comments | 3 points | on HN )
I agree.

It's silly that the wifi owner has to opt-out of wifi sense. Because it's not like it's already difficult enough for a non-techie to securely configure his access point, no, let's add another thing he has to care/know about.

And the way to opt-out is even sillier: you have to append _optout to your SSID. The SSID should not be used to control the clients behaviour imho.

Re:Om Next – David Nolen [video] on Wednesday July 08, 2015 @12:20PM (#9852676)
Has anyone an idea how pagination would work/look like with the presented query syntax?
Re:Athame – Full vim for bash and readline on Thursday April 09, 2015 @03:44AM (#9346193)
Looks good.

Unfortunately nothing changed (neither in bash nor python repl) after i installed it. I followed the installation steps 1-3 on Ubuntu 14.04. Does anyone know what i'm missing?

Re:Show HN: Meet me, I'll buy you coffee on Wednesday November 12, 2014 @01:53AM (#8594320)
I'm really interested in how you managed to start out on yourself. Care to share your story?

When I was 19 I managed to get a developer job at a medium-sized german dating site. I'm 22 now, still working on the said dating site, so my experience is pretty niche and limited and so are my connections. I'm actually pretty strong programming-wise (PHP and JavaScript professionally and Clojure(Script) and Go on the side.) But I completely lack any experience with business and design other than reading HN and blogs.

My goal is to get into freelancing/consulting the way patio11 describes it: make thing-X which will make/safe client-Y Z-amount-of-money. The challenge for me is:

- how to get experience in making thing-X without having the connections to get client-Y

- how to get client-Y without having the experience in making thing-X

Re:Atom Is Now Open Source on Tuesday May 06, 2014 @12:23PM (#7705406)
I'm pretty excited about Atom Shell as it looks like they fixed the different js context problem that node-webkit had. The last time i tried node-webkit i was really annoyed by the sneaky bugs that pushing objects from one context to the other introduced.

Thumbs up, Github!

Re:The Case for React.js and ClojureScript on Monday May 05, 2014 @11:44AM (#7699192)
At least for ClojureScript there is https://github.com/ckirkendall/kioo which is based on https://github.com/cgrand/enlive

I not sure there is a similar thing for plain React/JS though.

Re:What’s furry, blue and hungry to take over the Internet? on Tuesday October 08, 2013 @07:14AM (#6514078)
It's actually pretty common: http://en.wikipedia.org/wiki/Bookmarklet
Re:Coding etiquette: Don't shorten your code on Tuesday July 23, 2013 @09:00AM (#6089700)
Actually, in some environments bad identifiers could save your job: Job Security through Code Obscurity. It's sad, but more often than not true.
Re:Estonian E-Voting Source Code Made Public on Friday July 12, 2013 @06:06AM (#6031832)
Sadly many of the identifiers are named in estonian. Limiting this project to estonian developers only. I'm aware that this is _estonians_ voting system, but i'm sure there are developers all around the world who would be interested in contributing (especially security audits would be interesting) to this project without the necessity to reverse engineering/translating the code.
Re:Clojure in the Field [video] on Sunday May 26, 2013 @08:32AM (#5770937)
Your example turns into "alter(ref, inc)" in any programming language with first class functions. I think there are some great concepts in Clojure (multimethods e.g.) which are not tied to lispy syntax and macros.
Re:Announcing Evan's Awesome A/B Tools on Tuesday May 14, 2013 @08:27AM (#5704403)
Are there any usefull resources for learning the statistic methods needed for A/B test evaluation for beginners?
Re:Boris: A tiny but robust REPL for PHP on Wednesday May 08, 2013 @04:58AM (#5673214)
I'm using phpsh as a REPL for PHP: https://github.com/facebook/phpsh

Are there any benefits in switching to BORIS for me?

i don't care why this is on techcrunch. but hn? realy?
Re:How Not to use HTML 5 + CSS 3 (look at the source) on Tuesday July 26, 2011 @05:55AM (#2806683)
works fine here (FF5 WinXP)
the scale is a bit bigger though, if you compare them both http://trends.google.com/websites?q=news.ycombinator.com%2C+...

edit: but still nothing dramatic i think

Re:Show HN: I built an app to improve your Vocabulary on Sunday July 17, 2011 @03:53PM (#2774035)
1 error prohibited this user from being saved There were problems with the following fields: Password must contain only letters, numbers, and underscores
Re:Suggest HN: Hacker news circle on Google+ on Friday July 01, 2011 @06:11AM (#2717706)
faisstsebastian
Re:Simplest Contest You Ever Took Part In on Friday May 27, 2011 @06:32AM (#2591024)
why is this on hn?
Re:Show HN: Webchat with API in just ~60 lines of NodeJS on Wednesday April 06, 2011 @07:48AM (#2414717)
xss anyone