skysight-inc/HackerNews huggingface dataset:
You are assuming that your usage of isReady will be flawless every time. What if you call a function updateUser("username", isReady()) but it turned out you remembered the order of arguments wrongly. Then the type checker will tell you as you can't pass a bool to a string argument and vice versa. This type of error is super common in %-string formatting.

It won't help if all the arguments have the same type unfortunally but at least it catches something. Just like unit tests, they won't catch everything so the more checks we have and the earlier we run them the less risk there is something slips through to production.
RChain
> WSJ ... editorials

Twice I conducted a study: I collected everything on their op-ed page over a week or two and coded them for their political stance. I think there were a couple pro-Democratic/liberal pieces out of over a hundred, and a few criticized the Republicans;[0] all the rest were pro-GOP/conservative or anti-liberal/Dem (plus a few that were apolitical). (And if you think the NY Times is the same, you're wrong: Ross Douthat, Bret Stephens (former WSJ editorial page editor) and David Brooks are all conservatives, and maybe others are too.) I encourage anyone to do the same; I feel I can almost guarantee results ever over a small sample like a day.

My conclusion: WSJ op-eds and editorials are partisan mouthpieces for the Republican Party and conservatives. I don't know how Tesla fits into that, but that's their motive. Denying climate change and demonizing any attempt at a solution? Supporting big oil? Musk pulling away from Trump? Others might have a better guess than I do.

[0] Criticizing Republicans is not necessarily pro-Democratic. For example, an editorial could criticize the Republicans for not cutting taxes enough.
I’m trying to understand what you’re going after here. AAPL has a fairly substantial dividend (it was the biggest in the world last year[0], and continues to be fairly substantial given the share price).

If you’re talking about AMZN then it makes sense as they buy up more verticals, reinvesting any profits to growth.

In either case the two companies are at different phases of their cycle. Apple is in the stable dividend mode while Amazon is still growing. Either could choose to change that, of course, but shareholders have expectations and to some extent both organizations are up to the whims of shareholder voting.

[0] https://www.google.com/amp/s/www.cnbc.com/amp/2017/05/02/app...
C# `var` variables are statically-typed, not dynamically.

Not having to write down the type isn't the same as the type not being determined at compile time, which is what "static" means.
I've seen that too, but I think that measurement is probably just garbage. Either the garbage collector worked during that period, or the whole PC had something else to do. It's just way too far off to make sense.
how on earth does copy/paste work from inside a video?

i'm way more confused than disappointed and wonder how easy it would be to rip this for use in a non-public environment?
Would not the 'independent hacker culture' be to found its own, independent ISP?
I'm not quite sure there's any metric you could use to declare Liar Liar a "total flop", but sure.
This is why context is important.

The traditional definition of a personal computer has changed from Bulky PC to tablets or phones, which for most is more than good enough for their daily use case. Since tablets and phones have built in 4g connectivity and the device is mobile in nature, it makes sense for those users to user 4g internet for their mobile devices.

So to put things in context. People are not moving to wireless in droves because there is something wrong with wired services. They are moving almost at the same rate as people are ditching traditional PC for Mobile devices.

Gaming, Video Streaming is a huge market. Unless telco is giving out unlimited data at a cheaper rate and not charging per device with low latency + mobile devices having large battery time while playing games and watching Netflix or youtube, I don't see it as a concern for wired internet.

Those droves of people moving to 4g and ditching wired will remain a niche market. Because it doesn't make any practical or economic sense.
Do markets for art work in the same way as markets for talent in film? To what extent does success in mass media illustration correspond to success in selling singular art objects?
They got massive points for not being African. They were included --- belatedly --- in the definition of "white" precisely so they could join other European Americans in solidarity against Africans. "No positive points for Irish for not being black" is a crazy, ahistorical thing to say. When I was born, in the 1970s, there wasn't a neighborhood in Chicago my Irish family couldn't have gotten a mortgage in. African Americans couldn't say that!
And calculators...?
Agriculture Insurance Company Limited Result of Administrative Officer
Why do you feel type annotations in comments are not maintainable?

The type checker obviously has to be run in continuous integration so it's not like the annotations are going to get outdated just because they are in comments. (Actually you shouldn't see them as comments, they are as much code as the rest of your code)
C, C++, and Java are incredibly popular too.
I have no basis to disagree, but I'd love a source.

