skysight-inc/HackerNews huggingface dataset:
Perhaps explained by this:

Office Depot and Alibaba team up to tap small and medium businesses

Office Depot on Monday teamed up with Alibaba Group Holdings Ltd to launch a co-branded e-commerce website, seeking to tap into the opportunities of selling to small and medium businesses in the United States.

While the Chinese e-commerce giant has inked deals with U.S. companies including Kroger Co to sell products in China through its online marketplace Tmall.com, the deal with Office Depot marks Alibaba.com’s first business-to-business collaboration with a major U.S. company.

The partnership would give Alibaba access to Office Depot’s 10 million customers and 1,800 sales agents.

Alibaba would also be able to take advantage of Office Depot’s distribution network that offers next day delivery in the United States, the companies said in a joint statement.

Office Depot’s customers will also get access to Alibaba’s global network of over 150,000 suppliers to find more product options or a reputed manufacturer to produce their goods.

For instance, a cutlery maker with a special design can find a factory to make it, which can be sold to restaurants or retailers across the world using Alibaba.com platform, John Caplan, head of North America B2B at Alibaba Group, said in an interview with Reuters.

https://www.reuters.com/article/us-office-depot-alibaba/offi...
My feeling though is that Amazon had a much larger moat to build, with distribution networks, warehouses, logistics etc.

With Uber, what's their moat, so that when they raise prices to become profitable users don't just move away?

Lyft/local taxi companies/public transport, all have the infrastructure to provide the service that uber provides.
I suspect that the parent is talking about the JVM's JIT, where it compiles java bytecode into machine instructions after loading the application. This is why the first few requests on a JVM are usually considerably slower than the rest.

Parent is obviously exaggerating with the 5000x, and he could have made his point in a different way, but there's some truth to it.
> In a just world, would it be 50/50?

What is your notion of "fair" and how do you go from there and arrive at that value? I mean, if the people who financed the project didn't invested a penny then the company would not have the means to get people to actually do the project.
Reminder that Facebook opened lower than this and was lower for years before they started growing. Granted, FB can, you know, make money.
A certain level of moral dismay is not exactly unwarranted around stuff like this, is it?
Well ... if my timing and intuition are perfect then I don't actually need any cash right ;)
Yeah, I agree as far as reading it goes when you switch between different projects using different versions. I do like using the Stream API though.
I'm curious, do you really prefer anonymous classes over lambdas? To me, anonymous classes are much more annoying to read.

Or are you just saying that lambdas are as bad as anonymous classes?
Actually defining what "success" is should be the first step...

What is "sucess" in the general sense ?

I'm quite happy and successful, but I'm not an entrepreneur, nor do I want my revenues to rise exponentially. I'm sure for other people "success" is measured in the amount of money they get, but that seems really reductive.
Mods, this needs a (2016) in the title.
No Guitar Is Safe, I'll Drink to That, and The Peter Attia Drive.
Back when I was hosting my emails myself, my main complaint was that it required plugging many pieces together, in a traditional Unix fashion. This was before configuration management was really a thing, so it resulted in a Frankenstein setup that worked but was afraid to touch.

If there was a more modern all-in-one-binary solution handling MTA/DKIM/IMAP/webmail with sane defaults I would maybe go back to self hosting.
feature-branch@{1} is the branch prior to the rebase.

https://www.git-scm.com/docs/gitrevisions#Documentation/gitr...
The role of the state in creating economic value
Rakudo Perl 6 is doing very well indeed, thank you. First official release in December 2015, second official release in November 2018. Monthly developer releases. See https://perl6.org for more information.
The part when they said they spent a lot of money to port to C/C++ but couldn't get same efficiency/speed, that's the problem with most porting endeavours: you need people who grok both languages you're porting from and you're porting to, or at least understand the specs and business logic. That COBOL program has probably been optimised so much that the code makes no sense to people without understanding of the intricacies of that language.

