skysight-inc/HackerNews huggingface dataset:
Wow that was actually very helpful, thanks a lot for this info. Just one last question as a starting freelancer is PHP and Wordpress a good tool for learning to become a Freelancer web developer or is there something you recommend?
I don't think you are using "objectively" right here. It could very well be my opinion that rubber actually ages better, because it scratches far less than metal does. Subjective though.

...so build quality is hard to quantify, and in most practical cases is subjective.
And yet none of these hold a candle to this masterpiece: https://sourceware.org/bugzilla/show_bug.cgi?id=12701

I dare you to top that.
Do you have data on that? That that is not helpful.

My parents said it to me and we say it among friends, there are even burger commercials saying same thing.

Maybe that is the thing to say. Change venue and toughen up.
Egyptian Blue: The Color of Technology
I just want the Internet to be open and free of crap like this it might be far fetched but that's all I want.
> If you disagree, you're invited to take a look at End-To-End, find a side-channel leak and write an exploit for it. You could earn serious cold cash with that finding.

For one thing, the IDEA implementation seems to be incorrect. In IDEA, multiplication is defined as multiplication modulo 2^16 + 1, where 0 means 2^16 [3]. However, looking at the multiplication function:

https://code.google.com/p/end-to-end/source/browse/javascrip...

When x == 0 but y != 0, the result of the modular multiplication is always 0, when it should not be. The correct code would be (in glorious C syntax, everything unsigned and 32-bit):

if(x != 0) {
if(y != 0) {
return x*y % 65537; // result fits in 32 bits
}
else return 65537 - x; // or 1 - x mod 2^16
} else return 65537 - y; // or 1 - y mod 2^16

Of course, even if correct this code is still vulnerable to timing attacks (under contrived conditions) [1]. This can be worked around using a little bitwise magic:

t0 = 65537 - x;
t1 = 65537 - y;
t2 = x*y % 65537;
b0 = -(1 ^ ((x | -x) >> 31)); // 0xfff..ff if x == 0
b1 = -(1 ^ ((y | -y) >> 31)); // 0xfff..ff if y == 0
return ((t0&~b0&b1) | (t1&b0&~b1) | (t2&~b0&~b1) | (1&b0&b1))&0xFFFF;

Additionally, the modular inversion seems to be needlessly complicated by using Euclid's algorithm (and I'm not sure it's correct either: it seems not to respect the "0 means 2^16" rule). Use the usual a^(p-2) mod p inversion trick, using an optimal addition chain [2], to make it simpler, constant-time, and possibly faster.

None of this is Javascript's fault, for what it's worth. But I certainly don't expect Javascript to make it any easier to write correct code, much by the contrary.

EDIT: Fixed constant-time code.

[1] https://www.schneier.com/paper-side-channel2.pdf

[2] http://wwwhomes.uni-bielefeld.de/cgi-bin/cgiwrap/achim/scrip...

[3] http://www.isiweb.ee.ethz.ch/papers/arch/xlai-mass-inspec-19...
Here is my data:
http://www.wikihow.com/Toughen-up-Emotionally
I think it's a type of penguin?
Risk-tego is another, it's just like risk but every time you attack a territory you play a game of stratego to determine the outcome.
The 9 Best Languages For Crunching Data
interesting read
Has anyone here switched from either of these, to OpenMediaVault? It's Debian-based, but didn't get much love when last posted on HN:

https://news.ycombinator.com/item?id=6048534
I hope the battery stats are right, but I would guess they probably aren't. Overestimating the battery life seems to be an industry standard thing =/
So your point is that because it's a plant, it's not a drug and not under the purvey of the FDA?

If that's the case then it's still a federal matter and not a local one.

> What test are you going to force me to take to consume those herbs?

A test of knowledge of what they do, and in what situations they can harm. Not a morality test since I think that's what you are scared of, but a test to make sure you know what you are doing.

> Why do you have any say over what I can consume?

Because most people are idiots and will take anything without thinking if it's a good idea or not.