The documentation right now [0] is pretty light on how this works. I watched the IO presentation[1] on App Actions and it was also unclear.

While semantic intents exist locally, it is unclear where Google maps from a user action back to that semantic intent, and many of their examples involve online google services (like Google Search and Google Assistant). They also say the intent must be registered in a Google database.

Look at the slide within the video at 23:30 specifically.

[0] https://developer.android.com/guide/actions/

[1] https://www.youtube.com/watch?v=lu3L6DxUBRA
I want to bring up a slightly different perspective, as an employee of a relatively large corporation -- not a startup.

I'll preface by stating that my manager is fantastic. Within our team, we have the capability of collaborating and making decisions amongst ourselves without fear of reprimand from the higher-ups (in effect, shielded by our manager). We don't hold standups. We don't have weekly team meetings. There is no mention of "scrum" or "agile" or "standup" or any management buzzwords. Yet, our domain is relatively complex.

Business-centric managers (project managers in particular) have no insight into our day-to-day work partly because of the involved complexity -- we rely on involved mathematics and algorithms to do our job. There is no need for PMs to dig deeper to break things out since we always go above and beyond the plain corporate expectations. This is while my manager (previously individual contributor in a similar space for 20+ years) has never given me a direct order on what to work on.

We make decisions based on the team's own best judgments and then act on them to deliver great products. Business guidance (context) is given to us as a team by this fantastic manager, based on his input, derived from the countless meetings he attends on the team's behalf. But we have the final say as to what is important to deliver after informal discussions explaining context -- never in the setting of a meeting: just conversations.

This sense of belonging that I feel with my team and the organization goes hand in hand with full autonomy over my work and believing in what we are doing: to deliver the best products we can for the customers.

I can't speak for the rest of my team, but I feel this dedication. For me, this is because of two things: a belief that we (within our space, greater than just the team I am a part of) are the best at what we do, and that I feel as though I have the autonomy to act in the way that I believe is best.

To address some of the other commenters: sure, it is likely that my contributions affect the company's profits by more than a full order of magnitude, compared to my salary. But I'm happy here in my autonomy, able to live comfortably, and I am able to make a difference based on my own judgment.

To me, this is the most important thing for me to keep living happily within my "cult".
Yeah, 302M box office vs. 45M budget hardly seems like a flop
The past is all around us. There's a state park[1] I run in many weekends. It has seperate north and south entrances that are about a 15 minute drive apart, with no road between them within the park. I was curious why the park was built this way. It turns out the park was literally segregated till the early sixties and the north side of the park was for the white folks and the south side of the park for black folks.

[1] https://en.wikipedia.org/wiki/William_B._Umstead_State_Park
I mentioned it in the comments of a post the other day, but the English Speaking World can at least trace this kind of thinking back to Thomas Cranmer and the Articles of Religion of the Church of England--in particular, Article XIV. Of Works of Supererogation.[1] Given the Non-Conformist origins of the Colonies (people who immigrated to get away from the Church of England in part) I have to wonder if the whole "American Dream" and its fetishization of work for work's sake (or even, as an Artist myself, Art for Art's sake) is a reaction against this. The accusations of "Amotivational Syndrome" so often levied against Cannabis use seems related too; there is nothing wrong with being content with less and, at least in my mind, it sets a good example to be satisfied with less. Less is more.

[1] http://anglicansonline.org/basics/thirty-nine_articles.html