My team spent a whole quarter on converting R code into Python, because we wanted to use Tensorflow for machine learning(). When they finally got the thing running, they found out it wasn't performing as fast as R. I thought, that couldn't be possible, they use pretty much the same linear algebra libraries. So I peeked into the code to see what went wrong and found out that they writing it the wrong way: (1) calculated on Pandas dataframe directly instead of extracting the values first when doing matrix calculation, (2) instead of plain ndarray, were using matrix instead, which is slower. Both of which someone without experience in Python wouldn't have known.

() On a hindsight, did it have to be Tensorflow? Besides, there's already an interface for R[1]. Maybe the team decided on Python anyway in case they want to try out the plethora of ML libraries available for that language.

[1] https://tensorflow.rstudio.com/
Interesting that she drove a Mitsubeeshi
I don't think the difference between Uber being valued at like... $75 billion instead of $90 billion says much about whether this is a bubble or not.
This was new to me, and makes me feel better about force pushing. However, while googling to find out if I could set this as the default behaviour I found an Stack Overflow answer that as well as saying "no" points out a very git-like gotcha:

https://stackoverflow.com/questions/30542491/push-force-with...

Apparently it will think you know about the changes if you've fetched them, even if you've not merged them. And some systems auto fetch in the background.
According to this article, stock was valued internally at $49/share in 2016, so anyone joining in the last three years will not have enjoyed any sort of rocket-ship growth.

https://news.yahoo.com/uber-employees-may-not-partying-15171...
When PG was first promoting having very young people do startups, IIRC, the rationale included things like fewer obligations, more time to spend grinding crazy long hours, willingness to live&work crammed into an apartment with a few other people working crazy long hours.

Maybe it also included the perceived possible narrow opportunity window for early dotcom funding, during the initial gold rush (which would be part of the rationale for PG once encouraging interrupting college to do a startup). You had to be there to appreciate how much of a race it was -- anyone who could type the most rudimentary HTML could get funded or get hired by a startup. There was much more "visionary" posturing than technical competence, and a lot of displays of funding wealth (e.g., lavish offices and launch parties). You didn't need to be good; you needed to grind hours, and/or strut confidently. Teens/20yos were perfect for both. PG's version was more merit-oriented and modest, with no Herman Miller furniture, but still with emphasis on grinding huge hours.

Later, other people played up myths about the youngest having all the ideas and insight and vision and brains. IME, these people were usually trying to sell something, or to get cheap labor. It was often not that different from a TV commercial for a canned beverage, coddling and suggesting an attractive lifestyle and identity, to get a targeted demographic to buy what you're selling. And of course we want to believe we're special, we're getting external validation, and we don't know what we don't yet know, so this meme has traction.
>> It is ESTIMATED that dirty money pushed B.C. home prices 3.7% to 7.5% higher than they would be in the absence of laundering."

> So yes it has an effect, but it IS a tiny proportion of the price, something on the order of 5%."

"...it is a tiny proportion of the price..."

Technically, the degree to which it affected prices is unknown. Our understanding of market pricing is far from sufficient to make any confident and specific (to one decimal place no less!) assertions about how much of price increases were "caused" by money laundering. Market behaviors (price & volume) can bleed over into the realm of human psychology, setting off a self-reinforcing feedback loop of greed. When this happens, setting of another x% of price increases, is it correct or incorrect to say that particular portion was caused by the demand from money laundering? Once again, the correct answer is: we do not know.

Any claims by anyone on this specific subset (the degree to which is certain things caused particular price increases) of the topic is inherently speculative, for more reasons than just the one outlined above (another obvious reason is, several of our input variables into the price increase model are themselves estimates).
I look back into that library and it’s derivatives every other month hoping.

It’s intuitive to use as is, though I haven’t honestly look at the design.

It could be great.
To be fair, AMZN was valued at $400mn at the IPO and not $80bn (only in 2011 did Amazon reach that valuation).
Credit-card only stores actively shut out a lot of people. Cash customers have a large number of reasons to not use a card. Either they don't have an account in the U.S, they prefer not to be tracked, or are homeless.
Agreed. The tragedy is that the average person isn't equipped with the understanding that they vote with every dollar they spend – and if they are, they can't do much about it.

