skysight-inc/HackerNews huggingface dataset:
You're making a lot of assumptions there, and none of them are really valid.

First, good managers are busy people. Sometimes they'll be juggling a lot at once. My manager is also a team leader of a team with over thirty people. He has a general idea of how well everyone is doing, but by necessity that's not a lot in the way of details.

Second, marketing is as necessary a thing in the workplace as it is in sales. While I do wish I lived in a utopia where value-providers (whatever that means) naturally rose to the top and technically better products managed to sell themselves to the consumers, that's not the world. In the real world, those things just don't happen. So you have to market your company's products, and you have to market your own value. If I did not, I'm sure I could just go on existing in my current role pretty much forever, but that's not really my style.

A 1:1 isn't a drag or a necessary evil even if I remove the non-marketing aspects from it that I discussed in my post above. It's an opportunity to market yourself, where you have a captive audience for however long it's scheduled for. Captive audiences where you can sell are a pretty rare occurrence, so make the most of the opportunity!
Yeah! None of this one-man-one-vote crap, back to some good old fashioned plutocracy. After all if the top 10-20% own 90% of the wealth, it's only right and proper that they also own an equivalent share of the political power. ;-)
We use several things including custom scripts to monitor and alert when needed. However our main tool is ipMonitor. We monitor hundreds of servers in multiple environments (dev, test, prod) and the thing that I don't like is all the noise that gets created. It makes it hard to find the real important issues. I believe monitoring is great, but any alert should have an actionable items to perform.
There is the third option that rarely gets discussed. No subscription service succeeding in dominating the market entirely.

Alternatively, a two-track system, where subscription services are consistently behind on popular hits, and artists hit record services first.
Perhaps if we add that a "good (wo)man" will leave if that's what it takes to rise up.
Or... people who say this have friends that care enough that they manage to communicate without facebook?

In my experience there was a phase where that was an issue, but people learned relatively quickly that saying "oh, sorry I didn't invite you, you weren't on Facebook" doesn't go over well, and is really hard to spin as the others fault.
I wish people would stop saying "C/C++" , these are 2 different languages.

That's disingenuous. C++ is largely a superset of C, to the point that a large C project such as gcc could be compiled with a C++ compiler without too much effort:

https://lwn.net/Articles/542457/
https://twitter.com/benontherun/status/603493502060777473
The argument is that the mythical "sufficiently smart compiler" will figure out where restrict can be used automatically. In practice "sufficiently smart" means "at least as smart as a human", in which case pointer aliasing is the least of your concerns.
> I think an economist would say you do get to choose. You could have chosen a different product that was packaged better

It's been proven over and over again that "market-based responses" to environmental issues simply do not work: there will always be a critical mass of consumers who simply won't care. You end up trading the long-term future of our planet for immediate convenience, just because as human animals we are simply terrible at judging things in the long term.
Animal analogy is interesting. Any animals that cultivate crops? Are there any Human hunter/gatherer societies that scaled?

Here's a snippet of dialog from one of my favorite movies:

Jeremiah Johnson: You wouldn't happen to know what month of the year it is?

Bear Claw: Why no, I truly wouldn't. I'm sorry, pilgrim. Winter's a long time going?

Jeremiah Johnson: [exhausted] Ah.

Bear Claw: Stays long this high.

Jeremiah Johnson: March. Maybe, April.

Bear Claw: March maybe. I don't believe April. [rising to depart] March is a green muddy month down below, some folks like it, FARMERS mostly.

---

Recently, a company that I worked at was acquired. Felt like like farming. So, I bailed; hunting for something new.
This is a good example of journalists forcing stories into the narrative most likely to get eyeballs rather than the narrative that fits the most.

You make this a political incompetence story, you lose probably 25% of the readership, including the writing and ediforial staff at the times. But hey, powerful politicians of all stripes love a good cyberwar story.

Meanwhile the PRC will funnel money into both parties during the upcoming election so that they keep influence no matter the results.