Voluntary Works besides, over and above, God's Commandments, which they call Works of Supererogation, cannot be taught without arrogancy and impiety: for by them men do declare, that they do not only render unto God as much as they are bound to do, but that they do more for his sake, than of bounden duty is required: whereas Christ saith plainly When ye have done all that are commanded to you, say, We are unprofitable servants.
Hacker access critical code of British cell operator EE
My brain did it as ascii-cinema, which may be non-standard.
Save the nuclear power plants that generate 50% of America’s clean electricity
I thought one of the other problems was the safety (or lack thereof) of actually transporting all that waste, rather than leaving it on site, initially in pools but eventually in casks.

At least in the US, the rail crash safety record is sufficiently poor for something this hazardous, and I think it's fairly well known how risky highways are.

This is mentioned in the Wikipedia article, I don't now what the current risk estimate is.

Suffice it to say, I disagree that there's anything trivial about a fix, be it dumping underground or reprocessing.

I also disagree that there's some kind of looming, impending disaster brewing in on-site waste storage. My understanding was that waste stored in pools has to be there because it still produces significant heat, so taking out that waste and dumping it underground isn't even an option. Only waste that no longer requires cooling can be moved underground.
Amazon is useful and makes good margins on economical services, where Apple basically defines middle class identity.

Where Amazon is something you use, Apple makes something you identify as part of your personal story. Instagram has a similar play, where it is a platform for democratized celebrity, people "become," Instagram famous. Facebook is more of an individual signalling tool for people who have already won, or who just don't understand the game. To me FBs long game looks like a dystopian malignant Equifax.

Oddly, Reddit has Instagram level upside if only they could hire someone with vision, and build an org that could execute on it instead of handwringing about solving political problems.

Apple is a gatekeeper to aspiration, and the demand characteristics of that are unlimited. The stat in the article does not surprise me at all.
Also, a lot of profitability is in Apple's high margins. If that ceases to be a sustainable model....
Super Hammer Iron Hero: Crime City
We well come you all to a brand new series of Super Hammer Iron Hero: Crime City. A game with the brand new concept of multi Hero combination and a brand new enemies as Futuristic Robots &Monsters
Tyler Cowen may be the best interviewer on any podcast. He digs deep into each guest's corpus of work, and finds an interesting lens to frame their work for the conversation. I can't recommend his podcast highly enough.
While I am definitely fond of the HP-35 in a nostalgic sense, my real-life working calculator was the HP-48GX when I became a land surveyor. I added a COGO card that would calculate pavement design, storm water pipe modelling, and the area of a polygon after the coordinates of each point were given. And away I went. There wasn't much I couldn't do with that, graphing or calc-wise. Made my job so much easier in the field.

