skysight-inc/HackerNews huggingface dataset:
I write most of my code in Python. I think that's give me a leg to stand on when it comes to discussing OOP.

I find that classes, if nothing else, are a fantastic way to namespace data and methods that operate on said data. For instance, if I have a chair object, I could use a class to describe the chair. I could store the materials it's made out of, the height of the seat, whether it is an office chair, a barstool, or something else. I could also write methods that can say, price the chair based on data about the chair.

In this particular case, I wouldn't subclass the chair at all. There's no point. Every time I need a chair, I would just create a new instance of Chair. That's why chair is an object. It's a self contained thing that I can pass around and pull data out of or mutate.

I don't really use deep inheritance at all in my code. I think the deepest I've ever subclassed something is once. I find inheritance to be useful if I need to be able to create multiple objects that deal with very different things, but perform similar operations on them. A good example of this is Django class based views(it's own controversial topic). I created my own resource class to use for handling API specific requests. The methods of pulling filters out of the query string and serializing database objects are exactly the same for every single request, but the objects that these classes operate on are vastly different. Therefore, I need to specify a serialization schema for each database object type, but I don't necessarily need to rewrite the function that does the serialization. I use my Resource class in order to more easily re-use these generic methods.

Just my two cents.
This is like what Philippe Starck calls 'narcissistic design' - design to impress other designers.
Indeed. A 409A valuation should be being done by an independent auditor at each fundraising step, and most investors will only invest if they know the auditor is independent.
A corollary to your 20-30% "uncertainty discount" is that the expected value of a pre-IPO offer should be higher than an offer from a publicly traded company. It's the same reason that there is an excess return or risk premium (again, in expectation) for investing in stocks over bonds.

This makes some assumptions about risk-aversion and rationality – it's possible that the latter is an optimistic assumption, given the amount of koolaid-drinking inherent in joining startups. But as long as you're telling your friend to discount his startup offers, and articles like this are being written, I think it's logical to think that the pendulum will swing towards mid- and late-stage startups building in such a premium to their offers, especially if they're serious about getting good talent.
Uh.... yes. At least Tcl can; I haven't used expect in years.

The subject is "tcl pipes".
I am 100% with you and thank you very much for your well thought out comments. I did not reply earlier because of end-of-year vacationing.
Panic behaviour is well defined. Segfaults are non-reliable (i.e. it might or might not crash) and often exploitable.
Fifty Years Hence
"Updates to the same basic design would make sense. An all-new design would make sense. Getting out of the Mac Pro game would make sense. Selling 1000-day old pro workstations at the same prices as in 2013 makes no sense. Whatever the explanation is, this situation is an unmitigated disaster."

You know it's bad when even Gruber can't find a way to give Apple the benefit of the doubt.
Whatever the solutions, I'd like to see distributed, decentralized and individual water generation/purification systems, specially using solar.
Aside from businesses, people in HK, Macau and Taiwan are still a sizable market that use Twitter, where it's just behind Instagram in popularity and Sina Weibo isn't a thing there. The Twitter office is based in Hong Kong, just like Google.
Election Hack Report FAQ: What You Need to Know
Does that make up the remaining 24k?
In addition to Dylan, Julia also allows multiple dispatch via generic functions.

I have found this approach to multiple dispatch leads to code that's much easier to reason about and maintain. My use case is a tensor library where the tensors have a single interface but various storage backend types, which 'interact' with each other. It doesn't make sense to define these interactions through methods belonging to only one class or the other.
I have a similar reaction when someone suggests Ayn Rand.
Paper neglects to discuss CLOS approach: generic functions instead of methods, etc.

The claim that classes don't do object creation because some operator like "new" actually does that is jaw-droppingly stupid.
I think the next strongest engine is Zen ( http://senseis.xmp.net/?ZenGoProgram ) which plays at amateur 9 dan level. CrazyStone is strong too.

Strongest open source engine is Pachi, which has achieved an amateur 4 dan ranking on the KGS go server. Fuego is almost as good.
Windows 8/10 has this feature built in. You can do a fresh install that keeps nothing except the drivers, with a minimum of clicks in the UI.
Let's put down some actual numbers here. Too many people get screwed by information assymetry. If you are capable of getting offers at the top public companies, I would not work for a unicorn unless they are offering 500k+ in options (which has expected value similar to 200k-500k of public company RSUs). And to be clear, unicorns actually do sometimes make offers like this.
> I'm working from a tablet these days

How's that going?
Although not my current career, I come from an engineering background. This does not sound all bad.

What I am hearing is that we simply need to build better dams, which can reduce the impact of the deluge while simultaneously improving the availability of water in the region. Depending on the amount of water, we may even be able to use it to irrigate large portions of land, and allow rivers and creeks to flow year round.

Not all irrigation has to be for farming... perhaps we can water our national parks as well. Large lakes evaporate tremendous amounts of water too, further repairing the water cycle as well as being a force of localized cooling.
I take it that since you believe there is no useful work to be done, you also oppose expanding the government and providing new services?

Working women don't need child care, and should in fact be encouraged to stay home to reduce the demand for jobs? Infrastructure is not crumbling and in need of repair? That's what "no useful work" means.
Since a child could easily outperform the best AI here, doesn't it imply we need a different approach?

Otherwise we need 4 orders of magnitude more compute, and it's just hard to believe their is no better way.
The Uber/Airbnb/Dropbox/(Facebook X years before IPO) type company give RSUs. They have the typical 4 year vesting schedule and an IPO condition. If you leave the company before IPO but have stayed long enough to meet the 1yr mark, then you will get that 1yr vested stock units when the IPO occurs.

They are like option grants that last about 7-10 years, that exercise on IPO/acquisition and don't let you exercise before then.

So with these companies, all of the tax complexity goes away, and you don't have the 'if I leave after 2 years, all of my stock options go away after 90 days' dilemmas. You don't have the rich man option of pre-exercising to potentially get some long term capitol gains tax savings although. If the trump administration gets rid of the AMT stock option trap, then you will also not have that advantage with ISO-type stock options.

Since IPO is the realistic condition for these companies, you also will have the 6 month SEC lockup period. The company might add their own additional lockup period afterwards too.

----

The attraction about joining these companies a few years before probable IPO is you have not insignificant potential to increase your income above the average tech worker income level. Facebook is the success example, twitter, fitbit, etc are the not as successful example. You can also get similar effects by joining apple before the iPhone was released or during the early iPhone years.

It's definitely a risk, but isn't as risky as joining a startup where you can't see an IPO in it's future any time soon.
I'm back to 100% assembly for a branch of the military, as a civilian.
I agree with you and disagree with parent.

Remember the original Blackberry 950?

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

It was a 80386 w/ 512KB of SRAM and 4MB of storage, and it ran on a single AA battery for days.

..or a VAX/11?

32-bits in 1997:

https://en.wikipedia.org/wiki/VAX#Processor_architecture
A development paradigm where languages and compilers are one and the same?
Cuomo Proposes Free Tuition at NY State Colleges for Eligible Students
Buy a prepaid vanilla visa. Give credit card info over the phone.

Give regular credit card over the phone.

Buy tickets on craigslist (at least not directly supporting TM)

Go a day early, buy tickets at the venue.

Have friend buy extra tickets at the venue.
"How about moving around some ice bergs to areas in need of fresh water?"

Not easy. This was a problem my high school math tutor, a glaciologist discussed with me one evening doing some applied math. cf https://news.ycombinator.com/item?id=12341964
The meme is becoming lame.

Talentless developers who fight and argue are the only real hazard in the world of programming.

Mature trends and languages have attracted decades of developers good and bad, and because they're widely used, they have the misfortune of also providing a home to the largest corpus of terrible code.

Mark my words: in a generation, functional programming will accumulate just as much garbage, inadequately programmed by just as many careless and/or passive-aggressive developers desperately clinging to their jobs throughout the next wave of whatever becomes the next Steve Ballmer stack ranking code review process.

It doesn't matter how many words or ideas you throw at this circumstance. Terrible developers will still manage to commit garbage.

Life finds a way.
From the title I was hoping to see a farm in a box (shipping container converted to a microfarm/greenhouse with solar panels or something).
This is just shilling for a marketing course, using the same technique (sell vaporware, build it out if there's interest) that it describes at tedious length.
Who's in your Posse?
All quite interesting but the important bit is in the conclusion: "In addition to mechanical and related considerations, the authors’ methods of analysis of sensor data to derive thrusts rests on untenable grounds... Therefore, until more control tests are performed allowing a more accurate method for estimation of thrusts, no faith can be placed in the thrust magnitudes reported in the paper."
I agree. Patronizing a company diametrically opposed to one's interests is terrible. Disproportionately, music lovers seem to be the first to deride TM but defend why they won't use anything else.
2017 Startup Annual Business Plan [Excel Template]
Pretty sure Blackberry use the Apple 'standard' as well.
No. Latest T and X series from Lenovo have them, probably other lines as well.
At the very least 5%/year compound discounting for the illiquidity premium, as well as a steep 20-30%+ discount for uncertainty for actual exit

Yes - VCs use a 30-50% discounting rate on investments during the growth phase, so that's what employees should use. (Whether this is illiquidity or uncertainty is left for the holder)

IMHO - for the companies you've listed, they can actually be higher risk, as the employees will likely have much higher strike prices. If you're already there, you can have a better idea of if you're in the money. ("Mine strike at 20 cents, the last funding round was at a dollar, put in a discount and let's call it 50 cents, leaving me 30 in the money") If you're a later employee, you're more likely to wind up out of the money, and less likely to get a significant stake.
You can apply similar logic to terrorism in general.

1. Western countries are full of soft, populated targets with minimal protection.

2. The world is full of evil people that hate the West and want to see it suffer.

3. Very little has happened.

It's not quite as strong, since 3 is a weaker claim, but the attacks we do see are pretty rare relative to what you'd expect.

In both cases, I think the answer is that #2 is wrong. A lot fewer people are out to get us than we're led to believe.
Everything with a microphone is 3 pole.
> If you are going to get enough out of working for a company then great, go for it. Conversely if your only motivation for working for the company is that they have offered you a lot of shares then you should take a step back and think long and hard about that.

That seems to be a bit of a false dichotomy, though. I'd assume it'd be vanishingly rare to find someone whose only motivation to work for a company is their illiquid equity comp.

I hear a lot of people who suggest that equity in a private company is worth $0, and I even preached that as well, but I think it's counterproductive to do so. Sure, it's difficult to properly value such equity, but I think discounting it down to $0 is nearly as bad as assuming it's worth a lot more than it's possible to be worth.

Let's say that you're lucky enough that comp isn't your #1 motivation for working at a company; maybe it's down at #4 or #5, after working on cool projects, autonomy, working with smart people, etc. Comp is important, but it's not the most important thing. If you're really convinced that a particular private company's options could be worth something someday, and you're able to negotiate a reasonable cash salary, looking at the equity comp as a differentiating factor as compared to another company that has a less attractive equity package is perfectly reasonable. Assuming that the equity packages of both companies is $0 throws away useful information.

I think of the "value it at $0" strategy as a knee-jerk reaction to overzealous fresh college grads thinking a big number of options automatically means they're going to be rich. It's a useful phrase to throw at someone who has limited ability to do a risk assessment, but is a bit patronizing to someone who does.
Nebia is already funded by Y Combinator (S15).
Anyone here used a similar rig for machine learning?
It's a good thing GP didn't imply any such thing, then.
To add to this, I wrote a high a performance packet generator with 100% safe Rust code for a past internship. With the right backend, it could generate line-rate for a 10 Gbit/s NIC.
Have you tried a multi display setup where the other monitors are not 4K? It was awhile ago that I tried it, but I seem to remember running into several show stoppers.
I put down 5% and had to get PMI. But even after that my payments were less than renting an equivalent house. So 20% is definitely not a cut n dry rule.
>A company is actually doing something about bigger issues which could positively affect the lives of many people in a sustainable way ... and we get this.

Except, they're not, and some basic knowledge means their claims don't pass the sniff test. Hence the nalegativity, which seems warranted.
To be more precise than "they don't work because Apple is terrible," the two competing pinout standards are CTIA (previously meaning Cellular Telephone Industries Association) and OMTP (Open Mobile Terminal Platform).

According to Wikipedia, the OMTP devices include:

* old Nokia (and also Lumia starting from the 2nd gen)
* old Samsung (2012 Chromebooks)
* old Sony Ericsson (2010 and 2011 Xperias)
* Sony (PlayStation Vita)
* OnePlus One
* Xbox One controller with head phone jack
* iPhone sold in China

and CTIA devices include:

* Apple
* HTC
* LG
* Blackberry
* latest Nokia (including 1st gen Lumia as well as later models)
* latest Samsung
* Jolla
* Sony (Dualshock 4)
* Microsoft (including Surface and Xbox One controller with chat adapter)
* most Android phones

https://en.wikipedia.org/wiki/Phone_connector_(audio)#TRRS_s...

I haven't personally tested most of those, but IIRC when I had a Surface Pro the iPhone TRRS earbuds worked fine with it.
Of course - it's a matter of seniority, outstanding shares (the denominator) and how much cash they're planning on paying. 500K+ in options could carry a value of 200K, which is equivalent to 50K per year which you may (or may not!) give up in salary.
Shell Game: Canadas Lax Disclosure Laws Open Door to Tax Fraud, Money Laundering
so, the argument is it's harmful because it's a premature optimization? the evidence being simply alternatives to classes?
It seems like the paper doesn't present a good case for why classes are harmful. Seems the whole premise if flawed based on a glib quote from Knuth

Premature optimization ( if that is what classes are ) doesn't mean the optimization is harmful. It could actually be really good.

The quote means, when you find some evil, and track it back, you'd find premature optimization. You can also find awesome code, track it back, and also find premature optimization.

So, you need to prove classes are evil, and then track it back to premature optimization. This paper fails to do that and therefore fails to make the case for harm
Google Domestic Trends
Xvg: debug SVG paths in the browser
100+ 120,000 sq km areas, huh? You visit 12 million sq km of land on a regular basis?

Yes, Google can't provide offline maps in some countries. This is true of all mapping applications, though some have better offline coverage than others, nobody has everywhere. For example HERE does not offer offline maps in Japan or South Korea.
This doesn't make sense. You're already paying for the content, but sometimes the DRM makes it unwatchable for your platform so you torrent. Oddly enough it seems to me like Netflix et al. have no incentive to cater to you, because you've remained a customer in spite of the DRM. Netflix has an incentive to fix the reasons why customers canceled or decided not to sign up, not necessarily the reasons why people are unhappy but still pay for Netflix.

I'm sure someone will reply saying they canceled because of DRM - I'm just pointing this out for the parent post.
Transfer function complex visualization
What about buying rights to the liveatream and setting up a huge movie screen and sound system. Sell tickets to the live rebroadcasting venue.
A logical follow-on from my post recently: https://news.ycombinator.com/item?id=13298820
I don't remember how many there were for AVX, but let's say there are 8 512-bit registers (4 KiB)? and then equivalent in other kinds of registers, so 8 KiB. Just an order-of-magnitude estimate, nothing I expect to be too accurate.
Seems similar to http://getzazu.tumblr.com/post/664279182/our-story ?
On Emotionally Intelligent Machines
And in a similar vein: https://news.ycombinator.com/item?id=13314967
A Retron-5-like game console for playing physical Atari 2600, Colecovision and Intellivision cartridges based on a ROM-dumper I wrote: https://github.com/drzaiusx11/WiringVCS
Winston Churchill's 1932 Predictions for 50 Years Hence
I was kind of dreading it'd be another tired rehash of attacking straw men from someone who thinks having used Java or C++ makes them expert on OOP.

It squarely looks like that to me. I'm not fooled by the transparent ruse of dropping a few names like Smalltalk to appear informed.
PA Semi was developing workstation/server class POWER processors before they were purchased by Apple.
Be convince about automated conversational interfaces! They are not the miracle that AI would be, but they exist and 3-4x the results of webforms.... Once the conversation starts. Here is another case study I wrote about from the election. http://bit.ly/2fPwwSz

The top comment on this post is the same topic, worth checking out. Thanks for the bookmark.
The "boringification" of computers will bring us back to the 70s.

If we have to prove _everything_ on your computer, from your calculator or Pokemon, how much do you think a license of windows will cost? $250,000?

Linux/FreeBSD/OpenBSD/Minix will be dead (no one to sponsor certification and then put it in the public).

Crazy "best-practices" (change passwords every couple days, password must include symbols, letters, numbers, upper-case and lower-case in a random order, but be no shorter or longer than eight characters)

Must have a full team of lawyers to prove that everything done fit the letter of the law, and that any hacks are not your responsibility

"Shinyness" is what allows you to have free VSCode and Atom.

Sure, I miss the 70s when you could get a text editor measured in bytes (but, btw, electron is probably more secure than 70s unix) but I definitely like the cost/convenience of modern software.
Is sugar the new smoking?
> On the other hand, as another poster pointed out, we really don't need all that much more performance, as most of the performance of current chips isn't actually put to good use, but instead squandered

The real benefit, in my view, is to emulation. It's extremely CPU intensive. And the more accurate you want the emulation, the more the resource demands go up. Today's CPUs are only just powerful enough for very good reproduction of a poorly optimized 16-bit gaming system emulator, or a greatly optimized 32-bit system emulator. But for PS2 and beyond, we don't have the power for highly accurate simulation yet.

It's also nice for "wasting" power by writing in higher-level abstractions that are not as efficient, but are safer and easier to understand (think always bounds-checking a vector, instead of dropping down to raw pointer arithmetic.) Something that applies to all application development, including for emulators.
Just yesterday I had posted a similar thread where an AV was MITMing traffic between the browser https://news.ycombinator.com/item?id=13307096. I'm still curious why this practice is allowed and these CAs are still trusted by browsers and such.
This might be a cool project to build at Seeed. I think they could populate a board with sockets, SMD resistors, jacks and switches, leaving just the chip insertion for the end-user.

Caveat: I've only ever had them build an unpopulated through-hole board for my one hardware project.
A better analogy would be crops and the dangers of a mono culture. A class break is akin to a disease that an entire crop is susceptible to. See, e.g., the bole weavil. Or the reason the current popular banana is at risk.
That's a good distinction to draw, thanks.
Learn Computer Science
AirBar – Get touch functionality on your PC
> Since I don't live in NYC, I don't want to give my CC number to some random theater employee over the phone

I seriously wonder why people are so paranoid about their CCs. Most cards have really good fraud protection with pretty much zero liability, and there's also the option of a virtual CC. E.g. some banks like Citicards allow you to generate a temporary CC number with a very low limit, and then you can safely give that number to any merchant over the phone or internet.
HN thread covering the Pentagon video:

"Pentagon Video Warns of Unavoidable Dystopian Future for World's Biggest Cities"

https://news.ycombinator.com/item?id=12721423
Nope. You can use a stock LLVM if you want. Some tests might fail, since patches might not be in upstream yet.

It's not really something to resolve; it's just the usual situation with a big dependency.
Given current software and hardware constraints, the sweet spot for a laptop is about 200 ppi.

There’s no reason to put a 300 ppi display on a laptop, unless you’re expecting users with perfect vision to hold the laptop <12 inches from their faces. Which, frankly, nobody should ever do for any length of time.

If GPU, display cost, battery life, etc. (not to mention software support) were no object, I’d love to have arbitrarily pixel-dense displays that I could look at perfectly sharply under a magnifying glass. But in the world we live in, it’s a very poor choice of trade-off.