It's easy for a six-figure income earner to "buy local", but sadly, low-income workers are the ones most inclined to buy cheap goods produced abroad. In doing so they contribute to wage stagnation that disproportionately hurts them, while boosting profits to capital holders – who also happen to pay capital gains taxes and not income tax... – creating this perverse feedback loop.

Unfortunately, as an armchair economist I don't see a Real Solution – maybe you need Real Economist for that.

Whatever the solution may be, it doesn't seem we're doing much more currently than hunkering down and hoping wage gains abroad eventually lead to less inequality between US workers and third-world country workers so that the economics of offshoring invite companies to place jobs back in their home countries.

I literally have trouble sleeping at night thinking about this (combined with a fear of perpetual economic stagnation in Europe which I don't think we talk about often enough)
As a software engineer, I don't software engineers should be immune from prosecution if they knowingly violate laws. Your manager telling you to do something (even under threat of firing) is not an excuse if you know that it's illegal. For example, the guy who wrote the software for Bernie Madoff's company knew that he was helping Madoff perpetrate fraud, and ended up in prison.[1]

[1] http://static7.businessinsider.com/r-ex-madoff-computer-prog...
And without money to build there would be no building.
Not siding with either, just both are necessary ingredients for success.
Reminds me of Aswath Damodaran´s china bit: "When in doubt,
use China. It´s gonna make you look smart while saying absolutely nothing"
> They're equally alive

I guess if you only care about the most primitive, baseline definition of "alive". I would think we had evolved beyond believing killing is killing no matter the circumstance. Do we not wish to distinguish ourselves from primal, purely survival-driven animals?
I have like $2k into a 90s Ranger. By the time I'm doing doing "enthusiast things" to it I'll probably have well over 10k into it.
It’s not arbitrary at all. IPOs are structured by investments banks to ‘pop’ on the first day.

If the closing price is below the IPO that is generally regarded as a failure and may imply over-valuation.
+1 - I gave a reduced rate to a client who was tight on funds as a favor. They began referring friends (thinking they were returning the favor) but the new clients had the expectation of low cost. Clients attracted by low rates are rarely the kind you want to attract.
Not sure how it is the ultimate, I would expect the ultimate to be open and free.

Try https://apollokit.org instead
no resentment from my end

best way to play the stock, bond and crypto markets is from the issuer side, and a lot of people don't seem to understand that and media seems to play the role of getting people to not understand and I think it is weird they only talk about the chances for the retail/secondary market perspective, dressed up as analysis
I guess we had different perception - it happens :).

Understanding that underlying infra, when you go deep enough, may have been shared between Gmail & Inbox, same is much the case for all email services anywhere; it IS the front-end UI, and featured enabled by it, that by and large makes an email product.

Marketing at the time seemed to indicate and place Inbox as a separate product, and more than one note from Google hinted that it would replace Gmail. In hindsight it obviously didn't happen, but many of us thought it presented a significant risk to Gmail; just as recently people were looking for "Inbox alternatives" due to its demise, at the time we were searching for "Gmail alternatives" due to potential replacement by Inbox (which I think was a brilliant idea and potentially implementation - but I'm too much of a control freak to utilize:).
>Java 8 is still the dominant development environment, according to the JVM ecosystem report of 2018.

>If you think that’s bad...

Why would I think that's bad? The replacement for Java 8 was just recently released, does anybody really expect the world to upgrade so quickly?
Desktop crossplatform development is a weird beast. Yeah you get to share a lot of code between platforms and it's easy to get 80% there, but getting a polished UI is a lot of work.

In some cases such as using JUCE for making audio plugins it's even desired to not have a native UI since users expect each plugin to have its own UI. But unless you are huge, like say Adobe, having a nice and polished cross platform UI for application development is simply not feasible.