When they killed the HP-48GX, and replaced it with inferior models, it was a dark day in land surveying.
I bought a HP-42S in West Germany in 1989, my first trip to the West when I was 14 (I was Hungarian at the time, now that's fixed, I am Canadian). Oh the memories.

Later, 1995, I got a HP 48G via Usenet (eBay opened the month when it arrived from the USA so it's not like I could've bought it there). A friend of mine have soldered four 128K SRAMs in there, stacked, with most legs just ran together vertically with the few data legs separated. Dave Arnett himself told us it's possible to change a G into a GX... https://groups.google.com/d/msg/comp.sys.hp48/CS0lTpKkBHw/vn...

I still have it although I do not use it, it's one of the very few things I carried over when I immigrated.

Ps. Isn't the Internet fantastic? The easy communication with people you'd never be able to connect with otherwise and the astonishing archives allowing me to dig this 23 year old conversation up with ease.
You are correct if you believe the term "adjacent market" represents an actual thing.

If you do not believe it is an actual thing, then an adjacent market is no more real than a map is real. An adjacent market is merely just a mental aid, it is not somewhere you or I can schedule a visit to.

At the end of the day, a hypothetical Apple monopoly in the "smartphone market" would mean consumers would have less money to spend on other things like google search (to use your example), apps & games, Netflix subscriptions, etc all of which exist in "adjacent markets".

My gripe is that the use of jargon here is very misleading as it has lead you and others to conclude that there is a dichotomy -- between a market and its adjacent(s), where none exists in the real world where all of this matters.
I highly recommend anyone to convert to RPN but it does make you feel like a idiot when you can't use a normal calculator for the minute it takes to switch back over to normal. I find it doubly frustrating though to use a normal one because I know now the forbidden fruit of how calculators can be improved and college sometimes prevents me from using it.
You're the type of guy that looks for loopholes in board game rules and then acts all whiny when people call you an asshole for it. You're the type of the guy to start arguing semantics in the middle of a friendly debate at the pub and just keep going when everyone else stopped caring thirty minutes ago. You are, undoubtedly, a Reaganomics apologist. C'mon, dude.
Alexa and Siri can hear this hidden command. You can't
That sounds a bit challenging:

They'd still need to pay the corporate ISPs to carry or to not completely deprioritize traffic from hackerISP, or else nobody else could reach the hackers' great websites, services, ideas, etc. If hackerISP carried things the corporates didn't like, they could still throttle or kill access to it or to individual domains, protocols, etc.

And how will hackerISP pay for nationwide infrastructure? That's going to need a pretty wealthy independent hacker. Maybe if Linus, Woz, Paul Allen (is he a hacker?), and a few others committed their fortunes to it, they could buy and deploy the fiber and the hardware ... but then there are operations, maintenance, upgrades ...
Android is like a run away island of Dr. Moreau. I can't understand why it hasn't imploded yet.

My 6 year old lumias still have better power usage than the latest Samsungs. No cloud AI necessary.
Ask HN: How do you define technology?
Walmart is into quite a bit more than you realize.
East of Eden.
Timshel — ‘Thou mayest’
I agree. On the other hand you have artists being paid in company stock which they decide not to sell[1]. Hindsight is 20/20.

[1] https://en.wikipedia.org/wiki/David_Choe
Scrolling is mostly broken on mobile safari.
So then you agree I'm regulating my fingers.
DesOps: Translating Value at Different Stages of Design with Minimal Waste
The Dude abides.
The HP-48Gx models always had interesting cards and mods.
There are certain revenue expectations in mind for any project. Any time something is wildly successful beyond that, I think everyone that made it deserves to split at least a few percent of the income.
The Ten Practices of DesOps/DesignOps [pdf]
Economies. Of. Scale.
Too bad. I thought this product looked really great, but I didn't have a reason to use it.
Apple doesn’t spend to increase market share. It spends to increase profit. People have a hard time understanding this.
BATS OR MONKEYS ARE Not RESPONSIBLE FOR AIDS AND EBOLA
The nature of employment is that we produce works for hire. I don't see any exploitation here.

Do album cover artists ever get windfalls from successful? Unlikely I think, unless of course they were well known artists who insisted on royalties.

The album would have been similarly successful with any cover or no cover.
That's quite clearly not the only reason (and I'm be surprised if it was the majority reason in Europe) that people object to "career" politicians.

The other, reason I've heard is that people who have not worked in industry (at any level) do not have real world experience required to guide policy effectively, and means they are out of touch with voters in general.
never seen it before, never heard it before. I'm pretty sure that their case is as solid as the cult status they claim this pice has.
We may be talking about different times.

https://en.wikipedia.org/wiki/Philadelphia_nativist_riots

https://en.wikipedia.org/wiki/Anti-Irish_sentiment

https://www.history.com/news/when-america-despised-the-irish...

I find nothing ahistorical about what I said.

If you go further back and see what Cromwell and others did to the Irish (the first British colonization was in Ireland), and then extend that to the US, where that kind of hatred was shared by Nativists, it is certainly not inaccurate, even if the discrimination is of a different from than what Africans faced.