No conspiracy required, just a few big players acting in their own local best interests.
Giving an app full internet access is still too much for me. I wonder why Android does not implement a permission to access a specific domain. A Facebook app that has access to facebook.com would be fine with me.
144 years of marriage and divorce in 1 chart
Exactly. When I work a 9-5, I am motivated by money. When an employer or manager says I should be motivated by something else, it's usually because they want me to work overtime/weekends/crazy hours for no extra pay.

I actually did this in my early years and the outcome was never positive for me: I worked nights, weekends, many more hours to help the team, get this great product or project done. In the end? We were let go and upper management got a nice payout and moved onto their next company.

This has happened so many times to my friends in the tech industry, it's crazy. As a result of this behavior, I started my own company and never looked back.
It's hard because music you can actually track how many people are listening to what songs and how much of the song they listen to and compensate accordingly.

If they were able to track how often a person used an app then I don't think that would be too bad except for extremely niche apps which are usually enterprise already. I would take a smaller payment if I got paid $0.01 for three minutes my app was open on a phone, rather than charging $0.99 (or even $2.99)... It depends on the app though
While this is true, and linked lists are somewhere between exotic and obsolete, the presentation by Bjarne Stroustroup had buried in it him saying 'the time to find the element takes so long a vector is always faster'. But, of course if you include a search linked lists are going to be way slower.

Also I wouldn't say that the same algorithm would be faster in C, there is no reason why C++ can't be as fast as C, even idiomatic modern C++.
No. The 'restrict' keyword makes it just easier to write a compiler that can properly optimize pointer access. In other words: the compiler can be less sophisticated: it doesn't need to globally prove how a pointer is used. When it sees 'restrict', it can simply take shortcuts and assume no aliasing possible and no pointer tricks are used.

Can you add the keyword in appropriate places based on a set of rules when to use 'restrict' keyword? Yes? Then a hypothetical compiler could follow the same rules and get to same conclusions.
Well yes, that's my point. I was responding to a post that was basically suggesting 'drones could in some circumstances be dangerous' implies 'we shouldn't use drones at all' and objecting to the double standard - we don't make that sort of argument for automobiles, and we shouldn't for drones either.