I don't want to tell people what to do, but at least demonstrate that you are doing it with knowledge and not with randomness.
Go has something that is functionally equivalent to exceptions; they just don't call them exceptions and make them look a lot different from what we are used to.
I'm not sure if I understand.

Your data structures can be parametrized, no? I mean nobody creates a ListOfFoos or HashMapOfBars, it's List[Foo] or HashMap[Bar] where Foo and Bar can be replaced with anything and methods defined on List and HashMap would still work.

Can you perhaps give a more concrete example?
No need to vendor. Use Godep without copying (godep save -copy=false) to create the equivalent of a bundler.lock file and check that into source.
Flexport is hiring engineer #4
Flexport helps companies import products from other countries.

Our mission is to bring the world free trade through technology. Our app gives companies the tools to conduct global trade without regard for geographic distance, logistical complexity or regulatory barriers.

We’ve reached product-market fit, with almost 500 customers signed up to use our platform to manage their imports.

Based on this traction and our team’s track record in the industry, we’ve just finished raising $4M from Google Ventures, Bloomberg BETA, First Round Capital, SV Angel, Y Combinator and many top angels.

We are now building out our founding engineering team here in San Franscisco. This role is for engineer #4 on our team, so this is a high impact and high ownership opportunity with competitive salary, solid benefits and meaningful equity.

If you’re a talented software engineer interested in solving real-world problems, we may be the perfect place for you to come and do the best work of your life.

You would be tasked with creating tools to make it easier for companies of all sizes to participate in global trade.

Projects in our pipeline include creating a booking engine for ocean and air freight, integrating service offerings from partners into our platform, creating machine learning algorithms to classify products, developing APIs customers can use to connect our logistics services with their inventory and accounting systems, implementing OCR and other technologies to make our operating teams more effective, creating tools to visualize data on global trade flows, and more.

If this sounds interesting, come and talk with us about the chance to do your life’s work as a founding engineer in an atmosphere that encourages personal freedom and responsibility.

Please email jobs@flexport.com to apply.
No, you're anything, but a schmuck! Thanks for the great project!
Thanks! I'm eager to try this and hopefully clean up my code!
It happened several years ago.
Hey Jacques

Sorry for the delay, I don't come to HN very often.

I sleep quite easily at night. Google is very bad at what they do when it comes to spam. They deliberately under-resource their spam team and have maintained a fairly incompetent hack managing said team for a long time now. Their motivations? Anyone's guess, but that's the fact of the matter.

Search for payday loans and this result comes up on page 2:

http://www.suryavanshi.org/disadvantages-of-payday-loans.php

This page is spam, pure and simple and falls foul of Google's own guidelines.

> Who are you to determine what a low quality website is?

Google puts out these guidelines so people can determine the quality of websites. Pure and simple.

Unfortunately, their own algorithm isn't good at recognising these bad actors.

This is where Negative SEO comes in. As stated elsewhere, nSEO is only genuinely possible where a site is sitting on the edge (as above) OR, unfortunately, to attack small businesses.

I'm NEVER going to attack a legitimate business. I AM going to attack spammers, and YES my clients do benefit.

I don't like spammers, you don't like spammers, and it just so turns out that Google is not so great at dealing with them, mostly because they don't care that much.

Quite frankly, I'm not going to sit around and wait for them to haul their asses into gear 18 months later to fix it.

I don't just do nSEO, I also report spam listings to TripAdvisor and any other site who listens to my spam notifications. Of course my competitors benefit when I remove spam to their advantage. Why shouldn't they?
This means type systems help you make your program correct, I agree.

Your argument was "type systems make your programs correct", I still disagree with that.

I think the distinction is important enough.
Decentralized Mining
JQuery! Can't believe how much I do in just a few lines.
> What test do you insist people pass before consuming alcohol or tobacco?

The same test, and lower the legal age too. Or given current realities, leave the age alone with no test, and with a test a lower age.

But as far as smoking goes you have to make sure to filter the smoke by some method and don't expose others.

> What about sugar?

Yes, sugar can be harmful, but it's hardly in the same class.
Design and advertising agencies are often asked by their clients to produce apps, and generally have a single inhouse dev or outsource the work to freelancers.

