Better HN
topnewbestaskshowjobs
Log inSign up

throwawayjava

2,805 karma · joined May 1, 2017 (9y ago) · 1,488 submissions

Submissions

comment 8y ago · link · parent

I agree that messaging clients should support markdown or maybe some small subset of HTML ;-)

comment 8y ago · link · parent

Which is a kind of silly decision on Google's part, because they have far and away the superior product and also the superior brand. Even if the option was given at setup, nearly everyone choosing to buy an Andriod phone would select google as the default search engine...

(I guess you could say that didn't see this coming, but the parallels with MSFT and IE are pretty hard to not see...)

The fine is going to hurt a lot more than any remedial action.

comment 8y ago · link · parent

What would you do if literally any other employee with a company card did this?

You'd either fire them on the spot. Or, if that's not an option [1], quietly figure out a longer-term strategy for eventually firing them.

Or, if you're a Nice Guy, you'd offer to let them stay on if they return the gratuitous waste of capital and/or pay the company back.

I'll never quite understand why founders are treated as an exceptional case by capital. Especially in hard tech fields like self-driving where the idea is literally obvious to a five-year-old but the execution requires courting `the best humans available.

--

[1] e.g., an engineer with mostly undocumented knowledge of key parts of your software or sales rep with close relationships to a client during a critical time period.

comment 8y ago · link · parent

> What is the lowest price point they can get to for that product? Cause if I can pay a highly reliable driver for less, what's the point?

Let's assume that the technology and mapping becomes a Solved Problem.

Then the competition with humans boils down to the cost of sensors and compute (plus recouping R&D). I expect prices for both of those to plummet whenever self-driving capabilities are clearly demonstrated because the massive anticipated demand will justify huge capex in improving efficient manufacturing of these often bespoke sensors.

The market for computing machines 1950 - 1990 is instructive.

comment 8y ago · link · parent

> you can treat yourself to a $5 coffee every goddamn day (who does that!? even on weekends?!).

It's not a $5 daily coffee, it's 2 or 3 $2 coffees. 2 reasonably priced coffees isn't so insane if your workplace doesn't have a machine and won't let you donate one.

> One final thought: often the people who say this have zero experience with actually living close to the poverty line. A cheap, unhealthy, delicious indulgence on the daily can make living with less feel much more palatable - or at least, suck less hard.

THIS. I spent five years in poverty. Sometimes actually, sometimes just above the line. Always worried about making rent.

Eschewing a twice-weekly visit to the coffee shop is a LOT easier, psychologically, when it's not "my only reprieve from eating shitty food in a shitty apartment and still worrying about how we'll pay the grocery bills and rent".

And I had the benefiting of knowing that the situation was temporary and it could all be over the moment I decided I had had enough. And a great parental safety net that saved me from the credit card debt treadmill more than once. I can't imagine how bleak things are existing like that with no safety and knowing you don't have an out.

comment 8y ago · link · parent

> livestock, lumber

The latter two sound like business uses. The article is about personal use of personal vehicles.

> Kids, gear

Even then, a sedan or utility/mini van can do the job at much lower costs.

> boats, ATVs

Boats and ATVs are also good examples of money pits that prevent people from saving for retirement.

(Especially boats. I looked into buy one, and quickly noticed that I'd have to be on the lake like half of in-season weekends and/or use all my vacation during the summer before ownership beat renting. But I'm only on the lake a few weekends a year, and even then only need/want something other than a kayak maybe every other visit.)

And again, the conclusion of the article is "But if you’re one of the many people who are woefully unprepared for retirement or any of your other saving goals, a good place to start would be cutting back on any unnecessary spending on transportation."

If you're on track to retire, go ahead and buy that nice car/boat/etc. But if not, maybe consider cheaper alternatives.

comment 8y ago · link · parent

> Stop focusing on stuff you disagree with. Tell us why. For example, devops may be BS, but if so, why, and what is the alternative? There are answers.

Also, consider the possibility that you are wrong about the fad being stupid precisely because you've already accepted the fundamental premise behind the koolaid.

The original instantiation of devops is actually the "fad" that made me realize this particular truth. I had only ever worked in situations where all the infra people sling scripting languages along with the best of 'em and the software developers are as comfortable with iptables and apt and load balancers as they are with their editor/ide/compiler of choice.

So to me, devops sounded like a lot of ridiculous hot air -- it's just a new name for how things have always been; how can all these promises about productivity improvement make any sense to anyone?! And besides, the stuff that wasn't obvious was often ridiculous cargo culty stuff.

What I didn't know was the sheer number of shops where the IT people didn't have any programming skills and the programmers had never become competent with CLIs! In many shops, IT folks knew some recipes in the Windows Server GUIs and the devs knew how to use one IDE. When I first encountered a shop like that, I suddenly realized devops isn't hot air, even if for me the core tenets are just a description of how you should obviously do thins and how they've always been done...

comment 8y ago · link · parent

> Maybe I'm just cynical, but I have a tough time believing that the preference for graduates from "top" colleges is entirely because they produce the best results rather than just a way to (necessarily) artificially limit access to a scarce resource.

This is not really relevant. The author of this piece suggests that the path to affordable higher ed in the US is elite institutions doubling their full-rides. But that's a drop in the bucket; "everyone go to an ivy on a full ride" is not a sustainable or realistic way of decreasing the cost of college.

> Just for the sake of round numbers, let's say there are enough quarter-million-dollar-a-year jobs for 1% of the population, but 10% of the population, with a bit of training, could step in and do those jobs.

This is also not a problem. Most people who go to college would be perfectly happy with a stable 80k. Or even 60k. The problem is not that folks can't get 250k. The problem is the massive amount of money they have to spend to get certain jobs that pay those wages, even at lower-tier universities. And more Harvard scholarships aren't going to solve that problem.

comment 8y ago · link · parent

IMO the central thesis is that society should have a negative view of tech companies and tech workers. That's the only thesis that each argument made in the post actually justifies. So if that's not the true thesis, then I guess the article is just a sequence of incoherent and poorly constructed arguments about UBI, education, corporate taxation, etc.

A counter-argument to the "you should hate tech people" thesis might be the pronounced support among tech workers for fixing the problems their industry helps create. The author argues that this is actually yet another reason why we should have a negative view of tech companies and tech workers, because UBI won't work and because we could fix college affordability by forcing Harvard to fund a few more full rides.

comment 8y ago · link · parent

> Education is ripe for disruption. There’s a commonly believed fallacy right now that technology companies, specifically VC-backed technology education companies, are going to disrupt education. That’s bullshit. Instead, Harvard, Yale, MIT, and Stanford are the favorites to disrupt education when they fall under heavy and sustained government pressure over the irrational and immoral hoarding of their mammoth endowments. Harvard claims it could have doubled the size of its freshman class last year with no sacrifice to its educational quality. Good. Do it. More students, paying no tuition, at the best schools will disrupt the system.

Harvard matriculates a teeny, tiny fraction of all university students. Doubling that number is not a solution. Even doubling that number at all ivies and elite universities is not even remotely close to a solution.

UBI may not be the correct solution, but even UBI isn't this out of touch.

comment 8y ago · link · parent

but the easy money didn't persist that entire time. Maybe 20 in total, max. more like 10 most places.

point is, most people funded by gofai money weren't doing agi. they were building pls, dbs, networks, etc.

comment 8y ago · link · parent

> Depends on what you think you're teaching. Are you teaching computer science, or are you teaching software engineering?

Either one. But certainly not "Java Programming".

Good thing, too -- I doubt many of the UT Austin students Dijkstra was teaching back in the day ended their careers still pounding out punch cards...

comment 8y ago · link · parent

> GOFAI was abandoned

GOFAI, as a 10ish year era of easy money for CS research agendas, was a relatively cheap investment and ultimately a tremendous financial, economic, and scientific success. If you're using functional languages, sql databases, or networked computers then you're benefitting from GOFAI. ATM you're using all three.

comment 8y ago · link · parent

Illich's work is interesting. On schooling, medicine, and transportation, I think he gets at a fundamental problem, highlights a great partial solution for part of the population.

But Illich also generalizes too much and has a weird reactionary twist. (It makes perfect sense to me that he was the sort of person who would devote his life to the church but subsequently run into political issues with the church.)

Schooling:

Learning Webs are basically the internet with some tokens for video-conferencing a teacher once in a while. (Proposed in the 70's, no less!)

And it's a great solution for some people in some subjects.

But many students don't have the discipline or need extra hand-holding, and so on in at least one vital subject.

For every student in some subject who learns on their own and whose frustration with the system holds them back, there's at least one student in some subject who just won't learn the material without something resembling a traditional school environment.

And the weird reactionary twist: he sort of harkens back to the good old days while ignoring the fact that we used to just not bother educating most people, and also dismisses anything that's not explicit deschooling.

I remember hearing a recording of him basically telling a teacher that the only way they can truly educate well is by totally giving up on schooling.

I lost a lot of respect for Illich's prescriptions after hearing that, even if I still think he has a great eye for some problems and potential partial solutions. Because I lived in the age of the learning web and could see in my own life that excellent teachers could overcome a lot of the barriers in the system, and there were a lot of things I couldn't learn just from books/websites and friendly folks on IRC and forums.

Also, that poetic tangent at the end of Deschooling always made me cringe.

Medicine:

You could say Illich predicted the opioid epidemic and prescribed lifestyle changes decades before modern medicine caught up, but at the same time if every doctor and medical researcher followed his prescriptions oncology would be stuck in the 70's. And a lot of his work would fit right in among anti-vaccination folks.

I mean, 90% of healthfulness is about lifestyle issues, and medicine in recent history has done a really poor job of stressing that component of treatment. But Illich kind of hard lines about the other 10% in a way that's totally unreasonable.

Transportation: Another great example of a 90% solution that goes off the rails when Illich demands that extra 10%. I'm 100% on board with biking everywhere (and I even do so in the summer, although even then often exceept 15kph). But also, it's nice to travel to different states without going on a months-long pilgrimage...

Illich was very much a brilliant reaction to the more damaging trends that started in the 1950's to 1970's, but he fell in that "extreme ideology" pit that a lot of politics from that era also suffered from.

comment 8y ago · link · parent

>..."not possible to publish medical data in an anonymized fashion that does not infringe privacy rights".

1. Sometimes it is.

2. I already gave substantive reasons why this will commonly occur in environmental medical research -- dense datasets about small populations that capture sensitive information about individuals.

> I do not see how it's takeway from that paper.

Because that's literally the only assumption in the adversarial model other than "access to the published dataset". And correlating with an auxiliary dataset is literally how all actual instantiations of this attack work.

> just sprinkle some private data on it, show it to IRB, they cry out "no, this can't be released, no way!" - and voila, you are safe from review.

1. My proposal doesn't say "IRB happened to say you can't publicly publish this one particular protocol." My proposal says that IRB explicitly judges that no such protocol exists.

2. IRBs are not that arbitrary and are themselves audited.

3. If you're this paranoid about intent, then you can't trust the research anyways. If the research is committing intentional fraud, they could just do it at the data collection step.

The way I see it, either:

A. Even if we can't trust individual scientists, we can more-or-less trust a broad subset of scientists with different and well-aligned motives (as in, a whole group of: the IRB board, the PI, the people reviewing the IRB board) when they say that data can't be shared for privacy reasons; or,

B. We should expect that literally dozens of scientists, all with different motives, will routinely and actively collude to commit wide-spread fraud.

If (A), my approach makes sense. If we max out paranoia and go with (B), then I don't know why we should trust the data regardless of whether it's published publicly...

comment 8y ago · link · parent

> If I weren’t going to have the experience of driving, I would just fly.

I mean, today, ditto. But for like at least 100M of the 300M+ Americans, that's not an option for various reasons...

comment 8y ago · link · parent

Ever drive 8-12 hour days for 2 days straight? Used to do it 4-5, but sometimes up to 10, times per year. I'd pay many thousands for lane-keeping on rural interstates in a heartbeat.

comment 8y ago · link · parent

> It's very hard to believe it is not possible to publish medical data in an anonymized fashion that does not infringe privacy rights

Then you're one of today's lucky 10,000: "Robust De-anonymization of Large Sparse Datasets" http://www.cs.utexas.edu/~shmat/shmat_oak08netflix.pdf

A lot of environmental medical research results in dense and small data instead of sparse and large data, which obviously means it's even easier to de-anonymize.

And the really important take away from the above paper is that you need to know about all the other public data in the universe in order to really ensure anonymity. Even when anonymity seems like it's "obviously" not going to be a problem.

You never know what dataset will be leaked/published tomorrow correlating columns D-F in the spreadsheet you gave EPA to someone's first and last name. So privacy is like computer security: you can never be totally sure. So when the stakes are high you should be extra cautious. And the stakes when sharing medical research are very often high.

> If that's true, how people validate any medical research at all?.. I have very hard time believing that's the only way to do modern medical research known to our civilization.

This isn't exactly a new problem, so scientists have had a little while to figure out how to make peer review work.

You share the data. You share with trusted, relevant third parties who promise to preserve the anonymity of study participants. Just becuase you do not publish possibly de-anonymizable and definitely sensitive medical information on a public website does not mean you don't share the data with interested and relevant third parties.

> But you seem to have arrived to pre-determined conclusion already, and there in fact can be no middle ground that would be acceptable to you, as it seems.

On the contrary, I do literally exactly that in my very first post in this thread: There are some common-sense workarounds. For example, requiring an EPA or third-party audit of the original dataset and analysis. Or simply carving out exceptions for research whenever it can be demonstrated that an IRB (and therefore federal law) would not have allowed the research without restricting public access to data/analysis.

The situation where IRB says "no" to public disclosure should explicitly trigger exemption, with the duty falling back to the agency to prove the IRB was wrong in the first place. The fact that this exemption is not automatic is what makes this a catch-22 that pins researchers in-between their IRB and the EPA administrator in charge of evaluating their exception.

comment 8y ago · link · parent

Consider the following scenario. A chemical X is spilled in river. A sequence of very small towns with similar populations dot the river both up-stream down-stream. This is a dream setting for good science -- a true natural experiment with lots of genetic and environmental similarity between the groups in each small town, but radically different levels of exposure to X. Fast forward 10 years and researchers find that concentrations of X above some threshold N drastically increase the prevalence of birth defects. However, due to the size of the populations, researchers may not be able to publish their data and analysis publicly without de facto publishing almost complete de-anonymizable data.

The scenario is not so hypothetical. The circumstances and particulars change, but this situation describes a lot of medical and environmental research.

Should the EPA take the researcher's word? Maybe not. But there's a lot of workable middle ground in-between "blind trust" and "anyone with access to a library computer and a stats textbook can figure out participant 494 -- who math tells us can only possibly be Johnny D. of Smallsville, VA -- has testicular cancer".

And the situation is even more difficult than this because de-anonymization is an active area of research with some surprisingly powerful results published in recent years; i.e., it is highly non-trivial to determine if a dataset is de-anonymizable. And the answer always depends on what data about a person's identity is publicly available, which especially in the age of annual massive data leaks change from year to year. So even if researchers don't think it's possible to de-anonymize study participants using today's mathematical tools and today's public datasets, they'll often choose to keep the dataset private just in case.

comment 8y ago · link · parent

which de facto excludes 90% of medical research because medical patients have privacy rights and researchers have legal obligations to respect those rights.

These rules are a hot political topic that are years in the making. The people pushing them are not scientists and have never expressed genuine interest in reproducibility outside of this one issue. And scientists who have spent years fighting for reproducibility have publicly stated they oppose this rule. And all the major proponents have strong anti-regulatory preferences.

These rules are not about reproducibility. This rule is an intentionally crafted Catch-22 designed to exclude medical research from consideration so it's easier to justify repealing or not implementing environmental regulations. Otherwise, the rules would find a middle ground; e.g., by allowing the EPA access to relevant scientific data and analysis without risking https://en.wikipedia.org/wiki/De-anonymization by posting sensitive medical information about thousands of patients on the public internet.

comment 8y ago · link · parent

https://www.federalregister.gov/documents/2018/04/30/2018-09...

The proposed regulation provides that, for the science pivotal to its significant regulatory actions, EPA will ensure that the data and models underlying the science is publicly available

The public availability requirement sounds nice on paper, but in practice, it means ignoring a lot of science during rule-making because the original data can't be published due to genuine privacy concerns.

There are some common-sense workarounds. For example, requiring an EPA or third-party audit of the original dataset and analysis. Or simply carving out exceptions for research whenever it can be demonstrated that an IRB (and therefore federal law) would not have allowed the research without restricting public access to data/analysis.

comment 8y ago · link · parent

>>... world leaders shunning science

> what does that have to do with this regulatory proposal?

Article's subtitle is: The agency’s proposed new rule would allow it to ignore the best available science

comment 8y ago · link · parent

Here's the text of the house bill: https://www.congress.gov/bill/115th-congress/house-bill/6227...

Summary:

* It's a 10-year plan

* NIST gets $400M for quantum research

* NSF gets $250M for quantum research and a mandate to establish 5 centers and to establish graduate traineeships in quantum fields. These traineeships are earmarked for US citizens.

* DOE gets $625M and a mandate to create up to 5 research centers, which go up for review after 5 years.

comment 8y ago · link · parent

> It's a what? Can someone ELI5 this for a lowly Python and JS dev - why would I want this?

Nah, but I can ELI a person with some programming experience.

Pattern matching is super useful for writing code that spends a lot of time building and deconstructing syntactic data structures.

Non-linear pattern matching is useful when de-constructing large-ish expressions that might contain multiple occurances of the same sub-term.

Nonfree datatypes allow you to encode some constraints about your datatypes; e.g., "lists that are equal modulo permutation".

Supporting type-checked non-linear matching over nonfree datatypes allows you to encode a lot of constraints in the type system and syntax that would otherwise be encoded with lots of nested if-statements and only checked by tests, not by static type checking.

This combination of features could be very useful when implementing a lot of mathematical code that operates over algebraic structures. Which is why the language's homepage mentions the implementation of (features for) computer algebra systems as a sort of killer app.

> this is not a business pain, this is an academic interest

Not all innovation is motivated by the business pains of today's engineering managers. And often the solutions to those pains are not recognizable; e.g., thousands engineering manager in 1950 could've beneifted from CAD software but I bet very feew were sitting around saying "I could really use a good piece of CAD software right now".

Scala is another good example of that, despite a marketing complaints about messaging. No one asked for FP+OO, but Scala took off because the combination of FP and OO solved a lot of the pain caused by Java.

Substantially improving the ease of implementing new types of computer algebra systems could easily create a lot of business opportunities e.g. in providing improved analysis/synthesis tools for all sorts of CAD tools.

that said, I don't think this language hits the target. See the hodge operator example...

comment 8y ago · link · parent

> If behavioural economists are so good at predicting human behaviour, why aren’t they popular among consumer facing companies?

For the exact same reason that most software companies don't have a Computer Science Ph.D. on staff. Many companies don't need a high-caliber research department.

People who learn and understand how to apply ideas and theories from behavioral economics in biz and econ courses are well-represented in sales and marketing roles. Just like people who learn and understand how to apply ideas and theories from Computer Science in CS courses are well-represented in engineering roles.

> why none of the behaviourial Economists have ever tried starting up?

I'm sure many have lucrative consulting portfolios, but generally speaking: because they already have a pretty cushy and very well-paying job doing what they love.

comment 8y ago · link · parent

> i haven't done any real research

You've seen pictures of the earth from orbit, right?

You probably mean that you haven't engaged in all of the crazy theories and arguments put forth by flat-earthers. But that's doesn't make your very simple observation-based opinion any less justified. Direct observation can and should eliminate the need for lots of hemming and hawing.

> Of course i believe in global warming, though ive never read a single paper / study on it.

There are many accessible descriptions of global warming and the evidence for it written for different levels (uneducated/child; HS-level; university-level).

> Of course i believe in evolution, i went to a school where they told me to believe it.

That sounds like a bad experience, and maybe that explains some flat earthing. When I was in school we were presented with a lot of concrete evidence for the evolution of the species, and Darwin's original was even required reading.

comment 8y ago · link · parent

> Why is CSP so under-utilized?

I think a few reasons:

1. It's not a sufficient replacement for sanitizing input. You need to sanitize; CSP is just an extra layer of protection.

2. relative new.

3. many popular frameworks don't support it out of the box.

comment 8y ago · link · parent

> as well as the sad decline (and preventable) of the American steel industry

I'm not sure where you get both "sad" and "preventable" from that documentary. The tragic decline of employment in the US steel industry was completely unavoidable.

The decline of American steel company's dominance between 1960 and 1980 might've been preventable, but the human carnage wrought by automation would've happened in any case.

Watching the documentary, you can see the coming storm. Every video of people working is a prelude to an industrial automation project. And it's no mistake that the documentary ends with an acknowledgment that today's steel workers operate a keyboard and mouse.

The most important lesson from steel is that competitive pressures + new ways of automating things = huge disruptions in the labor market (read: lots of poverty where once there was wealth).

comment 8y ago · link · parent

The title says "operators", not "operations", which I misread about three times :-(. I.e., there's still a sizable self-driving effort, but they've re-organized the humans doing the actual day-to-day driving of the cars:

> Uber confirmed it laid off about 100 autonomous vehicle operators in Pittsburgh and eliminated the position. The company plans to replace these jobs with about 55 “mission specialists”—specialists who are trained in both on-road and more advanced test-track operations, and who are expected to provide more technical feedback to self-driving car developers. Uber said affected operators could apply for these positions.

comment 8y ago · link · parent

This is true for even very, very simple technology. My favorite example is gunpowder (the smokey kind we don't even use anymore), which requires potassium nitrate, which without modern (c. 19th century) processes you have to a) get lucky and find a cave you can mine/scrape from; or 2) collect manure, pour urine on it for a year, and then scrape off the top and process. It's actually freaking amazing anyone figured out how to do this, even though with hindsight we understand each reaction.
1
181920
50