'Drones could in some circumstances be dangerous' implying 'we should look at how to make them safer' - yes, I'm all in favour of that.
Do you think the labels don't have a war chest? Most of the big artists are not independents but part of a mega corp label.
The scrolling of this site is super-smooth. Any idea what kind of javascript is running that?
I implemented an algorithm in Python and C++. Heavily IO bound task, read a float, multiply it with a factor, save to another file. Input file was several Gigabytes. I didn't do any optimization and I'm a C++ noob. Python was 30 times slower.
Ask HN: When is a new business not a startup?
If the definition of a startup is the search for a business model, then does this mean that any new business that starts which has a working business model is NOT a startup?
What would be a good book to start to learn high performance C++ code?
Because people make mistakes? Not all test suites are 100% perfect so bugs go missed? That's the point of a pull request and code review. I get that mistakes happen but we don't need a record of your mistake and subsequent fix in master (unless it's already in master. Then that history is sacred). Just squash the appropriate commits (--fixup is my favoritist thing ever) before merging to master and send the right code to public history the first time.
Google also knows full well that they don't own their platform the way Apple does - developers would just sell directly and have users sideload, or move to Amazon's app store.
Even when a CEO overhears a personal conversation and approaches to say they are looking for X, Y, and Z so I should contact the CTO directly, and here's his email, etc... I'm reticent to pursue the introduction. It's worse if such a person mentions beer and foosball.
OK, so I was being a bit fast and loose with my description of insert. What I was going for is it doesn't copy and scan the entire list every time.

It's also not too hard to imagine a constant time implementation. The api would allow for it. Whereas poll is broken at the api level. It assumes O(n) at every call and there's no good way to get around it.
When comparing yourself to the rest of the world, always remember that you only know how "great" other people are because they told everyone that they are. Then remember this: https://en.wikipedia.org/wiki/Dunning%E2%80%93Kruger_effect
The same thing happened to me. I worked for a mid-sized company with a small development team. We had 2 managers and after senior developer, that was pretty much the only place to go (and get a raise).

I left 8+ years ago and last I heard, those 2 managers are in the same position.
Amazon FBA is pretty awesome for this. You gather up all of the items you want to sell, set prices for each one, and then print shipping labels to ship them to Amazon. Everything after that is handled by Amazon (fulfillment, customer support, etc), and you are sent money.

Unfortunately this only really works for items already listed on Amazon - otherwise you need to create new listings.
That exists: Mayday PAC. Lawrence Lessig organized it last year. They raised $11 million and tried to influence some key Congressional races, but it didn't really work. Now they're trying some different things:

https://medium.com/@lessig/we-tried-we-learned-we-re-trying-...
It's only considered "double taxation" when the tax hits wealthy people[1]

1: http://assets.amuniversal.com/921b06d016420130ff2c001dd8b71c...
> how is Coke the problem? Back when they had glass bottles, they reused them.

Yes, and then stopped. They just unloaded some of their costs on the community. They were then forced to try and clean up their act by public pressure.

To be honest, I'm not singling out Coke -- all manufacturers are part of the problem, even tetrapack-toting ones: the whole "package $item in small $something" concept is environmentally expensive, and all industries must be forced to bear as much of these costs as we can.
This is not always true but depends on the operation. Cython/Numpy take advantage of Python's extensibility at the operating system level. See: http://stackoverflow.com/questions/2119761/simple-python-cha...
Cool app, it looks really good. How was it working with the Marvel API? Did you try the comicvine API? http://www.comicvine.com/api/
Apparently it doesn't actually limit uploads:
https://code.google.com/p/chromium/issues/detail?id=414319

Also, I'd prefer to use my own custom speed value and no extra latency etc.
Exactly. And my question is forget the digital part of it. How did this work in the days of records and CDs when promotional copies were given away? Sure most went to radio stations for airplay, but others were given away. Did the artist get any money for those copies or was that part of the record companies' marketing budget?
Yes. Does it matter? It depends.

If you're writing a game in python, you're going to have a bad time. Yes, I know CCP does it, but from what I've heard their engine is C++, and even then it's been a long, uphill battle. You're just going to have a very hard time meeting soft-realtime performance constraints (e.g. 30ms or 15ms frames) if very much of your code is in python.

If you're doing a programming challenge, you'll probably be fine? I've never done a programming challenge, but my assumption is that getting a result is the goal, and the performance of the code that gets it isn't that big of a deal, so long as it runs in a reasonable amount of time.

Really, the point is that you aren't going to see algorithmic-level speed differences between C/C++ and python most of the time. There are cases where this is untrue (e.g. where the algorithm relies on low level memory control), but it's true enough. You'll see a constant factor speedup, ranging somewhere between small and massive. I've heard 100x is typical for code that runs mostly in python and isn't just calling out to C, C++, or Fortran.

That said, the 100x number could be way off. For compute intensive tasks, if you're using numpy, you'll see a much smaller speedup. If you're not using numpy, but are great at writing multicore and simd code, you could see a 100(num_vector_lanes)(num_cores), so on a recent quad-core intel chip, you might be able to get a 10084 = 3200x speedup. This would take a long time to write, only applies to problems that are both compute-bound and easily parallelizable, and could be overly optimistic, but you get the idea (I don't know where the 100x number comes from, and how well the C++ programs it was compared with were written -- if it's from Alioth, last I checked they tended to leave a lot of perf on the table, but are not too bad).

Also, cache friendliness can make a massive difference. I've seen 10x speedups in C++ programs by utilizing the cache better, and I've heard of people getting even more significant speedups. Python's implementation is extremely cache unfriendly, but writing cache friendly C++ programs is non-obvious to a lot of programmers (or they don't consider it, or something), so you might loose out here. Along these lines, if your memory allocation patterns in C++ are naive, your code won't perform very well, and a lot of C++ programmers fall victim to this.