Do some research in your area to find a fair hourly rate for your work. Bill hourly, never ever agree to a per-project fee, I cannot stress that enough.

Also I would recommend against accepting any offers of full or part-time employment with the agencies. They tend to be sweatshops. Treat them as a supplementary source of income and don't get sucked in too far.
Great, downvoted 'to oblivion' for asking a question that would have no doubt come up in the thread, anyway.
"Invest in reusable training materials to onboard new engineers."

So important! Doing this really helps keep people on page and limits the amount of time spent arguing about semantics or why we came to a certain decision.
Ever tried it? Trust me, it doesn't work.
An App That Does Nothing Except Say 'Yo' Raises One. Million. Dollars.
>>You can't really outsource responsibility for stuff like backups. They should be under your control and yours alone

Incorrect.

The best practice is to have multiple backups at different locations, some online, some offline. The offline ones should not all be under your control. For example, companies in certain sectors store copies of their source code in bank vaults, updated once per year. The reason is clear: if something happens to your company (e.g. a plane crashes into your high-rise...), you can recover from an offsite copy of your business data. A company that used to have its headquarters in the Twin Towers recovered from Sept 11 in under 24 hours because they didn't say "all of our backups should be under our control."

Just because something is online does not mean it is not a backup. It can be a backup, it just should not be your only one.
Here's another online Risk clone with a variety of maps and house rules: http://landgrab.net
So, does glibc provide strlcat() yet?
Incase you didn't already see it at the top of HN, here's your blog post: https://kentonv.github.io/capnproto/news/2014-06-17-capnprot...

:)
> quality

That's why MT is a poor solutions for 'artisan' tasks. I've used it for 'commodity' tasks primarily.

Meaning: the price of having three people do it is included in the hit price

If you would normally pay 3$ per hit, instead you pay 1$, and eat the duplicates and mistakes.
I have long maintained that the single best use of a million dollars to advance math and science would be to hire a small team of developers to make a LaTeX that doesn't suck. The amount of grad student, postdoc, and professor time wasted on dealing with it is staggering.

Can anyone give me an order-of-magnitude estimate for how much it would cost to make an "enterprise-quality" version of LaTeX? Something with the same powers, but say, the ability to use columns without reading web forums, with packages that don't conflict, and with human-readable errors.
i don't think you know what the word "data" means. of course, that's beside the point.
It appears to not support ZFS.

That's basically a no-go for me by itself.
So meet us "private office folks" half way and have enough private offices and open space for everyone. That way if you want to work in the open office section you can but the rest of us aren't forced into low productivity and constant low level anxiety simply because you enjoy it.
This is great. Is there anyway you could use data types other than string? The way it's currently setup makes it hard to analyze.
I'm rarely fond of exclusionary policies. And look at the results: although the signal/noise ratio might be higher over there, there are hardly any comments. On the front page, I count 17 of 25 posts with zero comments. Plus, there's so much content overlap with HN (and certain subreddits) that I see myself getting very little value out of chasing down an invitation.
This kind of reminds me of the banksy quote which I think comes from the book Cut it Out:

People are taking the piss out of you everyday. They butt into your life, take a cheap shot at you and then disappear. They leer at you from tall buildings and make you feel small. They make flippant comments from buses that imply you’re not sexy enough and that all the fun is happening somewhere else. They are on TV making your girlfriend feel inadequate. They have access to the most sophisticated technology the world has ever seen and they bully you with it. They are The Advertisers and they are laughing at you.

You, however, are forbidden to touch them. Trademarks, intellectual property rights and copyright law mean advertisers can say what they like wherever they like with total impunity.

Fuck that. Any advert in a public space that gives you no choice whether you see it or not is yours. It’s yours to take, re-arrange and re-use. You can do whatever you like with it. Asking for permission is like asking to keep a rock someone just threw at your head.

You owe the companies nothing. Less than nothing, you especially don’t owe them any courtesy. They owe you. They have re-arranged the world to put themselves in front of you. They never asked for your permission, don’t even start asking for theirs.

- Banksy
I doubt it will help, but just on the off chance that it does, you should read these:

