Better HN
topnewbestaskshowjobs
Log inSign up

rootlocus

3,292 karma · joined Jul 1, 2013 (13y ago) · 1,194 submissions

Submissions

comment 10y ago · link · parent

  > You might pick Ant, Ivy, Docker, Dropwizard, Guice, Jersey, Jackson, Mockito, JUnit, etc.
I would pick maven, and add the rest as dependencies inside the pom.xml file (the only configuration file I need to worry about). It would take me about 5 minutes and then I could import the project into IntelliJ IDEA and hack away. I can write a tutorial about it in a single blog post, together with the necessary commands to build, test and deploy the artifact.

With javascript, I need: webpack.conf, package.json, .babelrc and god knows what else. Seems like every piece of technology around javascript (transpilers, packers, dependency managers) requires another layer of configuration, another set of CLI commands, and another waste of time trying to figure out why it doesn't work.

comment 10y ago · link · parent

Receiving a non-defective replacement. The phone that caught fire in the article was a replacement.

comment 10y ago · link · parent

Your comment was definitely a waste of my time (I didn't gain anything from reading it) so by your standards I should downvote you.

  > I'm not going to sit here through the fifteenth iteration of BSD v GPL even if the arguments are cogent and civil.
No, you're carefully going to read them (to make sure they're "enough of a waste of my time") and then downvote them, because it's clearly a great way to spend your precious time.

comment 10y ago · link · parent

Ok, I get it. However, you still need to modify the source code to accomodate for larger inputs.

comment 10y ago · link · parent

The file has the first sqrt(1000) primes hardcoded in it.

If you wanted to find the first 100.000 prime numbers, you'd need to add all the prime numbers up to 313 in the css file.

comment 10y ago · link · parent

The negativity probably comes from the fact that people expect to find high quality content on the HN front page. Pet projects like these are not impressive enough to be featured.

comment 10y ago · link · parent

It's missing a loop, and the primes are hardcoded into the source code (see the similarity?). You might be mislead by the fact that you also find 'span:nth-child(4n+8)' or 'span:nth-child(6n+12)' (which aren't primes) but those are redundant, and an efficient sieve would skip non primes.

comment 10y ago · link · parent

  > https://github.com/gorhill/uBlock/commit/06334a190ea9589e983
If you remove /commit/06334a190ea9589e983 and look at the actual README.md on the project page [1], you'll see it's called uBlock Origin =)

[1] https://github.com/gorhill/uBlock

comment 10y ago · link · parent

  > just happened to win the PR battle against its superior foes, because...Idunno, Linux, I guess?
I would assume GitHub is to blame for that

1000.

Arduboy – Open Source Card-Sized Gaming Board(seeedstudio.com ↗)

71 points · by rootlocus · 10y ago · 25 comments

comment 10y ago · link · parent

You mean one small loss for Facebook maybe?

comment 10y ago · link · parent

I'm also confused about the involvement of David Revoy with this project, although it seems he isn't involved at all. I wasn't endorsing the campaign owner, I'm just sharing the love for David Revoy himself. If someone wants to support David, the best way would be to use his patreon page!

comment 10y ago · link · parent

David Revoy is an extremely talented illustrator and a long time supporter of free & open source tools. He released "Chaos & Evolutions"[1] a few years ago where he shows his workflows in gimp, alchemy and mypaint, he was involved with the making of the movie "Sintel", another open source project made in Blender[2] and his blog is filled with tutorials for the Krita software (photoshop alternative for ilustrations). You can find a lot of his wonderful works on deviantart, but my favorite by far (and I urge everyone to take a look) is the graphic novel "L'heritage en couleur" [3].

[1] http://www.davidrevoy.com/article44/artworks-from-my-dvd-cha...

[2] https://durian.blender.org/

[3] http://deevad.deviantart.com/art/l-heritage-en-couleur-30812...

comment 10y ago · link · parent

This is a very interesting experiment, but I was wondering if the dice rolling was sufficiently natural / random. The can automatically rotates at 90 degrees, but when it comes back up, the dice seems to spin a lot on the vertical axis, showing bias towards the upper half of the faces. However, I did not see what effect the first half of the motion had on the dice.