I dislike the notion that because people aren't African they weren't victims, too, which gets bandied around a lot. We all have tragedies and I see no reason to ignore the plight of one to make the point about another (which the parent post does, wrongly).
My personal experience shows that you need many separate codebases to achieve 30m LOC, in other words many small projects of the 10.000 LOC code limit.

Do you work this way?
Thanks for pointing out a mistake on reduce, I missed that.

The data collected is not on running it once, the results are avg. of running same code at least 15 times.
> no cop outs with "I use {bolt-on sub-language that makes parent language more concise}" (that's not a mainstream language then)

Why is "I use {bolt-on} that makes {parent language} more concise" a cop out? The bolt-on could be a macro language or an IDE that does collapsing of common patterns. If it makes it easier to find a bug in a 100-line function in the parent language, or to not generate those bugs in the first place, then the {bolt-on} isn't a cop out.
Very good post-mortem but left me with questions:

1. Raised $2.9m, 4 employees, 5 years. Let's say 2/3 of overhead was salary, which seems reasonable. So that's 500k each, or 100k/yr. This seems excessive? Were the founders paying themselves too much? Or where did the money go?

2. Difficulty in hiring. This seems very much attributable with the company's proximity to the SF black hole. Was relocation never even considered? And why was remote not considered? I would have liked to hear the reasons for those decisions.

All the points about potential recruits demanding "sexy" jobs or wanting to see high growth and large rounds seem pretty much exclusively SF problems. It seems like moving literally anywhere else would have solved this.

3. What is the actual reason for closing down? Out of money, or out of confidence? If my salary numbers above are wrong - and I should hope they are - maybe they still have a mil or so left, which seems like enough runway to take a stab at least some of the problems.

There were two seemingly contradictory considerations: lack of ability to iterate fast enough, and a realisation that the product was not viable. I would have liked to hear more about this too - iterating faster on the wrong thing would not have helped.

4. I know it's too late but even as an IT type when I look at the landing page I have very little idea what the product even does. A lot of features and use cases listed but what is the product and how does it solve any problem? There's a single screenshot four page heights down which looks like some kind of spreadsheet. It's not nearly enough.

Still, an honest, insightful and heartfelt piece and I wish the team good luck.
The largest change is ownership semantics. If you can learn or have learned ownership semantics in such a way that ties that abstract concept to concrete real life examples, most of your work will be done.

Modern day C++ has two ways to do most of the things you want to do: The C way, and the C++ way. eg, c array[] vs std::array<>, or char* vs std::string and the like. However, original C++ without C is still there and not updated. Eg, inheritance is a C++98 feature, not a C feature, so there is only one way to do inheritance for the most part.

It takes little time to identify what features are C features and what features are C++ features. From there you'll know when to look up alternatives and when not to, giving you an easy upgrade map.

Also, some C features are more powerful, so it is a matter of choosing the right tool for the job. For example, looping through a data structure and adding elements. Doing so invalidates iterators, but works will with an index, so it might be ideal to use the old C way in situations like that. This also adds explicitness to code. If you're working in a modern code base and in the rare spots where the C way is done, you can get an idea why and from that what the code is doing without having to read all of it. This makes reading code easier once both C and modern C++ have been learned.
That's certainly true. The only reason to play these games is that JavaScript gives you no better option.
So her whole career is based off of playing different people against each other and pandering to whomever holds the most power?

I don't think it's any better than an American politician but still a far cry from those who felt that politicians should serve their communities for a few years and then go back to an actual career.
And after that the copyright transfer was inserted into contracts.
I couldn't imagine getting so caught up in one piece of work. I'd like to imagine I would have just immediately turned around and told everyone I was the guy who made the cover for Aqualung and focus my energy on the next project.

Also, it's very presumptive to assume I deserve a cut of your project just because it is successful. Not only do I claim my artwork had something to do with it (I doubt many people cared much about the album cover), but I can't give you one price and then extort you later because you actually have money now.
Apple hit with class action suit over MacBook, MacBook Pro butterfly keyboard