http://hyperboleandahalf.blogspot.com/2011/10/adventures-in-...

http://hyperboleandahalf.blogspot.com/2013/05/depression-par...
Diablo III Auction House is closing
I'm glad to see others find using a Java-level type system is disingenuous!
Speaking from my experience as an intern at Microsoft, I really wish there was more focus on training. I've heard from a lot of praise about the quality of codelabs from friends at Google and never received anything like that when I was working. I was basically just given a project and expected to pick up things by asking people or reading some half-outdated sharepoint pages.

From speaking with other interns it seems their experiences varied entirely based on their teams. The impression I got was that it was really fragmented across teams and that each team felt like it had its own way of doing things.

I'm not exactly sure how it is at Google but I've heard from a friend that the entire company works on a single shared codebase. The project I was working on had 3 different forks of the framework I was developing (that I knew of), each maintained by different teams. Basically, the impression I got was that everything just felt really fragmented and that I was only working with my team rather than with an entire company.

I should mention that this was my 2nd software development job ever so maybe this is normal for lots of companies and that Google is one of the few companies doing it right, but the experience didn't really leave me with lots of confidence in the engineering environment/culture of the company.

I've heard tons of good things about the engineering culture at Google so I'm considering if I should try applying there.
I disagree. Unit and feature testing are vastly overrated for what they do, and their current use is faddishly subscribed to in a seemingly cult like fashion. Unit tests are excellent for testing non-stateful behavior of code. That is, they're great for testing contracts, and they have a bit more flexibility than Eiffel style contracts. However, using them to the extent of "returns an Object of this type" is absurdly verbose and pollutes the code base with roundabout information.

These sorts of things are best left to a static type system, which is a more specialized and effective system for that portion of validating your code. On the other end of things, tests of more stateful processes or behaviors are better served by E2E testing.

There's nothing wrong with using multiple forms of testing. Different tools excel at testing different sorts of things.
> Can you provide any more details on your stack and what you're seeing that blows away alternatives?

The really big thing is how just one puma worker with 8-16 threads can actually replace a set of about 6-8 unicorn/passenger worker instances and give you about the same level of performance.

That level of memory savings lets you use smaller boxes or put more puma workers on one box and eliminate others. Admittedly I'm not doing twitter request/minute numbers but I still was very pleased with my findings.
Having attended the adobe creative cloud launch event in NYC today, I was blown away by the simplicity and the 'it just works' demo that was given live on stage.

I can't wait to see more people using it. Too bad it's iPad only :/
Swift Operators Playground – Quickly test and use common code snippets
Welcome to the tiered Internet. Some carriers in Australia already do this with no limits (or separate limits) for Facebook & Twitter.
SHOCKING VIDEO: Shooting At Checkpoint Near Izium
SHOCKING VIDEO: Shooting At Checkpoint Near Izium, Kharkiv | 15.06.2014 SHOCKING VIDEO: Shooting At Checkpoint Near Izium, Kharkiv | 15.06.2014
SHOCKING VIDEO: Shooting At Checkpoint Near Izium, Kharkiv | 15.06.2014 SHOCKING VIDEO: Shooting At Checkpoint Near Izium, Kharkiv | 15.06.2014
A dupe of https://news.ycombinator.com/item?id=7914076.
> Is Rails (3.2/4.0) thread safe?

Rails 4 is. It turns on thread safe mode by default

> Are most gems?

Usually. I haven't had any problems with that myself

> For app code, presumably you'd have to avoid class variables and class instance variables

yeah thats quite a bit of it.
My problem is the price: at $199 with contract is going against a lot of much better phones.

The eye tracking is nothing new and 3D as a sale gimmick crashed and burned years ago and I don't amazon doing anything revolutionary with it here.

If it were $200 unlocked then I can see it selling like crazy, but the current plan makes no sense, if amazon was providing the service as a MVNO and offered stuff like truly unlimited data and stuff then maybe, just maybe, but $199 for this phone and on AT&T? PASS....
Thank you to everyone involved in organizing the event. It was very inspirational and informative.
Most programs do list manipulation and list manipulation in Go is a pain. Generics are one solution for that.
Unlike the poster above, I don't work for adobe, but it's worth mentioning that there is also a 'soft' ruler in the app.

