News for hackers. Stuff that matters.

aercolino

Don't. Just leave. To each, their own mess.
Oops, I expected funny jokes, I got depressing facts.
Re:Ask HN: What are you working on? on Friday January 15, 2021 @06:43AM (#25789719)
At a ticketing company in Barcelona, Spain, now working on a web interface to automate graphical assets creation and deployment.
Re:The dystopian world of software engineering interviews on Saturday February 15, 2020 @04:19PM (#22338057)
Yes, spaghetti-code is much better! /s

> Following the logic

That's what names are for. I prefer to find _afterLeft_ spread all over the place rather than `x2<=x1` even if it actually increases code size by 50%. I can validate it only once, and if I stumble upon _aboveBottom_ I don't even need to validate it to infer what it means (left as an exercise for the reader).

This spaghetti line: `x2<=x1&&x1+w1<=x2+w2&&y2<=y1&&y1+h1<=y2+h2`, in my opinion, is much harder than `inside`.

Re:How to do a code review on Friday September 06, 2019 @03:10AM (#20893672)
I stopped reading before finishing the third page. It seems to me that what many paragraphs advise is to be reasonable, which is meaningful, but a bit too loose for guiding code reviews.
Re:Ask HN: Who is hiring? (August 2018) on Saturday August 04, 2018 @06:22AM (#17686247)
META

May I ask you to change the leading text to something more useful for remote workers?

REMOTE doesn't cover but the most basic possibility and 90 matches on this page make it quite cumbersome to find what suits you.

What about deprecating it and requiring posters to use instead:

REMOTE_WORLD - for telecommuting from anywhere in the world

REMOTE_US - for telecommuting from anywhere in the USA

REMOTE_US_TX - for telecommuting from anywhere in Texas, USA

REMOTE_MINUS_6 - for telecommuting from anywhere in the UTC-6 timezone, standard time

REMOTE_PLUS_1 - for telecommuting from anywhere in the UTC+1 timezone, standard time

Example: In the past, I telecommuted to Boston (US-MA) from Barcelona (ES). That job would have been advertised as "REMOTE_MINUS_5, REMOTE_WORLD". In fact I worked 3pm-11pm in ES (i.e. 9am-5pm in US-MA), which was certainly unusual but quite doable nonetheless.

Re:Ask HN: Who is hiring? (November 2016) on Wednesday November 02, 2016 @11:38AM (#12855895)
SeQura | Barcelona, Spain | Full-time, ONSITE

Ruby on Rails Senior Full-Stack Software Engineer.

We are a team of 5 RoR Engineers looking for the 6th in a financial start up which is 20+ people big, fully funded, and making money since 2014.

If you like quality, tests, reviews, continuous deployments to create, improve and maintain a complex AWS-based financial application which allows shoppers to pay a week later, then email me at [email protected]

No recruiters please.

https://www.sequra.es

Re:To Apple, Love Taylor on Sunday June 21, 2015 @05:53PM (#9755150)
I find it difficult no to love this young girl.
Re:Jon Ronson: How a Tweet Can Ruin Your Life on Thursday March 05, 2015 @11:06AM (#9151521)
Clearly not the kind of women we need more in tech... well, we don't need fanatics anywhere really.
Re:EFF Outlines Plan to Fix the Broken Patent System on Tuesday February 24, 2015 @08:41AM (#9100410)
The PDF document lacks the last endnotes. 189 is the last one on page 28, but the endnotes list stops in the middle of 167.
Re:Ask HN: I got let go this morning. What should I do next? on Saturday January 31, 2015 @04:01AM (#8976273)
I would live in a big city with plenty of opportunities. Find an interesting job, where to work no more than 20 hours a week, and earn around 60K. I think your Angular experience is very marketable. And you can always tell your prospective employers the truth, that you made an application too good to keep working there for maintaining it at your salary level. Then use your free time for whatever you want, including meeting lots of people. You could find cofounders...
Re:Ask HN: I got let go this morning. What should I do next? on Saturday January 31, 2015 @03:51AM (#8976268)
It's funny to see how many comments advise about beginning a Start Up. Of course, this is a Start Up forum. If this was a farmers forum, would many advise about beginning a farm?
Re:Italia Startup Visa on Thursday January 15, 2015 @08:16AM (#8892313)
Very. Well. Said.
Re:PHP CommonMark on Thursday December 25, 2014 @10:47PM (#8797964)
Sorry to add a critic. If you want to make your PHP classes easy to extend, refrain from private and prefer protected. Otherwise, a developer that wants to extend one of your classes will need to also override (i.e. copy and paste) into her class all private members called from the members she really wants to override.
Re:Software engineering interview questions on Tuesday December 23, 2014 @09:36PM (#8791302)
If you want to see how they code, why do you want to see their own algorithm? In normal conditions, They would Google the problem and find its algorithm on Wikipedia (with lots of additional information to peruse) and some interesting implementations on stackoverflow (both to choose from and to learn about related issues).

Programming in the wild has very little to do with knowing beforehand or being able to invent on the spot an algorithm.

But the real reason why software engineering interviews are being done that way is because programming is not perceived as an art anymore. Engineers' scope inside the company was greatly reduced, while their number increased. They are now commodity workers: Not only they must be replaceable, but also expanded and shrunk as soon as possible, much faster and cheaper than before.

Re:Software engineering interview questions on Tuesday December 23, 2014 @08:52PM (#8791180)
For me it would be much more valuable if the programmer knew that a tree wouldn't be needed at all if expressions were represented in reverse Polish notation.

However, in the last 30 years, I needed to process expressions at work and by myself exactly zero times.

Re:Resumes suck for hiring engineers on Wednesday December 03, 2014 @05:23AM (#8692888)
Many recruiters don't read resumes and many of those that do, don't understand them, be they from HR or IT depts.

Arrogance, disrespect and plain unpreparedness.

Re:The Case for Slow Programming on Tuesday December 02, 2014 @05:23AM (#8686460)
Yes, someone in another thread is discussing about skill sets to be learned to engineer software, but I think academy already does a decent job.

To engineer a good architecture you need time to thoroughly think and explore alternatives. Coupled with deep field knowledge and an even deeper know how, gained by means of experience. And to build the best is impossible by definition: you can only hope to build a better one.

I didn't know what a fast programmer was until I had to work with one. The king of copy and paste. All his neurons on his fingertips. He showed to me that thinking with their hands wasn't limited to manual workers. Luckily for me, his awesome speed allowed me to become his "boss" a couple of months after being hired. And I'm not being sarcastic here. The manager saw he was better left typing and me better left thinking.

A nice thing about "hello world" applications is that you can always use them as the starting point for any other.

The first step forward would be to change it from "hello world" to "hello {{name}}" and have the user input their name and the application show a custom hello.

Having this minimal input / output, now you can invest some time to make your app secure. This will teach you a lot.

Then you should feel ready to allow users to register, log in, and log out. This will teach you DB stuff and a lot more about security.

Then you should feel ready to allow users to add a profile with an uploaded picture. This will teach you about sophisticated UI issues, and even more security.

Then, except for scalability, machine learning and a few other special but mainstream technologies, I think you should feel ready to learn anything else.

In fact my gravatar is a welding guy. (since 2011 :)
Re:Microsoft Band on Thursday October 30, 2014 @10:40AM (#8533180)
Nice, it could work as a wrist band lie detector too.
It surprises me how many replies try to solve a side problem instead of what the OP asks for. The OP doesn't seem a computer illiterate, so no need to educate him on anything.

IMO, he asks: "How does one scale a free web application, money-wise?". For example, "How did they scale Tumblr? [1]".

That's a real mystery for me too. I know they were funded by some big names [2], but that kind of financial support here in Europe is not even a dream.

[1] http://highscalability.com/blog/2012/2/13/tumblr-architectur... [2] http://www.crunchbase.com/organization/tumblr

Yes, the result is a bit unexpected but it works much better than other "more traditional" approaches. I mean, it's really "at a glance" that I can find the strongest news.

As for the "Hyped News" name, I don't think negative is inappropriate, take "Git" for example. Instead, amount of points and comments can be at the same time an indicator of importance (mostly points) and controversy (mostly comments). In either case, the leftmost news end up being those which people are more excited about.

Actually, the reason I wrote the extension was exactly to avoid scanning down the list with my own eyes. This extension does it for me, so that, if I don't have much time, I can just read the few leftmost news.

Thanks for the kind words, anyway.

Not really "sorted by sum of comments and votes" nor really "age is ignored". The former only affects horizontal offset of the start of a title, and the latter is preserved, so that the order (and fluctuation) of the titles is as usual too.
I didn't look into an even distribution. I only allotted the golden ratio part of the content width to the maximum sum of points and comments on a given page.
It seems this worked out quite well though: http://www.wine-searcher.com/merchant/50429 :D
There is an option (the only one, really) to boost more comments or points. That is up to you. Initially it's 50 / 50.
Google definition for Hype: Promote or publicize (a product or idea) intensively, often exaggerating its importance or benefits.

In this case, "hyped news" could be: News intensively promoted (many points) or discussed (many comments).

The nuance about exaggeration is optional.

Older »