comment 10y ago · link · parent

on the list (instead of in the list)?

comment 10y ago · link · parent

I'm sorry, I know it's irrelevant, offtopic and I'm a horrible person but... "Baqend"? Who came up with this name? Was there some brainstorming involved and that was the best candidate? What does the branding say about your business? How is it pronounced?

comment 10y ago · link · parent

You are right and I forgot to mention it. I was disappointed by the 'misleading' title, but I still appreciate that he built a useful and easy to use tool. If I had made something similar for myself, I wouldn't have polished it and it wouldn't have been usable by anyone else.

comment 10y ago · link · parent

To be honest, I was hoping for something more impressive, like making a slack bot which did some heavy lifting (scraping conversations about real estate?). The moment I saw "scraping craigslist" the magic was gone.

The title sounds like "How I used a cherry to make a birthday cake". Intriguing, yet disappointing when you learn he only placed the cherry on the top of the finished cake for pretty decoration.

comment 10y ago · link · parent

First leftpad, now this: More detail: the "fs" package is a non-functional package. It simply logs the word "I am fs" and exits.

People sure like to spam npm with toy / useless / misleading packages that end up breaking thousands of projects. What a mess.

comment 10y ago · link · parent

I was thinking whether or not sending these emails actually helps companies like Sears by bringing in customers, and whether or not (to an extreme) they might depend on them to survive as a profitable enterprise. What came to me as a revelation is that it's irrelevant. If their income relies on bothering everyone who comes across their website, tricking them into clickbaits or spamming them with (possibly malicious) ads, it might mean their services are not enough to justify their existence. As such, I decide not to pity them, and happily continue loving my adblocker.

comment 10y ago · link · parent

If you go to the guestbook [1], you'll find this gem: You know, I would have hooked this up and made it work, but I'm scared of the horrors you monsters would write here.

1. http://www.codersnotes.com/notes/under-construction/guestboo...

comment 10y ago · link · parent

Did you make this account just to lament that people flagged your comment?

comment 10y ago · link · parent

Not a personal attack, but from your profile page I see you've been a member for a little over a year. I don't know if that's enough time to observe a change in culture.

Personally, I've been lurking for a little over three years, and haven't seen much of a change.

comment 10y ago · link · parent

The marketing team’s plan was not to do anything and the night before we opened Facebook

Seems like he went behind their backs with something as major as press release when he wasn't even part of the marketing department. There may not be a specific clause in his contract, but this definitely made him a liability as he recalls being called by the person letting him go.

Lesson learned: I don’t think what I did was that wrong

I don't think he learned this lesson.

comment 10y ago · link · parent

One of the arguments I saw from the Microsoft guys was that it's consistent with other "aliases" PowerShell has (like ps and ls).

Reminds me of a demotivational poster we have at the office:

https://www.google.ro/search?q=demotivational+poster+consist...

It reads: "Consistency: Only a virtue if you're not a screwup".

comment 10y ago · link · parent

No thank you. None of the other "discussions" are worth wasting time over. Just people bringing feelings, sophisms and misinformation to an argument fight. It's no better than a reddit thread.

comment 10y ago · link · parent

What is this nonsense?

> It's marketed to developers by billion dollar Facebook, a company historically intent on squashing startups.

This is a poisoning the well fallacy.

> The benefits of using a virtual DOM over the actual DOM are theoretical at best. The problems that React supposedly solves are theoretical at best.

This "argument" contains zero information.

> That's why there's Redux!

Redux and react don't solve the same problem.

> It solves problems you'll never encounter because you don't have Facebook scale.

The client doesn't scale like the backend. Not to mention it's in contradiction with this other "argument":

> React becomes counterproductive when developing apps that aren't mere demos.

Do people actually take this serious?

1018.

Oculus workaround to play on HTC Vive rendered inoperable by app update(arstechnica.com ↗)

1 points · by rootlocus · 10y ago · discuss

comment 10y ago · link · parent

Not to mention refactorings such as rename, extract method, etc.
1
333435
40