A ruler is great to quickly draw reasonable-looking UI prototypes for example. Combined with dynamic smart guides, you can prototype a screen in minutes.

Ok, im done sounding like a commercial now
> I don't want to tell people what to do <snip>

Bullshit. That's exactly what you want.
Best CRM Software for Startups (GitHub)
correction, I'm a whitehat SEO who fights blackhat SEOs.
Facebook Is The Single White Female Of Social Apps
Obviously, different people get different amounts of pleasure from eating, and specifically eating a wide variety of flavors and types of food. It's not that hard to imagine someone who derives a lot of pleasure from eating "exotic" food wanting to live somewhere where they could easily do that, is it?
Even if that were true, the post is very clearly advocating a change to Bitcoin itself. Don't you think it's just a little weird to suggest a technical change to a software project on a random blog, rather than discussing it first with the people who actually manage the project you're trying to change?

Cryptocurrencies are also a far more specialised field than spam prevention. The blog post outlines a strategy for dealing with large mining cartels in a widely-used cryptocurrency. I'd suggest that maintaining a serious crypto-currency is something that very few people in the world have the expertise to do reliably. When your intended audience is, at most, a few thousand, or maybe even a few hundred cryptographers, I really don't see the point in putting it on a blog to a general audience.
> Yes, sugar can be harmful, but it's hardly in the same class.

It is certainly more addictive: http://www.ncbi.nlm.nih.gov/pubmed/23719144
That's why we have these things called "markets" and "competition". They used to teach about them in schools, but apparently not anymore.
If they add generics, I would expect it would be in a 2.0 or some other release where they're willing to make possibly backwards-incompatible changes, not a point release.
As long as we are guessing ...

Well there is a seedier way think about it, and I don't like it but I recognize that it is not uncommon.

I would not be surprised if some investor gave the company a 'high' valuation (ie lead the round), invested in their preferred shares, and demanded a 2x or 3x liquidation preference. Let's say you are right and that I am right and there are 3 employees, and lets guess that they are sharing in say 80% of the "equity" but there shares are "common" not "preferred." The employees and founders feel awesome! "Look its worth $12M and we are millionaires!" and they go about their business trying to make it more awesome and cool. Except they can't make it more awesome enough and they need more money. The original investor says "Oh sure, I'm in but I don't want to lead this round." and the founders go out stumping for money, but they can't find anyone who agrees with their original valuation much less an even higher one. What to do? what to do! And the money is running out, and there are people to feed and spouses or significant others who are getting worried. And the "Blam!" the investor mentions they could use an exit to his pal a BigCorp who offers to buy them out in an acqui-hire "terms of the deal not disclosed" and the founders are hired and given 'earn out' packages that force them to work at BigCorp of 3 maybe 4 years, meanwhile our investor clears their liquidation preference, doubles (or maybe triples the cash) in their pocket and if they are participating preferred takes another bite at what ever is left over for the common stock.

Ok so all this evilness speculation speaks poorly for the folks who just invested $1.2M in Yo. Neither I nor probably anyone else really knows what they saw in the company to make them feel that they could get their money back, but it is critical to remember that investors are in it to make money, if the founders get some too that is a "nice to have" but isn't essential. This lack of alignment gets sometimes missed when people like Jacques are wondering "What the heck is going on here?" An investor doesn't care if its a 'down round' if they are getting 2x their money back in under 5 years. Using the rule of 72[1], getting double your money in 4.8 years is a 15% rate of return. A "win" in anyone's book.

[1] https://www.directinvesting.com/drip_learning_center/rule_of...
I'm very happy for this:

"Cross compiling with cgo enabled is now supported. ...
Finally, the go command now supports packages that import Objective-C files (suffixed .m) through cgo."

Great news!!!!!!!!!!!!!!!!!!!!
Blog post by the author of PlayDrone: http://velvetpulse.com/2014/06/18/a-measurement-study-of-goo....