After years I've come to the conclusion that the proper way of supporting multiple platforms is having native UIs and sharing application logic in any way you can between platforms. I think that's the idea behind Xamarin.
Thou shalt not operate a smart lock on the day of the Lord?
Seems like “victim preparation” to me. How about a deterrent?

My neighborhood has had thefts too. I assume my two dogs barking have been enough to keep them at bay. It wouldn’t surprise me if statistically this holds true elsewhere. Low hanging fruit and all.

Have you considered a motion sensor tied to a speaker that plays dogs barking/rustling?
curious: how do you define major here considering that it is the qualification upon which the entire statement stands?
This tracking is made by tracking when someone loads an image from our server.

When their device calls our server, we have access to this person's basic information. Usually this information isn't aggregated but only counted to know how many users opened the email.

That's the equivalent of a caller id. This is the less hurtful and evil method of tracking I can think of.

I don't understand why you are so outraged from it.

Nobody is forcing you to open the newsletter email titled "AMAZING deal from [brand], get ONE FREE if you purchase THREE!" that you just received and much less to click the "request images in this email" button.

I could understand your point if we were talking about "Canvas Fingerprinting" where an invisible image is generated and the user's GPU is singled out to an unique token by exploiting the unique hardware information outputted during the rendering of the image, allowing you to track user across browsers, sites, logins and even after a software format or operating system reset.

However right now I'm merely talking about tracking the number of hits our server receive for "banner-image.jpg". This is not even information unique to the viewer.
I've lived in a variety of areas across the west coast. In all of them, rural to dense city environments... things were stolen. I've had multiple bikes stolen, my car, my backpacks, my eye glasses (yes - that is weird), and more... And they were all in a variety of areas. I still classify many of those areas as "safe" and so do many reports but theft still happens.

Almost nowhere is "safe" from thieves. If you live in a "nice area" like any of the more expensive neighborhoods/cities in the bay area then you're very prone to burglary because go figure you likely have expensive stuff that's good for stealing. Unless you have really good defense mechanisms to detour/stop thieves (or just nothing worth stealing) then you're going to get stuff stolen.

Property crime isn't the same as violent crime.
Or git `reset --hard ORIG_HEAD`

> HEAD names the commit on which you based the changes in the working tree. FETCH_HEAD records the branch which you fetched from a remote repository with your last git fetch invocation. ORIG_HEAD is created by commands that move your HEAD in a drastic way, to record the position of the HEAD before their operation, so that you can easily change the tip of the branch back to the state before you ran them.

https://www.git-scm.com/docs/gitrevisions#Documentation/gitr...
> when user a goes to /dec/1235 IT SHOULD NOT RETURN THAT DOCUMENT.

As a matter of fact, it should return 404 NOT FOUND for both users A and B
While lacking in lots of built-in UI widgets, I use Cinder like a UI library. https://libcinder.org/ Perhaps "graphics library" would be a better descriptor and explains why I didn't find it on the list. But with mouse/touch, images, audio, video, etc. support, "graphics library" seems too narrow of a description. Maybe it's better to think of as a GUI library without a lot of commitments to the usual set of GUI widgets.
I'm curious why you openly hold what seems to me a totally sociopathic viewpoint - do you assign any moral weight to anything at all? If so, why do you not assign moral weight to the suffering of conscious beings?

Even from a completely amoral perspective where nothing is preferable to anything else, do you not see the social benefits of a community which has the socially-enforced value of "suffering is bad"?
not the index funds, unlike what the sibling comments are suggesting.

IPOs aren't even added to the indexes until it's been some months since their IPO.
Remembering the Golden Spike Ceremony
Ask HN: What do you use to improve privacy on your Android phone?
Ehm majority of their markets? The entire developing world says hello
C# is a better language. Java 8 started to catch up with some of the quality-of-live niceties, but Java has a lot of mistakes baked into the language and interfaces that can't be removed without potentially breaking a lot of stuff, which the consortium is not willing to do. C# and DotNet were designed with the wisdom gained from the early days of Java implementation and sidestepped a lot of these messes.