So who knows. If you're great at C/C++, know your architecture, are excellent at parallization and SIMD, and have the right problem, the difference could be massive. Barring that, I'd guess you'd get something like a 10x-50x speed up for average code, which is a lot, but maybe not that significant

Sort of rambled there, hope that made sense.

P.S. A lot of this is only true for CPython. I hear PyPy is faster (still no simd, multicore, or memory allocation or layout control though, so I suspect you can still beat it a lot of the time).
CPU registers and OCaml
Being newly founded does not in itself make a company a startup. A startup is a company designed to grow fast. Check out Paul Graham's essay "Startup = Growth" for a great answer to your question: http://www.paulgraham.com/growth.html
Then there will be police drones that chase other drones or track their location very precisely. Just because cars were invented didn't mean that police continued to use their horses to chase down cars, they also got cars.
The attention is not endless, though. Consumers will eventually respond with scepticism, I think.
No. Programs optimized specifically for PyPy were already being shown on the benchmarks game.

Previously, factual corrections to that blog post were shown in the comments but now the comments are not shown.
No, they'd become liable. If it was that easy to avoid paying taxes on repatriated earnings it wold simply stop being a problem.
At a glance, seems similar to Facebook's https://osquery.io/
Does anyone know if this is fixed in MariaDB?
Sure, go to eBay or Craigslist and buy a used Mac. Then go to apple.com and download their latest OS for free. Can't do that with a PC/Windows.
One of the nice things about my hash time-lock construction is that besides the general slowdown of serial computing power growth, speeding up SHA-256 has been intensively incentivized by Bitcoin mining over the past 6 years in addition to crypto research interest in faster primitives; so it seems like one could have very high confidence that there will be no new breakthroughs in optimizing SHA-256 over the next few years.

(What's more concerning is questions about whether anyone would bother investing the computing power to unlock the crypto, since while it's bad if a time-lock can be opened early, it's also probably not good if it opens years late. For example, the original successive-squaring timelocks released back in the '90s are not going to open anywhere remotely on time because they didn't foresee the serial slowdown happening when it did and because I don't think anyone is trying to open them at all.)
So you believe the reason for this is because of some political agenda? Are there conflicts of interest with the maintainers of the site? or I guess what are your reasons for your believing this?

I'm genuinely asking / curious. I've only looked at the site in passing maybe a few times.
> didn't account for pixel density of the display

You can easily tank the framerate if you account for this. At best, it should be an option in the video settings (if you're going to have them).
Dear WWLink,

Please stop pissing away this once in a career opportunity!

-Recruiter McRecruiterson
I wonder why we don't yet have CPUs and memory access that are more friendly to higher level structures.
The Burroughs 5000 tried to do that and it worked.
http://www.smecc.org/The%20Architecture%20%20of%20the%20Burr...
Infinispan 7.2.3.Final released
Couple of thoughts here:

1) If you're an indie artist and you can afford to opt-out of Apple Music on principle, then clearly you can afford to opt-in for the three free months. Either way you're not making money from Apple Music. If you opt-in, you make more money in the long-term. If you opt-out, you continue to earn from your current streaming and downloads.

2) If you think that Apple Music will be so earth-shatteringly successful from day one that it will destroy your business -- then your business model is razor thin and completely unsustainable.
No, it is not.

https://mariadb.com/kb/en/mariadb/trigger-limitations/
My perspective having developed with Python for over 20 years now: it depends on the nature and context of the problem being solved.

In my experience, you usually need a CPU intensive problem for the implementation language to be a speed concern. Many practical everyday problems solved with Python (outside of contests and specialized fields) tend to be I/O bound.

Secondly, even when you do have a CPU bound problem, many Python modules you might use to solve it are wrappers for C/C++ implementations.

