skysight-inc/HackerNews huggingface dataset:
Agreed (author here).

It's a really taboo subject to talk about to begin with; and there are really two extremes that you'll hear:

1. It's a meritocracy and anyone can do this! (It isn't, and they can't)

2. Yea, this will work for you but not in general. (You're probably right on this one, as my salary and my progression are very personal things).

To thread the needle, I'm trying to point out that I acknowledge #2, and explicitly reject #1 as empirically false; and I hope that by sharing my salary, I bring light to the fact that #1 is false, and that if more people who are similarly advantaged as I am talk about it, we can make #2 no longer be the case.
To give the other side of the coin here- you at least need to know the basic logic behind it if you're going to be able to recognize when reading up on it might be needed.

If you have never considered the benefits of caching certain computational results in a recursive algorithm, than you probably wouldn't be as quick to recognize when that technique would be useful.
It’s ok to experiment with emerging technology
The way Wikipedia works you don't need an army of activists - just one enthusiast to edit it. The important news probably took longer because no one was very interested. That's how it works with volunteers.
> I'm suspicious of hindsight bias.

As you should be, but anti-hindsight bias (or hindsight anti-bias?) is even worse. Not accusing you of that; just making a general observation. Hindsight should inform, not bias in either direction.
It is literally meaningless to me. I have no idea what it is trying to convey.
Lot of comments here refer to the 30% fee in isolation.

Where Apple is especially unfair in allowing others to compete is that it too has a music service and in the past was able to charge users lower than what any competitor would charge for a music streaming subscription.

So it’s the combination of 30% fee and making apps where it itself doesn’t “charge itself” 30%
This is more like I'm not allowed to keep whole foods milk in my sears refrigerator- I'm only allowed to shop at Walmart stores.
In the first problem illustrated, I wanted to also get the list of coins. I made this attempt, but this hardly seems elegant. Any comments to make it better?

n=10
denom = [1,3,4]
dp = [-1 for i in range(n+1)]
dpl = [[] for i in range(n+1)]
def f(n):
if dp[n]!= -1:
return dp[n]
ans = 10**10
if n<=0:
return 0
mini=n
for i in denom:
if (n-i)>=0:
new = f(n-i)+1
if new <= ans:
mini=i
ans = new
dpl[n].append(mini)
if mini!=n:
dpl[n] = [item for sublist in [dpl[n], dpl[n-mini]] for item in sublist]

dp[n]=ans

return ans

if __name__ == "__main__":
ans = f(n)
print(ans, dpl)
> For the moment we are shifting emissions from one place to another.

No, we aren't. There are lots of renewable energy sources already on the market, and more coming online every day. You just have to be willing to use them.

In Michigan, as one example, for just one extra cent per kilowatt/hour you can have 100% renewable electricity in your home right now. No new wires, no extra setup.
I love how brazen this letter is.

> Apple’s approach has always been to grow the pie.

Apple's approach has always been to grow it's own pie. They have never been even remotely interested in playing nicely with other companies. I don't fault them for it, but let's not kid ourselves here; the app store is largely an extremely profitable exercise in rent seeking.

It's not like this is new for Apple; they've had proprietary cables and adapters for as long as I can remember. Developing software for their hardware has always meant using Xcode, which, surprise, is not free. Literally every other platform has given away tooling and emulators, but that's never been true for Apple. Occasionally this kind of behavior works out well for customers -- they were unafraid to use their market power as a cudgel to kill off Flash (which I think we can all agree needed to happen) -- but all too frequently it's purely anti-competitive. Apple has created some incredible products and services over the years, but let's not kid ourselves about this; this is simply a way of extracting value from Spotify.
Thanks, I'll check out those videos, and the claim stuff.
If we accept this definition of a monopoly, then the term becomes worthless. Every single device where the user can add third party software but it has to be approved by the manufacturer becomes a monopoly. Stuff like Garmin watches, "smart" fridges and other appliances, "apps" on car's dashboards (like Spotify on Tesla etc).

And why should this only apply to hardware, is it not comparable to Facebook having a monopoly on allowing games on their plattform, or the (now defunct) way of developing apps for the Spotify desktop client?

Surely, this broad definition of "monopoly" is not meaningful, and should definitely not be made illegal.
> zero exhaust

Sure, many countries are still on coal. But there are other considerations as well. Cities are hotspots for emissions, and need not be. Another important point is that nitrogen byproducts form simply from the high temperatures in internal combustion engines, not just from fuel.
Also I think that with enough .clone(), raw pointers and `unsafe` you can avoid almost all borrow checkers errors.
My response to this question or to "Are we there yet?" has always been, "Yep, we've arrived! Hop out!"

Best delivered while the car is still at speed for maximum frustration. (Also best when the mood is already light.)
Made My First Python Web App Using Dash for BJ's Restaurants
That is a terrible narrative to start passing around.

Games are not keeping people poor. An extremely small population relative to total people playing may be addicted and it affects their lives but that should not be a reason to ban a game.

Also, the point it not made with this situation. It’s a single game. Not all games.
My abbreviated progression (by company):

2002 - 2012: $55,770 + ~3% => $85,000 + ~3% (EE to SysE, Dallas)

2012 - 2016: $78,000 => $95,000 (Senior SWE, Dallas)

2016 - 2018: $160,000 + $20,000 => $166,000 + $26,000 (Senior SWE, NYC)

2018: $180,000 + 20% + $15,000 (Team lead, aborted after five months, NYC)

2019: $180,000 + 20% + $112,500 (Senior SWE, working towards Staff soon, NYC)

I used to have a more detailed history, but I seem to have lost it.
> Let's be clear: Rust is still far away from formal verification; the borrow checker won't save you from logical errors.

completely agree.

> Second, data structures like graphs, trees, hashmaps are well understood and have a lot of algorithms built on top of them.

well understood, yes, by authors of textbooks and papers. your average programmer may have understood them once, before he made it to the enterprise and started passing buckets of bits between http endpoints for a living.

> Algorithms with a lot of research behind them, and complexity analysis. While complexity analysis doesn't always equal performance, if I can't use these universal tools in your language, I'll probably think of it as a toy language which stops me from getting stuff done, which is still what most of us are paid for.

you can write a recursive data structure in Rust in the same way you'd write one in C++ - use unsafe pointers, even the asterisk is the same. nothing is stopping anyone from doing that, in fact there are lots of examples on crates.io and in the stdlib.
So basically the same as "US patriots" on HN, Reddit, Wikipedia, etc.?
This is probably the entire crux of their parenting style. Kids take social cues from their peers, not their parents.
A lot of them faced what I would argue anti-competitive behaviour to prevent their growth.

For example, Google banning their apps on Windows Mobile and Amazon Firestore. Google blocking Windows Phone users from accessing maps/mail via a user-agent check. That and Google actively blocking Microsoft developing a native Youtube app.

Is it any surprise that customers were unsatisfied?
I used to do something similar with WinPopUp (https://en.m.wikipedia.org/wiki/Windows_Messenger_service). Kids will find a way.
Why compare a broad category like arts with narrow category like agriculture?

Why not compare something general like arts and with something general like food? Could it be because the contribution of the food industry dwarfs the arts industry? Or compare something specific like "instrument market" with something specific like agriculture?

Also, isn't contribution defined by how we arbitrarily choose to measure it? Do we ( or should we ) assign the value or portion of the value of the goods transported to the transportation system?
It would be more honest to use "Entertainment"
I wonder if this is why it has become so popular

https://www.politico.com/story/2009/08/obamas-catch-phrase-l...
Learned this technique in uni ca. 2004 and still use it for hobby stuff. It's nice to have a more stable, noncommittal method!
Comparing Magic The Gathering Online Exchange to an FDIC regulated bank.. He was running the equivalent of a fraudulent trading card ring that happened to become very valuable.

Mark has some of my coins and I think he's done enough time. Prison in general is cruel and unusual for anything besides violent offenders.
If you want to judge human efforts, I think you should also factor in the actual human cost (how many manhours are in there), as well as efficiency gains due to the work performed. And I guess that in this metric a large amount of the so called arts is highly overrated compared to the typical monetary evaluation (and if you say: people enjoy art, it's generating quality of life - the 20$ spent on streaming per year/capita could as well be invested into things which help people develop themselves (such as solidary funding of highschool music education...) and create social fabric. But this is obviously very bad from an individualistic view on gains, which actually creates a lot of not so individual consumption drones.
Apple is not "actively trying to prevent" people from managing their Spotify, Netflix et al subscriptions outside of their respective iOS apps, what are you talking about?
German spy agencies were aiding and abetting the NSA in the surveillance of the German population and looked the other way when it came to politicians and industry. That a NSA lapdog is critical of Huwai is no surprise.
I was thinking this too. I’m not a big fan of this “we’re champions of privacy and the little guy” bullshit Apple has been spewing lately. They have some good points and so does Spotify. But the way they address these issues comes across very condescendingly.

Want to talk about exploiting others work to make money, how about we start with their factories which they use to exploit other countries’ cheap labor?
dpp is en effort that allows to include C++ headers, also there is ongoing effort to link with C++.

https://github.com/atilaneves/dpp
I was just investigating this when I stumbled upon your post. It seems that the DNS server for the domain has issues.

The maintainer of the site is (was?) Julian Mehnle, his personal website is also down. I've tried emailing him, but his email server seems also unreachable.

Julian has a linkedin profile, but Linkedin won't let me send a message to Julian unless I pay them :(
> Apps that are free to you aren’t charged by Apple.

To publish apps on the App Store you need to cough up 99USD/year[1]. So even if an app is free to consumers, Apple is charging to make it available.

[1]: https://developer.apple.com/programs/how-it-works/
Yes, one common way I've found to view the text is to pay money for the journalists' work.
> ... consensus seems to be that while it is unhealthy to not express anger in any way, it is neither a good thing to give in to anger.

As far as I understand, the best way to deal with anger is never to act on it and distract yourself till it passes.

The thing people talk about as suppressing anger is not actually suppressing. It's more like polishing it, sharpening, watering like a plant, fanning like a flame so it's ready for the time you will act on it. And that's definitely not healthy.

Acting on anger to provide outlet is also bad because it increases probability of getting angry and acting angry in the future.

The best way is actually suppressing anger. Observing, I'm angry. Deciding I'm never gonna act on this anger. So there's no point of holding onto it. Let's do something else till it extinguishes.
Oh me like, it's works with ActivityPub!
A Walkthrough of DVC
Flutter – The New Mobile Promise
The other posters are right about the Microsofty monopoly, but what made it particularly egregious was Microsoft's anti-competitive practices using their market dominance to actively damage or destroy competitors. This included:

* Contractually barring licensees from offering competing OSes, or selling boxes without Windows installed.

* Leveraging their OS dominance to get dominance in other markets such as linking OS licensing with licenses for other software.

* Pinching competitor's technology using their advantages as platform owner and rolling it into their own products (Stac).

There was more, but those were the main ones.
The Predictive Brain
What are the best free Instagram apps?
I should clarify, I don't think there is anything wrong with being paid a lot to do valuable work. I didn't mean it that way when I wrote it, I'm not used to this concept that people that make a lot of money are doing something wrong. Seems like they are doing something that people value a lot.
MIC DROPPPPPPPPPPPPPPPPPP
https://www.usda.gov/oce/reports/energy/2015EnergyBalanceCor...

Corn is generally not transported 1000s of miles. Most ethanol plants source their corn locally. Corn transported long distances is done, but generally not for ethanol plants which are located in small rural towns with a lot of corn farmers around. Even in the case of a local crop failure there is still a lot of corn locally so most of the corn will still be local

Even when corn is transported 1000s of miles (generally for feed purposes, though as above, sometimes there isn't local corn) it is generally transported by train not truck which is much more efficient.
Of course, cyco-punx unite ;)
Xcode is now free: https://itunes.apple.com/gb/app/xcode/id497799835?mt=12 (although you still have to have a mac)
We are interested to solve the reverse problem of finding the mask of text given an image with text on it.
Any ideas? Machine-learnt or otherwise.
Well, there's the fact that laws like this actually have to be created:

https://www.nytimes.com/2018/03/29/well/family/utah-passes-f...
think about it another way: it's blackmail against your employer that is actually initiated by the employer itself. you don't even have to make any threats and it's not illegal!
> And in sales they're crushing competition that have been building cars for literally a hundred years.

I don't think that's a realistic assessment of where Tesla is at as a car company. Tesla is still not very good at the actual making of cars. For example, in the last five years Tesla has had more health and safety violations in their factory than the top ten automakers in the US combined:

https://www.forbes.com/sites/alanohnsman/2019/03/01/tesla-sa...

Tesla cars have among the worst reliability of any car brand:

https://www.consumerreports.org/media-room/press-releases/20...

https://www.truedelta.com/car-reliability-by-brand

Consumer Reports no longer recommends the Model 3 due to its lack of reliability:

https://www.consumerreports.org/car-reliability-owner-satisf...

In 2018, Toyota and Volkswagen each sold over 10 million cars:

https://www.autoblog.com/2019/01/11/vw-group-2018-total-sale...

Whereas Tesla has sold about 550,000 cars in 11 years:

https://en.wikipedia.org/wiki/Tesla,_Inc.#Sales

Volkswagen is starting its push into EVs. They'll be releasing multiple electric models across multiple brands every year from now on. Porsche, Audi, VW, Skoda, and SEAT to start. I'm sure there'll be electric Lamborghinis, Bentleys, and Bugattis eventually (if you're in the market for those):

https://www.reuters.com/article/us-volkswagen-electric-insig...

Volkswagen also wants to license its MEB electric car platform to other manufacturers. They already have one licensee:

https://cleantechnica.com/2019/03/05/volkswagen-wants-to-sha...

I think Tesla's main problems are that they are a small car company with an erratic CEO, inefficient and unreliable manufacturing, and they're about to face a lot of electric car competition from one of the biggest car companies in the world.
People used to and still do waste much more time watching television. Do you feel that we should’ve regulated watching it as well?

Please look to the US drug war to see why throwing people in jail for a problem they have is not the correct solution.
Look for the middle ground. I realized that I want to work on things I like, but I still need to eat, so I've decided to split my time. I want to work at least an hour to something I'm passionate about. That way, even if I spend more of my time working for someone else, I know I still spend some of my time doing something I love.

So follow your passion, but also your survival instinct.
What's really missing in Swift it's all the multithread tools you can have with Rust like channels, MPMC... Anything from the "Fearless Concurrency". Personally I will love to see that happening for Swift to be able to really use it for the backend.
I didn't know the author was Russian, but then I read "the stop light for a rabbit"... That totally gave it away. :-)
So I had posted this earlier but I'll post again with another update. I'm based out of Toronto.

2012 - small business owner - 60k AED / yr (no taxes) - built Wordpress websites in my spare time
2013 - technical cloud marketing intern - 60k / yr CAD - FAANGish company
2013 - contractor - 30k / yr CAD - Engineering consultancy
2014 - Software Dev Fullstack - 22k / yr CAD - early stage startup
2015 - Lead Software Dev Fullstack / Architect + DevOps - 55k / yr CAD - very early stage startup
2015 - Lead Software Dev Fullstack / Architect + DevOps - 60k / yr CAD - very early stage startup
2016 - Software Dev - 60k / yr CAD - medium stage startup
2016 - Techincal Consultant - 90k / yr CAD - small public company
2017 - Software Engineer + DevOps - 99k / yr CAD - medium public company
2018 - Senior Software Engineer + DevOps + SRE - 120k / yr CAD - medium public company
2019 - Senior Software Engineer + DevOps + SRE - 135k / yr CAD - medium public company

I was in the process of getting promoted and getting a higher raise, but stuff (some in my control and some out of) didn't work out. I've been focusing on my life for a bit.
Not to sound insensitive but this sounds like a good trade off. If for say in the US there were no crime, everyone got along, no major arguments... but in turn the suicide rate went up 50% (10 to 15 per 100,000) I wouldn't see this as a net negative.
I think he’s retired now, and only participates occasionally in an advisory role...?
The point I'm trying to make all along is that it is precisely "those details and circumstances of the second crash" (that have emerged over the last few days) that make it so worrisome and warrant a grounding. It is not the fact of a second crash by itself.

The fundamental question is this: should the plane have been grounded immediately after the second crash? Many here seem to think that yes, obviously. I think that no, one unexplained crash of a certified plane does not warrant grounding. Once details and circumstances emerge that are indicative of some fundamental design flaw, or multiple unexplained crashes (as with the comet), of course ground it.

Is that a substantive disagreement, or "pedantry"?
Do you think that "I'll put my nice hat on and guide you to the solution, if I feel like it" is an optimal way to measure "problem solving that needs some algorithms thinking"?
The thread is much more interesting than the initial tweet.

https://threadreaderapp.com/thread/1102401615263223809.html
In my experience, even if you stay frugal, and I did, the main change comes from the job requiring full-time hours (and some weird culture stuff). I worked part-time in college and programming hasn't changed, but then I had daylight hours to walk outside, the freedom to stay home if I felt sick, etc. I started working F/T and almost immediately, the hour+ commute and not seeing daylight in winter rewired my brain. Suddenly, my mornings were spent preparing my lunch so I could go to work, my evenings cooking dinner and recovering from work, and on the weekends, I did everything except talk about work. (In those days my partner was still a student, and it made the contrast greater).

After the first year, my work had become my only source of pride; after the second, I was constantly wondering how to be better at work; three years after that, I engaged in a hobby for the first time in my adult life. It snuck up. I don't like money that much and I never made the conscious decision to prioritize my career; but it ate my life and I doubled down because it was all I had left.

The fact is, for most young adults, jobs pop into their life right on cue to replace the family they're no longer seeing and the dreams that have disappointed them (around 25 where that first crisis hits). If you're 25 and lonely do not go to work happy hours. If you're bored don't take work home. When your boss tells you you're very promising and he can see you grow in this company, tell yourself you're an interesting person who's had a life full of stories that people would love to get to know. The best promises are the ones you make yourself.
Still proprietary though, right? With underlying free libraries and compilers?
DP is a general problem solving approach. It's about recognizing which parts of a naive solution have repetition which can be eliminated to improve the time complexity of the solution. Another poster aptly described it as finding states which can be collapsed into one. However you want to think about it,

- DP is a general problem solving approach

- DP is not limited to any particular implementation detail (like my parent poster attempts with "it's just a simple cache mechanism")

- DP is not a "trick" that you can learn and then solve any DP problem

If we have a DP solution, we can write it in many ways. We can write it top-down with recursion and memoization, or we can write it bottom-up without memoization. Whether we use memoization in our solution or not is a minor implementation detail. Both solutions are DP. Other posters seem to make a distinction between these two solutions as if they are entirely different and as if the recursive solution is not dp - this is also incorrect. The challenge in DP tasks is about improving time complexity by recognizing repeated sub calculations.
I think we also expect editors to be acting in good faith, though. The consensus in this case isn't reached because of an inevitable difference of opinion; one side has been paid to take his position. It's essentially astroturfing.
Then get cancer and die young.
More links/excerpts: https://www.lesswrong.com/posts/wzj6WkudtrXQFqL8e/inverse-p-...
Aside from the other comments, can there be benefit from concentrating that "exhaust" to fewer places?
Waymo maybe but not GM. Also not EVERY autonomous driving expert. Also they're different approaches.
Even the distinction between republic and empire may be incorrect. They called themselves res publica the entire time. I mean, if they’re considering themselves Roman Republicans, how much can we look back and contradict them?
Patterns of Incident Remediation
Diversification. Even if you want stocks, you don't want them all from the same company. It would be better to just stick that money into some S&P500 index fund.
I didn't run on IRC because my GPUs were busy with poetry, FWIW: https://www.gwern.net/RNN-metadata#finetuning-the-gpt-2-smal... https://slatestarcodex.com/2019/03/14/gwerns-ai-generated-po... http://sevensecularsermons.org/on-the-significance-of-gwerns...
Hackerthon Culture in Zimbabwe
Internet Evidence Is the Next Big Thing in EDiscovery