Java has a substantially better ecosystem. The tooling is just miles ahead of what exists in the DotNet world. Until very recently you developed in Visual Studio and you ran on Windows in production and that was that. They're working on Linux support and a broader ecosystem but they are probably a decade behind what is available on Java. Even stuff like package management is crude, NuGet is a joke compared to Gradle.
Those who can sell today did buy it for a higher price yesterday, I think.
> I think it is a reasonable expectation that the marooned Firefox should continue to run indefinitely without failure.

I personally agree this is a worthwhile goal. The blog post talks about "tracking the status of everything in Firefox that is a potential time bomb and making sure that we don’t find ourselves in a situation where one goes off unexpectedly." I expect once that is done we'll be positioned to evaluate if and how we could support this.

(Disclosure: I work for Mozilla)
I'm sampling the world of commission-based connectors in a deliberately wide-ranging way. We could also include Hollywood agents (often 10%; sometimes 15% or even 20%). Or Eventbrite, where the base formula of 3.5% +$1.79 translates into an overall 14%. (I'm using an average ticket price of $17, which was correct in 2014.)

No comparison to other businesses is exact, but the basic point is that if we make the rounds of commissions charged throughout the economy, not many fields have settled out at the above-20% level that Uber is currently defending.
Another thing higher-ups like is having several options presented:

a) I can do this in 4-6 weeks, but we can also hire a consultant who can probably do this in 6-8 weeks and it is going to cost roughly this much (in this particular example I had intimate knowledge of the system and was proficient with the framework/tools).

b) Look, we don't have anyone on the team particularly suited for this project. We can either train ourselves, but the project will take about two months, or we can hire an expert who can probably do that in a month, and this is going to cost roughly this much.

Of course, be very conservative with your estimates and think hard, if someone from outside of the company can do the project faster (green-field project with unknown tech) or slower (upgrading internal system, for which the original developer is still around, but busy earning money for the company)
Uber is valued more for its potential and growth. Uber is optimizing growth and revenue before it optimizes profit (which could take another decade). See Amazon.
Link to the study: https://papers.ssrn.com/sol3/papers.cfm?abstract_id=3158929
When your shoeshine person gives you trading tips..
Finely placed, what a book! This passage made me laugh out loud.
The DOW is 30 companies and none of them are unicorn startups, it's related only because it correlates to other indices.
Correct. I assure you, at no point in any of these board rooms, are CEOs saying "let's not do that, it might land me in prison" – they're probably just saying "let's not do that because it'll depress the share price by 5%" – but in the case of Boeing and other similar companies, the "let's not do that" part is something that can result in deaths.
that makes me so sad
> Unfortunately, the reflog is confusing and hard to use correctly in the case of an interactive rebase with multiple steps. It is hard to figure out exactly how far back you need to go in the reflog to get to moment before the rebase started if you want to start over.

When you run git reflog after rebasing, you will see lines like the following:

29d82ac HEAD@{6}: rebase -i (finish): returning to refs/heads/your-branch
29d82ac HEAD@{7}: rebase -i (fixup): Commit message 2
4f8e996 HEAD@{8}: rebase -i (pick): Commit message 2
f3a954e HEAD@{9}: rebase -i (pick): Commit message 1
f74b8a5 HEAD@{10}: rebase -i (start): checkout origin/master

The line listed after the one that has rebase -i (start) is the commit you were on before you started the rebase. If I screw up a rebase, then I will stash any uncommitted changes and run a git reset --hard to the commit listed below the rebase -i (start) commit I see in the reflog and start the rebase again.
They won't tear down anything. But there will be more and more systems that were built using newer things, some which we consider cutting edge right now. Some companies will get acquired, some will go bankrupt and their old systems deprecated, etc.
The idea of "people won't buy things they can't judge by holding it in their hands" was still strong back then.
That's why Amazon was successful selling books where quality was trusted implicitly without that physical judgment being necessary.