As a result, I've come to think of Python as a control and integration language and less as a platform for base algorithm implementation.

Viewed that way, I've found Python to be unbeatable for speed of implementation and long-term maintainability (two of my top metrics for valuing code).
Apple needs to loosen their purse strings and give back a little. I can't believe I'm standing up for the music industry, but Apple wouldn't be half the company they are today without music.
As others point out, it doesn't make much sense for Apple to attempt this (not paying content producers during a 3-month trial) for the sake of money alone - they have the cash (even if subject to high taxes) to pay for a loss leader like this.

If that's not the primary motivation, I can think of two alternatives:

1. Apple lacks confidence in rolling this out - they don't even know if they'd make back their money using a loss leader of this magnitude. They don't feel that the service alone has any meaningful advantage over the competition, so they feel a need to compensate with an extraordinarily long trial period, and they're willing to abuse some of their market power to strong-arm content producers into (hopefully) covering the bill. As a tiny part of their overall business strategy, they are unwilling to make any large bets on it, regardless of their ability to cover a loss.

- or -

2. (probably more likely) Apple is so myopically over-confident that they believe this service will disrupt the music industry in the same way the App Store changed software distribution. They honestly feel that they are creating a new market here, not trying to steal market share from other streaming services. Consequently, they don't feel a need to justify covering any expense to content producers because in Apple's mind, content producers will give anything for the privilege of existing on Apple's revolutionary new service. This would represent a new opportunity for revenue above and beyond what the music industry has already come to expect.
Sales taxes are deductible in the US, sort of. You can deduct either state and local sales taxes or state and local income taxes. No idea what the rationale for that is, but if you live in a State with no or very low income tax and deduct your sales taxes, it's kind of like you're not getting taxed twice.

http://www.irs.gov/Individuals/Sales-Tax-Deduction-Calculato...
Suppose Apple were to instead finance their free trial by reducing the royalties they pay artists. Would this be morally reprehensible, since it would result in the "little people" losing as much revenue as they would have under the existing scheme? I don't see how it is immoral for a company to reduce the total amount that it pays to artists. Prices are set by negotiation/the market. I think people feel undue sympathy towards musicians because they are cool and beautiful people, and so people don't want the market to apply to them.
A lot of companies want productivity NOW and aren't willing to tank the cost/risk of training someone junior. Also, some skills you can't/don't want to train into.
It's now Illegal to sell adult ebooks before 10 PM in Germany
Yeah, the terms & conditions say you can't have "Marvel" in your name:

"You may not create derivatives of Marvel Property, or use the 'Marvel' name or any other Marvel Marks in the title of your App without Marvel's prior written approval."

They might let you if you ask, though. It's not like it's a commercial app.

I think it's good that you added links back to the Marvel website, and attributed the data to Marvel, following their guidelines: http://developer.marvel.com/documentation/attribution

Some developers overlook the boring API documentation and rules.
And Morning Star, Zappos, Stripe, Medium, Semco, W L Gore, Whole Foods, and others... http://danieltenner.com/open-cultures
I believe what the grandparent meant is that bringing the money in to the US will require taxing it.
That's disingenuous; other streaming services pay for streams by free users.
Being employee friendly is a minimum requirement. Unless you're offering something truly extraordinary, it is probably going to be difficult to differentiate yourself in that regard.
How does (1) apply? Are there indie artists who are opting out?
Apple is giving away three months of its software and servers for the streaming service. After the 3 month period, both Apple and the label/artist get paid.
"Higher payouts" appear to be 71 (US) and 73% (rest of the world) vs. 70% from Spotify [0] (and likely very similar from other streaming services).

1% is a hilariously small amount to push expectations on artists without even asking.

[0] http://www.theguardian.com/music/2015/jun/18/beggars-group-s...
It's entirely relevant. You're a recent grad. You haven't been landing your interviews. And he's giving you a plausible reason why.

Your interpretation of it being insulting doesn't preclude it from being true.