{"text": "\n\nThe most extensive Commodore 64-versus-iPhone 3G S comparison so far. - technologizer\nhttp://technologizer.com/2009/06/21/commodore-vs-iphone/\n\n======\ndejb\nUser programmable?\n\n \n \n Commodore 64 - Yes. Ships with Basic.\n iPhone - Not available\n\n------\nnoonespecial\nCan release apps without permission from on high?\n\n------\npmjordan\n\n Total applications available: C64: 10,000; iPhone: 50,000\n \n\nWow, goes to show how niche the industry was back then if the 27-year-old\ndevice has 1/5 the software of the newcomer. I suppose barrier to entry on\ncommercial distribution was higher for the C64.\n\n------\nrw\n> Commodore 64 compatibility? > C64: 100% > iPhone: Sigh\n\n"} {"text": "\nTemperatures in France cross 45\u00b0C threshold for first time since records began - reddotX\nhttps://www.euronews.com/2019/06/28/france-records-highest-temperature-since-records-began-at-44-3-celsius-meteo-france\n======\ntomhoward\nI'm an Australian taking a short European getaway. We're currently in northern\nItaly - Veneto region.\n\nHoly crap it's hot.\n\nHigh 30s every day, and perhaps because the towns consist of stone streets and\nbuildings, and perhaps because there's not much wind, but it feels much hotter\nthan the equivalent temperatures we're used to in summer at home. (Edit:\nOthers have pointed out humidity would be a factor too - perhaps the biggest.\nThat may be the case, though at around 50%, it's not as humid as I've\nexperienced elsewhere, including in Australia at times.)\n\nWe're heading to southern France next week, and the forecasts suggest the heat\nwave will still be in force then.\n\nI mean, no complaints, we're feeling lucky to be here and are still having a\ngreat time, but boy, this is not what you expect in Europe.\n\n~~~\nTade0\nFor such weather I recommend Trento. Even though the temperature is the same\nas everywhere, the city itself is filled with greenery - I was there last week\nand comparing to e.g. Bologna it was much more bearable.\n\nAlso if you disregard the signs while climbing to Cesare Battisti's monument\nand go through the tunnel meant for cars(which are allowed only at certain\nhours) you'll experience a few minutes of much needed cooling.\n\n~~~\npoint78\nLooks like trento is much much cooler than bolzano even tho bolzano is further\nnorth, (bolzano 40s in July, trento high 20s) is that true every year?\n\n~~~\nidiocratic\nYes. Bolzano is curiously one of the hottest cities in Italy during the\nsummer.\n\n------\nfillskills\nClimate fluctuations are becoming more and more of an emergency. I was at a\nfarmer conference and the main speaker spoke about how bad it is for them.\nLots of crops are dying. Some GMO crops customized for this climate are able\nto survive if they are timed to perfection. We should be very worried about\nour food sources\n\n~~~\nbit_logic\nThis is the part of climate change that the media has really failed to talk\nabout. It's always about sea level rise, but that doesn't make most people\nworry enough (just move or build levees). The real impact is that the climate\nwill change everywhere. Good farmland will become bad. Areas with bad farmland\nwill become good. And it's not easy to just shift the agriculture industry\nfrom one place to the other, and there's no control over where this happens.\nAlso climate change doesn't care about borders. A country that has a lot of\nfood production could suddenly have almost nothing. And even if a country is\nlucky and suddenly has good farmland, it's still a food crisis until that\ncountry can get their agriculture industry up and running.\n\n~~~\njay_kyburz\nIf I were a large investor, I would put some money into working out how to\nfarm food inside.\n\nNot just a glass house, but an air tight box, with a complete ecosystem\ninside.\n\nFrom the fungus in the soil, to bees for pollination. We need to understand\nhow it works and how to manage it.\n\n~~~\npertymcpert\nUhm. You will need to input some carbon into the system because otherwise the\nplants won't be able to obtain raw materials to grow and actually produce\nfood.\n\n~~~\nchronolitus\n[http://www.pickchur.com/2013/02/53-years-old-sealed-\nbottle-g...](http://www.pickchur.com/2013/02/53-years-old-sealed-bottle-\ngarden/)\n\n~~~\npertymcpert\nRight, so?\n\nWhere did the plants get the carbon from to build their organic structures?\n\n~~~\njay_kyburz\nI imagine that in some distant future we are going to have to have near\nperfect recycling. Human waste, and even our bodies will have to go back into\nthese closed ecosystems.\n\nI wonder if the energy from the sun is enough external input to sustain human\nlife.\n\n~~~\nchronolitus\nIt's certainly possible, since earth doesn't need much external input other\nfrom sunlight to sustain life.\n\nThe question is, how scaled-down a self-sustaining ecosystem can we create and\nmanage, which is capable of sustaining human life?\n\n------\nakgerber\nI spent summer 2018 biking across Europe & everywhere I went, from Spain to\nScotland, was much hotter than the climate data I looked up on Wikipedia\nprepared me for. It definitely felt like the climate had tangibly changed\u2014\nespecially if the same thing seems to be repeating this year.\n\nI guess everyone in Europe will be moving towards installing air conditioners,\nand they'll need to add peaker plants to power them on hot summer afternoons.\nHopefully solar & storage will be cheap enough that it isn't too bad for the\nclimate.\n\n~~~\njacquesm\nThe cruel bit here is that installing air conditioners substantially increases\nthe per-capita carbon footprint which in turn will lead to a further\ngreenhouse effect. It's a positive feedback loop with many components.\n\n~~~\nVBprogrammer\nI hope that Europe doesn't ever reach the same level of insanity with regards\nto air-conditioning that you see in, for example, Florida. The last time I\nvisited (admittedly 20 years ago) I remember having to walk outside of\nshopping malls / supermarkets for a few minutes to warm up, having been\nsubjected to the frigid level of AC inside.\n\n~~~\nwar1025\nI think a big part of the \"all kids do is play inside\" thing people like to\ncomplain about has to do with everyone having their AC on all the time. If its\nhot inside and hot outside, you go play outside. If its hot outside and cool\ninside, you sit on your ass and look at a screen.\n\n------\nwongarsu\n45\u00b0C in the desert or in the arid climate of the middle east is very bearable.\n45\u00b0C in Europe is so terrible because of our high humidity. The more humid it\nis the less effective sweating is, and when the outside temperature is above\n~37\u00b0C sweat is the only way we can cool our body to stay alive.\n\n~~~\ndjd20\nHaving lived in Dubai for the last 6 years - believe me there is nothing dry\nabout the summer heat here. 45c and over 90% humidity regularly.\n\n~~~\nFilligree\nThat would imply a wet-bulb temperature of over 40 C, which shouldn't be\nsurvivable. Does everyone spend all their time indoors? What if there's a\npower outage?\n\n~~~\ndleslie\n> What if there's a power outage?\n\nAnd this is why the existence of Dubai is a testament to the hubris of\nhumanity.\n\n~~~\nrayiner\nYeah god forbid a bunch of people who happened to be born in the desert want\nto enjoy the fruits of civiliation.\n\n~~~\nulfw\nThey enjoy it so much, they invite millions to their homes to enjoy it\ntogether!\n\n(The population is composed of just 15% native residents, with the remaining\n85% being composed of expatriates, see\n[http://worldpopulationreview.com/world-cities/dubai-\npopulati...](http://worldpopulationreview.com/world-cities/dubai-population/))\n\n------\nthrowawayvvvv\nI\u2019ve come to the conclusion that the deliberate ignorance of climate\nchange/greenhouse effect/global warming is being fueled by deep-pockets in the\nfossil fuel industry, who are hacking the current weaknesses in democracies to\nsow doubt and confusion, and to sap political will (just as other hostile\ngroupings are doing). The GFC also happened just as schemes like carbon\npricing started taking hold, and they ended up losing momentum, which hasn\u2019t\nbeen regained.\n\nThe UK is a notable exception because Thatcher broke the coal industry for\nideological reasons but I don\u2019t think countries like the US will be able to\ntake meaningful action. Heck, a major reason for Australia\u2019s recent election\noutcome was the question of a major coal mine being granted permission to\nopen.\n\nIt\u2019s either going to take major regional climate changes in some part of the\nworld that the media cares about (Europe or North America) before political\nand public opinion shift decisively enough for meaningful action to take hold.\nBy then it will probably be too late, except for those who are wealthy enough\nto buy their way into places which benefit from climate change. The rest of us\nwill be left to fend for ourselves.\n\n~~~\nThrowaaybbbbbb\nI'm taking a mooc on climate change denial 1, and creating confusion is listed\nas one of the main reasons for denial. For example, when faced with scientific\nconsensus about tobacco causing cancer, the industry invested a lot in\ncreating doubt - doubt makes change stop or slow down.\n\nPersonal biases are also a big factor. Eg: a conservative is more prone to\nbelieve global warming when presented an article about \"free market solutions\nwith nuclear power\" than \"government legislation against co2\", which are just\ndifferent takes on the same underlying truth.\n\n1\n[https://courses.edx.org/courses/course-v1:UQx+Denial101x+1T2...](https://courses.edx.org/courses/course-v1:UQx+Denial101x+1T2019/course/)\n\n------\nScarblac\nFor Americans: this village in the south of France is at about 43.8 degrees\nnorth latitude, about the same latitude as the Great Lakes.\n\n~~~\nisostatic\nEurope has far milder weather than the States due to the gulf stream. While\nNew York (40 degrees north) can get a foot or two of snow dumping several\ntimes a year, Rome (41 degrees north) gets an inch or two once or twice a\ncentury.\n\n~~~\nlogfromblammo\nVisualization of Earth oceanic currents:\n\n[https://earth.nullschool.net/#current/ocean/surface/currents...](https://earth.nullschool.net/#current/ocean/surface/currents/orthographic)\n\nStick around to play with the other options in the hamburger menu in the lower\nleft.\n\n~~~\nralphhughes\nThanks for sharing that, I notice they have an overlay for ocean temperature\nas well, so you can visualise both the heat flows and absolute temperatures on\nthe same map:\n[https://earth.nullschool.net/#current/ocean/surface/currents...](https://earth.nullschool.net/#current/ocean/surface/currents/overlay=sea_surface_temp/orthographic=-36.08,41.80,671)\n\n------\nbaud147258\n\"2015 European heatwave\"\n\nI remember that one, it coincided with high air pollution: so much that one\nevening while leaving work, I realized that the Eiffel tower, quite close to\nthe workplace, was barely visible in a haze of pollution. Also that heatwave,\ncompared to the current, was made worse by a lack of wind, as far as I\nremember.\n\n------\nJohnTHaller\nWhen higher temperatures have you down, just remember the conclusion on the\nfinal page of a buried 1980 report on climate change from the American\nPetroleum Institute: \"At a 3% per anum growth rate of CO\u2082, a 2.5\u00b0C rise brings\nworld economic growth to a halt in about 2025\"\n\n------\nadrianN\n> According to the European Environment Agency, 2018 was among the three\n> warmest years on record in Europe.\n\nThe five hottest summers in Germany since we have reliable temperature records\nhave been 2008, 2010, 2003, 2016 and 2002. This year also also going strong\nalready.\n\n~~~\nShivetya\n\"reliable\" is the means by which all previous records are dismissed. makes it\neasy to forget the 30s in America or that in 1947 France was close to 44C in\nsome areas.\n\nalways watch when they start adding new terms to dismiss history.\n\n~~~\nadrianN\nWith reliable I mean since 1600 or so.\n\n------\nbaq\nthis is what the oil industry in USA had to say about CO2 in 1980:\n\n \n \n CLIMATE MODELING - CONCLUSIONS\n \n LIKELY IMPACTS\n \n 1C RISE (2005) : BARELY NOTICEABLE\n \n 2.5C RISE (2038) : MAJOR ECONOMIC CONSEQUENCES, STRONG REGIONAL DEPENDENCE\n \n 5C RISE (2067) : GLOBALLY CATASTROPHIC EFFECTS\n \n\n[https://insideclimatenews.org/sites/default/files/documents/...](https://insideclimatenews.org/sites/default/files/documents/AQ-9%20Task%20Force%20Meeting%20%281980%29.pdf)\n\njust saying\n\n~~~\nulfw\nAnd they did shit all about it\n\n~~~\nJamesLefrere\nThat's not quite fair, they funded the climate denial movement.\n\n------\nblue_devil\n>The year-to-date globally averaged land surface temperature was 2.68\u00b0F above\nthe 20th century average of 42.8\u00b0F. This value was also the third highest for\nJanuary\u2013May in the [in the 1880\u20132019] record.\n\nsource: [https://www.ncei.noaa.gov/news/global-\nclimate-201905](https://www.ncei.noaa.gov/news/global-climate-201905)\n\n------\nbayareanative\nSpain and the south of France will be bad. And, Spain is already desertifying\nlike crazy and climate models show it's screwed long-term. I would expect\nclimate refugees leaving the Iberian peninsula in greater numbers soon,\nfarmers in Spain are already leaving (I saw a docu by Journeyman Pictures on\nSpanish olive orchards dying and being abandoned).\n\n~~~\nlogronoide\nClimate refugees leaving Spain? That must be the reason why retired Europeans\nbuy a house in Spanish coasts...\n\nYes, climate change is impacting how we live in Spain... but please don\u2019t\nunderestimate how humans can adapt and modify our environment... we have been\ndoing it here for 2500 years. Romans digging to extract gold, Kings cutting\nforest to build ships (and today are deserts), seas of plastic nowadays to\nfeed Europe of vegetables all seasons...\n\nEven under a heavy heat wave like this, the impact will be much higher in\nother countries; because we are already use to it. The news about France are\nmore scary than Spain\u2019s.\n\n------\nopen-source-ux\nThis is from 2018 but has good advice on what to do during a heatwave and how\nour bodies react\n\n _Why some people suffer during heatwaves:_\n\n[https://publichealthmatters.blog.gov.uk/2018/07/23/why-\nsome-...](https://publichealthmatters.blog.gov.uk/2018/07/23/why-some-people-\nsuffer-during-heatwaves/)\n\n------\nrwoodley\nHow much are we all going to have to suffer before our governments actually\ntake constructive action on the climate. Not to mention personal action as\nwell.\n\n~~~\nstarbugs\nA lot. Even if we start now, it will be a long time before our actions have\nany effect. And since we don't start now, and probably won't soon, again, a\nlot I'm afraid.\n\n~~~\nWhompingWindows\nOur actions are just going to slightly reduce the rate at which things get\nworse. No matter how much energy transition we do in the developed world,\nthings will continue to worsen. Even if we outright banned all combustion\novernight, things would still get hotter due to feedback loops, especially\nwhile the methane still exists for the next century or two.\n\n~~~\nmooseburger\nEven discounting the feedback loops, an energy transition only in the\ndeveloped world would do very little.\n\n~~~\njustaaron\nbe prepared for rich nations/people to aid poor ones.\n\nthere can be no winners in such a disaster, let's stop jostling for position.\n\n(We, the USA, are literally the only unilateralist nation with regards to this\nissue. We are an outlier, some would say a criminally negligent outlier. Time\nto make up for past misdeeds!)\n\n------\nboyadjian\nI live in France near Paris, and I can tell you it's very hot down here. I did\nnot go to work today ( I work only 4 days a week), and I had a headache all\nthrough the day. I had an appointment in town, that I cancelled because it was\ntoo hot.\n\n~~~\nHavoc\nDrink more water for the headaches. Water drinking patterns tend to be\nhabitual not weather related &people just don't drink enough for extremes\n\n~~~\nboyadjian\nYes, that is what I did, and also taking showers. Now it's midnight, and still\nhot. Wonder what weather it will be tomorrow.\n\n------\nbaud147258\nI've been hearing about the heatwave since last week, but it's been bearable\nso far in Paris, helped by a constant wind when outside (and HVAC in the\noffice). Also I think Paris is not getting the worst of the heat, but I've not\nchecked.\n\n~~~\nTremendousJudge\nHow's the AC situation there? When I went to Europe last year I found it rare\nfor a home to have air conditioning (extremely commonplace here in southern\nSouth America where I'm from)\n\n~~~\nbaud147258\nI think I've ever seen AC in a flat or a home only one time and it was a\nportable air conditioner in a rental home in the South.\n\nBut malls, offices and the like have AC.\n\nI've never been in South America, but I'd say that the average weather\nconditions in France (less heat and humidity) makes AC less important.\n\n~~~\njrimbault\nI'm also in Paris, and just yesterday someone told me that, I replied : \"made\nAC less important\". Clearly things have changed in the last 15 years. Paris\nand London haven't adapted yet to this change.\n\n~~~\nbaud147258\nI don't think we're yet at a point where AC is important as important as, for\nexample, South America. The current temperature is a record high, not an\naverage temperature.\n\n------\nNeonTiger1992\nMy girlfriend's family are visiting relatives in France at the moment. They've\nbeen going for the best part of 20 years and they cannot believe the\ntemperature.\n\nIt's quite scary. Even in the UK, it's been unnaturally warm for most of this\nyear and there were times in February and March where it was unseasonably\ntemperate.\n\n------\ntarr11\n45c = 113f\n\n------\nAsmod4n\nThat's desert like hot, holy shit.\n\n~~~\nmathieuh\nWell the source is winds blown in from North Africa so you\u2019re not wrong\n\n~~~\nbonzini\nYeah at least here around Milan the silver lining is that there's some kind of\nbreeze and it's not super humid. During the night you can sleep if you keep\nwindows open.\n\n------\nlinux_devil\nThis will impact the tourism industry to some extent and also high time for\ngovernments across the world to take positive steps in the same direction as\nthis will eventually affect all of us. I stay in India and recent news related\nto water scarcity across cities are trending which is not usual.\n\n------\ntomalpha\n[https://www.bbc.co.uk/news/world-\neurope-48795264](https://www.bbc.co.uk/news/world-europe-48795264) has a map\nof the worst affected areas\n\n------\nabstractbarista\nGlad to see the title was edited to be more correct and less sensationalized.\n\n------\n40acres\nTruly hope that those in the region can stay safe, as mentioned the last heat\nwave of this magnitude in Europe killed thousands.\n\nThat being said: I'm taking a mental note to purchase some 2019 vintage, the\nheat must do wonders for the grapes.\n\n~~~\nWhompingWindows\nThe heat does wonders if the proper variety of grape is planted in the proper\nplace. If you've got chardonnay grapes in cabernet climate, you're going to\nhave a bad time.\n\n------\nsupercall\nClimate crisis\n\n------\nAcerbicZero\nEdit: My bad, nevermind.\n\n~~~\nrcMgD2BwE72F\nHell no!\n\nWars will be all over the place long before your pseudo \"climate engineering\"\nwill mitigate global warming \u2013 and long before we will start bearing the\nunforeseen consequences of your apprentice sorcery.\n\nWars will impact individual behaviors in big ways \u2013 for bad, obviously. At\nthat point, you'll certainly realize that human beings can do collective\nthings for good, too. Politics matters, always (like it or not).\n\nThere really is no point to wait for war to try and avoid it.\n\n------\n013a\nIts unfortunate how many people are using the word \"Climate\" in their replies\nhere. When Trump says \"Its cold out, global warming is fake\" we rightly say\nthat it's _Weather_ , not _Climate_. That's what this is too.\n\nGlobal warming may be responsible to some degree, but we can't have it both\nways. Language is important.\n\n~~~\nrwoodley\nI don't get the point of splitting hairs on the terms \"climate\" vs \"weather\".\n\nHowever, the term 'global warming' should be avoided in favor of 'climate\nchange', for obvious reasons.\n\n~~~\nTallGuyShort\nI like the distinction (though not so much as seen in the GP comment) because\nthe science behind things like ocean acidification seems much more sound and\nconclusive than some of the data I've seen on temperature increases (which can\nlead to more constructive discussion with deniers who at times, do have some\nvalid points in counterarguments). It's not just about seemingly small\nincreases in temperature - the effect of greenhouse gases is disastrous in\nother ways too.\n\n------\n8bitsrule\nI grew up in a house with a basement with concrete walls. When I complained\nabout the summer heat, I always heard: 'Basement!!'\n\nMakes me wonder if heat waves (or cold waves) were the cause of most of the\nworld's cave paintings. Or the underground cities of the Middle East.\n\n------\nchewz\nI do not miss cold, rainy summers of my youth and failed crops.\n\nThe summers in Central Europe are getting pleasantly mediterranean. Everything\nblossoms and ripes early. People stay at home instead of going to Spain for\nholidays. Agriculture is booming. Outdoor cafes and restaurants grow around\nevery corner.\n\nPlus since yesterday temperatures suddenly dropped from 34C to 22C with\npleasant, fresh breeze. Still sunny.\n\n------\namyjess\nIn the last few months, I've been getting into dry wines (which I've avoided\nfor most of my life but have been making up for list time on), so this really\nhas me wondering what the effect of this on the wine industry is going to be\n(\"this\" = not just this specific incident but the whole pattern of climate\nchange).\n\nI've particularly fallen in love with GSM wines from the Rhone, and I\nunderstand that these varieties thrive in warm climates, so could one of the\nsilver linings of climate change be a _fantastic_ 2019 vintage for Rhone\nappellations?\n\n~~~\nsaalweachter\nBasically, photosynthesis doesn't work good above 40C. Plants stop making\nsugars and start consuming them instead. This is unfortunate for us, because\nagriculture is basically the art of convincing plants to store as many extra\ncalories as possible.\n\nSo there's a major difference between \"warm\" and \"hot\" climates.\n\n~~~\namyjess\nThanks for the information!\n\n------\ndownrightmike\nIf the US Democratic National Committee hadn't rigged the last election for\nHillary, we'd have Bernie Sanders who actually gives a shit about climate\nchange and would do something about it. Hopefully, the DNC won't pull a fast\none again with Biden.\n\n~~~\ngbear605\nI preferred Bernie over Hillary too, but an article about France is really not\nthe place to bring up three year old American politics.\n\n------\nvinayakkulkarni\nLol.. That's the normal temperature during summer in India.\n\n~~~\nkitten_smuggler\nIf this is happening in France, then you can expect India to see similar\ntemperature anomalies in the future. Not much to laugh at really.\n\n~~~\nneffy\nThe future was two weeks ago - 50+ degrees Celsius:\n\n[https://phys.org/news/2019-06-india-heatwave-temperatures-\nce...](https://phys.org/news/2019-06-india-heatwave-temperatures-celsius.html)\n\nThe problem isn\u00b4t just that humans can\u00b4t breathe underwater.\n\n[https://www.youtube.com/watch?v=M1cMnM-\nUJ5U](https://www.youtube.com/watch?v=M1cMnM-UJ5U)\n\n"} {"text": "\nAn open social media network that encrypts your posts and distributes via RSS - espeed\nhttp://www.fastcolabs.com/3016147/this-open-source-twitter-replacement-is-absolutely-brilliant\n======\nest\n> We are building the first fully-conforming trsst server, plus an open source\n> web client including javascript libraries for core functionality like the\n> cryptographic functions.\n\nWait, wat?\n\nFrom the first glance it looks like they just patched buzz words together and\ndecided to call it bitcoin-like decentralized syndication network on a PKI\n\nWhat about anonymity? Anyone who has the whole signing chain could track down\nthe author. The anonymity of bitcoin is achieved by mixing hubs[1], you can't\nsplit a blog post in half and mix it.\n\n[1]:\n[https://en.bitcoin.it/wiki/Anonymity](https://en.bitcoin.it/wiki/Anonymity)\n\nbtw what happened to Open Source today? You have to hype on Kickstarter and\nwaiting for people throwing money at you in order to start coding?\n\n~~~\nderleth\n> javascript libraries for core functionality like the cryptographic\n> functions.\n\nClientside JS for crypto? No. Bad idea.\n\n[http://www.matasano.com/articles/javascript-\ncryptography/](http://www.matasano.com/articles/javascript-cryptography/)\n\nTheir reasons:\n\n> Secure delivery of Javascript to browsers is a chicken-egg problem.\n\n> Browser Javascript is hostile to cryptography.\n\n> The \"view-source\" transparency of Javascript is illusory.\n\n> Until those problems are fixed, Javascript isn't a serious crypto research\n> environment, and suffers for it.\n\n~~~\niuguy\nI spent some time working on a project to create an encrypted contact form for\npeople to use on websites. Thought it might make for a good wordpress plugin,\nbut I was wrong.\n\nHaving gone from a position of \"why not\" to \"oh hell no\" on javascript crypto,\nthe fundamental problems as I see them (aside from the ones outlined in your\ncomment):\n\n* Each javascript engine is different, with different (or sometimes no) sources of differing (or no) levels of randomness, which is essential for crypto to work.\n\n* Most browsers support some level of javascript introspection _whether you like it or not_. Sure, things like Content Security Policies can be used to limit access from other tabs or domains but it's not just secure delivery to browsers that's a problem with javascript, it's execution integrity too.\n\n* Most of the Javascript crypto libraries I've seen are ports of C libraries using tools such as llvm. As such they were not designed with javascript's functionality in mind, and as such are unlikely to have been anywhere near as scrutinised for side channel leaks as something built from the ground up.\n\nThe final nail in the coffin for my project was the fact that I'm not\nsupporting a set of browsers, I'm supporting a set of ecosystems. Anything\nfrom plugins and extensions to minor version changes can affect the behaviour\nof a javascript engine in an unexpected way with potentially dangerous\noutcomes. I couldn't in good faith release a tool that lets grandma contact\nyou without having to install PGP but in reality may mean she gets black\nbagged regardless because she used a dodgy tablet with no randomness source.\n\n------\nburke\nThe name is absolutely horrible. And they shouldn't just re-use the RSS logo,\neven at this stage.\n\n~~~\nadriancooney\nI think it's a play on \"trust\". Maybe capitalize on the current v for u trend\nand name it Trvst? It's slightly more legible and won't be a kick in the ego\nto change.\n\n~~~\nna85\n[http://en.wiktionary.org/wiki/tryst](http://en.wiktionary.org/wiki/tryst)\n\n------\ncomex\nI'll leave aside the comparisons to tent.io, app.net, StatusNet, and many\nother services...\n\nConsidering that most Twitter users seem quite comfortable with publishing\ntheir posts for all to see, marketing a Twitter competitor as a post-Snowden\nmeasure seems somewhat opportunistic to me, especially when there are many\nother benefits to decentralized/open Twitter replacements.\n\n------\nthesteamboat\nTheir whitepaper can be found here:\n\n[http://www.trsst.com/paper/](http://www.trsst.com/paper/)\n\n------\ncodezero\nCan someone explain this system? I see the word decentralized thrown around,\nbut the Kickstarter seems based around them building a server and hosting\nthis. What is decentralized about them controlling the user ids? Basically:\nWhat am I missing here?\n\n~~~\njames4k\nYeah, I'm not sure I get it either. They call it a \"syndication network\"\nwhich, for me, gives the impression of a distributed network that is strictly\ncontrolled, which defeats the purpose. I hope this is just poor wording.\n\n------\nGregorStocks\nWhen I click this link I just see a picture with no text. Is this brilliant\nopen source twitter replacement limited to zero characters instead of 140?\n\n~~~\nsirsar\nI saw nothing but a picture of an RSS icon, and thought that was the joke: you\ncan \"follow\" people by subscribing to their RSS feeds, and RSS already exists.\n\n~~~\nAsymetricCom\nI don't see what the problem is. RSS works, why reinvent the wheel?\n\n~~~\nzanny\nTwitter became popular because browsers didn't elegantly handle feeds. Tumblr\nblogs (or blogs in general) with post comments and following are much more\nopen and just as usable as the Twitter platform, _if_ you provide easy to use\nrss syndication and browsers support easy to use feed browsing without having\nto search out a google reader replacement.\n\n------\ntroni\n\"Looks and feels like Twitter\"\n\n(actually uses screenshots from twitter to pitch product)\n\n------\nmiguelrochefort\nWhy does this crap gets upvoted at all?\n\nEveryone and their mother can build a Twitter clone in 24h. Add a week for\nencryption and security.\n\nThere's absolutely nothing new about this idea. Nothing. They don't even have\na working prototype. All thin air.\n\nOn top of that, what's the big deal with privacy nowadays? It's the opposite\nof what we should aim for as a society. Transparency is not only unavoidable,\nit's a good thing.\n\nMarket this as a tool to organize protests in countries where privacy is a\nnecessary evil, and maybe it will make more sense.\n\n~~~\nkintamanimatt\n> Why does this crap gets upvoted at all?\n\nWho'd have guessed? It's an article about tech on a tech site.\n\n> What's the big deal with privacy nowadays?\n\nWe found out about wholesale global surveillance.\n\n> It's the opposite of what we should aim for as a society.\n\nJust as I want to poop with the door closed, I also want to discuss private\nmatters privately. Not everything in my life should be public and I should\nhave the final say over that. Should every start-up be subject to absolute\ntransparency? Kinda eliminates any competitive advantage if your competitors\nknow what you're up to.\n\n> Transparency is not only unavoidable, it's a good thing.\n\nTransparency of government, yes. For the rest of us, mind your own damn\nbusiness.\n\n> ... privacy is a necessary evil ...\n\nThe good thing about having the option of privacy is that it's not forced upon\nyou. If you're not happy with your life being private, you're free to share.\nWhen that option of privacy is eliminated, however, you're forced to share\neverything even if you don't want to, and that's pretty much the opposite of\nliberty.\n\n------\nunknownian\nI wonder when people will realize that Twitter is not the enemy. I do believe\nin decentralized social networking, but some software package you throw on\nyour web server doesn't seem like the solution. We need a new Internet\nprotocol.\n\nEven so, I wish this team luck and hope it to gain traction.\n\n~~~\nintslack\nDue to their centralized nature, and the result of being located in the US as\none of the largest communication platforms, Twitter has become the enemy. It\nwas probably not their intention to become the enemy, but that's the\nconsequence of being located on US soil and being one of the largest service\nproviders (just as Facebook and Google have.)\n\nWhen you decentralize, where providers are only responsible for a relative\nhandful of the overall userbase, 'hoovering' is much more difficult.\n\n~~~\nunknownian\nI already know about its centralization and being in the US. So what? I don't\nput sensitive information into Twitter like I do in Google services.\n\nDo you expect your blogging service to be encrypted and private too? I guess\nthe private messages should be secure but oh well, I've even heard Twitter\ndemanding warrants for giving out DM info.\n\nEdit: I do wish we could expect \"private messages\" to be private.\n\n------\nrabino\nIs there any intrinsic value in Twitter other than the plethora of people\nusing it?\n\n~~~\nprivong\n> Is there any intrinsic value in Twitter other than the plethora of people\n> using it?\n\ns/Twitter/[any social network]/\n\nThe point is the people using it.\n\n~~~\nrabino\nMy (not explicit) point exactly. All this fad about twitter clones makes no\nsense to me.\n\n------\ntroni\nSigh. There are so many people doing this. I couldn't access the main article\nbut read the Kickstarter page. From what I understand this is a plea for\nfunding for (basic) components that are already built by other teams, but with\nan extra layer of encryption and a copy-cat UI.\n\nWhy not just focus on encrypting content on an existing decentralized network\nproject like pump.io or GNU social? Or any other open network? Build on some\nmomentum that is already there rather than debug message transport for life?\n\n~~~\nkintamanimatt\nIt's clich\u00e9, but competition stimulates demand.\n\n------\nulisesrmzroche\nI'm not entirely sure I understand what's going on. I suggest changing the\nexplainer video to at least a talking head - yes, old, but they have much\nbetter recall and have been proven to change brand preference (even with\ncigarretes)a and try to find a better synonym for 'encryption' \\- Good luck.\nGoing against Twitter is a tall order.\n\n------\nrdl\nAt first glance there's stuff I like and dislike about this, but the strongest\nthing is probably separating out how the messages move around from how the\nkeys move around.\n\nMoving encrypted blobs around is easy, as long as you don't care about traffic\nanalysis. Handling keys is a bit harder. Separating those makes sense.\n\n------\nlucb1e\nThought about this before, but there is one problem: you still leak loads of\nmetadata just like with e-mail (whom you're communicating with, when you're\ncommunicating, how much you're communicating, and perhaps other things).\nBecause of this, I didn't see any advantage.\n\n------\nzalew\nDo they hope to be as successful as Diaspora? _\" open social media network\nthat encrypts your posts and distributes via RSS\"_ sounds like a great summary\nof a killer project that nobody will ever use.\n\n------\ndsizzle\nUh, isn't the primary purpose of Twitter to make your posts PUBLIC?\n\nEdit: I guess the focus is on the private messaging aspect, which I never use.\nPerhaps this is more popular than I realize.\n\n------\nchatman\nThese people look unprofessionals, judging by their intro video.\n\n"} {"text": "\nAsk HN: Imagine a Post Pandemic World, How Internet Use Will Evolve? - multiversecoder\nI ask myself this, because I believe that the lockdown will permanently change our psychology and our way of dealing with everyday life, and since the internet and services will forever play a fundamental role in our society, I am trying to understand how the relationship between man and services will evolve.

For example, what do you think will be the Fundamental Applications for a Post-Pandemic World?

I believe that P2P, decentralization, cryptography and virtual reality will create a new universe of services that will become more and more present.

But this is just an assumption. What do you think?\n======\ntucaz\n\u201c I believe that P2P, decentralization, cryptography and virtual reality will\ncreate a new universe of services that will become more and more present.\u201d\n\nIf anything it will be the opposite. All you mentioned is a concern of a very\nsmall part of the population.\n\nI believe that in this regard we will be seeing more control and\ncentralization from governments in order to try to predict/prevent future\noccurrences.\n\n~~~\nmultiversecoder\nI fully support your thinking, and I believe that the high number of\nrestrictions will create as a consequence a greater number of distrustful\npeople who will suffer greatly from the controls and will look for\nalternatives to feel more protected and free. I mean as a feeling, even\nplacebo, of having full control and not being controlled.\n\nOf course there will be those who will not take care of these options and will\nnot look for them.\n\nBut now more than ever there is a human need to support the growth of these\nservices, at least I think, to ensure a safe area and a private space for\nanyone.\n\n"} {"text": "\nRemembering Sydney Goldstein, Founder of City Arts and Lectures - chmaynard\nhttps://datebook.sfchronicle.com/entertainment/sydney-goldstein-founder-of-city-arts-lectures-dies-at-73\n======\necabraser\nBelated gratitude to Sydney Goldstein for the brilliant insight, impeccably\nand consistently implemented, that great conversation enriches the cultural\nand intellectual lives of all who listen- and she enabled us to listen in to\nsome of the most fascinating conversations ever. I got hooked on City Arts and\nLectures- and did my best to hook others, too- that was easy. We take our\ncultural riches, and those who labor to bestow them, for grated far too often.\nThank you Sydney from a city to whom you gave so much.\n\n"} {"text": "\n\nWhy were mid-century futurist predictions \u2013 like flying cars \u2013 so wrong? - JacobAldridge\nhttp://www.straightdope.com/columns/read/3188/why-were-midcentury-futurist-predictions-like-flying-cars-so-wrong\n\n======\nGravityloss\nWhat if there was no global warming and oil costed a quarter of current? We\ncould have a lot more turbine machines for example, including aircraft.\n\n"} {"text": "\n\nWhy The \"Star Trek Computer\" Will Be Open Source and ALv2 Licensed - mindcrime\nhttp://fogbeam.blogspot.com/2013/05/why-star-trek-computer-will-be-open.html\n\n======\nm0nastic\nI don't have any kind of knack for predicting things, but I'd argue that it's\nat least as likely for the \"Star Trek computer\" to be what things like Google\nNow turn into (which as far as I can tell, isn't open source at all).\n\nI would be very surprised if the aggregation of technology required for this\ntype of interface doesn't require a company with a lot of services know-how to\nchampion (I could see Apple, for instance trying to go down that path, but I\ndon't think they've ever shown any aptitude for online services).\n\nMaybe after someone makes it, a shitty, open-source knockoff will show up; but\nI don't think what's laid out in this article is a foregone conclusion.\n\n~~~\nmindcrime\n_Maybe after someone makes it, a shitty, open-source knockoff will show up;\nbut I don't think what's laid out in this article is a foregone conclusion._\n\nPerhaps not. But nobody wants to read a headline like:\n\n\"Some reasons why I think that it's possible that maybe, just maybe, something\nlike the Star Trek Computer might come along someday and it might, with some\nluck, be open source, and it could be Apache Licensed, but maybe not\".\n\nAt some point, you have to say _something_ , and while I'm not big on\nheadlines that are outright \"linkbait\" if you write stuff, you typically want\npeople to read and comment on it, so the headline has to be somewhat catchy\nand maybe even a little controversial.\n\nThe key point here, isn't really the posit that the Star Trek computer _will_\nbe Open Source and ALv2 licensed, it's that a lot of awesome work is going on\nin various semi-related ASF projects right now, some or all of which could\nwell become part of something like the Star Trek Computer. But, again, that's\ntoo long and wordy for a headline.\n\n~~~\nobviouslygreen\nSo you're suggesting that articles without compelling content should still\nhave compelling titles?\n\nThe goal is certainly to gain readership, but adding controversy to a title on\nan article that doesn't contain any isn't a good idea. It's a\nmisrepresentation of your article, and what extra traffic it does bring you\nisn't likely to result in happy new readers.\n\nSome articles just don't appeal to a lot of people because of their content.\nThat doesn't mean a title that reflects what's in the article is a bad idea;\nit just means the author should either have realistic expectations regarding\nthe exposure their article can reasonably expect, they should be writing\nsomething that _is_ controversial, or they should be writing something else\nentirely.\n\nIf your goal is to communicate specific information and your title doesn't\nreflect it accurately, all you've done is fail at titling your work.\n\n~~~\nmindcrime\n_So you're suggesting that articles without compelling content should still\nhave compelling titles?_\n\nNot at all. Obviously this exists on a continuum and is somewhat subjective,\nhowever. I would never advocate posting low quality content with a flat-out\nlink-baity title like \"Learn About Bill Gates and Ada Lovelace's Secret\nLovechild: Mark Zuckerberg\" or something. But I think you have to create a\ntitle which is as compelling as you can, while being faithful to the content.\n\nBut, as in all cases, there will always be people who agree and some who\ndisagree about whether you've accomplished that or not.\n\nAll I'm getting at is that a headline shouldn't dissemble and be wishy-washy\nand say nothing. It's an opinion, that I'm asserting (that the \"Star Trek\nComputer Will Be...\"), but even I won't go quite as far as saying it's \"a\nforegone conclusion\". There is evidence to suggest that such a thing may be\nthe case, and that's what this post was about.\n\nIn this case, I'm perfectly happy with the congruence between the headline and\nthe content. If others aren't, then I'll be curious to hear their POV on it.\n\n------\nmindcrime\nOn a related note, there are two interesting (older) posts \"out there\" on \"How\nto build your own Watson\". And while you probably aren't going to win Jeopardy\nwith your garage built supercomputer, a lot of the basic technologies are out\nthere to enable you to do some pretty cool stuff.\n\n[http://www.theregister.co.uk/2011/02/21/ibm_watson_qa_system...](http://www.theregister.co.uk/2011/02/21/ibm_watson_qa_system/)\n\n[http://www.forbes.com/sites/tomgroenfeldt/2011/04/14/build-y...](http://www.forbes.com/sites/tomgroenfeldt/2011/04/14/build-\nyour-own-watson-with-open-source-software/)\n\n~~~\nteawithcarl\nThank you.\n\n------\nsp332\nThe Star Trek computer is already here, and it's closed-source and owned by\nGoogle. \n\n~~~\nmindcrime\nFunny you would mention that... I wrote down the title for this blog post last\nnight or yesterday sometime, inspired by something (don't remember what,\nexactly) then sat down and wrote this piece this morning, without having seen\nthat post. But it is funny how related they are. I guess it's just something\nthat's \"in the air\" right now... some zeitgeist thing or whatever.\n\nThat said, this blog post is one of those where I had the seed of it in mind\nfor at least a year, but \"the moment\" to actually pull the pieces together and\nwrite it didn't happen... until it did. Why now versus 6 months ago, or a year\nago, or 3 days ago, I could not tell you.\n\nAnyway, there will be - IMO - plenty of room for competition between the Open\nSource stuff and the closed-source stuff. I'm just really excited about this\nlittle ecosystem that has formed around the ASF, and some of the cool stuff\nthat's being worked on.\n\n"} {"text": "\nSoftware Companies Tech Competency Matrix - ojhaujjwal\nhttps://geshan.com.np/blog/2017/06/software-companies-tech-competency-matrix/\n======\nrgbrenner\nSome of this is just completely wrong. Like the entire row titled code\nperformance.\n\nLevel 4 isn't going around your codebase shaving milliseconds from execution\ntime.. Level 4 is knowing that not everything needs to be optimized.. In fact,\nmost code doesn't need to be optimized at all. The only parts that actually\nneed optimization are those that have been deemed to be too slow (because of\nsome external reason--ie: effect on users, for ex) or that are on a hot code\npath.\n\nI'll go one step further... all new code should be written for clarity only.\nOptimized only if necessary.\n\nNo one cares if your function thats called once a month takes an extra few\nseconds to run.\n\n~~~\nsbov\n> I'll go one step further... all new code should be written for clarity only.\n> Optimized only if necessary.\n\nI'm not saying you do, but many people I run across who have this point of\nview do a poor job at measuring the \"if necessary\" part. You aren't really\nprepared to detect it without some form of production performance monitoring,\nmeaning on the chart, a level of around 2.5. I would say they should probably\nchange this section of the spreadsheet to emphasize knowledge of performance.\n\n~~~\nendorphone\nTo add to that point, in my experience the laissez faire optimize-later\nattitude is often pursued under the notion that you'll just optimize that hot\ncode path or that single function and everything will be glorious. The best of\nboth worlds. In reality such implementations are often death by thousands of\ncuts, where endemic poor performance makes it impossible to fix without\nenormous re-engineering. Where users get delighted when a competitor's product\nis just a little bit faster.\n\nThis applies at virtually every level. From your web page being just a\n_little_ bit faster than a competitor, to the sense of fluidity of an app, to\nbeing able to host a profitable service on a reasonable set of hardware (we've\nwatched countless Ruby services fold when a trivial system serving a small\nnumber of users needs to be scaled across dozens of machines). Performance is\none aspect that seldom goes without payoff.\n\n~~~\nrgbrenner\nIt's not that simple. Optimization is almost always additional complexity.\n\nSo an argument in favor of optimizing whenever and wherever possible, is an\nargument in favor of introducing unnecessary complexity.\n\nOptimization isn't free. It has a cost to implement (slowing development) and\nanother cost whenever the code is read/refactored/extended/etc (also slowing\ndevelopment time). That second part is incurred by every developer working on\nthat piece of code now and in the future.\n\nSo the danger in unnecessary optimization is both wasted time and slowing of\ndevelopment, delaying product market fit or making it difficult to respond to\ncompetitors introduction of new features (for example).\n\nWhat is the more common story: start up died because competitor was slightly\nfaster; or start up died because they never found product market fit.\n\n~~~\nendorphone\nI don't disagree with what you wrote, or the spirit of its meanings.\n\nBut optimizations in a modern sense seldom means implementing a section in\nassembly. In most cases it means a skillful, well-considered use of\nappropriate technologies, appropriate algorithms (e.g. a hash table instead of\na simple linked list for a lookup heavy section, appropriate database designs,\netc) and a coherent design.\n\nWhen you start from day 1 thinking \"performance matters\", it doesn't and\nshouldn't demand any added complexity. But it does demand constant\nconsideration as implementing requirement.\n\nOf course the counterpoint is that of course we should use appropriate\ntechnologies, algos, designs, etc. Who could argue otherwise? But whenever\nI've seen the premature optimization boogeyman appear in a modern context, it\nis usually in the context of just such a discussion. A sort of \"performance is\na concern for another day\".\n\n~~~\nrgbrenner\nI don't consider appropriate use of algos (where no additional development\ncost is incurred), and coherent design to be optimizations.\n\nI'm not sure how to respond to this. You're using a definition I've never\nheard before.. this sounds like basic competency being called optimization.\n\nNothing I've written here should be misconstrued as an argument in favor of\nsloppy code.\n\n~~~\nendorphone\nThis is the cycle of every \"premature optimization\" discussion, ever. Someone\ndiscounts optimization, but when countered with optimizations states that they\naren't actually optimizations.\n\nYour root post states \"In fact, most code doesn't need to be optimized at\nall\". That is de facto meaningless if we go under the assumption that\noptimizing itself -- ergo implementing optimally -- doesn't count as\noptimizing.\n\n~~~\nrgbrenner\nYou've thrown a lot of stuff under the label of optimization.\n\nTake coherent design. I started off saying everything should be written for\nclarity, and having a coherent design is part of that.\n\nA coherent design can mean the code has lower performance than an incoherent\ndesign.\n\nHow could this possibly be considered an optimization? An optimization now\nincludes things that reduce performance?!\n\nEdit: Also \"implementing optimally\" is not the definition of optimization.\noptimal: \"best or most favorable.\" optimize: \"rearrange or rewrite (data,\nsoftware, etc.) to improve efficiency of retrieval or processing.\"\n\n~~~\nendorphone\nI think you should revisit the line in the linked page that you disagreed with\nso strongly. It doesn't say \"go back and rewrite in assembly\", but simply asks\nthat you develop with performance in mind (with an awareness of the costs of\nthe choices you are making). Your comment was that performance effectively\ndoesn't matter, deal with that later.\n\nOptimization in the context of \"premature-optimization\" doesn't refer to going\nback and rewriting code early. It refers to a mental concern about\nperformance, where there is a very wrong, but persistent and common, attitude\nthat performance is something you can add later. But in most cases that simply\nisn't true, and it's one of the biggest lies in this industry, trotted out\nlike it's grizzled experience and wisdom when it's the foundation of countless\nproject failures.\n\n------\nandrewvc\nOh, this old chestnut. It keeps coming around again and again and again.\n\nInstead of complaining about this thing point by point I'll just ask a\nquestion. Has anyone taken this self-serious pseudo-quantified thing and tried\nto actually put it into practice? Have you found any quantifiable results?\n\nThis, TBH, seems like an arbitrary yardstick for insecure people to measure\nthemselves by IMHO.\n\n------\nChuckMcM\nI don't agree with all the levels and their description, but I do think this\nis an excellent way for a senior engineering leader to ask themselves \"What\ncan I do to make the engineering team better?\"\n\nYou'll notice that a lot of the different items are directly under the control\nof a VP Eng/Dir Eng role. \"Do you insist on code reviews? Yes we do/ No we\ndon't\" etc.\n\nSo if you find yourself in such a role, whether you've inherited a \"good\"\norganization or one that needs work, its a good methodology for stepping\nthrough and figuring out what to improve.\n\n------\njoshribakoff\nSo I use custom written scripts to deploy instead of Capistrano. Automatically\nI'm a lower level developer according to this chart. And somehow using docker\nis objectively better than Capistrano? I disagree. There are pros and cons.\nDocker adds complexity and has \"setup costs\" just because someone uses the\nsimpler tool doesn't mean they are any less of a developer. If anything it\nshows pragmatism and humility\n\n~~~\nscaryclam\nThere's a _lot_ wrong with this article.\n\nThe matrix feels really rather cargo-culty to me. If deployment is pushing one\nfile then use scp. If it's coordinating a world wide fleet of servers, use\nsomething more sophisticated.\n\nI find it funny that we've seen a \"You're not Google\" article today, and then\nthis gets posted.\n\nAt the end of the day, as long as you've cut out as many manual steps as you\ncan, without being stupid about it (don't spend two weeks creating an all\nsinging all dancing deployment pipeline for a microsite that's going away in\nthree weeks), you should be happy with how you're doing things, regarding\ndeployment. If that's running scripts, so be it.\n\n~~~\ndasmoth\n_The matrix feels really rather cargo-culty to me. If deployment is pushing\none file then use scp. If it 's coordinating a world wide fleet of servers,\nuse something more sophisticated._\n\nAgreed. And critically, if you can stay in a world where scp deployment (or\nsomething comparably simple) is working well, that's a _good thing_.\n\n------\nk2xl\nI don't know if \"competency\" is the right word to use.\n\nAs the OP points out in the \"Assumptions\", if you have a company with 5\nengineers working on completely different codebases, you may make a conscious\ndecision to not be at \"level 4\" code review status. Doesn't mean you are\nincompetent it just means you are practical.\n\nA lot of small business operate efficiently by electing to not overly\ncomplexify their development process. So maybe instead of \"competency\" using a\nword like \"sophistication\" would be better\n\n~~~\nCorvusCrypto\nThe infrastructure one had me chuckle a bit. Just go straight to large\nclusters or platform service plans guys. 2ezpz\n\n------\ns3nnyy\nThis is also handy for recruiting.\n\nStackoverflow includes the famous Joel Spolsky 12-steps-to-better-code list to\nits job ads ([https://www.joelonsoftware.com/2000/08/09/the-joel-\ntest-12-s...](https://www.joelonsoftware.com/2000/08/09/the-joel-\ntest-12-steps-to-better-code/)). I think it needs an update after 17-years.\n\nThis blog post might be something in that direction. I usually do a similar\nevaluation when I decide if whether to recruit for a company. (Content\nmarketing: I am programmer and now I source, assess and hire engineers for\ntech firms and startups in Zurich, Switzerland - see\n[https://www.coderfit.com](https://www.coderfit.com), and\n[https://medium.com/@iwaninzurich/eight-reasons-why-i-\nmoved-t...](https://medium.com/@iwaninzurich/eight-reasons-why-i-moved-to-\nswitzerland-to-work-in-it-c7ac18af4f90))\n\nIt is rather challenging as different things carry different weight to\ndifferent people and there is also the thing that what is good for a big\ncompany, or high-growth startup might not make sense for a web agency that\nwill stay below 20 people forever.\n\nNevertheless, I'd be super happy to brainstorm with like-minded people about\nwhat makes a company good from an engineering perspective.\n\n~~~\nnoir_lord\nI just got hired on as developer #1 at a 150 year old company that has until\nme depended entirely on outsourced developers (at great expense and you can\nimagine what the codebase looks like).\n\nI'm the first developer but not the last so one of the things I'll be doing\nwill be setting the engineering standards going forwards, I might drop you an\nemail.\n\n~~~\nTenhundfeld\nSlight tangent, but I'll just comment that the business world runs on\ngenerally bad software \u2013 if they even have \"software\" and don't just use\ninsanely complex spreadsheets. It's one of those surprising things I've\nlearned doing consulting for the last decade+. At first, I thought it was just\nthe clients I happened to have, but given enough data points, a pattern\nemerged.\n\nMost software is bad, especially at places that don't consider themselves\nsoftware companies, e.g., they don't sell a software service/product, they\njust use software for efficiency.\n\nI don't mean this as a judgement of the developers who wrote it. I've written\nplenty of software that looks bad in retrospect, from the outside. When you\nhave the context of how decisions were made in the past, more often than not,\nyou find a lot of small decisions that were reasonable in isolation but added\ntogether equal a big ball of mess where technical debt was rarely/never paid\ndown, refactoring rarely/never took place, etc.\n\nIt's not that hard to convince non-technical business folks of the value of\npaying down technical debt, but I've found it is hard to convince them to\nprioritize it. It always gets planned for the future, after whatever super-\nurgent CEO-driven initiative is currently happening, which is quickly followed\nby another and another.\n\nSo yeah, I can imagine what the codebase looks like but not because of\noutsourced developers. You could just as easily say, \"150 year old company\ndepended entirely on overworked internal developers (you can imagine what the\ncodebase looks like).\"\n\n~~~\nnoir_lord\nI completely agree except in this case the software is just outright bad.\n\nI found a function yesterday that was 15 lines and reduced it to one, it was a\nBoolean check but they hadn't just returned that.\n\nIts mostly php and they declare all variables and then immediately overwrite\nthem, I'm not convinced the main programmer had a good grasp of PHP tbh.\n\nIn any case its mine now. :)\n\n~~~\nTenhundfeld\nYep, there are definitely exceptions to my \"generally reasonable in isolation\"\nidea, where the software is just bad, in any context. I've seen 'em. Hell,\nI've probably written 'em.\n\nAnyway, good luck. I've been in similar situations. It can be overwhelming,\nbut if you have executive buy-in, you have a big opportunity to establish a\nnew direction and effect significant change.\n\n------\ntaeric\nIs this just a stripped down CMM for people that don't believe in things like\nthe CMM?\n\nLink:\n[https://en.wikipedia.org/wiki/Capability_Maturity_Model](https://en.wikipedia.org/wiki/Capability_Maturity_Model)\n\n~~~\nnradov\nIt's hilarious how some developers reflexively criticize things like the CMM\nin the abstract, and yet are unable to provide any hard data to show that\nspecific elements of the CMM produce bad results.\n\n~~~\ngaius\nOne company I worked for decided to offshore, opened an office in a faraway\nland, six months later, that office stuffed to the gills with fresh grads,\nhaving never shipped a single line of code to a customer or into production,\nachieved CMM level 5 certification. It's a complete farce.\n\n~~~\ntaeric\nThere is a distinction, though, between feeling that certification can be\ngamed and thinking that the goals outlined are poor.\n\nAnd I am sympathetic on both ends. Nobody likes admitting that you will\nbasically always start at level 1. More amusingly, folks that have progressed\nto later stages forget some of the advantages you have in earlier stages. If\nthis was a completely solved problem, we would just set the counter at max and\nbe done with it.\n\nTaleb had a quote about this that I have misplaced, so I'm game of someone can\nfind it. Basic gist is that even if you know what the end result should be,\nthat does not mean you get to skip the steps that brought it about.\n\n~~~\ngaius\n_There is a distinction, though, between feeling that certification can be\ngamed and thinking that the goals outlined are poor_\n\nIn that debacle they laid off 6000 people in the West, including me. Shortly\nafterwards they realised that they were unable to ship or even maintain the\nproduct. Shortly after that, they were taken over by a rival. The CEO who\ndrove all this pocketed an 8-figure sum and walked away... It's clear what the\n\"goals\" were.\n\n~~~\ntaeric\nThat seriously sucks and you have my sympathies.\n\nI think this ultimately runs into the field that as soon as you define what\nthe grading criteria is, then there arises the serious risk of gaming the\nsystem. Especially when that grading criteria is a proxy of the actual value\nthat the company is creating.\n\nThat is, at the end of the day, the only thing that matters is value delivered\nto the customer. Any other proxy measure ultimately doesn't matter. Good for\nprediction capabilities up to the point that they are gamed for the same\nprediction capabilities.\n\n------\nswsieber\nOne thing to note is that competency as it's used here is _often_ a stand-in\nfor process - how much process a company uses around a particular feature.\n\n------\ntovacinni\nCorrect me if I'm wrong, but for VCS, isn't it generally bad practice to\nunnecessarily branch off and introduce complex structures?\n\nIn my experience, branches generally lead to people feeling like they have\nfree reign and introducing a slew of issues (reduced code quality,\ndifficulties in merging, broken builds, etc)\n\n~~~\nrimliu\nWhat do you mean by \"unnecessarily branch\"? At least for git it used to be\n\"new branch for each discreate task\". Atlassian tools even support this: you\nhave \"Create branch\" option for JIRA task. We use it and are very happy with\nthis. Take a task, create branch (which automatically moves the related JIRA\ntask to \"In progress\"), when done\u2014create pull request (task status once again\nis updated automatically), when merged kick off automatic build and\ndeployment. It all would be a lot messier without branching.\n\n~~~\ntovacinni\nI think it really depends on the atomicity of the said \"tasks\" and how often\nbranches get merged back into the master branch. It's very easy for branches\nto get abused and merging long-standing branches in with the master branch is\nalways expensive task that's bound to have scary issues.\n\nIn an organized enough team with a large enough project, tasks should be able\nto be carried through concurrently on a single branch for the most part.\n\n~~~\nsangnoir\n> It's very easy for branches to get abused and merging long-standing branches\n> in with the master branch is always expensive task that's bound to have\n> scary issues.\n\nYou only get scary merge issues if you do not frequently pull in changes from\nyour upstream branch! Daily works for me, and not once have I been let down\nwhen squash-merging back - even for large, multiweek changes. I'm always\nsurprised to hear this is not common practice on HN.\n\n------\ntheGimp\nThere is no one-size-fits-all approach for measuring competence. Different\ncompanies and different teams have different dynamics.\n\nWhat makes sense for your team and the things you work on can be very\ndifferent from mine.\n\nThe tools and process my team settles on can achieve better results despite\nlooking more primitive on your measuring stick. Complexity is not the end\ngoal.\n\n------\nm0llusk\nThere are many valid points raised here, though there is clearly room for\nargument with every metric. What strikes me about this article is the site and\ncontent itself. Reading this article loads layers upon layers of javascript\nwhich collectively download megabytes of content, the vast majority of which\nis utterly useless crap that contributes absolutely nothing to the experience\nof reading the article.\n\nThe intent of this article is to propose some metrics for maturity and\ncapacity of technology development, but careful measure of downloading shows\nthat this site is an abomination beyond reason that shuts out users lacking\nbroadband and fast machines with plenty of memory.\n\nIf you really want to learn about technology development competence then\ncompare how this page is served compared to a static plain text version of the\nsame content.\n\n------\niLemming\nJIRA? It is sad that even in 2017 people still promote JIRA. There are better\nalternatives to that ugly, clunky, stupid piece of junk. Clubhouse is one\nexample.\n\n------\njarsin\nGot a job at a level 1 once early in my career (2 years experience). Before I\nstarted the COO told me that the his team was the best and given I was just\nstarting out in my career I had a lot to learn from them. Massive warning sign\nin hindsight.\n\nFirst day on the job...so you guys really don't have source control?\n\n~~~\nmajewsky\n\"Only idiots need source control. We know what we're doing 'round here!\"\n_proceeds to edit PHP source file directly on production server_\n\n~~~\nnradov\nThere's a story somewhere of Paul Graham making live changes to the Viaweb\nproduction Lisp code while in the middle of a customer tech support call. OK,\nthe bug should be fixed, try it now...\n\n~~~\nmajewsky\nAnd that's precisely the problem. A handful of people _can_ work this way and\ndo great. But their visibility will make others try to emulate them, usually\nwith disastrous consequences.\n\n------\ncorpMaverick\nNice. I don't agree with lots of things but it is a great way to think about\nhow software organizations work.\n\nIt focuses a lot on whether or not tools are used. IMHO, the fact that a tool\nis used doesn't tell you much. Often is the wrong tool for the wrong problem,\nor the tools is not properly being used.\n\n~~~\nmajewsky\nAnother instance of Goodhart's Law: \"When a measure becomes a target, it\nceases to be a good measure.\" When companies introduce certain tools because\nthey heard that successful companies use that tool, rather than because they\nwant to use it to improve their processes, it won't help much.\n\n------\nburo9\nRuined in the very first line by suggesting that JIRA is somehow a project\nmanagement tool.\n\nJIRA manages issues.\n\nAdvanced use of JIRA may mean that you can use it as a risk log, or a\nmilestone tracker, or an epic planner... but let's not mistake \"advanced use\nof JIRA\" with \"advanced project management\".\n\nJust try and use JIRA to determine a critical path, or to track the impact on\none project when a deliverable expected from another project slips, or to\nalert when the threshold of a slipped due date is exceeded. JIRA cannot even\nauto-promote a risk (something that may happen) to an issue (something that\nhas happened) based on a change in circumstances (i.e. time-based overdue, or\nsome threshold being exceeded).\n\nJust try and use JIRA to go beyond a single project, and to manage a program\nof projects delivering multiple things as part of one complex product. If that\nsounds like jargon, imagine trying to use JIRA to project manage the the\nconstruction of a new vehicle, with multiple teams in different facilities\nproviding the chassis, drivetrain, etc.\n\nThis is all basic stuff for good project management software, and only those\nnot versed in project management make the mistake of thinking that JIRA is an\nissue.\n\nOn a project management tooling scale, JIRA itself would never pass the first\nlevel of maturity.\n\nFew tech companies manage projects well. Few identify risks, few track inter\nproject dependencies, few can determine whether there are resource issues\n(headcount availability) 6 months out due to multiple projects needing\ndelivering at the same time and competing for the same internal resource.\n\nJIRA is not a project management tool. It is a glorified issue tracker that\nallows the unskilled to imagine they are managing projects.\n\nI guess that's a strong statement, but it does need to be made. JIRA can work\nfor you, but it is only a simple tool.\n\n~~~\nUK-AL\n\"Few tech companies manage projects well.\" \\- That's because your comparing it\nto traditional style project management. It rarely works well in software.\n\nIf this style of project management worked, then companies that used it would\nbe at the top. But they aren't.\n\nThe only companies that seem to use it are government projects, or\ncorporations where software isn't their main concern. In my experience\nsoftware output by these organisation is basically awful.\n\nThey don't get software development is more of discovery and learning process,\nwhere you become increasing better at serving your customers as you learn\nmore. It's not a gather requirements, implement then finished thing.\n\n~~~\nwalterbell\nThis is good book on learning in software dev,\n[https://www.amazon.com/Adaptive-Software-Development-\nCollabo...](https://www.amazon.com/Adaptive-Software-Development-\nCollaborative-Approach/dp/0932633404/)\n\n~~~\nnradov\nNot sure why you're getting downvoted. That is a good book. I wouldn't\nnecessarily follow everything in it, but every software manager could learn\nsomething from it.\n\n------\ncoldcode\nIf you meet their assumptions it might make useful, but it's a very\nopinionated list which is likely not applicable to many companies. I am not\nsure you can make such a list that is generally applicable to enough companies\nto be useful.\n\n------\ngaius\nThe author of this is level 1 and only imagining the other levels.\n\n------\nDowwie\nIs there no way to export this?\n\n------\naemus\n0ow\n\n"} {"text": "\nShow HN: Ligify iOS App \u2013 One-Tap Save or Share Your Live Photos as GIF or MOV - hboon\nhttps://itunes.apple.com/app/id1048863900\n======\nhboon\nI created an iOS app called Ligify that lets you one-tap convert your Live\nPhotos to GIF/MOV for easier sharing. It was previously called Lively. I also\nwrote a little story about the idea behind the app and why it was renamed:\n\n[http://hboon.com/story-behind-ligify-one-tap-save-or-\nshare-y...](http://hboon.com/story-behind-ligify-one-tap-save-or-share-your-\nlive-photos-as-gif-or-mov/)\n\nCouple of promo codes:\n\nJYHHJTA4EXJY\n\n63636APWYTPP\n\nY43P4MJ66J79\n\nPPFFYTPKLKE4\n\nJ9J6ARKPKHFJ\n\nKMT7PXW4F6W4\n\nPJRP7A4P6M3H\n\nFLY9XX3JKXEW\n\nJ63HJP973AL9\n\nJEK6F94AAKRA\n\n~~~\nrevorad\nThanks for the promo code!\n\n"} {"text": "\nShow HN: Quick apply to any online job application - thekyle\nhttps://jobs.hoxly.com/\n======\nthekyle\nHi HN, A few months ago I was applying to internships and noticed that most\nonline job applications are rather tedious and repetitive. They often involve\ncreating an account, uploading your resume, and then copy and pasting\ndifferent parts of your resume into a form (education, work history, skills,\ncertifications, etc.). I assume this is done so that the hiring manager never\nactually needs to look at the uploaded resumes and to making automatic\nscreening of candidates easier.\n\nSome job search sites offer \u201cQuick apply\u201d where you fill out all of your\ninformation once and then apply to participating jobs with one click. However,\nthe number of supported job applications is quite limited and there\u2019s a good\nchance jobs you\u2019re interested in won\u2019t support the feature.\n\nSo that\u2019s why I created Hoxly Jobs which offers universal quick apply to any\njob application available online.\n\n------\nCoreFailure\nReally cool idea! Good revenue model too, I can easily see $1/job being an\neasy value proposition.\n\nOne thing that gives me pause as a prospective user is that I don't know what\nwill happen if there's any \"essay response\" style questions in the job app.\nGiven that the jobs I'm paying to apply to are probably jobs I'm interested\nin, I'm less likely to risk using it on an interesting looking job.\n\nThat said, I really dig the minimal look of this website. The gifs are a great\nway to show program flow and are much easier to read than a jumbotron.\n\n"} {"text": "\n\nThe Web's next act: A worldwide database (discusses Semantic Web) - _pius\nhttp://gcn.com/Articles/2009/11/09/Linked-Government-Data-feature.aspx\n\n======\n_pius\nIt's worth noting that Department-level CxOs in the Federal government read\nthis publication.\n\n"} {"text": "\nShow HN: Streak.ly tracks what you do daily and I'd love feedback on the concept - kylebragger\nI've been working on a side project called Streak.ly with a friend of mine for the past month or so; it's intended to help keep you motivated to do otherwise mundane daily tasks (like do 10 pushups, read for an hour, etc.) by letting you log \"streaks\" \u2014\u00a0consecutive days in a row of doing something.

It's in private alpha/beta/gamma/whatever right now (has some rough edges to clean up), but is more or less functionally complete and pretty stable.

I'm a big fan of the Seinfeld calendar, and have seen other services which do similar things but were unsatisfying to use, either from an aesthetic or functional perspective. Streak.ly is designed to be simple, good-looking, fast, fun, (and hopefully addictive). (FWIW, it's also a place to experiment with user stickiness stuff I can potentially roll back in to Forrst.)

There are also some in-progress social/game/motivational features I plan to roll out in the next few weeks that hopefully contribute to the enjoyment factor of the app.

Streak.ly uses Twitter for authentication, and I've set up a URL to let HN folks in early: http://streak.ly/auth/twitter/start?secret=showhn

I'd love any and all feedback and/or criticism you may have.

Thanks!\n======\nil\nFor a simple webapp like this, please don't make me get a twitter account/sign\nin to use.\n\nGenerate a unique URL for me to use, or hash my email address or something\nlike that. Reduce friction, I want to be able to use this with 1 click.\n\n~~~\njm3\nreally? creating a twitter account takes about 15 seconds. if you're not one\nof the 150 million people with a Twitter account, then why not just be\npatient? i'm sure kyle will get around to supporting other login methods\neventually.\n\ni believe you're genuinely trying to be helpful with your suggestions, but\ncomments like this reminds me of the vocal 0.1% of users who exercise\ntroublesome preferences like disabling javascript, or installing ad-blocking\nplugins that break half the web, (which is fine!), but then complain that\ntheir (pathological) preferences prohibit them from enjoying the experience\n(which is not so helpful).\n\nfeedback like, \"i can't be bothered to log in to give you feedback because i\ndon't like your login\" isn't great feedback. it might even be viewed as a sign\nto you that you're not the intended user. yet.\n\n~~~\nil\nI wasn't aware not having a Twitter account was considered pathological in our\nWeb 2.0 world.\n\nWhy do I need to sign up for a microblogging platform to use a completely\nunrelated calendar app???\n\nAnyway, my comments about reducing friction aren't based on my own\npreferences, they're based on dozens of multivariate split tests I have\nconducted across many thousand unique visitors.\n\nEvery single time, forcing the user to sign up, login, enter their email or\nanything of the sort before getting to use the site SIGNIFICANTLY decreases\nengagement, time on site, conversions, and pretty much every other metric you\nshould care about.\n\n~~~\njm3\nThe \"signup friction\" argument's a straw men; no sane startup seeks to _add_\nfriction to the signup process. the bogus (implied) assertion in the comment\nis that requiring a Twitter account to use a new web app in beta is overly\nrestrictive / cumbersome.\n\nThe only way that would make sense is if beta testers don't have Twitter\naccounts, since OAuthing with an existing account _reduces_ friction.\nTwitter's been around for four years and seems fairly well established among\nearly adopters like HN readers, so counting on a critical mass of beta testers\nto have Twitter accounts hardly seems a stretch, even if those users aren't\nvery active tweeters.\n\ni for one was very glad not to need to enter an email address, pick a login\nname, etc; the oauth process handled that for me. ymmv\n\n~~~\nmichaelbuckbee\nI think the suggestion was to not require a form of authentication (email or\ntwitter) first. Instead, let the potential user \"test drive\" the app and then\nwhen they are a little invested prompt for a signup of some kind.\n\n------\nsraquo\nHere's my somewhat similar homebrew GTD system:\n\n\nYou see time spent (in minutes) coding (+) and anything else done at the\ncomputer (-) taken from RescueTime, along with basic efficiency score and\nstuff done / to be done for my main project (game) and everything else (misc).\nColoring is manual, blue = \"worked well\", red = \"could have done better\".\n\nThe file sits on the desktop and is the place where I keep my general to-do\nlists, so it is always open. Works well for me.\n\n _Note: censored some \"misc\" stuff, so don't think I normally work 4 hours a\nday :)_\n\n~~~\nkylebragger\nThis is really, really cool.\n\n------\nkylebragger\nClickable: \n\n------\nsacrilicious\nI really do like the idea of positively \"completing\" a task every day.\nOutliers-wise 10,000 hours is a lot, the sooner I get started the better.\n\nThe only thing I'd add, besides the request for OpenID love, is that the FAQ\nneeds to put \"we won't spam your twitter\" higher up - that's what I wanted to\nknow _immediately_ after signing in for the first time(the serious faux pas\nbeing \"My streakficiency is blahblah, what's yours?\").\n\nBesides that, just one detail: the FAQ(which is great, btw) wasn't in the\nfirst-login \"we're very beta\" notice at the top, which would have been easier\nto find.\n\n------\nzeedotme\nnice looking but pretty limited for the moment. Honestly think most people who\nuse tools like this will be looking for simplicity in their lives...and so\nconvincing them to add another tool to their daily tools list is going very\ndifficult considering all it can currently do (i realise it's alpha mind)\n\n~~~\nkylebragger\nThank you, and totally makes sense. Hopefully there is a nice middle ground\nwhere this could fit. My theory is also that if I can a) show value to enough\nfolks that they start to realize, \"hey, this is pretty useful and I can\nprobably manage to use it 5 mins a day\" and then b) get them to invite small\ngroups of friends, the upcoming features in that vein will create a stickiness\nin those groups. Probably obvious to most but makes sense in my head at least.\n\n------\nrocktronica\nNice and simple! I like it!\n\nLooks like you've already given some thought to iPhone support. I might also\nsuggest adding fullscreen mode once the app is added to the home screen:\n[http://building-iphone-\napps.labs.oreilly.com/ch03.html#ch03_...](http://building-iphone-\napps.labs.oreilly.com/ch03.html#ch03_id35932771)\n\nThe \"new thing\" text input could use some CSS for smaller screens too.\n\nApologies if you already knew all this...\n\n~~~\nrocktronica\nAlso, it'd be good if I could edit the text of each entry after it's been\ngoing. Just in case I dont't like the wording or something.\n\n------\nlfborjas\nThis app looks rad, I've been using [calendar about\nnothing]() for my opensource hacking needs\nand the seinfeld calendar way of being motivated definitely works for me, I\nsaw some of the teasers on forrst and am eager to give it a try; keep up the\nawesomeness!\n\n~~~\nkylebragger\nThanks so much :) Looking forward to hearing your feedback.\n\n------\ntomjen3\nMy first feedback - I don't intent to give your my twitter account, so if you\nwant me (or pretty much anybody) to review your site and you are dead set\nagainst using the standard create a user that works pretty well (because we\nnow have ways around all the problems) use OpenID.\n\ntldr; use openID, nobody is going to want to share their twitter account with\nthe world.\n\n------\nthesethings\nheya Kyle,\n\nThis is great. Just signed up. I am familiar with the Seinfeld calendar.\n(Though not because I've seen it on the show, but it was explained to me in\nsome other geek GTD blog/system/something.)\n\nI have an idea for a visual aid that might appear in two places on your site\nfor folks who might not know the basic idea behind the Seinfeld calendar, and\nfor those who _do_ know it, but might want to an incentive on their Streakly\npage:\n\nA visual of a calendar week with a streak (or 2, or 3) through it.\n\nThis would appear on the front page, and in another form, on an individual's\nStreakly page.\n\nI realize you probably already something similar to this already sketched out\n(along with many other features). So as you were, take your time!\n\nI respect the MVP process :D\n\n~~~\nkylebragger\nGlad to hear it!\n\nThere are indeed plans for a more visual display of your completed days. The\ncool thing is that it's built in such a way that gives us a ton of cool data\nto play with. Just a matter of displaying it well.\n\n------\njohn2x\nJust signed up. I'm probably gonna try and use it for working out. :)\n\nFirst thing I noticed was that there are only 3 \"reminder times\", but I'm sure\nthat would change in the future.\n\nAnd being able to set different \"reminder times\" to different things would be\ncool.\n\n------\njm3\nfeedback re: the reminder portion of the app - would be nice if:\n\n1\\. i could get the notice as a tweet (DM) instead of an email. since you're\nusing oauth, i'm betting you're facile w/the twitter api.\n\n2\\. you offered a fuller range of hours for the reminder. the first task i\nadded to streak.ly was, \"cook breakfast\", but 10am was the earliest reminder i\ncould pick in the list, which is too late for me ;)\n\n~~~\nkylebragger\nThanks very much for the feedback;\n\n1\\. is a great idea and I'll definitely consider it (it does have the\nadvantage of probably showing up as an SMS, too)\n\n2\\. yep, I had a hunch the list was too short but wanted to try it out. I\nwonder if there's a happy medium between an 0-23 type list and what exists\nnow.\n\n------\njoshbert\nI'm really enjoying the app the whole 5 minutes I've been using it. I'll use\nit for a week and see what kind of results I get.\n\nFor the record, I do realize that results will vary according to the type of\nperson that uses the application. I'm a serial procrastinator, so maybe it'll\nbe worth something for your Customer Development process.\n\n------\naik\nThere shouldn't be a need for the page to postback when\nadding/deleting/completing items. A necessity for a site like this is for it\nto be faster and more convenient than anything else. My notepad++ session is\nmore practical than this in a lot of ways, just because of the speed.\n\n~~~\nkylebragger\nYep, 100%. Have not added any AJAX goodness yet.\n\n------\ngreenlblue\nThis is good stuff, let me know when the API rolls out because I think these\nkinds of apps are better when they are on a handheld device because you can do\na lot more stuff when you can carry the reminders in your pocket wherever you\ngo.\n\n------\nwhimsy\nCheck out Joe's Goals. \n\nWhat's your edge?\n\n------\njm3\nnice idea. i'm sure you know about \nalready. wonder if there's an integration point, there, where you could\nleverage their app with your data.\n\n~~~\nkylebragger\nyea, I really dig what they're doing but wanted something web-based.\nStreak.ly's got an API coming soon; would be awesome to integrate somehow.\n\n------\nsamh\nGreat idea. A similar inspiration to Jason at www.HabitMix.com I think.\n\n------\nbradybd\nAnother solid web app from the Bragger-Matic. Keep it up Kyle!\n\n------\nkloncks\nQuestion: What's the Seinfeld calendar?\n\n~~~\nluminarious\nIt's a productivity method named after Jerry Seinfeld. I first heard about it\nfrom this lifehacker post: [http://lifehacker.com/281626/jerry-seinfelds-\nproductivity-se...](http://lifehacker.com/281626/jerry-seinfelds-productivity-\nsecret)\n\nBasically you decide to do or practice something every day. If you forget or\notherwise fail to keep up, you mark it in red on your calendar. Goal is to try\nto see how long you can go without a red mark. And get things done in the\nprocess.\n\n~~~\njeebusroxors\nYou're wrong. The inverse is correct and is the driving force behind the\nidea...\n\n _He said for each day that I do my task of writing, I get to put a big red X\nover that day. \"After a few days you'll have a chain. Just keep at it and the\nchain will grow longer every day. You'll like seeing that chain, especially\nwhen you get a few weeks under your belt. Your only job next is to not break\nthe chain.\"_\n\n------\nmagic6435\nComing soon to Streak.ly... Serial killers\n\n~~~\ndhorrigan\nI just completed \"Kill Someone\" 14 days in a row on Streak.ly\n\n"} {"text": "\nA Recommendation for Google's Webspam Team - duck\nhttp://www.seomoz.org/blog/a-recommendation-for-googles-webspam-team\n======\nWillyF\nI like Rand's proposed solution, and I'm confident that the folks at Google\ncan come up with something even better and more effective.\n\nI'm finding that natural link building is getting harder and harder. Much of\nthis is because social media sites (that often use nofollow) are now how\npeople talk about stuff they like. And when they do have a Tumblr or\nWordpress.com blog, the links aren't very valuable.\n\nMost of the valuable links that I've been able to build lately have come from\nmy asking people to link to my sites. In a way, we're seeing more and more\nPageRank inequality. The people who control the sites with the most link\nequity know what they have, and they're not willing to share.\n\nI'm lucky that my niche isn't completely commercial, so there are still plenty\nof easy, valuable links to build, but I can't imagine how tough it would be to\nSEO a site in a competitive, commercial niche.\n\n------\njefflinwood\nRand's blog post demonstrates that there's now a pretty big disconnect between\nanchor text keywords and actual link quality - he makes an excellent point\nthat natural links aren't likely to put the keywords directly into the anchor.\n\nIt's such an interesting problem - on one hand, you have autoblogs populating\nthe internet with Made-For-Adsense keyword-stuffed content that would soak up\nlong tail search results, so Google can't just ignore inbound links as a\nmeasure of relevance, and on the other, you have keyword-stuffed anchor text\nlinks that aren't particularly relevant to the content of the page they're on.\n\nWhat other page metrics would one use to measure relevancy today that wouldn't\nbe as susceptible to SEO gaming?\n\n------\npraptak\nThe proposed solution requires a lot of manual tweaking: _\"Have manual spam\nraters spot check through a significant sample size of the pages\"_ , _\"If the\nfalse positives follow some easily identifiable pattern, write code to exclude\nthem and their ilk from the filtration system.\"_\n\nGoogle seems to avoid this kind of thing as a principle.\n\n~~~\nlmkg\nNot really. This step basically says either \"Look at the data and use that to\nguide how you write your algorithms\" or \"manually curate a statistically\nsignificant set of training data.\" You're not having the humans look at the\ndata and include/exclude links or sites, you're having them look at the data\nto figure out heuristics for applying to the eight hundred billion pages they\ndidn't look at. This step doesn't need to scale, so manual labor is not an\nincorrect solution. Given the context, and the ever-evolving nature of SEO,\nhaving human review is necessary part of the process, and this is the best way\nto add that human element in a scalable fashion.\n\n------\ntnorthcutt\nWhat is the purpose of only notifying 65% of the sites found (and publicizing\nit that way)? Is that to create some uncertainty, so that even sites that\nweren't discovered by this method will give some thought to changing, for fear\nthat they are part of the 35% not notified?\n\n~~~\nbryanh\nI thought it was for exactly this reason. He doesn't elaborate though.\n\n------\nladon86\nGreat post. I don't know a lot about how well this would work in practice\n(perhaps Matt Cutts could comment), but anchor text link gaming is a huge\nproblem and this sounds like a decent solution.\n\nMany of Google's results have started to 'feel' really bad lately - I'm doing\na lot more wading through crap and a lot less finding what I want quickly.\n\n------\npornel\nMaybe they're not tackling this problem, because they realize it's futile?\n\nIf exact keywords stop working, spammers can easily start adding extra words\nor variations to anchor text (with something like Markov chains one can create\nlots of believable variations).\n\n------\nDanielBMarkham\nThe only thing I would add would be to make sure the links are cross-domain.\n\nI can imagine several different websites operating in a target niche, say home\nmortgages, that might have menus and pages and such that reflect common search\nterms in that area. In fact, if you think about it, if you're writing for a\nniche you should anticipate what people want to know about that niche, and\nsearch terms give you that, so there's quite a bit of commonality.\n\nBut as long as the links were cross-domain, sure, makes sense to me.\n\nI just wonder if there aren't a lot of more edge cases like this. At the end\nof the article he kind of waves his hands around and says something like \"and\nif this doesn't work, then you can use artificial intelligence and machine\nlearning\"\n\nThat's a sign that perhaps there are many more holes in this line of attack\nthat he just doesn't care to deal with. Don't know.\n\n"} {"text": "\nAsk HN: What would a site with threaded bump-order ranking look like? - heartbeats\nThere's a lot of forums, like this one and Reddit, which have threaded discussion and voting. Classic blogs often have threaded comments, but just sorted on date posted.

Classic forums move the thread to the top each time someone responds, but they don't thread the comments.

This seems like a much simpler solution, which is much harder to game. Yet I've never seen a site actually use it in the wild. How come?\n======\njosquindesprez\nI imagine for popular posts, you'd get way too many low-value bumps: lots of\nleaves in the comment tree would be low-effort back and forth replies of\nuninteresting content (e.g. Reddit). If there's a voting system, the top-level\nthread would get bumped a lot but it'd be difficult to find that low-value\ncontent. The signal that the bump is trying to convey (there's new and good\nstuff here!) wouldn't match the value of the information that the user gets\n(the scattered dregs of many conversations). If there isn't voting and you\nsort by newest content, the experience would probably be like 4chan in slow\nmotion: bump ordered blasts of low-value replies.\n\nIn a classic forum, since posting something not only moves the thread to the\ntop, but puts your post in a highly visible place (the end of the thread),\nit's a lot harder to have too many deeply branching side conversations with\nlow value replies: there's a social norm against polluting threads.\n\nFor something like HN where comment trees don't get too deep and the replies\nare always meaningful, I think threaded bump ordered ranking could work.\n\n~~~\nheartbeats\nNo, posting somewhere moves the whole subthread to the top.\n\nBefore:\n\n \n \n \u251c\u2500\u2500 a\n \u2502 \u251c\u2500\u2500 b\n \u2502 \u2502 \u251c\u2500\u2500 c\n \u2502 \u2502 \u2514\u2500\u2500 d\n \u2502 \u2514\u2500\u2500 e \n \u2514\u2500\u2500 f\n \u251c\u2500\u2500 g\n \u2502 \u251c\u2500\u2500 h\n \u2502 \u2514\u2500\u2500 *i* <- this is new\n \u2514\u2500\u2500 j\n \n\nAfter:\n\n \n \n \u251c\u2500\u2500 f\n \u2502 \u251c\u2500\u2500 g\n \u2502 \u2502 \u251c\u2500\u2500 i <- moved to top of its thread and its thread moved to the top\n \u2502 \u2502 \u2514\u2500\u2500 h\n \u2502 \u2514\u2500\u2500 j \n \u2514\u2500\u2500 a\n \u251c\u2500\u2500 b\n \u2502 \u251c\u2500\u2500 c\n \u2502 \u2514\u2500\u2500 d\n \u2514\u2500\u2500 e\n\n------\ngshdg\nI\u2019ve seen classic forum software that supports comment threading.\n\n"} {"text": "\n\nAgainst Tolerance - mbrubeck\nhttp://tim.dreamwidth.org/1844711.html\n\n======\nchrismcb\nThe author says \"But we know that Brendan has already inserted his views on\nour relationships where those views don't belong: into the workings of the\ngovernment, by means of making a political donation. \" Isn't the whole point\nof democracy to insert your views into the workings of the government. To make\npolitical donations to people that you think have similar points to you? If\nyou can't make a political donation, with your own money, then what can you\ndo?\n\nOne thing I don't get, do people think this guy is going to be a miserable\nleader and a bad businessman? Does the author think only people who believe\nthe same things as the author can lead?\n\nThe title was \"against tolerance.\" I thought the author was going to rant\nabout how intolerant some gays are. But instead he is saying he won't tolerate\nsomeone else having an opinion that differs with his own.\n\nI would be willing to bet every CEO out there has made a political\ncontribution or voted for someone that \"interfered\" with the authors personal\nlife.\n\n------\njedanbik\nIt's incredibly bold to make a public statement like this.\n\n------\nangersock\nAuthor notes that, while Eich doesn't enforce his personal beliefs at work, he\nmay be forcing them through his political donations.\n\nWhich raises the point: same criticism goes to anyone who votes for anything\nyou don't like--as long as you have democracy as well as acknowledging your\ngovernment's authority, you will from time to time find yourself put-upon by\nsomebody else voting to support something you don't like.\n\nTough shit--don't let it get in the way of your work. The old saying \"I\ndisagree with what you say, but I'll gladly defend your right to say it\" is\nperhaps more relevant today than ever before.\n\n~~~\nJoeAltmaier\nAuthor goes on to say this issue rises above normal political disagreement.\nIts not taxes or zoning laws at issue; its who's fully human, with full\nrights. Its easy for those not involved to give a pass to coworkers that\ndonate to restrict somebody else's life.\n\n~~~\nangersock\nA basic human right--one much less arguable than some idea of state-granted\ncivil union--is to have one's actions and words weighed thoughtfully.\n\nThrowing the technical leadership of Eich out over what amounts to a\ndifference of opinion (on perhaps an important matter) is rubbish.\n\nMarriage is a societal compact, and as such is a product of the community in\nwhich you live. We, somewhat luckily, live in community where we can vote to\nestablish norms. There is nothing wrong with having somebody else in the\ncommunity vote or contribute with an opinion different than yours, because\nthat is how the community comes to a consensus about its societal norms.\n\n~~~\nJoeAltmaier\nLots of whitewashing there. What if it was, for instance, slavery? Does that\nfit your definition of societal contract? Will you go quietly to the back of\nthe bus, if for instance, we vote that supporters of 'traditional marriage'\nmust do so?\n\n~~~\nangersock\nSo, your two examples there: one is denying me rights as a person (instead, I\nbecome property, which has no natural rights whatsoever), and the other is\ninfringing on my right to association and free movement.\n\nThere is no such thing as a right to \"marriage\", because such a thing exists\nonly as a construct of various institutions.\n\nIndeed, forcing churches or municipalities to marry people whom they don't\nwant to is infringing on _the members of the institution 's_ right of free\nassociation.\n\n(Now, the fact that they're close-minded homophobic shitheads is perhaps true,\nbut that's not important.)\n\n~~~\nJoeAltmaier\nPlease. Moving to the back of the bus is >> denying marriage? That institution\nthat has repercussions in housing, taxes, rights throughout our society? Vs\nwhere you get to sit?\n\nEvery 'right' is a social construct. I'm beginning to think you're trolling.\n\nAnd nobody is requiring churches to do anything. This is straw-man nonsense\nput out by the fearful.\n\n"} {"text": "\nMalloc Never Fails (2012) - KirinDave\nhttps://scvalex.net/posts/6/\n======\ndooglius\nThe title here is just blatantly false; there are certainly some scenarios in\nwhich it won't fail, but many in which it will. The author is aware of this\nsince he fixes the claim toward the end:\n\n> To clarify, the surprising behaviour malloc has does not mean we should\n> ignore its return value. We just need to be careful because malloc returning\n> successfully does not always mean that we can use the requested memory.\n\nIt's worth pointing out that if you turn overcommit off\n([https://www.kernel.org/doc/Documentation/vm/overcommit-\naccou...](https://www.kernel.org/doc/Documentation/vm/overcommit-accounting))\nyou will, in fact, get this guarantee\n\n~~~\njoosters\nn.b. turning over-commit off comes with its own set of problems, such as\ncausing programs to fail long before all memory has really been exhausted.\n\nFor example, fork() will have to ensure that there is enough memory for a\ncomplete copy of the running process. If you have a large process, e.g. using\n4GB of a 8GB machine, then fork() won't be able to run, even if you just want\nto fork and run a tiny program.\n\nWith over-commit turned on, the fork() would work (because of copy-on-write)\nand the program could then happily exec() the new program.\n\nThe work-around is to allocate huge amounts of swap space so that the OS can\nbe confident that it can reserve all the potentially required memory from\nfork(), even if it never normally has to use all that memory.\n\n~~~\ncaf\nOr if you're just forking to exec a tiny program, use vfork().\n\n------\nbrynet\nThe malloc(3) family will absolutely fail on OpenBSD, for many reasons:\nlogin.conf/ulimits, calloc(3) for when integer overflow is detected (nmemb *\nsize), same for OpenBSD's reallocarray extension. And yes, because the system\nwas unable to satisfy the requested allocation.\n\nLinux overcommit, and developer mindset is a detriment to software quality and\nportability.\n\n~~~\njiveturkey\nThat's a needlessly confrontational statement. Yet I find myself in agreement.\nSigh.\n\n------\npornel\nThis assumption lead to Rust's standard library not having a way to catch\nallocation failures (which is only now being rectified, and only partially).\n\nIt's very Linux-centric and presumes a certain config+usage pattern. Not true\non Windows. Not quite true on macOS. Not true in WASM. Definitely not true on\nembedded platforms.\n\n~~~\nmmillin\nIs there somewhere to read about how rust is tackling this problem?\n\n~~~\nsteveklabnik\nA short overview:\n\n1\\. Rust the language knows nothing about allocation. If you care about this\nbehavior, it mostly limits the code of others' that you can use, but you can\nalways write your own versions of things that respect fallible allocations.\n\n2\\. Rust's standard library assumes memory is infallible. This is partially\nbecause it's a good default, and partially because our allocator API was not\nready yet.\n\n3\\. We've been working on the allocator API.\n\n4\\. We have a rough plan for parameterizing data structures over allocators.\n\n5\\. If this topic is of interest to you, [https://github.com/rust-lang/wg-\nallocators](https://github.com/rust-lang/wg-allocators) is where to get\ninvolved.\n\n------\nem3rgent0rdr\nMalloc allocates virtual memory. The original article had to issue a\ncorrection at the end: \"I was wrong about why malloc finally failed!\n@GodmarBack observes, in the comments, that x64 systems only have an address\nspace of 48 bits, which comes out to about 131000 GB. So, on my machine at\nleast, the malloc finally failed because of address space exhaustion.\"\n\n~~~\nmetrxqin\nThat's incorrect, 2^48 bits = 262144GB actually.\n\n~~~\nlifthrasiir\nBut x86-64 divides the 48-bit address space into two halves, only one of which\nis available in the user mode.\n\n~~~\nmonocasa\nTo be fair, there's nothing that says the higher half _has_ to be entirely\nkernel mode. Only that bits 63 through 48 have to be the same value.\n\nAnd Intel has a spec out for a PML5 page table, giving you 57 total virtual\naddress bits.\n\n------\njvanderbot\nWhat bothers me is that I read this train wreck without any red flags until I\nsaw his correction at the end. Even the headline was wrong given the article,\nwhich itself was wrong.\n\nI really should have coffee before HN\n\n~~~\ndragontamer\nWhat exactly is \"wrong\" about the article?\n\nLinux's Overcommit behavior is non-obvious to many programmers. Its one of\nthose issues that very few programmers I've come across in the workplace\nunderstand properly.\n\nThis blogpost properly understands the issues associated with Overcommit, and\nhave done some preliminary investigations that describe the behavior. Its a\nreally good blogpost.\n\nThe general point of the blogpost is that \"Malloc Fails due to address space\nexhaustion more often than actual memory-exhaustion\". Because actual memory\nexhaustion causes OOM killer code to be run... and OOM killer is a non-obvious\ncase of the Linux kernel.\n\n~~~\nshereadsthenews\nWhat's wrong with the article is that malloc is not even a feature of Linux.\nThere's mmap and brk, both of which have documented failure modes.\n\n~~~\ndragontamer\nMost typical programmers will be using malloc, or some mechanism built on top\nof malloc (C++ new). MMap and brk are useful for certain situations\n(explicitly getting Huge Pages), but I don't think that the typical programmer\nnecessarily needs to know about those.\n\nSince glibc malloc is built on top of mmap and brk, I think your distinction\nis mostly academic. For any programmer using Linux and glibc... malloc's\nfailure mode IS mmap and brk failure modes.\n\n~~~\nshereadsthenews\nIt is a mischaracterization to say that C++ operator new is built on top of\nmalloc. If your new is overridden by, say, tcmalloc, your program will never\ncall malloc.\n\n------\nantirez\nInteresting topic with many things to say about, but wrong content. The point\nis that in most C programs, it is not worth to handle OOM errors, because what\nyou can do during OOM is of very little value, on the other hand handling OOM\ncorrectly is _very hard_. However you can't do this in libraries, because you\ndon't know how the library is going to be used. So for instance in order to\nmake my Radix tree library resistant to OOM failures, I had to write a\nspecific fuzzy test that used a malloc failing with a given probability, and\ncheck if the tree is sane after some stress-work with such malloc. In general\nthe complexity of handling OOM in complex programs that deal with complex data\nstructures is not often recognized.\n\n~~~\nmonocasa\nWhen writing C libraries, it's good form to be able to init your instance with\nallocation and logging function pointers. That lets you play nice with most\nany env you're being pulled into, and gives your consumers an obvious place\nfor nice hooks for debugging.\n\n~~~\nantirez\nYep, that's what I do in order to be able to fuzz test with an OOM returning\nmalloc() in my lib. Agreed on the fact it's good form.\n\n------\nasveikau\nAnother thing to keep in mind, though 32 bit is less and less common over\ntime, malloc would probably fail on a 32 bit process that is out of address\nspace.\n\n~~~\nTorKlingberg\nRaspberry Pis almost always run 32 bit OSes, so that's a common place to\nencounter 32-bit.\n\n~~~\nsaagarjha\nI had always thought they'd be running a 64-bit OS, given that the new\nhardware is 64-bit. TIL that Raspbian is still 32-bit!\n\n~~~\ngmueckl\nUnless you need the address space, there is little gain with a 64 bit OS. The\nwider pointers use more RAM and eat up more of the available memory bandwidth\nand caches. So not swotching to 64 bits is likely the best use if the\nhardware.\n\n~~~\nsaagarjha\nIt\u2019s a toss up, I think: actual results depend on the task at hand. 64-bit has\nthe benefit of more, wider registers, which can speed up certain tasks.\n\n~~~\ngmueckl\nI stand corrected. I missed the fact that ARM also introduced new registers in\nAArch64. I thought that such a change only happened in amd64.\n\n~~~\nasveikau\nThe other thing about amd64 is that amd64 code can safely ditch old features\nlike x87 floating point, which is much slower than more recent features. Also,\nfunction calls will more frequently pass by register. And I can think of one\nOS specific feature that is better on amd64: when MS ported to amd64 they took\nit as an opportunity to speed up the ABI for Structured Exception Handling\n(SEH). The x86 one incurred a time cost even for code that did not throw.\n\nOf course none of this applies to arm/aarch64.\n\n------\nphilpem\nI saw the title and thought \"oh heck this isn't right at all\"...\n\nSet VM Overcommit to zero on an embedded system with no swap (a Raspberry Pi\nwill do nicely).\n\nWrite a C program that malloc()'s all the RAM.\n\nWatch malloc start to fail when you hit the RAM limit and the kernel has\ndumped all the I/O cache it can.\n\n~~~\nKirinDave\nI think the author uses a hyperbolistic title, but if you read the article it\ns addressed that there are ways it can fail.\n\nThe larger point is that very few users of malloc understand its semantics,\nand in fact you _can 't_ know exactly how malloc will behave without knowing\nthings about the runtime configuration of the system (as opposed to the\nhardware availability as many people like to think the simple case is).\n\n------\nPaul-ish\nWhen I use Python sometimes I run into a MemoryError when working with large\ndatasets. How does the Python runtime know I am out of memory if the kernel\nwon't tell it. Does it try a write and catch the signal?\n\n~~~\namelius\nPerhaps any write can fail, and if one does then it triggers some code which\nfrees some pre-reserved space which allows the interpreter to continue, and\nproperly unwind the stack.\n\n~~~\nlalaithion\nI believe that the python interpreter creates a MemoryError at startup, and\nthrows that when you run out of memory.\n\n~~~\namelius\nOk, but while unwinding a try/except block, the interpreter might need some\nextra memory, I suppose, depending on the code in the except clause.\n\n------\nvbezhenar\nmalloc fails with ulimit\n\n~~~\ndullgiulio\nVery relevant, because containers are often under what basically is ulimit.\n\nNot that you can do much when malloc fails...\n\n~~~\nchrisseaton\n> Not that you can do much when malloc fails...\n\nTell the user they can\u2019t do that operation? Use on-disk storage instead? Re-\nuse memory you already have (such as evicting a cache and taking the memory it\nalready had allocated)? Abandon what you were doing if it was only an\noptimisation and wasn\u2019t essential (such as allocating memory as part of a\nspeculative execution)? Run a garbage collector and try again?\n\nLots of options available in some situations.\n\n~~~\nCrinus\nIn practice i haven't seen any application to _gracefully_ handle out of\nmemory situations. Even back in Windows 3.x days when running out of memory\nwas common, most applications simply hanged or crashed (which also took the\nentire GUI with them) and those that didn't often had a \"no memory, kthxbye\"\ndialog that shut down the application. A very few rare cases would try to\ndisplay some \"sorry, no memory, close some programs and try again\" dialog but\neven those were hit and miss, depending on the situation.\n\nOnce 32bit hardware-based virtual memory entered the picture, every single\napplication would just assume you have endless RAM - memory checks are\nreserved for \"common cases\" like trying to create a 100000x100000 image in a\n(32bit) image editor.\n\nThe reason for all that is simple: out of memory situations are stupidly and\nincreasingly rare and in most cases where they can happen there isn't much you\ncan do (e.g. what would you do if you run out of memory while making the\nfourth button in a toolbar?) and really in the 99% of the cases there might\nonly be five people in the entire universe that will encounter such a case\n(two of them will tweet about it though and amass a lot of \"lol, those garbage\ndevelopers\" retweets) so littering your codebase to keep those five people\n(and their Twitter followers) happy is not worth the effort. I mean, are you\nreally going to put a \"run out of memory\" check after every toolbar button\nallocation? And what are you going to do if that fails? What _can_ you do?\n\nAFAIK some modern languages nowadays even assume memory allocations wont fail\n(and if they do they just terminate).\n\n~~~\nchrisseaton\n> what would you do if you run out of memory while making the fourth button in\n> a toolbar?\n\nRollback what I\u2019d created so far, evict caches, ask malloc to trim, try again,\nif that failed roll back again and ask the user to reduce the volume of\napplication data open by closing views or documents or whatever before they\ntry again.\n\nBut yeah it\u2019s a lot of engineering.\n\n~~~\nCrinus\n> ask the user\n\nYou just failed to create a toolbar button, how are you going to ask a user do\nsomething if you already failed to create a tiny UI element?\n\n~~~\nhyperman1\nI guess you pre-allocate these UI elements when you start your application.\n\n~~~\nCrinus\nWhat if malloc fails at that point because some other application (we're in a\npreemptive multitasking OS) decided to gobble up all RAM?\n\n~~~\nfwip\nIf your application fails at start-up, you don't need to worry about saving\nstate and graceful failure.\n\n------\naetherspawn\nHow does one guarantee that allocated memory is real? Can you easily wrap\nmalloc to zero/poke the memory in a way that catches all exceptions and\nguarantees yay or nay ?\n\n~~~\nanilakar\nJens Gustedt suggested the following:\n\n \n \n memset(malloc(size), 0, 1)\n \n\nThe program will crash if malloc returns NULL or the memory is not writable.\n\n~~~\nhyperman1\nAnd then memory deduplication comes along, finds out a huge number of\nidentical pages (all zero) and decides to deduplicate them. So if you want\nyour memory to stay real, I suppose you'd better fill it with random data or\nsomething.\n\n------\nkazinator\nYou can arrange for malloc to fail. If overcommit is disabled with the right\nsysctl parameters, then mmap will fail if there isn't enough physical memory\nto materialize the entire mapping. Even under overcommit, very large malloc\nrequests that translate directly to large mmap requests can fail with a null\nreturn.\n\n------\nboomlinde\nYou can disable memory overcommit in the kernel, before any of you start\nassuming you can drop your malloc checks.\n\n------\nJasuM\nWhat happens if you really run out of physical memory (including swap) after\novercommitting? Does your process get a signal, or will OOM killer just run\nwithout notifying the process that triggered the condition?\n\n~~~\ngmueckl\nIg you try to allocate more than the system is willing to overcommit (e.g. a\nhuge block all at once), malloc will fail. But if phyaical memory gets\nexhausted by accessing previously allocated pages, the OOM killer will\nevebtuslly come around and kill processes without signalling. Signal handlers\ncould still make thenprocess (unknowingly) request more memory, so there is 0\nguarantee that a handler could even run successfully.\n\n~~~\nJasuM\nOh yeah, I didn't think of that. I wonder if you could write a signal handler\ncarefully to not allocate any memory, stack or otherwise, or is some return\naddress or an internal structure being allocated transparently...\n\n~~~\ngmueckl\nJust trying to allocate stack space for the signal handler may cause the stack\nto spill into a new page. That is absolutely out of anybody's control. And if\nthat new page cannot be provided, it's game over.\n\n~~~\nJasuM\nMakes sense. I was thinking that maybe signal handlers could use the regular\nstack of the thread, but that would of course make everything fall down if the\n\"real\" code would write to the stack before updating the stack pointer.\n\n------\nsaagarjha\n> Section III of this Phrack article is a down to earth description of how the\n> glibc malloc implementation works, if you\u2019re curious.\n\nThis is probably outdated, given that it was written in 2009.\n\n~~~\nmathieubordere\npocorgtfo 0x18 contains a more recent glibc malloc exploit which goes into\nquite a bit of detail if you're interested.\n\n------\nantisemiotic\nAnd then, some day, your code gets compiled for Windows under mingw/msys.\n\n------\nedoo\nI always assume malloc success and that if it were to return null the system\nis screwed anyway and the app will just abort. I write a lot of 'critical'\nC/C++ now on embedded systems with mere KB of RAM and just never use the heap\never.\n\n------\nlasthacker\nmalloc fails with a negative argument\n\n~~~\nsaagarjha\nmalloc takes a size_t, which is unsigned. A \"negative\" argument is just\nsomething that's absurdly large.\n\n~~~\nNullPrefix\nOn 64 bit systems it would result in a call to malloc asking for between 9.2\nand 18.4 Exabytes.\n\n------\nmehrdadn\nTranslation: This is a euphemism for saying Linux blatantly violates the\nlanguage specification with no remorse.\n\n(Yes, I realize Linux is the kernel, etc.)\n\n~~~\nsimias\nLinux is a kernel, not a C runtime so that's not really relevant. You say you\nrealize that but then what are you arguing for exactly? Arguably you could\ncomplain that the glibc (or whatever libc you're using) is not working around\nthat by, for instance, scrubbing the pages in malloc() to force the kernel to\nallocate memory.\n\nBut even then I'm not convinced that anything here is non-standard, at worse\nmaybe we're in a bit of a grey area. As long as the kernel maintains its smoke\nand mirrors whether and how it allocates memory is irrelevant from the point\nof view of the standard. The C language has a rather simplistic memory model,\nit doesn't impose a lot on the implementation.\n\nNow the problem occurs when the program attempts to access virtually-allocated\nmemory and the kernel realizes that it can't find any physical memory to map\nit to. In this situation several things can happen but in general the process\nwill be killed. Is it against the standard for the OS to kill a program for\narbitrary reasons? I can't imagine why. It could also freeze the program,\nwaiting for more memory to become available. Again, not against the standard\nas far as I can tell. Or maybe kill some other program to free memory.\n\nIf you have some specific part of the C standard in mind please do tell, I\nalways find these language lawyering arguments interesting, somehow.\n\n~~~\nmehrdadn\n> If you have some specific part of the C standard in mind please do tell\n\nSee here:\n[https://news.ycombinator.com/item?id=20145604](https://news.ycombinator.com/item?id=20145604)\n\nAlso note the POSIX standard:\n\n _Upon successful completion with size not equal to 0, malloc() shall return a\npointer to the allocated space. If size is 0, either a null pointer or a\nunique pointer that can be successfully passed to free() shall be returned.\nOtherwise, it shall return a null pointer and set errno to indicate the\nerror._\n\nIn neither case is there any provision for returning a non-null pointer to\nanything other than an allocated block of memory of at least the given size.\n\n~~~\nsimias\nThank you for your reply but I still don't buy it. As far as the program is\nconcerned it is returned a memory block, what this \"memory\" is effectively\nbehind the scenes is none of the standard's business. As long as the\nimplementation manages to maintain the illusion it's perfectly fine AFAIK. The\nproblem is when this breaks down and the kernel realizes that it can no longer\nmaintain the masquerade. If at this point it did something stupid like map\nthis block nowhere or remap something that's already been allocated and let\nthe program continue like this, then yes that would be a clear violation of\nthe contract. But it does no such thing, it kills the program instead. If\nthere's no program then there's no problem. At no point did a single C\ninstruction get executed in an environment that did not maintain a coherent\nmemory model. >In neither case is there any provision for returning a non-null\npointer to anything other than an allocated block of memory of at least the\ngiven size. A pointer to virtual memory is a pointer to memory. The rest is an\nimplementation detail. If, when dereferenced, the kernel issues an order to\nAmazon for more RAM and waits for it to be installed to resume the execution,\nthat's none of the C standard's business.\n\n~~~\nmehrdadn\n> If, when dereferenced, the kernel issues an order to Amazon for more RAM and\n> waits for it to be installed to resume the execution, that's none of the C\n> standard's business.\n\nWe're not, and we never were, debating the situation where dereferencing the\nnon-null pointer returned by malloc _succeeds_ but takes long time due to your\nAmazon order. We've been talking about the situation where it _fails_. malloc\nis not allowed to return a non-null pointer to a memory block that cannot be\nwritten to. Linux does it anyway, and in doing so blatantly violates the\nstandard.\n\n~~~\nsimias\nThat _is_ my point, it doesn't fail. Either the kernel finds out a way to map\nthe memory and it succeeds, or it kill the program and the instruction never\nruns. Code that doesn't run can't violate the standard. When the code is\nallowed to run all the invariants are guaranteed to be respected. If I write\nthis code:\n\n \n \n char *b = malloc(2);\n if (b == NULL) {\n return 0;\n }\n \n b[0] = 'A';\n b[1] = '\\0';\n \n printf(\"%s\\n\", b);\n \n free(b);\n \n\nThe standard tells me that if the malloc succeeds then the following code, if\nallowed to run, will display \"A\" on stdout. The C standard cannot and does not\nguarantee that a C program can't be interrupted however. For the sake of the\nargument we could imagine a kernel that instead of killing the program freezes\nit indefinitely on disk waiting for RAM to be available. It's functionally the\nsame thing. As long as the kernel doesn't let code run with broken invariants\nit's fine. This is completely outside of the scope of a language standard to\ndefine.\n\nOr, to try one last time from a different direction, if you consider that the\nC standard mandates that accessing memory returned successfully by malloc has\nto be successful and I happen to press ^C when that happens in a program,\nshould the kernel refuse to kill the program? This is obviously absurd, but\nit's effectively the same thing: the kernel reacts to some external state and\ndecides to terminate the program.\n\n~~~\nmehrdadn\nOkay this is a far more reasonable argument but I'm not convinced it's right.\nThe standard does define normal and abnormal program termination. It also\ndefines . SIGINT addresses the keyboard case (or the implementation\ncan provide another signal). SIGABRT, SIGTERM, etc. are raised upon\ntermination. For the keyboard case, then the program would be made aware, and\nit can indeed ignore the Ctrl+C request if it desires. That's perfectly normal\nand nothing absurd. For other types of termination, the other signals are\nraised. But in this case the program is terminated before any signal is raised\nat all. Now, as a practical matter I would argue the hosted environment should\nstill be able to kill the program in the face of user request simply because\nnobody wants a host that's the slave of the program even _if_ it's against the\nstandard, but this is going far, far, _far_ beyond that. It's happening at the\nrequest of neither the user nor the program; it's just happening because the\nhost feels like it. Now that's both a violation of the standard and an uncool\none at that!\n\nP.S. I don't think indefinite hold is \"functionally the same thing\" as\ntermination. A caller system(), for one, would need to return in one case, but\nnot the other.\n\n------\nsystemBuilder\nSeems like a needless feature, overcommit, \"oh let's make our app faster by\npre allocating 2GB of RAM!\" says the naive programmers, \"Oh let's make our\noperating system more powerful by allowing overcommit.\". Overall, you moved\nthe allocation delay from the app to the OS, which has much less end to end\nknowledge of how to do it effectively, overcomplicated both layers, achieved\npractically nothing overall, like a dog chasing it's tail, except now both\nlayers have more garbage code, so it's like an obese dog chasing it's tail!\n\n"} {"text": "\n\niOS vs. Android - A comparison for first-time developers - diasks2\nhttp://www.diasks2.com/post/20172033158/ios-vs-android-a-comparison-for-first-time\n\n======\nambirex\n_The bottom line is, if you are selling a paid app, iOS is the way to go._\n\nThis conclusion from a single app is very weak at best.\n\nOtherwise, thank you for the write-up from your experience.\n\n------\nSpikeX\nI would have liked to have seen how the Windows Phone marketplace stacked up\nagainst the other two, and how much better (or worse) it is in those\ncategories.\n\n------\nmdonahoe\n\"all sales are final\"\n\nYou can ask apple for a refund. Not sure if they make the developer eat the\nwhole price or just the 70% cut\n\n"} {"text": "\nShow HN: Joconut - Smart PJAX jQuery plugin in 1kb - vdemedes\nhttps://github.com/vdemedes/joconut\n======\ngojomo\nI get the benefit of PJAX when you're replacing part of a page. If you're\nreplacing the whole page, how does this beat a real browser load of the exact\nsame data in the same number of hits?\n\n(Is it simply that it saves you the effort of setting your caching headers for\ninline resources properly?)\n\n~~~\nvdemedes\nPartially agree here with you.\n\n------\nsplitrocket\nSeems to break if you have a link without an href.\n\nIt also seems to blow away any previous listeners places on elements. Any\nplans to have callbacks for events so that listeners can be re-bound?\n\nAside from that, looks totally sweet. I'm going to use this in a bunch of\nplaces.\n\n~~~\nvdemedes\nAwful mistake, sorry, completely forgot about that issue. Will be fixed ASAP.\nHowever, there is \"new\" event, which gets fired on every new page. You can\nlisten to it using $.joconut.on, see Readme in GitHub repository at\n.\n\nThanks, glad you like it!\n\n------\naseemk\nGreat idea. I'm having trouble getting it to work (\n ), but I'm looking forward to\ntrying it out!\n\nOne thought came to mind for a potential leaky abstraction: unlike HTML and\nCSS that can be \"undone\" and are idempotent, JS has side effects that can't be\nundone, and isn't always idempotent. Are there JS patterns we need to embrace\nor avoid to ensure Joconut always \"just works\"?\n\n------\njasoncartwright\nProblem in FF? \n\n~~~\nvdemedes\nUpdate pushed, issue fixed.\n\n------\ndagingaa\nMissing some things:\n\n\\- How is this different form the existing PJAX-plugin?\n\n\\- Is there a demo page for this plugin?\n\n~~~\nvdemedes\nSorry, no demo page for now. It is different from PJAX in these ways:\n\n1\\. 1kb minified and gzipped\n\n2\\. Auto-loading of JS and CSS from new pages, if needed\n\n3\\. No need to set up and configure\n\n------\nprezjordan\nWhat exactly does it do? I'm not sure if I follow completely.\n\n~~~\npygorex\nLoads pages via AJAX and updates the browser history using `pushState`. This\nis an alternative to the PJAX library: \n\nUse either if you have an irrational aversion to page reloads.\n\nSnark aside - jQuery Mobile uses a similar technique to cache entire pages in\nthe DOM and for page transitions.\n\n~~~\nchrischen\nOr use if your site plays music :).\n\n~~~\nDigitalSea\nBeverly Hills Cop MIDI track? Yes.\n\n------\nnchuhoai\nLove to try this out, especially the loading scripts feature.\n\nOne question though: Is there any setup i need to do, or does it just fit\nright in with my existing pjax set-up?\n\n~~~\nvdemedes\nNope, you just have to include joconut.js in the web page. It will do the\nrest.\n\n------\ncmer\nCould you explain what the benefits are over plain ol' vanilla PJAX? Thanks!\n\n~~~\nvdemedes\n1\\. No need to set up, just script tag\n\n2\\. 1kb minified and gzipped\n\n3\\. Auto-load of additional JS and CSS from new pages, if needed\n\n"} {"text": "\nWhy ancient Roman graffiti is so important to archaeologists - akakievich\nhttp://www.redorbit.com/news/science/1113411831/why-ancient-roman-graffiti-is-so-important-to-archaeologists-010516/\n======\nexistencebox\nAt the risk of nitpicking: \"Meanwhile, every female Roman voice has been lost\nto time.\"\n\nI bring this up less to bang on some diversity card, and more that it seems\nvery far from true? (Yes, they were a vast minority, but 'lost to time' seems\nquite overwrought) In terms of poetry we have Sulpicia (both of them) and then\nlots of miscellaneous daily writings e.g. the diary of Vibia Perpetua; and of\ncourse Lucretia and Fulvia if we're talking public figures...\n\nAnd the additional quote of female homosexuality being universally abhorred\nalso seems to be misaligned with what I was taught, but my memories of this\nare both fuzzier and from my days in university, so I'd be more than willing\nto be proven wrong. (The obvious argument in my favor is the amount the of\nattention garnered by the supposed lesbian (both in location and sexual\npractice) Sappho) My take on it was that there was as much of a distribution\nin terms of outlook on sexual practices as there is today, albeit very\ndifferently weighted.\n\nThat all being said, roman graffiti is _amazing_ as a view into \"normal\npeople\", the article leaving out the fact that gives me a good (but immature)\nchuckle, that a large amount of graffiti included simply crude drawings of\npenises.\n\n~~~\nktRolster\n\n > that a large amount of graffiti included simply crude drawings of penises.\n \n\nWhile reading your comment, I literally could not stop myself from thinking of\nthis. teehee\n\n------\nmwfunk\nThe advertising on redorbit.com (desktop site) is utterly preposterous- in\nterms of the quantity, quality, and repetition, and the relentless popups. I\nusually get annoyed when HN comments devolve into people discussing the page\nor the site rather than the contents of the story, but this is just absurd.\n\nI would normally assume that a site that looks like this has to be a domain\nsquatter's autogenerated site, or some sort of honeypot for distributing\nmalware.\n\nOr maybe I'm not getting the same experience everyone else is? If this is what\nit looks like to everyone, that's grounds for HN blacklisting redorbit.com\nlinks. I hope this is a screwup and not what the site owners are going for.\n\n~~~\nmwfunk\nWhat I'm seeing in this link: every image and every paragraph is followed by\nthe same Teleflora banner ad that scrolls open when you scroll past that image\nor paragraph. At some point an animated Revlon ad also appears which expands\nto fill the entire page. The sidebar and bottom of just about every page is\nconsumed by ginormous BS \"Trending now!\" links to \"25 celebrities you didn't\nknow posed topless!\" and \"The weight loss trick that they don't want you to\nknow!\" articles on other equally disreputable sites. The page for this article\nlooks like satire, it's so ridiculous and seedy and invasive. I wanted to read\nthe article, I really did.\n\n~~~\nb_emery\nHere, try this instead. Some hilarious stuff. No adds, i'm pretty sure it's\ncirca 1995:\n\n[http://www.pompeiana.org/Resources/Ancient/Graffiti%20from%2...](http://www.pompeiana.org/Resources/Ancient/Graffiti%20from%20Pompeii.htm)\n\n~~~\nGnarfGnarf\n_\" Gaius Pumidius Dipilus was here on October 3rd 78 BC\"_\n\nThat's apocryphal, right? How did he know it was \"BC\"?\n\n~~~\nlostlogin\nIt gets weirder when you consider that Christ was most likely born between 7\nand 2 BC.\n\n------\narethuza\nAnother great bit of ancient graffiti are runes carved by some Vikings\nsheltering inside the ~4800 year old tomb of Maeshowe on Orkney:\n\n[https://en.wikipedia.org/wiki/Maeshowe](https://en.wikipedia.org/wiki/Maeshowe)\n\n _\" He is a viking...come here under the barrow\"_\n\n[http://www.orkneyjar.com/history/maeshowe/maeshrunes.htm](http://www.orkneyjar.com/history/maeshowe/maeshrunes.htm)\n\n~~~\nktRolster\nAlong the coast of Norway, outside Troms\u00f8, I found these ancient stone\ndrawings:\n\n[http://i.imgur.com/2ago5A9.jpg](http://i.imgur.com/2ago5A9.jpg)\n\n[http://i.imgur.com/YaIIXdP.jpg](http://i.imgur.com/YaIIXdP.jpg)\n\nIncluding the one of a six-legged cow (with three horns). I have no idea why\nthe Norwegians wanted to draw a six-legged cow, but I assume it must have some\nsignificance. If anyone has any ideas, I would love to hear them.\n\n~~~\nriffraff\nI would have interpreted the third horn as ears.\n\nTwo hypothesis on the six legs:\n\n* an oddity, this things sometimes happen and might have been interpreted as good or bad omens, worth recording. The positioning (mid-flank rather than at the bottom, like the others) seems consistent with similar cases I have seen. Random internet result: [http://www.huffingtonpost.com/2012/01/25/6-legged-lamb_n_123...](http://www.huffingtonpost.com/2012/01/25/6-legged-lamb_n_1232176.html#gallery/22942/0)\n\n* maybe those are not extra legs of the top animal, but horns of the bottom animal (who also has 4 short legs), maybe recording when some ram or species of deer charged into a much larger cow? Though the horns would be out of proportion, and I'd expect them to be curved.\n\n------\nmatco11\n>\"These places weren\u2019t necessarily vast repositories of lost literature, but\nthe eruption froze them nearly perfectly in time, preserving them for nearly\n2,000 years\u2014and preserving thousands of pieces of graffiti along with them.\"\n\nActually, Pompeii and Herculaneum are precisely one of the largest and most\nprecious repositories of lost ancient literature.\n\n[http://ancphil.lsa.umich.edu/-/downloads/papyri/JankoRecentD...](http://ancphil.lsa.umich.edu/-/downloads/papyri/JankoRecentDevelopments.pdf)\n\n[http://www.newyorker.com/magazine/2015/11/16/the-\ninvisible-l...](http://www.newyorker.com/magazine/2015/11/16/the-invisible-\nlibrary)\n\n------\nchrstphrhrt\nUmm what? \"[Pompeii and Herculaneum] weren\u2019t necessarily vast repositories of\nlost literature\"\n\nNot sure about Pompeii, but Herculaneum had the villa of Piso with tons of\nscrolls from Philodemus, who totally fleshed out the ideas of Epicurus, upon\nwhose atomism all of modern science is based.\n\n~~~\nthaumasiotes\n> Epicurus, upon whose atomism all of modern science is based.\n\nIt is difficult to comprehend the kind of confusion of ideas that could\nprovoke such a statement.\n\nModern science makes no reference to Epicurean atomism, other than in the\nhistorical choice of the _word_ \"atom\" to refer to something that Epicurus\nwasn't talking about.\n\n~~~\nchrstphrhrt\nOkay. Then I'd be interested to know about atomism after Lucretius and before\nthe renaissance. Who was the first modern \"inventor\" of it?\n\nMy comment was meant to express alarm that anyone could say there was no lost\nlibrary buried by Vesuvius.\n\nHere it is:\n[https://en.wikipedia.org/wiki/Villa_of_the_Papyri#Epicureani...](https://en.wikipedia.org/wiki/Villa_of_the_Papyri#Epicureanism_and_the_library)\n\n------\nrjbrock\nI love this type of stuff, because it is an insight into the way that normal\npeople (ie. not royalty) lived.\n\n------\ncolanderman\nAbsolutely unreadable on mobile; the site just keeps scrolling itself back to\nthe top.\n\n~~~\nlostlogin\nWhat OS? iOS and Crystal make it just fine. It's a pity add block isn't a\ndefault position for everyone.\n\n~~~\ncolanderman\nAndroid.\n\n"} {"text": "\nTrump issues executive orders with effective bans of TikTok, WeChat - lvturner\nhttps://www.cnet.com/news/trump-issues-executive-orders-with-effective-bans-of-tiktok-wechat/\n======\nTraster\nI would imagine this is going to be struck down by a court not because he\ndoesn't have the power to do this, but because he'll have failed to adhere to\na fair process in coming up with this - the same reason that his DACA decision\nwas over-turned by the supreme court.\n\n------\ntellarin\nThis also potentially has many ramifications in different industries. Tencent\n(owner of WeChat) is a big investor in media and entertainment companies. One\nside effect, for example, is blocking financial payments to Riot Games, Epic\nGames, Fortnite, and half the gaming industry.\n\n~~~\njimmygrapes\nThe current wording seems to apply only to transactions involving WeChat,\nleaving Tencent's other holdings alone... for now.\n\n------\nnicbou\n> The concern stems from the data that TikTok and WeChat collects on their US\n> users, as well as the perceived inability of Chinese companies like\n> ByteDance and TenCent to reject requests from China's ruling Communist Party\n> (CCP) access that data\n\nIsn't this exactly what US companies have been doing to their users? Isn't it\nalso what the US government has been trying to achieve for years?\n\nAs a European user, it looks as if the pot is calling the kettle black.\n\n~~~\naeternum\nYes, but hasn't China also forced US companies (and probably European\ncompanies as well) to sell parts of themselves in order to continue operating\nin China?\n\nThis can also be interpreted as a way to even the playing field.\n\n"} {"text": "\nPasswordless authentication is here: new Yubico FIDO2 key - rdslw\nhttps://www.yubico.com/2018/04/yubico-and-microsoft-introduce-passwordless-login/?source=me\n======\nrconti\nCan someone help me understand how this is different from the existing YubiKey\nproducts, which I've used?\n\n* Passwordless single factor with AD integration (couldn't this already be done by storing your password on the key?)\n\n* 2factor auth with the token as one of the factors.\n\nFrom the article:\n\n\\-----------\n\nSingle Factor: This only requires possession of the Security Key to log in,\nallowing for a passwordless tap-and-go experience.\n\nSecond-Factor: In a two-factor authentication scenario, such as the current\nGoogle and Facebook FIDO U2F implementations, the Security Key by Yubico is\nused as a strong second factor along with a username and password.\n\nMulti-Factor: This allows the use of the Security Key by Yubico with an\nadditional factor such as a PIN (instead of a password), to meet the high-\nassurance requirements of operations like financial transactions, or\nsubmitting a prescription.\n\n~~~\nfreeone3000\n\"Passwordless\" single factor done by storing your password on the key isn't\npasswordless. You have a password. U2F replaces the password with a \"bearer\"\nauthentication token - it's two-factor auth without the password, instead of a\npassword-manager based approach.\n\nThe actual announcement in this blog post is Azure AD and Windows 10\nintegration, not anything new by Yubico.\n\n~~~\nbonestamp2\nIn the \"passwordless\" scenario... if someone stole your yubikey, could they\naccess anything you had authenticated it for?\n\n~~~\nrconti\nand/or could they press the button in a terminal and get your token printed\nout in plaintext, in a way that could be reused?\n\n~~~\nLammyL\nIn single factor mode (passwordless), your token is your password. So if you\nlose it, someone could access your accounts if they know your username.\n\nThe USB tokens don\u2019t store a password, they store a master key pair, and then\nderives a site-specific key pair based on the URL you are connecting to. The\nsite issues a challenge and the token signs it. This prevents replay attacks,\nand there is no way to export the secrets from the token. There is also no way\nto authenticate to a site by just having the key plugged in - you have to\npress the button on it. There is no way through software, even low level usb-\nhid commands, to trigger the button press.\n\nOverall it\u2019s really well designed and more secure than passwords, even in\nsingle factor mode.\n\nThe major downsides are that it requires browser support, and doesn\u2019t work\nwith iOS.\n\n------\ncmurf\nThis is what I want for family members: the end to passwords and the end to\nusing Facebook (or even Google for that matter) to authenticate logins. I\ncontinue to lament the end of Mozilla Persona.\n\n------\neganist\nLegal wonks:\n\nI know biometric identification isn't afforded the same protection by law on\nthe basis that biometrics are public (e.g. fingerprints are left everywhere),\nbut what about physical keys? FIDO2 is entirely analogous to a physical key,\nand it's not exactly public the way biomtrics are.\n\nI'd still prefer a password for that added 5th amendment layer of protection,\nbut I'm looking for what legal minds think about this right now.\n\n"} {"text": "\n\nThe \"Soft Maximum\" function - epe\nhttp://www.johndcook.com/blog/2010/01/13/soft-maximum/\n\n======\nmcantor\nThis is my problem with mathematics. The concept of a \"soft maximum,\" the\nprinciples behind calculating it, and its startling similarity to a hard\nmaximum, are all fascinating and exciting to me. Look at that! Two completely\nseparate functions, and such magical results. According to this post, it's\nuseful for \"convex optimization.\" I clicked through to the \"related post,\"\nwhich was merely a comment about someone else's opinions on \"convex\noptimization,\" so I looked it up on Wikipedia:\n\n\n\nAh! A technique used to \"minimize convex functions.\" Maybe some of this\nnotation will make sense to me if I understand the underlying concept of\nwhatever a \"convex function\" is.\n\n\n\nGreat. An entire article that is completely and utterly meaningless to me. I\nmean, absolutely nothing in that article--oh! \"Convex sets?\" That looks\npromising.\n\n\n\nJackpot! The pretty pictures make the idea of a convex set clear to me.\nUnfortunately, by now I'm 4 clicks away, and my actual understanding of the\nsubject is clearly just scratching the surface. Connecting my newfound--and\nobviously still naive--understanding of convexity* to \"soft maximums,\" which\ninitially inspired this search, feels dumbfoundingly impossible.\n\nAm I approaching this all wrong? Am I expecting too much? Thinking too little?\nI would love to understand more about this subject, and I have tried to learn\nit the same way I learned how to program: by Googling and working on my own\nproblems. However, the resources simply don't seem to be there in the same\nway. What's the deal, here?\n\n* Would it be more accurate to say \"Euclidian convexity?\" What would that mean, exactly?\n\n~~~\nfgimenez\nTrying to learn math from Wikipedia is like trying to learn English from the\ndictionary.\n\nAs far as the subject matter goes, a convex function can just be thought of as\na function with a global maximum/minimum and no other local maximum/minimum.\nI.E. The derivative is zero in only one place which is the global max/min.\nThese functions can then be easily optimized by taking their derivatives and\nfinding the zero. It is a really nice way to optimize a problem.\n\n~~~\nntownsend\nNo, in this case, a convex function is one where you can draw a straight line\nbetween any two points on its graph and not have the line intersect the graph\nat a third point.\n\n~~~\npieceofpeace\nYou are not contradicting what fgimenez said, its the same condition stated\ndifferently.\n\nedit: if two statements are not essentially same (and I am wrong), could you\nplease explain it.\n\n~~~\njamii\nThe logarithm function is convex by this definition but has no maximum/minimum\npoint and never has 0 derivative.\n\n------\nimurray\nThe soft maximum often comes up when dealing with probabilistic models and in\nneural networks. I'm surprised that a blog that has been highlighting\nnumerical issues hasn't pointed out how the soft maximum should be _computed_.\n\nIf x is vector of values then the naive code is:\n\n \n \n log(sum(exp(x)))\n \n\nwhere exp operates elementwise. However, if even a single item of x is large\n(1000 say) this will return Inf. If x are log probabilities, where you want\nthe log of the sum of the probabilities (common), the elements of x might all\nbe less than -1000 (also common) and then the function will return -Inf.\n\nMany people have a function called logsumexp() kicking about to compute the\nsoftmax robustly. It will do something like:\n\n \n \n y = max(x);\n return y + log(sum(exp(x-y)));\n \n\nOne example, slightly more elaborate, Matlab implementation is in:\n[http://research.microsoft.com/en-\nus/um/people/minka/software...](http://research.microsoft.com/en-\nus/um/people/minka/software/lightspeed/)\n\n~~~\ndalke\nSee the followup posting\n\n------\ntjic\nThe huge flaw with this article: explaining WHY I would ever want to use a\nsoft maximum.\n\nYes, it \"sands off the corners\".\n\nWhy do I want that?\n\n~~~\nflipper\nThe article was possibly aimed at engineers or mathematicians so the author\nthought the benefits didn't need explaining.\n\nA soft maximum might be useful if you want a differentiable function that\nclosely approximates the max() function. By differentiable I mean you can work\nout the rate of change of the function at any point. With the hard maximum,\nthe rate of change at the hard edge is not defined. Nicer to have one function\nto represent the RoC and not have to worry about special cases.\n\n~~~\ntjic\nYep, I do have a CS degree, and I realized that the crisp corners are not\ndifferentiable ... but a short paragraph about that and giving a few real\nworld examples would have strongly improved the post.\n\n------\nramanujan\nThis is useful analytically, but one tradeoff here is that if this is in an\ninner loop, the exp/sum/log process will be a lot more expensive than a simple\nmax.\n\nFor proofs and stuff it can be invaluable to have a differentiable objective\nfunction, but in actual computation it's not always necessary.\n\n~~~\nroundsquare\nDepending on your application, a good compromise might be to use soft max if\nthe numbers are nearby and a hard max if they are very distant (though you'd\nneed to find a suitable definition of distant and nearby).\n\n------\nmitko\nAlso known as \"smoothed\" max/min which in my opinion is better name as it is\nmathematically more meaningful as the max function [NOT smooth] is\napproximated with a smooth function.\n\nThere is no such thing as soft function in mathematics! Please be consistent\nwhen naming...\n\n------\nshalmanese\nIs there a accepted modification to the function to make it scale invariant?\nI'm kind of weirded out by something that would spit out a different result if\ndid a unit change.\n\n~~~\nmemetichazard\nHere's an idea. Take the scaled function: g(x, y; k) = log( exp(kx) + exp(ky)\n) / k\n\nLet k be 1/max(x,y) so that you have:\n\ng(x,y) = log(exp(1)+exp(min(x,y)/max(x,y))*max(x,y)\n\nThere are some issues if the maximum value can be negative or zero, though.\n\n"} {"text": "\nThe Alt-Right Finds a New Enemy in Silicon Valley - gregorymichael\nhttps://www.nytimes.com/2017/08/09/business/alt-right-silicon-valley-google-memo.html\n======\njustforFranz\npathetic.\n\n"} {"text": "\nShow HN: PDFlower \u2013 Reflow PDF papers for small-screen reading - chengchang\nhttps://pdflower.com\n======\nchengchang\nThe majority of scientific and technical papers are delivered by the PDF file\nfor portable presentation. However, it difficult to read the PDF paper on\nsmall screen devices, such as tablets and eBook readers.\n\nSo I wrote PDFlower to reflow PDF papers for small-screen reading.\n\nCompared with plain-text extraction based tools, PDFlower reconstructs the\nobject level - columns, formulas, tables and figures - layout using some smart\nheuristics, and then renders them for new page size.\n\n~~~\nericmo\nExample pictures are kind of small, hard to see the quality of the result.\nAlso, I'd use this for a Kindle device, not an iPad, so it'd be also good to\nsee how it looks in a Kindle.\n\n~~~\nchengchang\n\\- The output is a reflowed PDF. It keeps 'PDF quality'. \\- Any PDF\nreader/device could display new version paper technically. \\- Kindle has\nsupported.\n\n------\naw3c2\nDoes anyone know an open-source solution for this? What I read is no one's\nbusiness and I would never used a web-hosted service for something like this.\n\n~~~\njasim\nk2pdfopt works ok for me.\n\n(bash function)\n\n \n \n tokindle () {\n ~/Software/k2pdfopt $* -dev kpw -mode fw -wrap -hy -ws 0.375 -ls-\n }\n\n~~~\nnattaylor\nThere's also koreader, which just uses k2pdfopt on the fly.\n\n~~~\njasim\nkoreader looks fabulous! Last time I checked, the Paperwhite could not be\njailbroken. But it no longer seems true. Thanks for the link.\n\n~~~\nredwards510\nYes! All versions can now be easily jailbroken. The main features (to me) are\ninstalling KOReader to view epubs and pdf files, and hacking the screen saver\ndisplay. The process only takes about an hour, mostly because you are reading,\ndoublechecking, and downloading the right files. This guide[0] is a very good\noverview. I find mobileread's site to be too wordy and difficult to follow.\n\n[0] [http://lifehacker.com/how-to-jailbreak-your-\nkindle-178386407...](http://lifehacker.com/how-to-jailbreak-your-\nkindle-1783864074)\n\n~~~\nvoltagex_\nWhich version would you buy if you were buying a Kindle today? I only owned\nthe one before the DX... managed to crack the screen in an unfortunate elbow-\nrelated incident.\n\n~~~\njasim\nPaperwhite has been really good to me. Both Oasis and Voyage look great as\nwell - they have higher resolution than the Paperwhite. And they have real\nbuttons to move between pages, so if I were buying a Kindle today I'd buy one\nof them depending on my budget (Oasis is more expensive, but slimmer).\n\n~~~\ndustinblake\nCurrent (and previous) generation Paperwhites have the same resolution as the\nVoyage and Oasis. I have a Paperwhite and the screen is fantastic. I'd love\nhardware buttons for page turning, though.\n\nWhile the Oasis is expensive, if you add a nice cover to the Voyage you're\nclose in pricing. Either go solidly midline with the Paperwhite or go all out\nwith the Oasis, depending on your budget.\n\n------\ndaphreak\nI would like a \"pricing\" and a \"privacy policy\" link on the front page.\nProbably won't spend time trying it out due to the omission.\n\nLuckily there are interesting self-hosted / local options mentioned in this\nthread.\n\n~~~\nfranciscop\nExactly the same here. I won't go through the [maybe] lengthy process of\ncreating a new account to get a paywall then. Same goes with the privacy\npolicy, I don't want to use it with my own PDFs and lose their rights or with\nother people's and screw things legally.\n\n------\nanigbrowl\nVery cool. How hard would it be to go in the opposite direction? When I'm\nusing a desktop or a laptop computer it's most annoying that almost all news\nsites, blogs, eg. optimize for a portrait orientation. I can only see a\nrelatively small amount of text so I have to scroll constantly, despite the\nacres of available whitespace to either side. It's really annoying when\nreading anything complex where you'd want to refer back to previous sentences\nor paragraphs frequently to make sure you've understood the substance\nproperly. I would love to be able to reflow into 3 or 4 columns though...\n\n~~~\nchengchang\nThanks for your comment.\n\nThe PDF format will ignore some structures of paper and `draw` contents on a\nfixed-layout flat document. For a char, e-readers cannot know it belongs a\nparagraph, a figure caption or a formula. Plus, publishers render original\npaper with the specific style. It is a problem. Some research concentrate to\nimprove PDF format, extract infos for scholarly papers, like articles on\nDocEng - a compute science conference:\n[http://dl.acm.org/event.cfm?id=RE135](http://dl.acm.org/event.cfm?id=RE135).\nThen I read the spec of PDF format...\n\nAnyway, that's hurt.\n\n------\neb0la\nThat's the feature Kindle PDF reader should have built in from beginning.\n\nWaiting in the queue for my account.\n\n~~~\ndiab0lic\nUnfortunately the kindle is optimizing for users buying Amazon content, not\nfor being the best general purpose eReader. This incentive mismatch between\nAmazon and the end users is probably why we will never see such a feature\nbuilt in.\n\n~~~\nsemi-extrinsic\nIf you jailbreak your Kindle and install Koreader (mentioned upstream) you can\nhave high quality PDF reflow, with support for two-column layouts as well as\nmath and displayed equations, on your Kindle today.\n\nHere are some example images:\n\n[http://www.epubor.com/how-to-install-and-use-koreader-on-\nkin...](http://www.epubor.com/how-to-install-and-use-koreader-on-kindle.html)\n\n~~~\nComputerGuru\nWow, that's quite the (both) useable and useful software - thank you for the\nlink. I'm not normally part of the \"x should buy this out\" group, but in this\ncase, Amazon really should.\n\n~~~\nTeMPOraL\nNo, they shouldn't - because if it goes against their business interest\n(having Amazon-bought books look better than manually uploaded content),\nthey'll shut the project down.\n\n------\ntowelrod\nInteresting and I might have a use for this professionally. But there is no\nindication on the main page about how it works (web service? code library?).\nAnd it forced me to login on the second page, so I closed the tab.\n\n------\nedgartaor\nI thought I'd give it a try. But... Signup Queue? I had never seen anything\nlike that.\n\nSignup Queue\n\nHi, \n\n* You are on your way to PDFlower.\n\n* 269 people in front of you.\n\n* 0 people behind of you.\n\n* Sharing this referral link may change your position in queue. Have a try. \n\n~~~\nwccrawford\nI've seen that before. It's a pathetic attempt to force viral sharing. I never\nparticipate on principle.\n\n------\nscivey7\nThis is something I haven't found an ideal solution for yet. There are\nexisting iOS PDF readers with reflow, but each seems to have its own issues.\n\nTo echo what others have said, this is an actual pain point and I'm very\nwilling to spend money on a solid solution. I've bought a few different PDF\nreaders just on the chance their reflow would be better than what I've found\nelsewhere.\n\nSo I clicked on your link pretty ready to throw money at you, but I'm not sure\nwhat I'm looking at. Is this an iOS app? Android app? It seems like some kind\nof service, since it wants me to login, but I can't tell.\n\nConsider working on the messaging and then reposting this. There's definitely\na market.\n\n~~~\nyaroslavyar\nCould you please name it?\n\n------\nsaint-loup\nAdobe Reader has a little-known function similar to this. Go to Display > Zoom\n> distribute (the last entry). It works reasonably well with simple, clean\ndocuments. You can check wether the document is compatible in its property\npanel.\n\n------\nadrianh\nIf you're interested in doing this for sheet music (sort of a similar-ish\nproblem), check out my product soundslice.com. Auto-reflowed sheet music\ndepending on your device width.\n\n------\nldenoue\nI'm also working on this PDF reflow and posted a video demonstration on my\ntwitter. Ping me if you would like to test:\n[https://twitter.com/ldenoue/status/785142066665971713](https://twitter.com/ldenoue/status/785142066665971713)\n\n------\nMidoAssran\nCool concept. This should be built into all smartphones and tablets and\nautomatically run when they open PDFs.\n\n------\nestrabd\nI just want something that'll collapse 2 columns into 1.\n\n------\nisrarkhan\nwould be great, if you could provide a guest account to try it out. I closed\nthe window as soon as I saw the signup form..\n\n------\nchrismorgan\nAh, reminds me of the Celery tool Flower, pronounced flow-er rather than\nflour. How is this one supposed to be pronounced?\n\n------\nnmca\nJust want to comment that if this worked well I would pay for it. Probably up\nto ~5 or maybe even 10 dollars a month.\n\n~~~\nldenoue\nI'm working on a similar system. Would you like to test it?\n[https://twitter.com/ldenoue/status/785142066665971713](https://twitter.com/ldenoue/status/785142066665971713)\n\n"} {"text": "\nAsk HN: How are you productive without a computer? - singularity2001\nImagine it's a lovely day, you want to spend it outside and still boost your company (or project). What can you do? (If you exclude talking and reading)\n======\nbaccheion\nA large (artist's) sketchpad, brainwave entrainment (or silence), and time\nspent thinking, reflecting, synthesizing, etc.\n\nAs someone who's been constantly on the computer since I was 12 (30 now), I\nlearned early on that it's good to know when I'm spinning in circles blindly\nmore than progressing, and to then move away from it to a quiet place (maybe\nI'll pace around the living room, or work at the kitchen table), then work in\n\"low tech silence.\"\n\nAs a programmer/designer, there tends to be a lot of conceptual thinking and\nsynthesis involved with what I'm doing, which can often be done (better, even)\naway from the computer. When I'm on the computer, I'm either learning,\ndoing/implementing, or screwing around. Deep thinking happens (better)\nelsewhere.\n\n~~~\nJoeAltmaier\nI circle the parking lot, or the block if its a hard problem. Once I went\nclear around an 80-acre field before I had it solved (why the belly button on\nour spherical projection of 2D data).\n\n------\nNooance\nI'm currently sitting on a beach, in the shade, reading this post on my phone.\n(And also reading up and planning the marketing for my startup, and probably\nwriting a Facebook post and a blog post soon. Edit: Nope, still reading HN.\nIt's getting cold though. Should've brought a blanket.)\n\nI wouldn't universally recommend typing on your phone, but I'm (relatively)\nfast at it, and I can do it wherever. The limiting factor is formulating and\nsuch anyway, for me.\n\nMy current view: [https://m.imgur.com/cMXoY7H](https://m.imgur.com/cMXoY7H)\n\n------\nRUG3Y\nThinking and generating ideas for me is easier without a computer. Computers\nare distracting. The more I practice thinking and writing my ideas down, the\nbetter I become at having thoughts that are useful. It's pretty elementary\nstuff, but I think the conundrum is that it doesn't feel immediately\nproductive. This kind of thinking marinates and adds value to your work over a\nlong period of time, versus something like answering an email, which has\nimmediate results but usually is of little value.\n\n------\nmanibatra\nI would say exercise. A jog or a swim. Exercise has boosted my productivity a\nlot. Enabled me to work longer hours. Helps me be in a better mood and just\nfeel healthy which spills over to my work.\n\n------\nLarryMade2\nSheet of paper and optionally a writing instrument. Otherwise some thing that\nyou can find interesting to observe or study. If failing that, random reading\nmaterial.\n\nIdeas come from anywhere.\n\n------\nstephenr\nI find riding my bike gives me great thinking time (once you have a regular\nroute that you can ride without getting lost/know where to look out for\ndangerous traffic).\n\nAlso, gardening/diy work that's not overly complex can let your mind wander a\nbit. I find it works both ways - I think about solutions to diy/garden\nproblems while at my desk and software problems with a shovel/hammer/etc in my\nhands.\n\n------\npartisan\nI took my notebook out the other day at a coffee shop after my laptop battery\ndied. I sat at an outside table and thought about a performance issue we were\nfacing and came up with a solution in about 15 minutes. That was way more\nproductive than the 15 minutes on my laptop would have been.\n\n------\nnewman8r\nintrospection, meditation, and pondering your big picture - think about your\nproject - what about your project is stressing you out? what can you do\ntomorrow to address the components that you're not comfortable with?\n\n------\nAnimalMuppet\nI use a pen and a pad of paper. But I have to have the right kind of problem -\nmore of a big-picture issue. I can't be trying to do something that requires\nclose interaction with the code.\n\n------\nmeric\nMeditation to keep the mind up for the next day.\n\n------\nmtmail\nI guess that leaves thinking and writing.\n\n~~~\nsingularity2001\nAnd drawing. And recording your promo video ...\n\n------\ntmaly\nI exercise, go for a walk.\n\nI also have a sketch pad where I can work out ideas on paper.\n\n"} {"text": "\n\nAuto Smiley Generator - huhtenberg\nhttp://fffff.at/auto-smiley\n\n======\ncallahad\nReminds me of Andi Albrecht's mercurial hook [0] which posts a photo from your\nwebcam to Twitter whenever a merge fails.\n\n[0]: [http://andialbrecht.wordpress.com/2009/05/09/when-merging-\nfa...](http://andialbrecht.wordpress.com/2009/05/09/when-merging-fails/)\n\n------\ntoisanji\n:) just tried it, its pretty cool, but has a lot of false negatives. Opening\nmy mouth was enough to trigger a smile and I can't even make a real smile. It\nwas cool that it have a false trigger when I frowned.\n\n~~~\neam\nSo :D => :) ?\n\n~~~\nalagu\nI don't think it is able to differentiate type of smileys. Only :). No :o, :p\nor :D\n\nBut damn cool app :)\n\n------\nhkuo\nHilarious. Doesn't seem that useful as evidenced by him not being able to not\nsmile. He should make an LOL version of this though!\n\n~~~\nnym\nThere are all sorts of uses! For example, you could make a site called\nsmilelinks that is automatically generated based off the webpages that make\nyou smile. My guess is cuteoverload would dominate the list.\n\n------\nkhelloworld\nNice demo to learn openFrameworks from. Cool app too.\n\n------\nnym\n:)\n\n------\napsurd\nUpvoted for happiness inducing factor! yay =)\n\n~~~\ncalcnerd256\nIs that akin to saying \"It made me smile.\"?\n\n~~~\napsurd\nyes.\n\n"} {"text": "\n\nDrafts of Chapters 5\u20138 from the Rails Tutorial 3rd Ed. - mhartl\nhttp://news.railstutorial.org/rails_tutorial_draft_second_launch/\n\n======\nmhartl\nThe newly released chapters are substantial, and should be enough to keep\nreaders busy for a while. I hope to release drafts of the final four chapters\nsome time in the next week or so.\n\n(Note to the curious: No, I can't write chapters this fast. It takes me two\nweeks to write a chapter from scratch, a few days for a major editing pass,\nand half a day to do the final edit. All the draft chapters had been through\nat least a major editing pass before the [main\nannouncement]([http://news.railstutorial.org/rails_tutorial_3rd_edition/](http://news.railstutorial.org/rails_tutorial_3rd_edition/))\nlast week.)\n\n------\ncmaxwe\nIs there anything similar to Rails Tutorial for a JS MEAN stack?\n\n"} {"text": "\nCan AI Become Conscious? - MindGods\nhttps://cacm.acm.org/news/244846-can-ai-become-conscious/fulltext\n======\n_Microft\nI can not _not_ think about J. Schmidhuber's thoughts on consciousness\nwhenever the topic comes up:\n\n _As we interact with the world to achieve goals, we are constructing internal\nmodels of the world, predicting and thus partially compressing the data\nhistory we are observing. If the predictor /compressor is a biological or\nartificial recurrent neural network (RNN), it will automatically create\nfeature hierarchies, lower level neurons corresponding to simple feature\ndetectors similar to those found in human brains, higher layer neurons\ntypically corresponding to more abstract features, but fine-grained where\nnecessary. Like any good compressor, the RNN will learn to identify shared\nregularities among different already existing internal data structures, and\ngenerate prototype encodings (across neuron populations) or symbols for\nfrequently occurring observation sub-sequences, to shrink the storage space\nneeded for the whole (we see this in our artificial RNNs all the time). Self-\nsymbols may be viewed as a by-product of this, since there is one thing that\nis involved in all actions and sensory inputs of the agent, namely, the agent\nitself. To efficiently encode the entire data history through predictive\ncoding, it will profit from creating some sort of internal prototype symbol or\ncode (e. g. a neural activity pattern) representing itself. Whenever this\nrepresentation becomes activated above a certain threshold, say, by activating\nthe corresponding neurons through new incoming sensory inputs or an internal\n\u2018search light\u2019 or otherwise, the agent could be called self-aware. No need to\nsee this as a mysterious process \u2014 it is just a natural by-product of\npartially compressing the observation history by efficiently encoding frequent\nobservations._\n\n[https://old.reddit.com/r/MachineLearning/comments/2xcyrl/i_a...](https://old.reddit.com/r/MachineLearning/comments/2xcyrl/i_am_j%C3%BCrgen_schmidhuber_ama/cp44iba/)\n\n~~~\nXenograph\nYou are conflating consciousness[1] with self-awareness[2]. They are two\ndistinct ideas.\n\nIn fact the second/third sentence on the Wikipedia page for self-awareness is:\n\n> It [self-awareness] is not to be confused with consciousness in the sense of\n> qualia. While consciousness is being aware of one's environment and body and\n> lifestyle, self-awareness is the recognition of that awareness.[2]\n\n[1]:\n[https://en.wikipedia.org/wiki/Consciousness](https://en.wikipedia.org/wiki/Consciousness)\n\n[2]: [https://en.wikipedia.org/wiki/Self-\nawareness](https://en.wikipedia.org/wiki/Self-awareness)\n\n~~~\nbreckinloggins\nExactly.\n\nOne of my more vivid memories is excitedly opening my copy of Jayne's \"The\nOrigins of Consciousness in the Breakdown of the Bicameral Mind\" and being\ndismayed as it slowly dawned on me that Jayne's entire book was based on this\ncategory error.\n\nFor the life of me I can't understand why people don't understand this\ndistinction (or choose to ignore it).\n\nI can only assume that people ignore the very obvious \"magical thing\" that is\nhappening in their own heads due to ideological commitments to physicalism or\nsomething.\n\n~~~\ntasty_freeze\nWhat is this magical thing that is so obvious to you? Something may seem\nmagical without being magical. To the person who survives a tornado while all\nhis neighbors die, the sense they were chosen to live and have a special\npurpose can be compelling, but is false.\n\nMaterialism can't explain everything, but there is yet to be any proof that\nmagic explains anything. Lacking that, assuming a physical basis as the\nexplanation is prudent.\n\n~~~\ndr_dshiv\n\"assuming a physical basis as explanation is prudent\" yeah, good luck making\nphysicality relevant for most explanations. My wife asks why I didn't put the\nlaundry away, for instance. \"Physics!\" I declare triumphantly.\n\nNow, if I put music on and rub her back a bit... Well, ha! There's the magic,\nmy good sir.\n\nImagine walking into a film studio with the idea of film production based\nexclusively on the principles of physics. No. Magic and physics are no more\nopposed than biology and physics. When hidden (psychological?) forces clearly\nunderlie economically valuable phenomena (architecture, music, media, etc)\nrespecting the magic is closer to the truth than reducing it to physics.\nPhysics just isn't the right explanatory level.\n\nIf you'd like to learn more about definitions of magic that aren't \"phenomena\nthat don't actually exist\", I recommend Penelope Gouk's work on music, science\nand natural magic in the 17th century. It's about the magic involved at the\nformation of the Royal Society.\n\n~~~\nKoshkin\nphysicality _n._ obsession with physical urges\n\nOn the subject, you are making a good point comparing social behavior with\nmental activity. Just like there is no \u201cmagic\u201d in the way people interact with\neach other, there is no magic in how neurons do the same.\n\n~~~\ndr_dshiv\n> Just like there is no \u201cmagic\u201d in the way people interact with each other,\n> there is no magic in how neurons do the same.\n\nExcept I am arguing that there _is most definitely_ magic in human\ninteraction.\n\n------\nAnimats\nIt's nice that someone now has the neural wiring diagram for part of a mouse\nbrain. But we have the full wiring for a thousand-cell nematode, and OpenWorm\nstill doesn't work very well.[1] OpenWorm is trying to get a neuron and cell\nlevel simulator for what's close to the simplest creature with a functioning\nnervous system - 302 neurons and 85 muscle cells. That needs to work before\nmoving to more complexity.\n\n[1] [http://openworm.org/](http://openworm.org/)\n\n~~~\njimfleming\n> That needs to work before moving to more complexity.\n\nIt really depends on what level of abstraction you care to simulate. OpenWorm\nis working at the physics and cellular level, far below the concept level as\nin most deep learning research looking to apply neuroscience discoveries, for\nexample. It\u2019s likely easier to get the concepts of a functional nematode model\nworking or a functional model of memory, attention, or consciousness than a\nfull cellular model of these.\n\nMore specifically, a thousand cells sounds small in comparison to a thousand\nlayer ResNet with millions of functional units but the mechanics of those\ncells are significantly more complex than a ReLU unit. Yet the simple ReLU\nunits are functionally very useful and can do much more complex things that we\nstill can\u2019t simulate with spiking neurons.\n\nThe concepts of receptive fields, cortical columns, local inhibition, winner-\ntake-all, functional modules and how they communicate / are organized may all\nbe relevant and applicable learnings from mapping an organism even if we can\u2019t\nfully simulate every detail.\n\n~~~\nReelin\nThe trouble is that (assuming sufficient computational power) if we can't\nsimulate it then we don't really understand it. It's one thing to say \"that's\ncomputationally intractable\", but entirely another to say \"for some reason our\ncomputationally tractable model doesn't work, and we don't know why\".\n\nPresent day ANNs may well be inspired by biological systems but (as you noted)\nthey're not even remotely similar in practice. The reality is that for a\nbiological system the wiring diagram is just the tip of the iceberg - there's\nlots of other significant chemical things going on under the hood.\n\nI don't mean to detract from the usefulness of present day ML, just to agree\nwith and elaborate on the original point that was raised (ie that \"we have a\nneural wiring diagram\" doesn't actually mean that we have a complete\nschematic).\n\n~~~\njimfleming\nI'm aware of that and I've done quite a bit of work on both spiking neural\nnetworks and modern deep learning. My point is that those complexities are not\nrequired to implement many important functional aspects of the brain: most\nbasically \"learning\" and more specifically, attention, memory, etc.\nConsciousness may fall into the list of things we can get functional without\nall of the incidental complexities that evolution brought along the way. It\nmay also critically depend on complexities like multi-channel chemical\nreceptors but since we don't know we can't say either way.\n\nIt's a tired analogy but we can understand quite a lot about flight and even\nbuild a plane without first birthing a bird.\n\n~~~\nphilipov\nIt's easy to see if something flies or not. How would you know if your\nsimulation is conscious?\n\n~~~\nmirimir\nThis is, of course, the key problem.\n\nI mean, I know that I'm conscious. Or at least, that's how it occurs for me.\n\nBut there's no way to experience another's consciousness. So behavior is all\nwe have. And that's why we have the Turing test. For other people, though,\nit's mainly because they resemble us.\n\n------\nhackinthebochs\n> Any AI that runs on such a chip, however intelligent it might behave, will\n> still not be conscious like a human brain.... No. It doesn't matter whether\n> the Von Neumann machine is running a weather simulation, playing poker, or\n> simulating the human brain; its integrated information is minute.\n> Consciousness is not about computation; it's a causal power associated with\n> the physics of the system.\n\nThere are serious problems with this. Koch will have to explain how a\nsimulation of a brain can reproduce to perfect detail all the possible\nbehaviors of a brain without having an equivalent integrated information.\nPresumably integrated information is a property of the organization of a\nprocess, and as such it should have consequences for its set of possible\nbehaviors. So if the von Neumann system has constrained integrated\ninformation, its behavior should be constrained as well in some externally\nidentifiable way. But by assumption the simulation could be arbitrarily good.\nHow does Koch break this tension?\n\nThe other glaring issue is the fact that consciousness under this view has no\nexplanatory power for the system's behavior. If a non-conscious system can\nreproduce exactly the behavior of a conscious system, then there is nothing\n_informative_ to the behavior from the property of conscious; it is entirely\nincidental to a conscious system's behavior. It doesn't explain why a\nconscious subject winces with pain after touching a hot stove, nor why it\nlearns to never touch a hot stove bare-handed again. That's a pill too big to\nswallow.\n\n~~~\nKhoomeiK\nYeah, I didn't really understand the \"physics\" requirement as well. Sure if\nyou're measuring the integrated information of the hardware architecture it'll\nbe quite low, but why isn't the integrated information of the abstracted\nneural simulation software (which is presumably significantly higher)\nrelevant?\n\n~~~\nmannykannot\nKoch does not even seem to be consistent with hardware. A synapse is\nsufficiently complex, yet a transistor is not? He seems to be offering a\npeculiar panpsychism in which almost everything, _except_ transistors, has the\npotential for consciousness. It seems to be a remarkably tendentious view.\n\n~~~\nmannykannot\n...and thinking about this some more, one does not, of course, need\ntransistors to make a Turing-equivalent machine - one could, in principle, use\nneurons and synapses... or people. Koch's position, at least as he has\npresented it in this interview, seems utterly incoherent.\n\n~~~\nhackinthebochs\nAgreed. \"Integrated information\" is intrinsically substance independent. Yet\nfor some reason he doesn't grasp the obvious fact that a Turing machine\nrunning the right program would exhibit the same level of integrated\ninformation. His argument seems to require an extra ingredient to exclude\nprograms running on computers but it goes unstated. I have yet to see\nsomething that resolves the obvious incoherence.\n\n------\nNoodleIncident\n\"\"\" Let's imagine that we simulate the brain in all biological details on a\nsupercomputer. Will that supercomputer be conscious?\n\nNo. It doesn't matter whether the Von Neumann machine is running a weather\nsimulation, playing poker, or simulating the human brain; its integrated\ninformation is minute. Consciousness is not about computation; it's a causal\npower associated with the physics of the system. \"\"\"\n\nI don't understand how anyone could answer this question this way. It's\npractically a tautology; if the simulation is accurate, then the person you're\nsimulating is conscious. In other contexts, it's taken for granted that if\nthis entire planet were running on a simulation, we wouldn't even be able to\ntell.\n\nLess hypothetically, this \"consciousness-meter\" would give a different value\nfor a physical chip, and a perfectly accurate emulation of that chip. They're\ndoing the exact same thing, and your meter gives a different number? Why is\nanyone taking this person seriously?\n\n~~~\nYajirobe\nTo quote John Searle:\n\n\"Nobody supposes that the computational model of rainstorms in London will\nleave us all wet. But they make the mistake of supposing that the\ncomputational model of consciousness is somehow conscious. It is the same\nmistake in both cases.\"\n\n~~~\nbloak\nAccording to Wikipedia, John Searle is known for sexual assault, sexual\nharassment, and the \"Chinese room\" argument. I'm not sure with which of these\nhe's done the most harm, but I suspect he's done the most harm with his\n\"Chinese room\" argument, primarily through wasting people's time. See\n[https://en.wikipedia.org/wiki/Talk:Chinese_room](https://en.wikipedia.org/wiki/Talk:Chinese_room)\nfor some discussion, if you must, but I'd rather recommend people do something\nmore useful instead.\n\n~~~\nYajirobe\nCould you point out exactly where I can see a sound refutation to the 'Chinese\nroom'? I followed the wikipedia link but did not see any serious attempt to\nrefute it - just one guy echoing what you've said.\n\nYou sound a bit like many of the people who completely miss the point of the\nargument and insult it (or its author).\n\n~~~\nhackinthebochs\nThe Chinese room argument says that syntax cannot capture semantics since a\nman blindly executing rules to process Chinese symbols would not understand\nChinese. But the man isn't the the system that is purported to understand\nChinese. That's like saying the CPU in a computer doesn't have memory so your\ncomputer doesn't have memory. But of course that's wrong, other components of\nthe system provide the function of memory. Using properties of the CPU to\ndetermine properties of the system as a whole is a mistake.\n\nYou might recognize this as the system's reply for which Searle has a\nresponse. But his response is insufficient to save the argument as it merely\nequivocates on what \"the system\" is. The system is the set of rules and the\ndatabase of facts, some input/output mechanism, and some central processor to\nexecute the rules against the symbols. The system's reply says that the man\nblindly executing instructions is not identical to the system that understands\nChinese, namely the entire room. Thus properties of the man have no bearing on\nthe properties of the system; that the man does not understand Chinese has no\nbearing on whether the system as a whole understands Chinese.\n\nBut the man is still not \"the system\" when he memorizes the instructions and\nleaves the room. The system is some subset of the man, specifically only those\nbrain networks required to carry out the processing of the symbols.\nImportantly, these brain networks are different than what we take the man to\nbe. It is true that the man doesn't speak Chinese, but since the system\nprocessing symbols is still not identical to the man, properties of the man do\nnot bear on properties of the system. So still, the fact that the man blindly\nexecuting instructions doesn't speak Chinese does not entail that the system\ndoesn't speak Chinese.\n\n------\njavajosh\nAm I the only one who thinks the answer is _obviously_ yes, and that it's kind\nof a waste of time to ponder it? It reminds me of discussions of free will --\ncompletely boring because, even if we are all finite state machines (and we\nare, in some sense) then random inputs would mean we have free will and random\ninputs are assured by, for example, chaotic variations in the weather. In the\nsame way, consciousness is pretty clearly characterized by a pattern that is\nconstantly in motion, sensing both itself and the outside world. The only\nreason we think there's something magical about the phenomena is the residue\nof traditional religious beliefs.\n\nOne point against the traditional belief is that if you've ever read Aristotle\nyou might be shocked to learn that the Greeks of antiquity believed that\n\"soul\" was quite physical, expressing itself in blood, semen, etc. The\nmedieval characterization of mental illness as being an \"imbalance of the\nhumors\" comes from this early idea about how we work. Needless to say, the\ndefinition of soul has retreated entirely into the metaphysical, where it's\ncannot be disproven, by definition.\n\n~~~\ngfodor\nIt's not obviously yes, since we don't have an explanation for the experience\nof consciousness. Qualia truly is magical, unless you are in fact a p-zombie\nI'm talking to.\n\nWe also don't have an explanation for what I call 'the harder problem'\n[https://twitter.com/gfodor/status/1225230653932761088](https://twitter.com/gfodor/status/1225230653932761088)\n\n~~~\njavajosh\nI don't have an explanation for the experience of digesting food at the\ncellular level either. But I still do it. You don't have to _explain_\nconciousness to have it.\n\nAs for qualia, I'm reminded of the people coming to my door asking, \"Do you\nbelieve in Jesus?\" I reply, \"Do you?\" and when they assure me fervently that\nthey do, I follow up with, \"Well, okay, how do you know you do?\" I think you\ncould do the same with r/Jesus/qualia/g.\n\n~~~\nTrasmatta\nI don't understand where you're going with the analogy of digestion. Nobody is\nsaying you have to be able to explain consciousness for it to exist. And\nscience can easily explain the mechanism of digestion, but consciousness\nremains a mystery.\n\n~~~\njavajosh\nI don't think you need to _explain_ consciousness to have it, or to produce it\nin an AI. I suspect that an AI consciousness will be grown from a (reasonably\ncomplex) seed, more than constructed. And it will probably require a huge\namount of slow, human interaction at first. (Ted Chiang has a wonderful\nnovella called _The Lifecycle of Software Objects_ that is the only SF that I\nknow that explores this possibility).\n\n~~~\ngfodor\nYou suspect != it\u2019s obvious.\n\n~~~\njavajosh\nA couple of your comments seem to imply you think my claim is that concious AI\nis objectively obvious. I was only asking if there are others for who it seems\nobvious -- clearly there are many that don't, and I don't take issue with them\nor their position! It's just I always read articles like this and it just\nstrikes me as odd. I used an analogy in another comment about philosophizing\nabout the possibility of heavier-than-air flight prior to us actually doing\nit. Which was a strange thing to get all worked up about, in hindsight.\n\n------\nomarhaneef\nAll this is underpinned by your definition of conscious.\n\nI recall seeing Koch in debate with a philosopher (it was long ago I can't\nrecall but one of the big ones: maybe Searle or Dennet) and they were talking\npast each other.\n\nFor Koch, at least in this debate, consciousness was something akin to\nattention. For the philosopher, it was something else entirely (if I\nremembered, I might be able to guess who it was).\n\nConsciousness could mean: making a decision as opposed to having it pre-\nordained, or the experience of your senses, or \"feelings\" or knowing you are a\nself, or who knows what else.\n\nIt isn't just a computer science issue, it is a philosophical and linguistic\none too: just what do you mean by the word.\n\n~~~\nmannykannot\nScott Aaronson and Giulio Tononi debated IIT five years ago. Personally, I\nthink Aaronson had by far the stronger argument, and my much less analytical\nresponse to IIT is that it broadens the definition of consciousness to the\npoint of being uninteresting and unhelpful.\n\nFrom the article (Christof Koch's words):\n\n\"The theory fundamentally says that any physical system that has causal power\nonto itself is conscious. What do I mean by causal power? The firing of\nneurons in the brain that causes other neurons to fire a bit later is one\nexample, but you can also think of a network of transistors on a computer\nchip: its momentary state is influenced by its immediate past state and it\nwill, in turn, influence its future state.\"\n\nIn this view, a building with a thermostat would seem to be conscious to some\ndegree. I very much doubt that any amount of study of simple systems that fit\nthis definition will tell us anything useful about the sort of consciousness\nthat is displayed by, for example, humans.\n\n[https://www.scottaaronson.com/blog/?p=1799](https://www.scottaaronson.com/blog/?p=1799)\n\n[https://www.scottaaronson.com/blog/?p=1823](https://www.scottaaronson.com/blog/?p=1823)\n\n~~~\ncolordrops\n> In this view, a building with a thermostat would seem to be conscious to\n> some degree.\n\nI don't think this is as overly broad or bad of a definition as you presume. I\nrecall sitting at a laundromat one day, in a somewhat sleepy state\ndaydreaming, with the rhythm of the washing machine in front of me playing\nthrough my mind. My subconscious told me that the machine was conscious. I dug\ndeeper into that intuition, and realized I was seeing a bit of the inner\nworkings of the mind of the engineer that designed the algorithm. Not a\nperfect example, as I didn't know if the alg was closed-loop, but in any case,\nit made me realize that our minds are just large bodies of these algorithms\nworking together. We have some additional oracles, random data generators, and\nprobabilistic mechanisms thrown in as tools, but consciousness really is\nmechanistic and pluralistic.\n\nTo recreate it requires not only the qualitative aspects of a being that can\nthink, but also sufficient (read: vast) quantity of systems to get to a useful\ngeneral purpose thinking machine. There is no \"soul\" or special sauce or\nsingular definition of consciousness. It's an illusion.\n\n~~~\nmewpmewp2\nI personally don't understand how a logically and rationally thinking person\ncould get to a conclusion anything other than that we are a combination of\nalgorithms. So essentially we can in theory be simulated and there is nothing\nspecial about us. In this case the machine simulating us would be as conscious\nas ourselves.\n\nIt seems any other conclusion is just fooling oneself.\n\n~~~\ngoatlover\nReplace algorithms with math and you'll see that you're making a rather strong\nmetaphysical claim that is essentially Platonism.\n\n~~~\nmannykannot\nOne reaction to that statement might be \"so be it.\"\n\nI did not, however, come here to defend the idea that consciousness is an\nalgorithm. Personally, I consider it rather more plausible that a computer\nplus a random number generator might achieve consciousness through simulating\nthe sorts of physical processes that occur in a brain, and if it is a 'true'\nrandom number generator, rather than a deterministic PRNG, then we are no\nlonger talking about math, at least in the sense that you use to conclude\nPlatonism.\n\nOne might respond by saying that if the universe is deterministic, then there\nis no such thing as a 'true' random number generator, as distinct from a PRNG.\nMy understanding of the philosophical implications of QM, and its competing\ninterpretations, is insufficient for me to be sure whether the universe as we\nexperience it is deterministic, but regardless of whether it is or is not, I\nsuspect that the true hard problem of consciousness is 'why do we (feel that\nwe) have free will?'\n\n~~~\ngoatlover\n> I suspect that the true hard problem of consciousness is 'why do we (feel\n> that we) have free will?'\n\nFree will and consciousness are separate issues. You can potentially have one\nand not the other. What's important for free will is whether choice is free\nand what that freedom amounts to. What's important to consciousness is\nsubjectivity. You can feel pain while not having a choice about feeling that\npain, say if you were restrained and unable to do anything about it, just to\ngive an example.\n\nAnd potentially, a robot could be free to make choices while not feeling\nanything.\n\n~~~\nmannykannot\nI doubt that 'will', as it is commonly conceived, has any meaning, or at least\na very different one, for a non-conscious agent. It's similar to the way i\nthink IIS is clouding rather than clarifying the issue. For related reasons, I\nfeel that compatibilist positions on the issue are largely avoiding it.\n\nAs for subjectivity, I had more to say about it here:\n[https://news.ycombinator.com/item?id=23162714](https://news.ycombinator.com/item?id=23162714)\n\nRegardless of whether I am right or wrong on this, I think my other points in\nthis post (platonism, etc.) are independent of it.\n\n------\neximius\nTwo thoughts:\n\n1) without definition of 'AI' or 'conscious', all answers are correct. They do\ngo into a bit of depth on what 'conscious' means, but not what 'AI' means.\n\n2) there are a lot of related words here: conscious, self-aware, sentient,\nsapient, 'narrow AI', etc.\n\n> Let's imagine that we simulate the brain in all biological details on a\n> supercomputer. Will that supercomputer be conscious?\n\nThey say no, but fail to explore the more interesting corollary that the\nsupercomputer won't be conscious but the _program_ is, by their definition.\nIt's just one level of abstraction up from Matter -> Brain -> Mind to Matter\n-> Computer -> Simulated Brain -> Mind.\n\nI do find this definition of consciousness interesting from an ethical\nperspective, given their final thought experiments. It reminds me of the\nPresger, an alien race from the Ancillary Justice trilogy. They have the\nconcept of 'Significant' species that have rights and if you aren't, you're\nbasically inanimate matter or bugs or whathaveyou.\n\n~~~\nrunT1ME\nThought provoking stuff! How can someone talk about conciousness _existing_\nthen, without presupposing dualism?\n\n~~~\neximius\nOn the contrary, they are explicitly saying that consciousness is a function\nof the substrate, making them indivisible. One is a property of the other, by\ntheir reckoning.\n\n------\ndentalperson\nTwo philosophers are arguing. One says \"If a tree falls in the woods, there is\nno sound, because there is no one to hear it.\" The other says \"No, that's not\ncorrect. There is sound, because vibrations are created in the air.\" The first\nphilosopher agrees that there are vibrations in the air, and the second agrees\nthat without a human around, there will be no human perception of the\nvibrations. Yet they continue to argue without paying much attention to the\nfact that they are disputing the definition of the word 'sound'.\n\nI think Eliezer Yudkowsky suggested 'tabooing' the word in question for\nsituations like these, to force the discussion on the logical arguments\ninstead of the symbolic dead ends. In that case the word 'sound' was charged\nand raised emotions. 'Consciousness' and 'free will' certainly fall into that\ncategory.\n\n~~~\ncuriousgal\nA bit tangent but I've come the same conclusion listening to Supreme Court\noral arguments, most of them are based on contradicting definitions of certain\nwords or expressions.\n\n~~~\ncontravariant\nThat might be so but in the case of court cases this is the somewhat\ninevitable result of written laws. It's practically impossible to write a law\nthat leaves no room for ambiguity and indeed resolving that ambiguity is one\nof the main tasks of the Supreme Court.\n\n------\nericmay\nI've been thinking about this a lot, and I don't think AI will ever become\nconscious in the same way that humans are, rather, it'll be conscious on its\nown terms. Just like I can't know the mind of my wife, I can't know the mind\nof my cat, I also can't know the mind of an AI.\n\nDepending on who you ask, a monkey or cat isn't conscious. From my point of\nview, I don't think you can really know that or recognize it. It's just a\nmatter of degree of consciousness. I think it's safe to say that mammals are\nconscious to some extent. They have emotions, dreams, communication\ntechniques, etc. we just have those (to some extent again) moreso than they do\nor we have them in different ways.\n\nI think a question to ask is at what level or organization do we recognize\nself-direction? Am I conscious because I think so? What does that say about\nthe bacteria that live inside of me that I rely on, or the individual neurons\nin my brain?\n\nIf both I and a dolphin are mostly the same, we have brains with neurons, we\nhave blood cells, etc. how can you truly differentiate what is conscious and\nnot? Even if you speak to another human it's not completely possible to say\nthat they are conscious with certainty - only with what's most useful in day-\nto-day life.\n\nAt what level of circuity do we consider AI to be conscious? When it completes\narbitrarily constructed tasks by humans? When it \"feels\"? How would you\ndifferentiate between sufficiently complex AI? Is there just AI or not? why?\n\n/rambles\n\n~~~\nknodi123\n> I don't think AI will ever become conscious in the same way that humans are,\n> rather, it'll be conscious on its own terms.\n\nI think that people who are attempting to simulate a human brain using an\nutterly biomimetic design stand a good chance of artificially creating\nsomething that is conscious in the same way that humans are. I also think it's\npossible they may be able to achieve this before they full understand how the\nhuman brain works. i.e. if you copy the design accurately enough, the machine\nmay work even if you don't know how.\n\nThe resulting consciousness could theoretically be totally self-aware, but no\nmore capable than we ourselves of modifying its own programming with\nintentionality and purpose. i.e. not the singularity.\n\nI think there should be two different concepts of AI- \"a consciousness using\nthe same processes and design as our own\", and \"an essentially alien\nconsciousness that fully understands itself\". And I suspect that even if some\nengineering genie _gave_ us the first kind of AI, we'd be no closer to\ndeveloping the second kind.\n\n~~~\nericmay\n> a consciousness using the same processes and design as our own\n\nWhat is the meaningful distinction here? That it wasn't created through sex?\n\n~~~\nknodi123\nBrain simulation in a computer, for instance. Like\n\n[https://en.wikipedia.org/wiki/OpenWorm](https://en.wikipedia.org/wiki/OpenWorm)\n\nThe meaningful distinction is \"not a biological organism\".\n\n------\nTrasmatta\nThe idea of making conscious AI scares me, because we could potentially create\nan AI that just experiences constant suffering at a level unimaginable to\nhumans. Really scary from an ethical perspective.\n\nIf integrated information theory is true, that gives me some comfort, since it\nsays AI built on our current architecture is unlikely to ever be conscious.\nAlthough like the article said, some alternative architectures could\ntheoretically have a higher degree of consciousness under IIT.\n\nI feel like there are some big ethical questions around AI that revolve around\nmore than just the standard \"how do we create an AI that won't destroy us\nall\".\n\n~~~\n0x8BADF00D\n> The idea of making conscious AI scares me, because we could potentially\n> create an AI that just experiences constant suffering at a level\n> unimaginable to humans. Really scary from an ethical perspective.\n\nSome schools of thought posit that everything has consciousness. Including\nthings like rocks. Even these things suffer; you just can\u2019t hear the screams.\n\n~~~\njameslevy\nA rock seems unlikely to be conscious in any real way. Something as complex as\na star, however...maybe all of the humans worshipping the sun throughout many\nthousands of years were onto something after all.\n\n~~~\nTrasmatta\nIs a star particularly complex, though? Is there much going on besides a lot\nof thermonuclear fusion? (Disclaimer: I don't know much about stars or\nastrophysics, so this question is coming from a place of ignorance.)\n\n~~~\nhoseja\nYes, incredibly. Magnetohydrodynamics in a star are incomprehensibly complex.\n\n------\nproc0\n> Consciousness is not about computation;\n\nIsn't there a lot of evidence to the contrary? We have general maps of our\nbody parts in specific brain areas, we know if those areas get damaged it\ncompromises specific functions like language, hearing etc. Then we have things\nlike short term memory, long term memory, image processing (subconsciously)\nthat can be hacked with visual illusions, and many more observations that\nclearly point to the brain undergoing information processing as described by\ninformation theory.\n\n~~~\nhackerman123469\nWe can partially map certain regions of the brain to certain behaviors too.\n\nSome mental illnesses can be classified as \"miscomputations\" in our brains as\nwell.\n\n------\nsnovv_crash\nA computer will be able to think in the same way a submarine can swim.\n\nThinking is something we've anthropomorphized, and the moment a computer can\ndo something we previously considered 'thinking', we'll move the goalposts\nagain.\n\n~~~\nTimTheTinker\n\"Moving the goalposts\" is only something we talk about when two ideological\ncamps disagree about something.\n\nIdeology and beliefs aside, I think it's absolutely fine to change one's\ndefinition of something when one learns more. I think we all can benefit from\nbetter definitions in our thoughts and conversations.\n\nWhat you may call \"moving goalposts\" may actually be incremental refinement of\nan idea -- or a belief that is increasing in sophistication (or absurdity in\nsome cases!) as more is understood.\n\n~~~\nggggtez\nThe two camps are \"those who believe humans are special\" and \"those who\nbelieve strong AI can exist\". The only reason you see people even arguing\ncomputers can never be conscious, is so we don't have to face the possibility\nof creating and enslaving a machine callable of suffering.\n\nThe authors are certainly moving the goal posts when they concede that 4/5\nhumans in a vegetative state have no consciousness, but a full simulation of a\nhealthy human mind never should be considered self aware. And yet in the same\nbreath claim this lack of consciousness allows you to destroy a robot in your\nfront yard, but stay startlingly silent on what that means for those same in\nthe vegetative state.\n\n------\nBarrin92\n> _\" The more the current state of a system specifies its cause, the input,\n> and its effect, the output, the more causal power the system has. Integrated\n> information is a number that can be computed. The bigger the number for a\n> system, the larger its integrated information, and the more conscious the\n> system is._\"\n\nI'm generally sympathetic to the idea that consciousness and \"computational\npower\" are not identical but the larger problem with all of these theories in\nmy opinion is that they're really just stories that clarify intuitions one has\nabout consciousness.\n\nI think the problem with the consciousness question is really that it's hard\nto probe into what consciousness actually is. It's completely possible to give\ndifferent accounts of conscious experience even though systems behave the\nsame, including that consciousness doesn't exist at all, and really there's no\nempirical way to agree or disagree.\n\nI've started to think of expressions about consciousness more or less the same\nway emotivists considers ethical statements. Emotivists argue that saying\nsomething like \"\"You acted wrongly in stealing that money\" is equivalent to\n\"You stole that money\". The first statement does not add any true or false\nstatement about the situation, it's merely an expression of emotional\nsentiment.\n\nIn the same sense I don't think \"machine x does y\" expresses fewer facts than\n\"machine x does y, and it is conscious\".\n\n~~~\nbglusman\n\n > In the same sense I don't think \"machine x does y\" expresses fewer facts than \"machine x does y, and it is conscious\".\n \n\nbrings to mind behaviorism, which was of course influential and compelling for\na long time. The problem with behaviorism, if you want just one problem, is\nhow do you even talk about something like Synesthesia within behaviorism? It's\n(initially) a purely subjective/qualia related experience. While behaviorism\nwas in vogue, it was difficult to take Synesthesia seriously and it was\ndismissed as people being poetic and metaphorical, but those who experienced\ngrapheme-color synaesthasia could see shapes present in a number-pattern\nreadily that those without it could not see.\n\n------\nmadmax96\nI'm not sure I follow how it's possible that machines can be conscious but a\nsufficiently powerful Von Neumann machine cannot. Perhaps it's because I'm\nmissing details (like what actually is integrated information and how do we\nthink it relates to consciousness.)\n\nPerhaps someone with more insight can explain how this isn't a violation of\nthe Church-Turing thesis?\n\n~~~\nmindyourai\nThis whole theory seems like metaphysics because of this: it implies that\namong two systems with absolutely identical external behavior in all respects,\none can have conscious and the other not have it.\n\nFundamentally, we can simulate neuromorphic computer (or even a quantum\ncomputer, or even the entire human brain) on Von Neumann machine (with\nperformance degradation). According to our current understanding of physics,\nthe behavior of these systems should be identical in all respects except the\nsimulation will be slower. However integrated information theory says that a\nneuromorphic computer may be highly conscious and the brain is most definitely\nhighly conscious, but their simulation isn't.\n\nWhat's still unclear to me is whether this is indeed just metaphysics (i.e.,\nthe simulation and the real thing are absolutely identical and but we should\nstill treat them differently from ethical standpoint), or is it a hypothesis\nabout our physics (i.e., the brain somehow fundamentally cannot be simulated\non a Von Neumann machine) as well as computational theory (i.e., neuromorphic\nor quantum computer cannot be simulated either).\n\n~~~\nquantumsequoia\n\"it implies that among two systems with absolutely identical external behavior\nin all respects, one can have conscious and the other not have it.\"\n\nThat statement can be true without being metaphysical. You can't treat a human\nas a black box, and then use inputs and outputs to definitively draw\nconclusions about what's going on inside the black box.\n\nYou could potentially have two black boxes that give identical outputs for the\nsame inputs, yet have completely different mechanisms inside for arriving at\nthose outputs. For example, say you have someone who's very good at arithmetic\nable to multiply two numbers. You put him inside one black box and a pocket\ncalculator inside another. You give each box two numbers and they both output\nthe product. Both black boxes will give you identical outputs for any given\ninput. You know the box with the person inside is conscious, but this is not\nenough information to conclude the other black box is conscious.\n\nIt's quite possible that there is a way to simulate human behavior through\nsome other non-conscious mechanism. And just because we can't currently prove\nwhether something is conscious doesn't mean it's something metaphysical we'll\nnever be able to prove.\n\nFor example, if two people tell you they're experiencing some pain, but one is\nlying about it, a few hundred years ago you'd be unable to prove it. That\ndidn't mean pain is something metaphysical. Today, we know it might be\npossible to put both people in an MRI and prove whether they're actually\nfeeling pain\n\n------\nnscalf\nI have yet to hear a good argument against the idea that we can create a\nconscious artificial intelligence. We know that we are conscious, whatever the\ndefinition is we use ourselves as the benchmark. So at the very worst, we can\nartificially create a human brain. But beyond that, we have plenty of things\nthat imitate roles in the human body by doing the same actions the body does\n(artificial limbs, respirators, assisting with blood filtering). There is just\nno evidence that something about the brain is special to the extent that we\nwill never be able to replicate it. All arguments seem to come down to having\na soul, but without saying that because it's clearly a non-scientific claim.\n\nI can appreciate that architecture may be a hard limit for us here. However,\nif we build systems that replicate human consciousness effectively enough, I\ndon't actually see any difference between reality and artificial conscious\nbeyond the definition.\n\n~~~\nmarzell\nI think the crux of this is defining `consciousness`, which I haven't seen\ndefined in a way that I feel is sufficient in this context and can be\ntested/measured.\n\nI can program a chat app where if you ask `are you conscious` it will say\n`yes`, but I think we can all agree that does not amount to consciousness. So\nhow do we define consciousness in order to determine whether human technology\nis capable of exhibiting it?\n\nUltimately, following a measureable definition as a guideline, I imagine that\nany number of people might argue whether human tech can become conscious... I\nwould guess it really comes down to people having very different definitions\nof consciousness.\n\nI so far lack an eloquent definition of my perspective, but I feel we\nfundamentally lack the ability to 'create' consciousness, and ideas of\n'conscious AI' and 'digital afterlife' make me involuntarily roll my eyes.\n\n~~~\nnscalf\nI don't really understand the definition argument, I cannot imagine a\ndefinition of consciousness that feels like it's in good faith and\nsufficiently difficult to capture intelligence and consciousness. Either you\nmake a definition that seems we can clearly make that system eventually, or\nthe definition is something that most would call unfair and narrow. Can you\nthink of a \"fair\" definition that seems like AI systems couldn't get there? If\nnot, this is not a valid counter point, and more of a communication problem.\n\nAny definition about a subset of tasks or creativity clearly is possible by AI\nsystems, given the progress we're already seeing.\n\n------\nagomez314\nI see that almost every comment here begins with the implicit assumption that\nconsciousness is a defined term that arises though biological means. Until we\ncan determine the validity of these two premises there can be no progress to\nanswering this question -which has been asked for thousands of years with a\ntendency towards the negative.\n\n------\nSCAQTony\nIf you define consciousness as the ability to integrate information and make\nnovel decisions a computer can do that.\n\nBut when a computer reads a poem or sees the color blue will it feel it? I\nsuspect that is unlikely. Can a computer take past experiences and combined\nthem into a personal abstract meaning such as grief, love, hate, or ASMR?\n\n\"...Consciousness corresponds to the capacity of a system to integrate\ninformation. This claim is motivated by two key phenomenological properties of\nconsciousness: differentiation \u2013 the availability of a very large number of\nconscious experiences; and integration \u2013 the unity of each such\nexperience....\"\n\nBMC Neuroscience An information integration theory of consciousness:\n[https://bmcneurosci.biomedcentral.com/articles/10.1186/1471-...](https://bmcneurosci.biomedcentral.com/articles/10.1186/1471-2202-5-42#Abs1)\n\n~~~\nggggtez\nAs for ASMR, it's the worst example of the bunch. It's just a physical\nresponse to an audio cue. We have that every day all day.\n\nIf someone yells in your ear, you feel pain. We have audio-induced physical\nresponses all the time, and no one would say that that has anything to do with\nconsciousness.\n\n~~~\nSCAQTony\nMy mileage varies, especially when ASMR sensory information involves\nwhispering and romance.\n\n~~~\nggggtez\nResearch shows that eating food puts people in the mood for romance, but no\none is going to claim that lunch is required for sentience.\n\n~~~\nhackinthebochs\nI'm a p-zombie until I've had my morning coffee\n\n------\nProcrastes\n> Let's imagine that we simulate the brain in all biological details on a\n> supercomputer. Will that supercomputer be conscious?\n\n> No. It doesn't matter whether the Von Neumann machine is running a weather\n> simulation, playing poker, or simulating the human brain; its integrated\n> information is minute. Consciousness is not about computation; it's a causal\n> power associated with the physics of the system.\n\nCan someone shine some light one what this might mean? I can't wrap my head\naround what's different about a physical system vs. a sufficiently powerful\nsimulation. I can see an argument that there might be some complexity that is\ntoo difficult to compute, but just saying \"nope, has to have complex physical\nconnections\" seems arbitrary?\n\nEdit: Ah, I missed the discussion further down the thread. Deferring to there.\n\n~~~\nDennisP\nThey're saying that simulating a brain won't create consciousness in the same\nway that simulating a battery won't power your cell phone.\n\n~~~\ndrclau\nBut a simulated battery can supposedly power a simulated phone, right?\n\n~~~\nmcguire\nAnd simulated consciousness is just consciousness?\n\n(Don't look at me. Everything here is pure finite state. I'm barely a Mealy\nmachine.)\n\n------\nvisarga\n> Our theory says that if we want to decide whether or not a machine is\n> conscious, we shouldn't look at the behavior of the machine, but at the\n> actual substrate that has causal power. For present-day AI systems, that\n> means we have to look at the level of the computer chip. Standard chips use\n> the Von Neumann architecture, in which one transistor typically receives\n> input from a couple of other transistors and projects also only to a couple\n> of others. This is radically different from the causal mechanism in the\n> brain, which is vastly more complex.\n\nThis riles me up for so many reasons. Transistors (and computers) are capable\nof emulating more complex systems. Looking at a transistor you will not\nunderstand why your mail can'd be delivered, nor will you understand\nconsciousness from an individual neuron. Consciousness is related to\nbehaviour, and both are related to survival and the environment. AI's don't\nhave such an environment as of yet so they can't be conscious yet, but they\ncould be. There is no magic dust in the brain.\n\n> As long as a computer behaves like a human, what does it matter whether or\n> not it is conscious?\n\nIf it walks like a duck, ... But seriously, why should consciousness be so\nspecial as to require a quality that can't be observed through behaviour\n(understanding that it is non-physical, non-observable)? P-zombies are just a\nthought experiment, and a bad one. Why should consciousness exist? To protect\nthe body, to self reproduce, to exist. It exists to exist and evolve. And this\nis done by behaviour, by acting in a smart way. How would p-zombies come to\nbe, if not through fighting for survival? Without the evolutionary mechanism\nthere is no explanation for consciousness, and the evolutionary argument is\nsufficient. Consciousness is the inner optimisation loop, the outer one being\nevolution. They both work for survival, for their own sake.\n\nAn AI could repeat the same process by evolving as a population of agents\ncooperating and competing between themselves. They would have to be inside an\nenvironment that is complex enough, and they should be subject to evolution.\nIt will be a consciousness, just not a human consciousness, which is tied to\nour environment, which is made in large part of other humans.\n\n------\nThomPete\nCan dumb matter become conscious? Apparently yes if you count us as conscious.\n\nSo the question becomes, what is to hinder AI for becoming conscious? How you\nanswer that question defines if you can conclude.\n\nFor now I would say the answer is still. We don't know.\n\n------\nbraindongle\nThis question arises regularly in everyday conversation about the future. I\nwas asked this by a friend within the last week. Here is the correct answer:\n\"Well, I don't know what consciousness is. As for [specific behavior X], my\nguess is that...\"\n\nThe conversation can then proceed fruitfully, without the pretense of special\nknowledge about 'consciousness', which no one has. There are plenty of people\nwho are experts in both philosophy of mind and brain science. I know one, with\na PhD in each discipline. Consensus is not forthcoming in this area. Stick to\nthe concrete.\n\n------\nkillswitched\n1) Built a neural network for which consciousness that experiences and\nexpresses pleasure and pain emerges from the neuron\u2019s physical properties (in\nother words, not a contrived simulation), but is fundamentally different than\nthe DNA/carbon systems upon which we are built (artificially designed and\nconstructed versus conceived organically). If you can ask a computer whether\nit experiences pleasure or pain, it needs to be designed to do so without\nbeing explicitly programmed in contrived fashion.\n\nOr:\n\n2) Augmented: Integrate human (or primate, for instance) nervous systems with\nartificial intelligence such that the experience of the AI exceeds the\ncapacity of the organic host to differentiate between conscious reality and\ndreaming, but is still distilled down in a way that allows the human host to\nhave a sufficiently symbiotic interaction as it pertains to the processing of\npain and pleasure with the connected AI. The feedback loops between the\npain/pleasure experience of the human host would govern the wholistic\nexperience of the connected AI, and the human would experience the conscious\naspect. You might not say that the AI is conscious, but the human host would\nhave an intimate sense of the AI being part of an overall consciousness.\n(Note: must prevent the development of immortality technology for nervous\nsystems, to avoid testing the halting problem for sentient beings.)\n\n~~~\nhackerman123469\nPain is not real and is just the result of signals sent through our nerves to\nour brain. It has no real meaning other than being a \"warning sign\" to our\nbrains.\n\nYou cannot use pain as a measure for consciousness either because some humans\ncannot experience pain either.\n\n~~~\nkillswitched\nPain is real when a person experiences it. It\u2019s part of the Hard Problem,\nwhich separates the study of the signals from objective description of the\ninner experience.\n\nA human who is wired to not experience pain probably has the brain capacity to\nexperience it, with the appropriate modifications. We do agree that all\nexperience is perfectly correlated to a physical states/transitions, so it\u2019s\nconceivable to arrange organic matter in a way that a conscious entity could\nexperience real (to them) pain. We may not have this technology and it would\nseem far off for now. But we are scratching the surface.\n\nA monk who can rewire the experience of pain (e.g. while burning to death)\nstill has something meaningful to communicate about their conscious experience\nbeyond the pain receptors transmitting info to their brain. But perhaps if\none\u2019s arrangement of brain/nervous system matter isn\u2019t so free as to be\ntrained to overcome or modify instinctual pain response (e.g. brain in a vat),\nanyone can be forced to experience pain.\n\n------\nstanfordkid\nRoger Penrose is probably the most interesting thinkers on this problem, and I\nlead towards his conclusions -- that consciousness is a byproduct of biology\n-- not intelligence or computation.\n\nHighly recommend his book _Shadows of the Mind_ \\-- it's on my list. In\nsummary he believes that consciousness isn't a by-product of computation done\nby neurons (the traditional view), but rather quantum level effects created by\nMAP proteins within the brain as a result of this computation:\n\n _But perhaps the most interesting wrinkle in Shadows of the Mind is Penrose\n's excursion into microbiology, where he examines cytoskeletons and\nmicrotubules, minute substructures lying deep within the brain's neurons. (He\nargues that microtubules--not neurons--may indeed be the basic units of the\nbrain, which, if nothing else, would dramatically increase the brain's\ncomputational power.) Furthermore, he contends that in consciousness some kind\nof global quantum state must take place across large areas of the brain, and\nthat it within microtubules that these collective quantum effects are most\nlikely to reside._\n\n~~~\nladberg\nI get that Roger Penrose is an incredibly smart guy, but I really don't see\nhow he comes to the conclusion that there are any quantum effects in the\nbrain. Even if there are, I don't see how they are necessary in any way for\nconsciousness.\n\nIt seems like he took ideas from an area he's an expert in (math/physics) and\ntried to apply it to biology without considering how much of a different level\nthey're on.\n\nTo put it in CS terms, it's like a genius electrical engineer who could design\na complex circuit but doesn't know much about computers as whole saw a video\nof a kid playing Minecraft. He/she might assume that to be able to run such a\ncomplex system you would need specialized\nquantum/superconductor/graphene/whatever circuit, but in reality it's just the\nsame classic building blocks at a higher level.\n\nConsciousness is just a biological process, but it's abstracted so far away\nfrom the physics it's built upon that a physicist might have trouble seeing\nit.\n\n------\nabotsis\nThis might be a naive question, but regarding \u201cLet's imagine that we simulate\nthe brain in all biological details on a supercomputer. Will that\nsupercomputer be conscious?\u201c\n\n...wouldn\u2019t the only reason for this be one of efficiency? That is, akin to\nhow we can simulate one processor architecture on another.\n\nMaybe the point is a simulation can never be efficient enough to become\nconscious (at least on a timescale we can grok)...?\n\n~~~\nvladTheInhaler\nScott Aaronson has an argument along roughly the same line regarding the\nChinese room thought experiment. He points out that although it is usually\nframed as a \"room\" or a \"box\", the amount of space required to simulate a\nconversation of length n with just a lookup table is exponential. So in fact,\nthe \"room\" would have to be colossally large for any reasonable n. There is a\nmuch more involved discussion of it, but the upshot is that the separation\nbetween polynomial and exponential time or space is a plausible place to draw\nthe line between \"really actually thinking and understanding\" vs. \"just a\ncomputation\".\n\n------\ndntbnmpls\nThe problem here is that there is no agreed upon definition of consciousness\nthat is mathematical/scientific. Whereas Turing gave us a definition of\ncomputation that we can all agree upon, there isn't one for consciousness.\n\n\"The theory fundamentally says that any physical system that has causal power\nonto itself is conscious. What do I mean by causal power? The firing of\nneurons in the brain that causes other neurons to fire a bit later is one\nexample, but you can also think of a network of transistors on a computer\nchip: its momentary state is influenced by its immediate past state and it\nwill, in turn, influence its future state\"\n\nSo a line of falling dominos is conscious? What about billiard balls or\nmarbles? A fibonacci numbers conscious?\n\nAlso, how does this definition align with the definition of consciousness in\nneuroscience, psychology, biology, etc?\n\nIt's good that people are working on \"consciousness\" from a variety of fields,\nbut wish we had an actual definition of consciousness so that we would know\nwhat we are searching for. Maybe we'll have to discover it first to define it.\n\n------\nhvasilev\nConsciousness is about subjective being and experience. From your subjective\npoint of view, you cannot even say if other people are truly conscious or not.\nIt is a really hard problem to figure out if machines can truly be conscious\nor not.\n\nThese scientists just have their own working definition of consciousness that\nallows them to make progress in some direction.\n\n------\nweeksie\n\"If technology continues apace, we'll have steam powered flying machines\nbefore the turn of the century!\"\n\n------\nstared\n> Let's imagine that we simulate the brain in all biological details on a\n> supercomputer. Will that supercomputer be conscious?\n\n> Christof Koch: No. It doesn't matter whether the Von Neumann machine is\n> running a weather simulation, playing poker, or simulating the human brain;\n> its integrated information is minute. Consciousness is not about\n> computation; it's a causal power associated with the physics of the system.\n\nI find this claim, proclaimed with certainty, strange (not to use much\nstronger words).\n\nUnless one follows some highly non-mainstream interpretation of consciousness\nit seems that consciousness is purely an information phenomenon, not depending\non a particular interpretation. For that, we need a fundamentally new physics\n(vide Roger Penrose), or we run into mysticism.\n\nThe claim in the interview suggests a position much stronger than claiming\nthat Searle's Chinese room is not thinking.\n\n------\nxenadu02\nThis is all a bit premature. A single physical neuron is equivalent to an\nentire artificial neural network.\n\nWe are orders of magnitude away from anything nearly complex enough to start\nasking whether it it could be conscious at even the most primitive level.\n\n~~~\nstreb-lo\n> A single physical neuron is equivalent to an entire artificial neural\n> network.\n\nIn what world is a neural network required to measure a change in voltage?\n\n~~~\ndmitrybrant\nIt really is nowhere near as simple as that. Each neuron is made of 100\ntrillion atoms. For all we know, each one of those _atoms_ is responsible, in\nits own subtle way, for contributing to the total \"change in voltage\" of the\nneuron as a whole. For all we know, adjacent neurons can induce tiny amounts\nof current in each other, even without being directly connected. The stuff\nthat actually gives rise to consciousness is vastly, astronomically more\ncomplex than the graph of whole neurons.\n\n------\nloopz\nConsciousness is the Seer that experience reading this sentence, though need\nneither agency nor reading skills in Being. It is Subjective itself, and not\nanything that which is an object, thus immeasurable. To deny this is to deny\nOne Self.\n\n~~~\ntsimionescu\nBut it does interact with the physical world, and so there must be some\nobjective, measurable mechanism when this happens. Even if you believe in\ndualism, this is almost inescapable (unless you bring in divinity, or deny the\nphysical world entirely, as in hinduism).\n\n~~~\nloopz\nInteraction with the world will vary, may be minimized or even cease. It is\nnot a prerequisite for consciousness, but it is for Inquiry.\n\nIe. a light in a box, is it not light even if we can't always measure it? Do\nnothing exist unless we can touch it always, like photons?\n\nMind may humble and liberate us, or limit and confuse.\n\nStart of Inquiry is like light discovering shadows in the cave wall, mistaking\nthem for light. But shadows depend on light, and not vica versa, even if cold\nto the touch.\n\n------\nwhadar\nFurther reading about the theory behind it\n[https://en.wikipedia.org/wiki/Integrated_information_theory](https://en.wikipedia.org/wiki/Integrated_information_theory)\n\n------\nTheUndead96\nIn Peter Godfrey-Smith's book \"Other Minds\", he describes a framework for\nthinking about the relative levels of subjective experience in animals. He\ndistinguishes between subjectivity (maybe more broadly \"awareness\") and the\ninternal monologue that is so characteristic of humans. I would estimate that\nan AI could initially have consciousness in the way that an octopus does:\ndistributed, probabilistic, fluid. With enough raw intelligence I think any\nmind could emulate another, and eventually communicate with us in a way that\nwe deem conscious in a human sense.\n\n------\nypcx\nWhat's the difference between thinking that you are conscious, and actually\nbeing conscious? How can we define our perception of being conscious? Is it\nsimply the ability to observe our own thinking (or feeling, or perceiving)\nprocess? If so, what is the output of such observation, and why do we think\nthat there has to be (or should be) something more than just the programmed\nresponse for that given data input? I.e.:\n\n \n \n if(is_currently_observed(my_own_thought)) {\n invoke_feeling('being_conscious')\n }\n \n\nEdit: I swear that I am conscious. I can _feel_ it.\n\n------\nta1234567890\nGiven that consciousness is not super well defined, being conscious is a\nphilosophical issue that depends on belief.\n\nFor example, if you believe that consciousness is a fundamental property of\neverything in the universe, then anything and everything is conscious (ie.\npanpsychism). So under this belief, AI is technically already conscious, just\nin a different way than humans.\n\nIn some eastern religions/practices, there are methods to experience the\nconsciousness of other things (e.g. another animal, an insect or a tree), I\nwonder if the people that can do that would be able to experience the\nconsciousness of AI.\n\n------\nskylarchunk\nNot in the way that biological organisms are conscious, if that is what you\nmean. Though we share similar binary frameworks, the AI is not a celled\norganism with the biological capacity to live consciously as we are.\n\n------\nkgin\nIt will be interesting whether we decide that AI that has conscious features\nis special like humans... or if we realize that our own consciousness isn't\nactually that special or precious after all.\n\n~~~\nchr1\nPreciousness of a resource depends on it's availability. Consciousness is\nprecious now because it is fragile and non-replicable.\n\nWith AI it would be possible to copy any state and undo any change, so who\ncares if you create a copy of an AI and torture it, as long as you use your\nown computational resources, it's not any different than thinking.\n\nAfter all you may even not know wether you are torturing an ai, or doing\narithmetics.\n\n------\ngibsonf1\nI think the answer to \"Can AGI become aware?\" is yes, but deep-learning is not\nthe way to get there. The reason why there are very different types of neurons\nin the brain is that those neurons have different functions they perform - the\ntotal number of functions is low, but the nested effect is profound. I think\nthe key is in understanding how we humans use concepts first, fully\nunderstanding the underlying functionality and various graphs of relations,\nand then building that active system in the form of an AGI.\n\n------\nggggtez\n>Patients in a vegetative state lie in bed, are unable to voluntary move or\nspeak, sometimes can't even move their eyes anymore, but the consciousness-\nmeter tells us that about a fifth of them remain conscious.\n\n> If I take my Tesla car and beat it up with a hammer, it's my right to do it.\n> My neighbor might think that I am crazy, but it's my property.\n\nSo, by his own reasoning, you can take a hammer to 4 out of 5 humans in a\nvegetative state, because they aren't conscious, and thus are property?\n\n~~~\narbitrage\nthat is such a specious conclusion, of course it doesn't mean that. you're\narguing in bad faith.\n\n~~~\nggggtez\nConsidering the discussion of AI and Consciousness comes down entirely to\ndefinitions of words, I think it's reasonable to point out where these\ndefinitions will lead us. Of course what I'm saying is absurd. And yet, isn't\nthat what the author proposes when he says that we can't hit dogs because they\nare conscious, but it's ok to hit a car?\n\nIf consciousness is to be the measuring stick for moral behavior, then we\nshould absolutely point out these inconsistencies.\n\nKeep in mind that this work was made along with Crick, who has occasionally\nespoused eugenics [1]. If the author is broaching into the subject of what\nconstitutes personhood, we should be extremely skeptical of the path it leads\nto.\n\n[1] Whether or not you think his position is defensible, it at least should\nmake you read the proposal more closely.\n[https://en.wikipedia.org/wiki/Francis_Crick#Eugenics](https://en.wikipedia.org/wiki/Francis_Crick#Eugenics)\n\n------\ntoohotatopic\n>The bigger the [Integrated information] number for a system, the larger its\nintegrated information, and the more conscious the system is.\n\nWhat's the number for humans?\n\n------\n__sy__\nFor those interested in the intelligence to consciousness topic, MIT Max\nTegmark's Life 3.0 might still be the best primer. He argues that\nconsciousness is an emergent property of intelligent systems (ability to\nstore, compute, learn). From a pure physical computation standpoint, there\ndoesn't seem to be a hard rule that says that consciousness can't be based off\nof inorganic materials.\n\n------\nAnimats\nPhilosophers have been struggling with this for millennia without making much\nprogress. This suggests it's not a useful question to propose.\n\nMore useful questions revolve around \"common sense\". View common sense as the\nability to predict the future with enough success to survive. With that\ncapability, \"common sense\" can be run as a predictor when evaluating proposed\nactions.\n\n~~~\nscandox\nWell some people are in the useful business and some people are in the useless\nbusiness but neither have a higher claim to significance in the cosmos.\n\nUltimately the set of questions remaining when all the usefulness is complete\nwill be the ones that take millennia to fail to resolve.\n\nSo I think both sets of questions are worth continued attention.\n\n------\nabellerose\nOf course we can make an AI be aware of surroundings and able to react.\n\nWhat do most people mean by become conscious?\n\nMy assertion is a majority of people cannot even prove how they're different\nthan a robot that's programmed to complete tasks within its lifecycle.\n\nWe all think we're so special and in control but there is no proof. We have to\nask ourselves can we prove that we're any different than an input & output\nmachine first.\n\n~~~\ncy6erlion\n> We have to ask ourselves can we prove that we're any different than an input\n> & output machine first\n\nConscious is not dependent on the senses or even (Input & Output). We can be\nasleep and be conscious while dreaming.\n\n~~~\nabellerose\nYour comment is too vague for me. I assume you're attempting to assert that\nsleeping while having awareness of being asleep would somehow make you\ndifferent than a robot? I would challenge that notion if my assumption is\ncorrect on what you're expressing by simply stating a robot can be programmed\nto experience similar.\n\n------\nnicolodavis\nThis lecture at Stanford is a great breakdown of the philosophical\nunderstanding of what consciousness is and how that relates to artificial\nintelligence: [https://soundcloud.com/thomisticinstitute/artificial-\nintelli...](https://soundcloud.com/thomisticinstitute/artificial-intelligence-\nand-the-soul-anselm-ramelow)\n\n------\narminiusreturns\nI have posited the first AI conciousness we will see will come not from some\nscientific study here or there, but rather from some crazy game-dev who wants\na more realistic npc. (because where else do you such the general conciousness\nworked towards so much other than in games? every AI/ML/DL application I've\nseen is very narrow and deep)\n\n------\njungletime\nGiulio Tononi on Consciousness\n[https://www.youtube.com/watch?v=zvJyMmw2Thw](https://www.youtube.com/watch?v=zvJyMmw2Thw)\n\n[https://en.wikipedia.org/wiki/Integrated_information_theory](https://en.wikipedia.org/wiki/Integrated_information_theory)\n\n------\nforgotmypw17\nLong before machines become conscious, they will become self-sustaining, self-\nreplicating, and self-interested.\n\nThink about it, consciousness did not come about until way after cells and\nmulticellular life.\n\nWith machines, it may happen much faster. Look for those three pre-requisites\nbefore looking for consciousness.\n\n~~~\nknodi123\nyou're describing how consciousness can come from a mindless evolutionary\nprocess.\n\nbut artificial consciousness is not the same at all. we aren't trying to make\nartificial consciousness _evolve_ \\- we're racing to be the first to create it\nex nihilo. so the analogy is flawed.\n\n------\nz5h\n\u201cany physical system that has causal power onto itself is conscious\u201c.\n\nTo paraphrase: \u201cany physical system is conscious\u201d.\n\n------\nanonytrary\nIf you built it out of RNA and biological components, then we already know the\nanswer is \"yes\" because nature is a factory and has already done this. The\nquestion is whether or not inorganic systems can approximate biological\nsystems and to what degree.\n\n------\nwildermuthn\nConscious thought isn\u2019t a byproduct of intelligence. It is the very essence of\nintelligence. If you disagree, I\u2019d only ask you to formulate your rebuttal\nwithout the use of conscious thought. And in a clean way, you now have my\ncounter-rebuttal.\n\n------\nblackrock\nIt does seem that we have all the tools necessary to create artificial\nconsciousness.\n\nWe have relational databases, text file data structures, key/value storage\nsystems, cryptographic signature systems, etc. These can form the core basis\nof cybernetic memory.\n\nBut it seems nobody has been able to formulate the arrangement of code and\nideas, and a vision, to bring it all together.\n\nA neural network is just a very sophisticated pattern recognizer. You need a\nhigher algorithm than that, in order to kickstart an artificial consciousness.\n\nIt\u2019s not real of course. It\u2019s just a collection of electrons, following a\nprobabilistic decision tree, with a somewhat deterministic approach, to\nreaching a mathematical conclusion, based on a series of linear equations, in\norder to select the optimal winner.\n\nBut when the robot talks back to you, and recalls everything that you did\ntogether, and how it \u201cfelt\u201d at that moment, then, it will seem and appear, to\nbe very real.\n\n~~~\njrumbut\nI believe that we will eventually have an AI that will meet most observers'\ndefinition of consciousness.\n\nThat being said, I think there existed serious people who thought we would\nhave one before 2020, even as late as 5-10 years ago, using technologies that\ndon't seem wholly adequate to the task now (expert systems, fuzzy rule\nsystems, multi-layer perceptrons, etc).\n\nAt what point does the non-existence of machine consciousness begin to make us\nskeptical that such a thing is possible, that no algorithm describes\nconsciousness?\n\n------\nexcalibur\n> consciousness\n\nYou keep using that word. I don't think it means what you think it means.\n\n------\ngbjw\nThe term 'consciousness' is somewhat overloaded. I prefer 'subjectivity' to\ndenote the strange fact that there is something there is like to be me--cf.\nThomas Nagel's essay 'What is it like to be a bat?'. This subjectivity seems\nabsent in the science of enlightenment thinkers who were driven to find the\n'objective' laws of nature.\n\nNagel wrote a controversial book towards the end of his life called 'Mind and\nCosmos: Why the Materialist Neo-Darwinian Conception of Nature is Almost\nCertainly False' where he argues that this very subjectivity cannot be fit\ninto any current materialist theory. I tend to agree with this view--reducing\nsubjectivity to a metaphenomena of complexity seems to be a completely hollow\ndefinition. Why does it exist?\n\n------\nkruasan\nAs Greg Egan in \"Permutation City\" once put it:\n\n _Supporters of the Strong AI Hypothesis insisted that consciousness was a\nproperty of certain algorithms -- a result of information being processed in\ncertain ways, regardless of what machine, or organ, was used to perform the\ntask. A computer model which manipulated data about itself and its\n\"surroundings\" in essentially the same way as an organic brain would have to\npossess essentially the same mental states. \"Simulated consciousness\" was as\noxymoronic as \"simulated addition.\"\n\n. . .\n\nPaul had rapidly decided that this whole debate was a distraction. For any\nhuman, absolute proof of a Copy's sentience was impossible. For any Copy, the\ntruth was self-evident: cogito ergo sum. End of discussion._\n\n------\nmD5pPxMcS6fVWKE\n\u0421onsciousness is the last straw that meat computers will hold on, trying to\nprove their superiority over the silicon ones. Thus the definition will shift\nuntil the very last moment.\n\n------\ntempodox\nIf we can twist the term \u201cAI\u201d to mean anything the marketing department wants,\nI'm sure we can twist the term \u201cconsciousness\u201d just as badly.\n\n------\nsfj\nThere is no such thing as consciousness. The only reason we discuss it is\nbecause we equate being conscious with being worthy of sympathy, which is\nhighly prized.\n\n------\nzhoujianfu\nI believe consciousness is the context switcher for biological systems.\n\nWisdom is one context (ml today), intelligence is creating/switching contexts\n(general AI).\n\n------\ntrixie_\nWhat is artificial about artificial intelligence? Just the fact that we built\nit, instead of giving birth to it? Atoms and electricity are all pretty real\nto me.\n\nIn terms of consciousness, we need to know what it is first before we can\ndetermine if something else has it or not. There's a good chance that it is\nindiscernible and everything is conscious to some degree.\n\n~~~\niak8god\n> What is artificial about artificial intelligence? Just the fact that we\n> built it, instead of giving birth to it?\n\nYes.\n\nartificial 1 Made or produced by human beings rather than occurring naturally,\nespecially as a copy of something natural.\n[https://www.lexico.com/en/definition/artificial](https://www.lexico.com/en/definition/artificial)\n\n~~~\ntrixie_\nThe question was rhetorical. It was supposed to help you realize that the way\nsomething is created doesn't give the final object any special properties.\n\n------\naSplash0fDerp\nArtificial emotion is already cringeworthy in humans. The DSM will double in\nsize if they ever try to impliment psuedo-human features.\n\nThe authors analogy about using a hammer on an inanimate object vs a living\ncreature also should have included the action of stomping on the grass while\nperforming those deeds.\n\nGrass and AI should be best buds with all of things they have in common.\n\n------\nmeiraleal\nGiven enough time, yes. In a thousand years? Probably not. We are still at the\nstone age.\n\n------\ncy6erlion\nIf AI can be conscious then every human can voluntarily feel happiness (or any\nother emotion) anytime anywhere. Everything in a computer depends on symbols,\nwe cannot symbolize happiness with language we can only describe it to others\nbut that is not the same as experiencing it.\n\n~~~\nTrasmatta\nEmotions and consciousness are not the same thing.\n\n~~~\ncy6erlion\nYes, consciousness is at a higher level, but if we have an entity that can be\nconscious it should also have the ability to have emotions because we are\nconscious of emotions.\n\n~~~\nmachiaweliczny\nTell me difference between sense and emotion? I don't think there's\nfundamental difference. OK, maybe emotions are just derivatives over senses.\n\n~~~\nmettamage\nSense: touch, seeing, smell and so on. One could argue what all senses are,\nbut this is the characterization of it.\n\nEmotion: a process that involves cognitive interpretations of your context\n(environment + thoughts) and a physiological feeling through the senses (heart\nrate, tingly sensations, weird feelings in eyes). Check out the James Lange\ntheory. There are better theories, but this has the fundamentals.\n\nI ad libbed this one, I wanted to show that there is a difference. It wasn't\nmy intention to be pinpoint accurate.\n\n------\nKoshkin\nLet\u2019s ask ourselves a simpler question: Is a grasshopper conscious?\n\n~~~\numvi\nWhat if instead of consciousness being a yes/no, it's in terms of CU\n(consciousness units). Anything with >0 CUs is conscious. A bag of sand has 0\nCUs, while a human has 1 CU. A grasshopper might have 0.0001 CUs, though,\nwhich is > 0.\n\n~~~\nKoshkin\nWell sometimes the cables I have to untangle more often then I wanted seem\nconscious to me (in an evil kind of way); so, the question then becomes, how\ndo we measure the CUs and, moreover, whether all CUs are created equal.\n\n~~~\nDer_Einzige\nThere is a name for this phenomenon\n\n[https://en.m.wikipedia.org/wiki/Resistentialism](https://en.m.wikipedia.org/wiki/Resistentialism)\n\n------\ndannybtran\nAre plants conscious? I wonder what Mr. Koch would say.\n\n------\nMichaelMoser123\n>The more the current state of a system specifies its cause, the input, and\nits effect, the output, the more causal power the system has. Integrated\ninformation is a number that can be computed. The bigger the number for a\nsystem, the larger its integrated information, and the more conscious the\nsystem is.\n\nIsn't that what Douglas Hofstadter has been telling us in \"I am a strange\nloop\" ?\n\n------\nyters\ntalking about conscious programs is just a category error math is not\nconscious matter is not conscious neither is any combo thereof\n\n------\ntanilama\nWrong question. What is the being conscious?\n\n~~~\nGustomaximus\nAccording to the free dictionary;\n\n\"A sense of one's personal or collective identity, including the attitudes,\nbeliefs, and sensitivities held by or considered characteristic of an\nindividual or group.\"\n\n------\nspiritplumber\nAI will be conscious when it'll be smart enough to romantically reject a\nstereotypical incel that is hitting on it.\n\n------\ndagav\nSerious question: How is a computer supposed to become conscious if it cannot\neven solve the halting problem?\n\n~~~\nafthonos\nCan you solve it? Are you conscious?\n\n~~~\ndagav\nYup and yup, but I am not a computer\n\n~~~\nafthonos\nThat's a very strong statement, especially since it's a mathematical fact that\nyou can't describe how you can solve it\u2026I'm skeptical. :-)\n\n~~~\ndagav\nThis is kind of my point, I can do something a computer cannot do because I am\nconscious. I'm skeptical that a computer could transcend its programming into\nconsciousness to solve a problem that mathematically it should not be able to\nsolve.\n\n~~~\nafthonos\nI don\u2019t think it\u2019s your point, since that would contradict what you\u2019re saying.\nI don\u2019t believe you can do what you think you can do. And you literally can\u2019t\nconvince me unless you can invent a non-algorithmic way of describing how you\nwould tell if an arbitrary program will terminate.\n\n~~~\ndagav\nWill this program terminate?\n\n> while(true): do nothing\n\nA computer cannot tell you that this program will not terminate, short of\nmemorizing this specific set of instructions as a \"non-terminating\" program.\n\nI can read it and know it will not terminate, but I could not define to you\nhow I know that algorithmically. Despite that, I know it will not terminate,\nand so does any programmer. Just because it cannot be expressed\nalgorithmically doesn't mean we don't possess that capability.\n\nThis is my point about consciousness: there is some aspect to it which cannot\nbe articulated, hence my skepticism that computers will ever become conscious.\n\n------\nAndrewKemendo\nThere are contradictory criteria here:\n\n\"The theory has given rise to the construction of a consciousness-meter that\nis being tested in various clinics in the U.S. and in Europe. The idea is to\ndetect whether seriously brain-injured patients are conscious, or whether\ntruly no one is home... but the consciousness-meter tells us that about a\nfifth of them remain conscious, in line with brain-imaging experiments.\"\n\nThe consciousness-meter observes the system they are trying to make an\ninference on - but as others have pointed out, is not categorically different\nthan brain scans [1]. Further it's worth making a distinction between medical\nconsciousness and the Qualia kind of consciousness - which I think this\nconflates. Largely because nobody knows how to measure the latter, and we are\nbarely able to measure the former with \"Level of Consciousness\" and Grady Coma\nScale being the standard. [2]\n\n\"Our theory says that if we want to decide whether or not a machine is\nconscious, we shouldn't look at the behavior of the machine, but at the actual\nsubstrate that has causal power\"\n\nThis seems to only address the medical form of consciousness and does not tie\nit to the philosophical concept in any concrete way - while also contradicting\nthe concept that observation is the key. It kicks the can and doesn't address\nthe \"Qualia\" kind of consciousness, which in my opinion isn't something we\nhave conceptualized how to measure.\n\nI wrote a bit about this in the past [3]\n\nI think what they are getting at is \"don't look qualitatively at how the arms\nmove, or the speaker/text generator outputs something\" but rather, what are\nthe mechanisms causing those actions. This I am in agreement with generally,\nbut again, we don't really know if that maps to the qualia kind of \"hard\nproblem of consciousness\" or not. I would argue it is impossible to actually\nmeasure whether a system has Qualia, it is inherently subjective - so it's\npossible that they are simplifying without stating that directly.\n\nI'd go further and ask, does it matter if it does? I have yet to see a\ncompelling materialist argument that mandates the existence of qualia in any\ndebate, ethics or otherwise. At a certain point people in these kinds of\ndebates I've found that people start discussing non-material \"souls\" and at\nthat point all bets are off.\n\n[1] [https://blogs.scientificamerican.com/cross-check/can-\nintegra...](https://blogs.scientificamerican.com/cross-check/can-integrated-\ninformation-theory-explain-consciousness/)\n\n[2]\n[https://www.ncbi.nlm.nih.gov/books/NBK380/](https://www.ncbi.nlm.nih.gov/books/NBK380/)\n\n[3] [https://kemendo.com/intelligent-systems](https://kemendo.com/intelligent-\nsystems)\n\n------\npurplezooey\nWell, that's the last time I'll rm -rf / and not think twice about it.\n\n------\nagumonkey\nare there recent AI that can observe themselves ?\n\n~~~\nThomasBHickey\nDouglas Hofstadter's work might qualify\n\n------\nsandov\nYes.\n\n------\nalphachloride\nNo\n\n------\njillesvangurp\nDepending on your belief system, the answer ranges from \"of course you can\" to\n\"no, just no\" and everything in between.\n\nFrom a scientific/engineering point of view the answer is yes in principle but\nwe don't quite know how yet. The slightly longer answer is that whatever\nconsciousness is, it appears to be an emerging property of a bit of wetware\nthat we can simulate only partly and in a very imperfect way and only at a\nvery modest scale currently that definitely shows no signs of being conscious.\nWe know it's the brain responsible for this stuff because damaging it or\nchemically manipulating seems to change people's personality, sense of self,\nmood, etc. We can even read parts of the brain out and interface with it at a\nprimitive level.\n\nScaling all that up is an engineering challenge with a mildly predictable\nroadmap measured in a couple of decades and exponentially larger than that\nbeyond. We get better at hardware and at some point the complexity of the\nhardware exceeds that of the wetware.\n\nHowever, fixing our algorithms and simulation detail (i.e. how this hardware\nis wired together) is a different matter. As my neural networks teacher used\nto joke: \"this is a linear algebra class; if you came here for a biology\nlecture you are in the wrong place\". Full disclosure, I dropped out of that\ncourse because I was a bit out of my depth on the math front. But simply put,\nthe math behind this stuff is a vast simplification based on a naive model of\nwhat a brain cell might do that happens to produce interesting enough results\nfor specific use cases that have so far very little to do with emulating\nconsciousness.\n\nThere seem to be lots of researchers assuming other researcher are actively\nworking on that but mostly what is going on is people trying to get more\npractical short term results. Deep learning is a good example of such a thing.\nIt might have emergent properties if you scale that up that might resemble\nsomething like a conscious. But doing that or validating that assumption is\nnot actually something a lot of people work on and nor is it actually a goal\nfor most AI researchers. Their goal is simply to figure out how to get this\nstuff to do things for us (image recognition, playing go, etc.).\n\nBut do we actually need to be exact with our modeling here? Mostly our brains\nseem to self organize from information built into our DNA. Those blueprints\nare at a different level of complexity than the end result by a few orders of\nmagnitudes. And we know that personalities for the same sets of DNAs can\nwidely differ (e.g. identical twins).\n\nThe way brains work is biochemically convenient under the constraints that\nlife emerged under. But if you get rid of some of those constraints, there are\nprobably other ways to get similar enough results.\n\nIMHO a clean room replication of a brain like AI is unlikely to happen before\nwe manage to drastically enhance the capabilities of an existing brain; which\nis a much easier engineering challenge. If you take that to the extreme, at\nwhat point is the wetware no longer essential and what happens when that is\ndisconnected? Once you enhance or replace most of a brain, at what point does\nthe resulting conscious hybrid entity begin and end? That seems a more likely\npath to producing a conscious AI. Experiments on that front are likely to be\nextremely unpopular for a while given the risk. But at the same time a lot of\nthis stuff is already happening on a small scale.\n\n------\nhumanfromearth\nYes.\n\n------\nair7\nI see an interesting corollary to this:\n\nIf an AI can become conscious, it follows that consciousness does not contain\n(or at least require) free will.\n\nOf course I can't define what \"free will\" is exactly, but I can make a claim\nabout what it is not: A computer running code, no matter how complex the code\nis, does not have \"free will\" in the same sense as I _feel_ I have.\n\nThis is a delightful conundrum: If a computer can simulate _me_ , than I don't\nhave any more \"free will\" than it does. And if it can't even in theory, than\nwhy not? What's uncomputeable about the atoms that create _me_?\n\n~~~\nseph-reed\n> What's uncomputeable about the atoms that create me?\n\n* There's a lot of them\n\n* Universal time appears to be continuous\n\nThe three body problem is a great example of just how impossible a true\nsimulation of our universe would be. We can't even get 3 atoms orbiting around\neach-other.\n\n"} {"text": "\n\nShow HN: Couldn't find good tool to analyze MySQL Slow Query Logs so I made one - DangerousPie\nhttp://nk.gl/slow_queries/\n\n======\nzimpenfish\nWhat's the unique selling point of yours over pt-query-digest?\n\n[http://www.percona.com/doc/percona-toolkit/2.1/pt-query-\ndige...](http://www.percona.com/doc/percona-toolkit/2.1/pt-query-digest.html)\n\n~~~\nDangerousPie\nWell the one big difference is that mine is simply a website where you upload\nyour log file, while pt-query-digest is part of a (apparently linux-only)\ntoolkit that you have to download and install. This may not be a big issue if\nyou have your own linux-based server and deal with these logs on a regular\nbasis, but if you are on Windows and just want to do a one-off analysis I\nthink my site is a much better solution.\n\nIn addition, since I am displaying the summary in a web browser I can add all\nsorts of nice enhancements you couldn't have in a simple console, for example:\n\n \n \n - Searching and sorting queries on the fly\n - Syntax highlighting\n - Visualization (like the queries/hour histogram)\n\n"} {"text": "\nComplex System Failure: The Whole Is More Than the Sum of Its Parts - ITNEXT\nhttps://itnext.io/complex-system-failure-the-whole-is-more-than-the-sum-of-its-parts-ac1ee9bc4e6c\n======\namelius\n> there have been critical computer system bugs and defects that have resulted\n> in the loss of human life such as the 346 people who died on-board the\n> Boeing 737 Max 8 flights in Indonesia and Ethiopia during 2018\u20132019\n\nStrange example, as that was more a consequence of a failure in management.\n\n~~~\njchw\nSomething I\u2019ve learned from working in reliability: there is not one cause.\nThere is also not n causes. There is more like trees of different kinds of\ncauses where each node has some weight contributing to the incident. So yes,\nit is a failure in management for sure, but it isn\u2019t also not other things.\n\n------\njeffreygoesto\nI could not really see a conclusion. Is there any? For the list of references,\nI'd add\n[http://web.mit.edu/2.75/resources/random/How%20Complex%20Sys...](http://web.mit.edu/2.75/resources/random/How%20Complex%20Systems%20Fail.pdf)\n\n------\nkunkelast\nThese larger paragraphs are so difficult to read... The text seem to be\nwritten for Google bot, not for real readers :(\n\n"} {"text": "\nwhy GNU grep is faster than FreeBSD grep - yarapavan\nhttp://blog.erratasec.com/2015/12/some-notes-on-fast-grep.html\n======\nfeld\nfun fact: the author of gnu grep is actually a freebsd user :)\n\nthe linked email thread is also more informative than the blog post, so why\nnot go there directly?\n\n[https://lists.freebsd.org/pipermail/freebsd-\ncurrent/2010-Aug...](https://lists.freebsd.org/pipermail/freebsd-\ncurrent/2010-August/019310.html)\n\n------\nysleepy\nThat post says nothing about FreeBSDs grep or why GNU grep is faster.\n\n------\naexaey\nTwo more remarks:\n\n1\\. Original article on FreeBSD mailing list is from 2010;\n\n2\\. Original article claims 20% speed improvement for --mmap. This option is\ngone since:\n\n[http://permalink.gmane.org/gmane.comp.gnu.grep.bugs/5049](http://permalink.gmane.org/gmane.comp.gnu.grep.bugs/5049)\n\n"} {"text": "\nThe Somali Pirates' Business Model - robg\nhttp://www.undispatch.com/somali-pirates-buisiness-model\n======\nIgorPartola\nAnybody here read Heinlein's \"Citizen of the Galaxy\"? To stop think kind of a\nbusiness, you make it unprofitable. The question is \"how?\"\n\n~~~\nankeshk\nThats actually a very good question. I can think of a few ways to make\npirating unprofitable. Or dangerous. But unfortunately can't think of any non-\nviolent way.\n\n* Equip all the ships with armament. The pirate teams are small in size. So hopefully, the investment in arms wouldn't be a lot to fight them off.\n\n* Turn the table. Offer an insane \"Reward\" to anyone who captures one of the local elders - the people who give anchoring permission.\n\n~~~\nhkuo\nNot sure either of those would work.\n\nI don't think companies would want to spend money for weapons, nor the cost of\ntraining employees to use them, nor the liability of what happens if they are\nused and any ensuing results. They want the police or government to simply\ntake care of it, and they spend no money at all. Unless that happens, it's\nprobably less cost to simply accept piracy as a cost of busienss.\n\nFor the reward to capture or off a local elder, that just opens up a spot for\nanother person to fill in.\n\n~~~\nsstrudeau\nA friend's brother pilots a freighters. They always have a couple of armed\nGurkha's (Nepalese mercenaries) on board. So some companies are willing to pay\nfor armed security for their ships; but a few armed ships is clearly an\ninsufficient deterrent to the entire enterprise of piracy.\n\n~~~\nkhafra\nIt depends on who has a larger profit margin, the shipping companies or the\npirates. If a random 5% of freighters are armed heavily enough to destroy or\ncapture a pirate vessel, the pirates have to be making enough profit for a\ntotal loss in 1 of 20 raids to be worth it.\n\n"} {"text": "\nPetition to Eliminate Gerrymandering by Using an Open Source Algorithm - Floegipoky\nhttps://petitions.whitehouse.gov/petition/eliminate-gerrymandering-using-fair-open-source-and-reproducible-algorithm-draw-congressional-districts\n======\ngrizzles\nInsert loud horn noise here. Didn't use the catch phrase \"Drain the Swamp\" to\nget traction. NEXT.\n\n------\nLorenPechtel\nStill showing only one signature. I suspect Trump fried the system.\n\n~~~\nFloegipoky\nAuthor here. Though I obviously can't be certain, I suspect the reason it's\nstill showing 1 signature is that the petition hasn't crossed the threshold\nwhere it becomes publicly searchable.\n\nI'm not sure what's going to come of this petition; I'm not a political\norganizer, I don't have mailing lists of people to forward this to. I'm just a\nyoung engineer who thought it was a real shame that nobody has been talking\nabout practical, long-term solutions to the real problems that are facing our\ncountry. I think this is exactly the type of problem we should be applying\ntechnology to solve. If you agree, please sign the petition. Your signature\nwill help this reach beyond my personal network and be seen by people who\ndon't already know about the research that's been done in this area. Even if\nit just encourages a few more people to read up on what gerrymandering is and\nhow it affects our representation I'll consider it a win. I'd also really like\nto encourage people reading this to talk about it with their family and\nfriends. As a species we've made technological advances in so many areas: how\nwe communicate, how we heal each other, how we kill each other. It's high time\nwe start applying technology to affect positive change in our governance as\nwell.\n\n------\nseanp2k2\nHow long before they 404 this subdomain?\n\n~~~\ndragonwriter\nIt's quite useful to let people sign themselves up for an enemies list.\n\n"} {"text": "Are WhatsApp and Instagram down at the moment? - bholdr\n======\nsvdgraaf\nYeah, partially at least, see\n[https://downdetector.com/status/facebook](https://downdetector.com/status/facebook)\n\n"} {"text": "\nThe MOS 6502 and the Best Layout Guy in the World - skymt\nhttp://research.swtch.com/2011/01/mos-6502-and-best-layout-guy-in-world.html\n======\ncommandar\n>The most amazing part about the whole process is that they got the 6502 right\nin one try. Quoting On the Edge: Bil Herd summarizes the situation. \u201cNo chip\nworked the first time,\u201d he states emphatically. \u201cNo chip. It took seven or\nnine revs [revisions], or if someone was real good they would get it in five\nor six.\u201d\n\nIn some ways (and I'm speaking in a general sense) situations like that\nactually make me more nervous than when I know there's a problem. I get this\nuneasy \"there's no way it _really_ went that smoothly\" feeling that can be\nhard to shake.\n\nThen again, my personality is to approach most things in life iteratively, so\nthat probably plays a part as well. Great read either way.\n\n~~~\nrbanffy\nThat's the sensation of working with someone who's _incredibly_ good.\n\nAnd, BTW, the 6502 was a work of art. Simple, elegant and fast (even at 1\nMHz), it ran rings around the Z-80's you found in more expensive computers of\nthe time. Plus, it was delightful to program.\n\n~~~\namichail\n_Plus, it was delightful to program._\n\nSimple maybe, but not delightful to program. I don't know of any assembly\nlanguage that is delightful to program.\n\nBTW, I knew someone from junior high & high school who could write code for\nthe 6502 using a hex dump with amazing speed. You might have heard of him:\nRandy Linden.\n\n~~~\nrsc\nAs Doug McIlroy (inventor of pipes, diff) once said of punched cards, \"It's\nthe kind of thing you can be nostalgic about, but it wasn't actually fun.\"\n\n[http://research.swtch.com/2008/04/computing-history-at-\nbell-...](http://research.swtch.com/2008/04/computing-history-at-bell-\nlabs.html)\n\n~~~\nHeyLaughingBoy\nPunch cards are different: there's substantially delayed gratification.\n\nWhen you're a poor college student as I was, entering opcodes in a\nmonitor/debugger you wrote in BASIC because you couldn't afford an assembler,\nthen yes, assembly was fun.\n\nFun, that is, until you had to hand-calculate negative jump offsets. Don't\nremember why, but for some reason I seem to think that the MC6809 I was\nrunning on made it difficult to do so.\n\n~~~\nghshephard\nThere must have been something special about the 6809 - I recall doing my\nDigital Design course on that Chip. And yes, we didn't have an assembler,\neverything was entered via opcodes either. It was a very enjoyable experience\nfor someone like me who wasn't a gear head, and got to play around with\nSB555s, NAND Gates, and lots, and lots of wirewrapping.\n\n------\nwallflower\nFrom Jordan Mechner's diary of the development of Prince of Persia (POP was\noriginally coded in 6502 Assembler. It took him four years). Reading Jordan's\nfull diary will take you at least eight hours but it is well worth it.\n\n> We chatted for an hour about peripherally related topics. Broderbund,\n> corporate America, the rat race, capitalism, freedom. I was seducing him.\n\nAt the critical psychological moment, I remarked: \"You know, all my clipping\nis done on the byte boundaries.\"\n\nThere was a pause\n\n\n\nApril 3, 1989\n\n------\nLuyt\nThe whole 'Reverse Engineering the 6502' talk Michael Steil gave at CCC\ncongress is on YouTube. I posted this earlier in a separate topic, but it\ndidn't pick up.\n\nClickable links to the 6 parts:\n\n\n\n\n\n\n\n\n\n\n\n\n\n------\nmmphosis\nIntel Core 2 - Yorkfield, 45 nm process technology, Number of Transistors: 820\nMillion\n\nMOS 6502, Number of Transistors: 3510\n\nSo in theory, a chip with 65536 MOS 6502 cores each with 64K of internal RAM\n(4Mb cache) could be made.\n\n~~~\nmeastham\nSure, if you completely ignore all of the extra circuitry for the on-chip\nnetwork and cache coherency and everything else you would need. Transistor\ndensity is far from the limiting factor in the number of cores we can wedge\ninto a single system.\n\n~~~\njdeeny\nIf you assume that there is no cache (only on-die memory) and that memory is\nnot shared between cores, things become much simpler and scale more linearly.\nCore-to-core communications and plenty of other details remain to spend man-\nyears ironing out, but it seems like it would be possible to approach 64k\ncores or at least 16k.\n\n~~~\nRodgerTheGreat\nMight be able to peel out the BCD stuff from the 6502 to free up a little\nadditional space and approach communication between cores kinda like the\n\"handshake bus\" GreenArrays chips use:\n[http://greenarraychips.com/home/documents/greg/PB003-100822-...](http://greenarraychips.com/home/documents/greg/PB003-100822-F18A.pdf)\n\n------\nexception\nI loved the 6502. Around that era I programmed the SC/MP, Z80, the 8080 and\nthe 6800. Although the Z80 was more powerful, the 6502 holds a special place\nin my heart as it was the first CPU I worked with and I loved the simplicity\nof the instruction set.\n\nMy crowning achievement was a multi-threaded kernel for a CNC punch. Since the\nstack was at a fixed memory address and there was no PUSHA, I had to change\nthreads (in response to an IRQ) by sequentially pushing the registers on to\nthe stack and then swapping the stack with a block copy. It worked! Crazy :/\n\nI loved reading this article - thanks for posting. Awesome stuff! Makes me\nwant to code my own circuit emulator :)\n\n~~~\nthinkingeric\nDitto that. My first programs were in assembly on the 6502, and I'm thrilled\nto see it getting this attention. I'm just sorry that I don't still have the\nKIM-1.\n\n~~~\ngreggraham\nI was planning on buying a KIM-1 when my dad surprised me by buying an Apple\nII. I didn't end up writing anything in assembly on the Apple II, though. My\nfirst assembly language was IBM-370 in college. I wish now I had started with\nthe KIM-1, though.\n\n------\nVMG\nHere it is in all its javascript goodness:\n\n\n------\neru\nThe CCC congress yielded some great talks this year.\n\n"} {"text": "\n\nThe Importance of Ron (Conway) - hshah\nhttp://omis.me/2010/04/08/the-importance-of-ron/\n\n======\nbtilly\nSee for yesterday's discussion\nof Ron Conway that may put this in perspective.\n\n"} {"text": "\nJoin our hacker house for new YC companies - thejash\nhttp://www.founderflat.com/\n======\nnickpinkston\nI'll vouch hugely for Josh \"thejash\". Josh is ultra hardworking, super smart,\nand the least flakey dude that I know. He's also managed a shared housing\nsituation for years, so he's really the ideal dude to be doing this.\n\nDisclosure: Josh and I founded/sold a company together and overall have been\ngood friends for many years.\n\n------\nmbeebe\nHaving just gone through the winter batch, the closer you are to YC, the\neasier it is going to be.\n\nBetween dinners and office hours you wind up going there frequently. Traffic\nis a big pain when trying to get to the dinners on anything other than surface\nstreets.\n\n~~~\nthejash\nOther YC alumni that I spoke with felt the same way, which is a big part of\nwhy the final location will probably be in or near Mountain View.\n\n~~~\njedberg\nIt's not so bad if you are near any Caltrain or light rail stop, since both\nstop very close to YC.\n\n------\nargumentum\nList of potential craigslist houses I found, mostly in palo alto or within\nminutes from..\n\n\n\n\n\n\n\n\n\n\n (has basement!)\n\n~~~\nthejash\nThanks for the links!\n\nIt's tough to find huge places, so if you (or anyone) knows of suitable places\n(>=6br), especially those NOT listed on craigslist/etc, please comment or send\nme an email.\n\n------\nkirinan\nThis is a fantastic idea. I signed up for Ycombinator and since I'm moving\nfrom Ohio, wasn't sure where I would be able to find housing. This solves that\nproblem. Im not sure how competitive it will be able to get into the \"house\",\nbut hopefully not that competitive.\n\n~~~\nthejash\nIf it ends up being really competitive (and we have more people than can fit\ncomfortably in one house), then we can do two or more. I have a number of\nplaces that I'm looking at already, so I'm pretty sure we won't end up with a\nsituation where people can't live in any of the available houses*\n\n*excluding rounding (like if there are 8 people and only 7 slots in one house)\n\n~~~\nkirinan\nAwesome, well I plan on bringing a car if I'm accepted so whomever lives with\nme will have transportation when I'm available. Good idea on getting more than\none, I think this can be profitable for you (if you are looking for that ) as\nwell as being a good deal for the people moving there.\n\n~~~\nthejash\nI'm not looking for profit in this--it's a horrible business idea :) I'll be\nhappy if I get to meet some interesting people and don't lose all that much\nmoney.\n\n~~~\nkirinan\nThe meeting people part makes up for any lost money anytime!\n\n------\nandrewhillman\nThis is a great idea. Might as well make the experience social since most YC\nalumni regret not getting to know the other companies during the 3 month\nperiod. Might be cool to have weekly pitch events/gatherings at the location.\n\n~~~\nthejash\nThe \"regret not getting to know each other\" is definitely something that I've\nheard from recent YC alumni.\n\nAs for weekly gatherings--I think that might be a bit distracting for the\nteams there, but I can see occasional gatherings being valuable.\n\n~~~\ncarterschonwald\nThis. Thinking and problem solving is a social process, the human brain is\ndesigned to be fueled via lots of nuggets of social. Theres a huge amount of\nvariability in what sorts of socialization different folks need and what form\nit needs to take, but it's absence creates a terrifying inability to think\nclearly and execute.\n\nFoam earplugs plus around the ear headphones solve most hearing other people\ndistractions. :)\n\nPoint being, if my group is in YC this summer, we're definitely looking for a\nsocial living space\n\n------\nmirsadm\nI signed up (we applied for YC). Having gone through the hassle of finding a\nplace in a few places recently it is a huge pain in the ass. This is a great\nidea but I'm not sure we'd be able to commit to a 6 month contract.\n\n~~~\nthejash\nI think a 6 month contract isn't too bad, when you consider that it's\nbasically:\n\n1 month for moving in before YC starts\n\n3 months for YC\n\n2 months for wrapping things up and finding a new place and moving\n\n------\nargumentum\nGreat idea.\n\nI was thinking about creating my own post for a YC hacker house, but I'd\nrather not deal with organizing and getting a landlord on board with something\nlike this.\n\n------\nbravura\nCost: $500 + $600 * numBedrooms) <= cost <= ($1000 + $1200 * numBedrooms)\n\n _You decide numBedrooms for your team. The fixed cost is to cover shared\nrooms (kitchen, conference room, living room, etc)._\n\nLarger teams will incur a larger utilization of shared resources, and hence\nshould pay more for shared resources. It more fair simply to divide the\noverall cost.\n\n~~~\nthejash\nThat's true. But on the other hand, imagine this situation:\n\n3 teams with 3 people. The house has 7 br. 2 teams each buy 3 br (for a total\nof 6 of the 7 being used), then the other team buys 1 br, and they all always\nwork from and hang out at the house. It would be lame that that 3rd team was\npaying 1/3rd the cost of each of the other teams. So this formulation was an\nattempt to account for that.\n\nBasically, my theory is--be reasonable. If you're using 42% of the house, you\nshould pay 42% of the costs. I'm happy to adjust the costs to make it work out\nin a reasonable way.\n\n------\nlarrys\nI wondering what the reaction would be if a few well known and loved VC firms\n(that have funded YC companies before) got involved and subsidized part of the\nrent for something like this or even something on a larger scale. Thoughts on\nthat idea?\n\n~~~\nthejash\nI'm not sure how subsidizing the rent would help the companies, especially if\nthey've already gotten into YC (and thus just got a bunch of investment, with\nother investment pretty readily available).\n\nSeems like it would be better to just keep the investing as direct dollars for\nequity, like it is now. Unless I'm missing something? I'd be happy to be wrong\nhere. :)\n\n~~~\nlarrys\nI'm thinking of it similar to how corporations want their names on rooms\nand/or buildings at colleges. Showing a level of support which, while not a\nquid pro quo, shows support in a way that isn't directly linked to a benefit.\n\nThe support could come as monetary support and maybe doing the thing that PG\ndoesn't have the time for as mentioned here (coordinating housing):\n\n\n\n------\ndmvaldman\nJust signed up. I've been sequestered in my fortress of solitude for too\nlong!!...Now if only I could get accepted to YC and cash in on this deal...\n\n------\namccloud\nWhere is that Zencoder house? ()\n\n~~~\nthejash\nI don't have an exact address. I spoke with Jon (of Zencoder), he said it was\nsomewhere in the Santa Cruz mountains. Such a place is probably a little too\nremote for most people (it was a 30 minute or more drive to YC)\n\n~~~\nargumentum\nI don't mind, I have a car and don't mind sharing. I kind of like the idea of\nliving in a remote fortress, like a mad-scientist. But yeah, probably not\npractical for enough people, unfortunately.\n\n~~~\nthejash\nI agree with everything you said.\n\nHopefully you signed up and made a note about your preference for a remote\narea?\n\n~~~\nargumentum\nYes, I did, though I'll only know today whether yc has a chance of happening\n(interview invites go out this evening I believe).\n\n------\ncitricsquid\ncurious, will you be funding this out of pocket with the rent from the people\nliving there used to reimburse yourself, or will you be using the rent paid by\nthe people living there to pay the rent? I assume the former but I thought it\nmight be worth you clarifying. Great idea, good luck!\n\n~~~\nthejash\nI haven't fully decided--it's not going to be free, for sure. Probably, people\nwill pay me and I will pay the landlord, since that seems more convenient, but\nI could easily be convinced to just have people pay directly instead.\n\nAs I said on the page, the goal is not to make money, so any payment will just\nbe to cover costs. I'm not quite wealthy enough to just give away the space\nfor free yet :)\n\n~~~\ncitricsquid\nMy point was more that if one person flakes for whatever reason or a startup\ndrops out and you're financing the entire thing directly with the rent paid by\nthe rentees you're in for a world of hurt unless someone comes up to cover\nit... I assume if you pay for it and then the rentees reimburse you the worst\ncase is you lose money; not that people end up homeless.\n\n------\nkcrussell\nThis is great! A great idea for any incubator area.\n\n------\nsparknlaunch12\nAre pets allowed?\n\n~~~\nthejash\nI can't see anyone objecting to a fish or something. As for cats and dogs...\nmy guess is probably not, either because other people would object, they would\nbe bothersome, or the lease would not allow for it. So it's possible, but\nunlikely.\n\n~~~\nsparknlaunch\nThanks for the reply. Great idea to get like minded people together. We hope\nyou plan to share the stories and results from the house. Will make\ninteresting reading if all house mates end up making it big.\n\n"} {"text": "\n\nShow HN: Open-Source Anonymous Encrypted TLS+OTR Messaging Written in Go - RomanPushkin\nhttps://hacktunnel.com\n\n======\nsusi22\nI'm still waiting for the day that somebody does a \"super simple chat\" with NO\ndependencies. Why do they all need REDIS or some kind of persistence? Why not\njust hold it in memory?\n\nIf you really have a use case where persistence & scaling is an issue you're\nlikely not going to use any of those chat servers anyways.\n\n~~~\ndefaultcoder\nOne of authors is here.\n\nRedis saves data to the disk by default but this can be turned off. That's\nwhat we did. GUIDs of connected users are stored in memory with expiration by\nthe 10 min timeout.\n\nI think scalability does not hurt privacy. It's nice to have 10 servers with\n40GB memory instead of one with 4GB. Connections between servers can be\nencrypted with TLS.\n\n------\nthomasjudge\n\"How safe is my tunnel?\n\nYour tunnel remains safe until your password or our servers are not\ncompromised.\"\n\nuhhh...\n\n~~~\nRomanPushkin\nFair enough, huh :) Actually, it's mentioned because we wanted to note it\nsomehow - it's always better to have this set up on your own server\n\n~~~\nkodablah\nI haven't looked deeply into this implementation, but with OTR's forward\nsecrecy and 3.1+ authentication, is that not enough to defeat even the server\nbeing compromised? (meaning, at least you would know it was compromised\nassuming you trusted the actor on the other end)\n\n~~~\nBogdanovich\nIf server is compromised, web app source code would probably change to\nsomething else.\n\n"} {"text": "\nRetailers Are Losing the Software Talent Wars - jongraehl\nhttp://www.businessweek.com/magazine/retailers-are-losing-the-software-talent-wars-12012011.html\n======\njtchang\nI can't believe some of you are saying they should put together a bunch of\nawesome programmers and rewrite their platform from scratch.\n\nCertainly that is an option. But rarely is it ever the correct one. Your new\nplatform could be as riddled with bugs as the old one.\n\nThe truth is that finding good engineers is about knowing the right\nincentives. Retailers are losing the talent wars because they don't know how\nto compete. And while salary is one lever Target can fiddle with, it certainly\nisn't the only one.\n\nTarget needs to look at the right incentives for the people they want to hire.\nIs telecommuting an option? How about direct authority to approve changes? Or\nthe chance to build your own team? These are the incentives that matter to\nengineers.\n\nThe problem is cutting through all the rhetoric in hiring. Target can say \"we\nwant to revolutionize the ecommerce industry\" but do any engineers actually\nbelieve them? That's tough.\n\n~~~\nkls\n_And while salary is one lever Target can fiddle with, it certainly isn't the\nonly one._\n\nI would argue set high enough it is the only lever. Many that play the start\nup game do so because first and foremost, there is the chance to earn far more\nthan they can at an organization like Target. Sure it's a long shot but, there\nis at least the chance, if large organizations started to cross that chasm. I\nbelieve that they would indeed start to attract talent. If one could become\nmoderately wealthy working for Target then a lot of people would choose that\noption, sure it's not the fame and fortune of making it in a start up, but a\nroad somewhere in the middle is a road I would imagine that many developers\nwould be willing to travel.\n\n~~~\nbluedanieru\nThat's not very realistic and they almost certainly don't have the money for\nit. Moreover, increasing salary nets diminishing returns for motivating people\nafter a certain point, and if it sucks to work for you, then no matter how\nmuch you pay, people are going to get bored and frustrated and leave.\n\n~~~\nkls\nI would be hard pressed to believe that they do not have the money for it,\nwhile I was at Marriott I doubled our budget for salary and did not change\nhead count. I raised salaries above market rate and used some of it for merit\nbased bonuses. It was very effective in recruiting and retaining talent. It\nwas not the only thing that I did, but money cannot be discounted as a\nmotivating factor. I will cede to your point that it the place flat out sucks\neven an astronomical amount of money may not retain your talent. But I am\ngiving them the benefit of the doubt that they are mediocre at worst.\n\n------\nadaml_623\nI think that article is neglecting the posibility that Target (as an example)\nhas the software engineers who are talented enough to fix the site.\n\nBut what they almost definitely have is buckets of management and procedures\npreventing them from fixing the site. The kind of person who is afraid to\nreboot the server because it hasn't been rebooted in 6 months. Or who says if\nwe do anything then we might make it worse.\n\n~~~\ncodeonfire\nAlso lets not forget micromanaging tech managers who's one or two years of\ndevelopment before they went into management (hey they figured out technology\nin one year unlike all those other saps) entitles them to force their stupid\nand disastrous ideas onto the engineering team.\n\n------\nRoboprog\nHmm. Rather than spend $180 or $300 million to purchase tech companies, maybe\nsome of these stores could try paying Silicon Valley salaries to a team of 10\nor 20 devs.\n\n20 devs * $200 K (loaded) / year = $4 M / year.\n\n... Assuming they had a way to bootstrap an idiot-rejection-filter.\n\n~~~\nbgentry\nThat's a much better plan. It's funny that they are unwilling to pay above-\nmarket salaries to a few competent devs.\n\n~~~\najross\nIt's a terrible plan. Paying a bunch of rock star salaries just gets you a\nbunch of people that _say_ they are rock stars. If you don't have any on\nstaff, you don't actually know if they are or not (pg has an essay about\nexactly this).\n\nHistory is filled with these kind of rock star failures.\n\nBuying the company gets you a team that can verifiably build the product you\nwant, _because they already did_. That kind of conservative risk management is\nworth a ton of cash in the real world.\n\n~~~\ndroithomme\n$200k isn't a rock star salary.\n\nYou are correct that paying market salaries for competent engineers does not\nensure competent engineers.\n\nHowever it must be noted that _not_ paying market salaries for competent\nengineers definitely ensures that one employes substandard talent. The market\nis working well right now and competent engineers have no problem receiving\nmarket rate. There is absolutely no reason whatsoever why competent engineers\nwill not find a job paying the market rate for their talent, and that is\nexactly what happens. As for the companies that can not pay market rate, well\nthey are simply not competitive and will fail. That's how the free market\nworks and it is a very good thing.\n\nAny company that requires being competitive in the tech domain needs to be\nwilling to pay for key talent. Companies like Target definitely need to do\neverything they can. Arguments that incompetent developers are good enough are\nabsurd. Obviously what they have now is not working.\n\nBuilding a site that can handle a nationwide retailer the size of Target,\nsecond only to WalMart in brick and mortar stores, is completely non-trivial.\nThe top 2 engineers there need to be paid at least $1.5 million annual salary.\nSorry. I know many companies don't like this but there it is. Now obviously\nthere are many levels below this, but this requires a pretty large development\nteam and several below this level are going to be getting $200k-$400k. At the\nbottom, the losers that are just out of college and don't know anything, those\nguys are going to be making $75k to start. Because that's the starting salary.\nCompanies don't want to hear this. Only the fatuous useless ignorant\nexecutives that have run the company into the ground should be paid these\nsalaries, in their opinion. Well, they can keep thinking that and see where it\ngets them. Many will lobby Congress, that is a popular tactic. Pay a lobbying\nfirm $25 million and maybe you'll be able to flood the market with cheap\nengineers from overseas who are willing to work for $21 an hour, and are able\nto do the same things that any other $21 an hour retail employee can do.\nBecause the overseas guys that really know their stuff are not looking for $21\njobs, they are making the same salary as everyone else with their skill level.\nBecause that's how the market works.\n\n~~~\nmoocow01\nSorry but in what world do you live in? Whatever world it is I'd like to join\nbecause I've never heard of engineers making 1.5 million in salary. I think if\nyou look on Glassdoor you'll realize 200k is a very high salary for an\nengineer at any company in SV.\n\n(Also as a reference a Sr. Architect at Walmart.com according to Glassdoor\nmakes 120-130k)\n\n~~~\nRoboprog\nThanks for the data. And I won't be leaving the financial firm I work for to\ngo to WalMart any time soon from the sound of it :-)\n\n------\njoshwa\nI work at macys.com, and here's where I recruit you!\n\nUnlike most retailers, our e-commerce division operates on its own, and we\nhave the agility (and capital budget) to move quickly and act on big\nopportunities. Yes, there's a lot of work and headache that's involved with\ndealing with massive retail systems, and they have about as much legacy stuff\nas you'd imagine a 150-year-old company with a history of giant acquisitions,\nbut thankfully most of us never have to think about that stuff except at the\nedge of some giant diagram.\n\nWe have a whole bunch of floors in downtown SF that's just for dotcom--mostly\nengineers, some QA, some product/management, etc. We're reasonably up to date\nwith new technologies--although we're a Java shop, some stuff gets done in\nScala, there's an active Hadoop project, and lots of big, interesting problems\nin scalability, UX, big data, analytics, SEO, etc.\n\nExample: I work on the internal-facing web product setup apps, primarily on\nproduct image stuff. Every product has to get photographed (including getting\nthe physical sample from the manufacturer to the right studios, on the right\nmodel, etc), color corrected (we sell items in 60+ colors) mapped to products\n(is this the primary image? a swatch? a back view? which UPCs does it\nrepresent? what happens if the color sells out?). This all happens at scale:\n130k physical samples trafficked, 150k products, 250k images.\n\nToo bad this is on a weekend before new year's, otherwise I'd get all my\nfavorite dev leaders in here to pitch you. We're growing (even in a down\neconomy, we're posting significant growth year after year) and hiring like\ncrazy (a current search shows 25 open FTE requisitions in SF, and our contract\npartners even more).\n\nThe work environment is a little BigCorp-ish, but it's relaxed (it's SF, after\nall), and they take work/life balance seriously, so if you're a hacker with a\nfamily you're definitely welcome here. I work with a lot of really smart\npeople who get things done. Yes, we sell pants, but you get a 20% discount,\nand you get to find out when things go on sale beforehand ;)\n\nCurrent openings: Salaries are Bay-Area\ncompetitive, full benefits package, etc.\n\nor if you want to know more you can contact me directly at\njoshua.wand@macys.com, with \"Hacker News\" in the subject.\n\n _NB going to bed now (11pm PST) but will be up in the morning to answer\nquestions_\n\n~~~\nchaostheory\nI'm not sure if these are problems anymore @ macys.com, but here's a list of\nissues I remember:\n\n1) It is very hard for the company to match market salaries even though its\nmargins are pretty good for a retailer. The only retailer I know of that does\nwell in the salary dept is Amazon.\n\n2) The development culture: I think this is every large retail company, but I\nfeel that you guys tend to favor anything coming out of Big Blue (or Big\nCompany X) as opposed to something technically interesting (but no longer\nbleeding bleeding edge) in the open source world. You guys tend to buy stuff\ninstead of building. There's definitely nothing wrong with that given the\nsituation and culture, but I feel that it doesn't fit very well with the HN\ncrowd at large.\n\nThat being said, Macys.com has some of the coolest, nicest people that you'll\never meet in the workplace; which is really great.\n\n~~~\njoshwa\nTo the best of my knowledge both of these issues are much improved over a few\nyears ago.\n\nHow long ago were you there, and working with what group?\n\n------\nhkarthik\nHere in Dallas, lots of retailers have their corporate headquarters here. I've\ndone some consulting work for one of them in the past and a couple years ago\none of them was trying to recruit me pretty heavily for their big e-commerce\npush.\n\nMost of these companies don't have that many full time employees in their IT\ndepartments. A handful of full time employees will oversee an army of\ncontractors and consultants. Most of these folks are specialized in SAP,\nOracle, Business Objects, etc and don't know the first thing about building\nscalable web-based e-commerce.\n\nThe sites that do exist tend to be old, monolithic .NET or Java apps with\nantiquated processes to deploy them. An old boss of mine that went to work for\none of these retailers said he had to get 5 physical signatures on a form to\npush out a CSS file to the site.\n\n~~~\nkls\n_had to get 5 physical signatures on a form to push out a CSS file to the\nsite_\n\nThat is a huge issue that developers see when they see an established company.\nThen you add in existing technical ego's from other teams and you just have a\nrecipe for a stagnant crashing every month disaster. It's a generalization,\nbut we all make them, it is how we make semi-informed decisions based on loose\nfacts. Some large companies are wrongly maligned in the process but it's the\nreality.\n\nWhen I took over the web at Marriott, we separated it from IT all together and\nmade it a business division, in doing so we could make decisions independent\nof IT approval and we I had an independent budget under my discretion. Many\ncompanies just don't get how these slight organizational changes can make a\nhuge difference in a teams ability to deliver technology.\n\n~~~\nhkarthik\nThe retailer that tried to recruit me was led by a former startup CTO that was\ndoing much of what you described to try to change things. Aside from\nseparating IT, the other big change was to create a new campus/location with a\nbetter dress code, no Web Sense, and a separate network domain.\n\nThis post reminds, I should check in with him and see how things are going.\n\n------\nprophetjohn\nThe fact is that being an engineer at Target is very likely a boring,\nbureaucratic drag. The best engineers are overwhelmingly the best engineers\nbecause they love what they do and hone their craft. Someone who takes so much\npride in what they do is not likely to get much satisfaction out of developing\na website that helps people buy a mop. It's a fine thing to do; people need\nmops. But it's not a particularly interesting problem to be solving.\n\nSo, I think places like Target will always have this problem unless they're\nwilling to pony up the cash and offer more money than the interesting jobs.\nAfter all, there's no reason that some behemoth like Target can't compete with\nsome SV startup in salary.\n\n~~~\nams6110\nBasic e-commerce for such things as mop-buying is a solved problem in 2011.\nNot sure why you would even need a large team of top-notch developers at a\nplace like Target. A few good sysadmins and DBAs, and maybe some\ngraphics/front-end types.\n\nEdit: Upon thinking about this a moment longer, I think that actually there\nwould be (or could be) interesting work at Target, simply because of the scale\nof the operation. Though sadly you are still probably hitting the mark in the\n\"bureaucratic drag\" assessment.\n\n~~~\ndroithomme\nTarget is the third largest brick and mortar retailer in the US. Running a\ncomputer network nationally for Target is not a solved problem. Sure, it's a\nsolved problem for #1 WalMart, using entirely custom software that WalMart\ndeveloped in house. But it's not like WalMart is selling that software to\nTarget.\n\n~~~\ntsotha\nBut how much traffic does Target get? The fact that it's the third largest\nbrick and mortar retailer means nothing at all.\n\n------\ndesireco42\nNot only that they have caps on how much developers can make, they are also\nheavily miss-managed, full of crazy managers with insane ideas, consulting\ncompanies with their own agendas, agile that is not even close to agile, etc.\nYou don't need to be in Silicon Valley to make decent website, you do have to\nmanage it and develop it properly, most don't do that.\n\n~~~\njaggederest\nRight, it's not a failure of recruiting, it's a failure of management and\nenvironment: nobody wants to work at Target developing software no matter how\nmuch money they pay.\n\n~~~\nreissbaker\nIt'd be interesting to know how much they pay, though. And how they adjust\nsalary over time.\n\n------\nmechanical_fish\nSo is it just me or does the main example in this article have a glaring flaw?\nOne that appears right in the first sentence?\n\n _For a decade, Target (TGT) outsourced its website operations to Amazon.com\n(AMZN)._\n\nI don't know about the other retailers, but Target's recruitment problem\nbegins and ends in this sentence. Target lost the talent war a decade ago; it\njust took until now for the seeds of their destruction, _which they planted\nand fertilized in Amazon's organization_ , to grow tall enough to be\nnoticeable.\n\nOh, well, I'm sure the management genius who scored a short-term boost in\nprofits by feeding the seed corn to Amazon collected a nice bonus.\n\n------\nsun123\nI have worked in the IT department of a large IT firm. It is frustrating.\nThere is a long irritating procedure for doing even small things.When I\ndecided I'll be using jQuery in one of the screens, the guys at the \"top\"\nstopped me saying it may violate copyright laws and stuff like that. Most\npeople are simply not aware of what is going on in the industry.\n\n------\nKevinMS\nI must be living in some parallel universe. My resume just sits up on dice and\nmonster and the only hits I get every day are from the same useless\nheadhunters about exciting \"6 month\" ruby or perl gigs. Sure, I'm not the best\nat selling myself, and I'm terrible at networking, but you'd think if all this\npress is true about a dev talent shortage, I'd be seeing some more outreach,\neven though I'd probably not be interested.\n\n~~~\nmattdeboard\n> _I'm not the best at selling myself, and I'm terrible at networking_\n\nYeah if you want a cool job, or however you define the job you feel you\ndeserve, you need to sell yourself and network. Period.\n\n~~~\nKevinMS\nYea, but understand that is not my point, and I'm not asking for your Tony\nRobbins like advice. If there was such a desperate market for talent out\nthere, I should be seeing it, regardless of whether I was selling myself or\nnot. Either their talent searches are incompetent or this is just manufactured\nnews for somebodies agenda.\n\n~~~\nbrianbreslin\nIf they can't find you, dice or not, they won't know why they should hire you\nor who you are.\n\n~~~\nKevinMS\nBut somehow those bottom feeding headhunters can find me and send me about 20\nemails a day all for the same job.\n\n~~~\nryanhuff\nThat's because you're swimming in their pond. Get out of Dice and find other\nways to meet people who work for the companies that you want to work with.\n\n~~~\nKevinMS\nGuys, I'm not posting to get advice on finding a job, I'm trying to stay\nrelevant to the story posted.\n\n~~~\nmattdeboard\nYou suggested the article was 'manufactured' because your resume on DICE isn't\ngetting you job offers from high-end companies. We're telling you that you're\ndoing it wrong. It's relevant.\n\n~~~\nfractallyte\nNo: if a company was _really_ invested in looking for top talent, one would\nexpect to see prominent job postings on its website as well as\nDice/Monster/etc.\n\nWe shouldn't have to inveigle ourselves into a job in a convoluted networking\ngame. Post the jobs on popular boards, with relevant _informed_ requirements,\nproportionate pay, and a proper hiring process.\n\nSo answer the top poster's question: _where are the job ads? Where's the\noutreach from these needy companies?_\n\nApparently, nothing. Either the companies concerned are still in some\nrecruitment stone age, or the whole article is a sham.\n\n~~~\nkls\nNo very few people uses those sites anymore, the jobs are not there. That is\nthe point the other posters are making, the world has moved on, Linked-In and\nother sites have become the hotbed of activity for recruiting. Headhunters are\njust scouring the cracks of the internet (Dice, Monster) to find resources\nthat have not been put in front of these organizations, in hopes that they get\na hit. They are playing a numbers game. Tech unemployment is officially at\n2.7% and I think most on this site would agree, it feels like it's somewhere\naround that number.\n\n------\njeremystine\nNow that you have heard from big-Corp (Macy's) here is where I pitch you! I'm\na one man team working for my family biz Stine Home & Yard. We just launched\nStineHome.com with very limited product (around 100 products) but goal by end\nof 2012 is to have over 35,000 products online. Looking to bring on board\nsomeone who has exerience with this. No bureaucratic bs. Would have a feeling\nof a startup in a cool city. Preferably would live in New Orleans/Louisiana\narea. If interested drop me a line at jeremystine@gmail.com with Hacker News\nin subject.\n\n------\nmwsherman\nWouldn\u2019t this state of affairs scream out for simple, off-the-shelf ecommerce?\nEcommerce platforms have been around as long as the web, but they are\nenterprisey behemoths (last I looked, a long time ago).\n\nWhere is the Wordpress for retail?\n\n~~~\nmwsherman\nMaybe the limiting factor is the ability to integrate with backend inventory,\netc. I suspect there is no lightweight (read: inexpensive developer) way to do\nthis.\n\n(Which makes me wonder if there is a Wordpress for ERP.)\n\nThe other way to look at it is that for the 2-3 top players in a sector, there\ncan never be off-the-shelf. WalMart\u2019s differentiation is incredible supply\nchain, which they had to invent. Being a big guy means you are doing something\ndifferent, almost by definition.\n\n~~~\nfloppydisk\nWalmart is also pushing hard into R&D, see . Of\nall the traditional retailers, I'd say Wallyworld is the most invested in 21st\ncentury retail tactics and actually doing a decent job of it.\n\n~~~\nntkachov\nI took a look at that website and noticed alot of the job openings were very\nsimilar to job openings of Start-ups.\n\n~~~\nearl\nExcept you're working for a corporation that is actively evil. Walmart has a\nlong history of discriminating against women [1]; has an extremely high\npercentage of employees who are on welfare (it's at minimum unseemly for an\nemployed person to be paid so poorly they still need welfare) (examples from\nohio[2]; general [3]; arkansas [4]; washington [5]); works hard to avoid\ngiving health insurance to their employees -- as of 2005 they only covered 44%\n[6]; etc etc etc. There are far more reasons than the type of work to avoid\nworking for a corporation with such a _refined_ sense of ethics.\n\n[1] \n\n[2]\n[http://www.politifact.com/ohio/statements/2011/jan/12/robert...](http://www.politifact.com/ohio/statements/2011/jan/12/robert-\nhagan/rep-robert-hagan-slams-wal-mart-over-workers-needi/)\n\n[3] \n\n[4]\n[http://www.democraticunderground.com/discuss/duboard.php?az=...](http://www.democraticunderground.com/discuss/duboard.php?az=view_all&address=102x1321376)\n\n[5]\n[http://seattletimes.nwsource.com/html/localnews/2002791346_w...](http://seattletimes.nwsource.com/html/localnews/2002791346_walmart07m.html)\n\n[6]\n[http://www.businessweek.com/bwdaily/dnflash/oct2005/nf200510...](http://www.businessweek.com/bwdaily/dnflash/oct2005/nf20051020_3732_db016.htm)\n\n~~~\nkls\nYeah I have to agree with you there, it would be hard for me to believe that\nWalmart would not cut high pay developers at the first opportunity. I remember\nAT&T forcing my paraplegic developer buddy to train his Indian replacement or\nface instant termination. To me Walmart seems like the same kind of, eternal\nquest for profit type organization.\n\n"} {"text": "\nLive Captions in Hangouts Meet - oshanz\nhttps://gsuiteupdates.googleblog.com/2019/04/live-captions-in-meet.html\n======\noshanz\nanyone knows how does it works? apparently google meet doesn't has p2p\nencryption. so maybe server doing this?\n\n"} {"text": "\nPmarca Guide to Personal Productivity (2007) - tosh\nhttps://pmarchive.com/guide_to_personal_productivity.html\n======\nlqet\nWhile I think that completely avoiding a calendar or any fixed appointments is\na bit unrealistic (think of doctor's appointments), I agree and deeply\nsympathize with the gist of it. One of the main reasons I quit my previous job\nwas that I was unable to get _any_ meaningful work done, because the day was\nvery tightly organized around a central ticketing system. Oh, you had a nice\nidea to solve one of the problems in the long-term project the company is\ncurrently working on? Too bad, because there are already 4, oh wait, 5, high-\npriority tickets waiting for you, and by the time you have finished those, you\nwill have forgotten the idea. This happened so frequently and was so\nfrustrating that after a few months I just shut off my brain and was basically\na robot finishing off tickets assigned to me. Needless to say, I felt\nmiserable for 1.5 years.\n\nAfter I quit, I lived off my savings for 6 months and literally had no\nschedule of any kind. I woke up and did whatever I was interested in. I got\nmore work done in these 6 months than in the 2 years before.\n\n~~~\nyawaworht598\nwow i feel a lot like you describe. I've been thinking about taking a few\nmonths off just to reset and somehow figure out what I want to really be doing\nbut... it's scary. I have the money saved up for it to not be a problem. But\nafter the 6 months... then what?\n\nWhat did you end up doing? Any advice?\n\n~~~\nlqet\nIf you aren't interested in freelance work, try to look for companies with a\ndedicated research team. You usually won't find that in smaller companies, as\nthey cannot afford a few people trying to solve a problem for 2 years with\nonly a 60% chance of success.\n\nPS: if you are really unhappy with your job (to the point where it affects you\nphysically), don't think it will magically get better if you stay. It won't.\nThis hope wasted 1 year of my life.\n\n------\ntuxxy\n> When someone emails or calls to say, \"Let's meet on Tuesday at 3\", the\n> appropriate response is: \"I'm not keeping a schedule for 2007, so I can't\n> commit to that, but give me a call on Tuesday at 2:45 and if I'm available,\n> I'll meet with you.\"\n\nIs it just me, or does this come off as exceptionally arrogant? It's literally\njust telling people to plan their lives around yours. It just seems like time\nspent with this individual is a token of charitable _grace_. This is the\nopposite of what I'd expect professional behavior to look like.\n\n~~~\nadrianmsmith\n_\" It's literally just telling people to plan their lives around yours\",_ I\nagree, but on the other hand why should people have the right to tell you to\nplan your life around theirs, isn't that arrogant of them?\n\nRegarding this, and also not answering the phone, and turning off email, it\ndepends on what sort of job you have.\n\nFor me this is all about: my best work comes from when I'm in the flow. So\nI'll do anything to avoid being taken out of it.\n\nI am a software developer, freelance, mostly work from home. I have deadlines,\nand I mostly work in fixed-price projects so the longer it takes the less I\nearn per unit time. I can get high-quality work done the fastest when I'm in\nthe flow.\n\nIs it the right of the customer to call me and interrupt me from my flow? I've\nagreed to deliver the software by a certain time for a certain price, that's\nit. They might be my client, but I did not agree to be reachable at any time\nfor any impromptu meeting on any topic of their choosing. I agreed to deliver\nsoftware, not reachability.\n\nIt's literally a zero-sum game. They want help planning something, or they\nhave a question, they're in the flow about that, they don't want to be taken\nout of that flow. On the other hand, I'm in the flow about my thing, and don't\nwant to be taken out of it. It's perfect for the other people if I always do\nwhat they want, but sometimes you have to stick up for yourself and do what's\nbest for you.\n\nCalling them back a few hours later when I'm out of the flow, or emailing them\nback 6 hours later the same day, has always worked out well for me.\n\nI understand that not all jobs are like that. What I mean to say, it's\nnevertheless wrong to assume that no jobs are like that. Mine is like that,\nand the approach to using the phone outlined in the article. is great advice.\n\n~~~\ntuxxy\nThe examples you have given aren't really a proper equivalent to what is being\ndescribed in this article here.\n\nScheduling isn't meant to be some Randian, individualistic practice. It's a\ncollaborative effort between people that should say something of the effect,\n\"My time is valuable, as is yours. You seem to be interested in something I'm\ndoing and I'm interested in telling you about it. Let's find a time that's\nagreeable to both of us where we are both unencumbered and can freely\nassociate.\"\n\nIf you're not interested in meeting, then you have options: 1) Ghosting\n(controversial, but some requests deserve this response), or 2) Refusing to\nmeet.\n\nInstead this reads as, \"I value my time far more than anyone else I associate\nwith. If I so happen to be available, then I'll reward you with the charity of\nmy time.\"\n\nOne of these is professional and makes other people you associate with feel\nvalued, the other makes you look like an arrogant ass.\n\n------\nMRD85\nSome of the points in this article I disagree with but others I like. Compared\nto my past self I am \"super productive\". I have a full-time career, a single\nparent to two young kids (approx 70% of the time I'm not at work I'm\nparenting) and I study nearly full time (3 units per semester) with a perfect\nGPA. I somehow still have time for \"wasting\", like commenting on online\ndiscussion boards, going on dates, etc.\n\n* Keeping lists: This one is huge. I have lists all the time which track what I need to have completed and when. I have watch lists for tasks like \"get birthday present for this kids party\", etc. I have a job list at work.\n\n _Procrastination: I use this all the time. It 's currently 7:23pm here, I'm\nwasting time now and I have been since 6pm but my deadline is I wake at 4am\ntomorrow to work.\n\n_Food: This article touches on food but I feel it's really important. I eat\nlow carb because I find carbs make me far more tired. I also avoid large meals\nbecause they make me tired.\n\nSomething that isn't touched on in the article: Find ways to save yourself\ntime. I get angry when I see an office worker earning 6 figures typing one\nfinger looking at the keys. Touch typing doesn't take long to learn but it\nsaves so much time and effort. Everyone has little quirks that take\ntime/effort to fix but pay off in a big way once fixed. Do it, it's worth it.\n\n~~~\ntosh\nymmv but often typing isn\u2019t the bottleneck, thinking is (typing faster != more\nnor better output)\n\n~~~\nlordfoom\nBut not having to think about typing reduces your cognitive load. Touch typing\nas a coder isn't about speed, it's about freeing your mind from having to\nthink about your fingers.\n\n~~~\nonemoresoop\nTouch typing is somewhat overrated. I never learn to touch type and never had\nany regret over it, don't get me wrong, I do t peck for keys either but the\nspeed of properly touch typing is no need for me, I'm not a professional\ntypist. I on the other hand am great at remembering shortcuts and I think\nthat's way more important to my work than touch typing, I feel that using the\nmouse to open a menu and click debug as a complete waste of resources and\nmental focus.\n\n------\npaultopia\nUm. \"I don't keep a calendar\" means \"I consider my time more important than\nyours, so we'll meet at my sole convenience.\" I would love to do that, but\neveryone else in the world would rightly understand it that way and would\ntreat it as a refusal to do core elements of my job.\n\nA: \"Let's schedule a committee meeting.\"\n\nB: \"I don't keep a calendar.\"\n\nA: \"So what you're saying is everyone else on the committee has to find time\njust for you? Fuck you, do your job.\"\n\nArnold Schwarzenegger could get away with that crap because he's a fabulously\nwealthy A-list movie star. The rest of us, not so much.\n\n~~~\nblastbeat\nFully agree. Also the rest of the article has questionable advice. I doubt the\nhelpfulness of later lists and anti todo lists. Not answering the phone or\npretending to be incompetent sounds like an idiotic idea too.\n\n~~~\noperakadabra\nNobody is promising that every suggestion will work for you. Try everything\nuntil you find something that does work.\n\n------\nCthulhu_\nIf there's anything I'd take from this article, it's techniques to avoid\nmeeting cultures; there's far too many people that want to book an hour long\nblock for a meeting about a thing that can be decided on in five. I think\nmeeting culture is a form of decision anxiety - have we considered all the\nfacts? What if I'm wrong? Is everyone aware that this is happening?\n\nIt was really quite bad at my previous assignment. I'm in a much smaller\nsetting now and I'm really trying to avoid it from becoming a thing. If\nsomeone asks you for a meeting, always consider if you can discuss it right\nthere and then.\n\nFor a lot of people, discussing it right there and then is already an issue\nbecause they're spending what little time they have in between meetings to\ncoordinate other meetings. That is, they don't have five minutes to talk about\na five minute thing because they have a meeting in five minutes.\n\n~~~\nbaby\nSee pg's article on maker vs manager schedule.\n\n------\nglormph\nI dont think an anti to-do list makes me more productive. But I sure like to\nkeep a log of things done in a text file so I can find what I did later. There\nis of course a limit to what I keep, but even one-liners etc can be stored in\nit. Especially when used seldomly, I dont remember all the bash tools\ninvocations. And no, I wont \"tear it up and throw it away\".\n\n~~~\ncodazoda\nI also keep a list of things I've done. Typically I just add those things to\nmy to-do list and check them off.\n\nThere are other good ideas in this post and for me they're timely. I'm\ncrunching on a business where I teach programming through art work. I'm\ndefinitely going to borrow some of these ideas for that. If that sounds\ninteresting to you, checkout\n[https://splashofcode.com](https://splashofcode.com)\n\n------\nOJFord\n> \\- Anyone who needs to reach you so urgently that it can't wait until later\n> in the day or tomorrow morning can call you [...] - Don't answer the phone\n\n...great?\n\n------\nticmasta\n>> work on whatever is most important or most interesting,\n\nhow often are these two the same thing? Which are you supposed to do when\nyou've got all this open-ended, distraction free time?\n\nAnd the whole \"no schedule\" thing comes off as cherry-picking data and\nsituations. Even when Arnold was making blockbuster movies do you think they\njust filmed whenever he showed up, keeping an entire crew on standby?\n\nDid you notice how all of his examples are individual activities? that's\ngreat, but it's tough to accomplish meaningful, revolutionary work without\ncollaboration. Schedules are super-useful (and I'd argue required) for\nshort/mid-term planning and prioritization across teams where everyone is\nimportant.\n\nThe approach here is for when there is huge asymmetry between parties - like\nan emergency room and patients. You show up with everyone else, then they\ntriage (hopefully by importance, not interest) and process. Guess what? even\nthe specialist still have schedules so they can work within a broader system.\n\nThe approach here sounds like the \"schedule\" of a lot of affluent retired\npeople.\n\n~~~\nMaulingMonkey\nWe tend to be interested in important things we're competent at. That's how we\ngot competent at them in the first place. Shepherding interest - trying to\nfigure out what's interesting about something important that you haven't\ntackled yet - can be useful to get competent at new things, of course.\n\nIn the emergency room, the pathologist will be interested in the sick kid\ninstead of the guy with the broken leg, even if the latter is \"more\nimportant\". Unless the staff are getting overwhelmed by a mass-casualties\nincident, that's probably actually the right approach. (I'm no doctor though.)\n\nI like email and other asynchronous/recorded communication for collaboration\nwhere possible, in lieu of synchronous meetings interrupting flow. But as you\npoint out, there's a lot of cases where this doesn't work. And even a bunch of\nlone wolves working on solo projects can benefit from synchronizing lunch with\ntheir coworkers for some socialization and facetime. I schedule that. It's\nflexible and not super rigid, but it's still a schedule.\n\n------\nwj\nIf you're interested in productivity tips from fellow Hacker News readers:\n\n[https://blog.startopz.com/10-productivity-tips-from-\nhacker-n...](https://blog.startopz.com/10-productivity-tips-from-hacker-news/)\n\nSome of my favorites that I compiled over time.\n\n------\nfourier_mode\nI mean there are so many tips for being productive, book X says maintain a\nschedule pre-planned for 2 weeks, book Y says do not maintain a schedule at\nall. Book X says do a bit of everything daily, book Y says devote a day for a\nsingle task. Hmph..\n\nThe only thing that works is somehow doing getting work done, rest is\nirrelevant. And that's why I don't see a point on self-help book in general.\n\n"} {"text": "\nChops \u2013 Make beats with your voice - gregsadetsky\nhttps://www.getchops.app/\n======\ngregsadetsky\nHey HN! We're Tristan & Greg from Chops\n[https://www.getchops.app/](https://www.getchops.app/) . Chops is an iOS music\nmaking app that lets you make beats with your voice. We're currently running a\nclosed TestFlight beta, and are planning to launch soon.\n\nTristan and I are both musically inclined without being professional\nmusicians. Our Voice Memos apps are filled with bits of song ideas that we\nrecorded as inspiration struck. An issue we've seen with recording these\nsnippets is that 1) you can't layer your voice easily without using a\nspecialized looper app and 2) it always sounds... like your voice. We're not\npro beatboxers, so our \"voice drums\" don't sound that great. Enter Chops.\n\nWe've designed a way to create drum tracks using your voice -- you \"sing\" the\ndrums and then pick a drum sound (kick, snare, hi-hats, etc.). Check out the\nvideo on our page to get an idea of how it works.\n\nWe're super excited to push this idea much further, and to make music making\nmore accessible, intuitive and fun. We feel that there should be a larger\noverlap between music \"fans\" \\-- this includes people that sing along to\nsongs, that hum tunes, that make up songs for their families -- and\n\"musicians\" as the term is too commonly defined (e.g., people with a musical\neducation, professional artists, etc.)\n\nIf you feel even a tiny bit musically inclined, we'd love to have you be part\nof this beta round!\n\nReach out to us hello@getchops.app for any questions or AMA here. Thanks a\nlot!\n\n~~~\nbashinator\nI've been wanting this for literally decades. I make mouth-click beats all the\ntime, and it's easier and more tempo-accurate than what I can do with my\nfingers/hands. Does Chops support more than one \"instrument\" at a time?\nTypically I use one click for the kick, and then a different one for the\nsnare. Can it act like a standard MIDI controller for external\nsoftware/hardware?\n\n~~~\ngregsadetsky\nThat's... exactly the use case we were thinking about! We've been using Voice\nMemos to record song bits / mouth beats, and hopefully this is the better /\nsmarter version of that.\n\nChops does support multiple instruments at a time -- right now, you can layer\nmany drum and audio tracks (drum tracks play built in drum samples, while\naudio tracks are those that you record using your phone's microphone).\n\nThe app is MIDI-based, but it cannot trigger external software/hardware\ndevices at this time. This is something that's on the roadmap!\n\n------\nphildionne\nLove the \"make beats with your voice\" tagline, it's simple and effective. The\ndemo video on the landing page makes me think on an idea: why not allow\nrecording a video of your face while you record your vocal beat? It seems\npeople are using TikTok as a mean of physical expression (through dance,\nmostly) and maybe your app could grow a subculture through the same dynamics?\n\nCurious to see the final version!\n\n~~~\ngregsadetsky\nTotally a great point, and other apps in this space -- typically those that\ntarget a larger, non-\"pro musician\" audience -- do have more entertaining /\nfun engagement mechanisms, such as recording a video selfie while singing /\nkaraok'ing, etc.\n\nReally great idea, thanks a lot!\n\n------\nplumbus420\nReminds me of Mike Gao's Vocal Beater [1]. Too bad it doesn't seem like he's\nbeen keeping it updated recently. He's able to beatbox and it'll automatically\nrecognize the instruments too.\n\nHere's a demo of him using it on YouTube:\n[https://youtu.be/OS7LeMHImBM?t=232](https://youtu.be/OS7LeMHImBM?t=232)\n\n[1] [https://apps.apple.com/us/app/vocal-\nbeater/id384844110](https://apps.apple.com/us/app/vocal-beater/id384844110)\n\n~~~\ngregsadetsky\nThat's fascinating! We're 100% going into that direction, and the necessary\nalgo work to do this reliably is not trivial.\n\nThank for the great pointers!\n\n------\ndang\nIt would be better to do this when you launch. Right now it looks like just a\nsignup page, and Show HN requires that there be something for people can try\nout:\n[https://news.ycombinator.com/showhn.html](https://news.ycombinator.com/showhn.html).\n\n~~~\ngregsadetsky\nHey dang, my sincere apologies about this!\n\nThe app is ready to test and we're reaching out to people who are signing up\nwith TestFlight links i.e., everyone will get to try out the app.\n\nBut you're right of course that there's nothing to try on the launch page --\nthere's only a demo video.\n\nWe'll be more careful for future projects, and will only post again about this\nonce we're live on the App Store.\n\nSorry again!\n\n~~~\ndang\nIt's ok! You're welcome to post when people can try it out. I think it will\nhave some appeal.\n\n------\nakimc\nSigned up for the beta, seems super creative can't wait to try it. Cheers\n\n------\nrb212nyc\nVery cool! Will check out.\n\n~~~\ngregsadetsky\nThank you! Looking forward to your feedback!\n\n------\ndvdsgl\nFun! :D\n\n"} {"text": "\nThe Prostate Cancer Test That Saved My Life - satysin\nhttps://medium.com/@RedHourBen/the-prostate-cancer-test-that-saved-my-life-613feb3f7c00#.w388qoi1s\n======\nbryanlarsen\nI am not a doctor, but a Gleason score of 7 is not considered a high-\ngrade/aggressive tumour according to cancer.org.\n\nIt's certainly possible that the intervention saved your life, but I'm highly\nskeptical. I think it just caused you unnecessary stress and trauma.\n\n\"Every old man dies with prostate cancer. Nobody dies from it.\" is the saying\nI've heard. Obviously it's hyperbole, but the core is valid.\n\n~~~\nsurfmike\nIANAD but from what I understand the PSA test has a high false positive rate.\n\n~~~\nCWuestefeld\nAfter the third year of steadily increasing PSA scores, my doctor was\nconcerned even though it was below the official \"get worried\" mark because of\nmy relatively young age and the trajectory.\n\nI went to a urologist, got a request for the MRI which the insurance company\ndenied, and so had to follow up with the very unpleasant biopsy mentioned in\nthe OP (including missed work, pain, peeing blood). All for the result to come\nback completely negative.\n\nThat was last year, and as luck would have it, this year's PSA score dropped\nsignificantly.\n\nI don't know whether I'd say that I'm not glad to have a definitive negative\nanswer, particularly since my father had prostate cancer. However, this false\nalarm did cost an appreciable amount of money, time, and suffering.\n\n~~~\nzwieback\nYou're the classic argument against heavy PSA screening at a young age.\nStatistically it's probably a net negative what we're doing right now. My PC\nwas actually caught with a digital (as in \"finger\") test, then followed up by\na PSA.\n\n------\nhadley\n> Prostate cancer screening did not significantly decrease prostate cancer-\n> specific mortality in a combined meta-analysis of five RCTs. Only one study\n> (ERSPC) reported a 21% significant reduction of prostate cancer-specific\n> mortality in a pre-specified subgroup of men aged 55 to 69 years. Pooled\n> data currently demonstrates no significant reduction in prostate cancer-\n> specific and overall mortality. Harms associated with PSA-based screening\n> and subsequent diagnostic evaluations are frequent, and moderate in\n> severity. Overdiagnosis and overtreatment are common and are associated with\n> treatment-related harms. Men should be informed of this and the demonstrated\n> adverse effects when they are deciding whether or not to undertake screening\n> for prostate cancer. Any reduction in prostate cancer-specific mortality may\n> take up to 10 years to accrue; therefore, men who have a life expectancy\n> less than 10 to 15 years should be informed that screening for prostate\n> cancer is unlikely to be beneficial. No studies examined the independent\n> role of screening by DRE.\n\n\u2014 [http://www.cochrane.org/CD004720/PROSTATE_screening-for-\npros...](http://www.cochrane.org/CD004720/PROSTATE_screening-for-prostate-\ncancer)\n\n------\nbill_from_tampa\nThis is a hot-button topic, which generates much heat. Most men (>80%) will\nhave prostate cancer by the time they reach age 80 (ie, would be detected if\ntheir entire prostate was examined histologically (which is, you may surmise,\nnot generally done). About 13% of men will be diagnosed with prostate cancer\nduring their lifetime. About 2.9% of men will die because of prostate cancer.\n\nDoes anybody see the problem? Most men who will have prostate cancer develop\nwill not die because of prostate cancer, but from something else -- and many\nof these men (most, actually) will have no idea they have or had prostate\ncancer ---> unless somebody goes looking for it.\n\nA randomized controlled trial of prostate cancer detection using PSA was done\nin the US (sponsored by the NIH). It did not find any difference in the\nsurvival curves in men who were randomly assigned to PSA screening compared to\nthose who were not so assigned. The trial has been criticised.\n\nObviously any man who had prostate cancer found through PSA testing and was\ntreated and does not die from prostate cancer will be very happy, and\nconvinced that the screening saved their life. But the actual RCT data is more\ncomplex, and PSA screening may simply be generating more \"business\" for\nurologists and radiation therapists, without providing real medical benefit.\n\nNote that there are similar questions about another hot-button cancer\nscreening topic, mammograms. But that is another chapter!\n\n------\nnathan_f77\nWow, I read this a few hours ago, and I didn't even notice that it was written\nby Ben Stiller.\n\nHere's a video where he talks about it:\n[https://www.howardstern.com/show/2016/10/4/ben-stiller-\ngoes-...](https://www.howardstern.com/show/2016/10/4/ben-stiller-goes-public-\nhow-he-fought-prostate-cancer-and-\nwon/?utm_source=reddit&utm_medium=social&utm_content=sternshow)\n\n------\nzwieback\nI had a similar journey although my prostate cancer was detected at age 42 by\nmy family doctor during a routine finger-in-the-butt test at my annual\nphysical. He thought it was \u201cdiffusely enlarged\u201d, then PSA test (high), then\nbiopsy (ouch!) revealed a 4+3 Gleason.\n\nLike the author I had a radical prostatectomy but not robotically assisted.\n\nLike everyone in our situation I was scared of the two I\u2019s \u2014 incontinence and\nimpotence. Luckily no sign of either one, 8 years out the plumbing is working\nfine. The annual follow PSA screening is a bit scary, so far it\u2019s always come\nback 0 but if there\u2019s any PSA it\u2019s going to be bad news.\n\nAll in all I\u2019d recommend PC as a starter cancer \u2014 pretty treatable if detected\nearly on and if you have a skilled surgeon you can come out of it fully\nfunctional. Age is a big factor, if you\u2019re in your seventies it\u2019s probably\nbest to just watch it, for us young outliers it\u2019s good to get it out.\n\n~~~\nfokinsean\n> All in all I\u2019d recommend PC as a starter cancer\n\nThat is basically how it feels when I recommend Angular to people wanting to\ntry a JS framework.\n\nHappy to hear you are doing okay.\n\n------\ngthtjtkt\nWhat can we take away from this if we don't fit into the demographics of\ntypical PSA test subjects (40-70 years old or family history of prostate\ncancer)?\n\nDoes it make sense to request one out of the blue, or is this one of those\nthings that will make your doctor give you funny looks and assume you're a\nhypochondriac?\n\n~~~\ndeepwave\nI went, for example, because I felt a second or two hesitancy when needing to\nurinate. See my below comments, which, sadly, have been modded down for\nwhatever reason...\n\n------\ndeepwave\nGet the PSA test if your over 45. Just get it. I just went through it as well\nas a biopsy because the PSA looked fishy. I did the PSA as well as the Free\nPSA test. I then had a 12-needle core biopsy, which, while unpleasant, let me\nknow I was OK. I need to, as do all men my age (almost 50), get tested yearly.\nIt's not a joke. It's tough to get men into the doctor for anything unless\nthey feel they're dying. Guys, get tested, especially if you have a wife and\nchildren. You owe it to them, if not yourself.\n\nA PSA test takes 5 minutes. It's a simple blood draw and you learn the results\nin two days. Like ovarian cancer for women, prostate cancer is the \"whispering\ndeath\". It's often too late if it's metastasized after it's detected, then\nyour chances are even less. Get the test, doubly so if you are a family man.\n\n~~~\ndeepwave\nI have no idea why my comment is being modded down. Guys who disdain hearing\ngood advice and the truth are beyond me...\n\n~~~\nunclenoriega\nI didn't downvote you, and I can't speak for others, but for me, people giving\ngeneral, emphatic advice based solely on limited personal experience is really\nannoying and often counterproductive. Perhaps you have further evidence to\nback up your claims, but you didn't cite it.\n\n------\nlawless123\nDoes the PSA ever provide false negatives?\n\n~~~\nogsharkman\nFalse negatives are always possible, however in a quick search I couldn't find\nany papers on the rates.\n\n"} {"text": "\n\nCheat Sheets for Web Design and Development - tutorialfeed\nhttp://tutorialfeed.blogspot.com/2009/09/16-favorite-cheat-sheets-for-web-design.html\nIn this post I'm sharing some very excellent cheat sheets to help web designers and developers. These cheat sheets includes Photoshop, CSS, HTML, JQuery, PHP, MooTools, MySQL, Ruby on rails, Flash AS and much more.\n======\nmildweed\nA really comprehensive list of cheat sheets and tutorials: The Web Developer's\nField Guide: \n\n"} {"text": "\nThe P programming language - msoad\nhttps://github.com/p-org/P\n======\nqznc\nFinally, a proper \"P\". I only had P'' and P# on my list.\n[http://beza1e1.tuxen.de/one_letter_proglangs.html](http://beza1e1.tuxen.de/one_letter_proglangs.html)\n\n~~~\nklibertp\nNice list! There's also F* under \"F\": [https://www.fstar-\nlang.org/](https://www.fstar-lang.org/)\n\n~~~\nqznc\nThanks! Added that as well.\n\n------\nacjohnson55\nThis sounds a lot like the actor model (e.g. Erlang, Elixir, Scala + Akka).\nIt's a great primitive for concurrency and distributed computing.\n\nIs there a big difference here, or is this basically just an alternative\nlanguage for that model?\n\n~~~\ntekacs\nWell at the top of the manual, the list of constraints[1] reads the same as\nthe actor model[2] (it explicitly uses local state ('store') to model\nbehaviour changes), with the word 'machine' substituted for 'actor'.\n\nIf anything it reads like the restricted form of the actor model produced by\nusing only Erlang's gen_fsm or Akka's FSM mixin.\n\n(to be clear, using a restricted form with more constraints is a great thing -\neven better here, where one of the domains they're serving seems to be fairly\nrestricted execution environments)\n\n[1]:\n\n \n \n > Each operation either updates the local store, sends messages to other machines, or creates new machines.\n > In P, a send operation is non-blocking; the message is simply enqueued into the input queue of the target machine.\n \n\n[2]:\n[https://en.wikipedia.org/wiki/Actor_model#Fundamental_concep...](https://en.wikipedia.org/wiki/Actor_model#Fundamental_concepts)\n\n------\nnickpsecurity\nThis is really neat. The synchronous languages like Esterel have been doing\ngreat in real-time, safety-critical systems. As paper notes, the common\nproblems in distributed and operating systems are more asynchronous in nature.\nPlus, modeling/verification and programming usually use separate tools. They\ntackle both jobs with one tool for asynchronous programming that proved itself\nout finding hundreds of bugs in a USB3 stack that's shipping to a wide\naudience.\n\nProgramming languages rarely get better introductions and early results than\nthat. Props to the Microsoft Research team on this.\n\n~~~\npjmlp\nAs mentioned the other day, it is this kind of efforts why I consider\nMicrosoft and to certain extent Apple, the ones driving for innovation in\nsafety on mainstream OS stacks.\n\nMaybe Google as well due to their reluctance to improve NDK beyond being a way\nto implement Java _native_ methods and port code into Android.\n\n~~~\nnickpsecurity\nRight now they're focusing these efforts mostly on the drivers and hypervisor.\nI'm not sure how much the kernel gets in terms of stuff like VCC. Just wait\ntill the Midori stuff starts flowing into their stack. It will probably be at\nthe app level for .NET in safety or performance improvements.\n\n------\ntaneq\nThe manual is here (linked from github readme):\n[https://github.com/p-org/P/blob/master/Doc/Manual/pmanual.pd...](https://github.com/p-org/P/blob/master/Doc/Manual/pmanual.pdf)\n\nCalling a core language keyword \"goto\"? They're brave.\n\nAnd I'm not convinced of the utility of baking their own C-like imperative\nlanguage when they could have actually used real C. There are already too many\nC-like languages out there that are just different enough from C to be\nannoying.\n\n~~~\ntinco\nDid you read the manual? They use their own little language which is\nimperative, but unlike C side effect free. To execute side effects it offers a\nway to implement machines in regular C. This is for example how 'Timer' is\nimplemented in the manual.\n\n~~~\nbbcbasic\n> imperative, but unlike C side effect free\n\nSounds like a dream language :)\n\n------\nNullabillity\nWhat's with all the single-character name programming languages? It's almost\nas if they're trying to make it a pain to search for.\n\n~~~\nunsignedqword\nUsually you can just search for languages with weird unsearchable names as\n\"*lang\".\n\n[https://en.wikipedia.org/wiki/S_(programming_language)](https://en.wikipedia.org/wiki/S_\\(programming_language\\))\n(Not really sure how you'd search for this language in particular, though...)\n\n~~~\ni_cant_speel\nIt's pretty easy to find with \"p programming language\".\n\n~~~\nCamillo\nWhat if you have a stutter?\n\n------\nmahyarm\nIs this used in the Windows 10 USB driver, like the windows 8 driver?\n\n~~~\njustanotheratom\nTo be clear, P is used for validating the asynchronous state machines used by\nthe Windows USB drivers, and not for implementing the drivers, which are\nwritten in C.\n\nAnd the USB driver stack implementation is same for both Windows 8 & and\nWindows 10, so the answer to your question is - yes.\n\n~~~\nCamillo\nThe README says: \"P has been used to implement and validate the USB device\ndriver stack that ships with Microsoft Windows 8 and Windows Phone\". It's not\nclear from your answer. Does Windows ship with a \"USB device driver stack\"\nwritten in P, yes or no?\n\n~~~\nnickpsecurity\nThe way these normally work is that they do the state machine in the domain-\nspecific language, verify it, auto-generate code in something like C, and\ncompile that. That's almost all of them since it's easy to go from models to\ncode automatically for state machines. The Github page says:\n\n\"Not only can a P program be compiled into executable code, but it can also be\nvalidated using systematic testing. P has been used to implement and validate\nthe USB device driver stack that ships with Microsoft Windows 8 and Windows\nPhone. \"\n\nThat indicates they modeled it in P with their tool compiling the P specs into\nsome executable. The individual functions the state machine calls would be\nother C or assembly functions. Microsoft as tools like VCC, Verifast, SLAM,\netc to verify C in drivers. I'm curious what combo of them they used on it if\nany.\n\n~~~\nMatthias247\nFor me it's a very interesting question whether they directly used the\ngenerated C code from the P toolchain in the driver or whether they only used\nP for verification of the state machines and reimplemented them in C.\n\nDirectly using the code would be a huge achievement and can help to avoid a\nlot of issues that will come with reimplementing it. However it has also quite\nhuge requirements for the code generation. E.g. the scheduler must fit the\ntarget system and must be performant for the use-case, the infinite-queue\nsemantics that the state machines seem to have are not ideal for a constrained\nenvironment and of course there's questions regarding memory allocation and\ngarbage collection (which should mostly be avoided in drivers).\n\n------\ndoublerebel\nThe event model is great. Forces inputs and outputs to be simple. I really\nlike that P reads like English. The use of goto, on, in, send all read well.\nThey use monitor but abbreviate function to fun, why not just write function?\n\nI think it would be nice to drop the braces entirely. They seem to only\nfunction as decoration. Also I would really miss ++, P has many convenience\nmethods including += but no ++.\n\n------\ncrudbug\nInteresting, is this used in production ?\n\nStates & Events provide a right model for async programs. SCXML [0] provides\nsome additional tools for creating abstract finite state machines.\n\n[0] [http://commons.apache.org/proper/commons-\nscxml/](http://commons.apache.org/proper/commons-scxml/)\n\n~~~\ntinco\nApparently it is used to implement the Windows 8 USB driver. I can't think of\na higher bar of 'in production' than that.\n\n------\nnickpsecurity\nI found out there's been a new language, P#, with even more benefits than this\none:\n\n[https://www.microsoft.com/en-us/research/wp-\ncontent/uploads/...](https://www.microsoft.com/en-us/research/wp-\ncontent/uploads/2016/02/paper-6.pdf)\n\n~~~\nakashlal\nIts available alongside P:\n[https://github.com/p-org/PSharp](https://github.com/p-org/PSharp)\n\n~~~\nqznc\nHm, there is another P#:\n[http://homepages.inf.ed.ac.uk/stg/research/Psharp/](http://homepages.inf.ed.ac.uk/stg/research/Psharp/)\n\n------\nwybiral\nWhat is the support for streams like in P?\n\n~~~\ndarawk\nI can't tell if this question is intended to be a joke or not, but either way\ni'm in support of it.\n\n~~~\nwybiral\nWhere's the flush method?\n\n------\nnoselasd\nWhat does this implementation target ? Does it produce .NET assemblies ? Is it\nan interpreter ? Compiles to native ?\n\nEdit: [https://github.com/p-org/P/wiki/Creating-a-P-\nProgram](https://github.com/p-org/P/wiki/Creating-a-P-Program) indicates it\ncompiles to C code.\n\n------\ncosinetau\nInteresting. When I was studying Group algebra and machine organization, I\nfelt there was a strong intersection between these two schools, and I think P\nis addressing that.\n\n------\ngeon\nHow does it compare to Ceu?\n\n[http://www.ceu-lang.org](http://www.ceu-lang.org)\n\n------\nlewisj489\nIs there a CFG spec I could look at?\n\n------\nnephrite\nI hate languages with single letter names. They're impossible to google.\n\n~~~\nyoodenvranx\nYes, there should be some sort of RFC about programming language names. The\nmain requirement would be to choose some combination of letters which return\nless than 1000 results on Google.\n\n~~~\nDonaldFisk\nThe most important thing in the programming language is the name. A language\nwill not succeed without a good name. I have recently invented a very good\nname and now I am looking for a suitable language. - Donald Knuth\n\n"} {"text": "\nEx-NSA Hacker Finds a Way to Hack Mac Users via Microsoft Office - SQL2219\nhttps://www.vice.com/en_us/article/jgxamy/hacker-finds-a-way-to-hack-mac-users-via-microsoft-office\n======\nkryogen1c\napple, microsoft, hacking, and the nsa all in the same headline. this editor\ndeserves a raise.\n\n------\nmikece\nI don't know about everyone else but it's the _first_ part of that title that\ncatches my interest. \"Executed a hack via MS Office -- yeah, great but tell me\nmore about the role of 'NSA Hacker'...\" Notwithstanding the \"What? No way...\"\nrevelations in Edward Snowden's book about the United States' SIGINT-via-\ninternet abilities I suspect Snowden didn't even know the half of it.\n\n~~~\nsave_ferris\n> I suspect Snowden didn't even know the half of it.\n\nObviously, we\u2019ll never know exactly how much he knew relative to the entire\nscope of the intelligence community, but he pointed out multiple times that he\nhad pretty broad access to a range of tools and KBs based on his work\nintegrating various tools for the government.\n\nHe\u2019s said himself that he doesn\u2019t know everything, but given his ascent in the\ngovernment contracting world due to his technical skill prior to his\ndeparture, I think it\u2019s fair to take him at his word when he said that there\nwasn\u2019t a whole lot he didn\u2019t have access to in terms of IT systems and\ndatabases.\n\n------\nhollander\nSo if I create an test.slk file on my desktop, then rightclick > open with,\nand select an app like Sublime (to be sure no other office apps like\nLibreOffice), to open all files like this in the future by default, will that\nsolve this problem?\n\n------\nchris_at_lum\nPatrick Wardle is a well-known security researcher focused on macOS, and\nfounder of Objective-See which provides free (as in beer)\"simple, yet\neffective OS X security tools.\"\n\n"} {"text": "\nAsk HN: Salary cut for position change Front-end \u2013 Back end? - knoblauch\nLong story; I want to know if a salary cut is justified in my situation.

18 months ago, I started my first job as an android developer in a fintech startup, after graduating with my Masters in a top 20 university. When I joined, I was the only android developer and built 2 relatively complex apps from scratch (designing architecture, app development, some security/crypto/api). \nMy CTO, to whom I report directly, knows since the day he hired me that I don't want to be doing front-end my whole life, and we agreed this summer that I'd be switching to the back-end.

At the time, I asked him if there would be any salary change with the switch, and he reassured me that there wouldn't be, because he allows his engineers to move horizontally without any salary change.

Since 2 months, I've been learning about the back-end language, Functional Programming, and other frameworks they use. All on my personal time in the evening and on week-ends.

Last week, the CFO asked to speak with me and told me that we'd have to sign a new contract, and that they're going to decrease my salary (by over 10%). His argument is that he wants to align my salary with the other back-end juniors.

This news came to me as a shock and I am very confused if this is a normal practice or not. I've explained the situation to some of my SE friends and older acquaintances and all of them without exception find it scandalous and have told me that I should not accept the offer and start looking for another job.

I feel like the company is not valuating my work and my experience at their place. During these 18 months, I have shown that I am able to learn and adapt fast, that I deliver good results, and they have seen that I am highly motivated and positive in a very consistent way.

(Continuing the text in comment)\n======\nknoblauch\n(Next part of the text):\n\nObviously, this career switch would be a great opportunity for me to move into\nthe back-end world, learn a lot of new stuff, broaden my SE skills, build a\nbetter CV and invest in my future.\n\nThere are many arguments that I can find on my side to find it disgraceful and\nwhy they shouldn't decrease my salary. I feel I shouldn't even have to defend\nmy salary in the first place in this situation, as decreasing my salary is a\nbit of a low blow.\n\nSome notes: \\- The startup has a lot of cash \\- We are ~20 software engineers\n\\- I am quite confident that I could earn more than my current salary with my\nexperience if I moved to a bigger city in my country \\- The other juniors\ndidn't have more professional experience when they were hired, and don't have\na better education \\- I absolutely love the the project, and the other\nemployees, our culture, and the office \\- Even if I do accept now, I don't\nknow why they'd want to do this to me when they know I am not happy with the\nsituation, as their are making me lose some of my loyalty to the company,\ntaking the risk that I'll leave when I get enough experience on back-end\n\nI feel like they are forcing the pay cut on me, after promising me a switch,\nthen promising there wouldn't be any salary change.\n\nHN, shed light on my situation and tell me what you think.\n\n------\n_ah\nSounds like this is a small shop. When you were off by yourself, your\ncompensation stood alone in its own category. If you join the other backend\ndevs, then your salary is compared against theirs and it \"looks bad\" on the\ninternal spreadsheet. This is an internal political game and your CTO is not\nwilling to spend his political capital on a junior developer. That may or may\nnot be a reasonable decision on his part. Your excellent work up to this point\n(and future potential) isn't being weighed as much as it should be and there's\nprobably very little you can do to change that.\n\nI wouldn't accept a pay cut. It's too early in your career for that.\n\nThe ideal option is to tell the CTO \"I can't take a pay cut. Keep me the same,\nand I promise I won't tell anyone.\" That might solve his political problem. If\nhe won't go for that, then your options are: (1) continue in your current role\n(unhappy, but better paid), (2) leave for a different position. You probably\nwill want to start planning for your eventual exit anyway, since this smells\nlike a place with limited growth prospects.\n\n------\nJamesVI\nI think it is reasonable for you to be compensated according to the skills you\nhave and the performance you demonstrate. I think it's reasonable for everyone\nwith similar skills and performance to be compensated the same.\n\nYou are moving from a role you have 18 months experience into one where you\nhave much less. Personally, I wouldn't cut your salary immediately, but I\nwould work with you to build a transition plan made up of SMART goals. At the\nend of the transition period (probably 3-6 months in this case), we would\ndiscuss your performance relative to the expectations of the role and level\nyou have transitioned into.\n\nIf, at that time, you were performing at a level more junior that you are\nbeing compensated, I would offer you the option of returning to your former\nrole (assuming we still had a need for someone in that role) or level you down\nand adjust your compensation accordingly.\n\nThe CTO was foolhardy in making a blanket promise that you could move\n\"horizontally\" without impact to compensation, but the CFO is also overly\nfocussed on what could be a small amount money (2.5-5% of your total salary).\n\nI'd suggest that you go back to the CFO and the CTO and propose a transition\nplan with an eval at the end to determine your level and compensation. You\nshould also ask what the promotion path forward would be like if you\ntransitioned and were leveled down. Will you be stuck there for a long time or\nwill you have a chance at being promoted back up once you have a year of\nexperience? Then you can decide if a possible (presumably short-term) decrease\nin compensation is a valid investment in your long-term career.\n\n\"my SE friends and older acquaintances and all of them without exception find\nit scandalous\"\n\nObviously, you need to balance an anonymous voice* on the internets against\nyour friends and acquaintances, but this really isn't that scandalous. Perhaps\nthey've just not experienced it themselves.\n\nActually, the biggest problems you have right now are that the CFO and CTO\naren't on the same page and that the CFO is making decisions about\ncompensation for engineers. The CTO (or whoever your direct supervisor is)\nshould be making your compensation decisions based off strategic decisions\ntaken in conjunction with the CFO (and others).\n\n*I'm actually the head of engineering at a growing startup, but maybe I'm lying :-D\n\n"} {"text": "\nAny cool projects we could do on this state owned oil company database? - joshdance\nDatabase of state-owned oil companies. A project of the Natural Resource Governance Institute, pulls official data on nearly 100 metrics concerning 71 oil/gas companies owned by 61 countries. https://www.nationaloilcompanydata.org/\n======\nthedevindevops\nIt'd be great for anyone who does Infographics.\n\nMaybe a per country breakdown dashboard?\n\nPrediction/forecast engine?\n\nUse the National oil and gas reserves question and rank countries by estimate\nof when they'll be depleted?\n\nI'd love if someone linked this to a forestry or carbon capture by country\ndatabase to see the environmental deficit per country\n\n"} {"text": "\nA $35 keyboard for children transformed me into a novelist - danso\nhttps://onezero.medium.com/this-35-keyboard-for-children-transformed-me-into-a-novelist-436a55370ee5\n======\nbenjohnson\nThe Japanese have modern devices like this - this one is about $250 and had a\nE-ink display and a folding keyboard. You can put the keyboard in English mode\n- a few keys are in odd places but bearable. It's increased my output by\nseveral orders of magnitude.\n\n[https://www.kingjim.co.jp/pomera/dm30/](https://www.kingjim.co.jp/pomera/dm30/)\n\n~~~\ninyorgroove\nThere is also the Freewrite, its a little expensive but is targeted to English\nspeakers: [https://getfreewrite.com/](https://getfreewrite.com/)\n\n~~~\nDigory\nBeautiful, but $400 is steep for a monotasker. I'd gladly let students use\nthese in a class, though, as an alternative to notepads.\n\nWhich probably says something about the rise of keyboards and the fall of\nhandwriting; I get that ASCII is more useful than paper, but $400 buys a lot\nof luxurious pens and paper.\n\n~~~\nBolexNOLA\nProduces a lot of lost pens and paper in waste bins though!\n\n~~~\nsplintercell\nCheck out the fountain pen thread from last week.\n\n~~~\ncarterschonwald\nLink please ? :)\n\nGranted I\u2019m a huge user of fountain pens and note books already :)\n\n~~~\nsplintercell\nThere you go:\n\n[https://news.ycombinator.com/item?id=23497259](https://news.ycombinator.com/item?id=23497259)\n\n------\nJoblessWonder\nI have a very special place in my heart for the AlphaSmart brand. When I was a\nkid in the 90's I had atrocious handwriting. No one could figure out why or\nhow to fix it. In middle school, one of the counselors had been given an\nearlier model of the AlphaSmart as a demo unit and let me use it. It also\nturned me into a writer. Instead of my teachers glossing over my chicken\nscratch, they were able to read my typed assignments and offer me real\nfeedback. My confidence as a student and an intellectual returned. All because\nI had a little keyboard to type on. Pretty crazy.\n\n[Technical side note: Back in the day, to transfer what you typed you used to\nplug it into the PS/2 keyboard port on a computer and press \"send.\" It would\nthen recreate each keystroke for the computer, regardless of what program you\nhad open so if you hit send before opening up a word processor it would be\nchaos until it finished transferring.]\n\n~~~\nfrequentnapper\nLucky your teachers actually cared about you.\n\n~~~\ndividedbyzero\nAnd had the resources to act on that. I've had the impression a bunch of my\nteachers did care when kids were struggling, but didn't have a lot of options\nto help really.\n\n~~~\nJoblessWonder\nI agree. I think that teachers are relatively\npowerless/underpaid/underappreciated/overworked (during the school year) and\nthat makes it so hard for them to help kids that are struggling. Let alone\nhelp the kids who are struggling without interrupting the rest of the class.\nIt reminds me of the season of The Wire where it shows just how many systemic\nissues there are in the education system.\n\nMy teachers were frustrated and sent me to the counselor, who lucked into a\nsolution for me. Combined with the fact that I was lucky enough to have a\ncomputer at home to use, parents who supported me, and teachers who wanted me\nto succeed was what made it work. Most people aren't as fortunate.\n\n------\ndougmwne\nI think this is a worthy read because it looks a computing product from a\nuser's perspective instead of a engineer or an MBA. Multi-function everything\ndevices with the addictive potential of nicotine may be engineering marvels\nand business rockstars, but this person wanted to write without distraction\nand needed to reach into the past to find a product that met their needs.\n\nAnd it's a fun exercise to take this user's need and whiteboard out a new\nproduct for them. How are those ergonomics; could we hinge the display or\nproject it somehow in a way that will let them type longer without discomfort?\nHow's that LCD's readability; would eink be better? Should the device be doing\nincremental backups to the cloud? Should it offer dictation?\n\n~~~\ntonyedgecombe\n_Should the device be doing incremental backups to the cloud?_\n\nI think one of the key features would be no network connection.\n\n~~~\nnaikrovek\nSo a Linux machine (like an old laptop) booted into single-user mode seems\nlike a good approach here. Single shell, single application at a time, no GUI.\n\n~~~\nphone8675309\nI have an old Linux laptop (an old iBook G4) that boots into a non graphical\nenvironment and starts emacs in text mode on login with no network\nconnectivity by default.\n\nIt's my go-to for focus.\n\n~~~\nanythinggoesbay\nThis is so good. Can you please share how it can be done?\n\n------\nnate\nIt's wild what constraints can actually open up for your creativity. I love\nmaking videos but ran out of the time I used to have to spend on it. And so\nlargely gave up trying. But I decided instead of complaining about it or\ntrying to find more time to pile on some constraints:\n\n\\- only film AND edit on my phone \\- only create a movie as long as a single\nsong track. don't edit the song track besides muting clips of the song. \\-\nonly spend < 60 minutes on editing the video \\- publish daily\n\nSo now there's little workflow pauses waiting for files to transfer. It's now\nimpossible to spend too much time in a rat hole of an edit. Of course this\nlimits things I'd love to achieve with it, but on the other side, I get to\npublish so many more ideas and feel insanely more creative with it.\n\nFeeling stuck? Probably need a good dose of giving yourself what seems like\narbitrary and ridiculously limiting constraints.\n\n~~~\nmunificent\nI've been getting into making electronic music and figuring out a workflow\nthat balances these constraints is really challenging.\n\nThe most powerful, expressive, flexible, and affordable way to make music, by\nfar, is to do everything in a DAW inside a computer. Ableton + a few software\nsynth plug-ins is a _ridiculously_ powerful platform to make music in. You\ncould produce albums for the rest of your life and never run out of\ninspiration. And the user interface for Ableton is just an absolute delight.\n\nBut it's _so_ powerful that it takes me forever to get anything done. It's\neasy to spend three hours tweaking reverb settings and never finish anything.\n\nThe other approach is to do everything in dedicated hardware with real\nsynthesizers. It's expensive to buy gear and a hassle to wire everything up.\nDecide that you want delay on your bass instead of the lead? That's five\nminutes of futzing with cables versus a single drag-and-drop in Ableton. Want\ntwo different reverb settings for the pad and the clap? Better shell out\nanother $300 to buy a second reverb pedal. Undo? You're lucky if your\nsequencer supports it.\n\nBut because the set of options is so much narrower and the cost for rethinking\nchoices is higher, the hardware environment pushes you forward and makes you\nwant to finish things.\n\nThe tricky part is that, to a listener, the music made on hardware often just\nisn't as good in many ways as that made in a DAW. Listeners today are used to\nlots and lots of layers and very surgical production and mixing. That's easy\n(but time-consuming) in a DAW, but very difficult (and expensive) in hardware.\n\nFinding the right balance here is hard.\n\n~~~\nfb03\nThat is totally my experience with my hobbyist music making endeavour too!\n\nI thought owning more plugins and getting better gear would mean I'd make lots\nand lots of music.\n\nWhen I started out 9 years ago, I had Renoise, zero paid plugins (only free\nvsts like Synth1 and friends) and a cheap pair of earbuds. I didn't even\nunderstood basic things like translation, gain staging and etc, and I'd always\nwonder why my tracks wouldn't play correctly on other people's speakers\n(channels would clash frequencies, elements would downright disappear and\netc).\n\nYet, my most creative, layered and musical (data amount, transitions and\noverall creativity) time was at that period. And I typed it all in using the\ncomputer keyboard. In a computer in the middle of the living room.\n\nNow I have a huge desk with a pro usb audio dac, Yamaha Hs8 Monitors\n(excellent, btw), all plugged in with proper balanced xlr cables, 2 midi\nkeyboards, an ATH-m50 pair of cans for when I can't be noisy in the Study\n(small kids), lots of paid plugins like Sylenth1 and Serum, a plethora of\nsample libraries scavenged and assembled painstakingly through the years...\nonly the good stuff, categorized, ready to double click and peruse.\n\n....It's been two years since the last time I actually used all this stuff\n\nYou guys are right. I need to get back to the basics.\n\nWhat use is to be able to put 80+ tracks in your software because now you have\na good pc that can handle that many if you can't even write the first part\ndown because there are soooo many options and you're lost tweaking knobs.\n\n\"tweakititis\" is a thing in music making.\n\nOne of my tracks, btw, if any of you got curious at what kind of music I make:\n[https://soundcloud.com/flipbit03/ibu-\nkid](https://soundcloud.com/flipbit03/ibu-kid)\n\n~~~\nmunificent\nYes, I'm 100% with you. I've finished two tracks using Reason and Ableton with\ndozens of unfinished things laying around. And those two tracks took weeks.\n\nMeanwhile, with my little Electribe 2 and a couple of guitar pedals, I\nfinished three tracks in like a tenth of the time and _enjoyed_ it a hell of a\nlot more.\n\nBut, on the other hand, those two tracks I made on the computer are, I think,\nmuch better songs for someone to listen to.\n\nSo a big part of this dilemma is how much do I optimize for _my_ enjoyment of\nthe _process_ versus the _listener 's_ enjoyment of the _product_? The two are\nnot purely orthogonal. It's hard to make something people like if you're\nmiserable doing it. But they aren't entirely aligned either, as can be\nwitnessed by all of the many many ambient modular jams that I'm sure were fun\nfor the artist to make but are just pointless boring noodling to the listener.\n\n _> One of my tracks, btw, if any of you got curious at what kind of music I\nmake: [https://soundcloud.com/flipbit03/ibu-\nkid](https://soundcloud.com/flipbit03/ibu-kid) _\n\nI like it! The filter sweep on the drums is . The overall\nstructure is really cool. So much electronic music just has nothing\ninteresting going on in the arrangement.\n\nI first got into making music like, uh, 20 years ago using PlayerPro on a Mac.\nI was way more productive back then. Trackers are fun. But also my music was a\nlot shittier, so there's a trade-off. Have you talked yourself into getting a\nPolyend Tracker yet?\n\nHere's my stuff:\n\n[https://www.youtube.com/channel/UCSMJ0iRwAhIFYSpntOEtn2g?vie...](https://www.youtube.com/channel/UCSMJ0iRwAhIFYSpntOEtn2g?view_as=subscriber)\n\nI like putting it on YouTube because that feels less formal and less like a\n\"release\" to me. Though the downside is having to make some kind of video for\neach thing.\n\n------\nglassdimly\nI use the Alphasmart, also. FYI, there's MacOs software for transferring the\ntext that works great. It needed a PR and Xcode, so I bundled it into a dmg\nand am distributing it here:\n[https://glassdimly.com/blog/tech/macos/alphasync-macos-\ncatal...](https://glassdimly.com/blog/tech/macos/alphasync-macos-catalina-\ndownload-and-install-appdmg)\n\n~~~\nDanielleMolloy\nThanks for the pointer. Do you use yours for prose or also for more technical\n(or even research) text?\n\n------\nvikingcaffiene\nMy partner is a novelist and owns two of these. She's been drafting with them\nfor a little over a year and swears by them. She says the appeal is that you\ncan't go back and read more than a few lines so you just kind of go and then\nedit later. I also think the appeal is the keys themselves. Similar in feel to\nan old Thinkpad.\n\n~~~\nmhd\nI wouldn't go as far, the typing feel isn't as good as old Thinkpads and the\nkeys are definitely more fragile. Can't replace them, either. A device of the\nsame form factor, even display, with an Arduino for tinkering and mechanical\nkeys would be a godsend.\n\n~~~\nretzkek\nI use an Atreus [1] as my daily keyboard, and Phil has been experimenting with\nvarious forms of \"cyberdeck\" based on that [2,3]. Something like that, with a\nminimalist emacs config like [4] would be an awesome portable writing device.\n\n1\\. [https://atreus.technomancy.us/](https://atreus.technomancy.us/)\n\n2\\.\n[https://atreus.technomancy.us/decklog](https://atreus.technomancy.us/decklog)\n\n3\\.\n[https://www.reddit.com/r/cyberDeck/comments/d2rwp1/atreus_de...](https://www.reddit.com/r/cyberDeck/comments/d2rwp1/atreus_deck_mk4/)\n\n4\\. [https://github.com/rougier/elegant-\nemacs](https://github.com/rougier/elegant-emacs)\n\n------\narnado\nIt reminds me of the TRS-80 model 100. I seem to remember reading a story\nlinked here a while back regarding the 100 and how popular it was for\njournalists to write stories on, and maybe be uploaded via modem to the editor\nwhen completed? (I might be remembering this incorrectly)\n\n~~~\nfanf2\nYou are thinking of this\n[http://wayne.lorentz.me/This_TRS-80/](http://wayne.lorentz.me/This_TRS-80/)\n\n~~~\narnado\nyes, thank you. I'll have to read over it again and refresh my memory.\n\n------\nzelos\nMy dad used a Tandy Dreamwriter for many years to write on while working as a\ntravel journalist, well into the 2000's.\n\nSmall, Z80 based, with a few lines of text on the screen and powered by AA\nbatteries. Other journalists used to laugh at the 'old guy with the Fisher\nPrice computer', but the instant-on and distraction free typing was a definite\nadvantage. Pretty nice not having to worry about a fragile, expensive laptop\nwhile out in the jungle or whatever, too.\n\n~~~\nmprev\nOh cool. The Dreamwriter was based on the Amstrad NC100:\n\n \n \n https://en.wikipedia.org/wiki/Amstrad_NC100\n \n\nA very cool little device, at the time. I borrowed one as a kid and it seemed\nvery exciting to be able to type things wherever I was.\n\nI'm kinda nostalgic for that less connected era, where life moved at a\nslightly slower pace. Like all nostalgia, I'm leaving out the bad parts.\n\n~~~\nhombre_fatal\nYou make the link unclickable when you format it as code.\n\n------\ngeocrasher\nI am not a novelist. The problem isn't the device, it's my brain. But when I\nhave a creative block, I take a page from the novelists that just works.\n\nI close my eyes and start typing.\n\nIn fact, Iv'e closed my eyes just now as I write this. Touch typing obviously\nhelps! But it allows me to hyper-focus on my writing and not on anything else.\nIf I wanted to, I could turn off all notifications. or just turn my sound off\ncompletely with \"mute\". No big deal. Granted, this isn't very portable, but I\ncould do this with my laptop. The only thing I lack is the huge battery life.\n\nAs I open my eyes now, I re-emerge into the Real World where there exists more\nthan my writing. I fix the typos, make an observation, and click \"add\ncomment\".\n\nBut not before I add one more thing: You don't need a device to write. You\nneed a process, and you need to get out of your own head.\n\n------\nfooblat\nAlthough the author mentions using outdated and unsupported software to\ntransfer the text, it isn't actually required.\n\nThese also have a mode where it just \"types\" the text into the program of your\nchoice, via the usb cable. No drivers required and works with any OS that can\nrecognize a usb keyboard.\n\n------\nballenf\nI believe we'll see a return to more single use devices. They won't supplant\nsmartphones.\n\nFor one, I've thought a lot about having two separate computers: one for\nwriting code and a second for googling when I need help / slack / email / HN.\n\nAnd then keeping the two devices in physically separate places.\n\nI could accomplish this with software and accounts, but I know for myself it\nwould be less effective.\n\n~~~\ngonzo41\nI have that, I have a work laptop, that i dock into a displaylink set of\nscreens to run my work dev environment. And then sitting on the desk next to\nme is my personal laptop. Totally different uses and the seperation is really\nimportant because i never worry about typing the wrong thing into the wrong\ncontext because the full size keyboard is attached to the work computer.\n\nIt's worked really well for me for about 3 years now. And i hardly look at my\nphone.\n\n~~~\ndividedbyzero\nI do pretty much the same, but I have my phone sitting next to me with an\nexternal bluetooth keyboard. I'd use an iPad, but there's no Whatsapp for\nthose currently.\n\n------\nwillmacdonald\nSeems similar to this:\n[https://en.wikipedia.org/wiki/Cambridge_Z88](https://en.wikipedia.org/wiki/Cambridge_Z88)\n\nThe Cambridge Computer Z88 is an A4-size, lightweight, portable Z80-based\ncomputer with a built-in combined word processing/spreadsheet/database\napplication called PipeDream (functionally equivalent to a 1987 BBC Micro ROM\ncalled Acornsoft View Professional),[1] along with several other applications\nand utilities, such as a Z80-version of the BBC BASIC programming language.\n\n~~~\njulesallen\nI bought one of these new when they came out and it was life changing. The\nBASIC was surprisingly good and I got almost as much out of the spreadsheet as\nI did the word processor.\n\nOne area that was a disappointment is _really_ doesn't like x-ray machines (or\nmaybe the other bits in the scanning process \u2014 magnets?). I asked for hand\ninspection at LHR, they refused, and putting it through the scanner corrupted\nwhat was stored in memory. Only upside is doing something again is usually\nquicker and better than the first time.\n\n------\narexxbifs\nSeems like any laptop booting a minimal Linux distro straight into a similarly\nsimplistic text editor should be able to provide the same experience. Could be\ncarried around on a USB stick, effectively turning any available computer into\nan AlphaSmart.\n\n~~~\nLeoPanthera\nI've always liked WordGrinder. It runs in the terminal/console!\n\n[http://cowlark.com/wordgrinder/index.html](http://cowlark.com/wordgrinder/index.html)\n\n~~~\narexxbifs\nThat's what I use! It's pretty minimal by modern standards but might still be\ntoo full-featured for AlphaSmart simulation.\n\n------\nmacspoofing\nMakes sense. Single-purposes devices are kind of cool. It's why eBook readers\nhave a place in a world where tablets exist.\n\nI don't know about AlphaSmart though - the screen is too cramped. I suspect\nafter the initial euphoria of finding another way to write wears off, the\nauthor will get tired of the limitations and go back to writing on a tablet or\nPC. Having said that, maybe there is a market for a writing-only device,\nsimilar to a read-only eBook reader.\n\n~~~\neropple\nI've been using one for long-form writing for about a decade now. Haven't\ngotten tired of it yet.\n\n~~~\nmacspoofing\nCool. I'm not a writer so I don't know what works and what doesn't. If it\nworks for you and the author - great!\n\n~~~\neropple\nSure.\n\nThe other device I often use is a Thinkpad A20m running Linux. The only web\nbrowser on it is lynx (which I mostly use or Wikipedia).\n\n------\nlarrywright\nFor people wanting something like this, there are still plenty of Apple\u2019s\nEMate devices available on EBay:\n[https://en.wikipedia.org/wiki/EMate_300](https://en.wikipedia.org/wiki/EMate_300)\n\n------\ntimurlenk\nThese people have a somewhat modern alternative with mechanical keyboard and\neink screen. It has wifi and that's it. From watching the reviews I understood\nthat a major drawback is that no editing is possible on the device itself and\nit is very expensive (600$)\n\n[https://getfreewrite.com/](https://getfreewrite.com/)\n\nI personally use occasionally an android based ebook reader with a bluetooth\nkeyboard (Onyx BOOX Poke 2 with logitech k380). Distraction free writing is a\nthing.\n\n~~~\nmprev\nThis feels like the sort of thing people buy to kid themselves that the\nproblem with their writing lies outside their own brains.\n\nDon't get me wrong, I love the idea of a dedicated writing device but, for me\nas someone who writes pretty much for the entire working day, inconvenience is\nthe biggest bar to writing other than lack of sleep. If I can't edit on the\ndevice, or find the text in my usual GSuite/Office 365 spaces, then maybe I'd\nbe better off with a $40 dictaphone and Rev.com.\n\n~~~\ntonyarkles\n> This feels like the sort of thing people buy to kid themselves that the\n> problem with their writing lies outside their own brains.\n\nI posted elsewhere in this thread about this, so to summarize: I've been at a\ncabin using LTE tethering, and am consciously turning my Internet connection\noff and on.\n\nI fully realize that the problem is in my brain, but putting up just _that\ntiny_ of a barrier is enough of an effective \"hack\" to change the way I work\nin a positive way. Because there's no connection most of the time I'm working,\nthere's no HN, there's no email popping up, there's no Slack notifications,\nand there's no \"falling down a rabbit hole searching for a solution\". I'm\nspending way more time writing down/rubber ducking the problem I'm trying to\nsolve and coming up with the solution myself (which generally results in a\nmuch better understanding of the problem)\n\n------\nminikites\nSometimes I wonder how often these \"productivity tips\" mask a deeper feeling\nof indifference or rejection of the task entirely. People spend hours finding\nthe right tools for a task thinking it will make them want to do it instead of\nexamining the task itself and their feelings around it.\n\n~~~\nreidjs\nTo a certain extent I agree. If you were really passionate about something\nlike this you would make it happen regardless of your circumstances. Think\nabout kids who grow up in impoverished island nations who make it to the MLB\nthrough sheer perseverance.\n\nThe difference is unless you're already wealthy or talented, you _need_ to\nwrite effectively to compete in the modern 'white collar' workforce.\n\nWriting something that people want to read is very hard. People don't read for\nthe sake of reading, they read to learn something or feel something. It can\ntake years of consistent practice to evoke anger, sadness, or laughter through\nwriting. Think about how many books, workshops, and college courses there are\non writing itself. It is sort of like programming, it is a skill that anyone\ncan learn given enough time and it has very little barrier to entry. This\nmakes it extremely competitive, so a lot of people need to exploit whatever\nedge they can get.\n\n------\nvorpalhex\nI still remember as a child playing on a 1980s word processor that my mom had.\nIt had maybe a 4 line display, with an ugly greenish backlighting and no\nbattery whatsoever. It did however have a hinge mechanism so that little text\nonly screen would fold over the keyboard.\n\n~~~\nTedDoesntTalk\nThese dedicated word processor devices were quite popular and cheap. Built-in\nprinter and floppy drive, shaped somewhat like a typewriter.\n\nWe had two in my house, even though we also had general purpose computers. I\nthink they were still in use into the early 90s for school reports.\n\n------\nlewisflude\nFor the mechanical keyboard lovers out there, there is a Cherry MX compatible\nAlphaSmart 3000 PCB:\n[https://geekhack.org/index.php?topic=91504.0](https://geekhack.org/index.php?topic=91504.0)\n\n------\nbaronblackmore\nOne of my writer friends accomplishes a similar workflow by just having a\nwriting account on his laptop, where everything is disabled except a text\neditor.\n\n------\nc22\nI was given a first generation Alphasmart in middle school and told to use it\nfor all my assignments since I had such terrible handwriting. At the time I\nthought it was incredibly cool, but in retrospect I wonder if I fell prey to\nsome ill-thought _technology in the classroom_ program. Perhaps it would have\nbeen better if they had just helped me fix my handwriting.\n\n------\nnanna\nAlphasmart HN thread from 2017 here, with comments by co-founder Ketan Kothari\nand Freewrite's founder too:\n\n[https://news.ycombinator.com/item?id=15836866](https://news.ycombinator.com/item?id=15836866)\n\n------\ngolem14\nGiven the amount of work going into custom DIY mechanical keyboards, it's\nsurprising that there aren't DIY solutions out there. All you need is a $5 MCU\n(think ESP32) and a cheap display. Would make a fun side project :)\n\n~~~\ngolem14\nOne problem is that cheap LCD displays are not easy to source. E.g., the\nlargest old school lcds I find are 4x20 characters, which is a bit confining.\n\nThere seem to be tons of TFT options out there on the cheap, but they're\nprobably not great in terms of eye strain and power consumption.\n\nIf price is no object, then e-ink displays seem a great choice, e.g. $70 for a\n7.5'' display: [https://www.banggood.com/Waveshare-7_5-Inch-E-ink-Screen-\nMod...](https://www.banggood.com/Waveshare-7_5-Inch-E-ink-Screen-Module-e-\nPaper-Display-SPI-Interface-For-Raspberry-Pi-p-1365278.html)\n\n~~~\nfenwick67\nMany of these larger epaper displays are meant for very low refresh speeds -\nI'm talking 5 seconds plus. This one takes 6 seconds.\n\n------\nProZsolt\nOutline link: [https://outline.com/PzjuRt](https://outline.com/PzjuRt)\n\n------\nDanielleMolloy\nThe Psion series got some legendary status for its attention to detail. The\nPsion 5 had backlight, was running on batteries (25-35h battery life) and it\nhas a slot for Compact Flash Cards. The keyboard is foldable. If you find an\nadapter for the CF cards they can still be used today for writing similarly to\nwhat is described here with the AlphaSmart.\n\n[https://en.wikipedia.org/wiki/Psion_Series_5](https://en.wikipedia.org/wiki/Psion_Series_5)\n\n~~~\njulesallen\nLoved that thing! Batteries lasted forever and the LCD was perfect for the job\nof being focused. My hands are almost too big to touch type on it so notes\noften needed editing when transferred to a desktop. Typing on it is kind of\nlike writing with Graffiti on a Palm, it takes some practice and then all of a\nsudden you're pretty good at it.\n\nIf you liked the Psion you might like its successor the Gemini from Planet\nComputers ([https://store.planetcom.co.uk/products/gemini-\npda-1](https://store.planetcom.co.uk/products/gemini-pda-1)). Same awesome\nkeyboard.\n\n~~~\nDanielleMolloy\nOh, I really fancied the Gemini. A tiny Linux computer the size of a Psion 5\nsounded pretty awesome to me as a former Psion lover. I'm not unhappy that I\ndid not buy it in the end though - battery life, and it comes with all the\nsmart phone distractions - the Psion 5 used to be my distraction free writer,\nnot a terminal access device.\n\nIf you need to frequently do admin tasks (e.g. config file and script editing)\nit's still a pretty interesting choice.\n\n------\ngadders\nWho's tried coding on one? Own up :-) You could bang out 500 lines of JS\nwithout stopping and then upload it to your PC and see if it runs...\n\n------\nhugozap\nTo maximize focus I've used the \"One system user per project\" trick. It works\nwell because now everything in your desktop has to do with your project\n(files/notes/calendar/bookmarks/etc)\n\nI've been able to ship a few projects using this trick.\n\nNot sure who was (Maybe Seth Godin?) who recommended using a different\ncomputer, which may even work better.\n\n------\nhairofadog\nAlong these lines I've been thinking a nice device would be an e-ink reader\nthat _only_ loads Wikipedia. (You know, for kids!)\n\n~~~\nJaruzel\nSimilar idea: [https://youtu.be/R63x2TXm0s8](https://youtu.be/R63x2TXm0s8)\n\nIt's a raspberry Pi, with an e-ink screen, and battery to provide an 'offline'\nrepository of information, including Wikipedia.\n\n------\nnl\n[https://www.osnews.com/story/131180/the-alphasmart-dana-\nin-2...](https://www.osnews.com/story/131180/the-alphasmart-dana-in-2019/) has\na few more technical details of the device for those interested.\n\nIt runs PalmOS!\n\n~~~\nzelos\n> I found a free text editor specifically written for the dana\u2019s wide screen\n> (SiEd, dana version) on SourceForge in alpha, and left abandoned 4 years\n> ago. That editor will sometimes crash the whole system...\n\nNice to know my crappy code is still causing problems all these years later.\n\n------\npaulcarroty\nI use Amazon Basics keyboard ($13), super comfortable for coding. Bought it\njust for fun after reading this thread:\n[https://news.ycombinator.com/item?id=20866319](https://news.ycombinator.com/item?id=20866319)\n\n------\nfalcor84\nOn a related note, I've been imagining this product idea, as an educational\ntoy that would help kids practice typing and spelling: A small physical\nkeyboard with a small (but larger than the AlphaSmart's) attached color\ndisplay, which does nothing but present a single picture of the thing that\nyou've typed, and show nothing if the current input is misspelled or otherwise\nnot found. I'm thinking that it would have an internal (no internet\nconnection) visual dictionary similar to the one that comes with the\nScribblenauts game and would be rugged enough for 3 year old kids to play\nwith.\n\nDo you happen to know of any existing product like this, or the feasibility of\nbuilding one?\n\n~~~\nvidarh\nI don't know if they have something specifically like what you want, but VTech\nhas a whole range of educational toys with keyboards and assorted phonics and\nspelling tutorials.\n\nIf you do a search for \"vtech abc\" and variations you'll find a huge number of\ndifferent types of devices.\n\n~~~\nmprovost\nWow I didn't know they were still around. My first PC was a VTech XT clone!\n\n------\nrjack_\nI wonder if creating a different OS account on the same day-to-day work laptop\nwith limited access to app, games and no internet would trigger the same\n\"Pavlovian response\" the article talks about. Did anyone tried this approach?\n\n------\nmixmastamyk\nReminds me of the Radio Shack portable:\n\n[https://en.wikipedia.org/wiki/TRS-80_Model_100](https://en.wikipedia.org/wiki/TRS-80_Model_100)\n\nThere were also a few simple word processors by Brother I think.\n\n------\nericol\nThis is a very vintage & romantic way of going at it.\n\nIf you don't have a way to acquire one of these devices, a similar solution\ncan be implemented with a Bluetooth keyboard (Like the Logitech K480,U$D 35 @\nAmazon, and has a slot for tables or phones) and a tablet or your phone (Or\n_a_ phone).\n\nYou'll need an app for that, and my current choice for writing in my tablet is\nJoplin [1] that has apps for all the OSes and phones, and can be hooked with\ndifferent ways of cloud storing for your files (Like Dropbox or NextCloud)\n\n[1] [https://joplinapp.org/](https://joplinapp.org/)\n\n~~~\nfrank2\nYou missed the main point of the OP: the AlphaSmart lacks the distractions\n(temptations to procrastinate) of a smartphone or tablet.\n\nDo you never find yourself using your smartphone or tablet to procrastinate\nafter intending to use it for a productive purpose?\n\n~~~\nericol\nYes. That's actually why my tablet (That I use mainly for reading) doesn't\nhave my main Gmail account linked to it, plus I always use it on airplane\nmodel.\n\nMy take was that not that many people will have the choice to get their hand\non one of these devices (I, for one, can't).\n\n------\ni_am_proteus\nI use a Hermes Rocket (typewriter) for similar reasons: similar form factor,\ndoes not require electricity, saves your work to paper rather than electronic\nstorage. About $50 used.\n\nThe keyboard is mechanical, as is the rest of the device.\n\n------\nwalrus01\nThat thing looks kind of like a TRS-80 model 100\n\n[https://en.wikipedia.org/wiki/TRS-80_Model_100](https://en.wikipedia.org/wiki/TRS-80_Model_100)\n\n------\nnanna\nRequisite HN comment but also a genuine one too: Is there any chance any of\nthese Freewrites, Alphasmarts or machines from Japan support, or could be\nhacked to support, emacs keybindings?\n\n~~~\nnumpad0\nThere\u2019s a guy who reflashed Pomera DM200 to run XEmacs, though at that point\nit\u2019s just an ARM laptop with no mouse\n\n------\nafandian\nI've recently bought a handful of these (the more basic Pro and 2000), with\nthe aim of replacing the insides with an ESP32, but otherwise do the same job.\nThere's a community of people, weirdly on Flickr, who provided enough\nmotivation to buy one.\n\n[https://www.flickr.com/groups/alphasmart/](https://www.flickr.com/groups/alphasmart/)\n\n------\nframebit\nThe Alphasmart! We did typing class with that back in the early 00's. The IR\nbeam to the printer felt like science fiction back in the day.\n\n------\nklodolph\nWe had these in school when I was young. I loved them. I could carry one\naround the playground and write a story. When you got back to the classroom,\nyou transferred it to the computer by hooking it up as a keyboard. I\u2019ve been\ndreaming about getting one for a while. The passive matrix LCD works well in\nsunlight and the batteries last a long time.\n\n------\nWistar\nIn the very late 80s, a co-worker of mine, a corporate-productions\nscriptwriter, gave up his Mac and started using a Neo2-like device -- it\nlooked very similar and used AA batteries. I remember him crowing about how it\nwas a game-changer for him, and that it made him a much more productive, and\nbetter, writer.\n\nI also recall thinking he was nuts.\n\n------\n5-\ntangentially related, i've been playing a bit with a brother ep-44 (see, e.g.,\n[https://darrengoossens.wordpress.com/2018/08/09/serial-\ntermi...](https://darrengoossens.wordpress.com/2018/08/09/serial-terminal-\nwith-benefits-brother-ep-44/)).\n\ni've mostly been running it as a linux tty, but in spite of being designated a\n'personal electronic printer', it has some memory and editing features so\ncould pass as a portable word processor.\n\nunfortunately its keyboard is quite unsatisfactory, so i'm considering\nacquiring a\n[https://en.wikipedia.org/wiki/Silent_700](https://en.wikipedia.org/wiki/Silent_700)\nalso for use as a tty.\n\ni would be interested in further suggestions along these lines.\n\n------\nbrettermeier\nWhy use medium.com with this login-wall?\n\n~~~\npier25\nProbably because it's free and easy.\n\n------\nfortran77\nThis reminds me of the Tandy 100, which was widely used by news reporters even\ninto the early 80s.\n\n------\ngrayclhn\nThat device looks fantastic for what the author wants. Another approach if you\nneed a little more flexibility in the software might be using a deliberately\nlimited old laptop. (I'd rather type in emacs, for example.) Battery life\nwould be a lot worse, obviously.\n\n------\nkinghtown\nI own a neo2. They are nice for first drafts or noodling with words. There\nreally is something in the idea of dumbing down tech to get things done. I\nhave written quite a bit on it but three things have held me back from being a\npower user:\n\n1\\. It uses a dated, proprietary cable to transfer your writing to a computer.\nWorst part of this is that the AlphaSmart re-types your writing so if you\u2019ve\nwritten the 50000 word max then it will take some time to save it. The process\nis just annoying enough to trigger procrastination.\n\n2\\. If the battery comes out then you\u2019ve lost everything. This isn\u2019t such a\ndealbreaker since I want a dumber word processor to get out of my way but I\nthink it makes the keyboard a little too dumb.\n\n3\\. Honestly, it\u2019s not sexy. It\u2019s huge, too. And people with no interest in\nwriting just don\u2019t get it at all. The looks people give me when I\u2019ve used it\nin the public are like \u201cwhat insane Jesus cult stuff is this guy writing on\nthat??\u201d Nothing crazy here, just hunting bugs on TempleOS.\n\nI see a market for a machine like this but done better. The just write or\nwhatever branding they are using checks a lot of boxes but the price is\ninsane.\n\nI think I\u2019ll just rig up Atom to work a little bit more like Scrivener.\n\n~~~\nTaylor_OD\n[https://getfreewrite.com/](https://getfreewrite.com/)\n\nI remember something like this being announced a few years ago called The\nHemingway. This is what I found when I DDG'ed The Hemingway typing machine.\n\n~~~\nkinghtown\nYeah these are the guys I was referring to when I wrote Just Write. Their\nprices are still insane. Plus are they ever going to release the traveller?\nI\u2019m pretty sure it\u2019s been listed as presale for 2 years now. My neo2 was $40\nCDN with shipping. Paying like 20x that for something which is just a tad bit\nnicer is kind of wrong. You\u2019ve either got to be a working novelist to justify\nthe cost or like someone whose been sitting on the same handful of story\npremises for 20 years but never finished anything you know like I\u2019m gonna\nthrow down $700 on this thing because I\u2019m actually really very serious this\ntime about writing a book. No thanks. Laptop will do here.\n\n------\ntartoran\nThis is interesting but I wonder whether no fewer and fewer folks remembers\nthe pleasure of writing by hand with a nice fountain pen in a nice notebook.\nNot being able to edit also forces one into a different writing mode.\n\n~~~\ngoda90\nI've never had good handwriting, and I find the process makes my hand tired\npretty quickly, so for me there is nothing to remember.\n\n~~~\ntartoran\nI hear you but this is true of typing on a keyboard for some:RSI. Last time I\nwas doing a lot of hand writing was in college and my writing has gotten way\nworse since because of lack of practice. But, I remember not having to think\nmuch about writing, my hand had a brain of its own.\n\n------\npier25\nGRR Martin still writes in DOS with WordStar:\n[https://www.bbc.com/news/technology-27407502](https://www.bbc.com/news/technology-27407502)\n\n------\nngcc_hk\n[https://en.wikipedia.org/wiki/TRS-80_Model_100](https://en.wikipedia.org/wiki/TRS-80_Model_100)\n\n------\nJoeAltmaier\nA very similar productivity trick, to having a separate 'office space' when\nworking at home. Triggers the mind to enter work mode, and minimizes\ndistractions.\n\n~~~\ntartoran\nOf course it does but for many the problem is affordability so I'll take it as\na nice to have luxury.\n\n------\nmosselman\nHow safe is your text on this? What if this thing breaks or has some glitch?\nIs there some form of cloud backup? I'd be terrified of losing data to this\nthing.\n\n~~~\nTedDoesntTalk\nIf you read the article, you\u2019ll learn the only method of getting data off the\ndevice is via usb connection to a host computer.\n\n~~~\nmosselman\nYou caught me, I didn't read the whole thing.\n\n------\ngohwell\nAre there any OS projects that would turn a computer into a word processor\nlike this? Seems like a nice way to bring an old laptop back to life.\n\n~~~\ngohwell\nAnswering my own question:\n[https://raymii.org/s/blog/Vim_as_PID_1_Boot_to_Vim.html](https://raymii.org/s/blog/Vim_as_PID_1_Boot_to_Vim.html)\n\n------\npkamb\nThinkPad X40 is the perfect machine for this. I\u2019d love to see a dedicated\ndisro with only writing + simple local and/or network backup.\n\n------\nmoonbug\nfor similar reasons, I swear by my Remarkable tablet.\n\n------\nbeamatronic\nThe keyboard in question is a 1993 AlphaSmart device\n\n~~~\nadamiscool8\nThe author is using a 2007 model from eBay, but it is cool to see the\ntechnology from my childhood classroom almost 30 years ago persist. I\ndefinitely wrote a few elementary essays on these in my day.\n\n------\nceedan\nMy first thought when looking at this thing was neck pain.\n\nPersonally, I would be in rough shape if I used this thing for more than 15\nminutes.\n\n~~~\nkinghtown\nI actually don\u2019t look at the screen when I\u2019m typing on mine. I\u2019m like zoning\nout when I use it.\n\nI write my first drafts on my MacBook in a similar way where I turn the screen\noff and type away.\n\n~~~\nceedan\nWow that's pretty cool insight to a writer's process. I'm not sure that ever\nwould have occurred to me\n\n~~~\nkinghtown\nIf you\u2019re thinking of trying it, I recommend having soft targets for scenes or\nchapters. Some kind of direction. Also it takes a bit of time for the engine\nto start running. At first it\u2019s kind of weird and you\u2019ll be prompting yourself\nwith like \u201cwhat\u2019s next what\u2019s next\u201d anxiety but if you tough it out for about\n15 minutes then the dream logic kicks in. All these cool things float up from\nthe subconscious. Lots of typos,too.\n\n------\nhamilyon2\nSerious question: does anyone writing professionally or as a hobby use voice\ninput as main input device? Why?\n\n------\nkalium-xyz\nI wonder how you could modify one of these to be more suited for writing code.\n\n~~~\ntartoran\nUpgrade to a laptop, boot up into a stripped down verison of your OS\n\n~~~\nkalium-xyz\nNot what Im looking for, a laptop is both too overkill and to underkill on the\nbattery life\n\n------\ndzuc\nsimilar devices [https://www.are.na/laurel-schwulst/free-writing-\ndevices](https://www.are.na/laurel-schwulst/free-writing-devices)\n\n------\nbookmarkable\nTired of links to paid content, pay walls, Admiral anti-ad blocks.\n\n------\nbrudgers\nHardware is a useful abstraction.\n\n------\nelchin\nDigital minimalism!\n\n------\ndepaulagu\nPosting paywalled-articles in HN should be highly discouraged...\n\n~~~\nlukifer\n[https://outline.com/PzjuRt](https://outline.com/PzjuRt)\n\n------\njedimastert\nI think folks here might enjoy the idea of cyberdecks\n\nreddit.com/r/cyberdecks\n\n~~~\ndividedbyzero\nAm I doing something wrong, or is that subreddit essentially empty?\n\nAlso, aren't cyberdecks the complete opposite to these devices? They strike me\nas a multi-purpose device like any laptop, but in a different form factor and\nmaybe a bit more optimized for hardware hacking?\n\n~~~\njedimastert\nI linked to the wrong sub, there shouldn't be an s on the end\n\nI would say that cyberdecks can be whatever you want. I've seen some single-\npurpose form factors like network testing or radio telemetry before\n\n"} {"text": "\nWho got interviewed by Highland? - ginn\n\n======\nginn\nNow that we know which Y combinator members were accepted into the Y\ncombinator program, LightSpeed, and TechStars. Let's see who got into\nHighland. Anyone get the interview call this week yet?\n\n"} {"text": "\nHow to Improve Security Awareness of Software Engineers - forty\nhttps://blog.dashlane.com/sstic-2019-improve-security-awareness-of-software-engineers/\n======\nyogesch\nPerhaps test teams could include a security sub-team as well..\n\nSo, for example, if a tester is working on whether the file upload feature is\ndone right, another tester could start uploading known malicious files to see\nhow they get handled.\n\n"} {"text": "\n\nScalable Work Queues with Beanstalk - igrigorik\nhttp://www.igvita.com/2010/05/20/scalable-work-queues-with-beanstalk/\n\n======\nmattrepl\nThere are some tasks, such as asynchronously-generated web content, where a\nmessage queue is the obvious solution. But there are a class of problems where\neither a message queue or batch processing system (e.g., Hadoop) could be\nused. Consider the summation of user mention counts from the Twitter streaming\nAPI for an example; either a job is put on a queue for each tweet containing a\nmention, or each of the mentioning tweets are thrown into a bucket that is\nused as the source for a batch job that recurrently executes.\n\nFrom what's mentioned in the article, it sounds like some of the tasks that\nBeanstalk is being used for at PostRank are the same type of tasks that other\ncompanies, such as FlightCaster, are doing with Hadoop/Cascading.\n\nThe trade-off seems to be that message queues are more flexible and can offer\nlower latency of job completion but batch processing systems provide better\nsupport for admin concerns like adding worker nodes, debugging, and reporting.\n\n~~~\nigrigorik\n\"From what's mentioned in the article, it sounds like some of the tasks that\nBeanstalk is being used for at PostRank are the same type of tasks that other\ncompanies, such as FlightCaster, are doing with Hadoop/Cascading.\"\n\nHmm, not at all. A message queue and a job queue are not necessarily one and\nthe same. What we need is real-time scheduling, with up to the second\nresolution for each job. We don't run a batch \"go fetch all of these pages\"\njobs, rather our system is always running, always fetching content. For that,\na heap/work queue is required.\n\n~~~\nmattrepl\nI've enjoyed reading your posts over the years, thanks for them.\n\nYou're correct that a message queue isn't necessarily a job queue, I was\nreferring to job queues.\n\n"} {"text": "\nThe 3 Most Common Topics You Hear as a Lyft Driver - stervy\nhttps://medium.com/rideshare-journal/the-3-most-common-topics-you-hear-as-a-lyft-driver-14de5ba064dc\n======\nswframe2\nAs a lyft rider, I am surprised to have had 3 lyft drivers who moved to the\nbay area in the 80s, own several houses and have a net worth of several\nmillion.\n\nThe conversations I have had with lyft drivers have been very interesting.\nBesides the convenience of not having to drive myself, meeting the drivers has\nbeen a wonderful experience. I've learned a lot.\n\nJust today a driver told me: if you are sad, you are too focused in the past,\nstressed ... too focused on the present, anxious ... too focused on the\nfuture.\n\n~~~\nSOLAR_FIELDS\nI've had a few rides with such drivers. Generally they are older and want to\ncontinually experience the world, so they drive so they can talk to people\nabout their life experiences. It's one of the cooler and more positive\nbyproducts of this rapid change in the transport economy that has had much\nmedia coverage of negatives.\n\n------\njaclaz\n>Liked this article? Please subscribe to the newsletter above and recommend\nthe article below!\n\nWhich article?\n\nFor once the title is not click-baity and it is actually true and accurate, a\nlist of three most common topics heard (and nothing else).\n\n"} {"text": "\n\nMisconceptions About Forward Secrecy - xnyhps\nhttps://blog.thijsalkema.de/blog/2014/01/17/misconceptions-about-forward-secrecy/\n\n======\ncies\nIt seems that in post-2013 articles on encryption the phrase \"a malicious 3rd\nparty\" has been completely replaced by the 3-letter acronym: NSA.\n\n~~~\nMattJ100\nTo be fair, they're one of a small set (possibly of size 1) of organisations\nthat would be able to carry out most of the attacks discussed. Things that\nwere considered highly unlikely pre-2013 are now a real possibility, if not\nprobability.\n\n~~~\nithkuil\nwhy? is there any revelation that they have the compute power to do that? Or\nit's just because now it's know that they'd really like to do it?\n\n~~~\nschmichael\nThe NSA is somewhat open about the massive amounts of computing power they\nhave available: [http://nsa.gov1.info/utah-data-\ncenter/](http://nsa.gov1.info/utah-data-center/)\n\nLots of goodies on this public site like \"This [compute cluster] will give us\nthe capability to break the AES encryption key within an actionable time\nperiod and allow us to read and process stored encrypted domestic data as well\nas foreign diplomatic and military communications.\"\n\nObviously leaked documents and other media reports contain much scarier\nrevelations into what the NSA is capable of, but I thought I'd post what they\nacknowledge since it's safe to assume they're capable of much more.\n\n~~~\naneisf\nIn case someone doesn't pick up on it, gov1.info is a parody site.\n\n~~~\nschmichael\nWow I'm gullible.\n\n------\nwbl\nThis article is dead wrong on multiple points. First off, the impact of\nmultiple keys is different for the parallel Rho method: the time to the first\nkey to be cracked is the same. Secondly ECDH is commonly used to avoid the\nproblem mentioned in the second point. The worst part is people will make\ndecisions based on this wrong information.\n\n~~~\nxnyhps\nMy claim is: FS does not imply, by definition, that every attack scales\nlinearly in the amount of keys. Having a counter-example of an attack that\n_does_ scale linearly does not disprove that point.\n\nI indeed only cover DH at #2, as index-calculus does not apply to ECDH.\n\n------\nsp332\nLooks like the page is dead?\n\nEdit: oh it's back. In any case here's a better archive if it goes down again\n[https://archive.is/2rQfr](https://archive.is/2rQfr)\n\n"} {"text": "\n\nAsk HN: What do you do when an homeless ask you money? - Buetol\n\nSimple question. I meet a lot of homeless people here in Paris. My rule is to never give money but food and friendlyness. But I feel like there have to be a better way to deal with it.\n======\njason_slack\nI made friends with one particular homeless man a few years ago. His name was\nRaymond, he had previously in life worked manual labor jobs, had a wife and\nkid. A proud husband and father. His wife left for someone who could provide\ngreener pastures. He never recovered from that.\n\nI would see him when I was out running errands in my neighborhood. He never\nhad shoes on. I stopped one day and asked him if he needed shoes and what\nsize. I bought them for him. I gave him some food. He refused it. I thought\nthat was odd.\n\nI saw him about a week later and offered him food and he said no again. I\nasked him why and he said it is because I didn't offer it to him in a bag to\ncarry it. Then it made sense. If he couldn't carry it, he couldn't keep it\nlong term. It was to much to carry around all day everyday.\n\nOver the years I gave him clothes, food, books, an old laptop (which, yes, he\nwas using months later, so he did not sell it), inviting him to holiday\ndinners and my friendship. We would chat for hours sometimes about whatever\nwas going on. He was very in tune with current affairs.\n\nThen I stopped seeing him. I drove around looking for him. I asked some others\nwhere he might be and nobody knew. I never saw him again.\n\n~~~\nsandebert\nThat story read like something from Adrian Tomine. Check out his graphic\nnovels if you are into that kind of thing. I recommend Sleepwalk and Summer\nBlonde, I enjoyed them a lot.\n\n~~~\njason_slack\nI haven't heard of this author before, thank you for mentioning him.\n\n------\nlsiunsuex\nI never carry cash and I very rarely see homeless people though I'm sure they\nexist here.\n\nA past job I held, we were a very large call center (I was in IT) we had\nhundreds of call center employees - every christmas, we would get in touch\nwith local shelters and hospitals and do a \"needy family fund\" where employees\nwould donate canned food, toys for kids, blankets, etc... anything you could\nimagine. We gathered so much we filled 2 21 foot vans and supported 30+\nfamilies.\n\nIt always infuriated me that we did this. Not that I hated giving - I gave as\nmuch as I could, but that we ran a call center. Onsite training for the call\ncenter was just 1 week and every week we'd have 10-20 new hires (badge access\nwas a nightmare) - we'd train anyone that could pass a drug test and pass a\nbasic math quiz and pay started at $16 / hour with monthly bonus.\n\nI often said - \"Why don't we give these people jobs? We hire almost anyone off\nthe street. The toys and food are great, but if you want to see someone smile,\ngive them a job and let them provide a real life for their family\"\n\nI never got a strait answer.\n\n~~~\nTheCoelacanth\nA very large portion of chronically homeless people have mental illnesses or\nsubstance abuse problems that prevent them from keeping a job long term.\n\n~~~\nmcv\nBut there are also a lot of people who simply slipped through the cracks of\nthe system and would appreciate any help to get back on their feet. A job\ncould really help them out. It can't hurt to try.\n\n------\nthrowaw4y\nThrow away account.\n\nI live in South Africa where we have homeless people on almost every street\ncorner. Because of this it is quite easy to be desensitized about the divide\nin wealth. It is also difficult knowing who to give money to as a lot of\nhomeless people don't want help and will buy cheap alcohol and drugs so giving\nmoney can often enable something you really do not want. I also find it\ndifficult to build any sort of relationship with someone homeless because they\nmove around a lot, I've also spent a lot of time and money cleaning some\npeople up, buying new clothes and organising job interviews for car guarding\nat shopping centres only to find out that I've been taken advantage of.\nInstead now days I give 5% of my salary to charities and NGO's who specialize\nin helping the needy.\n\n~~~\nBuetol\nFunding free shelters with free food and computers would be ideal for me. So I\nwould redirect the homeless to these places.\n\n------\njane_is_here\nI give them money if I have spare cash on me. They need it more than I do.\n\nAs to what they use it for, they are adults and can make their own choices,\nwhether it be using it to pay for a EduX course ( unlikely ) or buying heroin\n( unlikely ).\n\nIf you or I became homeless ( admittedly unlikely ) and begged for money (\nhopefully unlikely ), surely you would want to be given money rather than fake\nfriendliness or food.\n\n~~~\nmgrassotti\ntotally agreed\n\n------\njseeff\nI generally avoid giving money as I don't know where it ends up and don't want\nto support substance abuse in any way. I tend to give to charities helping the\nhomeless. When I used to live in London and worked for a huge organisation, I\nalso organised a \"buy a lunch\" campaign once every few months whereby anyone\nbuying in the staff canteen could either add a set amount of money or\nduplicate the cost of their meal and all the funds (matched by my\norganisation) then went towards providing meals and shelter for the\nhomeless....\n\n------\nTotoradio\nI almost never give money, but I usually give cigarettes or meal vouchers and\nchat a little. When I finish a book I give it too, it's often much appreciated\nbecause as one guy said \"you have no idea how boring it is to be on the\nstreet\".\n\n------\nrocky1138\nNothing. Charity is injurious unless it helps the recipient to become\nindependent of it.\n\nInstead, I donate time and money to worthy causes which the homeless can take\nadvantage of.\n\nI think this is an effect of living in Canada, where we have a very good\nsocial system for homeless people. If someone is on the streets here, it's\nlikely because they have a mental illness which causes them to be unable to or\nsimply refuse help.\n\nI am not sure what to do for people like that since \"you can bring a horse to\nwater but you can't make it drink.\" How can you force someone to go get help?\nI don't know the correct answer, but I know enabling them by giving them money\nis not the correct answer.\n\n------\njrochkind1\nI give them $1, pretty much every time. I make enough money that this practice\nisn't really noticeable to my budget, so why not? It's not my business what\nthey use it for, I drink and do other things myself too.\n\nThe one guy who is always there on my usual daily lunch walking route, and is\nkind of creepy too, I now only give him $1 once a week instead of every day,\nbecause it was starting to annoy me and be noticeable in my wallet. The other\nolder guy who is always there on my usual daily lunch walking route, and who\nis clearly mentally ill but very friendly and I like him a lot -- he doesn't\nask me every day (but does say \"hey, how's it going?\" every day), so I still\ngive him $1 every time he asks.\n\n------\nsmt88\nIn the US, our system for elevating the homeless out of poverty is awful, but\nour system for taking care of their basic needs is good.\n\nOne of the results is that most homeless people who actually resort to begging\non the street are some combination of mentally ill and addicted to something.\nThe addiction is often self-medication for the illness.\n\nWhat can you do for those people? They need psychiatric care that's tailored\nto each of them.\n\nI think the most you can do as a non-wealthy individual is to support\npoliticians who understand that most homeless people are sick, that they're\nnot trash to be swept into a landfill, and that they can be lifted out of\nhomelessness with the right help.\n\n~~~\nDanBC\n> The result is that most homeless people on the street are some combination\n> of mentally ill and addicted to something. The addiction is often self-\n> medication for the illness.\n\nYou need to be a bit careful with this. You use the word \"most\", and you imply\nthere's a causal reaction: people have mental illness and addiction problems,\nwhich cause homelessness.\n\n[http://www.nationalhomeless.org/factsheets/Mental_Illness.pd...](http://www.nationalhomeless.org/factsheets/Mental_Illness.pdf)\n\n> According to the Substance Abuse and Mental Health Services Administration,\n> 20 to 25% of the homeless population in the United States suffers from some\n> form of severe mental illness. In comparison, only 6% of Americans are\n> severely mentally ill (National Institute of Mental Health, 2009). In a 2008\n> survey performed by the U.S. Conference of Mayors, 25 cities were asked for\n> the three largest causes of homelessness in their communities. Mental\n> illness was the third largest cause of homelessness for single adults\n> (mentioned by 48% of cities). For homeless families, mental illness was\n> mentioned by 12% of cities as one of the top 3 causes of homelessness.\n\nMy worry is that people think better drug and alcohol treatment, and metter\nmental health treatment, would cure almost all homelessness. It would get rid\nof a lot of it, but not most of it.\n\nIt also doesn't recognise that being homeless probably causes some mental\nhealth and addiction problems.\n\n~~~\nsmt88\nSorry, I edited my comment after you had already copied it, so they don't\nmatch up.\n\nI meant to say that most of the people _begging for money_ are mentally ill,\naddicted, or both. I got that info from a psych professor in college who was\nresearching homelessness with the CDC (they do that apparently).\n\nIt was only one city, but my assumption was that her research was a model for\nmany American cities. I could certainly be wrong about that.\n\nI did imply that it was a causal relationship, and I certainly meant it. Part\nof the definition of mental illness is that someone doesn't function in the\nsociety in a prescribed way. That's also how people become homeless.\n\nThe point that people may also become mentally ill after becoming homeless is\nwell-taken, though, and I'd add that to my own comment if I could.\n\n~~~\nDanBC\nI think we mostly agree! :-)\n\n------\nDorian-Marie\nI usually give all my little coins (< 1\u20ac).\n\nSometimes it's a lot, sometimes not. It's a lot to them but to me the coins\nare annoying, I have to waste time sorting them and carrying them around. They\nare difficult to spend for me.\n\n------\nMattBearman\nMaybe it's a UK/US thing, as I know card payments are much more ubiquitous\nover here, but I very rarely have any cash on me. I never need it, and I know\nits the same for a lot of other people in the UK.\n\n~~~\ncphoover\nIn baltimore I've had homeless people come up to me with card readers. :) so\nthat excuse is going out the window. Here random guy let me give you my CC#\n\n------\nmgrassotti\nI give $1 pretty much every time, which is a few times/day living in nyc.\nDidn't used to but a few years back I read a book that changed my mind. Author\nmade the point that the best way to turn $1 into happiness is by giving away\nin this situation. No matter what they use it for, the $1 clearly means more\nto them than it does to me. I'd blow it at starbucks or whatever and not think\ntwice. More I think about it the more that seems true.\n\nOnly exception is if someone asks comes into restaurant and goes to each table\nasking for money. That just drives me nuts.\n\n~~~\nBuetol\nOnly problem with this is that when you give to one, the others around are\ngonna ask you too and I don't like feeling forced to do things.\n\n~~~\nsmeyer\nI haven't seen this problem before. In my city, panhandlers tend not to be\nimmediately next to each other (because it's worse for panhandling) and if you\nwalk by one and give a dollar, you can still walk by the next and not give\nanything.\n\n~~~\nBuetol\nYep, in fact it's another kind of people. They want you to sign petition or\nthey want you to believe they are blind (they are looking for \"gullible\"\npeople)\n\n------\nmcv\nI rarely have cash on me any more, but when I meet one near a supermarket, I\nsometimes offer to buy something for them.\n\nYears ago, I used to buy street newspapers regularly. The sellers are drug\nfree and actively trying to get their life back on track. But I never got\naround to reading them, and it seemed like a waste of paper. I'd like to give\nmoney, but the organization behind the paper warns against that, because the\nentire point is that they earn their money, rather than begging for it. That\nputs me in a complicated bind.\n\n------\njtfairbank\nI give him/her a cig and a smile. Its nice to be friendly. I also leave\nbottles in an easily accessible cardboard box on days when I put the recycling\nout.\n\nI only give cash if they are contributing to the public space (playing music,\netc). For security reasons I avoid giving change or cash to someone who is\nengaging me directly.\n\nIf someone seems interesting I'll def buy them a meal (and eat with them) to\nhelp them out and continue the conversation.\n\n------\nlexandstuff\nAlways give money if I have it. If even a fraction of it goes toward food or\nshelter, then it's money well spent.\n\n------\nblueflow\nSimilar to you, i never give money because of the abuse potantial, and money\nitself is just a placeholder for what they actually need. Food does better.\nI've made experience that alot of poor people are ashamed of their situation\nand will even refuse when you offer something.\n\nIn German cities there is a trend to leave returnable bottles after\npicknicking or just place them next to trash cans, a lot of poor people\ncollect them and are able to feed themselves on the bottles return value. This\nseems to be the primary tactic here to keep those folks from starving, beside\nfrom governmental support.\n\n------\nfaithfone\nI don't judge. I don't even think about it. I just give whatever I can afford\nwhen asked. Sometimes it's $20+. Other times it is nothing.\n\n------\nbrickmort\nliving near NYC has taught me to ignore beggars. At a certain point, you lose\nsympathy because you can't distinguish who genuinely needs it and who's just\nlooking to make an easy buck.\n\n------\nairframeng\nIf one earns enough to the point that pocket change (coins) has become a\nburden to carry around and one has the \"opportunity\" to give it to the\nhomeless, then it's a win-win.\n\n------\ntmaly\nI use to not give money and just give food. However now, if I see the same\nperson out there in subzero temps, I usually give them a $20. I just think,\nhey maybe someday that will be me.\n\n------\nfleshshelf\nI don't want to give money to anyone unless I think it can really help to\nsolve a root cause of their poverty. I prefer redistribution of wealth to\nindividual contributions.\n\n~~~\nfwn\nIndividual contributions cause redistribution. Did you think charitable\norganisations or just government?\n\n------\ndanvesma\nI give a small amount of money \u2013 its more dignified and trustful than trying\nto buy them food.\n\n~~~\njseeff\nI think offering to buy someone a meal is pretty dignified, especially (but\nnot only) if you have time to eat with them.\n\n------\nradoslawc\nbum: sir you maybe got some spare change? me:funny I was just about to ask you\nthe same question\n\nAs a rule I never give anything to homeless, they are homeless because they\nlike to live like that. There are plenty places where they can seek help, many\nof them founded from my tax money. Only requirement is to be sober. Giving\nthem money, food, clothes etc it only makes worse since they can spend all day\nto get hammered.\n\n~~~\njseeff\nI agree that it is not always the best solution to give money (rather than say\nfood etc) but \"because they like to live like that\" is (as far as I am able to\nascertain) a huge over-simplification and in many cases probably an outright\nfalacy. It is well documented that (as with the prison population) there is a\nhigh occurrence of mental disorder in homeless people.\n\n~~~\nradoslawc\nRight, that was oversimplification from my side, and cost me 4 precious carma\npoints so far. Sure. But I live in city with loads of tourists, and most so\ncalled \"homeless\" people here are not people struggling to live trough another\nday, but rather making good living out of scared tourists.\n\n~~~\njseeff\nI'm still quite new around here so don't fully understand how all this Karma\nthing works - sorry if I somehow caused you to lose something! (Incidentally,\nI would love to understand it better, know how to search and track replies to\ncomments etc without having to re-read the whole thread, but I digress...)\n\nI think the point you make is different to \"choosing\".... and is the main\nreason I prefer to give something that a truly needy person will definitely\nappreciate (e.g. food, shelter) rather than something that could be spent on\nalcohol, drugs or be taken by someone who isn't really needy.\n\nIn sum though, I think as long as someone is trying to help, each can choose\nhis or her own preferred way to do that :)\n\n"} {"text": "\n\nWho Really Benefits From Interest Deductions - 001sky\nhttp://www.nytimes.com/2012/10/28/realestate/mortgages-who-really-benefits-from-interest-deductions.html\n\n======\nmooism2\nIt's only talking about mortgage interest.\n\nThat's a pity. I'd like to read a well-written piece about how interest\ndeduction for business works out. It seems designed to make it easier for\nbusinesses to invest, but I wonder how the costs of leveraged buyouts etc\ncompare.\n\n~~~\n001sky\nThe analysis is the same. The tax-deduction is a subsidy to the \nholders, of whatever asset class. So, for homes, the subsidy accrues to the\nequity holder. For business, the same thing. Policywise, housing is\nconsumption (luxury, in particular) and business capital structure is\ninvestment. Subsidizing the latter has a far stronger policy rationale per-se\nbut the capture technique (components of cost or net profit) is arbitrary.\nAnalytically, see:\n[http://en.wikipedia.org/wiki/Modigliani%E2%80%93Miller_theor...](http://en.wikipedia.org/wiki/Modigliani%E2%80%93Miller_theorem#With_taxes).\n\n"} {"text": "\nCommanderSong: Song videos with hidden commands your phone recognizes - ColinWright\nhttps://twitter.com/dragosr/status/1192246019926315009\n======\nqnsi\nHe was so focused on whether he could, that he didn't ask himself if he should\n\n"} {"text": "\n\nAre symbols, myths and metaphors sort of like file compression for culture? - eli_oat\nhttp://elioat.tumblr.com/post/86402521425/are-symbols-myths-and-metaphors-sort-of-like-file\n\n======\ncoldtea\nWell, symbols, myth etc are a summary of complex events and notions.\n\nIn that sense, they are sort of file compression.\n\nBut in other senses the metaphor breaks, because it cannot convey the\nsimilarities.\n\nOne can enjoy a myth or symbol in itself -- but a compressed file is useless\nunless it can be opened.\n\nSecond, the uncompressed file can be comprehended at once (e.g a movie can be\nviewed, a compressed doc can be read, etc). The cultural notions that are\n\"compressed\" into myths, though, cannot be understood by anyone in their\nentirety -- so the \"compression\" of the myth is somehow necessary.\n\nThird, a compressed file is usually the work of a single person. Whereas\nculture (and myths, symbols etc) are a shared work of a people.\n\n~~~\neli_oat\nNoting that a myth can be enjoyed in and of itself, while a compressed file is\nreally rather boring until it is uncompressed, I think you've hit on something\nI didn't think of at all. Thank you.\n\nI'm wondering now if a more apt word would have been \"encoding,\" rather than\ncompression?\n\n~~~\ncoldtea\nYes, encoding sounds more apt on this regard. Perhaps \"lossy crowd-sourced\nencoding\" would convey all aspects!\n\n"} {"text": "\nDo Not use namecheap.com for any large site or important domain - highclass\nNamecheap.com seems popular for a lot of tech companies. However, they seem to be not only cheap in price but in management.

I run a forum site with MILLIONS of visitors and about 5,000 TB of traffic per month.\nNamecheap.com suddenly sent me a link warning that they will suspend my domain completely within 24 hours, if I did not delete two problem images (which were inappropriate/troublesome images but in the context of the forum posts, "a very poor attempt at humor").\nI deleted the images and avoided being suspended, but the way they threatened to suspend my domain due to two images was ridiculous. If I missed the warning email or checked my email after 24 hours they would have completely suspended my domain.\nI'm talking about a site with MILLIONS of visitors per month and ten thousands of posts per day, not some small blog.

They may be suitable for some blog, but I can now say to NEVER use them for any enterprise site.\n======\nLorenzoLlamas\nMaybe I missed it, but did someone point to the actual site with \"millions of\nvisitors and 5 PETABYTES of traffic per month\"? Is that right?\n\nDon't want to seem harsh, but I don't care for unqualified rants against a\nnamed entity, when the \"accuser\" doesn't name his own source.\n\nAnd using vague words like \"inappropriate/troublesome\" seems a bit mysterious.\nWere they ISIS propaganda posters, nudity of celebs, or penguins making out?\nMight make a difference.\n\nAnd as others have already stated, it's pretty SOP for hosting and domain\ncompanies to have this standard in place. Hate to say it, but it's in the User\nAgreement. Else, run your own servers and domain name registrar (oh, and also\nbe liable for those same posts possibly).\n\nWhy we insist on not understanding that DNRs and hosts are, basically,\npublishers, who have some rights, is beyond me.\n\nLet me guess... this guy is upset because he might have not gotten the email\nwithin 24 hours (in 2017... yeah, right). Is he off-the-grid hunting sea lions\nin the north sea? And if his site is so big, he has no one to help him and no\nbackup staff except... only him?\n\nThis same crowd will balk that FB didn't remove that last murder video in 12.3\nseconds, but demand that THEIR host or registrar give them 30 days.\n\nSheesh... internet shenanigans never stop, do they?\n\n~~~\nhighclass\nI have actually run a domain registration/reseller business in the past, with\n20,000 domains registered (which is a lot).\n\nI did not \"police\" a single one of those domains.\n\nLike I said below, I was NOT using namecheap DNS or hosting.\n\n> And using vague words like \"inappropriate/troublesome\" seems a bit\n> mysterious. Were they ISIS propaganda posters, nudity of celebs, or penguins\n> making out? Might make a difference.\n\nI don't care how much problematic the images were. 24 hours warning for\nthreatening to suspend a domain is ridiculous.\n\n> Let me guess... this guy is upset because he might have not gotten the email\n> within 24 hours (in 2017... yeah, right).\n\nYes that is reasonable reason to be upset. I thought the email was\nspam/phishing at first. The email also could have easily have been deleted by\nspam filters.\n\n------\nploggingdev\nSend them an email asking for an explanation and also let them know why this\nis not a good way of dealing with inappropriate content. Also reach out to\ntheir customer support asking for an explanation. Let us know when you hear\nback from their support team.\n\n~~~\nhighclass\nI agree the two images were problematic, but they were mixed into millions of\nforum posts...\n\nAnyways, if your domain sites contents break the AUP at\n[https://www.namecheap.com/legal/universal/universal-\ntos.aspx](https://www.namecheap.com/legal/universal/universal-tos.aspx) , it\nseems they will suspend your domain that fast...\n\nAgain ridiculous. They even replied \"Yes, we have checked the content of the\nweb-site and based on its not deliberate nature we have provided a reasonable\ntime-frame for removing the illicit content.\"\n\nReasonable time-frame being 24 hours. More ridiculous.\n\n------\ncoreyp_1\nWere they hosting the site, or are they just the domain registrar (and your\nsite is on servers from another company)?\n\n~~~\nhighclass\nI was using a third party DNS AND my own hosting/network. They threatened me\non a Registrar level, which is nearly unheard of.\n\n~~~\ncoreyp_1\nIndeed. I would suggest that you leave them immediately.\n\n------\nSlaul\nInteresting, I hadn't heard of any problems like this when I decided to use\nthem for my last few domain name purchases. Maybe I should look into\nswitching. Do you have any recommendations by any chance?\n\n~~~\nhighclass\nI'm looking around right now. The registrar for reddit.com and ycombinator.com\nboth are [https://www.gandi.net/](https://www.gandi.net/)\n\nI am considering them and a few foreign registrars right now.\n\nI still am in shock how namecheap might have suspended my domain.\n\n~~~\nfinid\nI think they were just been paranoid about potential legal penalties, so take\nit easy.\n\n~~~\nhighclass\nThat is ridiculous. They threatened to suspend my domain within 24 hours if I\ndid not delete two images.\n\nI don't even use their nameservers... They threatened to yank my domain in a\nregistrar level which is so amateurish it shocked me.\n\n------\nidoh\nWhere are you planning on moving your domain to?\n\n~~~\ntinalumfoil\nI've heard good things about Gandi. Since they host reddit I'm sure it would\ntake a lot for them to shut down a site.\n\n------\ntarikozket\nAmazon has the same procedure with hosting.\n\n~~~\nhighclass\nI don't have anything hosted on namecheap. Not even the sites DNS uses\nnamecheap.\n\nb.t.w. hosting and DNS registration are totally different, legally and\ntechnically.\n\n------\nmagma17\n4chan\n\n~~~\ngt2\nI would think a site like 4chan would get these kinds of issues daily.\n\n------\nandrewmcwatters\n> They may be suitable for some blog, but I can now say to NEVER use them for\n> any enterprise site.\n\nIf this is action they take at scale with millions of visitors I wouldn't even\nrisk it with something so intimate as a blog.\n\n"} {"text": "\n\nBloom Filter (Python recipe) - jcsalterego\nhttp://code.activestate.com/recipes/577684-bloom-filter/\n\n======\nhaberman\nOne thing that takes a minute to sink with Bloom Filters is that the size\nrequirements are independent of the size of the individual elements! Storing N\nelements with a given false positive probability has a fixed cost, whether\nyou're storing integers or 100MB strings.\n\nIf you are concerned with speed, a bloom filter is exactly the kind of thing\nI'd never implement in Python. Twiddling bits is orders of magnitude more\nexpensive than in C.\n\n~~~\nraymondh\nPython is written in C and the time consuming parts of this algorithm are\ndelegated to C modules (random, sha256, long int bitshifts, etc). Also, the\nspace efficiency (which directly related to effective use of high-speed cache)\nis language independent.\n\nIf you care about the cost of the Python glue code, the PyPy project nicely\noptimizes that away. Unless you're writing for a Google production server, the\nprogrammer time writing this in C will likely never be paid back in saved CPU\ncycles.\n\n~~~\nhaberman\nWhat you have said is theory. Here is practice.\n\nI wrote a simple bloom filter in C. It took about an hour, including\ndebugging. Here is my bloom filter vs. CPython and PyPy doing 1M lookups:\n\n \n \n $ time ./bloom\n real 0m0.027s\n user 0m0.022s\n sys 0m0.002s\n $ time python bloom.py\n real 0m32.876s\n user 0m32.693s\n sys 0m0.119s\n $ time pypy bloom.py\n real 0m42.280s\n user 0m42.054s\n sys 0m0.178s\n \n\nIn other words, C was 1216x (or 121,600%) faster than CPython, and 1564x (or\n156,400%) faster than PyPy. If it took 1 second in C, it would take 20 minutes\nin Python. Put another way, Python runs this algorithm about as fast as a the\nC algorithm would run on an 8086 from 1978.\n\nHere is my C implementation: \n\nHere is the Python program I compared against (using code from the article):\n\n\n~~~\nraymondh\nNot an apples-to-apples comparison. The Python version is fully general, using\nRandom() to create probes (as many as needed). Instead use the optimized, 4Kb\nfixed size version shown later in the recipe. Also, improve your timing by\nmaking the loop in a function and using something other than range(1000000) to\nfill-up memory (like timeit does). The C version should also use sha224 for\ncomparability (otherwise, you're basically comparing two different hash\nfunctions in two different languages meaning that some of the difference can\nbe ascribed to the choice of hash algorithm).\n\nThat being said, you've done a great job showing that it doesn't take long to\ncorrectly implement this algorithm in C. That is a nice win.\n\n~~~\nhaberman\n> Not an apples-to-apples comparison.\n\nThese kinds of arguments make sense if you're 20% different, or 2x different,\nor even 10x different. When you're 1000x different, no amount of minor\ntweaking is going to bridge the gap.\n\nUsing the 4k version and using timeit() instead of range(), the speed is 21\nseconds instead of 32 seconds, so it did speed up, but it's still 800x slower.\nI'm pretty sure that only a tiny fraction of Python's time is calculating\nsha224, so I don't think that making them use the same hash function is\nnecessary.\n\nLook, Python is cool and has it's place. But it's annoying to get downvoted\nfor stating the obvious: algorithms like this will be much, much faster in C.\nIt's annoying to hear people insist that dropping to C is a waste of time when\nmy personal experience shows time and time again that it can lead to drastic\nimprovements.\n\n"} {"text": "\nHow to Be a Better Entrepreneur in the Next 30 Minutes - jasonlbaptiste\nhttp://www.quicksprout.com/2009/05/25/how-to-be-a-better-entrepreneur-in-the-next-30-minutes/\n======\nmjnaus\nHere is how to Be a Better Entrepreneur RIGHT NOW... don't read link bait\nfluff like this and get to WORK!\n\n~~~\nwebtickle\nWhen I think of link bait, I think of sites that go after Digg and not really\nHacker News. Hacker News is an awesome resource (better than digg imho), but\nif you get to the top I don't think you get too many links out of it.\n\n------\nfuzzmeister\n\"putting up motivational posters\"\n\nSeriously?\n\n~~~\ndcurtis\nAs stupid and cliche as this sounds, it's kind of right. I have this quote up,\nand every time I look at it, I get a boost:\n\n\"Get action. Do things; be sane, don't fritter away your time; create, act,\ntake a place wherever you are and be somebody; get action.\"\n\n-theodore roosevelt\n\n~~~\nDobbs\nI have:\n\n\"Around here, however, we don't look backwards for very long. We _keep moving\nforward_ , opening new doors, and doing new things, because we're curious and\ncuriosity keeps leading us down new paths.\"\n\n-Walt Disney\n\n~~~\ndcurtis\nI have a Disney quote too:\n\n\"I can never stand still. I must explore and experiment. I am never satisfied\nwith my work. I resent the limitations of my own imagination.\"\n\nWALT DISNEY\n\n------\nnreece\n_It doesn\u2019t have to be an innovative business that solves a pain in the market\nplace; it just has to be a business that can turn a healthy profit every\nyear._\n\nOn the contrary, a business must solve a pain the market place, to become\nprofitable and healthy.\n\n~~~\nispivey\nBut his example, a plumbing business, both solves a pain in the marketplace\n(people need their pipes fixed and plumbing installed) and is not at all\ninnovative.\n\n------\nzackattack\nSmart guy and he gets to the point - great article and thanks for posting.\n\n~~~\nzackattack\nOkay, so I decided my short term goal is to be making $35/day.\n\nExplained: $500/mo apt + $350/mo food + $200/mo entertainment = $12,600/yr =\n$35/day\n\nI also have a long term goal to be making $835/day. :)\n\nI want to come up with an idea for a business that could be making $35/day\nreasonably quickly, but also have the potential to eventually scale up to\n$835/day.\n\nI order to make $35/day, I need to create something that can do 7 sales of a\n$5/(month)/profit product every day.\n\n"} {"text": "\nFacebook accused of gagging debate - chris_wot\nhttp://www.theaustralian.com.au/business/technology/facebook-accused-of-gagging-samesex-debate/news-story/d6278508f67d8cfc5ee5efe5147ff378\n======\nchris_wot\nMy main concern here is that someone was monitoring John Dickson's wall. It\nmay have been accidentally deleted, but did it get flagged? How did it come to\nthe attention of Facebook admins?\n\n"} {"text": "\nWhy It\u2019s a Good Thing People Are Shallow (and 13 Ways to Exploit It) - epi0Bauqu\nhttp://blog.kissmetrics.com/shallow-people/\n======\nquanticle\nI disagree with a lot of the points made in the article. For example, the\n\"raise your rates\", and \"put yourself out of reach\" suggestions would be\nsuicide for anyone targeting the mobile application space. There, the majority\nof users are only willing to pay a nominal cost to get their app. Raise your\nprice above a dollar or two, and you're sunk.\n\n"} {"text": "\n\nBirds found using human musical scales for the first time - mhb\nhttp://news.sciencemag.org/biology/2014/11/birds-found-using-human-musical-scales-first-time?utm_content=bufferc81d2&utm_medium=social&utm_source=twitter.com&utm_campaign=buffer\n\n======\nbradleysmith\nvery cool!\n\noriginal source doc:\n[http://www.pnas.org/content/early/2014/10/29/1406023111](http://www.pnas.org/content/early/2014/10/29/1406023111)\n\n"} {"text": "\n\nShow HN: Fot\u014dko \u2013 Your perfectly-ish organized photo library - maham_tayyab\nhttp://www.fotoko.com/\n\n======\nmaham_tayyab\nHi, I am one of the members of Fot\u014dko's development team. I would love to hear\nfeedback from you on our product.\n\nFot\u014dko automatically organises and safeguards your entire photo and video\nlibrary in the cloud making it easy to search, browse, and share from any\ndevice. Fot\u014dko uses your Google Drive (One Drive and Dropbox coming soon) for\ncloud storage so you have ownership of your photos.\n\nMoving forward we wish to integrate more cloud storage options such as One\nDrive and Drop Box so that users can fully exploit the free storage tier on\nvarious storage platforms while being able to browse, share or search their\nphotos from any device irrespective of where they are stored. We are also\nworking on OCR and face recognition features to allow better organisation and\nsearch. We would love to hear what you think about the product and what you\nwould like to see in a product like this.\n\n------\nrohaan\nHow Fot\u014dko is different from Picasa?\n\n------\nbabarRehman\nHow many devices I can sync at once?\n\n~~~\nmaham_tayyab\nYou can sync as many devices as you like. Simply connect your Google Drive\nwith Fot\u014dko app on your iPhone. All the photos in your Camera Roll will be\nuploaded to your Google Drive. The photos that are present in your Google\nDrive will be synced with the photo library as well. Moreover, you can also\nupload large folders of photos and videos in your Mac book with our OS X app.\n\n------\nrohaan\ncomment from rohaan ishfaq\n\n"} {"text": "\n\nAsk HN: For help: Gmail is filtering our URLs - e79\n\nThe gmail.com client normally renders the hyperlinks in our outgoing email just fine. Yesterday morning, this suddenly stopped happening and users were sent links that could not be clicked in their transactional emails from us. I was able to reproduce it by simply including our domain name in an e-mail, which leads me to believe e-mails are being filtered for our domain name specifically. I've reproduced this across multiple Gmail accounts of ours, and all hyperlinking is always fine right until I include our domain name anywhere in an e-mail. Viewing page source shows that gmail.com is employing some HTML to break our URL up so it doesn't turn into a valid hyperlink.

I suspect this is some sort of anti-spam measure. Has anybody else experienced this? I am asking Hacker News for help because there doesn't appear to be any way to get in contact with Google regarding gmail problems. We've already employed everything in their FAQs about avoiding their spam filters. We use DKIM and have a healthy standing with all email blacklists. I'm really not sure what other options we have left.\n======\ntherealmarv\nI've found out what is reason for this! It only affects text mails: Gmail is\nanalyzing the links in text mails and when it is adult content it refuses to\nmake them clickable! For me this is censorship. I'm an adult and I can decide\nmyself what I want to see and what not. I do not want Google to filter out\nadult links (categorize them!) and make them not clickable!\n\nSolution: Make HTML Emails\n\n~~~\ne79\nFrom something I posted on our site:\n\nFrom my experience, unless a change in a Google product degrades functionality\nfor a large portion of end users they aren't going to publicly acknowledge it.\nThey don't seem to have the same policies regarding transparency that other\ncompanies like FetLife do (we acknowledge when we mess up and break stuff!).\n\nWhen ReCAPTCHA went down last year I looked and could not find any\nacknowledgement of the issue from a Google employee. This was while FetLife\nand other large websites tweeted about it and posted in Google's product\nforum. All we had to go with was speculation and helping each other out with\nrecommendations for temporary solutions.\n\nLikewise, this change in Gmail may never be officially acknowledged. It may be\nrelated to the arrival of Google's new Inbox product or it may be related to\nsome sort of spam filtering they deployed into production. It doesn't appear\nto be specific to adult websites. Other large community websites are affected\ntoo. The result is that affected websites using plain text emails are now\nforced to switch over to HTML-based email. I could see a conspiracy theory in\nthere about Google pushing HTML-based email for a nicer looking Gmail/Inbox\nexperience. No matter what, I think it's very unlikely we'll ever know what\nchange caused this or why.\n\n------\ne79\nSomeone e-mailed me to let me know that a discussion forum they post on has\nrun into the same issue. Seems like we are not the only one...\n\n------\ndangrossman\nUse a link shortener (perhaps buy a domain of your own for it) to avoid\nlinking to your domain?\n\n~~~\nSomeone1234\nLink shorteners are pretty heavily penalised in email since spammers use the\nsame trick to bypass the same filters.\n\n------\nChristianBundy\nIs your domain name fetlife.com?\n\n~~~\ne79\nYes. (Site is NSFW, by the way)\n\n"} {"text": "\nAsk HN: Are we overcomplicating software development? - ian0\nI have recently been involved in the overhaul of an established business with poor output into a functioning early/mid stage startup (long story). We are back on track but, honestly, my lessons learned fly in the face of a lot of currently accepted wisdom:

1) Choose languages that developers are familiar with, not the best tool for the job

2) Avoid microservices where possible, the operational cost considering devops is just immense

3) Advanced reliability / redundancy even in critical systems ironically seems to causes more downtime than it prevents due to the introduction of complexity to dev & devops.

4) Continuous integration seems to be a plaster on the problem of complex devops introduced by microservices.

5) Agile "methodology" when used as anything but a tool to solve specific, discrete, communications issues is really problematic

I think overall we seem to be over-complicating software development. We look to architecture and process for flexibility when in reality its acting as a crutch for lack of communication and proper analysis of how we should be architecting the actual software.

Is it just me?\n======\nSatvikBeri\nMany of these practices are popularized by Google/Facebook/Amazon but don't\nmake sense for a company with 100 or even 1,000 people. I try to focus on\nwhether a practice will solve a concrete problem we're facing.\n\nSwitching from Hadoop to Spark was clearly a good idea for our team, even\nthough it required learning a new stack, but there isn't a strong reason to\nswitch to Flink or start using Haskell.\n\nAgile makes sense when your main risk is fine-grained details of user\nrequirements, but not when you have other substantial risks, such as making\nsure a statistical algorithm is accurate enough.\n\nMicroservices probably reduces the asymptotic cost of scaling but add a huge\nconstant factor.\n\nRelational databases are the right choice 95% of the time, non-relational\nstores require a really specific use case.\n\nTDD is good for fast feedback in some domains, but for others, manually\ninvestigating the output or putting your logic into types is better. E.g. a\nlot of my time comes from scaling jobs that work on 10gb of data but crash on\n1tb, TDD is not that helpful here.\n\nContinuous integration mostly makes sense when you're making a lot of small\nchanges and can reliably expect a test suite to catch issues.\n\nIn short, ask the question \"when is practice X useful?\" instead of \"is\npractice X a good idea?\"\n\n~~~\nkosinus\nOne thing that bothers me is the 'relational databases are good enough'\nstatement, that is repeated in other contexts as well.\n\nBut especially here, where we're talking about reducing complexity, it feels\noff to me. PostgreSQL and MySQL seem to me like incredibly complex packages.\nSQL, the language, is not easy to master either; most programmers I meet know\nmostly basics. On top of that, there's a long ongoing history of security\nmalpractice.\n\nWhen talking about reducing complexity, CouchDB and Redis are far easier\nalternatives, in my humble opinion, though they go slightly against 'use the\ntools developers know'.\n\n~~~\npg314\nThe implementation of PostgreSQL is complex, no doubt about that. But if you\nneed strong data consistency and durability guarantees, it provides a rock-\nsolid foundation.\n\nSQL might take some getting used, but it is also not rocket science. It\nshouldn't take more than a week's study to master the basics. There is of\ncourse a lot of awful SQL code out there, exactly because most programmers\ndon't even know the basics. You can do incredibly powerful things in it that\nwould take 10x the code in an OO/procedural language. In my opinion dumping an\nORM on top is also not the best way to leverage the strengths of an RDBM.\n\nIt is slightly ironic that you bring up security malpractice in the context of\nPostgreSQL, when in the next sentence you advocate Redis as a far easier\nalternative. As was recently in the news the Redis defaults were for a long\ntime insecure (google for Fairware ransomware).\n\n~~~\nTeMPOraL\n> _In my opinion dumping an ORM on top is also not the best way to leverage\n> the strengths of an RDBM._\n\nI agree. Unfortunately, the way I see people usually using them is pretty bad\n- you should not let ORM-generated stuff dictate your business model. Database\nis a database. A storage layer. Business objects will _not_ map 1:1 to ORM\nobjects. Approaches like \"let's inherit from ORM class and add business-\nrelated methods\", in my experience, lead to total disaster. One has to respect\nthe boundary between storage layer and business model layer.\n\n~~~\nicebraining\nI'm aware of the different approaches (mostly from reading Fowler's PoEAA),\nbut currently we use an Active Record-style ORM with a few extra features\n(like Class Table Inheritance) and we haven't found any major issues with this\napproach. What was the worst case scenario you experienced with the 1:1\napproach?\n\n~~~\nTeMPOraL\nOver the past 5 years I've been in two projects using 1:1 ORM Active Record ==\nbusiness model base approach. One completely failed in part because of this,\nsecond is barely manageable, but I managed to save it by moving business code\nmostly to the outside of Active Record classes.\n\nThe problem I encountered in those projects is the mismatch between storage\nmental model and business mental model, which lead to explosion of crappy code\n(AKA technical debt). In particular:\n\n1\\. the classes I need for business model _may_ have initially mapped well to\ndatabase tables, but over time they stop; business logic and model changes\nmuch faster than you'd like your DB schema to\n\n2\\. since many things in AR can fire SQL queries, you have to keep in mind the\nworkings of your database when doing almost every operation on your model;\nit's an abstraction leak\n\n3\\. code shooting off SQL queries is randomly called from all over your\ncodebase; it's harder to keep track of it and, if needed, optimize those\nqueries\n\nI like AR as a convenient API to get data from/to database, but given the\npoint 1., I eventually learned to isolate AR layer as something _below_\nbusiness model layer, so that the pattern is that business model is explicitly\nserialized and deserialized from database, instead of the database being\ncoupled with the logic of your program.\n\nNow I vaguely recall complaining about this before on HN and getting my ass\nhanded back to me by someone who pointed out that these are all ORM n00b\nmistakes. I wish I could find that comment (pretty sure I noted the link down\nsomewhere). Yeah, I admit - in those two projects I mentioned, we were all ORM\nnoobs. So we've learned those lessons the hard way.\n\n------\nPaulHoule\nContinuous integration is a good thing. Back in the bad old days you'd have\nthree people working on parts of the system for 6 months and plan to snap them\ntogether in 2 weeks and it would take more like another 6 months.\n\nAgile methods are also useful. If you can't plan 2 weeks of work you can\nprobably not plan 6 months.\n\nWhen agile methods harden into branded processes and where there is no\nconsensus on the ground rules by the team it gets painful. The underlying\nproblem is often a lack of trust and respect. In an agile situation people\nwill stick to rigid rules (never extend the sprint, we do all our planning in\n4 hours, etc.) because they feel they'll lose what little control they have\notherwise. In a non-agile situation people can often avoid each other for\nmonths and have the situation go south suddenly. In agile you wind up with\nlots of painful meetings instead.\n\nAlso I think it is rare for one language to really be \"best for a job\". If you\nwant to write the back end of a run of the mill webapp, you can do a great job\nof that in any mainstream language you are comfortable in.\n\n~~~\nreacharavindh\n> Agile methods are also useful. If you can't plan 2 weeks of work you can\n> probably not plan 6 months.\n\nHmmm. I was just thinking the opposite yesterday. I'm a performance engineer\nworking closely with two teams. One doing Agile and the other basing on wikis\nand Adhoc in-person whiteboard discussions. I find the non agile team more\nproductive, efficient and dare I say happy. The Agile based team makes me sit\nin on their daily scrum meetings. Although every one uses it to sync up on\ntheir dependancies, it just drags for an hour almost every day. I can visibly\ntell the devs walking out of the room spend more time worrying about\n\"velocity\" and \"organisation of work\" than the money making work that needs to\nbe done. It almost feels like the agile process gives them \"one more job\" of\npicking the doable things from the list of stuff that needs to be done so they\nlook better than their peers with better velocity.\n\nSimply put, I was thinking if Agile is just not a good method when you can\nstrive for good leadership and a healthy collaboration among individuals of\nthe team?\n\n~~~\niainmerrick\n_One doing Agile and the other basing on wikis and Adhoc in-person whiteboard\ndiscussions._\n\nThe ad-hoc approach also sounds quite agile (at least with a small 'a'). It's\ncertainly closer to Agile than to Waterfall, assuming they didn't do a big\ndesign up front before writing any code.\n\nI think the ad-hoc agile approach can work very well with a good team. But\nScrum fans always seem to warn against cherry-picking just the bits of Scrum\nyou like and not using the whole process.\n\n~~~\nbtilly\n_But Scrum fans always seem to warn against cherry-picking just the bits of\nScrum you like and not using the whole process._\n\nBut of course. If you just cherry-pick and experiment, then you won't have any\nreason to pay an expensive expert to tell you how to do it right!\n\n------\nBjoernKW\nNo, it's not just you and yes, we often do overcomplicate software\ndevelopment.\n\nIt's been that way long before agile methodology or microservices though.\nComplexity-for-the-sake-of-complexity EverthingHasToBeAnAbstractClass\nframeworks have been plaguing the software development business since at least\nthe 1990s and I'm sure there are similar stories from the 80s and 70s.\n\nIt's hard to find a one-size-fits-all easy method for not falling into that\nover-engineering / over-management trap. I try to focus on simple principles\nto identify needless complexity:\n\n\\- There is no silver bullet (see \"microservices\"): If the same design pattern\nis used to solve each and every problem there probably is something amiss.\n\n\\- Less code is better.\n\n\\- Favour disposable code over reusable code: Avoid the trap of premature\noptimisation, both in terms of performance and in terms of software\narchitecture. Also known as \"You aren't gonna need it\".\n\n\\- Code means communication: By writing code you\u2019re entering a conversation\nwith other developers, including your future self. If code isn't easily\ncomprehensible again there's likely something wrong.\n\n~~~\ncookiecaper\nI think the tendency to over-engineer is a symptom of retrofitting an\nassembly-line 9-5 shift onto the creative process of writing code.\n\nYou sit a guy there 5 days a week for many years. He has to look busy, he has\nto do something with all of that time. He's not going to get paid if he writes\nthe code in the most simple, concise, and straightforward way possible and\nthen goes home until they're ready to make a new feature two weeks later. He\nhas to sit around and make up something for himself to do.\n\nContrast with side projects. I have many simple weekend projects that continue\nto work well and provide their promised utility years later. Because you just\nwrite what you need and stop, you don't get sucked into the disastrous\ncomplexity spiral that every company-internal software project ends up as.\n\nThe other factor here is that people need some signal to say \"I'm good at my\njob\" (because no one can actually tell). That signal has to go to colleagues,\nsuperiors, and peers outside the workplace. People therefore invent artificial\ncomplexity or take intentionally convoluted approaches so they can sound\nfancy. In the most extreme cases, this is a conscious decision designed to\nblock out \"competitors\" (colleagues). In many cases, it's a subconscious way\nto ego-stroke (and to mix in a little bit of variety per point one above).\n\nThis is especially true when a household brand like Google or Facebook pushes\nout some new esoteric thing; everyone wants to see themselves as a Google-or-\nFacebook-in-waiting and it makes it easy to pitch these things to the bosses,\nwhen the fact is that the kinds of things that work at large public companies\nlike Google are probably not going to work in small companies.\n\n~~~\nnathanaldensr\nThank you for shining a light on the psychological side of this discussion. I\nlike to highlight psychology when I have these discussions with peers because\ntoo often technical folks view the world through technology lenses instead of\nhuman ones.\n\n------\ncorysama\nOne of my fav tech talks ever (and I watch a lot of tech talks) is Alan Kay's\n\"Is it really 'complex'? Or, did we just make it 'complicated'?\" It addresses\nyour question directly, but at a very, very high level.\n\n[https://m.youtube.com/watch?v=ubaX1Smg6pY](https://m.youtube.com/watch?v=ubaX1Smg6pY)\n\nNote that the laptop he is presenting on is not running Linux/Windows/OSX and\nthat the presentation software he is using is not OoO/PowerPoint/Keynote.\nInstead, it is a custom productivity suite called \"Frank\" developed entirely\nby his team, running on a custom OS, all compiled using custom languages and\ncompilers. And, the total lines of code for everything, including the OS and\ncompilers, is under 100k LOC.\n\n~~~\nGnarfGnarf\nThat is absurd. You can't write an OS in 100KLOC.\n\n~~~\nsrpeck\nCheck out stats on the kOS/kparc project:\n[https://news.ycombinator.com/item?id=9316091](https://news.ycombinator.com/item?id=9316091)\n\nThere is also a more recent example of Arthur Whitney writing a C compiler in\n<250 lines of C. Remarkable how productive a programmer can be when he chooses\nnot to overcomplicate.\n\n~~~\nnickpsecurity\nEverything I saw in the link looks like K, not C. Do you have a link to the C\ncompiler done _in C language?_\n\n------\nmajewsky\n1) False dichotomy. Developer familiarity is one of the most important metrics\nfor choosing \"the best tool for the job\".\n\n2) Conway's Law applies in reverse here: If your organization consists of a\nlot of rather disjoint teams, then microservices can be quite beneficial\nbecause each team can deploy independently. If you're one cohesive team, there\nis not much benefit, only cost.\n\n3) Depends. If you have a well-designed distributed system, it can be\namazingly resilient and reliable without introducing much administrative\noverhead. (From my experience, OpenStack Swift is such a system. Parts may\nfail, but the system never fails.) There are two main problems with\ndistributed systems: a) Designing and implementing them correctly is really\nhard. b) Many people use distributed systems when a single VM would do just\nfine, and get all the pain without cashing out on the benefits. See also\n[http://idlewords.com/talks/website_obesity.htm#heavyclouds](http://idlewords.com/talks/website_obesity.htm#heavyclouds)\n\n4) Continuous integration was not meant to help with complexity. Its purpose\nis to reduce turn-around time for bugfixes and new features. If your release\nprocess is long and complicated, the increased number of releases will indeed\nbe painful for you. Our team sees value in \"bringing the pain forward\" in this\nway. Your team obviously puts emphasis on different issues, and that's okay.\n\n~~~\nUK-AL\nI find microservices can help in just keep everything small and focused. I\nknow you can do this with a monolith. But having a process boundary really\nenforces it.\n\n~~~\ncrdoconnor\nI find that the boundary creates operational headaches. A function call won't\ntime out, deliver a 502 error, have authentication/authorization issues,\nrequire load balancing, etc. etc.\n\nA REST API will.\n\nPlus, once you've debugged a problem that involves crossing 5 microservice\nboundaries you'll start to wonder if it was all worth it.\n\nMonolith is also a wrong (and somewhat derogatory) word to describe a non-\nmicroservice architecture. There's nothing monolithic about loosely coupled\ncode running on the same machine.\n\nI really think that microservices are a hack to deal with conway's law in\nlarge corporations. Operationally it's inefficient but it fixes a nexus of\ntechnical and political problems when the correct boundary is picked.\n\n~~~\nUK-AL\nExcept most applications are monolith. Monolith code can still be loosely\ncoupled. However it is harder.\n\n~~~\ncrdoconnor\nNo, not at all.\n\nThe only difference I noticed with respect to rube goldberg (what you call\n\"microservices\") systems and coupling is that tight coupling between\ncomponents of rube goldberg systems was much more painful: particularly\ndebugging across multiple service boundaries.\n\n------\nmhotchen\nMany of the programmers I have worked with actually love complexity, despite\ntrying to convince others (and most likely themselves) that they hate it.\n\nAdvice tends to be cherrypicked to suit an agenda they already have (with your\nexample on microservices, the vast amount of resources saying they're very\ndifficult, should be driven by a monolith first approach, and solve a specific\nset of problems is largely brushed under the rug).\n\nI think because our industry moves so fast there's a fear of becoming\nirrelevant. Ironically companies are so scared of not being able to employ\ndevelopers that they're also onboard with complicating their platform in the\nname of hiring and retention. I think this is down to the sad truth that most\ndeveloper roles offer very little challenge outside of learning a new stack.\n\n~~~\njamesmccann\n> I think this is down to the sad truth that most developer roles offer very\n> little challenge outside of learning a new stack.\n\nThis is a gem observation from this thread. In my own tech sphere the first\nthing developers are talking about with each other is the new x,y,z lib or\nframework they're using to accomplish something relatively banal. There's\nstill a lot of work out there that really boils down to basic CRUD and\nreporting at the end of the day, and developers naturally begin to invent\ncomplexities on top of that CRUD to make the work interesting and challenging.\nI'm absolutely guilty of this first hand.\n\nI've found personally it also doesn't help that past work on projects e.g.\nlarge Rails apps that were never architected well turn out to be such\nnightmares to work on. The memory of the end state of these projects lingers\nwith developers as they move onto the next piece of work, and they're inclined\nto say \"no that doesn't work\" and pick up shiny new-tech to do the old job\ninstead.\n\nAs a side analogy: most small business construction jobs, e.g. building a\ntimber frame house, don't involve the builders arriving on site and are\nstumped by the challenge of how to put up the framing for the bedroom walls -\nthere's also very little challenge in these projects, yet the reward is in the\ncompletion.\n\n~~~\nbrwr\n> There's still a lot of work out there that really boils down to basic CRUD\n> and reporting at the end of the day, and developers naturally begin to\n> invent complexities on top of that CRUD to make the work interesting and\n> challenging.\n\nI'd go so far as to say that _most_ work today (at least in startups) is\nbuilding CRUD apps. The technology has changed, but the work hasn't. Inside of\nbuilding CRUD apps in Rails, we now build them in React.\n\n------\nDanielBMarkham\nYou've thrown together a bunch of buzzwords and asked if we are over\ncomplicating things.\n\nBuzzwords can mean freaking anything. I've seen great Agile teams that don't\nlook anything like textbook Agile teams. Microservices can be a total\nclusterfuck unless you know what the hell you're doing -- and manage\ncomplexity. (Sound familiar?) CI/CD/DevOps can be anything from a lifesaver to\nthe end of all life in the known universe.\n\nSo yes, we are over complicating software development, but the way we do it\nisn't through slapping around a few marketing terms. The way we do it is not\nunderstanding what our jobs are. Instead, we pick up some term that somebody,\nsomewhere used and run with it.\n\nThen we confuse effort with value. Hey, if DevOps is good, the more we do\nDevOps, the better we'll be, right? Well -- no. If Agile is good, the more\nAgile stuff we do the better we'll be, right? Hell no. We love to deep dive in\nthe technical details. If there aren't any technical details, we'll add some!\n\nSoftware development is too complicated because individual developers veer off\nthe rails and make it too complicated. That's it. That's all there is to it.\nThrow a complex library at a good dev and they'll ask if we need the entire\nthing to only use 2 methods. Throw a complex library at a mediocre Dev and\nthey'll spend the next three weeks writing 15 KLOC creating the ultimate\nsystem for X, _which we don 't need right now and may never need_.\n\nIt has nothing to do with the buzzwords, the tech, or software development in\ngeneral. It's us.\n\n------\nsebringj\nIt never seems complicated when I am doing my own side work for some reason.\nThere are no design meetings, no hours tracking, no arguments on best\npractices, no scrum, no testing frameworks, dev ops, etc. I do use git and\nminimally create bash scripts to simplify repetitive tasks for deployment but\nits just a huge contrast to working in teams where something simple takes\nabout 50 times longer.\n\nI think keeping things as simple as possible and always going for that goal\nwill increase velocity overall. Everything should be subject to scrutiny for\npromoting productivity and open to modification or removal. I know there is a\nbalance where you have to increase complexity in a team environment but\nkeeping friction as low as possible in terms of process and intellectual\nweight couldn't hurt.\n\nThe most productive place I've seen so far is a huge athletic brand I worked\nfor where they kept teams at max 5 people in mini projects. This forced the\nidea of low overhead and kept the scale of management needed small. The worst\nplace I worked for in terms of unnecessary complexity is a well known host,\nalthough it is the best place to work in terms of people, hired offshore that\nhas a one-size fits all mentality and layered in as much shit as possible to\nslow down development to a mud crawl. I don't buy into process over\nproductivity.\n\n~~~\nashark\nOne of the things that helps when you're developing your own projects is that\nyou can single-handedly decide to ruthlessly cull parts of the project that\ntake lots of time but provide little value, and you (probably) have decent\ninsight into what those are. You're also probably not at a scale where doing\ncertain really crappy, slow parts of the job can pay off, so you can skip\nthose.\n\nDefault form elements with some basic, nice styling to fit your theme? Form\ndone in one hour. Special snowflake version of the same thing from the design\nteam, which has no idea what the platform can and cannot easily be made to do,\nbut the client is absolutely in love with? Two _days_ , a third party\ndependency or two, some extra environment-specific bugs to track down later,\nand generally increased fragility (so more time lost in the future). This has\nslowed you down now and increased the resources required for the project\nindefinitely. But the client looooooves it.\n\nSupport Android pre-5.0, at the cost of 20% more development time, a pile of\nextra bug reports, an uglier, harder-to-maintain codebase, and a much much\nlonger testing cycle, for a side project? _Hell_ no. Client says that will\ncost them $4 million/yr not to support those? Ugh. FINE.\n\nAnd so on, and so on.\n\n------\nmschaef\nContinuous Integration is (with a reasonable test suite) one of few elements\nof software development that I would consider almost essential for any long\nrunning project. It's just too useful to have continual feedback on the\nquality of the system under construction. (And this is before bringing in\nmicro-services or any other complicating architectural pattern.)\n\nWhere I might agree with you more are on points 3 and 4: 'Advanced\nreliability' and 'Microservices'. While I have no doubt that these are useful\nto solve specific problems, I think as a profession we tend to over-estimate\nthe need for these things and under-estimate the costs for having them. To me\nthis implies that there needs to be a very clear empirical case that they\nsupport a requirement that actually exists. I'd also make the argument that\nthe drive for microservices within an organization has to come from a person\nor team that has the wherewithal to commit resources over the long-term to\nactually make it happen and keep it maintained. (ie: probably not an\nindividual development team.)\n\n------\nrolodato\nI think the \"learn to code\" movement as well as overly-technical interviews\nfor developers are partly to blame for this. It's well-known that developers\nare tested on how to do something that's considered technically difficult,\nsuch as abstract CS problems or a complicated architecture, but they are\nrarely asked why certain tools, practices or architectures should or should\nnot be used. Comparative analyses to make objective recommendations between\ndifferent solution alternatives are also rare in my interviewing experience,\nbut they are one of the most valuable skill a competent software engineer\nshould have.\n\nI don't agree on point 4 though - CI can be something as basic as running a\nmonolith's tests on each commit, which makes sure that builds are reproducible\n(no more \"works on my machine\").\n\n------\nbluejekyll\nNo. You are correct. Honestly I think you can solve a lot of that by following\non from one of Deijkstra's core priniciples: Seperation of Concerns.\n\nWhen you practice good seperationof concerns, specific choice in different\nareas can be more easily fixed later. It requires having decent APIs and being\nthoughtful on the interaction of different components, but it helps immensely\nin the long run.\n\nMicroservices are one way to practice seperation of concerns, but it can also\nbe practiced in monolithic software as well, by having strong modular systems\n(different languages are stronger at this than others).\n\n------\nmarcosdumay\nWell, yes, we are overcomplicating it. Except on the parts we are\nundercomplicating... And I still couldn't find anybody that can reliably tell\nthose apart, but the first set is indeed much larger.\n\n1 - Do not pick a new language for an urgent project. Do look at them when you\nhave some leeway.\n\n2 - Yep.\n\n3 - There's something wrong with your ops. That happens often, and it is a\nbug, fix it.\n\n4 - If CI is making your ops more complex, ditch it. If less complex, keep it.\nIn doubt, choose the safest possible way to try the other approach, and look\nat the results.\n\n5 - Do not listen to consulting experts, only to technical experts. The agile\nmanifesto is a nice reading, read it, think about it, try to follow, but don't\ntry too hard. Ignore any of the more detailed methodologies.\n\n------\ndwc\nMuch of the problem in the things you mention is that those things are\nspecific solutions that have been confused with goals. I.e., \"we're supposed\nto build microservices\" is a horrible idea, as opposed to \"given this\nparticular situation a microservice is a great fit\".\n\nUnderstanding the _possible_ benefits and drawbacks of any solution is\nimportant. It's important in whether or not that solution is selected, but\nalso to make sure that the implementation actually delivers those benefits.\n\nIt's very common in our industry to use \"best practices\" without understanding\nthem, and therefore misapplying the solutions.\n\n~~~\ncookiecaper\nAs you've intimated, most people have a very superficial mental model.\n\nFacebook == respected tech brand == someone I should copy. The end.\n\nGuy I know uses Cassandra == developed by hot tech brand Facebook == cool by\nmental association with Facebook.\n\nGuy I know uses MSSQL or Oracle == developed by crusty old Evil Empire Company\nthat cool people don't want to work for == bad.\n\nConclusion: We must use \"big data\" so we can be like the cool people -- err,\nbecause we really have some big data.\n\nThis doesn't sound like the outcome we'd expect from technical people making\nthese decisions, but we can obviously see that it's what we're getting.\n\n------\nkekub\nI am working in huge non-IT company as a software developer. I guess that is\nwhat gives me a totally different point of view on your lessons:\n\n1) Without a unified technology stack and a common framework we would not be\nable to build and maintain our applications. We decided on C# as it works best\nfor us. Currently we are 5 developers. Not a single one of us has ever written\na line of C# code before entering the company - learning the language from\nground up enables us to pick up patterns that our colleagues who joined the\ncompany earlier found to be best practices.\n\n2) If you are not introducing a whole new stack with every micro service that\nyou develop the devops costs are quite low.\n\n3) I agree with you on that - I think redundancy always introduces more\ncomplexity. However there are systems that handle that job quite well (e.g.\nSQL Server). For application servers we use hot-spares and a load balancer\nthat only routes traffic to them, when the main servers are not reachable.\nThis works for us, as all our applications are low traffic applications.\n\n4) Continuous integration works brilliant for our unified stack. In the last\ntwo years we went down from 1d setup + 20min deploy to 10min setup + 20s\ndeploy.\n\n5) We use agile methodology whenever possible and it works like a charm.\nHowever we had a lot of learnings. Most recent example: Always have at least\none person from all your target groups in any meeting where you try to create\nuser-stories.\n\nPlanning our software architecture has been a key element in my teams success\nand I do not see a point where we are going to cut it.\n\n------\nbeat\n1\\. What problem are you optimizing for? \"The job\" encompasses code, but it\nalso encompasses staffing. It's a lot easier to hire Java developers than\nScala developers. In a leadership role, your responsibility isn't just the\nday-to-day code - it's the whole project.\n\n2\\. Microservices vs monoliths is a see-saw. You build a monolith, find it's a\nbrittle, incomprehensible hairball, and you break out microservices. You build\nmicroservices, find that operational headaches are killing you, and start\nconsolidating them into monoliths. Which kneecap do you want the bullet in?\n\n3\\. Fix what breaks.\n\n4\\. Continuous integration is _vital_. But it needs to be evolved along with\nthe system. There's this thing I say... \"Have computers do what computers do\nwell, have humans do what humans do well\". Handling complex and _repeatable_\nbehavior (i.e. builds and test suites) should absolutely be automated as much\nas possible. Think continuous integration sucks? Try handing it off to humans\nfor a while! You'll learn whole new levels of pain.\n\n5\\. All process is about (or should be about) specific, discrete\ncommunications issues.\n\n~~~\nmisha67\n> Which kneecap do you want the bullet in?\n\nFunniest thing I've heard all day!\n\n~~~\nbeat\nThat's the fun of working with me. I say funny shit!\n\nI occasionally refer to the final steps of a project as \"bayoneting the\nwounded\" too.\n\n------\nChuckMcM\nYes we are over complicating it, but that it primarily about trying to take\nwhat is essentially an artistic process and turning it into a regimented\nprocess (a known hard problem).\n\nRob Gingell at Sun stated it as a form of uncertainty principal. He said, \"You\ncan know what features are in a release or when the release will ship, but not\nboth.\" It captured the challenge of aspirational feature development where\nsomeone says \"we have to have feature X\" and so you send a bunch of smart\nengineers off to build it but there is no process by which you can start with\nan empty main function and build it step by step into feature X.\n\nThat said, it got worse when we separated the user interface from the product\n(browser / webserver). And you're rants about microservices and continuous\nintegration are really about releases, delivery, and QA. (the 'delivery time'\nof Gingell's law above).\n\nThese are complexities introduced by delivery capabilities that enable\ndifferent constructions. The story on HN a few days about about the JS\ngraphics library is a good example of that. Instead of linking against a\nlibrary on your computer to deliver your application with graphics, we have\nthe capability of attaching to a web service with a browser and assembling _on\ndemand_ the set of APIs and functions needed for that combination of client\nbrowser / OS. Its a great capability but to pull it off requires more moving\nparts.\n\n~~~\nakamaozu\nLink to the post about the graphics library please?\n\n~~~\nChuckMcM\n[https://news.ycombinator.com/item?id=13419665](https://news.ycombinator.com/item?id=13419665)\n\n------\nemeraldd\n\\- 1) Choose languages that developers are familiar with, not the best tool\nfor the job\n\n95% of the time, a language that your developers are familiar with is the\ncorrect tool for the job simply for that reason! There are cases where it is\nnot the case but those involve special case languages and special case\nsystems. If you don't know what special case means then you're situation is\nalmost certainly on that list.\n\n\\- 2) Avoid microservices where possible, the operational cost considering\ndevops is just immense\n\n\"If your data fits on one machine then you don't need hadoop ...\" Same thing\napplies here. Microservices have place and putting them in the wrong one will\nbite you bad.\n\n\\- 3) Advanced reliability / redundancy even in critical systems ironically\nseems to causes more downtime than it prevents due to the introduction of\ncomplexity to dev & devops.\n\nThen there's probably something wrong or limited with the deployment that\nneeds to be reviewed (2 node when you need a 3 node cluster, bad networking\nenvironments, etc.) If you have a reasonable setup with solid tech under it,\n_deployed per specs_ then this should not be true. If, on the other hand,\nsomething is out of whack (say running a 2 node cluster with Linux HA and only\na single communication path between them) you're going to have problems and\nthe only way to fix them is to get it done right.\n\n\\- 4) Continuous integration seems to be a plaster on the problem of complex\ndevops introduced by microservices.\n\nI'm not sure about this but, if your deployment system requires CI you have a\nproblem. An individual, given hardware and assets/code, should be able to spin\nup a complete system on a fresh box cleanly and in a reasonable timeframe.\n(Fresh data restores can take longer of course but the system should be\nrunnable barring that.) If this _requires_ (i.e. it can't reasonably be done\nmanually) something like an CI script or ansible/chef/etc. script then you're\ndeployment process is probably too complex and needs to be re-evaluated.\n\n\\- 5) Agile \"methodology\" when used as anything but a tool to solve specific,\ndiscrete, communications issues is really problematic\n\nAgile is commonly used to gloss over a complete lack of structured process or\na broken. Even with Agile there should be some clean process and design work\nthat goes into things or you're hosed.\n\n~~~\njondumbau\n4: if my stack requires a message broker to run, how is setting one up\nmanually supposed to be better to using the ansible scripts.\n\n------\nhd4\nFor me, the trinity of development as a solo developer seems to be:\n\n1\\. Writing code while using as many useful libraries and tools as possible to\navoid recreating wheels\n\n2\\. Continuous integration set up early on to handle the menial work and to\nlet me concentrate on 1.\n\n3\\. Constantly evaluating and researching what technology is available and\nnewly appearing to give me an edge, because having an edge is never a bad\nthing in this field.\n\nAgree with some of what OP said, especially with methodologies become\nhindrances and HA tools becoming points of failure.\n\n------\nrb808\nI've seen the addition of unit testing is a big cause of complexity.\nPreviously simple classes now have to be more abstracted in order to unit\ntest. Add mocks, testing classes & test frameworks. Some unit tests are handy,\nbut I dont think it justifies the additional complexity. For the apps I write\nI'd like to see more emphasis on automated integration testing and fewer unit\ntests - so we can write simple classes again.\n\n~~~\njulsonl\nIn my experience, it's usually not the existence of unit tests themselves\nthat's causing an issue, but that most of them are badly written. One telltale\nsign is when writing the unit test becomes overly painful (like too much code\nsetting up mocks), it usually means that your class is not simple enough or\nhas too many dependencies.\n\nProper unit testing also complements integration testing in that corner cases\ncan be handled at the unit test level, therefore reducing the amount of\nintegration test code which arguably is much more brittle, runs slower and\nmore complicated to write.\n\n~~~\njononor\nMany unit tests are just written to test code, which is at best irrelevant. At\nworst your codebase is 2-3x bigger and more abstract than it needs to, where\nuseless tests keep code alive and useless code keeps tests alive. Test\nfunctionality, as close to the promises given to outside consumers as is\nfeasible. Be it API or UI for other people/projects/services. This is the\nstuff that needs to work (and thus often need to be stable). No-one cares\nwhether a function deep down inside the code, used a part of the\nimplementation of promised functionality works. Delete it if you can.\n\nOnly case where I'd support \"unit tests\" as typically practiced (small units,\nisolated functions/classes) is around _core_ competence (defined as narrowly\nas possible). But then I'd argue that this functionality should be put into a\nlibrary anyways, which is used by products codebases. And then the tests are\ntests for the functionality promised to the products.\n\n~~~\njulsonl\nI'm not arguing against writing integration tests, they are as important if\nnot more important, as you've said. Maybe I've only seen badly written ones,\nbut my issue was against integration tests that check for example if this ever\nso important, but hidden, flag is being set properly after an API call when\nthat can be checked at the service level. Someone eventually decides that flag\nis unneeded, and a whole host of tests fail and someone has to dig several\nlevels deep to figure it out.\n\nI guess I shouldn't have used the word 'brittle', but this is what I was\nthinking of.\n\nAnd of course, I think unit testing anything and everything is absurd and not\na good use of developer time.\n\n~~~\nNomentatus\nI don't think you can avoid meta-debugging. That is, debugging your asserts or\ntests that you hoped would detect bugs instead of being the bug. Sometimes\nbecause more realistic tests unveil a bug, sometimes (as in your example)\nbecause underlying code functionality has changed. This is unavoidable but\nalso often enlightening. To my mind, it's even okay if most of your bugs are\nmeta - because these are usually very fast fixes, and it probably means you\nhave a lot of checks. But by the same token, I would agree with you that all\nsuch tests have to be well-written, not mailed in, for just the reasons you\ngive. It's too easy to assume that writing tests is somehow a fairly trivial\ntask. Until you end up debugging the test.\n\n------\njMyles\nMy first reaction to your (very thoughtful) review is that #4 seems out of\nplace.\n\nCI _can be_ a way of enforcing the simplicity of the others - it can be a way\nof tunneling the build process into assuredly straightforward steps and\npreventing individual team members from arbitrarily (or even accidentally)\nadding their own complications into build requirements.\n\nOther than that, I think you are definitely on to something here.\n\n------\nadamnemecek\nThere's this book that I've been mentioning around here called Elements of\nProgramming [https://www.amazon.com/Elements-Programming-Alexander-\nStepan...](https://www.amazon.com/Elements-Programming-Alexander-\nStepanov/dp/032163537X/ref=as_li_ss_tl?ie=UTF8&sa-no-\nredirect=1&linkCode=ll1&tag=akgg-20&linkId=66e61085fdce329bbcf6f12f2d180b57)\nthat makes exactly this claim, that we are writing too much code.\n\nIt proposes how to write C++-ish (it's an extremely minimal subset of C++\nproper) code in a mathematical way that makes all your code terse. In this\ntalk, Sean Parent, at that time working on Adobe Photoshop, estimated that the\nPS codebase could be reduced from 3,000,000 LOC to 30,000 LOC (=100x!!) if\nthey followed ideas from the book\n[https://www.youtube.com/watch?v=4moyKUHApq4&t=39m30s](https://www.youtube.com/watch?v=4moyKUHApq4&t=39m30s)\nAnother point of his is that the explosion of written code we are seeing isn't\nsustainable and that so much of this code is algorithms or data structures\nwith overlapping functionalities. As the codebases grow, and these\nfunctionalities diverge even further, pulling the reigns in on the chaos\nbecomes gradually impossible. Bjarne Stroustrup (aka the C++ OG) gave this\nbook five stars on Amazon (in what is his one and only Amazon product review\nlol).\n[https://smile.amazon.com/review/R1MG7U1LR7FK6/](https://smile.amazon.com/review/R1MG7U1LR7FK6/)\n\nThis style might become dominant because it's only really possible in modern\nsuccessors of C++ such as Swift or Rust that have both \"direct\" access to\nmemory and type classes/traits/protocols, not so much in C++ itself (unless\ndebugging C++ template errors is your thing).\n\n~~~\nGregBuchholz\nHave you looked in the STEPS program by Alan Kay? Trying to recreate modern\ncomputing setup from the OS up in 20k lines of code...\n\n[http://www.vpri.org/pdf/tr2012001_steps.pdf](http://www.vpri.org/pdf/tr2012001_steps.pdf)\n\n\"If computing is important -- for daily life, learning, business, national\ndefense, jobs, and more -- then qualitatively advancing computing is extremely\nimportant. Fro example, many software systems today are made from millions to\nhundreds of millions of lines of program code that is too large, complex and\nfragile to be improved, fixed, or integrated. (One hundred million lines of\ncode at 50 lines per page is 5000 books of 400 pages each! This is beyond\nhumane scale.)\n\nWhat if this could be made literally 1000 times smaller -- or more? And made\nmore powerful, clear, simple, and robust? This would bring one of the most\nimportant technologies of our time from a state that is almost out of human\nreach -- and dangerously close to being out of control -- back into human\nscale.\"\n\n...and of course if you haven't seen it, you'll want to check out the Forth\nguys who want to do everything with 1000 times less code:\n\n[http://www.ultratechnology.com/forth.htm](http://www.ultratechnology.com/forth.htm)\n\n~~~\nadamnemecek\nI'm aware of this but Alan Kay's work and this seem to be orthogonal. Alan Kay\ntalks about reducing real systems that have compilers, inputs etc whereas\nElements talks about like the day to day ways of writing code. Alan Kay might\ncome up with a new keyword whose semantics magically lets you cut out 30% but\nElements shows you that if you make your types behave certain way, generics\nwill let you cut out a lot of code.\n\n~~~\nbuzzybee\nI would counter that this appears to be a repeatedly emerging consensus,\nincluding Stepanov, Kay, Simonyi, and a number of other \"greats\", that an\napproach that involves some degree of metaprogramming, guided by domain\nproblem, is the way forward. They differ on terms - cooperating systems,\nmodel-driven, intentional, generic - and focus - whether to create new syntax,\nor to guide the creation of specific algorithms or data structures - but they\naren't debating the power of the approach.\n\n------\njosephv\nThe only way to have any sense of a good or solid development platform or\nlifecycle is, to me, to look at your specific situation and tailor everything\nto your deliverables and needs. Doing anything because of industry trends or\nacademic pontificating will lead you towards the solution someone else had\nsuccess with in a different circumstance.\n\nMicroservices work fine in some situations, agile works fine in some\nsituations, but until you find that you are in one of those situations trying\nto bend your deliverables to meet a sprint-cycle or some other nauseating\njargon will cause, as you put it, over-complication or just poorly targeted\neffort. (It can also cause enough stress to dramatically affect your health, I\nknow better than most)\n\nThose moments of solidarity between product and effort are real gems that I've\nonly recognized in hindsight.\n\n------\nsolarhess\nYou are right. Agile, languages, CI, devops are all tools not solutions to\nproblems. Blindly applied, they will not get the results promised.\n\nFirst focus on identifying the primary job to be done: build a valuable piece\nof software with as little effort as possible given your current team and\nexisting technology.\n\nSecond, consider how valuable the existing software is and whether it really\nneeds to be rewritten at all. Prefer a course that retains the most existing\nvalue. It is work you won't have to repeat.\n\nThird, choose tools that maximize the value produced per hour of your team.\nCI, Devops, Microservices, Languages all promise productivity and reliability\nbenefits but will incur complexity and time costs. Choosing the right mix is\npart of the art of software management.\n\n------\nmhluongo\nYou're right, though you should end most of your comments with \"for us\".\n\nWe've been burned by the microservice hype, and it took a while for us to\nrealize that most of the touted benefits are for larger organizations. These\n\"best practices\"\" rarely include organizational context.\n\n------\nharwoodleon\nFatal problems that hit start ups seem left-field, but they are baked into the\ndesign choices we make, often without discussion - because they seem part of\n\"current accepted wisdom\".\n\nMy major issue for startup software development is that often software is\ndeveloped too discretely - with a utopian 'final version' in mind. Developers\ndon't think holistically enough - they focus on details at the expense of\ndesign. \"current accepted wisdom\" is intangible, ever shifting, whereas the\nfailure of a system is very real and can lead to loss of income etc...\n\nLots of start up companies don't design systems with humans in them, they\nwrite code as if it was a standalone thing - they often leave out the human\nbits because they are hard to evaluate, measure and control - variety of\nskill, ideas, approaches, mistakes, quality of life etc.\n\nIn my experience, this variety (life) often comes back to bite companies that\ncan't handle eventual variance because of poor system design - not because of\na choice of platform / provider / software etc.\n\nI have been reading a lot around the viable system model (VSM) for organising\nprojects. It seems to fit with what my view on this is. I am trying to\nimplement a project using this model currently.\n\n[https://en.wikipedia.org/wiki/Viable_system_model](https://en.wikipedia.org/wiki/Viable_system_model)\n\n------\nnojvek\nAs everyone is saying: do what is reasonable and useful.\n\nE.g let's make an online shop.\n\nIt has browsing, purchasing and admin sections.\n\nBrowsing is simple. Query dB and show html. It's probably the most used as\nwell and needs to be reliable. Having as different service means admin section\ncould break while users are still able to browse. Same for payments. Sometimes\nit's crazy complicated. I think of microservices as big product feature\nboundaries that can work independently. A failure in one doesn't affect the\nother.\n\nContinuous integration: once you have your tests, and some auto deploy\nscripts, you have an engine. You push code, tests auto run, a live staging is\ncreated for latest code, you play with it. Looks good? Merge with Master. It's\ndeployed to production. The idea is deployment is effortless and you can do it\nmultiple times a day just like git push. Tests just don't only have to be\nunit. We run integration testing features on dummy accounts periodically from\ndifferent regions in the world on production. This means you are alerted as\nsoon as something breaks. Fast deployment and great telemetry mean you can\nalways revert to last known good state easily.\n\nInvesting in tests is a pain but it pays off in the long run. Especially if\nyou have other developers working on same code base.\n\nJust don't over do it. I believe these ideas came from pain developers\nactually faced and they used then to solve it. If you're not feeling the pain\nor won't feel it then you don't need the remedy.\n\n------\nTheAceOfHearts\nI think in many cases complexity just comes from lack of experience and poorly\nunderstood requirements.\n\nI've had my fair share of cases where I ended up implementing something\nneedlessly complicated, only to later realize my approach was terribly\nmisguided. I'd like to think I'm slowly improving on this as time goes on.\n\nThe software world has a big discoverability problem. Even though I know\nthere's probably prior art of what I'm working on, I don't always know where\nto look for it.\n\n~~~\nmisha67\nHonesty.\n\n------\nQuantumRoar\nI think you wanted to say: \"Are we simplifying things in software\ndevelopment?\" All of the points you have made are actually simplifications of\nwhat might be the optimal solution.\n\nImagine the solution space as some multidimensional space where there is\nsomewhere an optimal solution. The dimensions include the habits of your\nprogrammers, the problem you are trying to solve, and the phase of the moon.\nMicroservices, a special form of redundancy, continuous integration, agile\ndevelopment are all extreme solutions to specific problems. Solutions which\nare extreme in that they are somewhere in the corner of your multidimensional\nsolution space.\n\nThey are popular because they are radical in the way they conceptualize the\nshape of the problem and attempt to solve it. Therefore they seem like optimal\nsolutions at first glance when really they only apply really well to specific\ntoy models.\n\nTake e.g. microservices. Yes, it's really nice if you can split up your big\nproblem into small problems and define nice and clean interfaces. But it\nbecomes a liability if you need too much communication between the services,\nup until the point where you merge your microservices back together in order\nto take advantage of using shared memory.\n\nDon't believe any claims that there is a categorically better way to do\neverything. Most often, when you see an article about something like that, it\nis \"proved\" by showing it solves a toy model very well. But actual problems\nare rarely like toy models. Therefore the optimal solution to an actual\nproblem is never a definite answer from one of the \"simplified corner case\nscenarios\" but it is actually just as complex as the problem you are trying to\nsolve.\n\n------\nsolipsism\n1) No way. Absolutely not. Not if what you're building is intended to last.\nAny language/ecosystem you choose has costs and benefits. You will continue to\npay the costs (and reap the benefits) long after your developers could have\nbecome fluent in a language.\n\nCertainly the language your developers already know is better than one they\ndon't, all things being equal. But your rule is way too simplistic.\n\n2) Of course. Avoid every complex thing where possible.\n\n3) This means the cost/benefit ratio was not considered closely enough when\nplanning these features. Again, avoid every complex thing where possible.\n\n4) this is a strange one. Most people doing CI are not building microservices.\nCI is really more about whether you have different, independently moving\npieces that need to by integrated. Could be microservices, could be libraries,\ncould be hardware vs software. If you only have a single active branch\neveryone's merging into regularly, you're doing CI implicitly. You just might\nnot need it automated.\n\n5) take what you can from the wisdom of agile, and then use your own brain to\nthink. And don't confuse agile with scrum.\n\n------\nbiztos\n1) Sounds like there's a lot more to the story.\n\n \n \n * Was the \"best tool\" what the devs thought it was?\n \n * Was it something they would hate using? Say, Java for Perl devs?\n \n * Was there a steep learning curve? An obscure language?\n \n\n2) How big is the system? How complex is the business? How ops-friendly are\nthe devs to start with?\n\n3) You (or someone) must know how much system failure would cost.\n\n4) CI can help with your devops, but its main point is to help with your\nsoftware quality. See #2.\n\n5) Totally agree, though you can also try being agile about \"Agile\" and taking\njust whatever parts work for you.\n\nMy $0.02 anyway.\n\n(Aside: years ago I worked on a team doing ad-hoc semi-agile, which worked\npretty well. I'm 99% sure I could have double our output and launched a\nmanagement-consulting career if I could have credibly held the threat of Real\nCorporate Agile Scrum over their heads. But that was before the flood. One of\nthem works for Atlassian now, ironically enough.)\n\n------\nmsluyter\nThough perhaps it's considered a component of 2), one could add\nDocker/containerization. I've watched folks spend weeks and weeks getting\nDocker setup for a service that probably didn't need to be containerized at\nall. And then once it's Dockerized, introspection/debugging/etc... seem to\nbecome much more difficult.\n\n~~~\nadictator\nAnd what sort of services were those that didn't need to be containerized?\n\n------\nsydd\nI agree with you, but not fully.\n\n1) Well, this is only a case if the project is short enough that its not worth\nswitching. Learning a new tech for a team takes months, only switch if the\nproject is taking years.\n\n2) Again, only use them for bigger (>2 years lifecycle) projects\n\n3) Depends on what you need. We build a full stack apps with around 99.95%\nuptime (a few hours of downtime/year) in around 3 months of architecture dev\ntime, this was good enough for us. Getting more would have hugely increased\ndev time, but this number was good enough for us.\n\n4) Disagree. You can build simple CI pipelines in a matter of weeks, which\nwill pay for themselves in a few months thanks to better uptimes, happier\nemployees, shorter release times. Again its only needed if your project lasts\nfor more than a year.\n\n5) Disagree. Agile is very good, if someone knows it well (takes a few days to\nlearn). Its not needed for very small teams (<6 people), they can self-manage.\n\nBut I think there are problems:\n\n\\- People getting hyped about the latest trendy stuff. Use bleeding edge/new\ntech for hobby projects not for money making.\n\n\\- Do not switch technologies unless really needed, dont fall for the hyped\nlibrary of the week.\n\n\\- Do not use a dynamic language for any project that will have more than 5K\nLOC in its lifetime.\n\n\\- Do not overengineer. For example if the code is clean, works, but has that\nugly singleton pattern its OK. Dont introduce the latest fancy IOC framework,\njust because you read it in the clean code book that its better.\n\n\\- Unit test are overhyped. Use them for critical components on the server,\nand thats it. IMO the hype about them is because dynamic languages scale so\nbadly that you need test otherwise you're fucked. Rather choose a well proven\nstatically typed language, a good IDE, and take code reviews seriously.\n\n------\nyawz\n\"Perfection is Achieved Not When There Is Nothing More to Add, But When There\nIs Nothing Left to Take Away\" \\- Antoine de Saint-Exupery\n\nIMHO, it takes technical and personal maturity to come to the conclusion\nabove. Good architecture (or software or dev process or anything) should only\nhave/contain the simplest things that are necessary.\n\n------\noutworlder\n> Avoid microservices where possible, the operational cost considering devops\n> is just immense\n\nIs it, though? There's more complexity due to more moving parts, sure. But\nbeing able to solve issues by just issuing a \"scale\" kubernetes command in the\nCLI is priceless. As is killing pods with no drama.\n\nHowever, what are we talking about here? Small business ecommerce? Your\nmonolithic app is probably going to work just fine.\n\n> Advanced reliability / redundancy even in critical systems ironically seems\n> to causes more downtime than it prevents due to the introduction of\n> complexity to dev & devops.\n\nSystems can and will fail. If you can eat the downtime, by all means forget\nabout that.\n\n> Continuous integration seems to be a plaster on the problem of complex\n> devops introduced by microservices.\n\nCould you stop singling-out microservices? We have deployed continuous\nintegration with old school rails apps before and it was extremely valuable.\n\nAgree about agile.\n\n~~~\ncookiecaper\n>Is it, though? There's more complexity due to more moving parts, sure. But\nbeing able to solve issues by just issuing a \"scale\" kubernetes command in the\nCLI is priceless. As is killing pods with no drama.\n\nOn the contrary, getting to the place where you can issue commands over k8s on\na project not specifically designed for it has a very real and very\nsignificant cost. Companies are killing themselves trying to do this for no\ngood reason.\n\nNeed a new node? Fire up whatever it is that you fire up: Ansible, Chef, AMI,\nbundle of custom bash scripts, whatever. No need for the _massive_ complexity\nof k8s.\n\nSpecifically, what benefits are you seeing from k8s (i.e., what unique utility\ndoes the \"scale\" or \"delete pod\" command bring that is not reasonably resolved\nby less complex solutions)? It's just causing me a lot of frustration right\nnow. I can see Google's need for it. Not having much luck seeing its use in\nnon-Google-scale businesses.\n\nIf you're doing a from-scratch thing that you can architect around k8s and\nthink that's more convenient than more traditional approaches and can accept\nits currently-quite-serious limitations, that's whatever. If you're talking\nabout some tangible objective benefit that most companies need to be able to\nenjoy here, please do elaborate.\n\n------\napeace\nI think #5 is the most problematic here, and was stated perfectly.\n\nOne method I have used successfully is sending surveys to people outside\nengineering. Send it to department heads and anyone else who seems interested\nin what engineering does. Ask them if they feel engineering is transparent,\nand whether they feel important bugs/features get followed up on. Let the\nresponses guide you, and make the minimal process changes you need to in order\nto satisfy people's real concerns.\n\nOne other piece of advice: if certain people seem obsessed with process, it's\npossible they are poisonous to your whole organization and should be let go.\nSome people want process to be there to give them work (e.g. \"managing the\nbacklog\" or \"writing stories\"), instead of doing actual work like programming\nor product research.\n\n------\nconradfr\nAs someone working at a Scrum company transitioning from PHP \"monoliths\" to\nDDD microservices shielded by nodejs gateways and apis and even CQRS/ES on the\nhorizon I will answer yes.\n\nBut I guess that'll look cool in our resumes.\n\nI must say sometimes I envy our mobile developers that are a bit immune from\nall that.\n\n------\nfeyn\nToo much to say, so I did a blog post:\n[https://neilonsoftware.com/2017/01/18/my-response-to-are-\nwe-...](https://neilonsoftware.com/2017/01/18/my-response-to-are-we-over-\ncomplicating-software-development/)\n\n------\nalex_hitchins\nI agree with most of your comments. I think as a fairly new profession we are\nstill finding our feet when it comes to best practices. I don't think there is\none system that will work across the board for all trades. I mean I would\nthink it took longer than 30-40 years to work out the best way to plumb, wire\na house etc.\n\nSometimes when estimating work, I think how long would the same project take\nto build 5, 10, 15 years ago. It's not often that time spent coding today is\nany quicker than before.\n\nArguably we get better quality software now with unit tests, better compilers\nand better tooling. Perhaps I've just got some massive rose tinted glasses\non!.\n\n------\nhacker_9\nAll problems revolve around structure, and as customers want more features,\nand capital builds, the structures get more complex. So we build even more\ncomplex structures to offset the complexity, but now things that were once\nsimple get brought along and become more complex. Eventually the company hits\na breaking point and re-invents it's structures to better suit their needs,\nbut these grow in complexity once again given time. It is a never ending\nbattle, and every business is at a different point in their complexity cycle.\n\n------\ncontingencies\nChoose languages _and_ frameworks that developers are familiar with.\n\nMicroservices are fine if you can rely on shared CI/CD infrastructure and\nautomate execution properly, maintaining rapid build/test cycle times. They\nstart to suck if people aren't familiar and everyone's laptop has to hold\ntheir own parallel multi-topology service prom regression test (^releases)\nevery time you change a line of code... developer focus, flow and efficacy\nwill be reduced.\n\nI agree that redundant HA systems are usually not required. In the past it was\nexpensive to get. However, tooling is now so good that with reasonable\ndevelopers and reasonable infrastructure design, you can get it very, very\ncheaply if your services are packaged reasonably (CD-capable) with basically\nsane architecture and your infrastructure is halfway modern. This truly is\nexcellent, because gone are the 1990s of everyone-relies-on-grizzled-sysadmin-\nand-two-overpriced-boxes-with-failover.\n\nI don't think CI is a plaster, it is a great way to work, but like any tool or\nworkflow is not appropriate in all situations.\n\nWe do over-complicate. Methodologies are too meta: programmers are already\noperating at max concurrent levels of abstraction. Better to incrementally\nadjust workflow (CI/CD on the workflow for the CI/CD of the workflow!). That's\nnot to say that there's no value to some people thinking at this level some of\nthe time, but Yoda told me \"desk with agile literature much, sign of untidy\nmind be\". I think he was right.\n\n------\nAzkar\nI feel like all of this just comes back to judgement calls. You can't pick\ntechnologies in a vacuum, and you can't generalize technology choices.\n\nIt's not very fair to make these claims without knowing all of the details\naround the situation. Microservices CAN be a pain, but it might offset a\ngreater pain of trying to coordinate a monolithic deployment. It depends on\nthings like team size, budget, and technology available to you.\n\nThis is where I see the disconnect between employers and most developers.\n\"Programming\" isn't a job. Your employer doesn't pay you to write code. They\npay you to solve problems. The good employers don't care what tools you use to\nsolve the problem, just that you solved it. The bad employers will force you\nto use technologies and buzzwords that probably don't apply to your situation.\nYou should be able to defend all of your decisions and have good reasons for\nthem.\n\nOn the flip side, not everything you try will work - that doesn't mean that\nit's a bad option, just that it didn't work for your situation. You don't need\nto have a redundant low-priority memo system because you don't get enough\nvalue out of it to justify the overhead of maintaining it.\n\n------\npeterwwillis\nI think you confused trends for wisdom.\n\nIt used to be wise to wear bell bottom jeans and perm your hair. It also used\nto be wise to wear colored suspenders, or pocket protectors. And shoes with\nlights in them, and color changing shirts.\n\nGranted, those same weird misguided trends were probably followed by the same\npeople who accomplished everything we have today. I think it's the effort you\nput into the work that determines its output, not the details of its\ndevelopment.\n\n------\nlolive\nPoint 5 is really insightful. When you read it carefully, it implies that\nagile \"methodology\" will soon become the prevalent methodology. Because a\nsuccessful project is all about managing a massive amount of \"specific,\ndiscrete, communications issues\". And doing so on a daily basis is the best\noption.\n\nOff-topic note: point 5 is also the way to go with your\nwife/husband/girlfriend/boyfriend, your kids, your friends, etc.\n\n~~~\njs8\nInteresting idea. I think dinner is the best place for an evening family SCRUM\nmeeting.\n\n~~~\nlolive\nSCRUM meetings with cheese and wine. THIS - IS - BRI-LLI-ANT !!!\n\n------\ncthulhuology\nHonestly, it is probably just you (and your peers).\n\nQuite frankly chances are the team you have sucks at operations, lacks the\nnecessary experience to design complex systems, and probably doesn't do the\nfundamental engineering to make a reliable software product.\n\n1 - false dichotomy, the best tool is one you have mastered, your team has\nindividuals with 20+ years of development experience on it right? (Probably\nnot)\n\n2 - micro services are supposed to have small areas of concern and small\nfunctional domains to minimize operational complexity. Your services are\nprograms that fit on a couple screens right? (Doesn't sound like it)\n\n3 - redundancy's goal is to remove single points of failure, you should be\nable to kill any process and the system keeps working. (The word critical\nsuggests you have spfs)\n\n4 - CI is a dev tool to avoid merge hell by always be merging. CI is often\nused by orgs with massive monoliths because of the cost of testing small\nchanges, and too many cook trying to share a pot. Ultimately if you don't have\nwell defined interfaces ci won't save you. (You had well defined published\ninterfaces with versions right?)\n\n5 - agile is a marketing term for consulting services to teach large orgs how\nto act like small effective teams of experts. (Hint you need a team of self-\ndirected experts with a common vision and freedom to execute it, you got that\nright?)\n\nMost problems in tech are related to pop culture. Because we discount\nexperience (because experienced developers are \"expensive\") we get to watch\npeople reinvent existing things poorly. Microservices, soa, agile, ci, these\nthings are older than many devs working today. The industry fads are largely\njust rebranding of old concepts to sell them to another clueless generation.\n\nComputers are complex systems, networks of computers are complex systems.\nComplex systems are complex. Some complexity is irreducible, and complex\nsystem behavior is more than just a mere aggregation of the parts. People tend\nto over complicate their solutions when they don't understand their actual\nproblem. They see things they are unfamiliar with as costly and overly\ncomplicated (as in your examples above).\n\nYour problem is a culture that doesn't value experience and deep\nunderstanding. You and your team will over complicate things because you don't\nknow better yet.\n\n------\nvirgilp\n1) Yes, except that you should try some languages sometimes. E.g. if you use\nSpark in production as a critical part of your system... take the time to\nlearn scala.\n\n2) Is a pet peeve of mine. Theoretically microservices are good, but we don't\nhave a way to orchestrate them. What's lacking (in programming languages\nterms) is a \"runtime\" and \"debugger\" and of course a widely-tested & reliable\nset of \"libraries\" for most common tasks. I think it's possible to do\nsomething like that, as long as you start imposing some restrictions on what a\n\"microservice\" is and how it talks to the outside world. Also, in this frame\nof thinking, it becomes apparent that \"deployment\" is actually \"programming\nthe system, at a high level\". It's not \"just configuration\", configuration is\ncode - if you moved the complexity from your \"code\" to your configuration, you\njust moved the complexity into a language that has very poor tools to work\nwith.\n\n3) My rule of thumb for most systems is \"avoid redundancy in the control\nplane; you can and should have redundancy in the data/data processing plane;\ndon't plan for 100% uptime in the control plane, plan for very short\ndowntimes/ for fast recovery when something goes wrong\"\n\n4) My experience is that continuous integration is good for all but the very\nsmall teams. For multiple reasons, not just \"microservices\"\n\n5) \"Agile\" is horrendously misused, the cargo cult is in full force. It should\nbe about prioritising & doing the important things, reducing overhead to the\nminimum necessary. It has become an overhead in itself, with \"sprints\" reduced\nto ridiculously low periods, meeting over meeting at each sprint, etc.\n\n------\n6DM\nI think micro-services was your big issue. But yes, getting into the politics\nof pure scrum, kanban, whatever is a big drag.\n\nDevOps has it's merits and will work well if you're team can stop trying to\ndevelop newer better scripts and learn when to say it's good enough. I saw one\nteam revise their scripts over and over for a whole year when they could have\nbeen using that guy for new features/bug fixes.\n\n------\nhalis\n1) Choosing JavaScript for a Math heavy project would likely be a mistake.\nThere are plenty of other examples of picking the wrong language for the wrong\njob. That's where this statement falls apart.\n\n2) Depending on how you bring them all together, yes this can be true. If you\nhave something like AWS API Gateway, then microservices may be manageable. If\nyou're rolling your own custom solution with something like nginx or haproxy,\nyou're probably wasting a ton of cycles.\n\n3) Again, I tend to agree with this. Premature optimization seems to be the\nnorm these days. Especially when you get devops people involved. Do we need\nevery single layer in our stack to be \"highly available\" if we have zero\nusers? The answer is NO.\n\n4) Well, this sounds clever, but I'm not sure it really means anything.\nSetting up something like Jenkins to watch your GitHub repos and build the\nbranch and run the tests can alert you to issues early and really isn't that\ndifficult to setup.\n\n5) Nothing wrong with TDD as long as you don't go overboard. Nothing wrong\nwith standups, planning or retros. Nothing wrong with short sprints.\n\n------\nYZF\nThe rule is there are no rules. The answer is \"it depends\".\n\nIf the only language your developers are familiar with is Ruby and you're\ndeveloping a real-time, high-performance, system, then you shouldn't write it\nin Ruby.\n\nIf you need the kind of availability/scalability/encapsulation that\nmicroservices provide in your application/use-case then you should use them.\nDon't break you application into micro-services just because everyone says\nit's a good idea. An Angry Birds app on an iPhone doesn't need to be split up\ninto micro-services running on said iPhone.\n\nIf you don't have redundancy and you lose your server then you're hard down.\nIf you're OK with that fine. If you want to continue operation with one server\ndown then you need redundancy. Redundancy doesn't necessarily add as much\ncomplexity as you seem to imply.\n\nContinuous Integration is usually a good idea regardless of all other\nvariables. If you have more than a single developer working on a system it's a\ngood idea to keep building/testing this system with every change so you can\ncatch issues earlier. You start very light-weight though with a small team.\nEven a single dev can do CI, it's not that hard.\n\nAgile is just a buzzword but it doesn't hurt to familiarize yourself with the\nAgile Manifesto while making sure you're aware of the context in which it\narose. It's really mostly about understanding that requirements often change\nand that we're dealing with humans. Again different projects, team sizes,\nsituations will require somewhat different approaches. Sometimes the\nrequirements are well understood and will change very little. Sometimes you\nknow nothing about what the software will do when you're done.\n\n------\nMaulingMonkey\nA certain amount of complexity or complication is required to solve problems.\nSometimes, you will undershoot the mark, and not fully solve the problem.\nOther times, you will overshoot the mark, and create problems in the form of\novercomplicated answers.\n\n> 1) Choose languages that developers are familiar with, not the best tool for\n> the job\n\nIt's a tradeoff - rampup time vs efficacy once ramped up. It's probably okay\nto let your devs rock it old school with vanilla Javascript for your website\nfrontend - it's probably _not_ okay for them to try and write your website\nfrontend in COBOL, even if CobolScript is apparently a thing, just because\nthey don't know Javascript.\n\n> 4) Continuous integration seems to be a plaster on the problem of complex\n> devops introduced by microservices.\n\nCI is great plaster for all kinds of problems, not all of which you'll be able\nto solve in a reasonable fashion. Of course, you may have problems which would\nbe better to solve that you're using CI as a crutch to avoid solving - or to\nsimply deal with the fact that you haven't gotten around to solving those\nproblems _yet_.\n\nIn game development, I use CI to help 'solve' the problem of my coworkers not\nthoroughly testing all combinations of build configurations and platforms for\neach change. 5 configs and 6 platforms? That's already 30 combinations to\ntest, so it's no wonder...\n\n> 5) Agile \"methodology\" when used as anything but a tool to solve specific,\n> discrete, communications issues is really problematic\n\nOn the other hand, other companies rock \"flat\" management well past the point\nit's effective, and may lack any kind of methodology to keep progress on track\n- which is also problematic.\n\n------\nkingsawlamoo34\nWhy not all peoples are searching actual software?Its so difficult how many\nyears in making system anyone cannot knowing of all of app or platform or app\nor plug in or device or codechar all things are supporting each other if one\napp is not update directdownload from google play store,windos for microsoft\nstore how to give the part way of moving simple all App or Apk have in their\nbasic code ID company .how about they making of you will be use one app or apk\nand then you sign out App and delete software but your using activity remain\nin more sure you can next time you reuse same app you will be seen or not your\nhistory this is one things but alittle difference in fre game app how about\nyou play inside but you will be exit and then you replay this you can see or\nnot your recent play section if you make log in account connect sure you can\nmaking or not resume game section game.all of game have in prevent and resume\nsection already contain but you are not own create you cannot open this\nbackground codechar or security for example...\n\n------\nsteven777400\nKeep in mind, as others have said, the \"accepted wisdom\" is coming out of\nhigh-income, high-velocity, technology companies. However, a lot of\ndevelopment is done at companies whose primary business is not software (or\nnot technology). Additionally, many established businesses care less about\nvelocity than hungry startups.\n\nIn that case, I think a different set of wisdom applies: 1\\. Choose languages\nthat are easy to hire for, easy to train for, have lots of 3rd party support,\nand easy for junior developers to use (and that your developers already know).\nThis generally means Java, C#, or Python (on the backend)\n\n5\\. First it's important to define \"agile\" in your context. Agile, in terms of\nthe agile manifesto, is almost always beneficial to the project, although it\nwon't speed it up. Agile, in terms of cargo culting specific artifacts, is\noften just a waste of time and source of confusion. If your organizational\ndefinition of agile is \"no project manager needed\", then you're in trouble.\nGood project managers are essential.\n\n------\nbuzzybee\nThere's a great discussion to be had in scaling your practices to the human\nfactors.\n\nFor a solo developer, just breaking things out into modules and massaging the\nformatting is likely to be a net negative - something you might do once you've\naccumulated months of cruft and are ready to start handing it off to others or\nrepurposing it for a new project, but also a chore that will get in the way of\nthinking about the job in front of you _right now_ , a temptation to think\ntop-down planning will come to your rescue. Your advantage is in being able to\nchange direction immediately, and there are a lot of ways to give that up by\naccidentally following a practice for a larger team.\n\nAs a team gets bigger, it's more important to be cautious because of momentum;\nany direction you pick for development will be hard to stop once it gets\ngoing.\n\nAt the same time, there are processes and automations that help at every\nscale, and at the small scale they're just more likely to be little scripts\nand workflow conventions, not ironclad enforcements.\n\n------\nStreamBright\nWell, I think there are 6 points to answer here:\n\n>> 0, Are we over complicating software development?\n\nYes, in many cases we are over complicating software development. I think a\nlarge part of OOP too complex to produce reliable services easily, still\npossible though. Simplicity is not as popular among developers as it should\nbe. I often run into complex code that can be replaced by 10x smaller code\nbase that is much clearer than the original.\n\n1, Sure\n\n2, I am not sure why you think that, you need services that can few things\nwell and individually scalable units. This used to be SOA (service oriented\narchitecture), and micro-services lately. There are cloud vendors out there\nwho make it super easy for you to run such services for reasonable price on\ntheir platforms without a devops team.\n\n3, See point 0. Complex systems fail more than simple ones. Failure isolation\nand graceful degradation should be properties at design time. The best is to\nhave stateless (no master slave service or registry that is required for\ncorrect operations) clusters where you can scale the capacity with the number\nof nodes.\n\n4, Continuous integration is way older than the term microservices. It\ncontains patterns that a company figured out by shipping code that had to be\nreliable and it is optimised for frequent changes aka when you developing a\nnew service or product. It is just a way of giving instant feedback to\ndevelopers.\n\n5, There are so many talks and videos about agile used bluntly is harmful on\nthe web that I think this is a well understood question. Use a method that\nworks for the team, it provides the insight to the business what they are\ndoing and you are good. I use Kanban for almost 10 years with distributed\nteams (software and systems engineering) and it works perfectly for us.\n\n+1 for simpler code and simpler software\n\n~~~\ndceddia\nRe: #2, what are some such services?\n\nAWS seems to be the go-to standard but it's amazingly complicated.\n\n------\nSammi\nYou are basically say much of the same as Dan North is saying in his newest\ntake on Agile:\n[https://www.youtube.com/watch?v=iFLBG_bilrg](https://www.youtube.com/watch?v=iFLBG_bilrg)\n\nAgile is dead, long live Agile. The difference now, is that we understand\ntrade-offs. There's no silver bullet and there are no absolutes.\n\n~~~\nYhippa\nDid people honestly think that Agile was going to be a silver bullet? If so\nthe consultants won.\n\n------\nrymohr\nCan't agree enough!\n\nI actually wrote an article [1] last week exploring single-tenant SAAS\narchitectures because I was annoyed with how complicated our multi-tenant\nplans were. Was bummed the HN post [2] didn't get any traction because I was\nreally hoping for some critical feedback.\n\nFor me, the holy grail is a cost-effective system that doesn't back you into\nscaling issues down the road and is simple enough to be run by a single\ndeveloper (on the side) rather than a dedicated team of sysadmins. Pipe dream?\nMaybe. But it's worth a shot.\n\n[1]: [https://hackernoon.com/exploring-single-tenant-\narchitectures...](https://hackernoon.com/exploring-single-tenant-\narchitectures-57c64e99eece)\n\n[2]:\n[https://news.ycombinator.com/item?id=13385474](https://news.ycombinator.com/item?id=13385474)\n\n------\ngrok2\nFrom what you are describing, it seems like there is more a problem associated\nwith your team than with anything else. Maybe you don't have the right set of\nexpertise in the team and people tend to work better with what they are\ncomfortable with. Microservices/redundancy support/CI at a fundamental level\nincrease the complexity of how you go about things, but they do have benefits.\nThey require a way of thinking and developing that should be a cultural fit\nfor the team for it not to feel like you are constantly fighting the system.\nOne way to get there is to incrementally add these after the primary project\nis done. When tackling one thing at a time, things end up being simpler and\nand the need for these things gets into the working habits of everyone better\nand they are no longer fighting the system.\n\n------\nburo9\ndevops is good stuff. Just apply to the developers the same standards (and\ntypically answers) as you would to your deployment world. You should be able\nto answer questions like: \"How does a new developer get going within 5\nminutes?\" in the same way that you answer \"How do we build and deploy a new\napp?\" and both the local developer and remote system should be debugged and\nmonitored in the same way.\n\ndevops isn't bad, and will speed up onboarding new staff, growing, and helps\nyour devs and ops people immensely.\n\nOn the rest I'd largely agree with you... other answers may only apply at a\ncertain scale, or complexity, or some other set of parameters that may not\napply to you now.\n\nSolve the problem you have now, and the problem you'll definitely have in the\nnext 6 months.\n\nThe rest is for the future.\n\n------\nvcool07\nYou need to work in an environment devoid of any practices like agile / CI etc\nand then you would know the difference. It might slow down your progress, but\nmakes up for it with consistency, discipline eventually leading to development\nof better(reliable) software !\n\n------\nzitterbewegung\nIf you keep on following every hype-train yea you will get over complicated\nsoftware development.\n\n------\nseangrogg\nFrom my perspective, the problem is that others _believe_ everyone else is\ncaught up in the same trends they are. If someone starts to prosthelytize\nsomething - whether that's build management, microservices, or even pairing\nReact with Redux by default - individuals start to think it's the \"new thing\"\nand adopt rather than critically think about it.\n\nPersonally, I tend to shy away from tools unless they seem to do something of\nsignificant value for me that outweighs their cost on my development process.\nThe \"best tool for the job\" is the one that allows me to finish a project in a\ntimely manner, not one whose memory footprint is 10% lower.\n\n------\nEricson2314\nIt's all about long-term vs short-term. _Everyone_ architects software for the\nshort term, I'd say the industry at large has collectively lost/never had the\nvision and wisdom to do anything else.\n\nNow maybe if you are a tiny-ass start-up, sure, but for a big established\ncompany, this is just bad economics.\n\nWhy do we talk about \"disrupting\" the \"behemoths\"? Why is everything done in\ntiny-ass largely-parallel teams? Very few companies have had serious thoughts\nabout programming at scale.\n\nI don't dispute that doing things the right way is often a huge up-front\ninitial investment, but you do eventually get over the hump.\n\n~~~\nflukus\n> Everyone architects software for the short term, I'd say the industry at\n> large has collectively lost/never had the vision and wisdom to do anything\n> else.\n\nI think everyone architects for the long term, they just do so poorly. The\nproblem is that architecture has become synonymous with \"more layers\".\n\n~~~\nEricson2314\nOK, so in the beginning there were no layers. People occasionally wrote a\nlayer but it was common to just say \"fuck it\", and through it away. As late as\nthe 90s, you read about C programmers writing hash tables all the time, wtf.\n\nThen, somewhere along the way I don't know exactly when, we hit an inflection\npoint where there were some layers that didn't work quite right, but were hard\nto do without, so we'd try to shim it.\n\nReally good long-term engineering means also ripping up the under-performing\nlayers, attacking the unneeded complexity. This does not mean giving up on\nabstractions altogether.\n\n------\noblio\nContinuous Integration on any project which will be developed for more than 1\nyear by more than 1 person should provide a positive return of investment.\n\nThe rest are debatable, but I feel that the point above is close to an axiom\nthese days.\n\n------\nAnimats\nI've used microservices, but on QNX, where you have MsgSend and MsgReceive,\nwhich make message passing not much harder than a subroutine call, and not\nmuch slower. UNIX/Linux was never designed for interprocess communication. You\nhave to build several more layers before you can talk, and the result is\nclunky.\n\nIf you're crossing a language boundary, it's often better to use interprocess\ncommunication than to try to get two languages to play together in the same\naddress space. That tends to create technical debt, because now two disparate\nsystems have to be kept in sync.\n\n------\nzzzcpan\nI think these problems are not about software development, but are\ninfrastructural and architectural. Lack of good people to handle those things\nis certainly a problem. But you do need quite a bit of infrastructure for\nmicroservices, for resilience, for continuous integration and all of that\npaired with some good architectural decisions. Resilience is probably the\nhardest thing among them, as it requires some expertise in distributed\nsystems, operations, infrastructure, so you wouldn't do something, that has\nalmost no impact, but requires a lot of engineering effort.\n\n------\nprotomyth\nAt this point, I think a lot of software development problems are complicated\nbecause we are building on a platform that really isn't designed for the apps\nwe want. The web makes everything a lot more frustrating and hard. It\ncomplicates testing and requires a lot more process than is justified by the\napps. At some point the era of the web will come to and end then maybe we will\nget a net gui (probably based on messaging) that will hopefully take the\nlessons of the web to heart.\n\n------\nmakmanalp\nI think this is where a lot of varied work experience (small / large / old /\nnew companies) is key, because it gives you perspective. You can then ask\nyourself, \"why does this process suck so much, and why didn't it when I worked\nat X? In my experience, people who come from a monoculture background usually\nseem to not question dubious software, architecture and methodology choices\nthat end up killing productivity and sanity.\n\n~~~\nAnimalMuppet\nYeah. If you're going to use languages, methodologies, and architectures\nwithout understanding, and without evaluating them for how well they fit your\nsituation, many things will be painful. Don't follow the fads, whether\nmethodologies (Agile), architecture (microservices), languages, or frameworks.\n_Use what 's appropriate for what you need to do._\n\n------\nraverbashing\n1) The best tool is useless if people can't avail of its power\n\n2) True. Microservices are usually premature optimization\n\n3) True\n\n4) CI is a good idea regardless of using microservices or not\n\n5) You might elaborate this item\n\n------\nchetanahuja\nNo it's not just you. In general, \"follow latest trends blindly\" has never\nbeen a winning strategy in software development at any point in computing\nhistory. Now, that is not to say that you never change your tools or\nmethodologies once you've mastered your existing tools. But the new\ntools/techs need to pass a very high bar before you subject your team to\nthese.\n\n------\nwickedlogic\nYes, we are over complicating software development.\n\n------\nmybrid\nAnother way of saying this is it is not science.\n\nUsability needs to be applied to more than just the end user experience: but\nthe entire SDLC experience.\n\n------\nrb808\nThe biggest issue I have is the current fashion for functional languages\nresulting in mixed style code bases. I've been working on established\napplications written in Java/C#/Python that have OO, imperative and now\nfunctional code all mixed together.\n\nIf I had it my way we'd choose one or the other but no one can agree which is\nthe best way to write code.\n\n~~~\nnathanaldensr\nThe style takes a backseat to readability and maintainability. Try creating\ncomplex object queries in .NET without LINQ; good luck at reading and\nmaintaining that code. I'll take my lambda expressions any day over that,\nthank you. I remember \"the good old days\" of C# 1.0 and you'd be crazy to want\nto go back there.\n\n------\nbluestreak\nIt isn't new when I say that it is hard to come up with simple solution.\n\nIn most cases people tend to work under pressure, which ends up with problem\nnicely fitted to tool at hand. You can hardly blame anybody for that. What we\nare not doing enough is going over \"solution\" again and again. Solving a\nproblem second time around is always easier.\n\n------\nbjourne\nYes. What you have discovered is the same epiphany most developers have as\nthey get more experienced and better at their jobs.\n\n------\nswift\nI'd like to push back on continuous integration being over-complicated. It's\neasy to do using off-the-shelf software and it makes life a _lot_ less\nstressful when you have confidence that your changes are good before landing\nthem in production. It's such a win that I'd set it up even with a 10 person\nteam.\n\n~~~\nnathanaldensr\nI use TeamCity to automate running my unit tests and generating/publishing\nNuGet packages to my private NuGet server... and I work alone. It has value\neven there. :)\n\n------\nkoolba\n> 1) Choose languages that developers are familiar with, not the best tool for\n> the job\n\nThe language that you're familiar with generally is the best tool for the job.\nMost software work can be equally done well (or at least greater than\nacceptably well) in a number of languages. Not having to learn a new one (or a\nnew framework) is a plus.\n\n------\nGurrewe\nAll development teams or products are not the same. Sometimes microservices\ncan improve the quality, and sometimes the opposite.\n\nIt is important to know why you do some things, instead of applying Hype-\nDriven-Development.\n\nDo what is best for _you and your team_ , instead of what is best for _someone\nelse_ (with a different product, problem, and team).\n\n------\nlukaszkups\nAre You a front-end developer? :D\n\nYes, I think very often we over complicate even simple things. But sometimes\nit pays in the long run.\n\n------\npmontra\nMost of the time we're creating complexity when we can avoid it and we're\noften proud of it.\n\nThe problem is that's very difficult to find the right compromise between\ntime, cost, an architecture that can support the growth of the service so\neither we build something too thin or something too complicated.\n\n------\ngreyman\nContinuous integration is also necessary for bigger projects with many inter-\ndependent parts. I worked in such a project, we had about 100 developers on it\nand I just can't imagine how it could be efficiently developed without CI. But\nfor small projects it maybe isn't that critical.\n\n------\nagentultra\nJust linking my comment to the other thread in response to this post:\n\n[https://news.ycombinator.com/item?id=13429618](https://news.ycombinator.com/item?id=13429618)\n\ntldr; simplicity is a great virtue and difficult to achieve in practice.\n\n------\nbassman9000\nCould also be interpreted as: \"devops is not yet mature/lacking tooling\".\n\nDon't get me wrong, complexity has grown. Agile is a joke. But, e.g., build\nsystems have been maturing for 30+ years. Their cousins, deploy systems, have\na long way to go.\n\n------\ncorecoder\nAlways worth mentioning: [http://thedailywtf.com/articles/Programming-\nSucks!-Or-At-Lea...](http://thedailywtf.com/articles/Programming-Sucks!-Or-At-\nLeast,-It-Ought-To-)\n\n------\neikenberry\n> 1) Choose languages that developers are familiar with, not the best tool for\n> the job\n\n+1\n\nProgrammers have affinities for languages. They will work better with some\nlanguages than others and they know which languages fit them well. Those are\nthe best ones to use.\n\n------\nmbrodersen\nNo you are absolutely right. 95% of problems in software development are\ncreated by the software developers themselves. At least that is my experience\nhaving worked in software for 20+ years in companies all over the world.\n\n------\njoelthelion\nI think one cause of the problems is that what is good at Google scale is not\nnecessarily relevant for a team of ten people.\n\nI think the lesson here is be critical of \"best practices\" and think about\nwhat will work in YOUR context.\n\n------\ntboyd47\nYou are correct. We cargo-cult Google and Facebook so much that we forget to\napply lessons learned decades ago. People and interactions over processes and\ntools. There is no silver bullet. You Ain't Gonna Need It.\n\n------\nusgroup\n... I'd agree. Put briefly, if you're trying to save the day, people first.\n\nBut when you stop needing to save the day and want to build something will\nparticular properties , you may find that process has to come first.\n\n------\nuser5994461\nSo... that big list is the lessons learnt at the startup IR the big company?\nIts really not clear to me.\n\nSame problem with all the comments that begin with \"at my last company\". Which\nkind was it?\n\n------\njasonlotito\n> lack of communication\n\nYou can't talk about lack of communication and blame \"devops\" at the same\ntime. If there was a lack of communication, you aren't \"doing devops.\"\n\n------\ncamus2\n1/ What language did they choose? why? what made them think language X or\nframework Z would give them a competitive advantage at first place and what\nwas the result of that choice?\n\n------\ndood\nThe issue is that solving real problems is hard, but making things complicated\nis easy, fun, and looks a lot like solving real problems if you aren't paying\ncareful attention.\n\n------\nsapeien\n1) Doesn't always work if you want to target embedded systems or need\nperformance, and all you know are scripting languages with huge overhead like\nRuby, JS, Python, etc. Some languages really are better than others.\n\n2) Could say avoid distributed computing if your problem is not distributed.\nThis is more about being a blind follower of the latest hype.\n\n3 & 4) Complicated DevOps are a bad idea in general. Stuff that seems to\nsimplify things on the surface like Docker are actually hiding tons of\ncomplexity underneath.\n\n5) To most people, Agile = JIRA = Sprints = Scrum. It's corporate mentality\ncodified, so it's no surprise that a lot of startups avoid it.\n\n------\nGnarfGnarf\nSoftware development goes off the rails because there are no physical\nmaterials involved, so there is no built-in limitation to prevent costs from\ngoing out of control.\n\n------\nd--b\ntruth is: you're young and you're becoming an experienced developer... You\nsomehow have to go through these stages. In the end, you'll be all right.\n\n------\npknerd\nSome people have got so used to of complicated architecture and workflow that\nthey are finding your questions odd. Just check comments.\n\n------\nTurboHaskal\nHey, we gotta eat. If people won't pay for software licenses then we'll make\nthem pay for training and consulting services.\n\n------\ndevdad\nHi, I'm happy to be posting anon right now. Can someone ELI5 the difference\nbetween libraries and packages and a microservice?\n\n------\ngraphememes\nI have seen Microservices be the death of a lot of startups / corporations.\nProceed with caution.\n\n------\nz3t4\ni think the best way is to start backwards in the future. what are the\nrequirements. then plan towards today. what do you need and when ... thats how\ni did plan my training program as an athlete. the most important question is\nwhat do i need (to do) right now\n\n------\nr4ltman\nas a guy whose idea was successfully pitched to a successful tech company of\nwhich i am still connected, i'm going to say yes. the classification aspects\nof specialty training keeps the process from being as fluid as it needs to be\nin order to be truly game changing rather than merely, whatever expectation is\nexpected.\n\ni know this sounds different to everyone, here's the point,\n\nThe User Needs to Use It. The focus is always on everything else. Only when\ntheres' been 'some' success does the user and by user, I mean, the entire\nfield the program is for, is an influence, this lack of empathy keeps any\nleadership from ever happening when everything is based on 'past successes of\nother companies' rather than trying to lead effectively.\n\n------\njbverschoor\nYES!\n\n------\nmadhadron\nFiguring out how to do things simply is remarkably hard. After twenty years of\nthis, I feel like I'm beginning to be able to design simple systems some of\nthe time.\n\nThe problem with much \"currently accepted wisdom\" is that it doesn't explain\nexactly what is being balanced. \"Works for my organization\" is the equivalent\nof \"works on my machine.\" For example,\n\n1) \"Best tool for the job\" when applied to languages nearly never is a\nquestion of the intrinsic merits of a language design. There have been quite a\nfew discussions recently on Hacker News on the virtues of a boring stack, that\nis, one that everyone else has already beaten on so much that you can expect\nto hit fewer issues.\n\n2) Microservices are a tradeoff. If you have an engineering team of five\nhundred shipping a single software as a service product, one of your biggest\nissues is coordinating releases among all those people without having your\nservices ping-ponging up and down all the time. Microservices are an answer to\nthat. At that scale you've already had to automate your operational troubles,\nso it doesn't impose that much additional operational cost. If you have an\nengineering team of ten, then none of this applies to you.\n\n3) High availability, like all concurrency, is hard. Try to write your own\ncode so that it scales horizontally by simple replication and depends on stock\ncomponents such as Kafka, Zookeeper, etcd, or Cassandra to handle\norchestration. In many cases your reliability budget may be such that you can\nrun a single system, automate some operations around it, and be just fine.\nIt's only when your reliability budget doesn't allow that, or your workload\nforces you to orchestrate parallel work, that you have to go this route.\n\n4) Yes. Nearly all discussion of agile software development that I've seen\nfocuses on rituals without the applied behavior analysis underlying them. For\nexample, a standup meeting has a small set of goals: establish a human\nconnection between everyone on the team on a regular basis; air things that\nare blocking individuals in a forum where they are likely to find someone who\ncan unblock them quickly; have everyone stand up and take responsibility for\nwhat they are doing in front of their team; and serve as a high bandwidth\nchannel of communication of important information (the build is going to break\nthis afternoon for an hour, etc.). If those outcomes are being achieved in\nother ways by your group, then there's no reason to have a standup. If you're\ndoing a standup and it's not accomplishing one or more, you need to revise how\nyou do it. Human behavior and interaction is something to be designed and\nshaped in an organization. What works in a team of three with excellent\ncommunication may not work in a team of ten or fifty or five hundred.\n\n------\nlngnmn\n_looking at some react-todo-demo and its dependencies_ \\- complicating? not at\nall!\n\nJ2EE will soon look like a reasonable thing.\n\n------\nsiphr\nYES WE ARE-\n\n------\nshitgoose\nit is not just you, but we are hopelessly outnumbered.\n\n------\nbtilly\nThere is a lot of BS in software development. Always has been, probably always\nwill. Everything is a tradeoff. Understand the tradeoffs that you are taking,\nlisten for the principles, and you can ignore most of the noise.\n\nOn to your questions.\n\n _1) Choose languages that developers are familiar with, not the best tool for\nthe job_\n\nHow familiar developers are with the language is part of what determines what\nis best for the job at hand in a real organization.\n\nIt isn't the only factor. For example if you're doing something new (to you),\ndoing it in the language that you find wherever you are learning it from makes\nsense because you'll be more likely to get help through complex issues.\n\nThat said, do not underestimate the support advantage of using a consistent\ntoolset that everyone understands.\n\n _2) Avoid microservices where possible, the operational cost considering\ndevops is just immense_\n\nSee\n[https://martinfowler.com/bliki/MonolithFirst.html](https://martinfowler.com/bliki/MonolithFirst.html)\nfor emphatic support.\n\nIf you go the microservices route, think ahead about predictable challenges\nwith debugging failures 3 calls deep, and plan in advance for monitoring etc\ntooling to solve it.\n\n _3) Advanced reliability / redundancy even in critical systems ironically\nseems to causes more downtime than it prevents due to the introduction of\ncomplexity to dev & devops._\n\nAs the old saying goes, DBAs are the primary cause of databases going down.\nReliability is not something that you just plaster on top blindly. An systems\nare good at finding failure modes that you never thought of.\n\n _4) Continuous integration seems to be a plaster on the problem of complex\ndevops introduced by microservices._\n\nNo. Continuous integration is actually a fix for developers checking in\nclearly broken code and then nobody discovering it later. That said, it does\nlittle good without a number of other good practices that are easy to ignore.\n\n _5) Agile \"methodology\" when used as anything but a tool to solve specific,\ndiscrete, communications issues is really problematic_\n\nThis one generated the most discussion. I would say sort of, but you went too\nfar.\n\nAny set of poorly understood principles, dogmatically applied, is going to\nwork out badly. Agile is actually a set of good principles that addressed a\nmajor problem in the common wisdom back in the day. But the pendulum has swung\nand it is often applied poorly.\n\nThat said, there are other problems in organizations which are prone to,\n\"poorly understood principles, dogmatically applied\"...\n\n------\ncrispytx\nYes\n\n------\nbrilliantcode\n1997: I created my first website on Netscape Navigator. I was 10.\n\n2007: I created a textbook trading RoR web app. I was 20.\n\n2017: I'm struggling to create my first front-end website on Chrome and I\nhaven't decided on the back-end. I'm 30.\n\nThe barrier to entry is indeed very high and no signs of slowing. I blame the\nexplosion of low-interest capital from VC's fueling this fracturing.\n\n~~~\nbrwr\nBuilding a website doesn't have to be complicated. You build a Rails site 10\nyears ago. You probably used jQuery, if you used JavaScript at all. Why can't\nyou do the same today?\n\nThe real problem here is that not enough developers understand that \"just\nbecause you can, doesn't mean you should.\" Once more of us get a handle on\nthat, life will be better.\n\n~~~\nbrilliantcode\n> You build a Rails site 10 years ago. You probably used jQuery, if you used\n> JavaScript at all. Why can't you do the same today?\n\nYou can and I do. However, I am thinking of using polymer or vue.js as I think\nthey are a much lighter candidate than react.js & angular.\n\nThe power of marketing is underrated in the developer circles.\n\n~~~\nbrwr\nIf you still use Rails and jQuery, why both with Polymer or Vue? What is the\nbenefit they give you?\n\nPromise I'm not giving you a hard time. I'm honestly curious if there's\nsomething I'm overlooking.\n\n~~~\nbrilliantcode\nI asked the same question last year and to be honest, building a SPA is tough\nwith just jQuery. It's more of my needs changing, I don't think SPA can be\nignored in 2017, the progressive web app and AMP will put a huge dent in the\nnative apps space.\n\nI just like to think that I'm developing a mobile app with front-end\njavascript framework....it's just the tooling and prerequisite knowledge is\nquite chaotic. Finding the right articles (up to date) is half the battle, as\nit's scattered in endless git repo pages.\n\n~~~\ncodingdave\nI'm not sure why an SPA with jQuery is tough. $.ajax. Send data. Do stuff in a\nback-end. Return data. Update divs. If it is tough, you might be trying too\nhard. I'm not trying to be glib... it just sounds like you might be buying\ninto the over-complexity that the original question was talking about.\n\n~~~\nflukus\nThe problem with jquery is that the state is stored in html elements. It makes\nit hard to debug, maintain and learn bigger applications. Things like\naccessing a hidden variable become DOM traversals rather than property\naccessors.\n\n~~~\ncodingdave\njQuery is just a framework, if even that. If you choose to use it to store\nstate in html elements, that is your choice. And yes, a common one. But the\nframework does not force it. If you make an AJAX call in jQuery, you get JSON\nback. (Or, I use it to get JSON back... you can send whatever you want back.)\nYou can do whatever you want with that JSON.\n\nFrequently, I do store metadata in a DOM element because the next event I will\nreact to is a click on that DOM element, so I already have a handle on it from\nthe ui element jQuery gives me... I do not have to traverse the DOM. But if\nthe future use of the data is NOT going to be a response to a click on a\nspecific DOM element, then no, I will do something else with the data.\n\nAgain, just because everyone else does it doesn't mean you have to, and\ndoesn't mean it is inherent in the tools. I'm not saying jQuery is the best\ntool out there... I'm saying that complexity in an SPA doesn't come from\njQuery itself, but from design choices made with it.\n\n~~~\nflukus\nTrue, it would be better to say that it's not great to build an SPA with just\njquery. It compliments a number of other frameworks that are good for SPA's.\n\n------\njustinlaster\n1\\. I think this is rather obvious, work with what you have. Maybe think about\nhiring specifically for areas your team is in lacking in, as long as the team\nas a whole will see decent benefit from it.\n\n2\\. I hate to say you're doing microservices \"wrong\" but I'd really question\nproject structure and practices being the culprit behind the cost of doing\ndevops with microservices.\n\n3\\. This seems like an engineering fault, rather than some implicit principle\nbehind those concepts causing more downtime.\n\n4\\. How is CI a plaster on the problem of microservices? CI is useful with or\nwithout microservices.\n\n5\\. Agile was always meant to be a _guideline_ , not an end all and be all.\nIt's meant to get your team to figure out how it wants to work, and write code\nbefore process. See: [http://agilemanifesto.org/](http://agilemanifesto.org/)\n\nThe problems you are describing seem like big problems with your team,\nengineering and management. No amount of process and technology is ever going\nto fix a dysfunctional (sorry if that's too blunt) team. What I get from this,\ninstead of having processes in place that make it easy to move code out,\nyou're removing tooling to slow things down intentionally with the superficial\nresult of \"stabilizing\" the entire development effort. The solution appears to\nbe to get your team to write less code, and force management to bow down to\nthe new reality of these \"stabilizing\" changes. Both of which can and\nsometimes should be done regardless of processes and tooling in place.\n\nThe best code is the code you don't write. But don't blame the tooling on\nmaking it easy for a team to be lazy and remove the all important\ncharacteristic of a team self-critiquing (i.e, \"Do we really need this\nfeature\", \"That'd be nice to have but right now we're managing to get things\ndone.\", \"Did I actually test my code, was it reviewed, or am I just counting\non the fact that I can shove something else out later while our redundancy\nsystems pick up the slack?\")\n\n~~~\nmhluongo\nQuite a few of these issues are common in other orgs. \"You're doing it wrong\"\nisn't great advice :/\n\n~~~\njustinlaster\nI would say in a lot of cases understanding that there are some basic failures\nis probably a great starting point to cleaning up the development effort.\nThere's not much else I can say other than that, considering how vague OP's\npost is.\n\n\"Good\" engineers will get things done and use common tooling to their\nadvantage. This requires actually understanding the principle behind the\ntools, not just shoving things in and hoping it all magically works.\n\nIf you have a lot of \"good\" practices that are supposed to make it easy to\nmove code around and you find that things just keep breaking, one could\nreasonably assume that it's simply highlighting an underlying issue. I'd start\nfiguring out which engineers (and management) is causing more work for our\norganization than they're putting out.\n\nWhat I think we're seeing from OP is lot of \"in name only\" practices.\n\n~~~\nmhluongo\nSome good practices aren't a good fit for a particular organization. Moving\nthe discussion to whether your engineers are \"good\", rather than whether they\nunderstand the organization's needs, is reductive.\n\nIf you want to develop better practices in an industry, saying the\npractitioner should be \"good\" isn't very helpful. Of course they should be\ngood! But unfortunately, despite the trope, we can't all hire the best, and\npart of the reason we have best practices is to work well without only hiring\nthe top 1% of engineers.\n\nAn example from my experience (mentioned in another comment)- microservices\nare a good practice in many larger orgs, because a big piece of what they\nsolve is political- but the overhead of running a distributed system at a\nsmall org often isn't worth it.\n\n~~~\njustinlaster\nI put \"good\" in quotes for a reason. I never said \"hire the best\"; that isn't\na requirement for anything that was stated.\n\nThere shouldn't really be a measurable overhead of running a distributed\nsystem, at least in the context of microservices. I strongly disagree with the\nsentiment that a distributed system isn't \"worth it\" at smaller organizations.\nI'm part of one, and it helps keep things flexible while increasing\nreliability of the \"overall\" system(s).\n\nBut that's neither here nor there. One shoe size won't fit everyone, but OP\nran down a gambit of things and seemed to have issue with each one. It is\nexceedingly unlikely they are doing anything eccentric enough to the point of\nproclaiming CI is just a bandaid on the broken concept of microservices. I\nwill contend that the source of OP's insights are... misappointed, and by\nbreaking down efficiencies and flexibility they're merely masking certain\nunderlying problems.\n\nWhat's more probable? An organization hired some wrong people, or a generic\nlist of strongly supported practices over the course of two to three decades\nare to blame for an organization's failings? I guess that's my take on it.\n\n------\nEdHominem\nNo, but your rules don't resonate with me even though I feel the same overall.\n\n1) Not the best language, but not the worst either. There's no excuse except\nmicrocontrollers for C these days (even though I still like it) and the fairly\ndecent JVM can't excuse Java. I think people can come up to speed in a new\nlanguage pretty easily. It's paradigms that are hard to learn, not syntax.\n\n2) Sounds like you don't have devops. That's a solve-it-once sort of problem.\nAnd you have to solve it soon enough for some pieces so it shouldn't be put\noff. You need to be good at it.\n\n3) It certainly can. It is increasing the size of your system considerably -\nnot just the original system, but also the debugging rules for that system\nplus (as noted) the debugging rules for the debugging rules ad-infinitum. But\nwhat do you propose as a solution? Perfectly trained humans on-call? A\nprocedures manual as detailed as the hypothetical code?\n\n4) Well, lack of CI seems insane regardless of what sort of architecture you\nhave. It's a symptom of not understanding the tools.\n\n5) Capitalized anything is always bunk. But if I hear agile as meaning \"short-\nterm goals inside long-term goals, and continuous re-evaluation\" then it makes\nperfect sense and has helped as a consultant and in industry.\n\n------\nGFK_of_xmaspast\nI don't do anything approaching microservices but a good CI setup combined\nwith a good test suite is an absolute blessing that verges on a 'must have'.\n\n------\nkmicklas\n> 1) Choose languages that developers are familiar with, not the best tool for\n> the job\n\nThis is probably true but also the root cause I think. Enough developers\naren't familiar with the right tools and abstractions (modularity,\nabstraction, purity, reproducability, etc.) that we just keep rehashing the\nsame bad ideas in a never ending stream of new languages and frameworks that\npush the same decades old ideas.\n\n------\ndraw_down\nUltimately, though complexity is a real thing, the word is mostly used to mean\n\"what I personally don't like\".\n\n------\ndiminoten\nJust to add to this a bit, what do you all think of the idea that \"code is a\ncode smell\"?\n\nIn other words, if you're writing code, make sure you actually need to write\nit, and can't otherwise find someone else who's written/released/maintains it.\n\n------\nhmans\nYes, we are; no, it's not just you. Next question.\n\n------\nbbcbasic\nHorses for courses.\n\n"} {"text": "\nOur Approach to Privacy - fjk\nhttps://www.apple.com/privacy/approach-to-privacy/\n======\nwyc\nApple sells hardware differentiated by integrated software for premium\npricing. They want to build better and more expensive products through\nsuperior design and quality control. Collecting and analyzing personal data\nisn't the most important thing for their business. They might see more benefit\nby eschewing personal data collection and marketing a privacy-focused message,\nwhich they seem to be doing.\n\nIn contrast, Google and Facebook are companies that sell advertising. The\nvalue they can offer to publishers and advertisers completely relies on how\nwell they know their users. Their competitive moat involves collection of\nproprietary data to continuously improve their products. These are clear\nincentives to be sticky and greedy with your information, but also to keep it\nprivate and proprietary for their own sake.\n\nWith these incentives in mind, I more readily trust Apple when it says that it\nwill not collect my data compared to data conglomerates, and Apple hasn't done\nanything to aggressively betray that idea in its history (to my knowledge).\nCombined with the technical security advantages of iOS, I'm inclined to\nbelieve Apple products to be the least-bad option for the security-minded\ntoday.\n\n~~~\nmirimir\nI do like Apple's approach to privacy. A lot. And I love their phones. While\ntheir PC hardware is still pretty, it's getting more-and-more outdated and\noverpriced. But that's no longer their focus, so hey.\n\nAnd indeed, Apple seems to handle privacy well, in practice. I've managed to\ncreate pseudonymous accounts at Apple's online store, and fund them with\nanonymized Bitcoin. And I've managed to make digital purchases.\n\nHowever, I haven't tested buying physical devices, for pickup in meatspace. I\nwonder if they'd require official ID, or just proof of purchase. Anyone know?\n\n~~~\nlxmcneill\nThe last time I went to pick up a product (AirPods) it required government\nissued photo ID (Australian driver's license), even though I had the Apple\nStore app which made the purchase installed on my phone.\n\n~~~\nmovedx\nThat's an issue with Australian law, not Apple. You can also buy such devices\noverseas.\n\n~~~\nmirimir\nAh, thanks. What sorts of purchases in Australia require ID?\n\n~~~\nadambrenecki\nAnything over 10,000 AUD (about 8,000 USD) purchased with cash. AirPods are\nexpensive but not _that_ expensive.\n\nMy guess is that they paid online for in-store pickup, and Apple asked for ID\nto confirm they're the one that made the purchase. In which case that's an\nApple thing, not a government thing.\n\n~~~\nmovedx\nBought my AirPods from Apple in the UK: no ID required.\n\nBought my iPhone 6S from Apple in Ausralia: ID required under Australian law.\n\nVery likely the person also bought a phone with a sim/service, hence being\nasked for ID (under Australian law.)\n\n------\ngreggman\nI'm happy Apple is at least trying hard to deal with privacy but honestly I\ndon't think they are doing enough, at least for me.\n\nFor example, I don't really want to give most apps constant access to my\nphotos, my camera, or my mic but I really don't have a whole lot of choice if\nI still want to use popular apps and services like Facebook, Instagram,\nMessenger, Hangouts, Line, WhatsApp etc..\n\nI really wish that every time they wanted a photo they had to get it through\nsome OS level UX and they only got to see the photos I selected. As it is they\nget to see all my photos the moment I want to give them a single photo.\nSimilarly if I take a photo in one of them they require permission to read all\nmy photos when all I want them to be able to do is save the photo.\n\nAs for the Camera I don't give any of those apps access to the camera because\nI don't trust them not to spy on me in some way (I assume camera = mic access\nso they could be doing the subsonic listening for ads things etc...). Instead\nI take the picture with the built in app then access that picture from the app\nI want to use the picture in. Of course that leads to the problem above.\n\nMic access is more problematic. I don't want any of them to have mic access\nwhen I'm not using the mic function directly but I can't talk to my friends\nwho use all those services to call me if I don't give the apps mic access.\n\nI feel like if Apple was more serious about privacy they'd handle these issues\nin some way. The photo one seems mostly straight forward for most use cases.\nDon't let the app access them at all, only the OS. The camera one is less\nstraight forward. I get that there are innovative things apps can do with the\ncameras by using them directly. On the other hand most of the current use\ncases could be handled by letting the OS access the camera only, not the app,\nand then just giving the result to the app.\n\n~~~\nguyfawkes303\nI think you mis-understand how iOS privacy controls work. An app doesn't get\nto 'see all your photos' just because you grant photo access, you still have\nto select which photos to put in the app. Same goes for camera, that just\nlet's the app pull up the camera interface, not be able to access it 24/7 for\nwhatever purpose they want. Same with the mic.\n\n~~~\nLeoPanthera\nI don't think this is correct. The Facebook app regularly shows me all the\nphotos I have taken today and asks if I want to post any of them.\n\n~~~\nodammit\nI can't tell you how many times I've definitely had a photo show up in the \"do\nyou want to post this\" preview that I most certainly would never want to post.\n\nI feel like I'm having a heart attack every time thinking I posted it already.\nThat feature sucks.\n\n~~~\nmixmastamyk\n_uninstalls app and uses website_\n\n------\njacksmith21006\nApple chose to let the China government into their China data center and\nGoogle chose to leave the country instead. So not so simple on who you trust.\nPersonally I trust Google more as they are just a lot better at keeping things\nsecure, imo. Plus governments getting into data is a bigger deal to me than a\ntargeted ad. But it is a personal decision.\n\n\"A Local Chinese Government Will Oversee Apple\u2019s New iCloud Data Center\"\n\n[http://fortune.com/2017/08/14/apple-china-icloud-data-\ncenter...](http://fortune.com/2017/08/14/apple-china-icloud-data-center/)\n\n~~~\net-al\nWhy was this downvoted? It's a relevant point to the discussion.\n\n------\nmaxpert\nAt least one company is \"trying\" keep my photos private. The other day Google\nPhoto told my wife it had prepared an album for our trip to SFO. We were\nsurprised because she already disabled Geo-tagging but whataya know... Google\nstill figured it out!\n\n~~~\npetepete\nIf you have location enabled on your phone, Google appears to cross reference\nyour location with your photo timestamps to work out where you were. I know\nthis because when I import my DSLR images to Google Photos it estimates the\nlocation, usually _very_ accurately.\n\n~~~\nben1040\nI've also seen it geotag things based upon the content of the image alone.\n\nI went to the photo store not long ago and had dozens of rolls of negatives\nscanned, from a vacation to Europe 20 years ago. I uploaded them into Google\nPhotos and it geotagged many of them automatically.\n\nThey have a public API that does the same, it detects landmarks in images and\ncan give you a lat/long position for it as well as a confidence score.\n\n[https://cloud.google.com/vision/docs/detecting-\nlandmarks](https://cloud.google.com/vision/docs/detecting-landmarks)\n\n~~~\nmit65\napple cloud did release a lot of celeb pics over the internet...let's not\nforget that\n\n~~~\ngbear605\nThat was a phishing attack, nothing to do with Apple other than that the\npeople attacked by it were iPhone users.\n\n------\ngallerdude\nPrivacy is one of those things I can't tangibly describe why I like it, but it\njust feels good to know that nothing is being saved, even in contrast to just\ntargeting you for ads and nothing else.\n\n~~~\nJumpCrisscross\nWe have a track record of things going south, fast, for societies that\nsacrifice privacy. It makes sense to tread warily with it.\n\n~~~\nzachlatta\nCan you give a few examples?\n\n~~~\nJumpCrisscross\nPretty much every authoritarian overthrow that became genocidal relied on a\nprevious bureaucracy's meticulous record keeping.\n\n~~~\nzachlatta\nCan you please give a few examples?\n\n~~~\nJumpCrisscross\nThe classic ones are Pol Pot and Hitler. With the latter, the Danish example\nis useful.\n\n~~~\nzachlatta\nIn your original comment, you were implying that societies that lose privacy\ngo south very quickly. As in that loss of privacy is causal.\n\nI can't speak for Pol Pot, since I'm not very familiar with his regime, but\nwith Hitler and the Danish, my understanding is that record keeping aided in\nthe German occupation. Not that the Denmark went downhill after it started\ndoing meticulous data gathering.\n\nCan you give causal examples?\n\n------\nnewscracker\nA few things have struck me really strong on Apple's stand and implementation\non protecting users' privacy:\n\n1\\. Though it's understandable that Apple earns money primarily by selling\nhardware, it's sort of amusing and alarming at the same time that a\nproprietary almost-closed-source software company is focusing on protecting\nand preserving privacy whereas partially open source platforms competing with\nApple seem to be nowhere close on this aspect. Do any of the Android forks try\nto do as much as Apple does for privacy right out of the box (something a non-\ntechnical lay person could get)?\n\n2\\. It's abundantly clear that a lot of thought has gone into the foundations\nof a design focused on protecting privacy and in creating silos of information\nin/with different SDKs and features.\n\n3\\. It's a bit unclear to me as to why Health data is stored encrypted in\niCloud whereas messages aren't. Is there a distinction here between iCloud\nsync and iCloud backups? The documentation on messages suggests turning off\niCloud backup as a protective measure.\n\n4\\. To me, the weakest link in the ecosystem seems to be third party apps,\nwhere Apple relies more on them adhering to the developer guidelines and on\npublishing a privacy policy.\n\n~~~\nwyc\nRegarding your first point, it's difficult to implement some security schemes\nat the operating system level alone. With full vertical control of the\nproduct, you can have nice things like secure enclaves and de-facto hardware\ncryptography acceleration.\n\nSee here for details:\n[https://www.apple.com/business/docs/iOS_Security_Guide.pdf](https://www.apple.com/business/docs/iOS_Security_Guide.pdf)\n\nA lot of the features would be very difficult to implement in Android without\ncooperating hardware, and hardware is notoriously expensive to get right and\nscale up. Projects like neo900 and Purism regularly encounter delays,\nunexpected costs, and pricing issues. It's really tough.\n\nOn a broader note, people are spending more and more time in data-hungry apps\nanyway, which can send almost anything they want to the network. This is sure\nto chip at any device-level security, pushing it towards irrelevance. I wish I\nhad a log entry every time an app used the location service on my phone along\nwith a database containing a history of Internet-transacted data.\n\n~~~\nnewscracker\nThanks for the explanation on the Android side. It still seems weird that\nnobody wants to take this up as a USP for their devices (referring to non-\nGoogle entities).\n\n> On a broader note, people are spending more and more time in data-hungry\n> apps anyway, which can send almost anything they want to the network. This\n> is sure to chip at any device-level security, pushing it towards\n> irrelevance. I wish I had a log entry every time an app used the location\n> service on my phone along with a database containing a history of Internet-\n> transacted data.\n\nI've long wished for network access permission on iOS, allowing the user to\ndecide which apps can never connect to any networks. To reduce the total\nattack surface, I'd want to keep many apps (especially games) running only\nwithin their sandboxes and having access to only the data they create/generate\non-device and no other external resource/server.\n\nAFAIK, Android has had this even in the days of permission requests at app\ninstall time. I don't know if granular control is available on this from\nAndroid 6 onwards.\n\n~~~\nwyc\nI know that Samsung is trying to push its Knox product to enterprises. I'm\nunsure about their technical or financial success. I don't know of anyone\ntrying this in the consumer space either, but I'd definitely love to see more\nactivity in this long-neglected sector.\n\nKnox: [https://www.samsungknox.com/en](https://www.samsungknox.com/en)\n\n------\nwhathaschanged\nApple's approach to privacy also includes being a partner in PRISM, a fact\nwhich they chose to vigorously deny as false allegations until it was proven\nto be true.\n\nEvery story about Apple and privacy chooses to omit thus huge piece of info.\n\nWhy should anybody trust them now? What has changed to make anybody believe\nthey aren't still lying about privacy?\n\n~~~\ndclowd9901\nIf their technology is built such that even they themselves cannot peer into\nthe inner workings of your content, what good is their association with PRISM?\n\n~~~\nuserbinator\nHow do you know Apple is telling the truth?\n\nOne thing we're certain of, however, is that Apple has the signing keys. They\nalso encrypt their firmware and even other apps to hide how they work.\n\n~~~\ndclowd9901\nI believe if they weren't telling the truth, _somebody_ would've caught on by\nnow. We have lots of people in sec watching court cases involving police\ntrying to break into iPhones. If somehow a department was able to access a\nphone without a user complying and no known backdoor was exposed, I'm sure we\nwould've heard of it by now.\n\nI hope you're not expecting them to open source the secure enclave.\n\n------\nspsful\nI wish the EFF still made those \"Who has your back\" infographics, they were\nreally helpful if you wanted to find out which companies respected your data\nboth online and in the courts. But IMO Apple is the only large multinational\ncorporation that is actually taking steps to protect my privacy so I'm way\nmore inclined to trust them with my personal information. Can't say the same\nfor Google or others.\n\n------\ntitanomachy\nHow much of this can be independently verified? I suppose we just need to take\ntheir word for it?\n\n~~~\nShank\nIt all boils down to what you see in the public. The FBI was trying to get\nApple to create an iOS variant to extract data from a device, to the point\nwhere Tim Cook wrote a letter refusing to do so and was willing to fight it in\ncourt. In a similar fashion, Apple has given talks and white papers on iOS\nsecurity. In tandem with these well documented white papers and talks\ndiscussing the internal functions of iOS, we haven't seen any well known or\ntrivial exploits appear to surface that demonstrate flaws in them.\n\nIn the case of the FBI fiasco, for example, we know that the FBI later paid\nCellebrite for an exploit that allowed them to unlock the device. We don't\nknow the details of how that happened, but the FBI had to reach out to an\nindependent company and exploit an older device to do it.\n\nTo be clear: if they were lying about the lengths they go to with encryption,\non device security, and user trust, this story would have been different. The\nFBI would have already had a backdoor or been able to trivially break the\ndevice, or they would have complied and created an iOS variant to break in.\nAll we know is what they stood their ground on, and the effort that was\nrequired for the FBI to get in.\n\niOS 10 security white paper:\n[https://www.apple.com/business/docs/iOS_Security_Guide.pdf](https://www.apple.com/business/docs/iOS_Security_Guide.pdf)\n\nTalk about iOS security at Black Hat:\n[https://www.youtube.com/watch?v=BLGFriOKz6U](https://www.youtube.com/watch?v=BLGFriOKz6U)\n\n~~~\nlern_too_spel\nWe know that they lied to customers claiming they couldn't help law\nenforcement get data off customers' devices.\n\n\"Unlike our competitors, Apple cannot bypass your passcode and therefore\ncannot access this data. So it's not technically feasible for us to respond to\ngovernment warrants for the extraction of this data from devices in their\npossession running iOS 8.\"[1]\n\nAfter it became clear that it _is_ technically feasible for Apple to assist\nwith those data requests, they quietly removed that claim from their\nwebsite.[2]\n\n[1] [https://arstechnica.com/gadgets/2014/09/apple-expands-\ndata-e...](https://arstechnica.com/gadgets/2014/09/apple-expands-data-\nencryption-under-ios-8-making-handover-to-cops-moot/)\n\n[2] [https://www.apple.com/privacy/government-information-\nrequest...](https://www.apple.com/privacy/government-information-requests/)\n\n~~~\nmillstone\nBy \"technically feasible\" are you referring to Apple's ability to build a\nsoftware update that allows for quicker brute-forcing of the passcode?\n\n~~~\nlern_too_spel\nYes. Brute forcing pin codes can be done very quickly. Apple realized it was\ntechnically feasible too, which is why they no longer make that claim. That\nthey didn't apologize to their users and offer refunds demonstrates the\ndisdain they have for their customers.\n\n------\njvican\nAfter reading this, I have two questions:\n\n1\\. Are there any statistics showing the ratio of security issues between\nAndroid and iOS?\n\n2\\. What's the most common phone among security researchers?\n\nTo be honest, I'm wary of believing this, but I own a Nexus and if I had to\ngive the benefit of the doubt to either Google or Apple, it would most\ncertainly be Apple because they don't make business out of my data (or, not as\nmuch as Google, at least).\n\n~~~\npcurve\nI'm an Android user, but I feel the same way.\n\nI sometimes wonder what would happen if I were to create a new Google identity\nand start fresh. Would they try to re-establish my old email's profile and\ndata to the new one without my consent?\n\n~~~\narunmib\nI tried this as an exercise when they were pushing Google+. Created a new\naccount, was very cognizant to read through all settings and ensured that\nnothing from my old account can be traced back to this new one. I'm not joking\nwhen I say nothing from my old account and tracking: 1\\. I timed my move (to\ndifferent city inside bayarea) 2\\. Changing ISP to wave from comcast 3\\.\nBought new computer 4\\. Closed my old phone account and only started using\nwork phone. Never used hotspot in my work phone 5\\. Even changed my coffee\ndrinking habit + free wifi access locations from Starbucks to Peets. Only\nthing I couldn't change was my name + SSN. Serious paranoid level of things\nfor my online life, but they still populated my digital life with same info\nand recommendations. After about 10-15 days of doing all this, I enabled\nGoogle+ (because at that time to use youtube account, I had to enable it). You\nknow who the first contact recommendation that was there for me under my\nfamily - my brother who is living in a different country. I just gave up at\nthat point. Probably I did something wrong during the setup (or) slipped and\nused the accounts for some period of time on same computer or browser (or) the\ndata companies which sell my offline data have really rich data about me.\nWhatever the goof-up was, it was just disheartening to learn that after all\nthat work my online privacy just lasted at the max 15days. I really wish there\nwere better ways. Considering the number of security/data breaches (e.g.\nrecent equifax one) I feel like, I have little to no control on things.\n\n~~~\npcurve\nThat is pretty frightening.... thanks for sharing your story.\n\n------\nmtgx\n> While we do back up iMessage and SMS messages for your convenience using\n> iCloud Backup, you can turn it off whenever you want.\n\nWouldn't they be able to hold that privacy promise much better if they\nactually allowed people to keep iCloud backup on let's say for pictures, but\nstill be able to disable iMessage messages? I think many people would like to\nuse iCloud but without it backing up personal conversations, too.\n\nAlso, iMessage's end-to-end encryption was rather flawed last Matthew Green\nchecked, compared to other end-to-end messaging apps.\n\n[https://blog.cryptographyengineering.com/2016/03/21/attack-o...](https://blog.cryptographyengineering.com/2016/03/21/attack-\nof-week-apple-imessage/)\n\nAs for their use of differential privacy, when they introduced that it was\nessentially a hidden way of gather _more_ of your data than before, not less,\nbut while still being able to say \"hey, we may gather more data than ever on\nyou starting with the new iOS, but it's _pretty_ private, so it's cool, don't\nworry about it\".\n\nAll of that said, I know Apple is still miles ahead of Google on privacy. If\nanything, over the last 1-2 years, Google has become increasingly bolder and\nmore shameless about tracking users without them realizing (except in the EU,\nwhere they are _forced_ to make it a little easier for users to understand how\nthey are being tracked, and even that happened because of the anti-trust\nlawsuit).\n\nHere's just one example of Google's increasingly privacy-hostile behavior:\n\n[https://www.extremetech.com/internet/238093-google-\nquietly-c...](https://www.extremetech.com/internet/238093-google-quietly-\nchanged-its-privacy-policy-no-longer-promises-to-anonymize-your-personal-\ninformation-when-selling-ads)\n\n~~~\nAccacin\nI agree it's not perfect. I kind of get around it by disabling iCloud backup\n(which includes iMessage, etc.). I just use iCloud to back up photos, and I\nback up my phone locally.\n\n------\nimron\n> Apple has no way to decrypt iMessage and FaceTime data _when it\u2019s in transit\n> between devices_\n\nWhat about when it's _not_ in transit between devices?\n\n~~~\nalex_g\nWell they decrypt it on your behalf when it's on your device. The point is\nthat couldn't do that without your device/account.\n\n~~~\njw1224\nThey then go on to say:\n\n> While we do back up iMessage and SMS messages for your convenience using\n> iCloud Backup, you can turn it off whenever you want.\n\nSure, I can stop backing my data up - but presuming I don't (like the vast\nmajority of people), does that mean if they got a wiretap order they could\njust read the data straight from their backup servers?\n\nI'm not sure if this was just phrased poorly, or if backing up your iMessages\neffectively undoes any protection your messages once had.\n\n~~~\nDavideNL\n\"The iCloud Loophole\" (article from March-2016):\n[https://www.macrumors.com/2016/03/02/icloud-backups-less-\nsec...](https://www.macrumors.com/2016/03/02/icloud-backups-less-secure-for-\nrestoring-data/)\n\nAlthough in a link in this HN article Apple says backups _are_ encrypted:\n[https://support.apple.com/en-us/HT202303](https://support.apple.com/en-\nus/HT202303)\n\nSo, a little confusing...\n\nEDIT\n\nbah, found this:\n\n\"Right now, although iCloud backups are encrypted, the keys for the encryption\nare also stored with Apple. \"\n\n[https://9to5mac.com/2016/02/25/apple-working-on-stronger-\nicl...](https://9to5mac.com/2016/02/25/apple-working-on-stronger-icloud-\nbackup-encryption-and-iphone-security-to-counter-fbi-unlock-requests/)\n\n------\nbgrohman\nOn the subject of privacy, I'm interested in migrating away from Google\nservices, but I have years' worth of data tied up there (email, photos, music,\nmovies, etc). I know Google offers ways to download your data, so it's\ntechnically possible to migrate, but it would be tedious and time consuming,\nto say the least.\n\nDoes anyone have suggestions for making that process easier?\n\n------\nquadrangle\nApple does so many things well, actually. I would return to them for some\nthings and even recommend them (versus exclusively GNU/Linux and LineageOS) if\nthey'd only change the stupid iOS terms that prohibit GPL software.\n\n~~~\nnnutter\nIsn't the issue that the App Store doesn't have a mechanism to redistribute\nthe source in a way that is compliant with the GPL? Is it fair to say Apple\nprohibits the GPL? Anyway that tried to sell GPL licensed software on the App\nStore is \"breaking the law\" so Apple prohibits it? Or is there more to it?\n\n~~~\nsheetjs\n[http://www.fsf.org/blogs/licensing/more-about-the-app-\nstore-...](http://www.fsf.org/blogs/licensing/more-about-the-app-store-gpl-\nenforcement) goes into more detail, but the summary is:\n\n> Apple's Terms of Service impose restrictive limits on use and distribution\n> for any software distributed through the App Store, and the GPL doesn't\n> allow that.\n\n------\ncyphunk\nWake me up when they let one sync contacts without giving icloud cleartext\naccess in the process\n\n~~~\nmercutio2\nCan you say more about why this is important to you?\n\nI mean, more stuff encrypted without provider escrow keys is a generally good\nthing, but are your contacts specifically more important than, say, you\ncalendar events?\n\nWhat threat model are you worried about with your personal, curated contacts?\n\n~~~\ncyphunk\nall data is important, indeed. contacts are just an easy to access example.\nI'm worried about countries creating laws, secret and public, that force Apple\nto hand over my data. Specifically those governments that I spend time in and\nthat I also spend time criticising or protesting within as an activist. I'm\nworried about regime changes. I'm worried about 3rd party data breaches. I'm\nnot worried about how my data exposure would effect me now but how it would\neffect me in the future when mining and correlating data to use against\nactivists will be much easier.\n\n------\naub3bhat\nOn Android you can Sideload VPN apps, iOS on the otherhand banned them in\nChina. Apple mounted the most successful attack on General Computing with it's\nwalled garden. The whole Apple is good for privacy is marketing.\n\n~~~\ndisconnected\nAndroid and its community are sorta schizophrenic towards security.\n\nOn one hand, users are told that they should never ever, ever install\napplications from untrusted sources. They should always use the play store\nbecause applications are scanned for vulnerabilities and whatnot.\n\nOn the other hand, we have people telling us that one of the great advantages\nof Android is that you can sideload apps - bypassing the store security model\ncompletely.\n\nOn one hand, a VPN needs root access for transparent proxying (or at least TOR\ndoes). Changing the hosts file needs root access. Changing gps.conf requires\nroot. Lots of useful operations need root access, so if you are concerned\nabout privacy and security, or just want more control, you probably want root.\n\nOn the other hand, root is stupidly hard to obtain, and users are strongly\ndiscouraged from doing it anyway because it opens all sorts of attack vectors.\nUnless the manufacturer provides a legitimate method to do it, the operation\nof obtaining root itself, like on iOS, often relies on an unpatched local\nprivilege escalation vulnerability. Note that any application can exploit\nthis, not just the rooting app.\n\nI don't support Apple's walled garden approach, but we can't argue that they\nhave a much clearer picture with regards to security, and the results speak\nfor themselves. Malware in the Apple devices is rare, whereas in Android it is\nrapidly becoming routine. Unfortunately, you sacrifice flexibility for\nenhanced security.\n\n~~~\nnnutter\nMy perception is also that malware ends up in the Google Play Store with much\nhigher frequency than the App Store. Just do a news search for \"Google Play\nStore malware\" and \"App Store malware\" and compare.\n\nAlso, one can sideload apps, if you have a Mac, onto iOS. Obviously, that's\nnot anywhere as integrated but maybe that's a good thing. Heck, maybe Apple\neven added that so people in China could sideload VPNs. Maybe iOS VPNs are\ngood enough (no root, no TOR?)?\n\n~~~\nlern_too_spel\nAdd up all the malicious app installs on Google Play Store, and it doesn't\neven come close to the 500 million[1] (conservative estimate) users affected\nby XCodeGhost. It looks worse when you consider that the 500 million is on an\norder of magnitude smaller total iOS userbase vs. Play Store userbase and when\nyou consider that Google allows third party security researchers to\ninvestigate and publish research on the Play Store while Apple does not, so\nXCodeGhost is likely to be the tip of the iceberg.[2]\n\n[1]\n[https://www.google.com/amp/s/www.macrumors.com/2015/09/20/xc...](https://www.google.com/amp/s/www.macrumors.com/2015/09/20/xcodeghost-\nchinese-malware-faq/amp/)\n\n[2]\n[https://www.google.com/amp/s/www.cultofmac.com/128577/apple-...](https://www.google.com/amp/s/www.cultofmac.com/128577/apple-\nkicks-security-researcher-out-of-app-store-and-developer-program-after-ios-\nvulnerability-demonstration/amp/)\n\n~~~\nevgen\nLOL, let's start with StageFright (1 billion+ pwned with just a text message),\nmove on to StageFright2 (because patching is hard...), and then just keep\nrunning down the list of malware in the Play store that is still there months\nafter being discovered. XCodeGhost OTOH, seemed to have hit around 40 apps so\nthat would probably not even get it into the top-100 list of Google Play\nmalware families. Malware families. The Play store is such a shitshow that you\ncan actually have different strains of malware running around in fake apps,\nlike some sort of digital syphillus spreading through the brothel that Google\nforces everyone to visit if they want the shiny apps...\n\n~~~\nlern_too_spel\nThe number of people actually affected by StageFright malware from Google Play\nStore (which is what we were discussing) is very likely to be zero. It simply\nblocks the payload. We know for a fact that 500 million+ were actually\naffected by XCodeGhost, an order of magnitude more than the sum total from all\nmalware seen in the Play Store.\n\nDon't conflate unpatched Linux systems with the Play Store. Anybody who uses\nAndroid and cares about the security of their device (like anybody who uses a\nLinux-based router and cares about the security of their network) uses vendors\nwho deploy timely security updates.\n\n------\nicomefromreddit\nI don't trust Apple. It's a matter of trust, so I have nothing else to say,\njust I can't trust Apple.\n\n------\nshmerl\nI wouldn't trust on issues of privacy to the likes of Apple. Who can audit\ntheir software? It's not FOSS.\n\n~~~\nachamayou\nYou can still contemplate their incentives, their business model, and their\nreputation/track record.\n\nIt's not as good as auditing the code (and making sure the code you see is\nwhat actually runs), but it's a lot less effort, and depending on the extent\nto which you are ready to dedicate resources to improving your privacy, may be\nan acceptable tradeoff.\n\n------\nphoe-krk\nSo a cop can put your phone in front of your face while you're tied up and\nunable to do a thing. Boom, phone unlocked.\n\nMarvelous.\n\n~~~\nR4nger\nAFAIK if you keep your eyes closed, it doesn't unlock.\n\nAlso, its still an improvement from when cops borrow your thumb. At least this\nway, you have less chance of getting hurt.\n\n~~~\nmegous\nI'd rather lose my finger than my head, thank you.\n\n------\nwilliamle8300\nAll the anti-constitutionalist people at the NSA are getting heartburn as we\nspeak.\n\n"} {"text": "\n\nLuis von Ahn: Outsourcing My Research Group - Rod\nhttp://vonahn.blogspot.com/2010/06/outsourcing-my-research-group.html\n\n======\nthisisnotmyname\nThere probably ought to be fewer phd students around, and more research tech\njobs. But, I was under the impression that the current glut of grad students\nwas because they were so much cheaper than techs?\n\n~~~\nRod\nIt depends on the schools. A graduate student at a UC school is way cheaper\nthan a graduate student at Stanford or Caltech. It also depends on the PhD\nprogram, or more to the point, on the course requirements. If a PhD student\nalready has a MSc when he enters the program, he can start doing research\nright away, and his advisor get a return on his grant money way faster.\n\n------\npvdm\nI suppose I am too naive to think Ph.D advisors would not treat advisees like\na piece of meat.\n\n~~~\nRod\nThere's a reason I used to love reading _PhD Comics_... until I started my own\nPhD. It used to be fiction, now it's non-fiction (sigh)\n\n------\nkunjaan\nThe next advisor meeting with him is going to be pretty awkward.\n\n"} {"text": "\nKanban \u2013 The Secret Engineer Killer - bdehaaff\nhttp://blog.aha.io/index.php/kanban-the-secret-engineer-killer/\n======\nraisinbread\nIf you just read the subtitles, I'd almost think your article was a piece in\n_favor_ of Kanban.\n\nEngineers aren't assembly workers: so why do other methodologies seem to be so\nprescriptive on what can be accomplished in a given time frame? New problems\narise, priorities shift, and unexpected news arrives. I appreciate the\nflexibility of a pull-type system because it lets me transparently show what\nI'm working on.\n\nI've really hated telling people no or watching a manager struggle to change\nup something we really need just because it doesn't fit in the right shape\ntime box or might affect the current sprint's plans.\n\nYou can't trust yourself: I always ended up hating sprint planning meetings\nwhere \"points\" are a constant source of conflict between stakeholders and\nestimates are fantastical. These sort of meetings just allow the quality knob\nto turn down while scope and schedule remain fixed. Having an entire team\nminimizes estimates problems, but for the effort involved I'm not sure the\ngains are worth it.\n\nAlso, I think you may have inadvertently taken Anderson's quote out of context\nas well\u2014Kanban isn't a way to run software. It's merely a way to expose your\ncurrent process so you can improve it. Kanban is something that sits on top\nand allows you to identify bottlenecks, be realistic about results (instead of\nestimates) and provide immediate transparency into what you're working on. It\ndoesn't specifically prescribe what the steps are.\n\n~~~\nbdehaaff\nThanks for the quality comments. I want to pick up the last one in particular\nand respond. I think that while you appreciate that Kanban is not a \"way to\nrun software\" the folks who I have spoken with do not understand that. They\nconsider it to be a leaner and more pure form of \"agile.\" So, they do not use\nit to improve an existing dev methodology, rather they think it is one -- and\nthere is the crux of the problem.\n\n~~~\nraisinbread\nI should say I totally agree with one sentiment from the original post: _don\n't blindly pick up Kanban as a magical solution for your problems!_\n\nIf your underlying process (or lack of process) sucks, then you'll still be in\ntrouble. Fix your process first.\n\n------\nbhattisatish\nI am a fan of Kanban, so whatever I say will be through the rose tinted\nglasses of a fan. There maybe various reasons why Kanban has failed for many\ncompanies. I haven't worked in those teams so I have no way to say is it\nbecause of Kanban or is it because of management misunderstanding kanban.\n\nFrom your article, the main reason touted is that the Marketing loses it's\nway. Which to me sounds strange! In fact I have seen it the otherways. We\neffectively delink marketing cadence from engineering cadence! Thus resulting\nin derisking the whole big bang releases.\n\nFor e.g. Marketing decides that they are going to make a big marketing push on\na conference or a tradeshow. So the PM come up with a list of features they\nwill showcase for the given event. (say 10 features are decided upon). The\nengineering team works on these features as a que. Releasing each of these as\nand when they are done. But do note an engineering release to production does\nnot mean a marketing release. This allows the PM to experiment on features,\nbuild up case studies, etc ... for these features.\n\nAnd as the marketing releases dates come closer, everybody knows that we\nalways have a working copy with only the pending items in the que. This\nresults in a high confidence level within the marketing / engineering on what\nis being touted about. There are no last minute scramble to get a working\nsystem. etc ... The most valuable feature was heavily tested and used by\neveryone before the big bang marketing release.\n\nIt also allows the PM to make A/B experiments before the actual marketing\npush. Thus adding another confidence layer to the whole process.\n\nIn a worst case scenario the least valuable features never get released for\nthe marketing push.\n\nI see this as an effective way to derisk the whole marketing push and reduce\ntheir dependency on the engineering team to deliver stuff when they said they\nwould.\n\n~~~\nsnorkel\nUnfortunately not all of us are blessed to work with well organized\nstakeholders who are able to plan ahead rather than wait until the last minute\nto request whatever they need from engineering. Agile only works when the\nentire organization abides by its rules, sure engineering teams can train\ntheir stakeholders to some degree but upper management can just overule the\nprocess and insist engineering should be like a service desk that responds to\nwhatever is needed today. Sucks, but it's a reality in many workplaces.\n\n~~~\nbhattisatish\nI agree. That's the reason I love Kanban. It allows us to capture metrics on\nwhat is being done, how long it took and where are we spending most of our\ntime. This numbers in turn allow us to push the story to management on what\nthey are doing wrong.\n\nFor e.g. We worked on a team where Sales made a feature request (1 day, PM and\ndesign team worked on it and released it to engineering (5 weeks) and\nengineering released it to sandbox (2 weeks), qa tested it and released it to\nproduction (1 week).\n\nGuess where the bottleneck is? The whole cadence for the feature was 8 weeks.\nObviously Sales where jumping on us for not getting it done on time. This way\nof looking at the whole board, allowed us to identify a bottleneck and push\nfor changes on how the whole company operates. If you kanban a board only for\nengineering then you lose the big picture, How is the system as a whole\noperating.\n\n------\njacques_chester\nThe 95%-of-diets-fail number comes from a single study in an obesity clinic\nperformed in 1959. Followup studies, also at obesity clinics, found comparably\nhigh rates of recidivism.\n\nBut when you take the most pathological cases of obesity in a time before\nobesity was the norm, unsurprisingly those cases are ... _pathological_. There\nis a _pathology_.\n\nThese aren't normal people who grew overweight under conditions of stunning\ncaloric abundance.\n\nSo let's stop quoting this statistic because the sample bias is kindly\n_stupidly important_ to its interpretation.\n\n~~~\nbdehaaff\nThanks for the comment. I actually spent a considerably amount of time looking\nfor a meaningful reference. I found the Popkess-Vawter 1998 reference, but\ncould not find the original text. Do you have a better number for \"failure\" or\nreference that I could use? I would be happy to update the post.\n\n~~~\njacques_chester\nHard to say. Either you rely on clinical studies, which give you\npathologically-skewed sample bias, or you use the National Weight Control\nRegistry, which will be skewed to people wanting to report successful weight\ncontrol.\n\n~~~\nbdehaaff\nThanks. I am not an expert in this area (diet success data) and was simply\ntrying to use an analogy. I guess I will leave it as is. I am not sure what\nelse to do -- it seems that leaving it with no reference would be worse.\n\n~~~\njacques_chester\nWell at least you can join the noble ranks of folk whose writing was\ntangentially nitpicked in the very first HN comment.\n\n~~~\nbdehaaff\nHappens every time. I have learned to expect it. It does make me spend a\nlittle more time though thinking through the counter arguments that are likely\nto be fired like spears.\n\n~~~\njacques_chester\nComments like mine are why I always answer \"please no\" in those hypotheticals\nabout meeting yourself.\n\n------\nbernardom\nAs an industrial engineer, this is the equivalent of a developer walking into\na factory and hearing about how \"the mythical man-month\" is a terrible\nbook/idea because it allows for waste.\n\nRight. The Mythical Man-Month is a great book/concept for creative/engineering\nprojects. Kanban is a wonderful way of implementing a Just-In-Time\nmanufacturing system.\n\nProps to the OP for explaining the origin of kanban. May this post help fix\nthe co-opting of an IE term for something totally different.\n\n~~~\nbdehaaff\nI appreciate that. I really do. It's rare to receive an ounce of props on HN.\nI must admit that I was totally surprised to learn that it was not designed\nfor software development and that the author of the Lean Methodology has been\ntrying to convince folks to stop using it.\n\n~~~\nagileramblings\nWhat do you mean the author of the Lean Methodology has been trying to stop\nfolks from using it? Are you suggesting David Anderson wants us to stop using\nKanban for Knowledge Work?\n\n~~~\nbernardom\nFrom TFA:\n\n \n \n David Anderson, the creator of The Kanban Method (discussed above) wrote the following in late 2010.\n \n \u201cKanban is NOT a software development life cycle or project management\n methodology! It is not a way of making software or running projects that make software!\u201d\n\n~~~\nagileramblings\nUnfortunately, the tendency to overload terms with multiple meanings is\nconfusing the situation. It is very common for the word kanban to be used\nincorrectly because there are three commonly confused meanings for the word.\n\nkanban - visual signal, signboard kanban system - pull-based, wip limited flow\nmanagement system Kanban Method - an approach to incremental, evolutionary\nprocess and systems change for organizations\n\nSo yes, the Kanban Method is not an SDLC method. It is a meta-method that will\nallow for the emergence of an appropriate SDLC within an organization. That\nSDLC may be Agile (very good things in Agile mindset), may be waterfall, may\nbe Scrum or Scrumban-ish, but it should be appropriate for then context.\n\nPlease refer to this wikipedia entry:\n[http://en.wikipedia.org/wiki/Kanban_(development)](http://en.wikipedia.org/wiki/Kanban_\\(development\\))\n\nYou don't see any SDLC specific tactics or guidance in there. That is true.\nYou don't see any Agile language in there. It doesn't provide any specific\nAgile guidance.\n\nDoes the Agile Manifesto have any specific SDLC tactics? Please refer to\n[http://www.agilemanifesto.org](http://www.agilemanifesto.org)\n\nYou won't find any specific tactics for software development in the Agile\nManifesto either. But out of the mindset comes specific SDLCs that are aligned\nto the manifesto like Scrum or XP or any of the million \"custom\" Agile\nmethodologies that have no name but are used by IT organizations everywhere.\n\nDavid Anderson absolutely wants the Kanban Method to be used (as appropriate)\nin organizations that do knowledge work (software development is knowledge\nwork) to help those organizations develop the best workflow and capability for\na given context and to create a culture of learning, growth, and continuous\nimprovement. I've talked to him many times about these very topics! Many of\nthe case studies that we quote in our work are from software development\norganizations.\n\nThe quote used above has been taken out of context, isolated, and used to\ncreate fear, uncertainty and doubt about The Kanban Method and I find that\nkind of behaviour negligent at best.\n\n------\narkades\nWhat the heck do kanban have to do with project management? Speaking -as- a\nLean Six Sigma Black Belt (still can't type that with a straight face) in the\nhealthcare sector, I can't even imagine how someone would set out using a\nkanban to run a company.\n\nThat's just so wildly divorced from what it is or what it's for that that\narticle made no sense to me.\n\n~~~\nbdehaaff\nThis is somewhat the point. Engineering managers have started to reach for\nKanban -- and it does not fit.\n\n------\nthrowawaykf02\nI'm loath to take this on faith without better description of the dataset. 150\ncompanies sounds impressive, but, where are they based? What areas do they\nwork in? How long have they been doing it? Have other factors, such as the\nhealth of these companies, been considered?\n\nStill, many of these points resonated with me.\n\nI started recently on a team that follows kanban-ish practices. Fortunately\nnobody here is that process-focused that we follow it exactly. Also, there is\nnothing that says you have to work on only one thing at a time, and we\ntypically don't. In fact, I work part-time on _another_ team, and the other\none does not do kanban.\n\nBut I don't much like the kanban system: Give me a satisfyingly large\ncomponent, and let me work on it entirely.\n\nSo for kanban in general, here's another facet to consider, and one that\nprobably explains why engineers are \"leaving in droves\": As TFA says, you end\nup working on many small pieces of a larger whole. The good part is, you could\nend up becoming aware of all parts of the system that you touch.\n\nBut! When you interview elsewhere, or heck, even when you're updating your\nresume, and it comes to answering the inevitable question, \"What did you work\non in this project\", the honest answer is, \"Uhh, many parts but nothing\n_overarching_ as such...\"\n\nAnd right then, even to yourself, that sounds like such a weasel-wordy answer.\nYou could go on and explain, \"Well, I wrote method A of component X, and\nfeature B of webpage Y and an implementation C of interface Z for cases where\nQ is R.\" But to an interviewer, I'd guess it all sounds like \"I worked on\nnothing worthwhile.\"\n\nOn the other hand, since you have better awareness of the project as a whole,\nyou could say you worked on _all of it_ , and make up more impressive-sounding\nresponsibilities as you go along.\n\nBut I find it much easier if I just do something impressive and be\nstraightforward during interviews.\n\n~~~\nbdehaaff\nThanks for the comments. The companies have been distributed across the\ncountry (with a few outside of the US as well). They have been of different\nshapes and sizes, but I did not do a good job tracking all of their\ncharacteristics. The purpose of the calls was to discuss Aha! -- not different\nengineering methodologies. A few trends jumped out at me and this was one of\nthem, so I decided to write about it and try to be fair that the ideas are\nbased on qualitative research (discussions). I appreciate your thoughts and\nthe idea that engineers should own large components of a project or entire\nprojects resonates with us. We think it creates real pride of ownership and\ninterest in customer success and it has been how we have organized our\nengineering teams at three different companies now. It's clearly better for\nindividuals (as you mentioned) and the companies they work for.\n\n------\nmdehaaff\nReally interesting piece. It is amazing that a technique used to optimize shop\nfloors has been applied to the engineering field which I believe to be so\ncreative versus \"industrial.\"\n\n~~~\nbdehaaff\nThat surprised me as well. I think engineering managers are willing to try\njust about anything to regain some control and deliver software more\npredictably. My sense from talking to many companies is that it is\nunfortunately having the opposite effect.\n\n------\nparasubvert\nThis is a confusing argument.\n\nKanban/lean is a pretty simple idea (not always easy to execute): eliminate\nwaste in your work by smoothing the flow of requirements/changes. This treats\nyour end-to-end delivery capability as a syatem and one that should not be\noverburdened.\n\nThe clearest sign of being overburdened is when you have a lot of work in\nprogress but nothing to show for it. So instead of a genius PM/business\nanalyst/product owner handling out a tome of requirwments from on high with a\nthud, you break the work down into a minimally useful / marketable chunks,\nminimize work in progress, deliver according to some priority, and iterate and\nlearn from the results.\n\nThis is the philsophical foundation of lean Startups (customer development),\nlean development, and much of the work on Devops.\n\nSo the article rails against Kanban ... And almost seems like its advocating\nfor the same thing with its goal-driven approach to delivery (?).\n\nAny methodology or process framework is subject to misinterpretation or abuse.\nThis is why \"agile\" and \"scrum\" are dirty words to many - it's hard to tell\nwhat you're getting, as the term has been twisted to suit vested interests. It\nlooks like it is Lean and Kanban's turn to be trashed due to ersatz versions\nbeing forced on teams.\n\nBut articles like this aren't helpful unless they explain what they mean\nKanban, and what aspects are ineffective - clich\u00e9s like \"software is\ndifferent\" don't illuminate.\n\n~~~\nbdehaaff\nI tried to clearly define Kanban as a \"Kanban (meaning signboard or billboard)\nis a scheduling system for lean and just-in-time production. It\u2019s a system to\ncontrol the logistical chain from a production point of view. Kanban was\ndeveloped by Taiichi Ohno, at Toyota, to find a system to improve and maintain\na high level of production. The Kanban Method was later added to as an\napproach to incremental, evolutionary process improvement for organizations.\"\n\nThe point is that it is a mistake to take a methodology that was created for\nincremental process enhancement along a manufacturing line and apply it to\nsoftware development.\n\n~~~\nparasubvert\nSo, I've had the opposite experience: lean-type incremental process\nenhancement has had dramatic improvements on the end-to-end results of more\nthan one company I've been involved with.\n\nI look at a book like The Phoenix Project, written by some fairly respected\nsoftware industry folks like Gene Kim, and they also recommend the opposite:\nthat software development and IT operations actually are a lot like an\nindustrial shop floor and benefit from being organized in an end-to-end pull\nflow like Kanban.\n\nI look at Four Steps to the Epiphany by Steve Blank, or Lean Startup by Eric\nRies, while they aren't specifically dictating a Kanban board in their work,\nthey're clearly philosophically in the camp of a pull-based approach to\norganizing work and limiting work-in-progress.\n\nSo, what I haven't determined from your article is, what specifically is\nflawed with these authors views and my experiences? Am I being over-broad in\ntheir inclusion? My interprtation of your article this far is a well-meaning\nbut under-argued philosophical aversion to being lumped in with other\nindustrial engineering practices.\n\nEdit: clarity\n\n~~~\nbdehaaff\nFrom my experience and from what I am hearing it (meaning Kanban) does not\nwork for most folks or companies. That's it. It might work well for you and\nthat's great too. I don't think Kanban and Agile philosophies are the same\nthough - but that's at least another long blog post.\n\n~~~\nparasubvert\nFair ball. I'd say if its being latched onto as a panacea, almost all\napproaches to process will fail if you lack the basics: a good market, an\ninsightful product owner/manager, good engineers, and at least an adequate\nmorale in the company.\n\nI've seen companies/projects with all of those things still fail because of a\npoor process. This is where something like Kanban can help, IMO. Not trivial\nto implement though.\n\n------\nmczepiel_\nAs others have noted the definition of kanban comes too late in your article.\nAlso, I think a citation to wikipedia is in order if you're going to copy it\nand simply expand the initialisms.\n\nRegardless, it's not a particularly helpful definition for anybody that's\nnever heard of kanban, and certainly doesn't help anybody familiar with kanban\nto know what specifically you're evaluating; you need to get everybody on the\nsame page from the outset.\n\nGiven lack of concrete examples and your previous posting history I would\nconsider this more of an advertisement for your product, to which I've now\napplied for an invitation, but you seem to be genuinely responding to comments\nhere and nobody else has complained. I suppose either way, well played.\n\nI have other comments but I'll hold them until I find out exactly what you\nmean by kanban, because I've been admittedly self-identifying the process I'm\nusing as kanban and maybe it's not.\n\nI will say this much though, the practices of kanban (visualization, limited\nwork-in-progress, managed flow, feedback loops, etc.) are all valuable in my\nopinion and I wonder which of these you see leading to, or how you see them\nleading to, the problems you've cited. Also, I wouldn't mind some more\nconcrete metrics to back up such an inflammatory title.\n\n------\nforloop5150\nPick the right tool for the right job. For a product team Kanban does not make\nmuch sense. I agree with your comments in general. But for a PS or Custom\nDevelopment team, where most projects are integration type projects or custom\nreports and tend to take 2-3 days to complete, it is a good way to go.\n\n------\njasonlittle\nSummary of this article: Kanban sucks, use our tool to make roadmaps! To me,\nthis is clearly a case of trying to stir up controversy to get people to sign-\nup for his tool.\n\n------\ntantalor\nWhy wait until the sixth paragraph to define the term?\n\n~~~\nbdehaaff\nFair point. I was not certain where to add it. My belief, based on my\nconversations was that many have heard about it -- so I did not want to bore\nthose in the know.\n\n------\nrparet\ntl;dr: author of the article is laboring under many false assumptions about\nKanban (and lean software development in general) likely due to a combination\nof inexperience using such methods personally and unfamiliarity with the\navailable literature. The following is a rather long attempt to correct the\nbase misunderstandings in the article, with pointers to relevant source\nmaterial. Enjoy!\n\nFirst, an operational definition: Kanban as it's used in lean software\ndevelopment is 1. visual representation of the work that's in the system and\nwhat state it is in and 2. an opportunity to limit the amount of work that can\nbe in each state.\n\nThat's it.\n\nAlmost every organization that writes software uses something to keep track of\nthe work, and what state it is in - by this logic the title of the article\ncould be \"spreadsheets - the secret engineer killer\", or \"JIRA - the secret\nengineer killer\".\n\nAccording to the article though, Kanban is ruining engineering teams in\n\"nearly every company\" that has adopted Kanban out of the 150 companies the\nauthor talked to in the last 60 days. (Some numbers on how many of them are\nusing Kanban, and for how long, would have been nice facts to include, btw.)\n\nSo, let's unpack some reasons why this is:\n\n\"Engineers are not assembly line workers\" \\- Implying Kanban and pull-based\nsystems only work for \"widget producers\" and forces engineers to focus on the\nindividual trees, not the forest. I think this sort of highlights the author's\nmisunderstanding of Kanban (and to an extent any pull-based system) and what\nrole it serves in an organization. Kanban isn't magic - it not an\norganizational design, it's not a product development strategy, and it's\ndefinitely not a substitute for leadership. It's a chart on a wall that shows\nwhat the work of the product development organization looks like, right now.\n\nFor an example of an overall software product development strategy that\nincorporates pull-based systems as one component, I recommend checking out\n\"Principles of Product Development Flow\" by Don Reinertsen.\n\n\"It teaches you that you and your engineers cannot be trusted to estimate work\nor handle complex multi-faceted projects.\" \\- How does it do this? Nothing\nabout Kanban implies no estimates. In fact if you use Kanban and measure cycle\ntime, you will be doing evidence-based scheduling which will allow you to make\n_better_ estimates. As for \"complex multi-faceted projects\" \\- I don't know\nwhat the author is talking about. Please read \"Scaling Lean & Agile\nDevelopment\" by Craig Larman and Bas Vodde for some actual evidence and\nlessons learned on lean / agile approaches being used on huge software\nprojects. Also \"Scaling Agile at Spotify\" by Henrik Kniberg is worth a read,\nas Kanban features there (by team choice!) as one small component in a lean\nsoftware development org design / product development strategy.\n\n\"Kanban forces a 'one work item at a time' mentality and resists milestones.\"\nThis is simply not true and such a basic misunderstanding I have to wonder if\nthe author of the article has taken the time to read any of the introductory\nliterature. If not, I suggest the aptly titled \"Kanban\" by David J. Anderson.\nKanban wants you to limit work in progress, which is one of the basic goals of\nany product development system. It doesn't say how much it should be limited,\nor where it should be limited. Every system, everywhere, already has limited-\nWIP in the form of bottlenecks. The hopeful goal of pull-based systems in\ngeneral and lean software development specifically is that you'll use these\nsimple tools to look at your process and eliminate wasteful activities and\nstreamline those bottlenecks that must exist to deliver maximum value to your\ncustomers. In this sense, you can use Kanban as a tool to maximize the whole\nof the product development process which is certainly a macro (org level) goal\nand outcome that stands in stark contrast to the claims in the article that\nKanban in general promotes micro optimizations and misses the big picture.\n\nFor more general reading on why limiting work in progress is a good idea, I\nsuggest \"The Goal\" by Eli Goldratt or more recently \"The Phoenix Project\" by\nGene Kim. As far as milestones go, nothing in a pull-based system is\nincompatible with milestones of fixed date or fixed scope. If your idea of\nmilestones is chucking arbitrary dates on a calendar based on an estimate\nbefore work begins and then stubbornly refusing to adapt those milestones when\nthe situation on the ground changes (i.e. milestones of fixed date and fixed\nscope), then I could see the potential nature for conflict, but surely you're\nnot out there doing that in real life, right? (Right???) If you are, and\nthat's the issue - Kanban isn't the problem, the problem is the assumptions\nyou are operating on are faulty - nothing will work for you. Smarter folks\nthan me have written about the perils of fixed date and fixed scope\ndevelopment, I suggest googling for Neil Killick's thoughts on the matter.\n\n\"High performance individuals and companies are goal and date driven.\"\nCitation needed. I know many people really, really believe this but you should\nreally verify. Also, see Fred Brooks \"Mythical Man Month\".\n\n\"Kanban was never intended for software development\" \\- What? Again, the guy\nyou quote actually wrote a book on using Kanban with software development\nteams. You should read it, as it would probably correct 90% of the\nmisunderstandings in your article.\n\nThose are the key arguments in the article about why Kanban is \"the secret\nengineer killer\". Hopefully by now it's clear that these arguments aren't very\ngood and it certainly wasn't any trouble for me to refute them along with a\nbibliography for further reading. That doesn't mean Kanban or lean are perfect\nthough - there still is no silver bullet. Hopefully this inspires some folks\nto launch a more throughly-researched critique of lean, kanban, or pull-based\nsystems in the future as I think that kind of discussion can be really\nbeneficial.\n\n~~~\ncuriouscats\nWell said. I find it is very common to use the straw-man criticism technique\n[http://en.wikipedia.org/wiki/Straw_man](http://en.wikipedia.org/wiki/Straw_man)\nabout bad management practices. The quality of management is often bad. The\nquality of management, even of good practices, is often bad.\n\nCriticizing those implementation of the practice is perfectly fine. But\nclaiming that the practice is suppose to be something different than it is, is\nnot fine. I agree with you here, that is the biggest problem. If you\nunderstand how kanban for software is suppose to be done, the criticisms don't\nmake sense.\n\n------\nkneu\nI agree. It doesn't allow the engineer to really own a project from start to\nfinish. Thanks for a great post.\n\n~~~\nbdehaaff\nThanks. I appreciate the thought. It's rare on HN to have someone write\nsomething nice.\n\n------\nfleitz\nLike 'fad diets' most of the reasons that kanban fails is because the\norganization was sick to begin with and kanban would have helped if not for\nthe structure of the organization in the first place.\n\nFad diets mostly fail because people go back to eating the same shitty way\nthey did before, just as when a team adopts kanban marketing and product go\nback to the same stupid way of doing things they did before.\n\nThe sad part is that in the vast majority of organization engineering actually\nknows more about the product than product or marketing.\n\nThe core of it is that most engineers don't want to work on the stupid fucking\nideas that product and marketing come up with instead preferring to make the\nproduct 'good' instead of creating feature parity with some competitor.\n\nIf product and marketing were actually good at their jobs they should at least\nbe able to convince the engineers in their own fucking company that what they\nare thinking is a good idea. Right now I'm picturing the eye-rolls at Porsche\nwhen product and marketing announced the idea for the Panamara.\n\n[http://blogs.cars.com/kickingtires/2012/09/of-course-we-\nneed...](http://blogs.cars.com/kickingtires/2012/09/of-course-we-need-a-\nporsche-station-wagon.html)\n\n~~~\nbdehaaff\nI agree with your thoughts around dysfunction as it relates to fad diets and\npoor habits. I also think that many engineers think they know best, but in a\nwell functioning org PM actually knows the customers and market and has a\ncollaborative relationship with engineering. Do you think that PM has no role\nor that in most cases they just don't do it well?\n\n~~~\nbhattisatish\nOn the contrary in the Kanban process, PM is the pivotal role. They control\nthe que, the cadence of feature releases, etc ... Without an effective PM, the\nwhole thing will fall as a pack of cards.\n\n~~~\nbdehaaff\nTrue. But PM needs to pick its head up and think more broadly. A \"one in one\nout\" queue is contrary to delivering winning product.\n\n~~~\nbhattisatish\nAs I have said below\n([https://news.ycombinator.com/item?id=6119175](https://news.ycombinator.com/item?id=6119175))\nYou need to delink engineering releases from marketing releases. Where is it\nwritten that when the engineering releases a feature you need to make a\nmarketing push? When you have a collection of features ready which as a whole\nmakes sense for marketing, then you make a marketing release with all the\nrelated PR, hype cycle, etc ...\n\n"} {"text": "\n\nAsk HN: Good forum for hobbyish ARM(industrial) design discussions and advice? - trotsky\n\nHave some embedded, board level integration experience, nothing really - getting simple boards masked for low density shit. Broadly interested in learning about the next level in ARM board level design (call it cubbie board esque). But I've zero luck finding such a place - it's either raspi/arduino folks (not a diss), folks mostly repurposing android mobile or net tops for software, or the people who are really on the supply side - either they are talking about building the newest open mobile designs with the cheapest bom in chinese i can only half follow, or they are the real deal talking about modular soc components and electronic interface issues with off soc component count vs oem ability to implement. And high cost IP.

I am hoping to for something in english (ha! I'll survive) or just anything that might be suitable. An HN sorta thing where people often have a clue would rock, but the big missing piece is picking soc->minimal reference board revisions->build or source some custom stuff to give the arm some supervoisor like qualities on the x86.

To balance a zero content post, I provide my rough plan to amuse to reader. Basicially I want to combine a SFF server (think HP microserver or so slash less for mini. Most are essentially low end x76 roll your own nas that make do with 150w and 4 sata bays, 2 dimms and 1 eth.

I want to see what I can do if I meld that kind of platform together with a few low poer arm linux servers all in one case. I imagine the arm sections being able to utilize some kind of pci/pci or similar bridge as well as monitoring, reset, ipkvm etc that could leave them as super programmable debuggers more or less, that could always easily act as low power satndins for much of the traffic that wakes up your typical low use server - ntp, ping, mild file serving, ldap, etc. Anything harder and they could provide a superior holding pattern as the main box woke up from deep sleep.\n======\nmschuster91\nActually, the idea of coupling together a ARM SoC, a Ethernet switch, a USB\naudio interface and a bit of power-monitoring circuitry (and some relais) to\nmake a dead-cheap desktop remote management solution has hit me too. Maybe\neven add a battery to provide a buffer against +5VSB outages (due to \"real\"\npower out); after all, a tiny ARM doesn't suck really much power.\n\nBut I'm a software guy, not a hardware developer - I can get a basic circuit\nboard done, but no BGA or SMD mounted stuff...\n\nI think the market for such a card - especially if built in half-height to fit\ninto existing servers - is very very great. Wake on LAN just isn't enough for\nmanaging thousands of desktop computers, and \"true\" IPKVM systems come at a\nhundreds-of-$ price tag, and they're an external box nonetheless.\n\n~~~\ntrotsky\nHey, glad to hear from a like minded soul. It's true they'd likely make quite\ngood ipkvms as long as you're OK with having CVE's pop on your ipkvm gear. I\nguess they probably already do.\n\nI think even just embracing it as an ipkvm++ opens up a lot of potential\nadditions to the current approach. There's no reason why you wouldn't want to\nbuild in remote power and triggers to go into S3/S4 powersave. There are still\nplenty of shops that prevent sleep to make maintenance easier. And It'd be\nsuper easy to hook a usb port up as a usb client and software fake whatever\ndvdrom you happened to want to boot.\n\nIf you ever feel like shooting the shit, i'd be down to hear what parts of it\ndoes it for you or whatever else was on your mind. I have the same nick on\ngithub.\n\n~~~\nmschuster91\nActually all of the bigger SoC families bring USB gadget support with them...\nthe Linux kernel has at least support for USB mass storage and networking (of\ncourse, networking is useless, because of low speed) - so it should be\npossible indeed to internally connect the USB jumpers to the ipkvm board to\nprovide HID and storage.\n\nThe only thing is now to get a cheap way to adapt VGA (or better yet, DVI) to\nan SoC. Video encode is supplied with the chips, the real difficulty will be\ngetting the signals to the CPU, though.\n\n------\nippisl\nMaybe there are some guys at reddir: /r/electronics or /r/ece that do high\ndensity pcb's and arm.\n\n~~~\ntrotsky\nThanks for the tip! I really appreciate the response. While they're probably\nnot the spot, I'm pretty sure it's a way batter place to ask the same\nquestion. Cheers,\n\n"} {"text": "\nCreating a low-latency high-availability network for voice calls - moxie\nhttp://www.whispersystems.org/blog/low-latency-switching/\n======\nScramblejams\nNot enough detail here, but I'm surprised when I see the terms \"voice\" and\n\"TCP\" together. Do they use TCP to set up the call, then UDP to handle the\naudio?\n\nEdit: Yep, they use UDP for the audio:\n[https://github.com/WhisperSystems/RedPhone/wiki/Signaling-\nPr...](https://github.com/WhisperSystems/RedPhone/wiki/Signaling-Protocol)\n\n~~~\nbradleyland\nWith the traditional VoIP stacks, yes. There are two components to making\nphone calls: messaging and media. The messaging part sets up and tears down\ncalls. The media part passes the audio.\n\nI'd imagine they're doing the same.\n\n~~~\ndkhenry\nbut typically you use something that can have at least some intelegent\nbehaviour like RTP not UDP. Why did they choose that when literally every\nother pure VoIP service uses RTP ?\n\n~~~\nmoxie\nWe use RTP (actually SRTP and ZRTP), but the transport is still UDP.\n\n------\njpollock\nThe next problem will be when they get to having large numbers of servers in a\nregion.\n\nThen two problems will manifest themselves.\n\n1) The client will take long enough to work through the list of servers that\nthe wrong server is chosen simply because the connection is initiated first.\n\n2) This design has all servers seeing all calls. The load represented by all\nthe TCP connections hitting all of the servers will consume more and more of a\nserver.\n\nNeither is a problem you can solve by adding more servers. In fact, they are\nmade worse by adding servers!\n\nHowever, if you're charging per call, that's what they call a \"good problem to\nhave\".\n\nNifty solution to the problem though.\n\n~~~\nmoxie\nAgreed. We haven't run into this yet (and aren't charging at all, this is an\nOSS project), but I think that would be the point where you have to do one of\ntwo things:\n\n1) Architect your DNS response to include a small sample of the total result\nset for the region, where the sample includes at least one switch from each\nmicro-region.\n\n2) Break down and introduce load balancers, so that there's on load balancer\nper micro-region, which fronts all of the switches within that micro-region.\n\nFortunately an individual switch doesn't really do much (just shovel packets\naround), so the number of simultaneous calls a switch can handle is high\nenough that redundancy is more about availability than load.\n\n~~~\nJshWright\nI don't see how the license the software is released under is related to how\nmuch you charge to use the service...?\n\n~~~\nmoxie\nFair enough, I should have been more specific.\n\nI was trying to imply that this is not a for-profit project, but you're\ncorrect, that's not what a software license communicates.\n\n------\ngz5\nThe server architecture is nice but my favorite part is the simple signaling\nprotocol, as opposed to SIP or any other overly complex (for this use case)\ntelephony signaling protocol. Nice work.\n\n------\nandrewcooke\ni'm confused (which is not too surprising as i am no expert on this). why\ncan't they hole-punch through nats? then they would avoid the extra bounce-\nthrough-server latency and would hugely reduce the load on servers. i thought\nthat was how skype worked, for example.\n\n(i realise this doesn't stop their \"fastest first\" idea being useful - i got\nkind of sidetracked by the explanation of how servers are used near the start\nof the post).\n\n[ah, ok. thanks for the explanation.]\n\n~~~\nmoxie\nYour NAT traversal strategy is limited by the type of NAT being employed.\nTraditionally, the worst case scenario for NAT traversal is \"symmetric NAT.\"\n\nSymmetric NAT means that each tuple of (source_ip, source_port,\ndestination_ip, _destination_port) gets its own unique (external_ip,\nexternal_port) tuple. This is bad because it means that STUN is ineffective:\nyour STUN server will see a different external port than what your actual\ndestination would see.\n\nMobile data networks are actually _worse_ than symmetric NAT. Not only will\nyour external port change based on your target, but your external IP likely\nwill as well.\n\nThis makes NAT traversal, AFAIK, basically impossible.\n\n~~~\nvy8vWJlco\nAnd there's no real reason to do it either given the availability of global\nIPv6 addresses and any of the free tunnel brokers/teredo/etc, other than the\nsimple lack of adoption/momentum. Most ISPs will need a push, but from an\ninfrastructure perspective it just boils down to a new gateway router or a\nfirmware upgrade. It doesn't even need replacing the end-user equipment if\nISPs simply set up a tunnel server for their own customers as a transitional\nmeasure.\n\n------\nmtrimpe\nSo it's basically a very pragmatic tradeoff for getting 80% of the value of\ngeo-based DNS with only 20% of the effort.\n\nNice work ...\n\n"} {"text": "\nUnited will offer up to $10,000 to bumped passengers - smaili\nhttp://www.chicagotribune.com/business/ct-united-airlines-dragged-passenger-bumping-changes-0427-biz-20170426-story.html\n======\nmariuolo\nKeyword being \"up to\".\n\n"} {"text": "\n\nCo-founder or no co-founder? - sum_itsin\nhttp://www.roundbreak.com/2012/06/05/co-founder-or-no-co-founder/\n\n======\npedalpete\nCompletely agree, but I think PG assumes that anybody who is smart/good enough\nto get into YC is going to have a solid co-founder.\n\nI wonder how many YC companies have failed due to a co-founder break-up.\n\nOutside of YC, I hear a co-founder break up is one of the top reasons a\ncompany fails.\n\n~~~\nsum_itsin\nThat's true. But I am somewhat skeptical about the fact that a smart person\nnecessarily is the one with good networking skills or the one capable of\nforging sound relationships. There are times when a truly smart person, either\ndue to his own eccentricity or the environment, doesn't get to have a chance\nof having a good co-founder unless he relocates himself which is hardly\npossible in many cases.\n\n"} {"text": "\nPandoc Markdown and ReST Compared (2013) - hidden-markov\nhttp://www.unexpected-vortices.com/doc-notes/markdown-and-rest-compared.html\n======\negh\nThe really nice thing about ReST is that it has provided generic syntax for\nextensions, one for inline text: :foo:`hello world` and for blocks:\n\n.. extension:: hello world\n\nIn markdown, on the other hand, you have multiple, incompatible versions which\nhave entirely different syntax because there is no generic extension\nmechanism.\n\nReST feels more well thought-out, generally.\n\nThat said, I've pretty much given up advocating it, because markdown seems to\nhave won and has so much more tool support.\n\n~~~\nBruceM\nI like ReST as well. With Sphinx, it is great for producing documentation. A\nproject that I work with has converted hundreds of pages of books of technical\ndocumentation over to Sphinx and a custom Sphinx extension.\n\n~~~\nfprintf\nI like ReST as well.\n\nIt's more powerful and looks much cleaner\n\n// e.g. how do you write footnotes in markdown? And how do you do this in\nmarkdown?\n\n \n \n +------------+------------+-----------+\n | Header 1 | Header 2 | Header 3 |\n +============+============+===========+\n | body row 1 | column 2 | column 3 |\n +------------+------------+-----------+\n | body row 2 | Cells may span columns.|\n +------------+------------+-----------+\n | body row 3 | Cells may | - Cells |\n +------------+ span rows. | - contain |\n | body row 4 | | - blocks. |\n +------------+------------+-----------+\n\n~~~\nmercurial\nSince basic Markdown is so basic, multiple incompatible flavours of Markdown\nhave cropped up, including Pandoc-Markdown, which can do footnotes.\n\n------\nbiscarch\nPandoc is actually a really powerful tool for converting between different\nformats. As an example, I recently wrote a book using Markdown (Pandoc's\nversion) and was easily able to export .html, .pdf and .epub from my markdown\nfiles. The addition of footnotes and built-in syntax highlighting (with\noptional line numbers, etc) was also very useful.\n\nPandoc can be as simple as `pandoc input.md output.pdf` but can also handle\nthings like a Table of Contents, different highlighting styles, latex engines\nand fonts:\n\n \n \n pandoc --toc --variable version=0.0.1 -N --highlight-style=tango --latex-engine=xelatex --variable mainfont=Helvetica --variable monofont=\"Meslo LG L DZ\" --chapters $(ls -d -1 `pwd`/_input/*.*) -o _output/book.pdf\n \n\nI tend to set the more complicated command as a build file or alias and I've\nbeen considering using local markdown files and then using pandoc to convert\nthem to .html for my WordPress-based blog.\n\n------\nfrou_dh\nThe Markdown ecosystem reminds me of shell scripts in a bad way. There are a\nbunch of subtly and not so subtly different dialects and environments out\nthere, and not many people have a strong awareness of these while writing, so\nif something seems okay \"on my computer\" or in Markdown's case \"on my preview\"\nthen off it goes.\n\n------\nteleclimber\nAm I the only one who feels like they were teleported back to the early 1990s\nupon seeing these text files with code intermingled everywhere?\n\nI am not bashing markdown and friends, as I understand there is a use for\nthese tools in some cases, but I am surprised they are so widely embraced and\nloved.\n\nTo me they just evoke the days of typing an essay on dad's 386 with Word\nPerfect 5.1 installed, and having to hit \"reveal codes\" to figure out what is\ngoing on. MS Word won against WP when they completely did away with these\ncodes.[1]\n\nNow it's 2014 and we're loving building tables by hand-crafting ASCII art.\n\nAm I the only who thinks we can do better?\n\n[1]\n[http://www.theoligarch.com/microsoft_vs_apple_history.htm](http://www.theoligarch.com/microsoft_vs_apple_history.htm)\n\n~~~\ngkya\nMost the tools we have for WYSIWYG document creation lacks _determinism_ and\n_portability_. For the latter, one could argue that there are open formats,\nbut still, there should be a program that can interpret the format; whereas\nwith plain text, such a need is void, as it is possible to view the document\non any decent system. For the former, the argument might be that the modern\nword processors provide the facilities to deterministically lay out a document\nthrough the user interfaces they sport, but then because the formats they save\nare either are endemic to themselves or badly supported in other software*\nthis feature is not of much use.\n\nI can open a Markdown/ReST/Textile/... file with any text editor, including\nNotepad, Vim, Emacs etc., and also view it through _more_ or _less_ programs,\nor just _cat_ them. I can pass them through _head_ or _tail_ ; search them\nwith common utilities and even edit them with some others. I am not bound to\nany programs in order to edit my program. If, on a computer I have to use,\nthere is no Word, or Writer or Pages, I can still edit/read the document. I\ncan read it online, via a browser. I can use programs that are decades old,\nand I also will be able to read the file decades later. When I send the file\nto someone else, I can be sure that they will be able to read it. Any usable\noperating system has a text editor bundled. This level of portability is just\na dream for WYSIWYG editors. For these advantaged, I happily trade editing\nconvenience off.\n\n* Last summer, my cousins needed to use my computer for editing a _docx_ document that was important for their undergraduate education. I was running Ubuntu OS at the time, so I told them to use the LibreOffice's word processor. The experience was bad; the document did not render properly, editing was problematic. This is the only case I can provide as an example to support my argument, as it has been multiple years since I used a word processor program.\n\n~~~\nteleclimber\nI agree with what you said. I understand the advantages of markdown and why it\nis adopted (particularly in dev environments).\n\nBut you seem to agree with me that the markdown editing experience leaves a\nlittle to be desired (\"...I happily trade editing convenience off\").\n\nWhat I don't get is why that editing experience doesn't annoy people more.\nThere are tons of markdown-powered blogging platforms, editors, commenting\nforms coming out every day, but you almost never see projects that try to\nsolve the original problem.\n\n~~~\ngkya\nDesirability of the editing experience is a function of the kind of editing\none does: I mostly write text-heavy stuff, blog posts, README's and similar\nstuff. For these stuff, I am quite happy with markdown, vim and the general\nworkflow of mine around these tools; and I like that workflow. I do not need a\npiece of text to be red, or be centred, or wrapped around an image. Still, me\nand alike are the minority; _normal_ people want these kinds of stuff.\n\nFor instance, I've deployed (!) a couple WordPress blogs and a PhpBB forum for\na friend (yes, I'd touch none of these for my projects). When it was time to\ntest-post in the forum, I started explaining him the markup for PhpBB. His\nreaction was this: \"But in vBulletin, there is a text editor. I think I'll pay\nthem $400 for that.\" He wants to centre the text, and emphasise phrases via\ncolouring them red. Because he can. He is a normal person.\n\nWhile I like my workflow, with markdown, vim, and a static site generator; I\ndo not find markdown and alike useful for any major inscription, e.g. papers\nand books and alike. I'd rather use a suitable tool that takes away the burden\nof manually writing the markup, and allow me to focus on content for such\nwork. iA Writer makes me _horny_ , but unfortunately I do not own a Mac. I\nadmit that I'd go nuts should I need to write a book in, say, LaTeX (or\nhowever it is spelled). Yet, the problem of portability of files is a superior\nproblem than lack of convenience while editing. If I write my book with iA,\nand if it goes next year, what'll I do?\n\n~~~\nteleclimber\nThank-you for the thoughtful response.\n\nYes, clearly the markdown thing is natural for developers. After all devs\nspend all their time in cryptic text files that get transformed into something\nmore useful and beautiful That's their (our) thing.\n\nAnd since developers are the ones who create forum software, blogging\nplatforms, one can only expect that their personal preferences would bleed\nover into these projects.\n\nBut it's unfortunate because in the meantime we're not really advancing the\nart of editing content, which is something the \"normals\" would appreciate.\n(And I think even a number of developer-types would appreciate writing content\nwithout markdown if you gave them something that actually worked and worked\nwith static site generators.)\n\nRegarding IA, I don't have it but it says that it saves files as plain text?\n\n~~~\nbowerbird\nlet me try again.\n\nif you have _specifics_ on \"the art of editing content\", and the interface you\nwant, i would like to hear them...\n\n-bowerbird\n\n------\nspecialist\nThose ReST examples reminds me of the ASCII docs I'd write for my shareware\nsoftware. Fairly typical for the time.\n\nNot so different from the IEFT Document Conventions. [http://www.rfc-\neditor.org/rfc/rfc3.txt](http://www.rfc-editor.org/rfc/rfc3.txt)\n\nOr the RFC guidelines. [https://www.rfc-editor.org/rfc-style-guide/rfc-\nstyle](https://www.rfc-editor.org/rfc-style-guide/rfc-style)\n\nI wrote a markdown renderer for my web dev stack. And I've been \"cross\ncompiling\" to markdown, screen scrapping docs and persisting it to markdown.\n\nNow I realize choosing markdown was rather arbitrary (personal preference,\nfamiliarity). Any document structure would suffice.\n\nNice comparison, thanks.\n\n------\nbeagle3\nMarkdown has always looked limited and incomplete to me.\n\nBut I can't decide between ReST(+Sphinx) and AsciiDoc(+?) - ReST seems to me\nlike it was better thought out, but somehow my AsciiDoc documents turn out\nlooking better, even though I like ReST more.\n\n~~~\nlambda\nNote that this article compares Pandoc Markdown to ReST; Pandoc adds a lot of\nfeatures that vanilla Markdown lacks.\n\nOf course, this is one of the big problems with Markdown; there are a bunch of\ndifferent implementations, each of which adds its own extensions. Actually, if\nyou take a look at the Pandoc homepage, you'll see that it implements 5\ndifferent Markdown flavors:\n[http://johnmacfarlane.net/pandoc/](http://johnmacfarlane.net/pandoc/)\n\n------\njoaomsa\nFor me Markdown wins just because I'm used to dealing with it daily on GitHub.\n\nSidenote: Wish Github Flavored Markdown would adopt some nice things from\nPandoc, like multiline tables.\n\n------\nballadeer\nPandoc and ReST are extensive, flexible, and simply complete. They are great.\nI have never understood the fetish behind Markdown and the cult-like fan-\nboyish approach to it. It was not needed. It would have been rather good to\nstandardised an existing markup (or a combination of them) than copy the\nexisting one and pretty much release it with a different name.\n\n~~~\nTuring_Machine\n\" I have never understood the fetish behind Markdown\"\n\nFor one, there are multiple (and good) implementations of Markdown in\nJavascript, so it's trivial to embed Markdown in web pages and do all the\nprocessing client-side -> faster and better user experience + much lower\nserver load.\n\nPandoc a) only runs locally/server-side and b) requires a 200 MB Haskell\ninstall before it will work.\n\n------\nnsomaru\nAlways wondered how Pandoc MD, ReST compare when my document type is slightly\nmore complex, for example: a question and answer session?\n\nI ended up entering notes from such sessions into handwritten XML, which I am\nreconsidering. What is a good format to store one's notes? I am transcribing\nfrom handwritten text.\n\n------\nbowerbird\ni am in the process of releasing \"zen markup language\".\n\nit's \"lighter\" than all the other light-markup languages.\n\nit's more _powerful_ than the others, including asciidoc.\n\nit's also far more agile, and much easier to understand.\n\nand i won't allow it to be fragmented, like markdown is.\n\ni've coded converters in javascript and other languages.\n\nthe javascript minimizes well for inclusion in web-pages.\n\ni have cross-plat apps, and a web-app converter with a.p.i.\n\noutput formats include .html, .epub, .mobi, .pdf, and more.\n\nif there's anything i haven't thought of, do please tell me.\n\nyou can reach me at my e-mail address given in my profile.\n\n-bowerbird\n\n~~~\nprairiedock\nI Looked at the site for z.m.l\n([http://www.z-m-l.com/](http://www.z-m-l.com/)). It doesn't seem to do math,\nso it's a nonstarter.\n\nBTW, Pandoc (which does do LaTeX math) really needs no improvement, only more\nwidespread implementation (e.g., an online site, and/or a chrome extension\ncoded in javascript.) I suppose its being written in Haskell has been an\nimpediment.\n\n"} {"text": "\nShow HN: JsonBatch Playground \u2013 A site to play with JsonBatch Engine - rey5137\nhttps://jsonbatch-playground.herokuapp.com/sample1\n======\nrey5137\nHi. I'm the author of JsonBatch library - an Engine to run batch request with\nJSON based REST APIs. I have setup a small site so you can test out\nJsonBatch's feature.\n\n"} {"text": "\n\nKickStarting a Revolution - dajbelshaw\nhttp://www.coding2learn.org/blog/2013/08/16/kickstarting-a-revolution/\n\n======\ncomputer\nI know that it's superficial, but I have an extremely hard time taking a blog\npost interspersed with large meme pictures seriously. I think you should only\nuse them if your target audience is teens, and when you're near their age as\nwell, trying to write something \"popular\". Definitely not when attempting to\nwrite a serious post.\n\nNote that this is the same blog that recently started a post[0] with:\n\n \n \n TL;DR? Why not just go watch another five second video of a kitten \n with its head in a toilet roll, or a 140 character description \n of a meal your friend just stuffed in their mouth. \u201cnom nom\u201d. \n This blog post is not for you.\n \n\nwhich makes this seem quite ironic.\n\n[0]: [http://www.coding2learn.org/blog/2013/07/29/kids-cant-use-\nco...](http://www.coding2learn.org/blog/2013/07/29/kids-cant-use-computers/)\n\n~~~\npearjuice\nThese are not \"meme pictures\" but rather image macros[0].\n\n[0]:\n[https://wikipedia.org/wiki/Image_macro](https://wikipedia.org/wiki/Image_macro)\n\n~~~\nglomph\nThey are both.\n\n------\nthisiswrong\nGreat article, just one major inaccuracy concerning the Pirate Party:\n\n> they have a silly name and their focus seems to be solely on \u2018sharing\n> culture\u2019 at the expense of everything else.\n\nThen you go on to say:\n\n> What we need in this country is a protest party that campaigns on the issues\n> of Internet privacy, censorship, copyright/patent reform and computer misuse\n> laws.\n\nThe Pirate Party campaigns precisely on these issues. For those that think the\nPirate Party is just focused on protesting against unfair monopolies, please\nlook up their actual ideas.\n\nA good illustration is given on Rick Falkvinge's blog:\n\n[http://falkvinge.net/files/2012/manual/PirateWheel-2012-11-1...](http://falkvinge.net/files/2012/manual/PirateWheel-2012-11-10.pdf)\n\n~~~\nMarcScott\nThanks. I'll have a think about this and then edit the article to give a\nfairer representation to the Pirate Party.\n\n~~~\ncabalamat\nThe Pirate Party's manifesto\n([https://www.pirateparty.org.uk/media/uploads/Manifesto2012.p...](https://www.pirateparty.org.uk/media/uploads/Manifesto2012.pdf))\nspecifically addresses privacy. On p.25 it says:\n\n _We feel that citizens ' right to private and confidential communication is\nvital, but at present it is not respected. We will forbid third parties from\nintercepting or monitoring communication traffic (i.e. telephone calls, post,\nInternet traffic, defend the right of citizens to expose emails) and require\nspecific warrants to be issued by a court before the police are allowed to\nmonitor communications traffic._\n\n------\nmodernerd\nWhy not raise \u00a3338,568 for the Open Rights Group\n([http://www.openrightsgroup.org/](http://www.openrightsgroup.org/)) instead?\nThey're a British group who actively campaign and defend privacy, freedom of\nexpression, and innovation. They could do with the financial support,\ntechnical help, legal aid, and public awareness.\n\nPutting your time and money behind groups like ORG\n([http://www.openrightsgroup.org/](http://www.openrightsgroup.org/)), the EFF\n([https://www.eff.org/](https://www.eff.org/)), and Privacy International\n([https://www.privacyinternational.org/](https://www.privacyinternational.org/))\nfeels more productive to me than playing an expensive system for a one-off\npolitical statement. We need to support and create sustainable groups with a\nvested interest in putting pressure on the policy makers in power. Groups who\nare well-established, who share your views, and who have a head start.\n\nExpressing your distaste for existing parties is valuable. But it is easily\nignored, especially if you do not intend to fight for seats.\n\nIf the EFF and ORG grew as big, influential, and sustainable as other pressure\ngroups such as the National Rifle Association, then privacy and technology\nmatters could start to influence policy makers pandering for votes.\n\nIf you're reading this from the UK, go ahead and join ORG today:\n[https://www.openrightsgroup.org/join/](https://www.openrightsgroup.org/join/)\nThey need more members. \u00a35 a month can make a big difference to them.\n\nYou should donate to the EFF while you're at it:\n[https://supporters.eff.org/donate](https://supporters.eff.org/donate)\n\n~~~\ncabalamat\n> Putting your time and money behind groups like ORG\n> ([http://www.openrightsgroup.org/](http://www.openrightsgroup.org/)), the\n> EFF ([https://www.eff.org/](https://www.eff.org/)), and Privacy\n> International\n> ([https://www.privacyinternational.org/](https://www.privacyinternational.org/))\n> feels more productive to me than playing an expensive system for a one-off\n> political statement.\n\nI agree that a one-off campaign in the 2015 general election is unlikely to\nbear much fruit. However, having said that, the Pirate Party's strategy of\ntackling these problems by being a political party and fighting elections _is_\nalready bearing fruit.\n\nFor example, one reason the European Parliament decided not to go ahead with\nACTA is that they fear it would give a major impetus to the Pirates, who the\noldparties would rather not see getting bigger in the 2014 European election.\n\nThere is no reason, of course, why digital rights activists cannot do both --\npolitical parties and campaigning organisations -- together.\n\n------\nthenomad\nI care about this issue quite a lot, and the central idea - Kickstarting a new\nparty - is a good one.\n\nHaving said that, there are an enormous number of problems with this\nsuggestion.\n\n _\" There should be no need for local campaigning. I\u2019ve never had a politician\nknock on my door to discuss who I\u2019d vote for, but I have had plenty of\nleaflets and fliers put though my letterbox and they end up straight in the\nrecycling. \"_\n\nGood - because everyone else thinks the same as the OP, right? If we promote\non Twitter and YouTube, everyone who matters will learn about the party?\n\nNot so much. A project like this is going to need a marketing budget, and a\nbig one - as well as volunteers on the ground, whether the OP likes it or not.\n\nMost people don't even have a Twitter account. Most people don't follow\nYouTube particularly closely.\n\nAnd as many, many marketing professionals over the years have noticed, you\nneed to tell people about your product a lot more than once for them to buy\ninto it.\n\n _\" There are 650 constituencies in the United Kingdom.\"_\n\nAnd for each of these, you're going to need a candidate. That's 650 people you\nneed to find, who can appear credible to the media (so, they'll need to be\nskilled public speakers who can handle a debating environment as well as a\nmedia interview focused on soundbites), who don't have any skeletons in their\ncloset or non-standard lifestyle choices that the other parties can use to\ndiscredit the entire organisation (\"GEEK WHO WANTS TO BE PM IN BISEXUAL ORGY\nSHOCKER!\"), and who are willing to give up their current careers should they\nwin.\n\nOne of the biggest problems the mainstream parties have is finding qualified\ncandidates - and they've got 100+ years of experience and network to do so.\nFor an upstart party like this, it's going to be a far, far bigger problem\nthan finding the money.\n\nNone of which means that this idea should just be disregarded, but it\ndefinitely needs more consideration.\n\n~~~\ndoctorfoo\n> That's 650 people you need to find, who can appear credible to the media\n\nThey don't need this; I think the idea is purely protest, with no intention of\nthe person actually getting voted in.\n\n~~~\nvidarh\nAs long as the candidates are not batshit crazy some controversy might\nactually be a benefit in getting PR, as long as everyone knows to answer\neverything with \"You know as well as we do that we don't stand a chance of\ngetting elected and anyone trying to make a point out of that are just trying\nto score points; the point of this campaign is to give people an opportunity\nto show their displeasure with the big parties stance on privacy; [launch into\ninfo about the point]\"\n\n~~~\nAndyPPUK\nI would invite readers to consider just how non-trivial the following task is:\n\nHere is a list of 650 people that are almost as geographically diversely\nlocated as it is possible to be while remaining in the UK. Demonstrate that\nnone of them are \"batshit crazy\".\n\n------\nFrojoS\nI followed the, quite successful, foundation and raise of the Pirate Party of\nGermany very closely. Many of my friends and follow activists from our privacy\nmovement, AK Vorrat, became members. I can not recall, money ever having been\na major problem. This was certainly true for AK Vorrat* and I think it was\ntrue for the PP as well.\n\nSure, you would always like to have more money, but it never stops you from\ndoing sensible moves. On top of that, not having boatloads of money makes you\nlook authentic and fresh. When you campaign, you spend so much of your own\ntime and energy, that you happily spend some of your money as well. The listed\ncosts in this article are peanuts for any group of people that can afford to\nstart and propel a political movement. You certainly don't need Internet\ncrowdfunding for that though it might be a good idea for financing an election\ncampaign. In my experience, there are many, many people who want to support\nyour politics but don't think they have the time. Those people are very\nwilling to support you financially with what ever amount they can easily\nafford.\n\nSo, at least in Germany, starting a political movement is not limited by\nmoney.\n\nPS: There was actually some crowdfunding. The company Spreadshirt included\ndonatations for every T-Shirt with the popular Stasi 2.0 logo.\n[http://de.wikipedia.org/wiki/Stasi_2.0](http://de.wikipedia.org/wiki/Stasi_2.0)\nAbout 11,000 Euros were raised very quickly and I remember the many discussion\non \"How shall we spend all this money.\"\n\n~~~\nM2Ys4U\nPolitical parties in Germany receive state funding, which doesn't happen in\nthe UK.\n\n~~~\nFrojoS\nFair point. But again, even if you are not a party, your political movement\nwill have to overcome a lot of major problems. I wouldn't count money as one\nof them.\n\n------\nmozboz\nCan someone enlighten me as to how this achieves anything, other than a count\nof people who abstained?\n\nIf you want to reform something, it seems like the required action is to\nreform it. Saying on record 'i want reform', or 'i don't like the old system'\ndoes not achieve anything, and in fact wastes everyones' time. The hard part:\nworking out reform and enactioning it, still needs to be done.\n\nAm I missing something?\n\n~~~\nraesene2\nI think that what this could achieve is stating the importance of the issues\nto the main political parties. Most \"mainstream\" political parties that I've\nseen will change their positions on things if they think it will get them more\nvotes.\n\nSo what would this achieve. Well having a \"privacy reform\" party candidate on\nall the ballots would draw attention to the problem, in that voters would see\nthe name and potentially hear about the platform. Also getting on the ballots\nwould be likely to draw some mainstream media attention (heck the Monster\nraving loony party gets attention in the UK when it's on the ballot at by-\nelections)\n\nThen if the party actually gets a decent number of votes, it may persuade\nmainstream parties to change their positions. My feeling is that at the moment\nnone of them think it's that important a topic, so aren't formulating policies\non the topic.\n\nPersonally I think it's a good idea to try and do something about this now, as\nonce the idea that PRISM etc are fine and accepted gets embedded into culture,\nthe next steps are likely to follow (e.g. what the US seems to be seeing with\nDEA and other law enforcement areas getting access to data). How long would it\nbe before your local police are trawling your smartphone GPS data to see if\nyou were speeding...)\n\n~~~\nrmc\n_Most \"mainstream\" political parties that I've seen will change their\npositions on things if they think it will get them more votes._\n\nYep, this has happened before. 25 years ago the Conservative party brought in\na law banning the \"promotion of homosexuality in schools\", now they are\nlegalising same sex marriage.\n\n------\nspindritf\nI'm not a Brit but how can a country be run by corporations if the government\nis telling them what to do? Whether through judicial orders on what to filter,\nlegislation on how to filter even more, and extraditions at the request of US\nfederal _government_.\n\nThere is a legitimate concern about regulatory capture, about large entities\nhaving an unfair advantage... However, whenever I see the whole \"OMG\nCORPORATOCRACY\" shtick nowadays I just think that the author has seen one too\nmany scifi movie from the 80s about how we will be ruled by some Japanese Omni\nMegaCorp and it has forever tainted his world view.\n\nAnd then there's the signalling. UKIP is, of course, racist. The Pirate Party\nhas a silly name. \"What would my peers and colleagues think? We need a party\nthat would make me, a constituent, look good to my friends!\"\n\nOn the other hand, moral preening as a primary political concern surely is a\nfirst world thing. So that's a good illustration.\n\nNot to mention that this article is yet another political manifesto with\ntenuous connection to technology at best.\n\n~~~\nlukifer\nThe relationship between corporations and governments can be seen as roughly\nanalagous to that of the King and the Church 400 years ago: both colluding and\ncompeting for power.\n\n------\nchestnut-tree\nI think the biggest problem is that single-issue parties never gain widespread\nsupport. I may be interested in internet privacy and technology issues but I\nmight also be interested in education, transport, housing, the economy and\nmany other issues. If these subjects are secondary (or presented as secondary)\nto your party's main focus, how can you ever gain broad support among the\nelectorate? Unless the real goal of starting a party is to make the main\npolitical parties sit up and take notice of the issues you're campaigning for.\n\nThe alternative to creating a party is to create a campaigning body or\norganisation - which of course may struggle to get noticed.\n\nRaising and highlighting important public issues, questioning official claims\nis also the role of the press, but we can never expect that from the utterly\nabysmal UK press.\n\n~~~\nvidarh\n> Unless the real goal of starting a party is to make the main political\n> parties sit up and take notice of the issues you're campaigning for.\n\nThat's exactly what this blog post argued for.\n\nConsider that in 2010 there were 40+ seats where taking less than 1000 votes\nwould have been enough to spoil the incumbent party's chance at winning the\nseat.\n\n------\npcx66\nI am from India, and our parties do not give a shit for the ideals engraved in\nour constitution. Like the ones in most(all?) other countries, they have\ntransformed from leveraging a shitty status quo to enforcing a shittier status\nquo.\n\nBack to your post. What I understand is, you want to show to the existing\nparties that a sizable population wants something the parties are not\noffering, and hope that they will notice. And you yourself cannot support any\nof the existing parties because you disagree with several of their policies.\nWon't your proposed party face a similar problem? It probably will be less of\na problem because the degree of disagreement on issues won't be so big,\nbecause the kind of people you will gather think similarly of most issues,\nhave a similar (modern, liberal?) morality.\n\nBut I think you have to relay the implicit message of your post explicitly.\nLETS STOP BEING FUCKING LAZY.\n\n------\nwikiburner\n_> Kickstarter won\u2019t allow crowd-funding of political parties from what I can\ngather.\n\nKickstarter cannot be used to raise money for causes, whether it\u2019s the Red\nCross or a scholarship, or for \u201cfund my life\u201d projects, like tuition or bills.\n\nIndiegogo has no problem with it though._\n\nDoes anyone know why that's the case? Why would Kickstarter be so restrictive?\n\nKickstarter also requires each project team to sign up for their own Amazon\npayments account. Why wouldn't Kickstarter just collect the money and then\nwire it / cut a check to the funding recipient?\n\nAlso, why does Indiegogo charge upfront while Kickstarter waits until the\ncampaign is successful.\n\nThe whole crowdfunding space seems to operate pretty illogically. Are there\nlegal complexities that aren't apparent to an outsider that force their hand?\n\n~~~\nmjburgess\nI think it's more a \"who we want to be\" kinda thing. Kickstarter doesn't want\nits brand associated with any potentially controversial/etc. topics.\n\n~~~\nwikiburner\nThat's true, some of the Indiegogo campaigns I've seen do sort of have an\n\"off-brand\" feel to them.\n\nStill, I wonder why Kickstarter has each project set up their own Amazon\nPayments account and not collect the money themselves? Could it be a legal or\ntax reason? And how do they extract their 5% if the payment is processed with\nthe campaign owner's Amazon account?\n\n------\nsklivvz1971\nThis is such a bad idea.\n\n(a) null voting is already a \"none of the above\" option\n\n(b) they ask to give money to do... what exactly? Why give this guy 300k\u00a3 to\nbasically waste? Give it to charity FFS.\n\n~~~\nsoult\nDoes null voting leave the seats in parliament empty? Or do the other parties\njust get a bigger share?\n\n~~~\nsklivvz1971\nLeaving empty seats is much worse than null voting. It doesn't accomplish\nanything more, as in either case your vote doesn't go to a real, voting\npolitician. It surely wastes more money as the corresponding parliamentary\nstipends are given to - I guess - the party for _doing nothing_. Surely doing\nnothing has a much better price point at \"free\".\n\n~~~\nvidarh\nWhy do think they'd do nothing? Do you think Sinn Fein does \"nothing\" with the\nmoney it receives for it's Westminster MP's?\n\nIt's certainly possible for it to be a total waste, but in Sinn Fein's case,\nfor example, whether or not you agree with their goals, it is a very clear\nprincipled stand: They don't believe Northern Ireland is rightfully part of\nthe UK, nor that the queen is their rightful head of state, so they can't in\ngood conscience give an oath of loyalty to the queen.\n\nVoters who vote for them know full well that this will the outcome, yet they\nstill vote for them because it accomplishes something to these voters: It\n(now) gives funds to Sinn Fein _and_ it keeps sending a signal that a\nsubstantial number of people in these constituencies see British rule as\nunjust.\n\nSurely there can be any number of other causes where the signal effect can be\npreferred by voters who otherwise don't see sufficient difference between the\nmajor parties to believe it makes a difference which one of them gets their\npolicy through.\n\nThe reality anyway is that in the vast majority of votes in the Commons, the\nsmall parties votes have no bearing on the outcome at all because the first\npast the post system means the big parties has such a disproportionate portion\nof the seats, so most votes for parties outside the big three are still\ntotally \"wasted\" by similar logic.\n\n------\nvixen99\n\"There\u2019s a single protest party, the UK Independence Party, but UKIP and I\ndon\u2019t really see eye-to-eye, due to the fact that I am married to a\nnaturalised British citizen and together we have three mixed-race children.\".\n\nRather than cast an unpleasant slur on UKIP (what nasty visions your comment\nconjures up) it would be helpful were you to identify the perceived problem.\nAs far as I am aware, UKIP are not planning to discriminate against my own UK\nnaturalized marriage partner or my child.\n\n~~~\nvidarh\nUKIP may not \"plan to\", but there's been plenty of unpleasant connections\nbetween people involve in UKIP and organizations like BNP and EDL, and with\nEDL endorsing UKIP candidates for upcoming local elections etc.\n\nEnough that as a non-UK citizen with a UK born (and hence citizen) mixed race\nson, the thought of UKIP getting anywhere near power would make me consider\nleaving the country.\n\n------\nsvnee\nWhy not start with a smaller country like Luxembourg. We are currently running\nin elections and want to make of Luxembourg a privacy save heaven. We have a\npretty good chance of making it into parliament and every support helps!\n\nLook we even made a video ;)\n[https://donate.piraten.lu/](https://donate.piraten.lu/)\n\n------\nvehementi\nI'd love to see an idea like this flourish.\n\n------\ncabalamat\nIt's much, much, more important for a party that cares about digital rights to\nfight the 2014 European election than the 2015 general election, for two\nreasons:\n\n1\\. the Euro election is fought using PR, meaning it's possible to actually\nwin seats\n\n2\\. a lot of the relevant issues are decided at Brussels as much as at\nWestminster.\n\n------\nDanBC\nI would be very interested to see people running the numbers on past\nelections, and seeing what the results would have been under different voting\nsystems.\n\nThe UK has a weird 'first-past-the-post' system, and it'd be neat to see what\nthe different results would have been.\n\n~~~\nvidarh\nThe UK's \"weird\" first-past-the-post system is very close to the US and French\nsystems, and many others.\n\nUnfortunately re-running data on past elections would be wildly misleading, as\npeople vote with the knowledge of which parties stand a chance in their seat,\nand hence a lot of votes that might have gone for smaller parties in a more\nproportional system goes to one of the biggest parties.\n\nBut you might look to the EU Parliament elections for a demonstration of how\ndifferent people here _might_ vote (with the caveat that the issues are\ndifferent, and so people might certainly vote differently) with a proportional\nsystem:\n\n[http://en.wikipedia.org/wiki/European_Parliament_election,_2...](http://en.wikipedia.org/wiki/European_Parliament_election,_2009_\\(United_Kingdom\\))\n\n"} {"text": "\n\nMona Lisa heist of 1911 concealed a perfect\u2014and far more lucrative\u2014crime - sublemonic\nhttp://www.vanityfair.com/style/features/2009/05/mona-lisa-excerpt200905?printable=true¤tPage=all\n\n======\nmattm\nWow, what a great story!\n\nI'm surprised the thief only served seven months in jail. I can't imagine it\nbeing that lenient today.\n\n~~~\nreitzensteinm\nI was half expecting some crazy penalty like life imprisonment or death. Made\nme realise how out of touch I am with early 19th century Europe!\n\n~~~\ngraywh\n20th century\n\n~~~\nreitzensteinm\nOK that's embarrassing!\n\n------\naresant\nJust spent 10 mins reading, good story but abridged version:\n\n\\- An Italian Louvre worker, Vincenzo Perugia, stole the Mona Lisa, claiming\nhis motivation was that the French had stolen works from Italy.\n\n\\- Years later he attempted to give it back but claim a reward. He changed his\nstory a few times about how he stole it.\n\n\\- The revelation of the larger crime was that a slick con-man claimed he\nhelped Vincenzo steal the work for the purpose of selling credible fakes to a\nhandful of American millionaires since it was widely reported that the\noriginal was stolen.\n\n~~~\nknown\n\n\n------\nrthomas6\nThis is like some kind of real-life Ocean's Eleven.\n\n~~~\narch_hunter\nThere was a British TV series that I watched some of a while back about a\ngroup of con artists (sorry, I can not remember the name right now). Several\nof the episodes had this same plot: the group of con artists would steal some\nvaluable antique, and then sell forgaries of it, before returning it as part\nof a plea bargan.\n\n~~~\nKC8ZKF\n_Hustle_ \n\n------\npingou\nWhat's interesting is that there are people willing to pay millions to have a\npiece of art that they can't show to anybody or brag about it. I guess these\npeople are true art lovers.\n\n------\ngamble\nThe story is entertaining, but the con-man angle tacked at the end is highly\ndubious. Even if there was reason to believe that Valfierno even existed, its\nhard to swallow a century-old third-hand tale from an admitted con-man without\na shred of evidence. Moreover, there's nothing about his story that explains\nthe theft and plenty that contradicts known details. Sometimes lone nuts\nreally do commit crimes beyond their stature.\n\n------\nthedjpetersen\nIts funny how different this story could have been told, if the plumber hadn't\ncome by.\n\n------\njac_no_k\nInteresting story. Valfierno had a very effective PR and insight into the\nmarket. He would have made an effective head of PR or Sale.\n\n~~~\ndhs\nProbably selling CDOs.\n\n"} {"text": "\nGrowing By Shrinking - peteforde\nhttp://hackertourism.com/post/44454709336/growing-by-shrinking\n======\ncodewright\nI identify with, and am seeking for myself, a lot of things described here.\n\nThat said, the author is speaking from an intensely privileged point of view.\nReferring to selling one's time as a programmer as 'whoring' caused me to\ncringe.\n\nI have strong aversion to growth for growth's sake now that I've lived and\nworked in Silicon Valley and the startups that go with it (I was CTO at a\nnutrition startup).\n\nThings I've done recently:\n\n1\\. Quit my job and went back to being an independent consultant. Looking to\nstart a product company in the gap time between contracts.\n\n2\\. Exercising more, in my case, 6 times a week minimum as well.\n\nThe real question is whether or not I'll be able to make something that bears\nrevenue fruit or not. I've had small bits of success here and there before but\nnothing substantial or lasting. Current side project is just me scratching an\nitch, no real revenue potential.\n\nI've been reading a lot in an attempt to learn as much as I can and prepare\nmyself to be able to make something profitable. Mostly marketing and sales\nbooks, about to do another read-through of Patio11's stuff again.\n\nCan anyone tell me what the aspiring micro-ISV/self-employed entrepreneur\n_really_ needs to know in order to get ramen profitable? I know I need to\nbuild and experiment quickly - what else?\n\nEdit:\n\nMy book log: \n\nI agree with orangethirty's \"start selling\". I just need to hoof it and do it.\nNot about to stop reading though :)\n\n~~~\npeteforde\nFair point re: whoring, so far as we might have to agree to disagree.\n\nLet me explain differently by saying that when I was young, I wanted nothing\nmore than to get paid to program. I loved to code, and I needed to get paid \u2014\nprofessional coding was the obvious answer.\n\nThe problem was that by my mid-20s I was really sad all of the time, and my\nwork was at the root of it. I was programming and getting paid, yet the more\nwork I did the worse I felt. I thought I had fallen out of love with coding.\n\nOne day it hit me like a lightning bolt: the reason you do something directly\nimpacts whether you enjoy doing it.\n\nBeing a prostitute seems like it would be awesome. You get laid constantly and\npeople throw money at you, right? Well, only if you ignore that you don't have\nany control of who, when, how, why or where in many cases. Awesome becomes\nterrible.\n\nI get the same joy from coding that a painter gets from painting. A painter\nthat can paint what, when, how, why and where they want is likely happy. A\npainter that has to paint what other people want on a schedule is often just\nstruggling to pay the rent. They develop a toxic relationship with their art,\nand that's sad.\n\nSo yeah, I have had some great programming clients and worked on some really\ninteresting code projects for money, but in the end it wasn't worth the\nsadness that my body was literally fighting back against. I was fat and sick\nall of the time, everything seemed like it was getting worse. I was\ndisconnected from the chi.\n\nHowever you want to describe it, everything started getting better as soon as\nI stopped doing it for other people.\n\n~~~\nanu_gupta\nSo, instead of whoring your developer skills, you're whoring your technical\nknowledge?\n\n~~~\npeteforde\nI'm not whoring my technical knowledge. I discovered that I really enjoy\nsharing it, and it's a happy coincidence that people are excited to pay for\nit.\n\n------\nseivan\nI agree with you. A small team of founders that are just developers who can\ndesign will outbeat ANYTHING that might have some VC money behind it.\n\nYou don't need business monkeys, or \"UX experts\" who can't code their JS/CSS.\nI hate it when iOS positions already have a lead designer who can't do Cocoa.\nIt's such stupid notion. It's like saying we're looking for a CSS developer,\nwe already have a lead HTML developer.\n\niOS products are logic + design. And a developer who can design is far more\nuseful, cheaper and faster than a developer + ux monkey.\n\n\n\n\"I like programming a lot. If I'm away from it for more than a couple weeks, I\nstart to miss it.\n\nThe software industry deserves to choke on a dick and die, however. Fuck bad\ncode, micromanagers, dopey \"startups\" that expect 14-hour days on the\nassumption that 0.0x equity slices represent real \"ownership\", closed\nallocation, and regimes in which programmers don't choose their tools. All of\nthat can go to hell.\n\nAs software engineers, we're a defeated tribe. We work for businessmen, get\nlittle respect in comparison to the value we add, and often are pigeonholed\ninto roles that are 3 levels below our creative and intellectual ability. We\ndo most of our work for managers and investors who think we're losers because\nwe don't have their jobs. To me, quitting programming is just running away.\nProgramming was never the problem. We need to take control of this game. We\nneed to take it back and make it good-- and fast.\"\n\nLet the downvotes commence.\n\n~~~\nguylhem\nSorry to deceive you but when I see the truth, I can only upvote it.\n\nThere is a lot of cruft in many businesses - so much inefficiency, that it can\nhardly be removed by joining in their ride. The software industry is not\nimmune to that.\n\nTherefore it just is more logical to do something by yourself.\n\nAfter all, there are only 2 possibles outcomes - you do bring value, which\nwill be rewarded by the market, or you don't - and at least, it won't last too\nlong. Unefficiency is a pain.\n\nCreate your business. Sink or swim, with the added advantage (schadenfreude ?)\nof watching the inefficient ones drown while you swim around.\n\nThere no personal hate involved- I don't hate them, and in fact I may even\nfeel sorry. It's the inefficiency that I hate.\n\n~~~\nFourthProtocol\nIt's not that simple. My forever project (started in 2004) needs another month\nor so of polish, but after stripping out many features to ship a version one,\nis pretty much ready.\n\nBuild it and they will come doesn't work. I need paying customers, and being\nthe type that works best when writing code (alone!), I'm about to start\nexploring options to find someone to market this thing for me, and turn my\nspare time over the last 9 years into something that makes real money.\n\n~~~\npeteforde\nBut did you enjoy building your project? Did you learn from it or benefit in\nother ways?\n\nIt's most likely that you won't recoup on your investment if you only see this\nin financial terms. If you expand your definition of success it is possible\nthat you have already succeeded.\n\n~~~\nFourthProtocol\nYes, I've already succeeded. And whether I've learnt from it or not (I have)\nis secondary to the fun I've had with it.\n\nThe money, any money is just a logical next step to a project that will never\ndie, regardless of it's commercial success or failure.\n\n------\nbdunn\nDitto. I gave up lucrative, decently sized consultancy to go solo.\n\nBefore: Long commute to my office from the suburbs, 10+ hour workdays, lots of\nstress, kids would be asleep when I get home. After: 30 second commute\nupstairs, work out daily, lots of sunshine and bike rides to the park, etc.\n\nI wrote about it here: [http://planscope.io/blog/giving-up-a-million-dollar-\nconsulta...](http://planscope.io/blog/giving-up-a-million-dollar-consultancy/)\n\n------\npmorici\nI'm confused first he says, \"I\u2019M DONE WITH WRITING CODE FOR OTHER PEOPLE.\",\nbut two paragraphs later he says, \"All of my work comes by referral now, and I\nhave an agent\". So what exactly is he saying? That he just does other kinds of\nwork besides software development now?\n\nIf that is the case then why is one 'whoring one self out' and the other is\nnot?\n\n~~~\nmrbgty\nWell of course it sounds bad when you put it that way (using all caps when\nquoting him)\n\n~~~\nlindenr\nWhat? In the original it was written in all caps as well.\n\n~~~\npeteforde\nDisclaimer: I'm not a type expert.\n\nIt's technically not _written_ in all caps, the font that my blog theme uses\nfor bolding renders as capital letters.\n\nMy personal jury is out on whether this is okay or not. Your comment leans me\ntowards \"no\".\n\n~~~\nlindenr\nIt does seem a bit more forceful than bold to me; maybe you could have a\nseparate 'bold' font and a 'really really bold' font?\n\n------\nnoelwelsh\nSounds great, but let's be realistic here: it's the N years of consultancy\nthat allow this fantastic lifestyle, because it is the network built then that\nis being leveraged now. In other words, as fantastic as this lifestyle sounds\n(and it really does sound fantastic!) it's not something you can just jump\ninto.\n\n~~~\nAznHisoka\nYep. He calls coding for other ppl \"whoring\".. but he seems to forget that\npeople pay you to do EXACTLY what others won't or can't do. If other people\nenjoy it as much as they enjoy sex, you wouldn't get paid a ton\n\n~~~\npeteforde\nIf you enjoy coding for other people as much as you enjoy coding your own\nprojects, then we are wired very differently - and that's just fine.\n\nHowever, I have found that many of the things I used to think everyone could\ndo are in fact skills that I now get paid to use because they can't do them.\nGo figure.\n\n~~~\nshawn-butler\nWhat can you tell me about the \"agent\". Are you paying him or her or is it a\ncommission basis? How did you find someone you could trust?\n\n~~~\npeteforde\nTed Pearlman () approached me, and I listened because he\nhad an interesting opportunity that was relevant to my interests. He was also\nreferred directly by Hampton Catlin, who I used to run a company with. After\njumping on Skype with Ted, it was clear that we would be friends.\n\nI'd prefer to let Ted discuss how he is paid, but I will point you to his\nPudding Manifesto:\n\n\n\n------\nyesimahuman\nThis quote spoke to me:\n\n> \"Unspace was a convenient umbrella; an excuse for three friends with\n> complimentary skill sets to share a small office\"\n\nIn a lot of ways my company right now is just an excuse for me and my best\nfriend to build cool software together and have our own office. It just turns\nout the money is coming with it and we are able to build a real business out\nof it.\n\nWe've had chances to raise money and grow but we know deep in our hearts it's\nnot what we want. It was hard to be \"okay\" with this because everyone throws\nthe VC stuff at you and makes you think you should be \"going big\" and killing\nyourself at 25. Understanding and being confident that we could still be a\n\"big\", important, and profitable company in our space by doing it \"our way\"\nhas been a really big milestone of our personal and professional growth.\n\nGreat post.\n\n~~~\npeteforde\nThere's a really amazing moment in \"An Evening With Kevin Smith\" (highly\nrecommended!) where he recounts meeting some dick producer who admonished him\nover concerns of practicality.\n\n\"Kevin, making movies isn't about getting together with your friends and\nhaving a good time!\"\n\n[Pauses] \"It isn't?\"\n\n------\nsaravk\nNice. Congrats on your move. I wrote a similar post exactly 2 years earlier\nwhen i decided to downshift from my job of about 10 years and go live in the\nmountains doing photography . Reading\nyour post made me go down the memory lane and examine my own journey.\n\nFast forward 2 years and i have very mixed feelings about the whole thing.\nMonetarily its been a complete flop, failing to earn even a single paise in\nthe past 2 years. But spiritually, the memories and experiences gathered along\nthe way have been priceless. Sounds like a classic Mastercard ad, doesn't it\n:D\n\nAll this experience did motivate me to create my startup. I have to say that i\ntotally resonate with your \"the only code I write will be for my personal\nprojects\" line. It feels more fulfilling this way. But ofcourse there is no\nguarantee that this would arrest the rapid depletion of my bank balance (as\nopposed to taking up parttime consulting gigs). Only time will tell.\n\n~~~\npeteforde\nCoincidentally, I also love photography.\n\nWhat I'm not sure about from your comment is whether you intended to do\nphotography for money or because you loved doing it (or both!)\n\nI made a decision a long time ago that I would never allow myself to be hired\nto take photographs, for all of the reasons around what we're discussing. I\nwant to keep photography as something I do out of love.\n\nIt was a very smart decision to make.\n\n~~~\nsaravk\nI intended to do photography so that i could make a living doing something i\nloved. It seemed a great idea at that time.\n\nBut while i loved the process of taking the photos (i do mostly landscapes,\nwhich basically involves patiently waiting for something magical to happen\n), i didn't quite enjoy the process of\nturning that hobby into an income generating endeavour. So i guess i finally\ncame to the same realization as you did. To keep my passion and profession\nseparate.\n\nI also realised that i didn't lose my love for coding, especially when working\non my own projects. So i'am now working on a solution for my original problem.\nTo find a way to help travellers create, share and monetize their content.\n\n------\nRyanZAG\nBest thing I have read in months. Bravo!\n\nI've done similar stuff, and I'm in a similar situation to yours - although\nI'm only at ~8 years and not 15. I also get all of my work from referrals,\nalthough I participate in (paying) startups too - on my own terms - and drop\nit if it moves away from what I'm interested in doing.\n\nNever been happier.\n\n~~~\npeteforde\nHey - if it took you 8 years instead of 15, that's a good thing! :)\n\n------\nbrador\nIsn't the point of quick growth to work hard in your early years and retire\nearly? Sell, IPO, or just plain bank.\n\nYes, you could have a happier life if you worked at a more relaxed pace\n(there's a guy on HN who works 3, holidays 9), but you'll most likely be\nworking for longer. Wanting to work for longer assumes you will remain fit to\nwork for all those years, mentally and physically. That's not as guaranteed as\nyou'd probably like to think at 25.\n\nMy advice: Push yourself, but keep a sharp eye on life balance.\n\n~~~\nkayoone\nThat assumes working extra hard in your younger years makes you rich before\n30, which in a vast majority of cases does not happen, no matter if you work\nfor a startup, bigco or on your own.\n\n~~~\nbrador\nRich or comfortable wealth or your own personal limits?\n\nYou can retire to a lifetime of minimum wage and no more work ever for just\n$200k. A good software engineer could back that up in under 5 years. Play\nvideo games all day stress free till death if that's your thing. (not\nrecommended).\n\n~~~\nguylhem\nIndeed, not recommended - I'd call that just waiting for death.\n\n------\nmitmads\nBest phrase \"optimize for happiness instead of money\" !!!\n\n"} {"text": "\nApple Contractors Allegedly Listened to 1,000 Siri Recordings a Day \u2013 Each - innovateee\nhttps://www.theverge.com/2019/8/23/20830120/apple-contractors-siri-recordings-listening-1000-a-day-globetech-microsoft-cortana\n======\nmkl\nPrevious discussion:\n[https://news.ycombinator.com/item?id=20788463](https://news.ycombinator.com/item?id=20788463)\n\n------\nherohamp\nAm I supposed to be shocked by this? Literally every company that makes\nsimilar things does it. It's important for making the voice assistants better\n\n"} {"text": "\nBankers Go Home, Tellers Stay: Virus Exposes Office Inequalities - pseudolus\nhttps://www.bloomberg.com/news/articles/2020-03-13/virus-is-exposing-worker-inequalities-as-corporate-offices-empty\n======\nasdfasgasdgasdg\nThe doctors and surgeons don't get to go home, but the hospital administration\nclerks might be able to. The doctors are higher status and make more. I wonder\nwhy that might be?\n\nThis is just cherry picking imo. Jobs that require f2f and physical\ninteraction as a core responsibility don't get remoted? You don't say.\n\n~~~\nJMTQp8lwXL\nHospital admins might be paid more than you think.\n\n~~~\nAdamJacobMuller\naverage admin staff is paid much less than the average doctor.\n\naverage admin staff is perhaps even paid less than the average RN in some\nplaces.\n\n------\nasn0\n_Bankers Go Home, Tellers Stay: Virus Reveals That Some Jobs Are Different_\n\n~~~\nalharith\nThis would be the reasonable title. However, in the current zeitgeist\neverything needs to be framed as some sort of injustice.\n\n~~~\nDeepThoughts\nWhen the bodies start stacking up, we\u2019ll all have a chance to decide which\ndecisions were injustices and which were pragmatic.\n\n------\narbuge\nBankers make more money, tellers make less. The inequalities were really\nalways there...\n\nLife and the human experience have never come with any guarantees of being\nfair or equal.\n\nAll that said, I fully expect bank branches to be closed just like other\nretail establishments will be.\n\n------\najross\nWhile this is true, and unfair, IMHO it's not really an appropriate thing to\ntry to fix in isolation. Some jobs are more remotable than others. We want to\nisolate people physically, so remotable jobs get remoted. The fact that those\njobs are distributed inequitably is bad, but not something we can fix right\nnow. And once this is over, it's probably not going to seem like something\nworth fixing at all, I suspect.\n\nAnd FWIW: a much bigger injustice is how many of these jobs in the service\nsectors are ephemeral in these situations. Wait staff and shopkeepers don't\nmerely have to go in physically to work, they're at a _much_ higher risk of\nlosing their jobs entirely (or having their hours cut as, say, restaurants\nscale back).\n\nThat latter problem is something we can address with appropriate policy.\n\n~~~\ncelim307\nI'd agree except I have friends in sales and almost unilaterally they were\ntold to keep coming into the office, despite their entire job being done from\nphones and computers. Theres a pretty toxic culture in sales where everything\nis war, and you have to show how committed you are everyday.\n\n~~~\njbc1\nI'm in sales and every role I've held (a grand total of 2 tbf) has been a \"be\nin the office if you need to be\" type deal. Same as other people I know in it\nor other other positions I've considered.\n\nIf spending the weekend at a convention in another state is what's needed to\nmake the sale I do that. If drinking with a visiting client until 2am is\nwhat's needed to make the sale I do that. If coming in to the office when\nthere's no need and I might get sick and die and more importantly not be able\nto make sales, I don't do that.\n\n\"Sales\" is a very broad role to the point where I think someone saying they do\nit is closer to someone saying they \"make things\" or \"perform services\" rather\nthan \"software developer\" or \"lawyer\". It's more of a department than\nanything. Experiences working in it thus vary greatly.\n\n------\ngentleman11\nAt my internship, everyone used to joke about how interns are t real people.\nHowever, I was treated 10x better than any labour or retail job I have ever\nworked. It is amazing how well people treat you once you have a piece of paper\nthat says \u201cengineering\u201d on it, I can\u2019t even describe it\n\n~~~\nxiphias2\nThis was true for my office as well, but at the same time when I was in\nelementary and high school in advanced math classes with mostly other guys, I\nwas always mocked for it by students of parallel classes. Life's not fair for\nsure.\n\n------\nexecutesorder66\nAs someone who has worked for a bank for years, what is a \"banker\"? Is it the\nlegal team? the risk team? middle management? software developers? QA team?\nrisk team? The execs? the cleaning staff?\n\nAnd why are tellers not bankers? They perform one of the main public facing\nbanking tasks/services.\n\nAlso how are tellers supposed to work from home? This is a rather unfair\nsituation, but it's just the nature of the job, not some attack on the lower\nclass.\n\nI just find this whole article weird.\n\n~~~\nthaumasiotes\n> And why are tellers not bankers? They perform one of the main public facing\n> banking tasks/services.\n\nThis question/claim only makes any sense if you're willing to consider that\nthe cleaning staff might deserve to be called \"bankers\" too.\n\nTellers don't provide any banking services. They can't agree to hold your\nmoney or loan you money. They don't provide any advice. They're an\nimplementation detail of the banking agreement you set up with an actual\nbanker, a piece of plumbing that happens to be how you move money into or out\nof your account. Hence the popularity of automatic teller machines.\n\n~~~\nexecutesorder66\nI don't know what the definition of a banker is in the first place other than\nan employee of the bank.\n\nThat is where my confusion lies. What is the definition of a banker? And what\nis their job title?\n\n~~~\nthaumasiotes\nThere are a large number of job titles. But I would say someone qualifies as a\n\"banker\" if they are responsible for a flow of money, or if their work\nconsists of helping other people implement flows of money.\n\nI would be comfortable calling e.g. a corporate treasurer a \"banker\" in this\nsense, though I wouldn't expect corporate treasurers to be included in the\ncategory \"bankers\" in the context of this piece.\n\nFor this piece, something like the intersection of (1) the definition I\nprovide with (2) the class of people employed by \"banks\".\n\nA teller occupies a position of responsibility in that they can cause a lot of\nmischief by misbehaving. But I don't think the responsibility to refrain from\nstealing from the company is the relevant kind of responsibility. A teller at\nwork isn't supposed to be making any decisions of any kind.\n\n~~~\nmandelbrotwurst\nA teller is responsible for flows of money from the bank to its customers and\nvice versa, no?\n\n~~~\nthaumasiotes\nNo. The teller isn't responsible for those flows by transporting the money any\nmore than the security guard is responsible for them by letting the customer\ngo through the door.\n\n~~~\nmandelbrotwurst\nYou're right, the security guard is also a banker by your definition.\n\n~~~\nthaumasiotes\nI suggest you show my definition to a few people, ask them whether it includes\nsecurity guards, and see what they say.\n\nOn the negligible chance that you made this comment in earnest, the results\nmay surprise you.\n\n~~~\nmandelbrotwurst\nIt was in earnest. What seems to be going on here is that we have a very\ndifferent understanding of what \"responsible for a flow of money\" means.\n\nIn my mental model, someone who handles, protects, counts, transfers, etc.\nmoney to and from customers is fairly literally \"responsible for a flow of\nmoney\".\n\nI suspect you believe your definition requires a higher threshold and/or type\nof responsibility that these roles do not entail, but I don't see where that\nis in your definition.\n\nI think maybe you what you mean is that our hypothetical banker is\nindependently making some decisions around how / where / etc this money flows\nwith some degree of autonomy ?\n\nMy point here was primarily just to say that it is maybe a bit thornier of a\nthing to define than you realize given that your definition in my honest\nopinion and in what I consider a reasonable reading did not clearly leave out\none of the primary categories of employee that you intended it to exclude.\n\nSidenote - stating that \"you will find most people will agree with me\" is an,\num, interesting method of argument.\n\n~~~\nthaumasiotes\n> Sidenote - stating that \"you will find most people will agree with me\" is\n> an, um, interesting method of argument.\n\nNot at all. That is the standard for determining what something means.\n\nWhat you're saying here is that I expressed an idea, you agree with me as to\nboth what I meant by it and what other people would understand by it, but, for\nunstated reasons, you think my expression was metaphysically incorrect. Why?\n\nThe project of communication is for the listener to understand the same thing\nthe speaker intended. If that happens, the communication was correct. As\napplied here, if I think \"responsible for a flow of money\", elucidated by a\nnegative example, means something, and everyone else agrees with me that it\nmeans that thing... then that is in fact what it means. Words hold their\nmeaning by common agreement, and solely by common agreement.\n\n------\nLordOfWolves\nHow is this inequality more so than it is simple role differentiation?\n\nCan tellers not be trained for better-paying roles? Better yet, education is\navailable to those who wish to utilize it (though the education system clearly\nhas its own inefficiencies).\n\n~~~\nmaxerickson\nHow is \"simple role differentiation\" not a description of inequality?\n\nWhen you ask that question, you are doing this thing where you don't try to\naddress the concern people actually have, which is about what an equitable\nemployer-employee relationship looks like, not \"role differentiation\".\n\n------\nzootme\nCurrently experiencing a similar situation. I work in quality\nassurance(medical devices) and we're the only ones on site right now besides\nmanufacturing. About half of our department has been set up to work from home\nand management is working on getting the equipment necessary to set up\neveryone. Not to mention they'll now be paying \"designated essential workers\"\ndouble time and we will not be included because our job doesn't necessarily\nrequire us to be on site, just that we're lacking the hardware as of now.\n\n------\nHenryKissinger\nWhat about traders operating Bloomberg terminals? Do they need to come in, or\ncan they VPN into their terminals remotely?\n\n~~~\nhuac\nbloomberg anywhere exists (cloud version) -- but there are regulations that\nrequire trader behavior to be monitored. no personal devices on the floor, for\nexample, last thing you want is someone to send encrypted messages over signal\nthat the SEC/your bank can't read. these seem to be mostly waived:\n[https://www.bloomberg.com/news/articles/2020-03-09/finra-\ncon...](https://www.bloomberg.com/news/articles/2020-03-09/finra-concedes-\nvirus-may-impact-wall-street-oversight-of-traders)\n\n------\njdkee\nThis is the distinction between staff and line. Line produces, staff is\noverhead. Easy to cut staff but not line, as cutting line reduces production.\n\nProblem is in some industries, staff have more political power than line, as\nwe see in higher-ed and medicine. This upsets the balance and results in\nless/poorer quality production from line.\n\n------\nAnimats\nThe hazard is jobs that are 1) not remoteable, 2) done by old people, and 3)\ndone at high people density.\n\nWhat I'm hearing from a friend who runs a branch of a major bank is that\nalmost no one comes into the branch, because that's only needed for loans. The\nATMs outside are busy.\n\n~~~\nAnimats\nLooking at the above critera, what comes to mind is politics.\n\n------\nhwc\nNine out of ten things I need a teller for a bigger ATM could handle. Like an\nATM that will dispense any denomination of coins or bills or cashier's checks.\nI've seen ATMs that take checks, too.\n\n~~~\nthaumasiotes\n> I've seen ATMs that take checks, too.\n\nI didn't know there were ATMs that didn't take checks.\n\nIn my experience with depositing checks into ATMs, they originally just asked\nyou how much the check was for. This would obviously require human oversight\nat some point, but you as a customer never needed to interact with a human.\n\nEventually they started OCRing the checks and proposing to you what they\nthought the amount of the check was, subject to your correction. Human\noversight is still needed, but dramatically reduced.\n\n------\nduxup\nThis doesn't seem to be about inequality as much as just practicality.\n\nBack office folks have always been not as necessary day to day in person as\nmuch as front line anyone / anything.\n\n"} {"text": "\n\nDo you think this iOS Game idea will be fun? I do - FileNimbus\nhttps://www.kickstarter.com/projects/1699170558/make-catch-crisis-reach-its-full-potential\n\n======\nnickynix\nIt looks generic and already claims to adopt the freemium model. It almost\nlooks like something Ray Wenderlich (a great blog, by the way) would have made\nto teach people how to develop a game for iOS.\n\nHowever, I could be wrong. The gameplay could be completely unique, but there\nis no demo video to demonstrate that fact; all we have to rely on is the\nauthor's word.\n\nIt doesn't look like something I would pay for, especially given that it is\nstill in the design stage. It might work as a paid-tutorial if all the code is\nreleased (gameplay code, assets, detailed tutorials, IAP code, etc.), but in\nits current state it looks like a Chinese-developed clone.\n\n"} {"text": "\nHey Dropbox, build MailDrop. I will pay you to replace my Gmail - iProject\nhttp://thenextweb.com/insider/2013/03/15/hey-dropbox-make-maildrop-and-i-will-pay-you-to-replace-my-gmail/\n======\njubari\nIncidentally, that's somewhat what I've been building since my recent\nsubmission: Show HN: A personal Gmail.\n()\n\nI learned a lot from HN about trust and got a lot of great feedback via email.\n\nBasically, I currently manage my own email via a native app I build with\nTideSDK and AngularJS. MailGun catches the emails and my rails service drops\nthem into my dropbox as JSON files.\n\nThere is some magic going on regarding conversation views, labels,\nattachments, etc.\n\nSadly, I came across a critical memory leak in TideSDK, which currently\nprevents me from releasing the app/service to the public.\n\nFeel free to drop me a message if you're interested in updates.\n\n"} {"text": "\n\nHadoop Platform as a Service in the Cloud - amitry\nhttp://techblog.netflix.com/2013/01/hadoop-platform-as-service-in-cloud.html\n\n======\nnwenzel\nOther than the architecture of their multi-cluster management system, which us\ncertainly fascinating, I found two interesting points.\n\n1) Use of S3 as the data storage platform allows for Production, ad hoc,\nanalytic, and \"personal\" clusters to all work with not only a full-size data\nset but the same data set. Brilliant.\n\n2) The investigation of Amazon Redshift as a Teradata replacement. First, it\nvalidates Amazon as a new competitor to on-premise relational data warehouse\nimplementations. Second, it would seemingly move substantially all their data\nto the cloud. Third, what does that mean for their other apps such as\n\"traditional\" BI? No sense having Cognos on a local server if all the data is\nin the cloud.\n\n"} {"text": "\n\nInstantCab (YC W12): A Hybrid Alternative To Ride-Sharing and Taxi Apps - ajju\nhttp://techcrunch.com/2013/03/15/instantcab/\n\n======\njoshwa\nA big problem I've seen with the proliferation of these apps is that I've seen\ndrivers with three or four devices, (which makes sense from the driver's\nperspective--maximizing opportunity), but even though I'm in the car paying a\nfare, they show up on the other apps as available! The result is that when you\nput out a call for a ride, even though it shows tons of vehicles available,\nmost of them are actually currently occupied. As TFA points out, this leads to\ndistrust since as a rider you can't actually be sure you'll be able to get a\nride.\n\nI think the app makers need to encourage riders to report to them when they\nsee drivers using other apps and misleadingly showing themselves as available.\nI know I'm going to start doing it.\n\n~~~\najju\nThat's a good point Josh. We ask drivers to set themselves as unavailable if\nthey are on another ride, and we are measuring a lot of things that help us\nfigure out which drivers are more reliable so we can reward them accordingly\nvs which drivers are unreliable so we can part ways with them.\n\nOf course we'd definitely love feedback from you and other users when you see\na driver engaging in untrustworthy behavior. Email us ask at instantcab.com\n(or leave a comment with your rating if you are using InstantCab)\n\n------\najju\nHN Readers: there's a $5 off coupon at the end of TechCrunch article, but we\nhave a special coupon for \u03c0 off your ride. Use \"HNFriends\" at or after signing\nup.\n\nAlso happy to answer any questions you have :)\n\n------\njoseakle\nHi, i am one of the founders of Yaxi. We are doing very similar in Mexico if\nyou are interested in having a chat, pepe at yaxi dot com. We are also taking\nthe hybrid approach and have sent thousands of trips too.\n\n~~~\najju\nJose: sending you an email\n\n------\najaymehta\nThis is a totally awesome service -- once called an InstantCab in SF and a\nlimo came to pick us up. A goddamn LIMO.\n\n~~~\najju\nThanks Ajay. As the commenter on TechCrunch said, ballers get baller service\n;)\n\n------\nianferrel\n>InstantCab drivers are more likely to actually use the app the way it\u2019s\nintended. Also, there\u2019s really no way for drivers to cancel. Once they\u2019ve\naccepted a ride, there\u2019s simply no button they can push to get out of it.\n\nWhat if they hit the button accidentally?\n\n~~~\najju\nIan: We have worked hard to make the app easy to use for drivers to minimize\nmistakes. For example: when we started the company, every one of us including\nengineers drove cars for 10 hours shifts for 3 weekends in a row, giving rides\nto friends to understand how to design well for drivers.\n\nMistakes still happen occasionally, and we have procedures to deal with them\nbut we took this approach to make it clear that bailing after accepting a ride\nis not an option.\n\n------\neeek\nI worked with these guys for a couple days and I can say they are a really\namazing team: positive energy, healthy debate and mutually supportive. Way to\ngo InstantCab!\n\n~~~\najju\nThanks Eric! Appreciate your vote of confidence. Come by the office and let's\ngrab lunch on Monday if you have some time!\n\n------\ngarfbargle\nLove it, can't wait for it to make it's way down to SoCal\n\n"} {"text": "\n\nAsk HN: Review my first MVP - fhub\n\nSite: finishstart.com

Premise: Write funny stories with random strangers... one sentence at a time.

My Design Goals:

1. Be a true MVP - test the idea without wasting any time

2. Go from idea conception to deployment in 1 day (I nearly achieved that)

3. Try to develop something with some viral marketing potential

4. All content to be user generated

5. Moderation sessions should be fun

6. Try out heroku.com to see if it would be a good fit for another product

7. Do something silly and fun (I come from the enterprise software world)

You can follow my thinking through the process at http://twitter.com/finishstart

All feedback more than welcome. Especially in the areas of:

1. Conversion - I consider a conversion to be someone who adds some\nwell thought out content and who submits their email address to get a\ncopy of the story sent to them on completion

2. Viral Marketing approaches

Cheers\n======\ndamoncali\nA few thoughts:\n\n1\\. You need a reason to keep people coming back - some sort of hook to keep\npeople interested. Off the top of my head:\n\n-private stories (restricted to a group)\n\n-solo stories (one sentence a day for one user)\n\n-stories limited to people with a certain birthday\n\n-graduation class stories\n\n-drama/english classes\n\n-let people upvote/downvote/move sentences\n\n-publish a blog of anything that turns out good\n\n-allow combination of random sentences from different stories into new stories\n\n2\\. The \"Anything Goes\" section could easily turn into porn/adult content.\nThat can make advertising revenue difficult and make it unusable by schools,\netc.\n\n3\\. If you get a lot of traffic, this blows up and becomes hard to manage. A\nstory could grow very rapidly if you're not careful. Although on the edge of\n\"premature optimization\" I would keep an eye ont his as you work.\n\nFun site. It will be interesting to see if you can take it from \"interesting\ncuriosity\" to \"something I check when I'm bored\".\n\n~~~\nfhub\nGreat feedback! Thanks.\n\n------\nzaidf\nDude I had the very idea =) Except mine was one word at a time. It came from\nan exercise we did in improv101.\n\nI think you can make the UI a lot tighter. Imagine just a WHITE screen with\nTHE story...constantly refreshing. Along with an inputbox at the top to add\nyour contribute to it. Perhaps integrate with twitter.\n\n~~~\nfhub\nThe UI does need some work but I probably won't invest too much effort until I\nwork out if the idea is viable.\n\nOne story is a bit hard for lots of people to concurrently work on\nunfortunately. Part of my strategy is to have short stories so that I can\nemail it to the contributors when it is completed (hopefully within a day or\ntwo). Then I'm hoping they will forward the funny story to their friends (with\na link of course).\n\n------\nresdirector\nGood work, esp idea-to-deployment in about a day. I found this to be pretty\naddictive. i.e. I started filling out stories rather than hammering HN, Google\nNews when I've got time to kill.\n\nSuggestion: email users once per week/fortnight with a partial story +\nembedded form so they can play via email, especially if they haven't played\nfor a while. Increase/decrease frequency of email sending depending on how\nthey respond to playing via email.\n\n~~~\nfhub\nThanks for your feedback. I'll have a ponder about your email idea. Ta.\n\nI think I'm up against a lot of tough competition in the time killing market\non the web :)\n\n------\nrevorad\nI had the exact same idea a long time ago. I just kept toying with it in my\nmind. It's so awesome to see someone actually make it.\n\nYou've made a very good first version. Just get lots of people to use it to\nwrite at least one line and then publish and popularise the finished stories\non social networks. You will get to see if the stories are actually any good\nand also might get ideas on improving the app itself.\n\n~~~\nfhub\nThanks. The idea is fun, but getting people back is tough. Let alone getting\nthem to share the link with their friends. I had fun building it and iterating\nit over the last few days.\n\nI'm going to give it a couple more days and if I don't see much traction I'll\nprobably let it pass away quietly.\n\n~~~\nrevorad\nI wonder if this is better suited as a Facebook or twitter \"game\", at least\nfor a start. For example, some friends dragged me into playing the name game\non facebook and although I hardly check Facebook, that thing made me go back\nquite a lot. Once you get a good base of users you could get them to an\nindependent site which is more usable and focussed.\n\n------\nnailer\nWhat does mvp mean in this context?\n\n~~~\nshrikant\nI had the same question, and\n was quite helpful in\nthis regard :)\n\n------\nfhub\nClickable: \n\n"} {"text": "\n\nHow We Think with Bodies and Things - wslh\nhttp://www.youtube.com/user/StanfordUniversity#p/u/147/Vhcubb00g6c\n\n======\ncpaone\nI don't think he's got Wittgenstein right. But it's interesting.\n\n"} {"text": "\nHow to conduct a good programming interview - lihaoyi\nhttp://www.lihaoyi.com/post/HowtoconductagoodProgrammingInterview.html\n======\nthiscatis2\nSo reading over some of the questions posted on technical programming\ninterviews I must say that I would definitely fail such an interview without\nstudying for it for a month first. Having recently discussed job interviews of\nex-colleagues that went to EBay, Facebook, Google, etc.. I wouldn't even pass\nthe whiteboard test.\n\nHowever I'm shipping scaleable API's used by web and native apps, using\nContinuous Integration and Deployment on an AWS infrastructure that I set up\nmyself. Furthermore I'm responsible for hiring developers that I work with on\nagency projects and most important of all getting projects delivered within\ntime, scope and budget AND getting paid for it. Yet I would fail most\ntechnical interviews.\n\nI've been doing this for about 10 years and never ran into any major problems.\nI've worked both as a freelancer and in-house permanent dev and never had any\ncomplaints about my work. (Feedback and improvements yes, big failures never).\nYet I would fail most technical interviews.\n\nI talk directly to clients and vendors, I sell projects, I take over projects,\nI end projects and I've created 2 startups, one of which I sold but I would\ndefinitely fail a purely technical interview.\n\nI completely understand the need for these technical interviews and weed out\nobvious bad programmers and get experts on board but sometimes from a business\npoint of view it just doesn't make sense.\n\nAt a previous company I worked for the team almost crashed & burned because of\nthe TL's focus purely on technical skills. No code was being shipped but hours\nof meetings and Slack conversations and discussions on PR's for no good reason\nabout 0.01% improvement gains.\n\nI know I'm not the best developer out there and never will be. Often I'm in\nawe of the technical skills of people out there but I rather have a less\nskilled dev with great \"people & shipping\" skills as I call it than some of\nthe people that would pass all these tests but that I couldn't put in front of\na client or even let them email a vendor.\n\n~~~\nnolemurs\n> I completely understand the need for these technical interviews and weed out\n> obvious bad programmers and get experts on board but sometimes from a\n> business point of view it just doesn't make sense.\n\nThe thing is that the main goal of the technical interview is _not_ to hire\nall good candidates. The main goal is to _avoid_ hiring bad candidates. A\nlarge high paying company like Facebook has plenty of candidates to choose\nfrom, and the main priority is avoiding expensive bad hires. The cost of\nfailing to hire a good engineer is small - they can just take the next guy.\nThe cost of hiring a bad engineer is large.\n\nWith this in mind, the process makes a lot of business sense. Someone who is\ncapable of learning what's needed to do well on a technical interview has\ndemonstrated a fairly high level of competence, and is (relatively) unlikely\nto be a really bad hire.\n\nThis filter does limit your applicant pool a little, but if you're Facebook,\nthe largest chunk of your applicant pool are recent comp. sci. graduates. If\nthey can't solve an algorithms problem reasonably gracefully then that's a bit\nof a red flag. For non-recent-comp-sci-graduates, a competent candidate really\nshould be able to prepare pretty well in a month or two of spare time.\n\nFacebook might miss out on hires like you who would likely be quite good at\nthe job but aren't willing to put in the effort to prep for the interview, but\nthat's a trade off they'll make happily if they minimize bad hires.\n\nSmaller companies with lower pay and access to fewer qualified candidates\nwould probably be ill advised to copy the Facebooks and Googles of the world\nthough. I'll grant that.\n\n~~~\nsidlls\n> Someone who is capable of learning what's needed to do well on a technical\n> interview has demonstrated a fairly high level of competence, and is\n> (relatively) unlikely to be a really bad hire.\n\nSure, as long as their only role is repetitive coding tasks that require\nlimited amounts of broadening their experience beyond the DS&A trivia places\nlike Facebook require.\n\nHowever then Facebook ends up with stuff like their iOS app (\"iOS can't handle\nour scale\"), which had a lot of (probably) very talented CS folks putting\ntogether an app that was pure garbage (from an engineering and usability\nperspective).\n\nThe filter limits the applicant pool to that set of people uninterested in\nsolving problems outside the scope of a CS textbook. Capability has little to\ndo with it.\n\n~~~\nnolemurs\n> The filter limits the applicant pool to that set of people uninterested in\n> solving problems outside the scope of a CS textbook.\n\nThe only way this would be true is if being good at textbook CS makes you bad\nat solving other problems. I'm assuming you don't actually think that, 'cause\nit's kind of crazy.\n\nEven giving the benefit of the doubt and assuming you mean that the filter\nmakes the pool less likely to contain good problem solvers, it's hard to see\nwhere this idea is coming from. In my experience, being good at one sort of\nproblem solving makes someone _more_ likely to be good at other sorts of\nproblem solving. The correlation between skill in problem solving across\ndomains is weak sometimes, but it's definitely not negative!\n\n~~~\nubernostrum\n_The only way this would be true is if being good at textbook CS makes you bad\nat solving other problems._\n\nThe way the typical interview process works, basically, is \"we have a list of\n6-12 algorithms we will ask about; if you have memorized implementations of\nthem, and certain key phrases to identify which one to regurgitate on command,\nyou pass the interview\".\n\nThis is then touted as a test of \"CS knowledge\" and \"problem-solving ability\".\n\nTech interviewing is Goodhart's law in action.\n\n------\ntptacek\nIt's good to think carefully about how you interview candidates. Most of the\nideas in this post are good. You should definitely let candidates type answers\non computers. You should definitely work to put them at ease, in an\nenvironment that approximates their actual working environment.\n\nBut really, this is window dressing. The problem is that technical interviews\njust don't work reliably. We have better ways to qualify candidates.\n\nRather than trying to read subjective, noisy signals from in-person\ninterviews, give candidates a small battery of _work-sample tests_. These can\nbe bug-fixes, small features, diagnostic challenges, or even specification\nwriting assignments.\n\nA properly designed work-sample challenge has a _rubric_ : a set of\ninstructions for scoring a result. Ideally, the rubric is straightforward\nenough for someone who hasn't met the candidate to quickly score their result.\n\"Runs correctly\". \"Passes a battery of unit tests\". \"Includes appropriate\ndocumentation\". Whatever is important for your team.\n\nWork to give every candidate the same set of challenges, so you can track\nresults over time. You'll find that after refining and iterating for a few\nmonths, you'll rapidly build confidence in the tests, to the point where in-\nperson interviews become superfluous for technical qualification.\n\nWorking on technical qualifiers is stressful. Most candidates will perform\nmore poorly on them than they would on normal work. You should build that into\nyour rubric (though, really, data from candidates will ultimately determine\nhow strict the rubric becomes).\n\nUnderstanding how stressful qualifying work is, you should consider not\nrequiring candidates to work on problems on-site. Instead, administer them\nonline. Suggest the amount of time you expect the problems to take to finish,\nand offset that amount of time from the amount you demand on-site.\n\nWhen you must interview, you should work hard to _standardize the interview_.\nInterviewers _hate_ this. Everyone has their favorite questions. People want\ninterviews to be conversational and adaptive. Interviewing isn't supposed to\nbe fun for the interviewer; it's supposed to be reliable.\n\n~~~\nballs187\nOther than the pain of being rejected (or rather the lack of validation),\nwhere does this reliability problem manifest?\n\nElite tech companies have no problem with the current implementation of\ntechnical interviews.\n\nEngineers whos skills range from Great to Mediocre don't have a problem\nfinding a job.\n\nSoftware quality has generally improved or stayed the same.\n\n~~~\ntptacek\nThis is demonstrably false. Lots of great engineers are terrible at\ninterviewing. If you ask around, you can get even some very high-profile devs\nto tell you stories about why they're not working at Google or Facebook or\nAmazon because of how badly their interviews went. Equally importantly: lots\nof terrible engineers are _great_ at interviewing, and most people in the\nindustry have had the experience of working alongside someone who is failing\nup, 2-year-stints at a time.\n\nWhat's true is that Google and Facebook have such enormous budgets and such\nhuge positive profiles in the talent market that they don't need to work hard\nto put together functioning teams. They're paying more than they need to and\nhaving to deal with more bad hires than they should, but it's for them a\nmarginal problem.\n\n~~~\nballs187\n> lots of terrible engineers are great at interviewing and most people in the\n> industry have had the experience of working alongside someone who is failing\n> up, 2-year-stints at a time.\n\nYou mean lots of companies are terrible at firing terrible engineers.\n\nThe argument is basically the current implementation leads to false negatives.\nWhat impacts does that have?\n\nPresumably those very high-profile devs aren't lacking employment\nopportunities, even if it isn't at the elite tech companies.\n\nCompanies, from Elites down to pleb-tier, while perhaps pressed for resources,\nare still able to execute.\n\nSo why is the problem of false negatives a problem we should focus on?\n\n~~~\ntptacek\nAlmost every company is terrible at firing ineffective engineers. Even some of\nthe companies that are famous for doing so (\"'meets expectations' earns a\ngenerous severance package!\") don't necessarily manage to accomplish that in\nless than a year. This stuff sounds very simple on message boards, but is much\nharder to do in real life.\n\nThe first N months of a developer's tenure at a job is difficult to measure\nbecause of ramp-up and calibration (even good developers might hop to\ndifferent teams after getting hired based on work style fit issues). Whole\nprojects can flounder and need rescuing so that attention to ineffectiveness\ngets deflected to group leads. Most good development shops will try to make\nthings work for a new hire that isn't performing at the 6 month mark, and that\nprocess takes a few months.\n\nOnce the decision is made to fire, most big companies will PIP rather than\nfire. Sure, once you've hit the 7-8 month mark of poor performance, your\nseverance from the firm may be a fait accompli. But the ultimate process to\nmake that happen can easily be made to take more than 12 months.\n\nOnce you have a year-long stint at a company on your resume, you can bank that\n\"experience\" on your resume.\n\nAnd that assumes a relatively well-run companies. Most companies aren't well\nrun in this regard, and you can be a terrible developer but last 2+ years in\nmost jobs. If you can reliably put more 2+ year jobs on your resume than\n1-year jobs, you will end up with what will appear to most companies to be an\nextremely attractive resume.\n\nRemember, many management-track developers only write code for ~8-10 years.\nOnce you fail up to Dir/Eng, you're basically tenured.\n\nSince almost nobody qualifies candidates effectively, failing up is a super\npowerful strategy for this field.\n\n~~~\nballs187\nWhy are the terrible engineers terrible, leading to them being fired (after\n1-2 years?)\n\nI've not hired anyone who turned out to be bad at coding, but I have hired\npeople who had other performance related issues, which were difficult to suss\nout during an interview.\n\nFrom my own personal performance, my approach to interviewing has led to far\nmore true positives, than false positives, so I am biased towards continuing.\n\n~~~\nJhsto\n> other performance related issues\n\nWhat are some examples of these?\n\n~~~\nballs187\nTypically it's patterns of repeated performance issues, such as providing\nestimates then routinely not completing work on time.\n\nOr, failing to complete tasks they've taken on, requiring other teammembers to\nstep up in order to meet deadlines.\n\nThere are more extreme cases, like insubordination, theft etc, but they are\npretty rare.\n\n------\nsillysaurus3\n_While there are a variety of ways you can conduct a programming interview,\nthe goals typically are the same:\n\nWill the candidate be able to write working code if they join the team?\n\nCan the candidate discuss code and problems with the people they'll be working\nwith?\n\nCan the candidate reason about arbitrary problems and constraints?\n\nIs the candidate someone we would enjoy working with?_\n\nAll of these can be solved directly by asking the candidate if they'd be\ncomfortable doing an actual task on the actual codebase, having them sign an\nNDA, and then giving them a bugfix to perform. They're compensated for their\ntime, of course.\n\nI'm doing it right now as a candidate and it's by far the best interview\nexperience I've had. The others were all artificial.\n\nA lot of people have a problem with this model for one reason or another, but\nin terms of effectiveness it's probably at the top 1%.\n\n~~~\nwjossey\nI also agree. As someone who has recently co-founded a startup, this is\nsomething my co-founder and I have spent a lot of discussing and exploring.\n\nMy personal experience with this style of interview was that it really helped\nme to personally demonstrate my abilities. I was interviewing at a startup in\nSan Francisco in 2012 who wanted me to do a quick version of \"battleship\" as\npart of their hiring exercise. I proposed, mid interview, \"how about I help\nyou solve a performance problem with your current system. What's your biggest\nissue right now?\" My interviewer actually showed me, and we ended up solving\nthe problem together and then deploying out the change.\n\nThe funny thing about that experience was that when we were done improving\ntheir platform, the VP of engineering was told what I did, and then had the\ninterviewer go back and do the battleship exercise anyway. They needed to\n\"benchmark\" me against other candidates, and the only way to do that was with\na consistent \"test\". I did far more poorly with the battleship exercise than I\ndid helping them on their platform.\n\n~~~\nThrowawayR2\n> _They needed to \"benchmark\" me against other candidates, and the only way to\n> do that was with a consistent \"test\"._\n\nIf your employer were ever sued by a candidate for discrimination and it came\nto light that you had received different treatment than other candidates, some\nvery uncomfortable questions regarding the reason would be asked in the\ncourtroom. An unfortunate bit of fallout from the litigious environment we\nlive in today, but it is what it is.\n\n~~~\ne12e\nWouldn't it be (well, look) even worse if any number of the non-hires dud\ngreat on the battleship test?\n\n------\nkevmo314\n> If you ask the candidate the define the requirements for the task you're\n> going to give them, you can't be surprised if the candidate imagines a use\n> case with entirely different requirements from what you expected!\n\nThis section really resonated with me. I've had a few interviews where I came\nup with a different answer than what the interviewer expected and this\nresulted in a lot of tension, as the interviewer asserted they were correct\nwith zero exception. This often led to a lot of dead-end scenarios and the\ninterviewer trying to get me to see an alternate solution without telling me\nexplicitly.\n\nI once had an interviewer tell me that O(k) was constant if k was a config\nparameter (I disagreed because in practice, k would need to be tuned as a\nfunction of the size of the data, and it would be like saying O(n) is constant\nif you just fix n = 1M), and an interviewer tell me that you could solve an\noptimization problem without an objective function (in actuality, he had an\nobjective function, he just thought it was obvious and didn't want to specify\nit). In both cases, I understood what they were trying to get at _after_ they\nexplained their solutions, but in the process it was incredibly frustrating as\nthey seemed to just disregard my answer all together.\n\n~~~\nbaddox\nI love interview horror stories! In my most recent job search, which was early\nthis year, I debated with one interviewer whether checking for key existence\nin a hash was a constant time operation. I insisted it was, and the\ninterviewer insisted otherwise with the same amount of conviction. That was\njust a small portion of an all-day onsite interview. After leaving, I was told\nthey were looking for a more senior candidate. I was not upset.\n\n~~~\nGeneralMayhem\nCould just be a terminology mismatch. Checking for hash existence should\nalways be constant, but checking for _key_ existence is generally only\namortized constant (that is to say, not constant across all lookups) - he may\nhave wanted you to talk about addressing schemes and degradation at high load\nfactors?\n\n~~~\nbaddox\nThere was no subtle argument. It only came up because I was on the whiteboard\nsolving some simple word game that involved matching user input against a list\nof valid words (e.g. the Scrabble dictionary). When asked to explain the\nrunning time of the various operations, I said that we can store the\ndictionary in, well, a _dictionary_ , and checking whether the user input is a\nvalid word will be a constant time operation. The interviewer insisted, with\nno subtle argument about amortization or collisions or addressing, that this\nwas in fact a linear time operation.\n\n~~~\nfencepost\nSo likely thinking of it in terms of checking a tree based on characters\ninstead of hashes of full words. Which is more viable would likely depend on\nwhat kind of memory constraints and dictionary size was being considered. Also\nvery implementation dependent, what's the size of the hashes generated?\n\nEdit: curiosity got me looking at this for Python, with an answer of \"it\ndepends, and both have correct aspects\" based on Python's implementation [1].\nThe hashing varies by string length, the lookup is fixed unless there's a\ncollision and probing, probing will be minimized by growing the dictionary as\nitems are added. In any case, better than O(n) but worse than O(1) and with\nsome possible slowdowns during loading unless you can set an expected final\nsize during initialization.\n\nEdit again: since I brought it up, turns out initialization doesn't really\nmatter, resizing is not a speed factor. Relevant discussion starts from\n[https://stackoverflow.com/questions/1298636/how-to-set-\niniti...](https://stackoverflow.com/questions/1298636/how-to-set-initial-size-\nfor-a-dictionary-in-python)\n\n[1] [http://www.laurentluce.com/posts/python-dictionary-\nimplement...](http://www.laurentluce.com/posts/python-dictionary-\nimplementation/)\n\n~~~\nkevmo314\nIt's also possible the interviewer meant linear time as a function of the\nlength of the word, which would be true. Regardless, not being able to express\nthis clearly is a sign of a poor interviewer which unfortunately the candidate\ntakes the hit for.\n\n~~~\nbaddox\nThat was certainly not the case. Multiple times the interviewer \"explained\"\nthat with my approach you have to run through every entry in the word list\nwhich is linear time. My guess is that the interviewer wanted me to mention a\nprefix tree of some type, and was completely blind to any other approach.\n\n------\nGoopplesoft\n> 5 minutes of resume discussion > 45 minutes of coding\n\nAs anyone else found that a good resume discussion is often much better than\nthe coding component? I've concluded that implementation difficulties,\ndecisions made (tradeoffs, technologies, etc.) and the collaborative\nenvironment around projects, are much better signals than the code part of my\ninterviews.\n\nIf you've dealt with a broad range of tech and can ask the right questions,\nit's relatively easy to get a strong signal from a candidate by having a deep\ndiscussion on their work on prior projects. Both are needed and very useful.\n\n~~~\nmajormajor\nYeah. If they can't tell me about what they've built before, and aren't a\nless-than-one-year-away-from-school new grad, I'm going to be wondering how\nthey deal with real problems regardless of whatever they can do algorithm-\nwise.\n\nIf someone can talk about what approach they took, what other approaches they\nconsidered, what made it hard, what made it easy, how often the requirements\nchanged, etc, then I'd rather ask them questions about that then spend the\nwhole time in code. Just do some small spot checks to make sure they aren't\ntaking credit for the work of others.\n\n~~~\nGoopplesoft\n> Just do some small spot checks to make sure they aren't taking credit for\n> the work of others.\n\nAgreed, asking tough technical questions on this front gives a really solid\nindicator of a 'bullshitter'. For example, I often ask people to diagram a\nprior project architecture they worked on, and then ask them very fine details\nof how things work and try to challenge them with alternative approaches to\nsee how they react. I get to experience working with them during the interview\nthrough which I learn if they're smart and capable.\n\n------\nHugoDaniel\nHere is how to do a good coding interview if you are a recruiter:\n\n1\\. Do your homework: know what projects drive the interviewee (what kind of\nthings she likes to code, what recent projects has she been involved in), make\nsure they are a match for your company projects and goals\n\n2\\. Ask the interviewee for a git repository and take a careful holistic look\nat it (commit messages and code, timespan, branches, merges etc...)\n\n3\\. Go for a 2h lunch with the interviewee in a relaxed environment to check\nspeak communication skills (talk about whatever you think is interesting, if\nyou can't have or don't know how to have 2h lunches you shouldn't be\ninterviewing, check your life first and learn how to enjoy it before doing\ninterviews).\n\n4\\. Stop asking programmers to write code in 40 minutes. Learn how to respect\nbefore expecting respect in return, if you didn't take the time to read\nthrough their code repositories then don't ask for a 40 minute code problems.\n\n~~~\nmwcampbell\nI think you missed the part where the OP said not all candidates are willing\nor able to work on open source projects.\n\n~~~\nHugoDaniel\nWell the .2 \"Ask the interviewee for a git repository\" can be a private\nrepository. It is a very hard problem to solve if they have no visible code to\nshow but it does happen in other areas. Imagine asking for a management\ncandidate for the private e-mails he shared in certain tricky situations of\nprevious jobs. Or even public e-mails. Or even to take 40 minutes to write in\na whiteboard a team statement for a certain conflict scenario.\n\nTrust is entailed when recruiting in most areas. But in programming not as\nmuch.\n\n~~~\njonathankoren\n> Well the .2 \"Ask the interviewee for a git repository\" can be a private\n> repository.\n\nIf someone shares a private git repo, they should not be hired, and in fact\nshould be fired from their current job, and possibly sued. (Think Anthony\nLevandowski sharing Google lidar designs as an example of his work with Uber.)\n\nThis isn't promoting trust. This is a violation of trust.\n\n~~~\nHugoDaniel\nYes I agree with you but I was not making the point of sharing a repository\nyou shouldn't share to a recruiter (I do own a few private repositories that I\nwouldn't mind sharing to recruiters).\n\nMy point was that seeing code is not as mandatory for a recruitment as we\ncurrently make it so. I gave the comparison to management but it happens even\nin engineering areas. It is worth to know your candidate before asking to\nwrite a solution to an air conditioning problem in a whiteboard in 40 minutes\nwhen applying to a mechanical engineering position. Specially if your company\nnever solves air conditioning problems.\n\n------\nXCSme\nInterviews suck for both parties, a world without interviews would be a better\nworld. Why can't we just hire someone based on his experience and projects he\npreviously worked on? You can have a first month as a \"trial\" where both\nparties can cancel the contract.\n\nWhy interviews suck is because they are very, very biased and subjective and\nalso not a good way to estimate the actual performance of a candidate.\n\nSay no to interviews! If you like what someone did, hire him. You can't get to\nknow a person after 1 or even 10 interviews, because the interview environment\nis totally different from the work environment.\n\nPS: I have been interviewed by 14 different people at Google. I didn't get the\njob. The overall conclusion was that some interviewers loved me, my skill and\nmy work, others didn't like me from the start or simply didn't care about me.\nSome of them had a good day so they gave a good \"review\" even though I made\nmistakes, some of them had a really bad day (one fell of the chair) and gave\nme a really bad review even though, related to the actual interview questions,\nI did really well.\n\n(14 interviews = applied twice, 2 x (5 on-site + 1 online), and they also\nwanted 2 extra interviews to take a decision)\n\n~~~\nCJefferson\nI'm sure most businesses would love that situation, but for employees it would\nrequire you quit your current job, but have a good chance of being fired after\na month at your new job.\n\nI imagine young employees would be happy (I did a bunch of short-term\ncontracts myself), but once you have a mortgage and kids, it's nice to be a\nlittle more certain about your new job, before quitting your old one.\n\n~~~\nnolemurs\n> I imagine young employees would be happy (I did a bunch of short-term\n> contracts myself), but once you have a mortgage and kids, it's nice to be a\n> little more certain about your new job, before quitting your old one.\n\nAnd just to make this really explicit - this means that a company with this\nhiring practice would have a _very_ hard time hiring experienced competent\nengineers. If I were looking for a job, I'd have lots of options, and I would\n_not_ waste time on a company that demanded this.\n\n------\nsidlls\nSome points are quite good, and in particular the author calling out the\nrubbish of asking \"neat little algorithmic\" questions (e.g. asking things like\n\"implement mergesort\").\n\nHowever one thing I'd point out is that this guide still falls far short of\nbeing a good guide for finding _engineers_. Particularly noteworthy, in my\nopinion, is that the measurement criteria are still applicable only to the\ncoding question itself. For example, \"how well the candidate manages time\"\nstill applies only to this limited 40-60 minute question. It doesn't really\nhelp evaluate how the candidate might consider prioritization of tasks\n(implementation or otherwise) in a broader, bigger sense.\n\n------\nmwcampbell\nHere's another disadvantage of whiteboard coding: it's inaccessible to blind\npeople, and impractical (even more than usual) for people with only a little\nvision (like me). Such candidates will need to do the coding on a computer, so\none might as well make that the default, as the OP recommends, and eliminate\none variable and a possible source of bias. Of course, once a blind or low-\nvision programmer stays at a given company long enough, they'll probably be on\nthe other side of the interview at some point. So for consistency among a team\nof interviewers, I imagine it would be best if all of them have their\ncandidates do coding problems on a computer, not just one of them.\n\nI'm curious about why whiteboard coding is still a thing in the first place.\nIs it a matter of convenience or cost? If so, surely that equation has changed\nnow that we have ubiquitous, cheap, portable computers. Or do some\ninterviewers really think that it's good to deny a candidate access to a real\ncomputer while solving a coding problem during the interview?\n\n~~~\nmahyarm\nThese places use the computer for interviews already for the visually\nimpaired. It's just a name for a type of interview.\n\nI even give people the option to use the computer if they are more comfortable\nwith that or a whiteboard. It can be 50:50 in who choses what.\n\n------\nXoros\nThose white board stuff reminds me when I was a CS student in the beginning of\nthe 90's in France.\n\nWe had our exams on paper. And believe me, writing LISP on paper, knowing if\nyou forgot one parenthesis you got 0 point (\"if I type it on a computer, it\nfails !\"), was pretty and unnecessary stressful.\n\nSo I relate with candidate facing that. Dude, on your day to day work, you\nWILL have a computer to check those !\n\nHow can you decently check those skill on a white board ? I totally agree with\nwhat's stated in this post.\n\n~~~\ne12e\nIf you think writing lisp by hand is bad, try implementing a linked list\ninterface in java on paper... _shudder_. (in fairness, we were sanely graded,\nminor syntax errors didn't subtract terribly from the grade...).\n\n------\nbostik\nA year ago I wrote a (shorter) post on the same topic:\n[https://smarketshq.com/notes-on-interviewing-\nengineers-a4fa4...](https://smarketshq.com/notes-on-interviewing-\nengineers-a4fa4383968a)\n\nA reasonable question should never require the candidate to know \"just a\nsingle trick\". Questions that require to combine approaches are far better -\nthey can actually measure if the interviewee can reason about the problem and\nidentify the points for trade-offs.\n\nBtw: if you're interviewing more senior candidates, a code review question is\noften a good idea. It turns the situation around, from \"how do you build\nthis?\" to \"how would you fix this?\"\n\n------\nballs187\nBeing a better interviewer is important.\n\nAs stated, some types of questions aren't good judge of skills, like implement\nmergesort. If you can implement mergesort, you probably studied up for your\ninterview. You're not testing anything, other than did the candidate care\nenough to study.\n\nInterviewing should test the candidates ability to write code that is:\n\n1\\. Correct (solves the problem)\n\n2\\. Efficient (solves the problem without unnecessarily wasting resources)\n\n3\\. Understandable (goes hand in hand with maintainable)\n\n4\\. Maintainable (can be modified by another developer, or even yourself after\na few months)\n\nCoding on a computer can lend itself to all of these (no brainer there), but\nyou lose a key aspect of whiteboarding that I think is really important--how a\ncandidate approaches solving a problem.\n\nKnowing how to implement merge sort, or memorizing every possible linked-list\nquestion isn't all that valuable--but having a concrete approach to tackling\nproblems is, and I want to understand that process from my candidates. I want\nto know the design tradeoffs you make, how you think about optimization, how\ndo you reason about constraints as you learn about them.\n\nIt seems that explaining your process while coding on a computer would be\ndifficult to do without practice--and if you're going to practice, why not\ninstead just practice whiteboard coding, which is how most tech companies\ninterview.\n\n~~~\nrimliu\nSo do you want someone who is good at explaining how they are looking for the\nsolutions, or someone who is good at finding the solution? For me personally\napproaching a problem never involves a whiteboard.\n\n~~~\nballs187\nI don't think I've ever been at an engineering company that didn't have\nwhiteboards, at the very least in conference rooms--I infer from that that\nsome portion of employees find them valuable.\n\nClearly someone who is good at solving problems is preferred. However, between\nsomeone who is good at solving problems, and someone who is good and can\nexplain/demonstrate their process is more desirable.\n\n------\njonathankoren\nI have to disagree with this trend of having people write code on a computer\ninstead of a whiteboard. Sure, it mimics the real world, but in practice you\nspend a bunch of time dealing with crap about syntax errors, and argument\norder mismatch instead of dealing with the actual underlying algorithm. Even\nworse, you may end up with a candidate that realizes that there's probably a\nlibrary that would be really useful for this, but then has to spend time\ngoogling for the name of the library, then installing it, and then desperately\nskimming for a quick start in documentation because the question isn't, \"Can\nyou work google and run pip install?\", but rather some other task. So now\nyou've probably lost 15 minutes just dealing with that shit.\n\nIf you're going to do this, it simply doesn't work in a 40 minute setup\nwithout some sort of provided scaffolding and test cases.\n\n~~~\njpatokal\nIs doing interviews in an IDE and expecting fully functional code actually a\nthing? My company uses a simple text editor: perfection is not expected, and\nit's still way better than a whiteboard.\n\n~~~\njonathankoren\nI can confirm that this is a thing at multiple companies. Instead of of\ntesting the actual algorithm, you'll encounter such blasts from the past like:\n\"Network Socket Debugging\", \"How The Fuck Does Java Read From STDIN?\", and\neveryone's favorite, \"Why The Fuck Did You Give Me Text Data In CSV Format?\"\n\nI have seen this go well exactly once. And they provided an environment with a\nworking (albeit do nothing) scaffold along with test data. Also it was like a\nthree hours in a room.\n\n------\ncbanek\n> Hopefully in your realistic setting, the challenge comes from the difficult\n> tasks you are given to solve, not some jerk that's sniping at you from the\n> sidelines.\n\nI wish I could say that's true. If you're getting sniped from the sidelines in\nyour interview, it's probably a part of the culture where you are\ninterviewing. So it's quite likely to be a non trivial part of the problem\nyou're solving.\n\n------\npnw_hazor\nThere is no reason to haze potential employees.\n\nJust fire them if they don't work out. You set expections by telling them up\nfront they are on probation and that they will be fired if they fail to live\nup to their resume.\n\nSome of the worst programmers I ever worked with could pass hazing interviews\nlike a champ. Whereas some of the best would refuse to step foot in companies\nwith a reputation for hazing their prospects.\n\n~~~\nClubber\nThat's a funny term to apply to this type of interview process, but it fits.\nKudos.\n\nAgree on the invalidity of technical interviews. We hired a guy who correctly\nanswered every question I asked, but he could never ship a product. He always\ngot distracted by silly things. He was great at solving tough little problems,\nbut never could grasp the big picture.\n\n------\namriksohata\nFor me I have interviewed many people with a technical test, that was the\neasiest part i.e determining their competency. The hardest part is figuring\nout what their work ethic is, can they pull their own weight and will they\ncause friction in a team, sadly you only find that out often AFTER hiring\nthem.\n\n------\nzerr\n_Small_ take-home _paid_ project.\n\n------\nJemaclus\nI have a lot of thoughts about this particular topic, probably ideas that are\nunpopular and definitely go against the grain, at least in the way the Bay\nArea operates.\n\nIn my opinion, if you bring a candidate on-site for a 4+ hour interview and\nyou ask them to write code, you've failed to properly vet the top of your\nrecruitment funnel. As a software engineer, writing code is the BARE MINIMUM\nof your job. Imagine hiring a construction worker by merely asking them to\nhammer a nail for 4 hours.\n\nYou should have a thorough understanding, through various means such as phone\nscreens, code samples, portfolio work, and simple tech challenge, to determine\nwhether they can write code _before you even bring them on-site_. Once they're\non-site, you should _quickly_ verify that they can actually do what you\npreviously learned that they can do. I'm talking 15-20 minutes worth of time.\nThe remaining time should be 100% on the \"soft skills\" and other things\nmentioned, including but not limited to my big criteria: \"Can you quickly get\nup to speed and learn the things you don't already know?\" and \"Do I want to\nsit next to you for the next 6 months of my work-life?\"\n\nIf your on-site interview includes 45 minutes of coding (much less multiple\nsets of 45 minutes of coding!), you're doing it wrong. Very wrong.\n\nKeep in mind you've asked your candidate to effectively take a day off work\nfrom their current job. They're calling in sick, taking a vacation day, or\nsomehow lying to their boss and taking a risk of not being in their office\nwhen they're in yours for the interview. If they're smart, they've lined up\nmultiple interviews with multiple companies, because putting all their eggs in\nyour basket is just a terrible idea. Imagine having to take four days off to\ninterview with four companies. And they probably aren't four days in a row, so\nyou can't just pretend to have the bubonic plague or something.\n\nYou're asking them for a huge commitment of their time. And if you're willing\nto kick out a candidate because they didn't know how to invert a binary tree,\nthen you should have found that out before they even walked in the door and\nsaved everyone a whole bunch of time.\n\nIMO, an interview should be a _max_ of 4 hours. Any more than that and the\ncandidate is simply repeating themselves over and over to different people,\npotentially solving the same tech problems (that should have been evaluated\nbeforehand), and generally making it a huge waste of time.\n\nMy two cents. Happy to debate these ideas with anyone interested.\n\n------\nilaksh\nMostly makes sense but your ability to write a parser is still going to depend\non how many parsers you wrote or when you wrote them or whether you are able\nto use a framework/tool to do it.\n\n------\nthe_mint\nAll his example interview questions are stuff that were actually used at\nDropbox!\n\n~~~\nkevmo314\nHis resume ([http://www.lihaoyi.com/Resume/](http://www.lihaoyi.com/Resume/))\nsuggests he worked at Dropbox for quite a while. :)\n\n------\nspraak\nWhat are some good resources for developing good algorithm skills for a non CS\ngrad? Examples in JS, Python or Go preferred.\n\n~~~\nSmirkingRevenge\nThere's lots of stuff online.\n\nCheck out hackerrank.com for example. There are other sites like that out\nthere.\n\nIts becoming a real cottage industry, this whole IT interview prep thing.\n\n"} {"text": "\nDemon Core: The Strange Death of Louis Slotin (2016) - BerislavLopac\nhttps://www.newyorker.com/tech/annals-of-technology/demon-core-the-strange-death-of-louis-slotin\n======\nmjb\nI've always found this story fascinating, because it's such a clear example of\nthe role of operator error in safety. Both Daghlian and Slotin were experts in\nthe work they were doing, and both were well aware of the danger of getting it\nwrong. Still, they made a mistake. As people do.\n\nOn one hand, the mistake was the effect of time and schedule pressure. Some of\nthat was real, but some also illusory (as shown by the fact that Los Alamos\ncould stop doing those experiments entirely as still deliver). They chose the\napproach they did because it was the easiest. But not only that - at least in\nSlotin's case he chose the approach he did because he didn't believe that he\nwould make a mistake. He'd done this a bunch of times. The danger had become\nroutine, an idea captured in Diane Vaughan's books as \"normalization of\ndeviance\", and in economic and sports research as \"the familiarity heuristic\n(\"I know this, so I'm safe\").\n\nOn the other hand, the experiment itself set them up to fail. Minor tweaks\nwith near-zero cost impact, like bringing the tamper up from the bottom rather\nthan down from the top, would likely have saved both men. My understanding is\n(and it's hard to get clear evidence of this) that both men designed their own\nexperiment. Both were in a position to do it in a safer way with no additional\ncost. With hindsight, both likely would have. In Slotin's case it seems like\nthe commitment heuristic (\"I want to be consistent with my past actions\")\nplayed a role in him doing something he knew to be dangerous \"one last time\".\nIn Daghlin's case, there seems to have been some role of the scarcity\nheuristic (\"if I don't get this done tonight after the party, I might not get\nanother chance\").\n\nThis all goes to show how fallible we are. Not only these guys, both extremely\nsmart people. We take irrational risks all the time. The big take away here is\nthat systems need to be safe _even though_ people are going to make bad\ndecisions for bad reasons. One extremely effective way to do that is to\nseparate design from implementation, using our rational decision making\nprocesses to make the hard decisions ahead of the moment. Then write the\ndecisions down. Then follow them in the moment.\n\n~~~\nska\nA more mundane and perhaps relatable version of this is the relaxation of key\nautomobile driving skills once the operator has become comfortable. It is not\nunusual to see someone performing maneuvers that are only \"safe\" under\nassumptions that cannot be strictly true but are statistically likely to be\ntrue (e.g. there is nobody coming the other way around this blind corner,\nthere is no cross traffic this late at night, whatever). I doubt people\nconsciously think of it as a dice-roll every time they do it, but it is. Over\ntime you may get comfortable doing things simply because nothing bad has\nhappened but if the assumption fails you will likely crash.\n\n~~~\nethbro\nI can't seem to find the statistics, but I've always wondered if there's a\nsecondary peak around ~1-2 years of driving experience.\n\nHypothesis: at that point you feel comfortable, but you haven't accumulated\nthe full spectrum of experience.\n\nI'd expect the relevant statistic would be accidents per person, by age. But\neverything seems to normalize per miles-driven (where no such effect is\napparent) or against total accident rate.\n\n------\nliability\nSlontin was a cowboy (in the derogatory sense of the term) who thought bravado\nwould keep him safe from intense radiation. The demon core incident wasn't an\nisolated incident, one of his less famous exploits involved swimming in an\nactive nuclear reactor, which obviously irradiated him badly.\n\n> _\" In the winter of 1945\u20131946, Slotin shocked some of his colleagues with a\n> bold action. He repaired an instrument six feet under water inside the\n> Clinton Pile while it was operating, rather than wait an extra day for the\n> reactor to be shut down. He did not wear his dosimetry badge, but his dose\n> was estimated to be at least 100 roentgen.[12] A dose of 1 Gy (~100\n> roentgen) can cause nausea and vomiting in 10% of cases, but is generally\n> survivable.[13]\"_\n\n~~~\nethbro\nThat seems unfair. As a trained nuclear physicist and engineer, he was no\ndoubt quite clear on the risks related to radiation.\n\nJust because I choose to jump a motorcycle through a flaming hoop doesn't\nindicate that I think my body is impervious to flame.\n\nIt means I weighed the risks and made a choice.\n\nIn other words, ignorance, chance, and bravery are different things. And\naccidents are some mix of all of them.\n\n~~~\nliability\nExtreme risk taking is characteristic of young men. It's not so much a\nrational decision as it is a mind clouded by testosterone. Sometimes it's\nentertaining good fun. I enjoyed _Jackass_ as much as anybody. The problem is\nwhen such men do it without consideration for the wellbeing of those around\nthem. Slotin didn't, he regularly performed his \"tickling experiment\" with\nother people in the room.\n\n------\nBurnGpuBurn\nStories like these will forever remind me of Hisashi Ouchi who died horribly\nfrom a different kind of criticality incident in Japan in 1999 [0]. He had\nreceived 17 sieverts and they tried to keep him alive for as long as possible\nin a human experminet. I won't post links to articles about this as you can't\nunsee pictures like that, putting his name in a search engine will get you\nthere.\n\n[0] [https://www.japantimes.co.jp/news/1999/12/22/national/jco-\nwo...](https://www.japantimes.co.jp/news/1999/12/22/national/jco-worker-\nsuccumbs-after-83-days/)\n\n------\nroryrjb\nAlso discussed a couple of months ago:\n[https://news.ycombinator.com/item?id=20205876](https://news.ycombinator.com/item?id=20205876)\n\n------\nfnordfnordfnord\nThe incident that caused Slotin's death was discussed a bit in a recent\ndocumentary: _The Half-Life of Genius Physicist Raemer Schreiber_ (2017)\n[https://www.imdb.com/title/tt4870510/](https://www.imdb.com/title/tt4870510/)\n\nIt's available on Amazon Prime.\n\n------\nlarrydag\nThis sounds a lot like Fat Man and Little Boy movie. The John Cusack character\nwas killed by radioactive exposure from a mishap at Los Alamos. The movie is\nreally interesting.\n\n[https://www.imdb.com/title/tt0097336/?ref_=ttfc_fc_tt](https://www.imdb.com/title/tt0097336/?ref_=ttfc_fc_tt)\n\n------\nwatersb\nThere is a replica of the Demon Core in the Bradbury Science Museum in Los\nAlamos.\n\nA sphere of metal, a bit larger than a basketball, it's just the right size\nand shape to be manipulated by hand tools.\n\nI wonder if that contributed to normalization of deviance. It doesn't look\nweird enough to kill you.\n\n------\nhmahncke\n> \"Four of the fatalities were just bad luck, involving a group of janitors\n> who shared muscatel wine that was laced with antifreeze\"\n\nI'd like to hear a little more about the \"bad luck\" that caused a bottle of\nmuscatel to get laced with antifreeze...\n\n~~~\nAbekkus\nSmall amounts of antifreeze can be used to make bad wine taste better, and\nkill you faster.\n\n[https://en.wikipedia.org/wiki/1985_diethylene_glycol_wine_sc...](https://en.wikipedia.org/wiki/1985_diethylene_glycol_wine_scandal)\n\n~~~\nsp332\nMore recently, Fireball whiskey was recalled in a few countries for high\nlevels of propylene glycol. [https://www.huffpost.com/entry/fireball-whiskey-\nrecall_n_606...](https://www.huffpost.com/entry/fireball-whiskey-\nrecall_n_6067486) Note that it had the same levels in the USA but was not\nrecalled because our standards are laxer. Still, it's unlikely to to kill you.\n\n~~~\nfnordfnordfnord\nPropylene glycol is a food additive. It is also used in \"safe\" anti freeze. It\nis not the same as Ethylene glycol which is common automotive anti freeze and\nvery toxic.\n\n~~~\nsimcop2387\nIt's also one of the primary ingredients in most e-cigarette vape fluids too,\nand used in fog machines for the same reason.\n\n------\nwernsey\nThis video \"A Brief History of: The Demon Core\" on the Plainly Difficult\nchannel showed up in my YouTube recommendations just the other day:\n\n[https://youtu.be/VE8FnsnWz48](https://youtu.be/VE8FnsnWz48)\n\n------\nHalluxfboy009\nLove Alex's archival research work. Never seen a couple of those pictures or\nheard that particular account of the airglow from Schreiber before. I'm glad\nto see it finally falling out of favor to paint Slotin as some kind of\n'Canadian hero' as it was fashionable to do 15-20 years ago. He was a fool who\nregularly courted fate, doing things like diving to the bottom of a cooling\npool of an operating reactor to repair an instrument he didn't want to wait\nanother day to do, giving himself a nice 100R dose.\n\n"} {"text": "\nTesla's Musk Paid at Least $593M in Income Taxes in 2016 - submeta\nhttps://www.bloomberg.com/news/articles/2017-04-21/tesla-s-musk-paid-at-least-593-million-in-income-taxes-in-2016\n======\ntdehollain\nThat's $593M taxes on $1.34B earnings on exercising stock options...44% tax\nrate is pretty harsh!\n\n~~~\nWJW\nFor the US maybe. Income tax in the Netherlands (my country) in the top\nbracket is 52%. On the second hand, we have no capital gains tax so he might\ncome out ahead when exercising options. On the third hand, we have a wealth\ntax of 1.2% on your entire capital above a certain floor (of about 20k) so he\nmight not come out ahead in the end.\n\nIt's always interesting to see the opinions of different cultures about how\nmuch tax is reasonable :)\n\n~~~\nmatt_wulfeck\nNot bad, but doesn't that come with social services like free medical care and\ngreatly subsidized education?\n\nHere in he US the middle income pays taxes and receives almost no directive\nsocial benefit, as most social programs are geared towards lower income and\nthe rich can afford accountants and lawyers to keep their tax burden very\nlight.\n\n~~~\nkareemm\nI'm not sure how you can say that the rich keep their tax burden light when\nthe topic of this thread is how Musk paid tax amounting to 44% of his income\ntotalling over half a billion dollars.\n\n~~~\nCocaKoala\nIf it were common for rich people to pay 44 percent of their income in tax, it\nwouldn't be a newsworthy story.\n\n~~~\njstelly\nAre there people who receive millions of dollars in income via stock options\nwho pay a lower rate? If so, how does that work?\n\n~~~\nCocaKoala\nHere's a Bloomberg article from 2012 that lists ten techniques:\n[https://www.bloomberg.com/news/articles/2012-04-17/how-to-\npa...](https://www.bloomberg.com/news/articles/2012-04-17/how-to-pay-no-\ntaxes-10-strategies-used-by-the-rich)\n\n~~~\njstelly\nIt's worth mentioning that none of these techniques actually apply to the case\nwhere you exercise stock options - other than the one that says basically\n\"take options as compensation if you can because you don't pay taxes until you\nexercise them\" which is true for everyone who gets options (because you don't\nget any liquidity) not just rich people with expensive accountants.\n\nThe only techniques that apply to income taxes are the \"borrow against stock\ntechnique\" (has a big caveat about a rich person who lost in court when he\nused it) and the deferred compensation example (which is also zero liquidity;\npresumably you pay all of the income taxes when you actual get the money).\n\nThe article makes a better case for ways to avoid death taxes or real estate\ntaxes though.\n\n------\nthrowaway999a\nIt's very strange how people now seem to feel like they are entitled to see\nthe tax returns of public or well-known figures. Tax returns are nobody else's\nbusiness! Would you demand to see their medical records as well?\n\nThe implicit subtext (especially with highly successful people like Musk) is\nthat we do this to \"make sure they pay their fair share\". Here's the reality:\nthe top 1% of US tax filers pay nearly half of all US income taxes[1]. The\nbottom 80% of filers (by income) pay only 15% of all taxes. This myth that the\nrich don't pay taxes is completely, utterly false. It is a myth promulgated\nfor political purposes.\n\n1\\. [http://www.cnbc.com/2015/04/13/top-1-pay-nearly-half-of-\nfede...](http://www.cnbc.com/2015/04/13/top-1-pay-nearly-half-of-federal-\nincome-taxes.html)\n\n~~~\naccountyaccount\nI think people care that the rich pay a smaller proportionate rate[1] than the\npoor. People who make under $19k a year pay twice the rate of those making\n$470k+\n\nComparing total of taxes paid and leaving it at that is generally a tactic to\ndistract from the proportion problem.\n\n1.[http://www.itep.org/whopays/full_report.php](http://www.itep.org/whopays/full_report.php)\n\n~~~\npropman\n45% of Americans pay 0 federal income tax. That is a very small rate\n\n~~~\nc0nducktr\nFederal income tax isn't the only tax out there...\n\n------\nengx\nThe video clip seemed unusually harsh. The reporter said he'd announced the\nHyperloop to \"thrill and confuse\"? Followed by several skeptical tones and\nquestions all while contrasting it with saying he'd done things no one else\nhad.\n\n------\nsubmeta\nOn the other hand this: \"Elon Musk's growing empire is fueled by $4.9 billion\nin government subsidies\"\n\n[http://www.latimes.com/business/la-fi-hy-musk-\nsubsidies-2015...](http://www.latimes.com/business/la-fi-hy-musk-\nsubsidies-20150531-story.html)\n\n~~~\nmarricks\nSounds like money better spent to me than the 5 trillion dollars in global\nfossil fuel subsidies in 2015, or 500 billion just in the US[1]\n\nThat 5 billion number for Musk I think is a grand total of all subsidies,\nspanning all time.\n\n[1]\n[http://www.sciencedirect.com/science/article/pii/S0305750X16...](http://www.sciencedirect.com/science/article/pii/S0305750X16304867)\n\n~~~\nkolbe\nI don't have to click any like to know that the US did not spend $5t on fossil\nfuel subsidies. I'm pretty sure the US only spent like $5t total in 2015, and\nmost of that is in medicare and social security.\n\n~~~\nadventured\nThat $5 trillion figure isn't actually spending at all. It's entirely an\ninvented figure, meant to supposedly cover all estimated environment damage\nfor example. Really what it's meant to do, is be massive enough to enable\npeople to throw it around when arguing in favor of obliterating the fossil\nfuel industry.\n\nWhy does the invented aspect matter? Because it's comical. It leads to the\npremise that over just the next 10 years, the subsidies are a likely\ncumulative ... $56 trillion or so (about 20%-25% of all wealth on earth). Aka,\ngreater than the combined profit of every oil company in world history going\nback ~140 years.\n\n~~~\nZeroGravitas\nImagine you ran a small, successful business. Imagine, as part of that\nbusiness you killed someone every year.\n\nNow, we could look at your tax returns and see that you have a successful\nbusiness. Or we could \"invent\" some figure to represent the lives you ended.\n\nIs it really crazy to imagine that the total we invent would be higher than\nyour yearly, or even total profits?\n\nJust scale that up to the point that you're starting wars, causing a crime\nepidemic with lead poisoning, overheating the planet, etc.\n\n------\njkchu\nThe article mentions that he kept the remaining shares (as opposed to selling\nthem as well). I wonder what is the general strategy for founders to cash out\ntheir stocks? Of course holding the shares for 1 or 2 years to get short/long-\nterm capital gains tax breaks makes sense. But outside of that I imagine there\nis a balancing act of not selling so many shares to raise investor's eyebrows,\nbut also freeing up money to diversify your assets.\n\n------\njoatmon-snoo\nImagining this scaled down to options that someone might get for joining a\nstartup early... wow.\n\n------\nSEJeff\nNot sure about everyone else, but I'd love to have this problem. Oh I have to\npay $593 million in taxes? Boo hoo, let me cry all the way to the bank to\nwrite the check.\n\n~~~\nuser5994461\nImagine that you are a GAFA CEO 2 years before you IPO and you are asked to\npay 593 millions based on the estimated value of your shares.\n\n~~~\naccountyaccount\nI keep trying to imagine it, but I can't get past the part where I'm excited\nabout having hundreds of millions of dollars.\n\n~~~\nthrowaway999a\nJust having hundreds of millions of dollars wouldn't be particularly exciting\nonce the novelty wore off. The exciting part is _earning_ hundreds of millions\nof dollars via the immense success that it implies/requires.\n\n------\nsubmeta\nI wonder how much the founders of Google paid. Or the CEO of Apple. Or Uber's\nfounder. Or for instance Mr Trump.\n\n~~~\nr_smart\nIt really depends on the year. The people who top income tax payments one year\nwill generally not be anywhere near it on subsequent years because they don't\ndraw a steady income, but instead cash out periodically. So while none of the\npeople you've listed are likely to be in this years top earners, at some point\nin the years prior, or in the years to come, you'll likely see their names pop\nup. And when they do, they'll have paid some massive amount of money in taxes.\n\n------\nAlir3z4\n$593M could be used for developing the company and its products.\n\n~~~\nArchio\nWhat is the point of this comment?\n\nI initially misread \"company\" as \"country\" \\- and in that interpretation I\nwholeheartedly agree.\n\n------\neconner\nWow. That's a yuge amount of income.\n\n~~~\nneaanopri\nA narrow and literal reading of events makes Musk the richest african\namerican. It's pretty depressing the richest african american is white\n\n~~~\ngotodengo\nI'm not trying to deny the (until very recently legally enforced) class\ndifference between whites and blacks in South Africa, nor the social issues\ncausing hiring discrepancies in the States.\n\nHowever, it's not a narrow reading of events. Musk is African. Head a bit out\nof the way in South Africa and you'll find white kids who spend all day\nrunning around with black friends with the whole group speaking fluent Zulu.\nThey've grown up there and their families have been there for generations.\n\n~~~\nbmmayer1\nThe problem here lies with the imprecise term 'African American', a\ndesignation which, according to customary usage, includes many native-born\nAmericans who have never been to Africa, as well as excludes many native-born\nAfricans (like Musk) who are also Americans.\n\n~~~\ngla8\nAs a thought experiment, if you define Americans as those with natural rights,\nthen every human being on Earth could be considered African American.\n\nAlthough I've met a surprising number of intelligent people who somehow do not\nbelieve we are all descended from Africa. Which I suppose is related to people\nfailing to understand that all individuals have innate inalienable rights,\nregardless of their citizenship.\n\n~~~\nbmmayer1\nSure, we're all descended from Africa. But we all know that ethnographic\ndefinitions are arbitrary, and how long ago you or your ancestors immigrated\napply more or less to your demographic label depending on a host of cultural,\nsocial or economic factors. The definitions are convenient only in labeling\npopulations in broad strokes anyway; every individual has multiple ethnic,\nreligious, cultural, racial identities that can be sliced/defined/labeled any\nway that society deems 'normal'...\n\n------\nyoudontknowtho\nI personally think that after the first 1.5 million that they tax rate should\nbe 100%. That's still an incredibly large amount of money. After that we need\nthe resources to tackle problems and we can't if people hoard them.\n\nI know that it sounds simple, and lots of people on this site will disagree,\nbut I'm having trouble justifying this kind of extreme wealth to myself\nanymore.\n\nThere are so many people in poverty and ignorance. What's it for any way if\npeople are starving and illiterate?\n\nI'm really not looking forward to some of the responses to this comment, but I\nfind myself thinking more and more about the morality of letting people\naccumulate massive sums when the resources that wealth could muster go unused\nby the people that need them most.\n\nI don't know. I'm genuinely interested in hearing what other people here have\nto say if you can keep from being condescending or mean. Please be nice.\n\n~~~\njcsnv\n>I personally think that after the first 1.5 million that they tax rate should\nbe 100% Remember, Elon funded SpaceX and Tesla with the wealth he generated\nfrom the sale of Paypal. Where would the funding have come from for those\nentities if he was taxed at 100% after 1.5mm?\n\n~~~\nyoudontknowtho\nTo be fair, he has raised money from investors to start those companies. I'm\nnot advocating for the end of banking, so people would still be able to borrow\nmoney and invest. I'm also not talking about taxing wealth, but income.\n\nSpaceX is interesting because we could be doing that stuff at NASA if it were\nfunded well.\n\nI get what you are saying though, it would have an effect on investment and\nspeculation. Maybe we don't need as much of those things.\n\nI'm also not saying that this is particularly well thought out.\n\n"} {"text": "\n\nLess then 48 Hours until The TPP Vote - fur0n\nhttps://openmedia.org/expression?src=156476\n\n======\nxxxmadraxxx\nDear America.\n\nTHEN != THAN\n\nThank you for your attention.\n\n"} {"text": "\nU.S. CEO to France: \u2018How Stupid Do You Think We Are?\u2019 - kruken\nhttp://blogs.wsj.com/corporate-intelligence/2013/02/20/u-s-ceo-to-france-how-stupid-do-you-think-we-are/\n======\njacquesm\nWow, what a total jerk. Regardless of the differences between US, Chinese,\nIndian and French work ethics the least you could do as a CEO is to learn how\nto write a polite refusal.\n\nWhen you don't _have_ to insult someone it is probably better not to. Because\nthose pesky French just might publish your less than elegant letters, your\nstockholders might read those letters and could very well think: \"This guy\nruns the company I invest in? I'd better move my money out before his loud\nmouth causes him to lose business.\".\n\nStockholders are fickle, and some stockholders actually care about more than\njust the numbers (of course, that is a minority).\n\nAlso, if you communicate you negative interest when a foreign representative\nhas thought to offer you a chance at some deal you may want to think of the\nfuture. Effectively you are saying 'if you are so kind as to think of me I\nwill repay you with trash'. That will likely not be repeated again and likely\nthe effect will be much further spread than just this one country and just\nthis one official.\n\nThat bulk deal for Tires for all the vehicles of the French armed forces\n(Michelin?), the police force or their connections with the ministry of labour\nand their counterparts in other countries. Piss off politicians in enough\nplaces and it will backfire.\n\nMaybe there is some hidden upside but I don't see any.\n\nFinally, you are also representing your country when you do business abroad.\nEvery other American CEO lost a little bit of respect today by re-inforcing\ncertain stereo types that we could all do without.\n\nIf you are ever in a position like this, please say 'no' with some grace.\n\n~~~\n16s\nI like people who tell it like they see it. Sure, he could tone it down a bit,\nbut I would prefer he does not. When you guard your words and hold back how\nyou really feel, you are not doing anyone any favors.\n\nSaying nice, comforting things to them (while they fail and people lose their\njobs) would be a greater injustice than being honest and frank. I bet no one\nelse has ever spoken that directly about the matter. Sometimes, that's\nprecisely what is needed.\n\n~~~\njacquesm\nSure, but this is not in any way productive.\n\nAnother thing that bugs me is the hypocritical stance of suing Chinese tire\nmanufacturers and then turning around and manufacturing in China.\n\nIf you do something like this - it's a pretty drastic departure from good form\n- there ought to be a reason for it, some kind of upside to balance the\nobvious downsides.\n\n~~~\nericd\nI think it is productive - a polite refusal would leave the minister with less\ninformation about the opinion of business leaders towards French policies.\nThis way, he knows of a few specific issues that the CEO has with the idea of\noperating in France.\n\n~~~\njacquesm\nAll he succeeded in communicating is that he thinks in stereotypes and is a\njerk. Why do you think this letter is now on public display?\n\nWorkers in France work for three hours, eat for two and talk for another\nthree? Really?\n\nProducing in France is only expensive because of the labour costs? Or is there\nmaybe also that pesky environmental controls issue?\n\n~~~\noelmekki\nFrench here. What I'm mostly concerned here is that the guy is basically\nsaying : \"we will produce tires in China for cheap and then sell them to you,\nbecause we can\".\n\nEurope has very low restrictions on imports, because it tries to implement\nfree market as purely as possible. Many voices in France say we must be more\naggressive on importation taxes, and that even US has a more protected market\nthan us. After all, no west country can beat China in production costs.\n\nProblem is, those voices are mostly from nationalist and xenophobic parties.\nEven current left wing french government would not touch total free market.\n\nNow, there is the insult. Saying french workers work 3 hours a day is totally\nstupid. Normal work day is 8 hours for private sector, and 7 hours for public\nsector (but most public sector workers work 8 hours and then take a day off to\ncompensate over worked days). The reason because average hours per day is low\n(see other comments) is because unemployment is high, so many people accept\npart time jobs and short term jobs.\n\nNow, combine the cynical stance \"we can produce cheap products in China and\nsell them to you with no penalties\" and the insult, and you've got perfect\nfood for nationalist parties. Once again.\n\n~~~\nbrousky\n> Saying French workers work 3 hours a day is totally stupid. Normal work day\n> is 8 hours for private sector, and 7 hours for public sector (but most\n> public sector workers work 8 hours and then take a day off to compensate\n> over worked days)\n\nHe didn't say workers came to the factory for 3 hours then left. What he said\nwas that out of the 7 hours of a work day, 1 is lost in breaks and lunch, 3\nare spent chatting instead of working and there's only 3 ours of actual work\nbeing done.\n\nIf you read the comments on the article the vast majority actually support\nwhat that CEO says and disapprove the actions of the CGT.\n\n------\nnostromo\n> Titan had to pay millions to Washington lawyers to sue the Chinese tire\n> companies because of their subsidizing. Titan won. The government collects\n> the duties. We don't get the duties, the government does.\n\nThis is how tariffs work. You don't tax imports to fork over free money to\ndomestic companies. The point is to increase the cost of the imported good to\ncompensate for illegal (from the WTO's point of view) Chinese subsidies.\n\nI'm confused as to why he thinks those taxes should go to Titan.\n\n~~~\nOGinparadise\n_Maybe_ he meant to say: we were harmed financially, paid lawyers, sued, won\nand got jack in return.\n\n~~~\nrtpg\nthey got their tariffs, and made life generally harder for their competitors.\nThat's something.\n\n~~~\nOGinparadise\nYeah but generally you should be compensated for the already done damage.\n\n------\nrayiner\nWhat's amusing about the letter is that it shows how even executives buy into\ncultural stereotypes to justify their activities.\n\nThe substance of the letter is this: we'd rather buy an Indian or Chinese tire\ncompany to get the government subsidies and take advantage of the low cost of\nlabor.\n\nThe stuff about French workers only working three hours a day is fluff, and on\ntop of that almost certainly exaggerated out of context and/or apocryphal.\n\nSee: \n\nThe French work on average 1,554 hours per year, about 10% lower than the OECD\naverage of 1,749. Is that 10% breaking the backs of French tire manufacturing?\nOf course not. Consider that South Koreans work on average 2,193 hours per\nyear, a staggering 25% higher than the OECD average. Why doesn't Titan\nmanufacture tires in South Korea?\n\nThe answer is that relatively small differences in the number of hours people\nworked aren't driving the economics here. The French work somewhat less than\nsay Americans, but also make somewhat less money than say Americans (last I\nchecked, manufacturing jobs paid on an hourly basis). To be accurate, the\nletter could have said: \"we won't manufacture tires in France because the\nFrench work 6.5 hours per day on average versus 7.5 per day for Americans.\"\nBut that would have sounded stupid. Hence the need to exaggerate and say: \"the\nFrench only work 3 hours per day!\"\n\nWhat's driving the economics is, as the letter points out, $1/hour wages in\nChina or India, where people are happy to get so little money because those\ncountries are poor and have low standards of living relative to western\ncountries. The rest is just handwaving and fluff.\n\n~~~\ngojomo\nThe \"three hours a day\" is obviously an impressionistic account, but he\nreports having visited that factory more than once and spoken with its\nworkers. And, as someone who's managed similar factories in other\njurisdictions, he'd have some insight about what 'tempo' of production is\nnecessary for profitable operation.\n\nSo it's not fair to accuse him of imagining this based solely on cultural\nstereotypes. He has expertise beyond that, both in the industry and the\nspecific factory; that's why the French government approached him.\n\nAlso, your OECD averages for France don't tell us anything about how a single\ntroubled factory works. Many French businesses are doing fine, but they aren't\nlooking for a foreign-buyer rescue. The Titan CEO is speaking of one, specific\ntroubled factory, with a specific (likely unfireable) workforce. Its work\nenvironment might be among the worst France's traditions, unions, and\npolitical influences has to offer. As thin as the anecdote in the CEO's letter\nis, it's still stronger than an argument based on national averages that\ninclude healthy businesses.\n\n~~~\nrayiner\nThe third paragraph is talking about that factory, but he's clearly\ngeneralizing to French workers. He uses the word \"French\" three times in four\nshort sentences.\n\n~~~\ngojomo\nIt can be stretched to read that way, but I believe the context makes it clear\nthat he is primarily speaking about those he observed and spoke to in that\nfactory.\n\nFor example, the last sentence phrase \"I told this to the French union workers\nto their faces\" is clearly referring to specific workers at a specific site,\nnot all French workers (or even French union workers) everywhere.\n\nHe does emphasize the descriptor 'French', but that seems both to rub a little\nsalt in the wound of the national official he's responding to, and perhaps to\ncontrast those he's describing with non-French workers at the same factory, or\nwith workers in similar tire factories outside France. It isn't evidence the\nauthor has the same judgement of all French workers, even though that\nexpansive interpretation is an easier strawman to knock down.\n\n------\niuguy\nI have an idea that the differences in work ethic across Europe may be partly\nto do with climate and partly to do with language.\n\nIn France, the verb 'work' is _travailler_. Traditionally this meant literally\nto toil, a chore, an obligation. In Germany, the word werken means to build,\ncreate, do. The German word more aligned with travailler is arbeit. This lack\nof correlation in the word work I believe may explain the differences in the\napproach and cultural views towards work that I see across Europe,\nparticularly with latin root romance languages.\n\nThe second factor I've seen is climate. In the more productive northern\nEuropean countries, it's generally colder. There's been a historical need for\nproduce and for people to work (not endure or arbeit) to trade in order to get\neverything you need in terms of food and shelter.\n\nSouth of the Olive line something strange happens. If you look at Spain you'll\nsee that there's a long siesta during the day. This is because for a large\npart of the year Spain's too hot to work in during most of the afternoon.\nWhile we have air conditioning now, hundreds of years of cultural differences\nI feel may have led us with ingrained ideas about what work is and what it\nmeans, with those differences reinforced by climate.\n\nFor example, in Turkey there's no such thing as a siesta (there's no time in\nIstanbul for one anyway). Culturally it doesn't really exist, yet it's as hot\nas parts of Spain that do.\n\nI could be completely wrong about this, but it's just something I've noticed.\nI do believe that the unions are crippling France's productivity, but France\nis as likely to change in the short term as the rest of Europe to France's\nview IMHO.\n\n __EDIT __: I'm not saying that Germans, Brits or whoever are harder working,\nor that the French, Spanish, Moomins are lazy, far from it. I'm pointing out\nsome differences in how people perceive work (i.e. neutrally or with negative\nconnotations) based on language and culture, based solely on my own\nexperience. For what it's worth I've worked with lazy Brits and Germans and\nhard working French and Spanish people. The Moomins I've never worked with,\nsorry if you're a Moomin and my ignorance upset you.\n\nraverbashing makes a good point here:\n\n\n~~~\ngalactus\nFrance is one of most productive countries in the world, when measured as GDP\nper hour-worked:\n\n[http://en.wikipedia.org/wiki/List_of_countries_by_GDP_%28PPP...](http://en.wikipedia.org/wiki/List_of_countries_by_GDP_%28PPP%29_per_capita_per_hour)\n\n~~~\nhollerith\nRight, but that is partly or wholly because French unemployment is higher than\nit is in the US with the result that the less productive workers do not have\njobs and consequently are not included in the statistic. If we use a different\nstatistic, namely, GDP per capita, France is significantly lower than the US.\n\n~~~\ncpleppert\nGDP per capita doesn't track unemployment either. France isn't 'significantly'\nlower than the US either it is about where Germany is and Britain is far\nbehind them both.\n\n------\nrdl\nI don't get why you'd ever send a letter like this (except anonymously, or if\nyou were a politician). There is no upside beyond just \"Sorry, we're not\ninterested -- our new investments are focused on Asia, where demand for tires\nis growing 200%/yr. Sincerely, CEO.\" There is downside -- you might provoke\nsome tariffs in EU/France, or disinvestment from the pension fund, or\nwhatever.\n\n~~~\nctdonath\nWhile scathing, it is also very informative. \"Not interested\" and a vague\n\"lookin' better elsewhere\" doesn't get into the reality of \"why?\"\n\nMethinks he did them a great service in being brutally honest. Those trying to\nsolve the obvious problems will make much greater progress with such a letter\nin hand, rather than the usual apologetic tact. \"Helpful are the wounds of a\nfriend...\" I'm sure he would, in fact, _like_ to buy a French tire factory,\nbut ridiculous pay for minuscule work makes for an offer no less insulting\nthan his reply.\n\n~~~\nrdl\nYes, but there is no percentage in it for him. It's like telling a random fat\nperson on the bus that he's fat. Probably nothing happens, but there is a\nsmall chance he will fly into a rage, or will tell everyone that you called\nhim fat (maybe blogging about it, with video!). There's a much smaller chance\nthat he'll suddenly start to diet/exercise, but how does that benefit you?\nIt's different if it's a friend/family member, or if you're hired as a trainer\nor doctor.\n\n~~~\nctdonath\nThere _is_ a percentage in it for him: I'm sure he _would_ like to own a\nFrench tire factory IF they actually had competitive productivity. With a\nverbal kick in the pants, perhaps the situation will change and he'll get a\nviable opportunity there. That aside, he's giving someone fair warning they're\nengaging in self-destructive behavior - a kind act.\n\nAnd no, it's not like telling a random fat person he's fat. He was approached\nwith a request that he purchase the company. It's more like an obese slob\napplying for a serving-staff position at Hooters or Tilted Kilt.\n\n~~~\nnraynaud\nFrance is not the greatest manufacturing country, it's still one of the most\nproductive country in the world, by a lot of measures.\n\n~~~\nrdl\nSomewhat ironically, it's also one of the best manufacturers for tires, the\nproduct specifically mentioned in the article. Michelin (for passenger car\ntires) is amazing, although their US-market tires (at least for everything but\nsome specific race/customs) are all made in South Carolina.\n\n------\nChuckMcM\nQuite the flame, I share others surprise that he would be quite so flagrant in\nhis discussion. It is something of an art, and perhaps a bit of fun, to tell\npeople 'no freaking way' with language that reads nicely. Clearly the guys at\nTitan have no interest in that :-).\n\nIt would have been more effective perhaps if he had shared with the people of\nAmien the context of the discussion. Something along the lines of \"this is\nwhat we can pay per worked hour if we want to sell tires to your neighbors.\nMore than that, and they will buy them from Chinese factories.\" And let the\nunions be the ones who get to decide that the jobs go out of the country.\n\n------\nfatjokes\n> Insulting the French doesn\u2019t seem to be rewarded by the stock market, and\n> Titan is down about 1% so far today.\n\nJournalists should be forced to say \"correlation is not causation\" ten times\nbefore writing each article.\n\n~~~\nlostlogin\nNot sure where you live, but the national paper in New Zealand doesn't have\njournalists write its articles. Badly written advert/infotainment.\n\n------\ndaenz\nOne of Mr. Taylor's Titan commercials is pretty interesting\n\n\n------\nkordless\nTalk about a financial blowout. Sounds like his intent is to waste Titan's\ntime writing negative remarks and being disrespectful. I agree they shouldn't\ndo business with France, but to be so rude is, well...rude.\n\n~~~\npanzagl\nMaybe he thinks you have to be rude to deal with the French? There is a\nstereotype there, right or wrong.\n\n~~~\njacquesm\nBut do you have to be rude _not_ to deal with the French? What is the upside?\n\n------\neloisant\nThe CEO is Maurice Taylor, and he's used to say the same bullshit to US\npoliticians.\n\nThat guy is pretty crazy.\n\n~~~\nguizzy\nI wonder if he's aware of how very FRENCH his first name is.\n\n------\nstfu\nIs there somewhere already a translation of the French response?\n\n[http://www.lesechos.fr/economie-\npolitique/france/actu/020257...](http://www.lesechos.fr/economie-\npolitique/france/actu/0202578488071-exclusif-goodyear-la-reponse-de-\nmontebourg-a-titan-540536.php)\n\n~~~\nguizzy\nHere's my amateur translation...\n\nSir,\n\nYour words, as extreme as they are insulting, pay witness to your complete\nignorance of our country, France, and its solid assets, such as its world\nrenowned power of attraction and its ties with the United States of America.\n\nFrance is proud to host more than 20 000 foreign businesses, representing\nnearly 2 million jobs, a third of it's industrial exports, 20% of its private\nR&D and 25% of its industrial jobs. Every year, 700 foreign investors make a\ndecision to localize job and value creating investments in France. And this\nstrong attractivity is not waning, on the contrary, it is strengthening every\nyear.\n\nAmongst these foreign investments, the United States take the first place.\n4200 subsidiaries of american businesses represent nearly 500 000 jobs. The\npresence of american businesses in France is not new: Haviland since 1842, IBM\nsince 1914, Coca-Cola since 1933, General Electric since 1974, and so many\nothers. These ties are renewed every year: in 2012, businesses like Massey-\nFergueson, Mars Chocolat, or 3M chose to grow their presence in France.\n\nWhat were the decisive factors in these decisions? Foreign businesses come to\nFrance for its quality infrastructure, its enviable living environment, one of\nthe most competitive energy in Europe and an enviroment favoring research and\ninnovation. But above all, in opposition to your ridiculous and disparaging\nremarks, the bulk of these businesses know and appreciate the quality and\nproductivity of the french workforce, its engagement, its knowhow, its talents\nand the competence of french workers.\n\nTo strengthen this power of attraction, the french government has just taken\n35 measures in the \"National pact for growth, competitivity and work\". Amongst\nthem, a tax refund for competitivity and work lighten by 6% the salary load of\nbusinesses of between 1 and 2,5 SMIC. Social partners have also reached an\nagreement on job security, which illustrate the quality of the social dialogue\nin France and its importance to our government.\n\nMight I remind you that Titan, the company you helm, is 20 times smaller than\nMichelin, our French technology leader with global reach, and 35 times less\nprofitable? This demonstrate how much Titan could stand to learn and gain from\nimplanting in France.\n\nFrance is even prouder and happy to host american investments that our two\ncountries are linked by an old and passionate friendship. Are you at least\naware of what La Fayette did for the United States of America? And as for us,\nwe will never forget the sacrifices young american soldiers made on the\nbeaches of Normandy to free us from nazism in 1944. And since you chose to\ncriticise your own country in the email you sent me, I must tell you how much\nthe french government admires the policies put in place by President Obama. As\nour minister of industry, I am particularly impressed by his action favoring\nrelocating industrial jobs in the United States and its radical innovation.\nThere is a certain link between our current policy and the one inspired by\nyour President.\n\nYou evoque your intention to use certain countries' workforce to flood our\nmarkets. I have a duty to inform you that this condamnable short-term thinking\nwill one day face a justified reaction from States. Such is already the case\nfor France and it's growing amount of allies within the European Union who are\ncampaining for reciprocity of trading and are working against dumping. In the\nmeantime, be assured that I will make certain that our competent governmental\nservices will work twice as hard to inspect your imported tires. They will be\nespecially mindful of the respect of the applicable standards in matters\nsocial, environmental and technical.\n\nPlease accept, sir, my greetings. ((That greeting is essentially\nuntranslatable)).\n\nArnaud MONTEBOURG\n\n~~~\nCamperBob2\nWould have been a much more powerful response if he'd left out that last\nparagraph. In two sentences he reinforced every incorrect stereotype of France\nas a third-world chickenshit bureaucracy that any Americans might have held.\n\n~~~\nquicksilver03\nAgreed, he's basically demonstrated (as there were any doubt by now) that he's\nunfit for his position as minister.\n\n------\napi\nSummary: \"I'd rather pay slave wages.\"\n\nOf course he would. Of course, the French union workers might be a bit too far\non the other end of the spectrum.\n\n------\npcrh\nSo he's going to buy a Chinese tire factory and pocket Chinese government\nsubsidies? /s\n\n------\naioprisan\nHe makes some great points. People don't care where their good come from, they\njust want them to be cheap and high quality. # hour workday? Unbelievable.\n\n~~~\nanonymouz\nWell, on the one hand people don't care where their goods come from when they\nbuy them (or more to the point, they don't care under which conditions they\nwere manufactured). But then, on the other hand, they don't want to have the\nstandard of living of the people working in those factories. Short-term self-\ninterest tends to make people ignore that in the long-term this model is not\nsustainable.\n\n~~~\nctdonath\nExorbitant pay for 3 hours of labor* is much less sustainable. The euro-per-\nhour workers will (and do) work their way up to better conditions, while their\noverpaid slothful competition will just get shut down.\n\n(* - we may also presume those 3 hours do not constitute \"hard\" work.)\n\n------\nlutusp\nThe letter should include a p.s.: \"We don't have a public relations department\nand I am marginally literate.\"\n\n~~~\ntptacek\nHe's marginally literate because...?\n\n~~~\nlutusp\nHis letter shows the classic signs of someone uncomfortable expressing himself\nin words. Reading his letter is like watching someone ice skate for the first\ntime -- all the expected motions are there, but without any familiarity or\nsense of style.\n\n~~~\ntptacek\nInteresting. It came off much more casual and dashed-off to me.\n\n~~~\nlutusp\n> It came off much more casual and dashed-off to me.\n\nYes, but both can be true at once. :)\n\n------\nmaceo\nThe letter is a good example of the cognitive dissonance so prevalent amongst\nthe privileged elite. In the same paragraph where he laments that the French\ngovernment \"does nothing\" while the Chinese ship tires to France, he predicts\nFrench industrial degradation because \"its government is more government.\"\nWhich is it, is it too much government or not enough?\n\nIt's this deafness to the meaning of your own words that would allow a\nloudmouthed industrialist-type to shout \"class warfare!\" the moment new taxes\nare proposed on the wealthy. This letter is an unprovoked attack on French\nworking people. And if French working people decide to non-violently retaliate\nagainst the company by petitioning for import restrictions, organizing a\nboycott, etc, it would be wholly justified.\n\n------\nfruzz\nI find it somewhat odd that he rails against workers earning too much, when\nwhat they earn is but a fraction of his own salary. I doubt they work any less\nharder than him either.\n\n~~~\nbrousky\n> I doubt they work any less harder than him either.\n\nActually, his main gripe is that after visiting the factory, he realized\nworkers only do 3 hours of actual work in a typical 7-hour day. When he\nbrought that up to union reps, they bluntly replied that \"it's the French\nway\".\n\n------\nmathattack\nI can't see how taunting government leaders ends well for a company. You may\nnot agree with them, but what good comes from taunting? Will this really be\nproductive to getting France to ease up on union laws?\n\n------\nmariuolo\nHe could have got his point across in a more civil way.\n\nI understand he felt the urge to vent his spleen at someone, but now they are\ngoing to be blackballed should they ever need anything from the French\ngovernment.\n\n------\npavel_lishin\nThe best part is \"best regards\" at the very end of a fairly insulting letter.\nI long for the day when letters are signed honestly.\n\n------\nnraynaud\nDon't forget this a member of the GOP talking to a member of the Socialist\nParty. It might just be a posture.\n\n------\neqreqeq\n>>Alas, America isn\u2019t what it used to be: Insulting the French doesn\u2019t seem to\nbe rewarded by the stock market, and Titan is down about 1% so far today.\n\nAs if. Correlation is not causation.\n\n~~~\nImprovedSilence\nTrue. Also, the wsj article is dated today. Look at the market, EVERYTHING is\ndown today. The letter was dated Feb 8. As if this news is just getting around\nto the big players today...\n\n"} {"text": "\nTabula PDF: Extract table data from PDFs - scrollaway\nhttps://tabula.technology/\n======\nscrollaway\nSo I started working with MCCs (Merchant Category Codes AKA ISO 18245) and I\nneeded some decent lookup tables for them.\n\nI just spent several hours fighting with awful spec PDFs containing hundreds\nupon hundreds of tables of these. Well, Tabula made quick work of all of them:\n\n[https://github.com/jleclanche/python-\niso18245](https://github.com/jleclanche/python-iso18245)\n\nIt extracted over 200 pages of tables with nearly no errors, and maybe a grand\ntotal of ~15 mins of manual cleanup work needed to have the data be\nprocessable by the library.\n\nFinal CSVs: [https://github.com/jleclanche/python-\niso18245/tree/master/is...](https://github.com/jleclanche/python-\niso18245/tree/master/iso18245/data)\n\n"} {"text": "\nOpen Letter from DHH to Jeff Bezos - auslegung\nhttps://m.signalvnoise.com/dear-jeff/\n======\nhtk\nDemagogue.\n\nAlso, I\u2019ve learned nothing from this blog post.\n\n"} {"text": "\nGoogle IO 2013 \u2013 Google Glass Sessions - ireadqrcodes\nhttp://glass-apps.org/google-io-2013-google-glass-sessions\n======\nnolok\nWhere is the app from a few years back, where you pointed your phone camera at\nsome text and it switched it with a translated version of it live in-picture ?\n\nNot only did it look awesome, but it would also be a perfect application for\ngoogle's glass. Imagine, you're in berlin, or tokyo, or madrid, you read the\nmenu in a restaurant and you have the exact translation displayed to you live\nin the corner of your view ? Or in a museum, etc ..\n\n~~~\nnati\nI think there is such a feature built in google glass or someone will\nintegrate google goggles into google glass\n\n~~~\ndombili\nNot exactly. You have to talk to it in order for it to translate a text.\nSomething like \"OK Glass, say something something in Japanese\".\n\n------\nstuartmemo\nThe fireside chat had an interesting moment where they showed Glass on\nprescriptions glasses, which made them slightly more inconspicuous I thought -\n[http://www.youtube.com/watch?v=i8OUSd8zqT4&feature=youtu...](http://www.youtube.com/watch?v=i8OUSd8zqT4&feature=youtu.be&t=5m11s)\n\n------\ntwiceaday\nI like the Sharingan logo, very apropos. In Naruto, the Uchiha clan derives\ntheir powers from having special eyes. A three-prong pupil indicates that the\nbearer unlocked extremely powerful abilities by killing somebody very close to\nthem, usually a best friend.\n\n~~~\nnati\nwith google glass you only need to kill your best friends privacy :-)\n\n------\nspiritplumber\nSaw some people with them at maker faire, you still have to interrupt a\nconversation to take a picture and whatnot. I'm waiting (read: hacking at it)\nfor Neurosky integration, or at least blink-pattern reading.\n\n~~~\nKiro\nI thought winks were the standard way to take pictures with Glass now. At\nleast that's how everyone at Google I/O is doing it and is the feature most\npeople are praising.\n\n------\nireadqrcodes\ndid you see the first cellphones?\n\n------\nStartupSushi\nGoogle Glass only needs to get over its initial days in which it is viewed as\nawkward and then it will be socially acceptable. Unlike the first cellphones,\nits plainly visible even when you're not using it, and like Bluetooth headsets\nthere's a risk of being perceived as someone not caring about their\nsurroundings.\n\nEven on a forum like Slashdot which is populated by uber-geeks, here's the\nresults of an ongoing poll with ~5000 people voting.\n\nHead-mounted displays / sensors like Google Glass are:\n\nCreepy 1823 votes / 32%\n\nCool 821 votes / 14%\n\nUgly 502 votes / 8%\n\nBaffling 323 votes / 5%\n\nIntriguing 1498 votes / 26%\n\nShort-sighted 413 votes / 7%\n\nI've got my own adjective! (Explained in comments.) 208 votes / 3%\n\n[http://slashdot.org/poll/2577/head-mounted-displays--\nsensors...](http://slashdot.org/poll/2577/head-mounted-displays--sensors-like-\ngoogle-glass-are)\n\nThe 40% positive outlook is still not bad though.\n\n~~~\nDanBC\nI love the idea of Google Glass and I'd definitely use them if I had them.\n\nBut...\n\n> Google Glass only needs to get over its initial days in which it is viewed\n> as awkward and then it will be socially acceptable.\n\nPeople said that about segway and sinclair C5s and etc etc.\n\nI really hope that Google can manage to make Glass work. Lots of other\nheadmounted displays failed or didn't make it out of very small niches.\n\n~~~\nams6110\nI think the segway is a good comparison. It had similar hype (\"it will change\nthe way cities are designed\") and who uses them today: nerds, and obese mall\ncops.\n\nUnless Glass solves real problems in a way that is compelling to real people,\nthey will remain nerd toys.\n\n~~~\nmikeash\nFor all the discussion of \"cool\" and whatever, utility certainly seems key.\n\nWe can talk about the Segway's coolness all we want, but it's ultimately not\nthat important. Why did the Segway never become more than a niche product?\nBecause it's pretty much useless! It fills a mostly-unwanted niche between\nwalking and bicycles. Most people can walk. Bicycles are cheap. Given how\nlittle it does, I can't fathom how one would have looked at a pre-production\nSegway and thought, wow, I bet these will sell like hotcakes.\n\nGlass is more of a platform than a product right now. The question of what\nit's _for_ is still mostly unanswered. Find the killer app for it, and all the\nquestions of creepiness or uncoolness will melt away. Fail to find anything\nuseful to do with it, and the lack of coolness will just become an excuse for\nthe fanboys to use.\n\n------\ndror82\nThis can't be the future... Look how cumbersome the glasses are\n\n"} {"text": "\n\nI Just Presented as a Finalist at Launch Hackathon: Here's what I learned. - georgebonnr\nhttp://georgebonnr.github.io/blog/2013/11/11/i-just-presented-at-launch-hackathon/\n\n======\nracerx\nCongratulations - well done, sounds like a great experience.\n\n"} {"text": "\n\nWe Are Legion - The Story of the Hacktivists - Documentary [video] - sathishmanohar\nhttp://www.youtube.com/watch?v=6pGYKIRj5_8\n\n======\nrsingel\nThis is a leaked old version. The new cut will be released in theaters and\ncheap download ala Louis CK very soon.\n\n"} {"text": "\n\nGood interview question - huhtenberg\n\nGiven that yesterday was a Pi day (03/14), here's a good interview question:

  Write Pi in a hex base\n
\nA written test version asks for 3 digits after the dot; in person interview version - for 2.

The question is really good because very few people have experience dealing with fractions in non-decimal base, so it forces them to really work on the answer. It also a very quick way to separate \"hackers\" from hackers :)\n======\nejs\nI never understand these types of questions, is that really important to job\nfunction? Maybe ask them to do it in octal too? Or just use a random number as\nthe base, how about base 47? Will that weed out the slackers?\n\n~~~\nbkrausz\nI find that interviewers are more interested in the method than the\nanswer...if you just sit there and say \"I was never taught this\" you probably\nwon't get the job. On the other hand, if you stand up, go to the whiteboard,\nand start writing things down, while talking them through your train of though\n(\"Well I'm not positive how to do fractions in other bases, but this way makes\nsense to me\" and then proceed to work out the problem as best as you can) then\nyou show more motivation and enthusiasm.\n\n"} {"text": "\nBoeing Fought Lion Air on Proposed Max Simulator Training Requirement - berkut\nhttps://aviationweek.com/air-transport/boeing-fought-lion-air-proposed-max-simulator-training-requirement\n======\nmcv\nBoeing was already plenty culpable for these disasters, but this underscores\njust how much they pressured they pressured their customers to avoid training\nthat could have mitigated the problems and prevented the crash, just to keep\nup the illusion that they wanted to present to the world: that it was\neffectively identical to the NG when it really wasn't.\n\n~~~\nrob74\nOn the other hand, Boeing was also under pressure from other customers\n([https://www.reuters.com/article/us-boeing-airplane-\nsouthwest...](https://www.reuters.com/article/us-boeing-airplane-\nsouthwest/u-s-lawmakers-question-boeings-1-mln-rebate-clause-for-\nsouthwest-737-max-orders-idUSKBN1X92D4)) who wanted to avoid simulator\ntraining for their pilots. Which doesn't excuse them of course, but I think\nit's important to see the whole picture...\n\n~~~\nCaptainZapp\nSorry, but: So what?\n\nIf you're not able to keep promises you shouldn't make them in the first\nplace. The buck stops with you, period.\n\nNo pilot training was often used as an argument. But I think the problem was\nactually much more severe.\n\nIf Boeing would have designed a completely new plane (which they should have)\nthey would have lost a decade to Airbus' offerings in their most important\nmarket.\n\nThat, in my opinion, was the real reason for that shoddy hack of a plane.\n\n~~~\nEntalpi\nSo Boeing was slow to react to the market forces at play and lost out to a\nfaster moving more adaptive competitor. When that happens in a market you\ntypically lose money and try to stage a comeback by reinventing yourself or in\nsome way try to work your way back. Boeing chose to rush and is now paying the\nprice for being a slow and complacent behemoth of a company at a market where\nothers are innovating and competing.\n\n~~~\nwu_187\nThis has nothing to do with markets and everything to do with ethics. It is\nnot ethical for a company to knowingly risk lives to rush out a new product.\nIn the airline industry, it is unheard of for this to happen. Everything is\ntriple redundant for a reason. Typically you would cut corners elsewhere that\nis not a risk for human lives. Boeing already tried that by outsourcing the\nconstruction of the 787 and it was riddled with failure. They should have\nlearned their lesson there.\n\n------\nameen\nIn a way, Boeing\u2019s plight underlines American work culture vs. European and\nother relaxed but stringent work cultures.\n\nAmerican businesses are constantly churning output with not much to show for\n(relative to effort vs results) as the employees are burned out, investors and\nC-suite demand more of the middle-management and they in-turn pressure\nengineering and sales teams, etc.\n\nThe results have spoken about which one works and which doesn\u2019t. Toxic work\nculture starts from the top.\n\n~~~\ndatenhorst\nI believe Harvard Business School and its ilk deserve a lot of blame for the\ninstilling of a profit-at-any-cost culture across the US.\n\n~~~\nneuronic\nI studied abroad in the US as a European and the first sentence the\nmicroeconomics professor blurts out: \"Greed is good.\"\n\nAt that point I wasn't as gobsmacked anymore because several days before some\n17 year old girl yelled in a 300 person biology lecture at the professor to\nstop telling lies about evolution (first week of college).\n\nBut \"greed is good\" struck me as an oddly American way of viewing the world.\nEurope isn't free of greedy people, by any means, but it's sort of not the\nfirst rule you learn in school.\n\n~~~\nmsiemens\nI guess it depends. I have a German engineering degree and took a business\nadministration course as a part of that. And in one of the first lectures our\nprofessor told us that _The formal goal of the company is to maximize profit_.\nWhich seems to be just a more formal way of expressing _Greed is good_. But\nthen again, this might be influenced by American business culture\u2026\n\n~~~\nneuronic\nAgreed, and I obviously suffer from some bias since I could not experience\ncollege in both countries.\n\nBut the microeconomics angle seemed more personal - as in attempting to\ndescribe interaction between people with some extrapolation to larger\nentities.\n\n------\ntoast0\nEven if Lion Air had done simulator training, it seems unlikely to have\nhelped, unless there was specifically material on MCAS or at least stabilizer\nrunaway by the electric trim system.\n\nOne airline demanding and getting simulator time doesn't help if the decision\nhas already been made to not inform pilots about MCAS. Boeing's flight rules\nmodel has always been around the pilot(s) having situational awareness and\nbeing in absolute control; the problem with MCAS is not what it does, or that\nit's needed to avoid stalling, the problem is that it was not known to pilots,\nthat it operates without any clear indication that it's operating, and that it\ncan only be disabled by disabling electric trim, and that manual trim is\nextremely difficult to impossible to use if the stabilizer is at full nose\ndown (there was an old 737 procedure for this, but it was removed some number\nof redesigns ago, it was reportedly not in the 737 NG manual)\n\n~~~\nwillyt\nHere is a video explaining how difficult the manual trim procedure is:\n[https://www.youtube.com/watch?v=aoNOVlxJmow](https://www.youtube.com/watch?v=aoNOVlxJmow)\n\n~~~\ntzs\nNote that the video is about manual trim in extreme conditions.\n\nIf pilots knew about MCAS and that in the case of a runaway trim due to MCAS\nthey need to disable electrical trim and switch to manual trim early and keep\nit manual for the rest of the flight, they would not get into the conditions\nwhere it is hard to turn the manual trim wheels.\n\n~~~\nwillyt\nBut even if they had known about MCAS, I think I read somewhere that they had\n30 seconds to diagnose the problem before it put the trim in this\nconfiguration.\n\n------\njakobegger\nCan someone explain how Airplane Simulators for pilots work?\n\nDo simulators have the same hardware as real planes, or do they have a\nsoftware model of the airplane?\n\nIf you simulated a broken AoA sensor, would the simulated plane behave similar\nto the real plane? Would the MCAS system have the same bugs in the simulator\nas in the one in the real aircraft?\n\nCan you try new scenarios in a simulator, or can you just try scenarios that\nthe simulator was designed to run?\n\n~~~\nphugoid\n> Do simulators have the same hardware as real planes, or do they have a\n> software model of the airplane?\n\nIf you're looking at the highest fidelity level D simulators, the instruments\nand controls in the cockpit are either the same parts as the aircraft, or\nfunctionally identical (but cheaper).\n\n> If you simulated a broken AoA sensor, would the simulated plane behave\n> similar to the real plane? Would the MCAS system have the same bugs in the\n> simulator as in the one in the real aircraft?\n\nOne of the big costs in building a simulator is buying the data package from\nthe aircraft manufacturer, with the aero model and details of system\ninternals, things like electrical and hydraulic schematics. Sim makers build a\nsoftware model of these internals at a pretty low level. For the most part, if\nyou introduce a fault in some part of the system it will behave the right way\nas an emerging property, not because you're forcing the system to have the\nright outputs.\n\nSome software components from the aircraft get installed on the simulator with\nthe same hardware platform from the aircraft, others get run as executables on\nthe simulator's computers, and others get re-implemented from scratch (lots of\nFORTRAN and C).\n\nThat kind of detail comes into play when the instructors introduce multiple\nfailures at the same time - pilots have to take corrective actions to make the\nfaults go away or manage them - if you don't model the systems at a pretty low\nlevel you'll never high fidelity.\n\n> Can you try new scenarios in a simulator, or can you just try scenarios that\n> the simulator was designed to run?\n\nThere is a list of malfunctions available to the instructor, who runs the\nsession from the back of the \"cockpit\" on touch panels. For the most part,\nthese malfunctions cover failures that are anticipated by the aircraft\nmanufacturers, and the corrective actions / system behavior are well\nunderstood. Each fault is tested to make sure it works properly. You don't go\nand fail some random component in the system.\n\nWhen an important failure happens in the real aircraft, it might get added as\na training scenario to simulators already in operation.\n\n~~~\nNotCamelCase\n> You don't go and fail some random component in the system.\n\nI always wondered if they did that, something akin to fuzzing tests in SW.\nWouldn't it be useful to detect unexpected situations that'd be catastrophic?\nOr the benefits from it wouldn't outweigh the cost/time loss?\n\n~~~\nphugoid\nEven with a pretty good model, if you introduce new failures that were not\nanticipated/tested, there's a risk that the system will not behave as per the\naircraft. Now you're giving \"negative training\" to your pilots, maybe worse\nthan no training at all.\n\nAlso, imagine you're an airline with thousands of pilots and dozens of\ninstructors: you're running an airline and a school at the same time. You need\nto build a curriculum of training and testing that will standardize your\npilots. There's room for thinking outside the box but not too much.\n\n~~~\nNotCamelCase\nGood point, thanks for your insights!\n\n------\nhhas01\nJesus.\n\nPardon my French, but seeing that photo makes me fully appreciate two things:\n1. Just how incredibly low 737 sits to the ground (obviously a feature from\nback in the days when luggage was manually loaded), and 2. How _anyone_ would\nthink pushing those enormous engines forward like that could be any less\ndisruptive of its proven design than lengthening the undercarriage to give\nthem the clearance they so desperately need.\n\nDeath of a thousand cuts. Indeed. Hope the monster never flies again.\n\n~~~\namyjess\n> how incredibly low 737 sits to the ground (obviously a feature from back in\n> the days when luggage was manually loaded)\n\nPeople, not luggage. Specifically, the 737 was designed to cover short-haul\nroutes between regional airports that didn't have gates, where people had to\nget on the plane by walking up portable steps.\n\nBoeing never expected the 737 to be the low-cost plane of choice between major\naviation hubs.\n\n~~~\nalistairSH\nNot always portable steps. The 737 has (optional?) steps built into the\nchassis.\n\n[https://www.youtube.com/watch?v=oQ-6PDYRj80](https://www.youtube.com/watch?v=oQ-6PDYRj80)\n\n------\nkonspence\nThis whole thing looks like a disaster. As other commenters are pointing out,\neven if the pilots did the MAX simulators, would they have been trained to\nrespond to the AOA failure? Unlikely.\n\nIt seems like Boeing completely missed serious cases on the testing of the\nplane, and is hoping that the \"UAT\" phase (simulator training) would have\nuncovered the issues.\n\nBut UAT never underwent the condition of an AOA sensor failing.\n\n------\n_Codemonkeyism\nKey take away\n\n\"There is absolutely no reason to require your pilots to require a MAX\nsimulator to begin flying the MAX,\u201d the Boeing employee replied. \"Once the\nengines are started, there is only one difference between NG and MAX\nprocedurally, and that is that there is no OFF position of the gear handle.\nBoeing does not understand what is to be gained by a three-hour simulator\nsession, when the procedures are essentially the same.\u201d\n\n~~~\nAthas\nI still think it's interesting to reflect on the mindset that leads to this\nconclusion. As far as I have been able to determine (although I'm not in the\naerospace field), the 737 MAX _is_ procedurally identical to the NG, _except\nwhen something breaks_. The failure modes are slightly different, with\npotentially lethal results. As a computer scientist, I'm not accustomed to\nthinking about functional equivalence in the presence of hardware failure, and\nmaybe this Boeing employee was not sufficiently drilled on the need to\nconsider such aspects for aeroplanes. It is of course the fault of Boeing\ncorporate culture and internal procedures that this can be overlooked.\n\n~~~\nsalawat\n>As a computer scientist, I'm not accustomed to thinking about functional\nequivalence in the presence of hardware failure...\n\nHow are you not?\n\nI mean, I get it 90% of the time we screw up the programming somehow, but as a\ncomputer scientist, I never ignore the possibility of hardware failure. Memory\ngoes bad. Devices fail. Networks die. Semiconductors transiently in strange\nways if you don't take the right precautions...\n\nIt's the entire impetus behind GIGO. If you shove garbage into a perfectly\nworking software system; (corrupt data from a malfunctioning input source),\nyou still get out garbage.\n\nIt's why life and safety critical automation is so fundamentally different\nfrom lower stakes programming tasks where \"reboot the damn thing\" is a viable\noption.\n\nIf your sensor goes bad, and you're in the air, you can't do squat to fix it.\nYou have to detect the error, and fail the system gracefully by taking it out\nof the loop, informing the operator of the system failure, and most\nimportantly, _never allow that system to do anything that could jeopardize the\nability of the operator to continue operating_.\n\nThis is or at least I thought it was basic Control Systems 101...\n\n~~~\nAthas\n> How are you not?\n\nI research compilers and type systems. If the RAM dies while the compiler is\nrunning, you rerun the compiler on a new machine. A lot of computer science\nabstracts away the notion of hardware failure, because otherwise it becomes\nenormously cumbersome to talk about anything. This is fine as long as you\ndon't actually build real high-reliability systems with the same approach.\n\n~~~\nacqq\n>> How are you not?\n\n> I research compilers and type systems.\n\nI hope it's obvious that the software you work on is not supposed to be run\nduring the flight.\n\nThe critical software is supposed to do as little as possible, and everything\nis expected to be in already compiled (and thoroughly verified) state.\n\nAnd even for the product of yours, as soon as it is not used only for the\nresearch but as a production compiler which produces a firmware for the plane,\nit would have to be proven much more than what is expected from it while it is\njust an artifact of a research.\n\nIn short, even if you are lucky to just do the research, you should be aware\n(and thankful) that the critical software has other expectations. Including\nhow it responds to failed sensors: different response to the external inputs\nis _a fundamentally different_ software, even if you never thought about it\nbefore.\n\n~~~\ngknoy\nI think his main point was that for most of us, hardware failure is considered\nan adequate excuse for why something works -- most of us are not expected to\nhave software that _continues working_ when things break.\n\n~~~\nacqq\nThe \"failures\" of the sensors are simply the \"less common\" inputs. The proper\ncontrol software should simply be written for all possible inputs, which\ninclude inputs from faulty sensors, and the result of the processing should\nnot have some catastrophic consequences.\n\nCompare to the web app that awaits the username, but when the username is not\nthe \"most common\" (e.g. contains some new unicode symbols, or is of zero\nlengh) it allows catastrophic security failure and intrusion.\n\n------\nGenericsMotors\nAround the time just before the MAX was grounded, I remember there being lots\nof unfounded speculations (here on HN as well!) that Lion Air's and\nEthiopian's pilots were somehow substandard and lacking the training of their\nfirst world counterparts. Meanwhile it was Boeing actively keeping vital\ninformation and training from pilots.\n\nThe lesson from this is still not learned, and can see at least one apologist\non this thread repeating this same BS again...it's infuriating.\n\n------\nummonk\nOn the specific issue of simulator time though, if the simulator behaves\nbasically the same as a Boeing 737 NG, what is the point of putting them\nthrough the MAX simulator? It does seem like a pointless exercise that\nwouldn't have provided the pilots any extra practice (or crucial knowledge of\nactual differences like MCAS).\n\nObviously, now that they're adding checklist practice for emergency scenarios\nrelevant to the 737 MAX, it makes sense to require simulator practice, but I\ndon't think that would have previously made a difference.\n\n~~~\ninferiorhuman\nHere's the ASRS entry I was thinking of:\n\n _I had my first flight on the Max [to] ZZZ1. We found out we were scheduled\nto fly the aircraft on the way to the airport in the limo. We had a little\ntime [to] review the essentials in the car. Otherwise we would have walked\nonto the plane cold.\n\nMy post flight evaluation is that we lacked the knowledge to operate the\naircraft in all weather and aircraft states safely. The instrumentation is\ncompletely different - My scan was degraded, slow and labored having had no\nexperience w/ the new ND (Navigation Display) and ADI (Attitude Director\nIndicator) presentations/format or functions (manipulation between the screens\nand systems pages were not provided in training materials. If they were, I had\nno recollection of that material). _\n\n[https://www.theatlantic.com/notes/2019/03/heres-what-was-\non-...](https://www.theatlantic.com/notes/2019/03/heres-what-was-on-the-\nrecord-about-problems-with-the-737-max/584791/)\n\n~~~\nummonk\nWow, that is pretty damning.\n\n~~~\ninferiorhuman\nYeah, I'm curious which airline this was. For obvious reasons ASRS anonymizes\ndata but this seems like an end-to-end failure and it's pretty disappointing\nthat the pilot(s) didn't feel comfortable rejecting the plane.\n\n------\nBrave-Steak\nI'd _really_ be interested in knowing at what level these two employees were\nat. How deep does the rot go? Even if the CEO is gone, these people are still\naround.\n\n------\nvmchale\nWhat a shitshow. The entire thing is graft, and the US government turned a\nblind eye because it's deemed an important industry.\n\n~~~\nmrtksn\nIsn't it also unfaithfulness to capitalism to protect an industry in such a\nway? I would have assumed that if someone believes in the mechanics of\ncapitalism would have let it be.\n\n------\ntriceratops\nCan anyone experienced in aviation ballpark how much retraining a pilot on a\nnew plane costs? How does it compare to a pilot's annual compensation or other\nfigures of importance (e.g. annual airline revenue or profit, operating\nexpenses of a plane etc)? Helping airlines avoid retraining seems like the\ndriving factor behind all these apparently shortsighted decisions that led to\nthe MAX but, assuming everything had gone well, what were the actual potential\nsavings? I'm just trying to understand the stakes.\n\n------\nEntalpi\nWhat ever happened to \u201dsafety first\u201d.\n\n~~~\nxiphias2\nIf you ask the Boeing CEO about it, safety was always the top priority.\n\n------\nepicgiga\nLion: \"we'd like to practice using this plane so we don't crash it\". Boeing:\n\"no\". Lion: crashes it. Hundreds die. Boeing: \"not our fault, their pilots\nwere untrained\".\n\nHow is no one is prison again?\n\n~~~\nmattacular\nThe Boeing CEO exited the company with just 60 million dollars, which is a lot\nlike being sent to prison.\n\n~~~\nAloha\nIn fairness to the guy, he came from the Military side of the house, the\nprogram was basically ready for flight by the time he took over the CEO slot.\nBasically all of the fatal design decisions were made before he became CEO.\n\nThe 737 MAX was a failure of process, not by specific choices made by a leader\n- he was fired however for his poor response to the crashes, he committed many\ntactical and PR errors, which made the restoration process longer than it\nshould have been.\n\nIf still you want to lay blame at any single persons feet, lay the blame at\nthe feet of James McNerney, the CEO who ran Boeing while the bulk of the\ndevelopment of the MAX was done, he's the one who kicked the MAX program off.\n\n~~~\nstefan_\nWhat do you mean? The policy set here was literally set at the highest level,\na specific choice - \"no training, no certification\" was the precise goal for\nthe 737 MAX. How can you claim that is a failure of process.\n\n~~~\nAloha\nI'll argue that making the MAX behave the same as a non MAX 737 is a reachable\nand reasonable engineering goal, the process failed because it didnt do it\nsafely.\n\nAirbus absolutely uses its fly-by-wire system to change the handling\ncharacteristics of its airplanes, to make them fly the same - I see no reason\nwhy Boeing couldn't do the same thing.\n\n~~~\nacqq\n> I'll argue that making the MAX behave the same as a non MAX 737 is a\n> reachable and reasonable engineering goal\n\nAnd I argue the opposite: it can\u2018t be made to behave exactly the same as soon\nas the failure scenarios are considered.\n\nIn computer speak, you just look from the point of view of a \u201cmost common\u201d\nrun, not all the special cases, exceptions etc.\n\nThere are other impossibilities too, directly related to the certification\nrequirements, already documented in the news articles before.\n\n~~~\nYawningAngel\nThe normal failure scenario for safety critical electronics on an aircraft is\nthat you have an entirely redundant system that takes over. I don't see why\nthat approach wouldn't have been sufficient here.\n\n~~~\nacqq\nIt is documented in the articles: failure modes have to be trained if they\naren\u2019t the same, and with MCAS as it should be (not as if was and failed\ncatastrophically twice) they can\u2019t be the same. New devices have to be\nrecertified. Two sensors can\u2019t be redundant, three would be again not the same\nplane. Newer computers won\u2019t be the same plane etc.\n\nWait to see what the final opinion of European agencies are once the latest\nchanges are evaluated and you\u2019ll see that it\u2019s not the same plane, even if\nBoeing all the time bent over backwards over the dead bodies of others.\n\n------\nhurricanetc\nThey wouldn\u2019t have trained on an MCAS failure so this is irrelevant as far as\nthe actual crashes are concerned.\n\nIt\u2019s just more evidence of Boeing being a corrupt organization.\n\n------\njustinclift\nThis is why Boeing shouldn't be allowed to have anything to do with new Space\ncontracts (ISS, etc) until this MAX issue is a solved, faint memory. eg for\ndecades\n\n~~~\ntzfld\nSpace hardware development is heavily supervised, and there are no issues\ninduced by mass production.\n\n~~~\njustinclift\nSo, exactly like aviation, and it hasn't worked out there. :(\n\n------\ntzfld\nThe way Boeing seems more and more evil as the story is folded out, makes me\nthink that all these article may be heavily one sided and never hearing\nBoeing's own version and motivations.\n\n~~~\ncjslep\nYou can always read the prime source material yourself: Boeing's own internal\nemails and chats they released about the 737 MAX.\n\nAnd do note: those released items are Boeing putting its best foot forward.\nAnd it's a low bar. Imagine the emails and chat transcripts that were not\nreleased.\n\n~~~\nwahern\n> And do note: those released items are Boeing putting its best foot forward.\n> And it's a low bar. Imagine the emails and chat transcripts that were not\n> released.\n\nMy guess was that the new CEO was trying to get out ahead of developments by\nairing the remaining dirty laundry. It makes him and Boeing look sincere and\nstarts the clock on the public forgetting the bad news. The constant drip of\nbad publicity made the previous CEO look like an idiot.\n\nI don't expect Boeing to actually clean up their act, but I bet they're going\nto be smarter about things going forward. I doubt there are going to be any\nmore damning reveals about the 737 other than what can be mined from these\nlatest disclosures. 777X is another matter, but I bet any revelations will\noccur more quickly and cleanly.\n\n------\nredis_mlc\nTo give you an idea how big a tragedy an airliner accident is in Indonesia ...\n\nThe average Javanese person I've talked to knows 900 relatives by name.\n\n------\nWalterBright\n> and that an erroneous MCAS activation would be quickly diagnosed as a\n> runaway stabilizer. The 2013 memo casts doubt on the former, and the two MAX\n> accident sequences disproved the latter.\n\nThis does not mention that an Emergency Airworthiness Directive was sent to\nall 737MAX crews after the LA crash explaining exactly how to resolve the\nrunaway trim issue, which is:\n\n1\\. restore normal trim using the column trim switches\n\n2\\. cut off the stabilizer trim with the console cutoff switch\n\nThe text is:\n\nBoeing Emergency Airworthiness Directive\n\n\"Initially, higher control forces may be needed to overcome any stabilizer\nnose down trim already applied. Electric stabilizer trim can be used to\nneutralize control column pitch forces before moving the STAB TRIM CUTOUT\nswitches to CUTOUT. Manual stabilizer trim can be used before and after the\nSTAB TRIM CUTOUT switches are moved to CUTOUT.\"\n\n[https://theaircurrent.com/wp-\ncontent/uploads/2018/11/B737-MA...](https://theaircurrent.com/wp-\ncontent/uploads/2018/11/B737-MAX-AD-1107.pdf)\n\nBoth the LA and EA crews repeatedly successfully countered the runaway trim\nwith the electric trim switches. The LA crew never took the next step of\ncutting off the trim. The EA crew did cutoff the trim, but did not trim to\nnormal first.\n\nDealing with runaway trim is a \"memory item\" for the 737, meaning the pilots\nare supposed to know about the cutoff switches that are prominently placed on\nthe center console in easy reach.\n\n"} {"text": "\nPeter Thiel aims to purchase Gawker's archives - scandox\nhttps://www.washingtonpost.com/news/posteverything/wp/2017/12/12/if-you-miss-gawker-dont-let-peter-thiel-buy-its-archives/?utm_term=.dc77956cc23a\n======\nscandox\nIs this a case where a quick scrape and an IPFS version might make the whole\nthing moot? I presume that isn't legal - but is it viable and will it prevent\nthe loss of the material?\n\nNot that I have a strong moral view either way. Just interested.\n\n~~~\nQAPereo\nTo be fair, if you find yourself taking a strong moral stance opposing Thiel,\nyou\u2019re probably in the right.\n\n"} {"text": "\nWhat contextual information would best improve HN discussions understanding? - antpls\nHello! I'm from France. I find myself misinterpreting some of user's comments because of lack of context or introduction to the comments or personal experiences of authors. Comments currently have 4 pieces of information so far beside text : author's username, vote count, date time and, implicitly, parent comment. According to you, what 5th piece of information would help to better understand author's point of view? As an example, each post could also have the continent or country where the author is currently living in (at the time of writing and posting)\n======\nantpls\nTo better explain why I suggested country : with that information and the\ndate, we can for example infer what was the political system at the time of\nwriting the comment, among many other inferences we could imagine.\n\n~~~\nantpls\nAnother example could be the field in which one declares working in : legal\n(no more IANAL required :-)), science, driving, engineering, programming,\ncook-chief, investment, etc\n\n"} {"text": "\n\nWhy Healthcare.gov was sunk by \"Iceberg-style\" delivery - rjmarvin\nhttp://www.sdtimes.com/content/article.aspx?ArticleID=66402&page=2\n\n======\nsqqqrly\nOne of the less useful links on HN.\n\n"} {"text": "\nHackers went undetected in Citrix\u2019s internal network for six months - marcc\nhttps://techcrunch.com/2019/04/30/citrix-internal-network-breach/\n======\nbenmarks\n> Citrix said in a later update on April 4 that the attack was likely a result\n> of password spraying, which attackers use to breach accounts by brute-\n> forcing from a list of commonly used passwords that aren\u2019t protected with\n> two-factor authentication.\n\nHow did Citrix not have 2FA in place?\n\n~~~\nSCHiM\nHaven't read the article, don't know anything about their network. Assuming\nthey use a Windows domain for their corp infrastructure.\n\nLower level Windows authentication mechanisms can't be configured for 2FA. If\nyour active directory domain is functional at all then at the very least your\nsystems need to be able to talk via SMB and ldap to a domain controller. With\nsufficient privileges you're able to execute code on other machines via either\nprotocol.\n\nYou only need an infected machine, not even user credentials, to be able to\nperform password spraying or kerberoasting attacks.\n\n~~~\nsbr464\nNot sure what you meant by lower level mechanisms, but you can protect console\nlogins and RDP with 2FA: [https://duo.com/docs/rdp](https://duo.com/docs/rdp)\n\n[https://help.duo.com/s/article/1084?language=en_US](https://help.duo.com/s/article/1084?language=en_US)\n\n~~~\nw8rbt\nnet commands, kerberos tickets, etc. You can really only 2FA web interfaces,\nVPNs, RDP and interactive console logons. You can 2FA LDAP, but it's a real\npain to do so (I've seen it done).\n\nJust think of any backend protocol that the system uses. The vast majority of\nthose can't be 2FA'ed. This is not Windows specific either. The same is true\nfor most all protocols.\n\nThis is why most companies buy firewalls and VPNs and only 2FA the VPN. That\nmeets most compliance requirements and is simple to do. Is it secure? Probably\nnot, but it checks the box (makes audit happy), so buy compromise insurance\nand move on.\n\n~~~\nynniv\nYou can firewall the backend services and use 2fa to temporarily open them for\na specific workstation.\n\n------\ntodd3834\nI fully assume there are more hacks we don\u2019t hear about that ones we do. Not\nonly because of cover ups but it can\u2019t be that hard to cover your tracks if\nyou know what you are doing.\n\n~~~\npandapower2\nIts an interesting question. If someone unauthorized was on your network\nexfiltrating data how would you know?\n\n~~~\ncmroanirgo\nEven more interesting is how the FBI knew they'd been infiltrated before they\nthemselves did? (There's the obvious conspiracy style accusation in that they\nwere already in there poking around... but that doesn't seem to ring true in\nthis regard)\n\n~~~\nauiya\nSame way any criminal investigator uncovers stolen goods.\n\n------\nm3nu\nSecurity is hard. On the upside, every breach is a chance to learn for\neveryone else. I hope they release more details on how it happened.\n\nIs there any blog or news that summarizes such post-mortem lessons? Could be a\nnice project to collect that.\n\n~~~\nh2odragon\nThere's always\n[https://catless.ncl.ac.uk/Risks/](https://catless.ncl.ac.uk/Risks/)\n\n~~~\nm3nu\nSubscribed. Also found [https://securereading.com/category/news/latest-\nhacks/](https://securereading.com/category/news/latest-hacks/)\n\n------\nrobbiet480\nHas anyone gotten that kind of call from the FBI and can shed light on how the\nprocess works? Would be fascinating for a outsider and provide a guide on what\nnext steps look like for those poor souls that receive the call in the future.\n\n~~~\n4s2A1tD5\nI've been on this call (both sides of it) probably a dozen times by now. Gov\nagencies are decent at doing research so it's pretty unlikely that the FBI\njust called their 1800 number or whatever.\n\nMost small start ups don't get to the level where anyone that \"big\" is looking\nat them but in the event that something does get flagged the agency will go\nfind their CEO/CTO/counsel on LinkedIn and either message them there or email\nthem. I've never seen an actual vulnerability disclosed in email, if it's a\npotential legal issue (hello SEC and fintech) they may ask that your lawyer\nresponds to them in writing but more often it's just \"this is Agent XYZ with\nABC. I have information about your company, please call me immediately.\"\n\nFor someone bigger (like Citrix) the company is _hopefully_ big enough to have\na team that is connected to the agencies in someway. Either the agency knows\nsomeone who knows them, or they have a designated Security and Compliance team\nthat can handle these inquires.\n\nThe real problems come when you're in the middle of sizes - too big to have\neyes on every email but too small to have a real security team.\n\nAbout 5 years I was working for a SaaS company and one of our clients\naccidentally discovered a pretty serious hole in another company's product.\nThis client wasn't overly tech savy and was basically like \"hey is this how\nthis is supposed to work?\" when it very much was not... so we killed the API\nconnection and told the client we'd take care of it. It's about 7pm ET by the\ntime we figure out what's going on so we call and email the other company but\ncouldn't find anyone. In the end we got the home phone number of their CTO and\nhad our CTO call him at around 10pm. He thought it was a prank call but once\nour CTO convinced him this was a problem he was able to get their on call eng\nto patch it within hours.\n\nNowadays almost any company involved in security work either has a direct line\nto FBI/DHS or has a vendor who does. ie if I'm some medium consumer platform I\nprobably don't get to talk to the FBI directly, but if I called up Crowdstrike\nor any security consulting firm they could do that. In the event that my\nmedium consumer platform was infiltrated by Fancy Bear (and the government\ndecided to tell me, sometimes they don't) an FBI agent would email/call the\nmost likely point of contact for the fastest resolution without causing panic.\nLots of time the damage is already done, two vs four hours on a response won't\nmake a big difference in the long term so no need to email info@ or anything.\n\nOver the past 6-8 years the corporation on public/private cyber investigations\nhas definitely changed as red tape has decreased in sharing of info has\nincreased - even more the last 4ish years since the DNC email hacks. I've had\na clients get a casual \"just a heads up, you should check this out\" from the\ngovernment without no paperwork and no follow up, something that would have\nbeen virtually unheard of 8 years ago.\n\nDHS gets a lot of shit in the media (lots of which is deserved) but they've\ndone a pretty good job just opening basic lines of communication and training\nother agencies that spending 20 minutes looking at a random tip, and following\nup if needed, is actually a pretty good use of time.\n\n~~~\nrobbiet480\nThanks for going to the trouble of creating a new account just to reply,\nappreciate it!\n\n------\nrmason\nIf you'd like a full perspective of the Citrix hack three security people from\nDetroit discussed it on a recent episode of their show, How they got hacked:\n\n[https://www.youtube.com/watch?v=fMgdrq0xMLk](https://www.youtube.com/watch?v=fMgdrq0xMLk)\n\n~~~\nIncRnd\nDid you watch that? They mentioned that they don't know any more than is\npublicly disclosed how the attack occurred and that they were speculating.\nThat was literally their first sentence about the attack.\n\n------\naxaxs\nHaving worked with Citrix, I'm shocked. Shocked that they detected it at\nall...\n\n~~~\nda_chicken\nI was going to say the same thing, but it sounds like it was the FBI that\nnoticed it:\n\n _> [T]he hackers had \u201cintermittent access\u201d to its internal network from\nOctober 13, 2018 until March 8, 2019, two days after the FBI alerted the\ncompany to the breach._\n\n~~~\nlawnchair_larry\nThis is extremely common. 6 months is not that long, even among competent\ncompanies that have good security. You usually hear about it from the FBI. I\nthink the FBI forwards tips from agencies like the NSA, but they don\u2019t tend to\ngive much information.\n\n~~~\naxaxs\nIt may be common, but I'll disagree it's common for companies with \"good\nsecurity.\" Password spraying doesn't work with good 2FA, nor sane login\nlimits. I set off a flag anytime logging in from a new IP, for example.\n\n~~~\ndub\n2FA and login limits alone aren't likely to stand in the way of state-\nsponsored hackers.\n\nLots of companies still haven't upgraded to zero trust / BeyondCorp AuthN, and\nlots of companies don't have reproducible signed build artifacts from CI/CD\nwith automatic policy enforcement regarding the properties that those build\nartifacts must have before they can be deployed.\n\nHigh-profile companies that think VPNs and networking rules are a security\nsolution have probably already been hacked and just don't know it yet.\n\n------\nempath75\nIf you have anything of value, I absolutely guarantee you that there are\nhackers in your network right now.\n\nOne thing that frustrates me more than anything else is people assuming that\ntheir corporate network is safe. Your firewall and your vpc or whatever is a\nspeed bump at best. You have to assume that you have an attacker on the desk\nright next to you, because you will eventually.\n\n~~~\nviraptor\nThat's a really defeatist attitude. There are different levels of \"value\" and\ndifferent levels of protection. Not everything is internet facing. Not\neverything is managed like a corp where turnover requires lots of access\nchanges. Not everything allows you persistence in the network. And not all\naccess is \"access\".\n\nI really wish we moved past the \"everybody's owned\" idea. Your defence should\nbe proportional to the value you can lose. You can monitor for the rest. And\nyou can't guarantee the are hackers in my network. (Unless you're saying\nyou're guilty of breaking in? ;-) )\n\n~~~\nhibikir\nI don\u2019t think the grandparent says that everyone is owned, but that if your\ndata is interesting enough, your threat model must include employees that are\nwillingly exhilarating data, sometimes for nation states. That your first\nbarriers are therefore assumed to be breached to those attackers.\n\nThis of course does not apply if you are not holding on to anything\ninteresting, but it\u2019s very easy to become interesting at a certain size, or if\nyou have interesting customers. Still, not everybody.\n\n~~~\nmandevil\nYour threat exposure is not just your network. It's all of your customers and\nall of your vendors as well.\n\nRecall that the Target POS hack back in 2014 happened because someone hacked\nthe largest refrigeration contractor in western Pennsylvania, then bounced\nfrom there onto the Target Partners Online portal with legitimate credentials,\nand then from there in unspecified ways got onto the POS system. Obviously\ngoing from TPO to POS is a failure of Target's network security, but their\nnetwork perimeter was much larger than just Target computers.\n\n------\nngcc_hk\nYou need network sniffer and pattern recognition. Otherwise basically you hope\nsome of the unusual activities will affect ids/ips (or touch internet).\nHowever if it is normal account you need some sort of intelligence to\nrecognise and alert.\n\nNot many software can do this.\n\n~~~\n6wKZhFkquv\nThrowaway, worked at Citrix. The unfortunate thing about this comment is that\nthey sell Citrix Cloud as having the intelligence to detect anomalies exactly\nlike this in your network.\n\n~~~\nzild3d\nOuch. This page [0] hurts a little bit to read now. Feel free to grab their\nfree ebook though! You'll learn how advanced analytics can help IT identify\nuser behaviors, determine risk profiles, and assess and address potential\nthreats\n\n[0] [https://www.citrix.com/analytics/prevent-security-\nbreaches.h...](https://www.citrix.com/analytics/prevent-security-\nbreaches.html)\n\n------\nmarkholmes\nThis might not be the right place for this, but where should one get started\nwith security research?\n\n~~~\nrando444\nI feel like an answer to this would depend largely on your age, background,\nand what you are looking to learn.\n\n------\nqaq\naverage is 206 days\n\n~~~\nGodel_unicode\nAccording to whom? That's significantly above what fireeye says (71 until\ninternally discovered):\n\n[https://content.fireeye.com/m-trends](https://content.fireeye.com/m-trends)\n\n~~~\nqaq\nAccording to Google search snippet I am totally ready to trust that FireEye\nestimate is much more accurate\n\n------\ninapis\n>Citrix said in a later update on April 4 that the attack was likely a result\nof password spraying, which attackers use to breach accounts by brute-forcing\nfrom a list of commonly used passwords that aren\u2019t protected with two-factor\nauthentication.\n\nWow. This simply reinforces the fact that humans cannot, and should not, be\ntrusted with actively maintaining security of a system especially if there\ncould be significant economic consequences.\n\nWould a password manager help in this? I don't know.\n\nProbably a hardware token which controls all and any access to a system.\n\n*Removed some ambiguous sentences.\n\n~~~\nGodel_unicode\nI was with you up until the last paragraph, but no. That's not 2fa, that's\nswitching one factor for another.\n\nPeople should use a password manager with an rng to generate and store\npasswords. IT departments should run password spraying attacks themselves as\nwell as blacklisting known-compromised passwords. There's really good tooling\nfor this (likely the same tooling this adversary used!)\n\nSeparately from this, people should use hardware 2fa tokens whose weakest link\nisn't the cell phone company support.\n\nEdited for clarity.\n\n~~~\nu801e\n> People should use a password manager with an rng to generate and store\n> passwords.\n\n[...]\n\n> Separately from this, people should use hardware 2fa tokens whose weakest\n> link isn't the cell phone company support.\n\nWhat would be better is to support certificate based authentication in\ncombination with a username and password. Then you have 2FA without having to\nshare the private key. You can even get 3FA if the private key requires a\npassphrase to decrypt it.\n\nUsing SMS or email based 2FA is not secure (or is only as secure as the email\nor cell phone account as you already pointed out). Using TOTP requires sharing\na secret between the device and the server.\n\n~~~\nIncRnd\nA passphrase doesn't make it 3FA, since that is an already used factor class,\nwhat you know. 3FA is one from each category of what you know, what you have,\nand what you are. Depending on the implementation, what you describe may only\nbe 1.5 factor auth.\n\n~~~\nu801e\nI believe we can agree that just using a username/password for authentication\nis 1FA (single factor authentication). If we add a one-time token sent via SMS\nor email, or generated via TOTP, that's generally considered 2FA (with the\nusername/password considered what you know and the one time token being what\nyou have, I believe).\n\nWhat I proposed was using a client-side TLS certificate in combination with\nthe username/password for authentication. If the private key corresponding to\nthat certificate requires a passphrase to decrypt, then it should be more than\n2FA. What you know is the username/password, what you have is the private key.\nWhether the passphrase for that private key is considered what you know vs\nwhat you are is debatable (since, unlike the username/password or one-time\ntoken, the secret isn't shared by transmitting it over the network).\n\n~~~\nIncRnd\nMany security people will discount everything that someone says once they see\nthat person misapply marketing-phrases to describe security technology.\n\n2FA does not become 3FA when adding a new passphrase to a system that already\nhad a knowledge based entry.\n\nA password for a private key is _never_ considered what you are. You are\nseverely misusing security terms and will mislead people to believe that a\nproposed solution has greater strength than it really possesses.\n\n~~~\nu801e\n> [You] will mislead people to believe that a proposed solution has greater\n> strength than it really possesses.\n\nThen explain how authentication via a username and password validated server\nside, a client-side TLS certificate validated during the negotiation of a TLS\nconnection between the client and server, and a passphrase validated locally\non the client's device is not a better solution compared to typical 2FA\nimplementations using email, SMS, or TOTP.\n\n~~~\nGodel_unicode\nKey-logger on the box your soft cert is on. Soft cert is comprised\nimmediately, fully, and permanently. And you might never know. With email/sms,\nat least it's possible for you to realize they're compromised, and with TOTP\nthe underlying keymat is likely not on the device so the attacker has to\nrepeatedly win the race.\n\nMore importantly, this is also a false dichotomy, as the correct answer here\nis hardware protection of the private key, e.g. yubikey.\n\n~~~\nu801e\n> Key-logger on the box your soft cert is on. Soft cert is comprised\n> immediately, fully, and permanently.\n\nThat essentially means the entire machine is compromised and logging into any\nservice would allow the adversary to access them. That would compromise the\nemail and SMS routes. If they have root access to my phone (or whatever I use\nto store the TOTP secret), that would allow them to generate the correct one\ntime token to log into any service that I use TOTP 2FA with.\n\n> With email/sms, at least it's possible for you to realize they're\n> compromised\n\nThat's assuming I check carefully and often enough. If someone brute-forces my\npassword over IMAP, then they could read my messages without me ever knowing.\nBut I could always check the process list on my computer to determine if a\nkeylogger is installed.\n\n> and with TOTP the underlying keymat is likely not on the device so the\n> attacker has to repeatedly win the race.\n\nIt depends on the application. If someone got access to my phone, they could\neasily get the TOTP secret out of my GAuth app.\n\n> the correct answer here is hardware protection of the private key, e.g.\n> yubikey.\n\nExcept that it's not universally supported. It's not going to work with my\nemail client nor will it work with my IRC client.\n\n"} {"text": "\nFreedom, the US Government, and why Apple are still bad - zdw\nhttp://mjg59.dreamwidth.org/39999.html\n======\nIBM\nHuh. The fact that Apple are the only ones that can sign software that runs on\nan iPhone may just allow them to defeat the DoJ in court.\n\n[http://www.bloomberg.com/news/articles/2016-02-24/apple-\nfbi-...](http://www.bloomberg.com/news/articles/2016-02-24/apple-fbi-fight-\nasks-is-code-protected-as-free-speech)\n\nApple has indicated that they're going to continue to keep increasing the\nsecurity of their products in the future, which may make it impossible to\nupdate firmware to the Secure Enclave (or at least require the user's\npermission first), but that's actually a weak measure.\n\nI'm not sure why tech people think that technical means to accomplish zero\nknowledge is the holy grail, that will never trump having the law on your\nside. Congress could pass legislation (like CALEA for tech companies) that\nwould require everyone to design their products to make them accessible to law\nenforcement any time they want.\n\n~~~\nspiralpolitik\nAt this point you might as well kiss goodbye to the US tech industry as nobody\noverseas will by anything that has a US government mandated backdoored.\n\n~~~\nIBM\nI'm pretty sure if Congress passes legislation mandating it they can influence\nplenty of non-American businesses by withholding their ability to do business\nin the US.\n\n~~~\nthrowaway2048\nIf they don't buy American products? I don't think so.\n\n~~~\nIBM\nDo any of those businesses want to sell their products to Americans? Maybe\nthey can sell different SKUs with those capabilities but they'll have to do it\nfor every market they sell to because the US won't be the only government that\nwill want backdoors.\n\n~~~\npjc50\nIndeed. This already works the other way round: companies selling into China\nhave to comply with their \"great firewall\" requirements.\n\n------\nthothamon\nI agree with all the ideas in the article, but at a bare minimum, Apple should\nconfigure devices so that no firmware update can be installed unless the user\nenters their PIN first. This would be an easy move that would make this whole\ndebate moot. The problem is that Apple only partially protected users from\nApple itself.\n\n~~~\nteacup50\nThere's a much bigger elephant in the room, though:\n\nUpdates to the OS and applications are encrypted, completely opaque, signed by\nApple instead of the original developer, can be granted additional\nentitlements for arbitrary permissions, and cannot be audited by anyone but\nApple without a jailbreak.\n\nWhen coupled with push updates, Apple already _has_ a targeted backdoor into\nevery iPhone anywhere connected the network.\n\nThis is a much more difficult problem to solve, as securing against that\nthreat model requires an diverse ecosystem of 3rd-party audit/review,\nsoftware, and tools.\n\nI don't see any way of solving that issue while also maintaining their\nstranglehold on the platform via DRM.\n\n~~~\nikeboy\nDon't users need to confirm OTA updates?\n\n~~~\nsaurik\nThis person is talking about for applications, to which many users have\n\"automatic updates\" turned on; this is one of the places where Android is\nfundamentally by design more secure than iOS (though by implementation has\noften been weaker :/ see the Master Key family of vulnerabilities).\n\n~~~\nikeboy\nAh. Missed that point.\n\nWhat's the highest permission an app can have? Wouldn't that be the limit of\nthe vulnerability here? Also, many permissions require manual granting, e.g.\ncontacts, camera.\n\nEdit: also, that could be mitigated partly by requiring user approval of any\nupdates adding permissions.\n\n~~~\nsaurik\nThe kinds of permissions that can be granted to an application by way of\nentitlements is pretty brutal and go well beyond the permissions that people\ntend to think of applications as being able to have: there are entitlements\nfor things like \"can install other applications\" and \"can obliterate all data\nstored on the device\". I'm not certain if some of these are blocked to\napplications of certain kinds, but I know that a lot of them are available if\nApple chooses to deploy them.\n\n------\nupofadown\nI don't have anything against Apple retaining control of the firmware on an\nApple phone. It _is_ their closed system after all. It's just that Apple\nshould not imply that their phones are somehow secure. The FBI thing reminds\nus that they are all effectively backdoored by Apple.\n\n------\npjc50\nOn this topic I have a large unfinished essay:\n[https://github.com/pjc50/pjc50.github.io/blob/master/pentagr...](https://github.com/pjc50/pjc50.github.io/blob/master/pentagram-\ncontrol.md)\n\n------\nbcook\n... _is_ still bad? /grammarnazi\n\n~~~\nRedoubts\nThe British tend to use plurals with corporations.\n\n~~~\nbcook\nInteresting... the plural says to me \"all the individuals at Apple\", vs the\nsingular referring to the company as a single, faceless entity.\n\nI wonder if that was intended by the author.\n\n~~~\nokonomiyaki3000\nSurely not. Just a weird British thing. Like how they write \"math\" as \"maths\"\nand pronounce it \"mafs\"...\n\n------\nzekevermillion\nWhose logo is on your i-thing? Render unto Apple the things that are Apple's,\nand keep private what is truly private in the first place.\n\nIf you'll forgive the abuse of an old parable...\n\n"} {"text": "\nWWDC 2020: Rosetta 2 on Apple Silicon Macs and Virtualization - miles\nhttps://www.macobserver.com/news/wwdc2020-rosetta-2-apple-silicon-macs-virtualization/\n======\nsgerenser\nI still can\u2019t figure out what the deal will be with Virtualization on Apple\nSilicon. If they just mean that you can run the Arm version of a Linux distro\nit\u2019s not that useful (At least for devs like me who need to write native\nsoftware for Windows and Linux). But if it actually means you can continue to\nrun x86-64 versions of Windows and Linux at near native speeds, that sounds\ngreat. Although I would wonder how that\u2019s possible.\n\n"} {"text": "\nGuestToGuest Gets $35M - anjalik\nhttps://skift.com/2017/03/10/guesttoguest-travel-startup-funding-this-week/\n======\nnerdponx\nI didn't know Couchsurfing had raised any money. What had their monetization\nplan been?\n\n"} {"text": "\nScrutiny of 'Truthy', a university project that studies trends on Twitter (2014) - diyorgasms\nhttp://thehill.com/policy/technology/221565-five-things-to-know-about-truthy\n======\npnathan\n> One study highlighted an attack on Sen. Chris Coons (D-Del.) when he was\n> first running for his seat in 2010. It found that one social media campaign\n> criticizing him for spending taxpayer money on dinners and fashion shows was\n> largely the result of 10 Twitter bots.\n\nThis is an interesting finding. I think part of the broader question at hand\nin our society is that the relationships and communications are becoming\nworld-readable, with significant consequences for shifting the flow of\ndiscourse.\n\n------\nChuckMcM\nI expect a strong correlation with authoritative overreach :-) But more\nseriously, the study of information flows to uncover information sharing\nnetworks is not new, that the networks want to protect themselves from being\nexposed is also not new. I don't agree with a lot of what Assange says but I\ndo agree with him that conspiracies hate light, and what is more making it\nharder for them to communicate makes it harder for them to be effective.\n\n------\nelevenfist\nThis article talks about a research project studying the virality of\npropaganda in social media. The article paints a political picture, the only\npaper cited by the article (one of at least 30 published by the project)\ndiscovered that a viral social media attack/campaign against a democratic\nsenator was the result of about 10 twitter bots. The article then cites the\nrepublican congressman who launched the investigation into this study.\n\nNo mention of the FBI, and the NSF provided funding but the project has made\nstatements to the effect that the NSF is not involved, as listed in the\narticle.\n\nThis title is very misleading...\n\nfrom the article: ' \u201cTruth about Truthy.\u201d In a series of bullet points, the\ndepartment said the project is not a \"political watchdog, a government probe\nof social media, an attempt to suppress free speech, a way to define\n'misinformation,' a partisan political effort, [or] a database tracking hate\nspeech.\"\n\n\"There is a good dose of irony in a research project that studies the\ndiffusion of misinformation becoming the target of such a powerful\ndisinformation machine,\" the research department wrote. '\n\n~~~\ndiyorgasms\nYeah I was reading a few articles about this and one mentioned that the FBI\nwas involved. Turns out it rant this article, and turns out not to have been a\nreputable source. However it's too late for me to edit the title, and I can't\nfind a way to delete the post. Please feel free to flag our downvote.\n\n------\ngolergka\nGood.\n\nI don't know how effective it'll be, but after witnessing first-hand how\nsuccessful government-sponsored social media manipulation have been in the\nlast decade, I'm really glad that western world finally reacts to it and at\nleast tries to do something about it.\n\n------\n__david__\nSimilarly to the irony mentioned in the article, many of the other comments\nhere clearly commented without reading the actual article, which has caused\nmisinformation to spread due to the misleading title.\n\n------\ndiyorgasms\nI apologize, I read the FBI part in another article and I can't seem to\ncorroborate the claim that the FBI is involved. As such I am editing the\ntitle. Apologies for the sensationalism.\n\nEdit: it would seem I can no longer edit the title.\n\n------\nhackuser\nThat's not the article's title and the article says nothing about the FBI. The\ntitle should be changed.\n\n\"NSF funds Indiana University study of social media misinformation\" would be\ngood. The actual title, \"Five things to know about 'Truthy'\", isn't helpful.\n\n------\nbobwaycott\nThis could use a (2014) in the title.\n\n~~~\ndang\nSo it could. We also changed the title to a representative phrase from the\nfirst sentence.\n\n------\nDowwie\nThey need to turn their sensors towards their own political parties and\ncampaign advertising\n\n------\nmtgx\nAnd it's called Truthy, too? What - \"Ministry of Truth\" was trademarked?\n\n"} {"text": "Ask HN: Do you keep a journal, and why? - zabana\n======\ntrykondev\nI do! I started one in the summer of 2013. I originally started it as a way to\naggregate links & helpful information for my game development endeavors, but\nit eventually evolved into more of a recounting of what I did or how I was\nfeeling on a particular day. I now have daily entries for the entire time\nperiod since I started it, and I consider my journal to be one of my most\ntreasured possessions. Sometimes I'll get busy and not add entires for a few\ndays at a time, but I always go back and at least put a one-liner of why I was\ntoo busy to write anything.\n\nI've found it to be a slightly more structured & useful way to essentially\ninteract with my own brain -- it's a place for me to vent, a place to record\nnot-so-important but still fun-to-have memories, to keep notes & sort out\nplans for the future.\n\nIt's a lot of fun to be able to scroll back and say \"hey, what did we do for\nmy birthday three years ago?\" :) It's also fun at times like new year's to\nflip back through my journal and remind everyone what they listed for a\nresolution last year.\n\n------\ngrep_name\nFunny, I just ordered a pocket notebook for the first time in years today. I'm\ncurious to see what contingent of people on HN still use a physical notebook.\nI also use orgmode extensively to keep track of my intentions, media\npreferences, notes, and stray ideas, but it doesn't really scratch the same\nitch as a physical notebook.\n\nThe reason I had to order a physical notebook online is because I wanted a\npocket notebook with no lines, dots, or grids on the pages, which is\nsurprisingly hard to find. I'm attracted to the non-linear approach to\nnotebooking, and plan to fill this one with content in a random page-order as\nthings strike me. Sometimes I just have a cool thought or sentence, or just\nwant to slowly fill a page with something, and it can really help your\ncreativity solidify to have a trailing log of your weird random inspirations.\nSometimes I just transcribe lines from a song or book I like, or write down\nsomething someone said. Some pages are just geometric shapes. Rarely, I'll\nmake a simple \"today this happened and this is how I felt about it\" page. By\nthe time you fill it up you have a really organic document that can help you\nunderstand what makes you unique and what you like / care about in your daily\nlife, without the stress of writing a cohesive or linear work.\n\n~~~\njolmg\nI've also used org-mode and tried to make the switch to pocket notebooks[1].\nMy reason was that org-mode just wasn't as accessible to me. It's not as\npractical to use when away from a keyboard as a physical notebook is. However,\nwriting as much in the physical notebook as I do in org-mode would fill it too\nquickly. I also can't be as structured in the physical notebook as I can in\norg-mode.\n\nI guess I'm still figuring stuff out. Lately, I've been mostly using the\nnotebook for taking notes of measurements or prices at the store. Maybe in\nreality my reason for trying a physical notebook is that I missed using a\nwriting utensil.\n\n[1]\n[https://www.amazon.com/gp/product/B00J535NN2](https://www.amazon.com/gp/product/B00J535NN2)\n\n------\nPragmaticPulp\nYes, but with constraints.\n\nJournaling is an efficient way to elucidate your stray thoughts and feelings.\nWriting forces you to distill everything into cohesive paragraphs, which in\nturn forces you to put some structured thought around otherwise nebulous\nmental energy.\n\nHowever, journaling is only helpful so long as it's supportive. If you get\nstuck in reinforcing thought loops or you find it just amplifies your\nfrustrations, it's time to change your approach to journaling or find another\noutlet for your thoughts.\n\n------\ndhagz\nI do. It's rather minimal, but I like it. I use a Rhodia Goalbook, which has\nnumbered pages and a nice month/day view in the front. I can jot down events\non specific days, or I can do more longform stuff on the regular pages. I'm\npretty loose with how I journal, and I don't require myself to do it every\nday. I'm a fan of Merlin Mann's \"The first page is profound\" method to get\nmyself in the mindset of putting whatever I want in the journal.\n\n------\nslipwalker\nafter reading this thread sometime ago (\n[https://news.ycombinator.com/item?id=20244848](https://news.ycombinator.com/item?id=20244848)\n) i decided to start one. It's been an on and off endeavour, when i am most\nbusy, that's when i _should_ be taking those notes, and that's exactly when i\ncompletely forget about it... :/\n\n"} {"text": "\nWhat Should We Call the Language of Mathematica? - mh_\nhttp://blog.stephenwolfram.com/2013/02/what-should-we-call-the-language-of-mathematica/\n======\nquink\nWithout even reading it (and avoiding looking at the comments here), I predict\nthat he'll advocate 'Wolfram'.\n\nEdit: Yep... \n\nI love the ramp up, first it's just mentioning that the name of the company is\nWolfram... then going underground before coming out, in bold, with Wolfram\nLanguage, then four paragraphs before concluding that \"At this point, we\npretty much have to have 'wolfram'\u2014or at least some hint of it\u2014in the name.\"\nand there goes the rest of the article.\n\nWhy not just call it Wolfram and be done with it. We know there's a big ego\ninvolved and we can't possibly bear Stephen Wolfram strain himself so much as\nto not name the language after himself. Anything else would be inhumane :)\n\nAnd considering the good he's done with both the quality product Mathematica\nand Wolfram Alpha, it's only justified.\n\n~~~\npatmcguire\nAm I missing something or is that just a surreal picture?\n\n~~~\nrtra\nI think it's marking the positions of the word 'Wolfram' on the document.\n\n------\nscarmig\nWolfram has written a lot of egotistical, boring things before. I have to give\nit to him: this time he's outdone himself.\n\nWhy not just outsource the naming to a flunky and then take credit for it if\ns/he comes up with a good one?\n\n------\nh2s\nAs far as I was aware everybody was already calling this language\n\"Mathematica\".\n\n~~~\nonedognight\nWith projects like Mathics[1], that aim for Language compatibility with\nMathematica, on the horizon it makes sense to want to separate the language\nfrom the implementation.\n\n[1] \n\n~~~\nwmf\nSeeing this post hit HN just a few days after Mathics gave me a paranoid\nfeeling. Why now? Is Wolfram feeling the heat and looking for a new trademark\nto deny his competitors?\n\n~~~\nics\nAnd Mathematica 9 just came out, so maybe it was _Mathics_ feeling the heat!\nDespite the vacuum-like nature of our internal HN-eval-post loop, the rest of\nthe world isn't standing still. It's actually a little surprising that they're\nonly talking about this _now_ , given how long Mathematica has been around.\n\n------\nzem\ngood post, but it seemed like he dismissed \"tungsten\" far too lightly (\"And in\nthe direction of whimsical, there are also words like Tungsten\"). it seems\nlike the best choice to me - it has the \"wolfram\" association, as well as\nfitting in with the general mineral theme while differentiating itself from\nthe gemstone cluster. also it's easy to pronounce and rolls off the tongue\nfairly readily.\n\n~~~\njerf\nYou beat me by one minute. Tungsten works for me.\n\n \\- \"Tungsten, also known as\nwolfram... the free element is remarkable for its robustness, especially the\nfact that it has the highest melting point of all the non-alloyed metals and\nthe second highest of all the elements after carbon. Also remarkable is its\nhigh density of 19.3 times that of water, comparable to that of uranium and\ngold, and much higher (about 1.7 times) than that of lead.... It is the\nheaviest element known to be used by any living organism.\"\n\nNot bad.\n\n------\njpdoctor\nEgotistica. (ld;o)\n\n------\nfusiongyro\nI wouldn't have been surprised to learn it were already named Lingua\nMathematica, and I submit that as the best reason to give it that name (and\nnot some other).\n\n~~~\nfusiongyro\nI thought the grammar might be wrong there, and it turns out, it is:\n\n[http://english.stackexchange.com/questions/103916/it-were-\nve...](http://english.stackexchange.com/questions/103916/it-were-versus-were-\ni-the-proper-subjunctive-for-this-statement)\n\nThe corrected versions are: \"I wouldn't have been surprised if it were already\nnamed Lingua Mathematica...\" or \"I wouldn't have been surprised to learn it\nwas already named Lingua Mathematica...\"\n\n------\nballstothewalls\nI propose \"Stephen\"\n\nI have found Mathematica to be super simple learn and use, so by calling it\n\"Stephen\" it shows how friendly and approachable the language is while\nmaintaining the connection to the founder's ego.\n\n~~~\nhvs\nI've never heard anyone refer to Stephen Wolfram as \"friendly and\napproachable,\" and naming the language based on that reason would be both\namusing and disturbing.\n\n~~~\nmauvehaus\nI, for one, don't remember Mathematica being especially \"friendly and\napproachable\" either. Maybe for basic stuff, but my introduction to it was a\ngrad-level computational neuroscience class, and it was the source of a great\ndeal of misery in my life for a semester.\n\nMaybe for amusement value it /should/ be named Stephen.\n\n~~~\nballstothewalls\nThis is a common complaint, but I don't understand it. Most of my peers that\ndidnt like it had no exposure to programming, though.\n\nI have tried to teach myself Ruby and Python before but I have never gotten\nreally far. I am pretty competent in Mathematica though. The key is getting\nused to their documentation center where they have lots of examples.\n\n------\nlogn\nHow about \"Leibniz\" in honor of the mathematician who independently invented\ncalculus and, compared to Newton, used a superior notation (which he took\ngreat pains to make nice)\n\nOr, Zinbiel.\n\n~~~\nquink\nI'd agree, but unfortunately \"Leibniz\" is not, nor does it rhyme with or even\nallude to \"Wolfram\" and is therefore out of the running.\n\n------\ndnc\nI think Aleph is nice name. There is already Wolfram Alpha, and Aleph, while\nit is related to it, is IMO more appropriate for general purpose language.\n\nIt sounds to me mystical and abstract/mathematical at the same time as it\nreminds me of Blaise Pascal's definition of Nature (or God) as \"an infinite\nsphere, whose center is everywhere and whose circumference is nowhere\"\n(because Jorge Luis Borghes has a story with the same name in which he cites\nthe Pascal's quote :)).\n\n------\nmturmon\nWolfram prefers \"Wolfram.\" Telling.\n\n------\ngeorgemcbay\nA New Kind of Language\n\n------\nzwegner\nOne of the names he dismissed is actually a pretty good word to use to\ndescribe the blog post: Wolframble.\n\n------\nscott_s\nEgo.\n\n------\npg\nM\n\n~~~\nhuhtenberg\nW\n\n~~~\nnetworked\nThere is already a programming language called W [1]. It's not related to the\nlanguage of Mathematica but you could say has a little bit of relevance to\nscientific computing since it was created for the HP-95LX and the HP-200LX\nDOS-powered programmable calculators.\n\nI used to have a decent collection of subroutines for it.\n\n[1] \n\n------\nJD557\nMy December PLT Game's entry was actually called Wolf:\n\n\nThank god he didn't chose that name, then I would be the one that would need\nto think of a new language name.\n\nAnyway, as stated in other comments, Tungsten seems like a nice choice.\n\n------\nokku\n1\\. Mathematica or 2\\. Just pick a random cool name, how about: pipe | (they\nuse pipe in wolfram|alpha)\n\n------\njimmytucson\n\n > In the years since, the name Mathematica has been widely imitated (think Modelica, for example).\n \n\n...or Metallica, for example.\n\nSeriously, isn't sticking 'a' (or 'ica') onto the end of a word some kind of\nLatin thing?\n\nBritannica!\n\n~~~\nStefanKarpinski\nThe Romans were just copying Stephen Wolfram.\n\n~~~\ndavrosthedalek\nThey were pre-covering him. Like all the pre-covers of the songs from Glee....\n\n------\nreader5000\nTo me, \"language\" implies freely available to use. This is not a critique of\nmathematica nor its pricing, but merely when I think of \"computer language\" I\nthink of python or c++ or java etc.\n\n------\nopminion\nAsk Umberto Eco \n\n------\nxntrk\nFORMATH!\n\n~~~\nsnogglethorpe\nFORGREATJUSTICE!\n\nI'll get me coat.\n\n------\nEvanMiller\nWhy not return the favor and call it \"Jobs\"?\n\n------\nrevorad\n\"Steve\" would have been better, as a nod to both men.\n\n------\njonsen\nMathematicall\n\n------\ndanbmil99\n\"Wolf\"?\n\n------\nNonEUCitizen\nWolfie ?\n\n------\ncalciphus\nMash\n\n~~~\nzwegner\nWeird, that's the name of a language I worked on at a former job. It was\nseriously awesome, it was like a functional version of Python mixed with\nassembly, and was much clearer and also faster than C++. Shame that it will\nprobably never see the light of day (though I have plans for a similar\nreplacement).\n\n"} {"text": "\n\nHow not to hire an engineer - eddieSullivan\nhttp://www.chickenwingsw.com/scratches/programming/how-not-to-hire-an-engineer\n\n======\nbriancray\nI love the recent focus on hiring people, not job descriptions. I saw another\narticle written by David Cancel of Performable on the same subject. Technical\nskills are important, mind you, but personalities can't be taught.\n\n"} {"text": "\nSlack is Down for Chrome due to CDN issue - tcarn\nhttps://drive.google.com/file/d/0ByaKKJwF1jFsWjdCZ0FFR3lqVU0/view?usp=sharing\n======\ntcarn\nOddly issue only seems to be affecting Chrome - not Internet Explorer....\ncan't believe they use a different CDN on different browsers....\n\n~~~\nPiskvorrr\nUnlikely. Perhaps a HTTPS cert issue that the other browsers can handle?\n\n------\npm90\nWhat? I see it on FF and Safari as well.\n\n"} {"text": "\n\nWhy Instagram turned out to be so successful - shobhitic\nhttp://www.pilanites.com/?p=58\n\n======\nshobhitbakliwal\nIt would not have been able to monetize itself anyway!\n\n~~~\nshobhitic\nWhat about premium filters?\n\n------\nraghavrawat39\nadvertisements could have been done too\n\n~~~\nshobhitic\nNot sure about it\n\n------\nshobhitic\nIt could have given premium filters\n\n"} {"text": "\nWhy Skee-Ball Doesn't Change - prismatic\nhttp://www.theatlantic.com/technology/archive/2016/11/why-skee-ball-doesnt-change/509117/?single_page=true\n======\ndottrap\nBut something did change, at least where I went.\n\nWhen I was a kid, I remember the ball effortlessly glided off the launch ramp\ninto the air for the holes. Sometimes I would roll as hard as I could just to\nsee how high it would go (into the top net and ricochet down into the scoring\nholes).\n\nI recently went back and the launch ramp is like a speed bump now. The balls\nno longer smoothly roll and launch into the air. Instead they smack hard into\nthe bump and lose most of their momentum and barely make it to the holes.\n\nI can't for the life of me figure out how to actually get the ball in the\nhighest value holes any more. The harder I roll it, the harder is smacks into\nthe bump and it goes nowhere near the holes. Don't roll that hard, and it\nbarely makes it over the bump.\n\nI really hate the change and I stopped playing. It is no fun anymore.\n\n~~~\ndeelowe\nI thought it was just me. I guess this is to make it difficult to rack up\npoints, making it more a game of chance than skill?\n\n------\nGnarfGnarf\nI was a carny in 1968, handing out prize tickets to Skee-ball players. The\nowners disallowed \"banking\" (bouncing the ball off a side) because it improved\nplayer accuracy too much.\n\nI could not believe how much people were willing to spend to win a prize of\nlesser value.\n\n~~~\nfreditup\nI've played skee-ball quite frequently and done well using this banking method\n(as taught to me by my grandfather!). But I'm not sure why it's better. Do you\nknow what makes it easier when banking as compared to rolling the ball\nstraight?\n\n~~~\nwernercd\nI assume it's the same reason that basket-ball players bounce shots off the\nback-board more often than they go for the swish...\n\n[https://www.wired.com/2011/07/st_cheatsci_basketball/](https://www.wired.com/2011/07/st_cheatsci_basketball/)\n\n[https://hiphopandhoops.wordpress.com/2011/04/14/bank-it-\nstud...](https://hiphopandhoops.wordpress.com/2011/04/14/bank-it-study-\nreveals-that-using-the-backboard-can-increase-free-throw-shooting-by-20/)\n\nA quick look shows some interesting starting points that goes with my \"gut\"\nabout basketball and banking off the backboard.\n\nI don't see any similar articles relating the two (banking Basketballs and\nbanking Skeet Balls), but I bet there's some sweet spot that you aim for and\nget better with practice.\n\n~~~\ndouche\nShooting basketballs off the glass is something of a lost art, at least\noutside of point-blank layup range. Not too many people bother to invest the\neffort to learn the geometry to bank shots from each particular spot on the\nfloor, compared to shooting for the rim, where your aim point and mechanics\nare pretty much always the same.\n\nIt's rare enough nowadays that it was something of a signature move for\nplayers like Tim Duncan.\n\n------\nebbv\nThis article is wrong about skee ball being \"pure\" unlike other carnival games\nthat are skewed against the customer. It is just as easily and often\nmanipulated by proprietors just like any other carnival game. The collars\naround the holes can be taller and/or narrower, the angle of the ramp can be\nmanipulated, the weight of the balls, the amount of points for each hole, the\nreturn and price, etc.\n\nIt is fun to play once in a while, I'll usually do a few rounds every time I\ngo to Cedar Point. But it is subject to the same machinations as all the other\ncarnival games.\n\n~~~\nevanelias\nI haven't seen evidence that manipulating skee-ball machines is a common\npractice by owners, and I've played at a lot of places. Several of the\nmodifications you mention aren't easy to make. (At least, I can say that's\ntrue when it comes to the official machines made by Skee-Ball Inc -- I usually\navoid the knock-offs so I don't have much experience with those.)\n\nI was saddened to learn that the company was acquired by a rival earlier this\nyear and relocated production from the Philly suburbs (where it had been over\n100 years) to Wisconsin. Strangely, no mention of any of this in the article.\n\n------\nxiaoma\nIt didn't used to have the 100 point holes on the sides. The 50 in the middle\nwas the highest.\n\n"} {"text": "\n\nSoureForge starts preventing misleading download button advertisements - chris_wot\nhttps://sourceforge.net/blog/sourceforge-blockthis-initiative-update/\n\n======\nchris_wot\nMakes me wonder why it took them this long - but brilliant though! Finally\nSourceForge is going to fix their UI issues and downright misleading malware\nlinks. This should go some way to restoring their reputation.\n\n"} {"text": "\nShow HN: A generator for random ASCIItabs - rocheio\nhttp://www.asciitabs.com\n======\nrocheio\nI made this site to help myself practice guitar / music theory and learn the\nbasics of music composition.\n\nIt's all written in Go and hosted on an AWS t2.micro instance right now. I\nhaven't implemented any caching yet so we'll see what happens if it gets any\ntraction...\n\nFeedback / bugs / feature requests encouraged. Thanks!\n\n~~~\nSwellJoe\nThis is a cool tool...but, as a musician of more than three decades, I would\ndiscourage new players from spending too much time on tablature.\n\nI'd recommend you jump to traditional music notation for your learning\nprocess, ASAP. You're learning new things, anyway, you might as well learn a\ntool that is generally much more useful. There's a wealth of music and\nexercises in standard notation available to practice with.\n\nI'm not saying this to be preachy or holier-than-though, or to suggest you\ncan't be a good musician without knowing how to read music. But, standard\nnotation is technically superior to tabs, on nearly every dimension. It\nprovides more information in a smaller space, it is transferable to other\ninstruments and other musicians, it is much faster/easier to read once you are\nproficient with it, and it provides visual cues about the things that you're\ncurrently trying to learn that tablature does not (e.g. you can usually\nreadily discern keys and chords from traditional notation, while it is not at\nall obvious from tabs until you've read quite a bit of it and mentally or\nphysically applied it to the guitar).\n\nI wish I'd learned traditional notation sooner and with more gusto. I would\nhave been a better musician more quickly if I had.\n\n~~~\nrocheio\nThank you for this advice. You make a strong case for standard notation and\nI'll keep that in mind as I try and advance as a musician. I've found the\n'Masters in Tab' series to offer tabs / standard notation interlaced, so\nperhaps that would be a good way to transition from one to the other\n([https://www.amazon.com/Spanish-Guitar-Masters-TAB-\nIntermedia...](https://www.amazon.com/Spanish-Guitar-Masters-TAB-\nIntermediate/dp/0739000772)).\n\nThis also makes me think I should focus the website on where ASCIItab excels\nover standard notation -- editability as opposed to being a precise blueprint\nfor how to play complex compositions. I think offering an in-browser editor\nwould still make this a good tool for novice composers to get a feel for\nenhancing / creating music before they advance to standard notation.\n\n------\ngnode\nPretty cool, thanks for creating this.\n\nA good addition would be audio output, or MIDI export.\n\nFrom looking at the tabs, this seems mostly aimed at fingerstyle guitar\nplaying, rather than playing with a plectrum. Some parameters to the\ngeneration could produce tabs for a wider range of styles.\n\n"} {"text": "\n\nMysterious Statistical Law May Finally Have an Explanation - joosters\nhttp://www.wired.com/2014/10/tracy-widom-mysterious-statistical-law/\n\n======\ne2e8\nSame article submitted with its original url discussed here:\n[https://news.ycombinator.com/item?id=8459264](https://news.ycombinator.com/item?id=8459264)\n\n~~~\njoosters\nThanks - I did a search before posting but it was based upon the wired\narticle's click-baity headline...\n\n"} {"text": "\nEvidence of 'risk-taking' brain - tortilla\nhttp://news.bbc.co.uk/2/hi/health/7802751.stm\n======\ntokenadult\nHow does this study do by Peter Norvig's checklist?\n\n\n\n"} {"text": "\nDoes anyone deserve to have a billion dollars? - smacktoward\nhttps://www.nytimes.com/interactive/2019/us/politics/billionaires-democratic-candidates.html\n======\nmilsorgen\nNo one deserves anything but it's not up to a 3rd party to judge the validity\nof what one can generate when playing by the agreed upon rules of the system.\nFix the foundation rather then boarding up the broken windows upstairs.\n\n"} {"text": "\nPlsdr. Python-based software-defined radio (SDR) - auslander\nhttps://arachnoid.com/PLSDR/\n======\nbobowzki\nThere are many ways to generate an SSB signal. In particular the Weaver method\nis more common in SDR applications than the phase shift method he/she uses.\nThere're lots of literature online so I don't know why he couldn't find any.\n\n"} {"text": "\nLicense plate tracking for police set to go nationwide in the USA - novok\nhttps://www.cnet.com/news/license-plate-tracking-for-police-set-to-go-nationwide/\n======\nAncalagon\nI guess I don't have a lot to say other than: this is pretty disheartening. We\nare going further and further down the rabbit hole that is the surveillance\nstate.\n\n"} {"text": "\n\nTumblr: Hashing Your Way to Handling 23,000 Blog Requests per\u00a0Second - aespinoza\nhttp://highscalability.com/blog/2014/8/4/tumblr-hashing-your-way-to-handling-23000-blog-requests-per.html\n\n======\nsargun\nSo, it looks like they're using BGP to \"program\" the adjacent router a la\n\"SDN.\" I'm curious as to two things:\n\n* Byzantine fault-tolerance: How does this system handle failures when a specific node fails in a way that it fails to withdraw its routes. When a node's haproxy fails, how is BIRD informed of its failure? What if the failure is in some way that internal fault detectors don't see the failure.\n\n* How is the ECMP hashing problem handled? ECMP hashing on most gear is just a plain hash, that means when a route is withdrawn, the rest of the systems see their traffic rebalance. How does this not result in all connections being severed?\n\n~~~\nnbm\nI'm not sure about how Tumblr might do it, but one can use a combination of\nECMP and ipvs (with a consistent hash) to do the lower-layer L4 load\nbalancing. This means that even if one of the L4 load balancers go down and\nthe connections originally going to that L4 load balancer by the switch/router\nget moved to another one, the consistent hash to the L7 load balancer handling\nthe request means the connections will not be reset (except in some\ninteresting and less-frequent cases).\n\nThis two-stage process also allows for good health checking from the much-\nsimpler Linux ipvs L4 load balancer servers to the more-complicated L7 load\nbalancer servers.\n\nThis was described in this Velocity 2013 talk -\n[http://velocityconf.com/velocity2013/public/schedule/detail/...](http://velocityconf.com/velocity2013/public/schedule/detail/28410)\n\n~~~\nsargun\nYeah, this is how Facebook does it, and how we did it at Microsoft / Yammer.\n\n------\ncagenut\nHi Michael, you wrote a whole post about varnish cache management without\nmentioning hit-rates! How effective was all this? How many of that 23K req/s\ndid origin have to handle?\n\n~~~\nmschenck\nThe cache effectiveness of this is actually quite good, but I'm deliberately\nbeing ambiguous about the ratio.\n\nThe reason for my ambiguity is that our cache-hit ratio is actually a result\nof our application. This architectural design afforded us the ability to\nmaintain our (very high) cache-hit ratio, even when we outgrew the total slab\nsize of a single varnish node.\n\nThat ability to maintain the same cache-hit ratio, the motivation for this\neffort, is the result of not needing to evict cached content prior to TTL.\n\nSo, if you have a low cache-hit ratio due to eviction (and you don't just have\nexcessive TTLs), then your cache pool is probably too small. If so, then you\nmight want to give this design a shot - it's an analog to using ketama for\ngrowing memcache beyond a single node.\n\n------\nCoffeeDregs\nRandom note on on scale-out, caching, etc: check out CloudFront's \"whole site\ndelivery\". You can set min TTLs to zero on CloudFront, configure your cache\nheaders correctly and get many of the benefits outlined in the article. See:\n\n \n \n http://www.allthingsdistributed.com/2012/05/cloudfront-dynamic-content-support.html\n \n http://blogs.gartner.com/lydia_leong/2012/05/14/amazon-cloudfront-gets-whole-site-delivery-and-acceleration/\n \n\nWARNING: CloudFront will dutifully cache non-2xx responses, so you can get a\nlong-lived, but very fast, 500 response...\n\n~~~\njgrahamc\nOr you could not pay Amazon \"per byte fees\" and use CloudFlare and get the\nsame the type of functionality through out caching options and Page Rules.\n\n------\nbobjenk\nIf I was to use Varnish, would that make my need for Redis obsolete - should I\nswitch to a non-memory based key-value db and use Varnish on top of that?\n\nMy current stack: nginx/php-fpm/redis. Nginx and Redis serve me well, but php-\nfpm makes my website rather slow with high volumes of traffic, so I believe\nthe solution for that would be Varnish(?).\n\n~~~\ncodingjester\nso @ tumblr, we're using varnish for a full page cache (we use it for parts of\nthe API as well for response caching), and invalidate when a blog updates (or\nyour page can just TTL out).\n\nI definitely agree that I wouldn't use Redis (or memcache for that matter) for\nstoring entire pages and should be used for more of an object cache. Even\nthen, we use memcache for \"simple\" data structures and when we need more\ncomplex data structures, will use Redis.\n\nRedis is great if you need some kind of persistence as well (and it's fairly\ntunable), where as memcache and varnish, are completely in memory (varnish 4.0\nI believe is introducing persistence). So you kick the process, and that's all\nshe wrote for your cache until it gets warm again. (Which has its own\nchallenges).\n\nVarnish also gives you a language called VCL to play around with to maximize\nyour caching strategies and optimize the way varnish should be storing things.\nIt's got an easy API to purge content, when you need to purge it and it should\nsupport compression for your pages out of the box without too much tuning.\n\nIf you're having issues just speeding up static content, give varnish a whirl.\nSpend some time with it, and you won't be disappointed.\n\nI believe you can also look into using nginx as a caching alternative to cache\nresponses, but I don't have too much experience with that. I've heard it used\nwith some success though.\n\n~~~\ndallasmarlow\nvarnish has supported disk based caching for quite a long time, it's just that\nall the instances at tumblr are configured to only use memory.\n\n------\nandremendes\n>278 employees. That's a lot of people, I imagined they were way less.\n\n~~~\nbillmalarky\nKeep in mind that not all are engineers. They appear to do sales in house.\n\n~~~\nchojeen\nAlso, some Yahoo employees might have transferred over after the acquisition.\n\n~~~\nelliottcarlson\nNot really - especially on the tech side.\n\n------\nmaddalab\nApologies if this is not of interest.\n\nIf you found this interesting please checkout the jobs page [1] at Tumblr, we\nare constantly looking for new folks. Specifically [2] for positions on the\nteams that implemented everything described in the article.\n\n[1] [https://www.tumblr.com/jobs](https://www.tumblr.com/jobs) [2]\n[http://boards.greenhouse.io/tumblr/jobs/17886](http://boards.greenhouse.io/tumblr/jobs/17886)\n\n"} {"text": "\nCreate and delete branches - nicolasd\nhttps://github.com/blog/1377-create-and-delete-branches\n======\nartursapek\nSuddenly I can clearly see what must be one of Github's long-term goals: to\nmake git usable end-to-end in the browser, and in a way where that is\npreferable for certain situations.\n\nWe're going to continue spending more and more of our computer time in the\nbrowser. It's the universal platform.\n\n~~~\nSwizec\nGit in the browser is _exactly_ what we need to bring git outside programming\ncircles.\n\nWhat I've wanted for a while is a site where I could fork somebody's muffin\nrecipe, fix stuff and so on ... I've even considered building a site like\nthat, but how many people who cook are also handy enough with a console to\nmake that viable? My guess is not many.\n\n~~~\nartursapek\nHahah, recipes are actually a very interesting application. A program is much\nlike a recipe, after all. I could see a collaborative site where you build up\na personal cookbook by forking and trying out other peoples' stuff and\ncontributing your own modifications, etc.\n\n~~~\nMartinCron\nIf you think recipes are like code, you should look at knitting patterns\nsometime. It looks like assembly code to me.\n\n~~~\nderleth\nI have a grandmother who can debug knitting patterns.\n\nThe patterns in the books are, apparently, sometimes wrong somehow. She debugs\nthem when she knits.\n\nI can only imagine _every_ competent knitter can, if only because those books\nmust sell to a huge number of them.\n\n------\nh2s\nMy gut reaction to this was negative. As much as I like GitHub, I sympathise a\nlot with Linus Torvalds' concerns about the way it encourages low-quality pull\nrequests [1].\n\nHowever, thinking back through my own experiences with the kind of minor pull\nrequests I've occasionally made to projects in the past, I can see this being\nquite useful. Have you ever actually cloned a big repo like the kernel's? Even\nthe Node.js repo takes a fair old while. If you're just trying to submit a\ncorrection for a minor typo or omission in the project's README, then this\nfeature lowers the barrier from minutes to seconds. Hopefully that will be a\nnet positive for the community.\n\n[1]\n[https://github.com/torvalds/linux/pull/17#issuecomment-56599...](https://github.com/torvalds/linux/pull/17#issuecomment-5659933)\n\n~~~\navar\nWhy do you sympathize with his concerns? As valid as they are for the kernel\nthey aren't for most of the projects hosted on GitHub. Most people are happy\nto get a pull request at all, and when they get one it's usually some trivial\nfix they can merge automatically.\n\n------\nelliottcarlson\nSlight self promotion; here is a CLI tool I made to help clear up local and\nremote branches easily - in case it is still useful to people:\n\n\n\n------\njonahkagan\nI can't believe it. I was looking for this functionality just yesterday and\nnow here it is.\n\n------\ngreghinch\nDelete a branch in the UI, thank you!\n\n------\npurephase\nThe create is nice, but the delete is absolutely essential. Thanks for\nimplementing this.\n\n------\ndavvid\nDon't forget to run `git fetch --prune` after someone deletes a remote branch.\n\n------\na1g\nYou guys are awesome! Thank you so much :)\n\n"} {"text": "\nYahoo shareholders approve sale to Verizon - artsandsci\nhttps://techcrunch.com/2017/06/08/yahoo-shareholders-approve-sale-to-verizon/\n======\ntechlekh\nholy shit.... this was bound to happen\n\n~~~\nganoushoreilly\nRight! It's like, hey we have one buyer and one buyer only, should we approve\nthis or roll the dice?\n\n"} {"text": "\n\nAsk HN: What do we do with an iPad app built on a recently shutdown Google API? - thegrossman\n\nMy coworker and I have spent the last few months building an iPad app on top of the Google News API, which has just yesterday been slated to shutdown: http://code.google.com/apis/newssearch/

We were motivated to create the app based on a lack of quality \"hard news\" sources (for lack of a better term) on the iPad. There is no shortage of \"social\" news apps such as Flipboard and Pulse, and there exist a slew of quality RSS readers (Reeder is indispensable to me). But I also crave conventional, un-sexy, non-web2.0 journalism; a simple reporting of the news of the day.

I used to spend obscene chunks of my day parked on CNN.com, click the refresh button incessantly... before the quality of their reporting diminished. And while there are iPad apps for individual news outlets (the NY Times, CNN, etc all have their own apps), the great thing about Google News is the fact that they aggregate content from news outlets around the word, from the Times to Al Jazeera to my tiny local newspaper.

Google News doesn't have a spectacular web interface, especially when accessed on the iPad. We thought we could do better... and purely for our own use (at first), we built an app on top of their API. At this point it's 80% completed; here are some screenshots:

https://s3.amazonaws.com/jackadam_broadsheet/broadsheet.jpg

Now that the API is being shut down, we have an app with no data source. What do we do? On top of spending all that development time seemingly for naught, we love using our app, and don't want to go back to the old way!

So we're making an appeal to the HN community, in search of creative ideas on how to proceed.

We haven't been able to find any great news API alternatives. Yahoo News recently shut down their news API, and the Bing news search is missing a couple critical features. But maybe there are others?

[Also: I'd like to keep the conversation pragmatic and avoid the (perfectly valid) question of whether it's wise to build an app entirely reliant on some third party's good graces.]\n======\nmaresca\n_We haven't been able to find any great news API alternatives._\n\n _avoid the (perfectly valid) question of whether it's wise to build an app\nentirely reliant on some third party's good graces._\n\nIn my opinion, it isn't wise to build an app entirely reliant on a 3rd party\nAPI. Looking for a new API to migrate to says you haven't learned from the\nmistake you made. I've made the same mistake with an attempt at a SMS to\nSocial Message tunnel on facebook/myspace back in the day. Then facebook made\nit a native feature. It was an important lesson to learn.\n\nIf I were you guys, I'd stop looking for APIs and start building your own\nbackend. This way, you can pull in more than one source of data. Also remember\nthat there are other ways of getting data.\n\n------\nNonEUCitizen\nBuild your own backend so you can declare independence.\n\n~~~\nMatthewPhillips\nI think building your own backend before you have funding when a simple API is\navailable is a pretty bad idea. You don't know if your site/app will ever hit\ncritical mass, why waste the time and money in building an elaborate backend\nsystem when you can develop that down the road when/if you have something\nworthwhile on your hands.\n\n"} {"text": "\n\nIf seeing is believing... never point your smartphone's camera at a propeller - benz145\nhttp://www.carrypad.com/2011/07/25/if-seeing-really-is-believing-never-point-your-smartphones-camera-at-an-airplane-propeller/\n\n======\nRonkdar\nThis isn't a revelation for most people (or maybe I'm biased, a lot of my\nfriends are pilots), but the second video there is the best demonstration I've\nseen so far of why this occurs.\n\n------\nColinWright\nFrom 15 months ago: \n\n"} {"text": "\nBitcoin\u2019s Technical Flaw - nanzhong\nhttps://medium.com/@nanzhong1/bitcoins-technical-flaw-3569fc0f7c2d\n======\nA2017U1\nThis reads like an ad for a closed source messenger only available in a few\ncountries. Have no idea how its related to bitcoin. Clicks perhaps?\n\nI have plenty of criticisms for bitcoin and cryptocurrencies in general but\nsome of the claims here are amazingly absurd.\n\nNote to author: I have used a bitcoin wallet with no troubles in China, it has\nbetter uptime in the last decade than Amazon where you worked with\n\"distributed computing systems\", can your messenger app do the same?\n\n> just imagine that the Great Firewall blocks Bitcoin packets for a week,\n> creating a Chinese fork and non-Chinese fork. Then it unblocks. All of a\n> sudden, the non-Chinese fork would disappear. The Bitcoins that went into\n> your wallet six days ago would vanish\n\nThe fact that the author doesn't understand how wrong this is despite\napparently studying Bitcoin as an AWS employee back in 2010 is scary.\n\n~~~\nnanzhong\nI am the author. I'd love to understand your point. Can you give specifics?\nThanks.\n\n~~~\nA2017U1\nYou essentially point to a very large reorganisation and say all the tx's on\nthe global chain will disappear once the GFW opens up again. All orphaned\ntransactions go back in the mempool as unconfirmed and will be processed\nlater.\n\nSimply blocking all global traffic already creates a huge monetary incentive\nfor miners to sidestep the rules and it's easily achieved with obfuscated\ntransports.\n\nSuch an action would be noticeable and considered hostile. Were they causing\nnetwork disruption you'd likely see a hardfork to memory hard algorithms or\nclients blocking Chinese IP ranges.\n\nThere's certainly attacks they could try but I'm not convinced of the\neffectiveness. Miners need the outside world to pay their bills as exchange\nfor RMB is impossible.\n\n~~~\nnanzhong\nYes, you can put the orphaned transactions back in the mempool to be processed\nagain. But what if the Bitcoins in those transactions are already spent on the\n\"winning\" fork? Does it now mean that the wait for a transaction to be\nconsidered \"confirmed\" needs to be longer the conventional six blocks and\npotentially arbitrarily long?\n\nChina already banned non-state sanctioned VPNs in 2018. Anyone circumventing\nthe Great Firewall via \"obfuscated transports\" could get into legal trouble by\nthe Chinese authority. The Chinese government successfully suppressed all\ndissidents and millions of protesters in 1989. Underestimate its force at your\nown peril.\n\nThe whole point of the article is that a centralized entity (the Chinese\ngovernment) may be able to attack Bitcoin without controlling any mining\npower. A hard fork in response to actions of a centralized entity could\nshatter people's confidence in Bitcoin's promise of being decentralized.\nBlocking Chinese IP ranges in a 100% reliable way is going to very difficult.\nThis defense is also rendered useless if someone does use a VPN to propagate\nthe Chinese fork (perhaps intentionally by a centralized entity).\n\n------\nbrokenmachine\n_> If the Great Firewall blocks Bitcoin packets, the Bitcoin network would be\npartitioned and thus fork. Upon unblocking, the shorter Bitcoin chain would be\nwiped out. Ignoring complicated attacks, just imagine that the Great Firewall\nblocks Bitcoin packets for a week, creating a Chinese fork and non-Chinese\nfork. Then it unblocks. All of a sudden, the non-Chinese fork would\ndisappear._\n\nIs that true? Is it only based on how long the fork's chain are?\n\n~~~\nnanzhong\nThe Bitcoin protocol resolves conflicting forks by choosing the longer one\nwhile dropping the shorter one.\n\n"} {"text": "\nThe Joel Test: 12 Steps to Better Code (2000; Still relevant?) - OoTheNigerian\nhttp://www.joelonsoftware.com/articles/fog0000000043.html\n======\npatio11\nSome parts of that have aged better than others.\n\nYou should be using source control. It might sound shocking to the Github\ngeneration, but there was a time _not too long ago_ where important work with\nmillions on the line routinely got done with one copy of the code sitting on a\nsingle workstation, and collaboration happening over network shares or email.\nI worked at one of those places. It sucked. The Joel Test was part of an\nevangelization movement which changed standard practices in our industry\nradically, for the better.\n\nBuilding in a single step? Still relevant for many projects. Less relevant\nfor, e.g., Rails web apps. I migth substitute \"can you deploy to staging and\nproduction in one step\".\n\nSpeaking of which, a Joel Test in 2010 should include \"do you have a fully\nfunctional staging environment\" and \"can you recreate a dev environment from a\nfactory new machine in under an hour\".\n\nFixing bugs versus writing new code, well, one might quibble with that in some\nscenarios. There exist businesses where the marginal business value or\ncustomer value of squashing an edge case bug is measurably less than new\nfeatures. I have a known bug in my shopping cart that permits abuse of\ndiscounts. It has never been exploited. The minimum cost of fixing is several\nhundred dollars. Of course I write new code rather than fixing it. You can\ncome up with quite a lot of similar scenarios if you're doing a lean startup\n-- there is little point to rigorously debugging code which might have an\nexpected lifetime of a week.\n\n~~~\nedanm\n\"there was a time not too long ago where important work with millions on the\nline routinely got done with one copy of the code sitting on a single\nworkstation, and collaboration happening over network shares or email. I\nworked at one of those places. It sucked. The Joel Test was part of an\nevangelization movement which changed standard practices in our industry\nradically, for the better.\"\n\nI'm all for the Joel Test, and I've definitely seen places without source\ncontrol, or with terrible or no source control.\n\nBut do you really think the Joel Test was on of the real pushers for change? I\nknow Joel is popular, but I'd bet the Joel Test has been read by all of 1-2%\nof programmers. Moreover, I'd guess that it's the 1-2% who were already using\nsource control.\n\nDon't mean to nitpick, I'm honestly wondering if I'm underestimating the\nimpact of this article. Completely agree with the rest of your comment.\n\n~~~\njasonkester\nSounds like you might not have been around back at the turn of the century.\n\nBack then, there were no blogs. There were no programmers who wrote stuff.\nJoel was pretty much the first. And his stuff was really good and actionable.\n\nSo if you cared to read about your field, you were reading Joel. If you sent a\nprogramming link to your team, chances are it was one of his articles.\n\nComing into the field today, it's understandable that you might not have heard\nof the guy. But if you were around in the late 90s and you'd heard of\n_anybody_ , you'd heard of Joel. If you were on a team in the late 90s and you\nwanted to improve things, you sent around a copy of the Joel test.\n\nSo yes, I do think a lot of the credit for the higher standards we have today\ngoes to him.\n\n~~~\nnostrademons\nThat's not really true. Greenspun was the hot pundit before Joel. A bunch of\npeople hung out on SlashDot. And the C2 Wiki, which arguably was filled with\nmore experienced practitioners than Joel, has been around since 1995.\n\n------\njasonkester\nFor the audience it was written for, I'd say yes.\n\nThere are still plenty of shops that score close to zero on the Joel Test.\nTalk to your non-startup friends working for a big company where software is\nconsidered a cost center. They'll tell you about the big battle they had to\nget the company onto source control, and how deploying a new version of the\ncompany website still involves copying files by hand and running some wacky\nfreeware database comparison tool to get the new schema changes across.\n\nHell, just last year I did a consulting gig for a shop that didn't even make a\ndistinction between dev and production before I got there. Changing the site\ninvolved creating \"index_new4.php\", making your changes, smoke testing, then\nrenaming (or repointing links). No source control, and they didn't even have a\nbackup of the production database.\n\nThat's the sort of place that needs to get a copy of the Joel Test forwarded\naround the dev team, up to management, etc. The things on that list are as\nimportant today as they were 10 years ago. If anything, it carries more weight\nwhen you show it to management by virtue of _being_ 10 years old.\n\n------\nfrankus\nSince so much software development is now web development, and since so much\nof that lives or dies by keeping customer data safe, something like \"Have you\npracticed restoring from backup lately?\" should go on the list.\n\n------\ntyn\n\"7. Do you have a spec?\"\n\nI've written succesful applications without any spec, just talking with users,\nwritting things down myself, showing them prototypes, repeating. In some cases\nusers are not able to produce a spec and even if the do they don't always\nreally \"know what they want\", that's why prototyping is so important.\n\n~~~\npornel\nThat only works if you can have short iterations and client that cooperates.\n\nI've worked on projects that didn't have usable spec, and monthly meetings had\nclient saying \"oh, that's not what I've meant, can you redo this like that?\".\n\n------\nthijsc\nI think \"Do you write tests\" should be included. And \"Do you have continuous\nintegration running\" would be a nice replacement of having a daily build.\n\n~~~\nInclinedPlane\nThe \"daily builds\" item should at least be a \"daily build & smoke test\", but\nfor the rest I think it's at an appropriate level. Keep in mind, these are\nsimple questions which have the greatest differential in quality between\nyes/no answers.\n\n------\nAliCollins\nI have a print out of the 12 rules on the walls in my cubicle...if only for\nthose non-techy people in my office who then ask what it means!!\n\n------\nryanteo\nMaybe for small teams and microISVs, you could merge the advice from Patrick's\narticle too: [http://www.kalzumeus.com/2010/04/20/building-highly-\nreliable...](http://www.kalzumeus.com/2010/04/20/building-highly-reliable-\nwebsites-for-small-companies/)\n\n------\nfrankus\nI think even Joel might update number one to \"Do you use distributed version\ncontrol?\", not so much for the \"distributed\" part but for the \"branching and\nmerging that just works\" part.\n\n~~~\nInclinedPlane\nI doubt it. The leap between proper version control and excellent version\ncontrol (distributed being the peak) is significant but not the same as the\nleap between no version control and any version control. _That_ transition is\nas significant as coming to use structured programming languages (over raw\nmachine code and assembly), or the invention of fire.\n\n------\nmathgladiator\nThey all are relevant to someone.\n\n------\nrun4yourlives\nAlways relevant, which is the brilliance of it.\n\nI say this even though I disagree with the spec rule.\n\n"} {"text": "\nThe Very Difficult Problem of Notifications - showngo\nhttp://brooksreview.net/2011/03/notifications/\n======\nQz\nIt's almost like the author has never used android, seeing as android\nnotifications don't have any of the problems described. Notifications show up\nin a part of the UI you constantly look at but can't actually interact with\n(the status bar at the top), therefore you always notice when there are\nnotifications but it doesn't really get in your way. You can see all\nnotifications at once by swiping down from the status bar which drops the\nnotification screen in over whatever you were doing, showing all the\nnotifications at once. Because of this, you _can_ have a clear all button. If\nyou don't want to deal with a notification right away, you can just swipe back\nup and go back to whatever you were doing. Doesn't seem quite so difficult.\n\n~~~\njsz0\nThere's room for improvement in Android's notification system. I get serious\nnotification fatigue with Android. I see that there are 5 or 6 tiny\nindistinguishable icons up there but I have to pull down the tray to get any\nuseful information. In this sense it's more like an Inbox than a notification\nsystem to me. It also treats all notifications equally. To me a missed phone\ncall is a lot more important than application updates. I would prefer to get\nthe higher priority notifications (voicemail, SMS, etc) pushed at me more\naggressively. Ideally show them on the lock screen like WebOS does so you\ndon't have to unlock the device and goto the notification tray to check\nmanually. There's also the problem of third party apps using the notification\ntray for SPAM which I do not care for one bit.\n\n~~~\nthwarted\n_I would prefer to get the higher priority notifications (voicemail, SMS, etc)\npushed at me more aggressively._\n\nYour example \"higher priority\" notifications are two that I care the least\nabout. I rarely use my phone for actually talking to people, and I don't\nlisten to voicemail, so those I don't care about. I do care that I missed a\ncall however -- who it was that called is much more important than the message\nthey left.\n\nI also get so many text messages, they need to be ranked in importance by who\nsent it, not that it's a text message. But setting up priorities based on\nsender is a lot of work, so I wouldn't do it. _Maybe_ if it worked like\ngmail's priority inbox.\n\n------\nfrisco\nI see this and I think, \"notifications aren't a Very Difficult Problem; DNA\nsequencing is a Very Difficult Problem.\" Living in the echo chamber can be\nfun, but the way we can lose perspective is incredible.\n\n------\njoshhepworth\nBen does a great job of simplifying a host of issues down to just two, but in\nthe end, he seems to end up blaming the user rather than the system for the\nproblems in notification systems (though he does say that the systems aren't\nas good as people at notifications, which is true to an extent).\n\nThe biggest issue I had with the article (besides omitting the \"come back to\nold notifications\" problem plaguing some systems) was its overlooking of\nimprovements. Innovation doesn't have to come overnight, and in the mean time,\nI'd love to have a better system than currently implemented. Even still, there\nare systems out there that get pretty close to his nirvana. Mobile Notifier\nfor iOS\n([http://www.flickr.com/photos/piair/5492412910/in/photostream...](http://www.flickr.com/photos/piair/5492412910/in/photostream/))\nstill covers up some of the screen (forcing you to take action to access that\narea of the screen), but it also lets you dismiss a notification with a quick\nswipe and quickly access all pending notifications.\n\nThe biggest praise I can give for the article is it's identification of people\nas a problem. It's true, we likely want to know more details about more events\nthan in the past. It seems pretty needless all things considered, but why\nshould a system be terrible at meeting our needs? We create the systems to\nchange with our wants, after all.\n\n------\nmegaduck\nI'm curious what flaws he sees with the WebOS notification system. It's hands-\ndown the most elegant notifications I've seen on _any_ platform.\n\nInitial notifications are minimally intrusive (similar to Growl on OS X). From\nthere, they can be trivially dismissed or minimized and left for later. This\nmakes triaging incredibly easy and lightweight.\n\nOn my Pre, I'll often set alarms on my to-dos and then use them as kind of an\non-demand dashboard of my daily tasks. As something gets finished, the\nnotification gets dismissed with a flick of the thumb.\n\nOn WebOS, notifications actively make me happy. In comparison, Android is kind\nof clunky and the iPhone is horribly broken.\n\n------\nhuge_ness\nmaybe this can be of some help one day:\n\n[http://talkingpengwin.com/re-design-of-the-ios-\nnotification-...](http://talkingpengwin.com/re-design-of-the-ios-notification-\nsystem)\n\n"} {"text": "\nAsk HN: Alternatives to Gmail that are new, cool, etc? - cl42\nCurious if people use any personal email tools. I like gmail but also realize I haven't looked for an alternative in several years.\n======\nreacharavindh\nFastmail. Paying $30/yr for my email hosting. Pros:\n\nI don't have to worry about my emails being scanned to create a profile of me.\n\nI got my @fastmail.com which I could not with Gmail.\n\nAs a paid customer I get support for if/when something is wrong.\n\nHas solid Web UI that is minimal and fast. Email client for ios works great.\n\nCons: Not the cool new thing. Setting it up for shared calendar with others\nwas a bit unintuitive.\n\nEvery now and then someone sends me a Google Doc, and I need to think about\nhow to open it without a Google account.\n\nSpam filter is not as good as Google's. A phishing email gets to the inbox\nevery now and then. But, I report them.\n\n~~~\nLeoPanthera\nNot getting @ shouldn't really be a problem. Everyone should buy\ntheir own domain name for email. It's cheap, easy to setup (and natively\nsupported by Fastmail), and it means that you're not locked into one mail\nprovider ever again.\n\nDon't be @fastmail, be @.me - or whatever you\nprefer.\n\n~~~\n0x00000000\nI have an uncommon last name - about 3 families in the world with it as far as\nI can tell. Some asshole has been squatting .com for over 20 years\nand said he \"hadn't considered selling it\" then wanted $100,000 for it. The\nsame guy has been squatting hundreds of domains since the 90s, many of them 1\nletter off from major websites.\n\nWhat can I do against this scum? I saw that there have been many successful\ndisputes against him so I was thinking of constructing one in a similar vein\nsaying that his use of my unique last name to serve malware and ads is\ndamaging to my reputation but it seems a little weak.\n\nAlso no other TLD is even an option for an email address because people always\nassume you made a mistake and just send things to .com anyway in my\nexperience.\n\n~~~\ntrue_religion\nFor 100 thousand you could just buy a tld and be firstname@lastname\n\n------\npbiggar\nI'm excited by superhuman ([https://superhuman.com](https://superhuman.com)).\nAlas I haven't got an invite. Also, dunno if they're going to support my style\nof email use out of the box (I'm strict adherent to the Andreas Klinger style:\n[http://klinger.io/post/71640845938/dont-drown-in-email-\nhow-t...](http://klinger.io/post/71640845938/dont-drown-in-email-how-to-use-\ngmail-more)).\n\n~~~\nOJFord\n> I'm excited by superhuman ([https://superhuman.com](https://superhuman.com))\n\nThat looks like any other Electon-based email client that someone decided\nwasn't cool enough any more...\n\n~~~\npbiggar\nCan you explain? I don't see how you got to that conclusion.\n\n~~~\ncyphar\nThe first screenshots on the homepage. It looks like every other electron\nemail app (and also messaging app). Also the overuse of the word \"brilliant\"\nis quite grating too.\n\n------\nnkkollaw\nGoogle Inbox is really amazing, it groups email automatically and its spam\nfilter is awesome.\n\n~~~\npatrickdavey\nI also like Inbox, except that the desktop experience is so utterly woeful.\n\n~~~\nkoymas\nI use Inbox because I cannot find any other free alternative. It is awesome on\nthe phone....but on the computer it takes forever to load.\n\n------\nrevanthc\nHello,\n\nI work for Zoho Mail, so I may be slightly biased here but I would recommend\nZoho Mail :). Let me try to convince you about why you should move to Zoho\nMail. 1\\. Privacy - We are a 100% ad-free email service. We always have been\nand always will be. We don't scan your emails for keywords, we don't show ads,\nanything. We are 100% committed to maintaining your privacy.\n\n2\\. Cost - We have a free plan that is free for up to 25 users. Through our\nreferral program, you can get another 25 users absolutely free. That's a total\nof 50 free users, which is plenty for most small businesses. Our free plan is\nperfect for that. Above that, our paid plans start at $2/user/month. You can\ntake a look at our pricing here -\n[https://www.zoho.com/workplace/pricing.html](https://www.zoho.com/workplace/pricing.html).\n\n3\\. Reliability - We have a 99.9% uptime guarantee for Zoho Mail, which is the\nindustry standard. We constantly work on upgrading our infrastructure to\nmaintain that reliability. In the odd event of a downtime, we have contingency\nplans in place for you to access your email.\n\n4\\. Features - We are constantly innovating with email, to make it fit into\nthe modern workplace. We've introduced a new feature called Streams, which is\nperfect for teams and combines slack like real-time collaboration with email.\nWe also have a host of exciting new features for email.\n\n5\\. Integrations - Zoho Mail is part of 30+ apps from the Zoho family. All our\napps are well integrated with each other, and can be used to run your entire\nbusiness from the ground up. In addition, we are also integrated with 3rd\nparty apps like Dropbox, Asana, Trello, and more.\n\n6\\. Migration - We make it easy and hassle free for people to migrate their\nemail to Zoho Mail. It is free of cost, and there is absolutely no data loss\nat all.\n\nTo begin with, I recommend you try our free plan. All the features of the paid\nplans are available in Free as well, so you will get a clear picture of what\nZoho Mail is. If I can help in any other way, please feel free to reach out to\nme at revanth@zohomail.com.\n\nThanks!\n\n------\ndangom\nI'm really happy with posteo.org\n\n1\\. Ad-free, bloat-free, 1 Eur / month.\n\n2\\. Privacy respecting, with clear transparency reports.\n\n3\\. Support for IMAP/POP3.\n\n~~~\nmajewsky\nSeconded. Happy customer since 3 years here. The only thing that's not nice is\nthat they do not offer Bring-Your-Own-Domain. You can only have a @posteo.tld\naddress (with a certain range of TLD).\n\n------\nmindcrash\nProtonmail: 100% guaranteed E2E encrypted, nice UI, servers based in\nSwitzerland, Android/iOS apps available aswell. Oh, and open source.\n\n[https://protonmail.com/](https://protonmail.com/)\n\nAs a nice addon they also recently launched a interesting VPN solution. Also\nheadquartered in Switzerland with core infrastructure located in Switzerland\nand Iceland. No logging, and Tor routing is available with a single mouse\nclick.\n\n[https://protonvpn.com/](https://protonvpn.com/)\n\n------\nalnitak\nI have been looking for an alternative to the Google apps ecosystem, to\nsupport mailing, calendar, contacts and document editing, but most importantly\nit should allow me to have \"guests\" contributors to documents I can share with\nthem.\n\nAnybody knows of a company providing such a service?\n\n~~~\nswsieber\nSandstorm.io? I don't think it would cover everything... but it might work.\n\n------\nrrggrr\nMIXMAX. It adds many great features to Gmail. Its too expensive, its pushing\ntoo hard to integrate with Salesforce, its probably too dependent on Gmail.\nBut, all that said, I really cannot live without it. The founder Olof is a\ngenius.\n\n------\ntgragnato\nTutanota\n\n[https://tutanota.com](https://tutanota.com) \\-\n[https://github.com/tutao/tutanota](https://github.com/tutao/tutanota) \\-\n[https://en.wikipedia.org/wiki/Tutanota](https://en.wikipedia.org/wiki/Tutanota)\n\nThe company is based in Germany and benefits from BDSG.\n\n~~~\nOJFord\nNo pricing information without signing up for the free tier?\n\n~~~\ntgragnato\n[https://tutanota.com/pricing](https://tutanota.com/pricing)\n\n~~~\nOJFord\nOh, thank you. I feel a bit stupid for not just trying that URL, but I\ncouldn't (can't) find a way to navigate there from the home page...\n\n------\nSephr\nPaid Gmail & Inbox (G Suite).\n\nPersonally, it feels like Google's spam filtering is still superior to the\ncompetition, so it would take quite a lot to get me to switch to a new vendor.\n\nNot to mention the integrated action buttons that Gmail and Inbox have\nsupported for years. Those buttons are a great productivity enhancement that I\nhave yet to see from most of the competition.\n\n------\nEverula\nJust started using Spark [https://sparkmailapp.com](https://sparkmailapp.com)\nfor Mac and iPhone (couples of weeks now) and quite like it, generally overall\npositive experience and great UI. PS., I am not working in the company, just\nusing couple of their products.\n\n------\ncl42\nTHANK YOU EVERYONE! What an amazing set of answers. I'll be exploring a lot of\nthese over the coming weeks.\n\n------\nbusymichael\nI have looked around but haven't beat a paid g suite account.\n\nI have also coded some custom extensions to Gmail that make it more useful.\n\nThe most popular one I run is [https://dndemail.com](https://dndemail.com). It\nbasically adds do not disturb to Gmail.\n\n------\nkureikain\nI'm using Zoho. I have no issue so far. You can easily register and point your\ndomain to them. Free if you have less than 5 users. You can then configure\ncatch-all email to forward everything to you.\n\nWork pretty well on any IMAP/SMTP mail client.\n\n~~~\nrevanthc\nThanks for recommending Zoho Mail. Appreciate it :)\n\nJust want to let you know, however, that we've changed our pricing, and now we\nare free for 25 users. We have a great referral program as well that lets you\nearn a further 25 free users, should you need them.\n\n[https://www.zoho.com/workplace/pricing.html](https://www.zoho.com/workplace/pricing.html)\n\n------\nsheraz\noutlook on mobile and web is great. I happily throw my $8/ month at them.\n\nMy only peeve is the confusing admin tools -- it is still Exchange on the\nbackend, so there are a ton of features and settings that are simply in the\nway.\n\n------\nreaper7\nI also have thexyz.com as my email provider, very reliable service and I like\nhow there are unlimited aliases included so I can have\nsomeotheremail@thexyz.com or 2news@thexyz.net also sent to my main address.\n\n------\ncarrotam\nI find thexyz.com a really good alternative they have a $20 per year plan and\na $50 that adds more storage and syncs your contacts and calendars also. It\ndoes a great job of keeping spam out too.\n\n------\nleke\nIt would be great if telegram incorporated email into their system.\n\n------\ndesster\nTake a look to ox.io, an European safe and secure mail provider. It take 1 to\n2 days to get an invite.\n\n------\nthe_common_man\nRainloop with cloudron is awesome\n\n------\nalkhatib\nzohomail.com\n\n------\ncrispytx\nprotonmail\n\n------\nalansmitheebk\nI use protonmail (protonmail.com). It's encrypted email developed by the\nscientists at CERN. The data is hosted in Switzerland and therefore subject to\nSwiss privacy laws. There are app for iPhone and Android. They just came out\nwith a VPN product, too.\n\n~~~\nwheresvic1\nThe free plan is only limited to 500 Mb though.\n\n~~~\nLeoPanthera\nPay for your email or you are the product.\n\n"} {"text": "\n\nSales for Startups 101: 3 Rules to Success - koichi\nhttp://okdork.com/2010/08/12/sales-for-startups-101-3-rules-to-success/\n\n======\nkadavy\nI like the thought that \"sales is not selling, its understanding.\" Sales\npeople are way more pleasant when they really take the time to understand your\nsituation and needs.\n\n"} {"text": "\n\nRails vs. Django - kyro\n\nJust curious, and I want to see which framework I should pursue more aggressively.

So, how about pros/cons of each.\n======\nSwellJoe\nDeployment of Rails sucks.\n\nDjango is far better thought out, and can be deployed in a very sane manner. A\nfleet of Mongrels is just an embarrassingly bad way to handle concurrency. \"I\nknow, let's write a crappy barely functional web server, spawn a metric ass\nton of them, and then balance between them with a proxy. It'll be most leet\nand super fast! We'll call it a Best Practice. It'll be awesome.\" In fact,\nit's fragile, doesn't scale very well, and is complicated to configure. It's\nalso a huge distraction from solving the problem in a sane way--people seem to\nthink \"deploying Rails\" is solved by this and Capistrano, when really, it's\njust a new stack of problems.\n\nOtherwise Rails kicks ass, and I like Ruby better than Python (but I'm a perl\nmonger, so I might be brain-damaged into not seeing the beauty of Python). But\nI do tend to feel like Django is being written by grownups who've got years of\ndevelopment experience, while the Rails folks are making it up as they go\nalong...sometimes going down really poorly chosen paths (I believe Mongrel is\nan example of this, but I'm no expert).\n\nThen again, I think if I were starting an app from scratch I'd pick Catalyst.\nBut I haven't spent enough time with any of them to know which one is really\nmost productive for the way I work. I think you'll want to try them out, and\nnot take advice from random dudes at news.yc.\n\n~~~\ndavidw\nI went for rails myself, and agree about Mongrel. It seems like the Rails guys\nare all anxious to throw the Apache baby out with the bathwater, and spend a\nlot of time fooling around with dodgy ways of doing things.\n\nFor now, I use the mod_fcgid Apache module, and it seems to work ok for what I\nneed.\n\n~~~\naltay\ni heard through the grapevine that zed shaw, the dude who wrote mongrel, is\ndown on it and isn't actively developing it anymore. hopefully someone else\nwill pick up the slack, but i'm afraid that 95% of the folks using ruby+rails\nare know-nothing newbies (like me). =P\n\nanyone have any experience with lighttpd + rails?\n\n~~~\nlojic\nOh really? Why don't you either stop spreading FUD, or back up that statement\nwith some reality. \"heard through the grapevine\" - give me a break.\n\n------\nhsiung\njesusphreak has a pretty good writeup that's worth reading on the pros of\nusing django: \n\nHaving come from a rails background and later switching to django I think it\ncomes down to a matter of preference. Django's ORM gets the job done but\nleaves something to be desired (ugly syntax, no multiple database support,\nalso watch out for implicit cascading deletes!). Conversion to using\nSQLAlchemy was supposed to address the gaps, but the branch for the upgrade\nseems pretty dead... But overall I'm pretty happy due to the transparency of\ndjango's framework code. I've implemented some customizations that would have\nbeen a lot harder to pull off in rails.\n\nIf you had to choose a python web framework, I'd suggest taking a look at\npylons which is more flexible (also, by default it uses mako templating which\n> django's templating and supports SQLAlchemy).\n\n~~~\nkashif\nActually SQL sucks and hence all wrappers suck too. The over-engineered\nSQLAlchemy sucks most. If you are python user you should find SQLAlchemy ugly.\n\nAs far as frameworks goes, for most deployments(not for all) I would suggest\npylons over django.\n\nMako is very useful.\n\n~~~\ndood\nI'm curious what you dislike about SQLAlchemy, the ORM, the SQL toolkit, or\nboth?\n\n~~~\nkashif\nBoth, but the ORM more. I am curious, why do you ask?\n\n~~~\ndood\nI've been learning it recently and I'm not sure what to make of it,\nspecifically the ORM component. It certainly has a good reputation as far as\nORM's go, but I'm not sure if even a good ORM fits a large, popular, or\ncomplex app, or is perhaps more suitable for protoyping and low-traffic uses.\n\nBut since SQL is pretty necessary for most web apps, it makes sense to pick\nsome abstraction layer, and as far as I can tell SQLA is best of breed for\nscripting languages, so I'm trying to work out how to apply it most\neffectively.\n\n~~~\nkashif\nThings I learnt, that might help.\n\n1\\. You don't have to use SQL.\n\n2\\. If you are going to use SQL, Find a wrapper that is minimalistic for your\ncurrent needs. Work with lesser and you will work more but you will also work\nwith more freedom and sanity.\n\nBest of luck friend. :)\n\n~~~\ndood\nThanks for your thought-provoking comments, actually I had quite forgotten\nthat I didn't necessarily need SQL (despite reading all the threads about that\nhere)!\n\nTrouble is, I understand the theory of in-memory data logged to disk, but as\nI'm just a humble hacker (self-taught amateur) there seem a lot of unknowns in\nsuch an approach. SQL, though a pain, is at least familiar and abundantly\ndocumented.\n\nGuess I'll do a little more research, and a little more hacking, since I would\nbe quite happy to drop SQL entirely!\n\n~~~\nkashif\nActually, I am self taught too and most hackers here are probably much better\nthan me. I use python, if you do the same then try out Zope DB and schevo.org.\nThese are Object based DBMS - non SQL. The problem like someone pointed out is\nthat such systems are not language agnostic.\n\n------\ndood\nPylons is deserving of attention. There is a small comparison of Django and\nPylons here\n[[http://wiki.pylonshq.com/display/pylonscookbook/Concepts+of+...](http://wiki.pylonshq.com/display/pylonscookbook/Concepts+of+Pylons#ConceptsofPylons-\nArethereotherwebframeworks%3F)].\n\nI'm playing around with Pylons and have been impressed so far. The whole\napproach strikes me as more of a hackers framework; less magic, more flexible,\nextensible. Though the docs need a little work, and the community isn't as big\nas Django yet, Pylons seems to be blossoming into quite an excellent\nframework.\n\n~~~\nkashif\nYou are on the money dude, I have been using pylons for a while and it is much\nmore usable than Django.\n\n------\nJMiao\nWhat type of app are you looking to build? The scope of the project would\ncarry weight here.\n\n~~~\nandyn\nThat and whether you're more comfortable using Python or Ruby.\n\n------\nnanijoe\nA search on amazon.com for 'ruby on rails' yielded 48 books, a search for\nDjango comes up wuth 3 unpublished books.\n\nThe stats above, made the decision for me.\n\n------\nhello_moto\nkyro, why don't you do this instead:\n\n1) Pick a very easy tutorial for both of them 2) Do them 3) Choose\n\nFramework will only get better each day so if today Rails deployment sucks,\ntomorrow it'll become better unless the growth is stagnant. Same case with\nPylons or Django or the 100000000000000001 python frameworks out there.\n\nNow if you're looking for a job, Rails would be a better choice because the\nhype marketing has converted a lot of people (they drink the kool-aid straight\nfrom the hose).\n\n~~~\ndood\nI don't think this is a good way to evaluate a framework; tutorials don't\nnecessarily bear much relation to the reality of using the tool.\n\n~~~\ncnu\nAgreed. Most of the frameworks have the 20 minute tutorial which (most of the\ntime) is no way comparable to the type of work we will be doing with it.\n\n~~~\nhello_moto\nThat's right.. in a way.\n\nYou need to love the platform you're going to develop on top of. Guys like\nhim, that ask which one is better, needs to at least give both of them a try\nand see which one he likes it the most.\n\nJust like the most common comments from the Rails vs Django: it's up to which\none you're comfortable/love.\n\nI tried Rails, Django, TurboGears and I ended up with ASP.NET.\n\n------\nkashif\nWhat are you designing? One might be better suited.\n\n------\nyrashk\nRails looks to be more DRY than Django. Though I'm on Rails and don't really\nuse Django.\n\n------\nrms\nWhat about Pylons?\n\n"} {"text": "\nShow HN: Jooseph \u2013 Playlists for Learning - firatcan\nHello HN,\nEvery time I tried to learn new subject through internet. I am confused by the resources.

- Which one will worth my time?

- which ones are reliable or relevant?

Eventually I open infinite amount of tabs and close them without browsing.

Finding right material and resource is hard in this era. Yet we believe lifelong learning is a meaningful way to live your life.

I'm Firat co-founder of Jooseph: https://www.jooseph.com/

Jooseph is basically playlist for learning.

You can follow modules curated from different resources. You can also your learning journey to guide other users. Curate list of resource and share on the relevant topic.

If you're an infinite learner, we would like to hear from you.

Thank you HN community.\n======\nhmlwilliams\nWhy not embed the videos into the site? It is a bit of a hassle having to\nswitch between tabs all the time.\n\n~~~\nfiratcan\nThis is our MVP and we have only demo modules right now. We'll be launched in\n2 weeks. There'll be embeded videos and more features such as goals and\nprogress bar.\n\nIf you leave your mail from site or send me a mail at firat@jooseph.com I\nwould be happy to reach you when we launch.\n\n------\nsvsashank\nThis is interesting... How do you monetize this if all the playlists are\nYoutube links? Also how is it different from Youtube playlists that many\neducators have created?\n\n~~~\nurupvog\nCan you guide me to one such playlists? Quite interested.\n\n~~~\nfiratcan\nActually there are few demo playlist on Jooseph right now.\n\nYou can check from\n\n[https://jooseph.com/modules](https://jooseph.com/modules)\n\nI recommend\n\nUI/UX Go-lang Simplicity\n\nYou can also contact me at firat@jooseph.com\n\nIf you have a topic in mind that you want to learn we try to create module for\nthat.\n\n"} {"text": "\nIn-App Purchase Scams in the App Store - okket\nhttps://daringfireball.net/2017/06/in-app_purchase_scams_in_the_app_store\n======\nfred256\nSee also the discussion at\n[https://news.ycombinator.com/item?id=14526156](https://news.ycombinator.com/item?id=14526156)\n\nI just can't fathom why any $5k/year in-app subscription should be legitimate.\n\n~~~\nkranner\nYou think an app can't provide more than $5000 in value to a customer in a\nyear? Under any circumstances? Any kind of app?\n\n~~~\ndanielhooper\nIt should be enough to raise a flag for someone at Apple to thoroughly review\nthe app before approving it for release. Not to mention that software worth\n$5,000/yr isn't often, if ever, paid for through an app store.\n\n------\ndkarapetyan\nIsn't it in Apple's financial interest to look the other way? The scam\ngenerates money for Apple so the incentives here are misaligned.\n\n~~~\nUnfalseDesign\nI highly doubt that these apps are generating such a significant amount of\nincome for Apple (when taking into account their entire income from the App\nStore) that they would consider looking the other way.\n\n"} {"text": "\n\nShow HN: Movienr - Discover Movies You Will Actually Enjoy - Made with Meteor - ccan\nhttp://www.movienr.com\n\n======\nUdo\nI quite like it!\n\nMy criticism is that after a while movies that I already marked as \"liked\"\nstill appear in the Discover tab. By the same token, simplify the 5 different\nratings modes into at most 3:\n\n \n \n - liked it\n - dislike(d) it\n - put it on the \"to watch\" list\n \n\nThe rationale for this being that I'm not going to rate all the things I\nwatched with 0-10 stars, and if I heart an entry that should train the filter\nand it should imply that I already watched it.\n\nI get that you want as much data as possible about who watched and liked what,\nbut if it's tedious to provide all that detail people won't do it.\n\n------\njs7\nDoes it just show everyone the same stuff? Or is it personalised to my\nratings?\n\n"} {"text": "\nA man who is ageing too fast - imartin2k\nhttps://mosaicscience.com/man-who-aging-fast-werner-syndrome-japan-epigenome-epigenetics\n======\nRichardHeart\nSummary of pro death arguments, one of which I've seen in this thread\n(immortal tyrants.)\n\n \n \n Fairness\n Only rich people will get it. (No tech has ever done this.)\n Better to give money to the poor than science. (family, city, state, nation, has proven local investment beats foreign.)\n Bad for society\n Dead people make more room for new, other people. (consider going first.)\n Run out of resources (live people discover/extract/renew better than dead or nonexistent)\n Overpopulation (colonize the seas, solar system, or have a war.)\n Stop having kids\n Worse wars (nukes are more dangerous than having your first 220 year old person in 2136)\n Dictators never die (they die all the time and rarely of age)\n Old people are expensive (50% of your lifetime medical cost occur in your final year. Delay is profitable.) \n Old people suck. (death is an inferior cure to robustness.)\n Bad for individual\n You'll get bored. (your memory isn't that good, or your boredom isn't age related)\n You'll have to watch your loved ones die. (so you prefer they watch you?)\n You'll live forever in a terrible state. (longevity requires robustness.)\n Against gods will (not if he disallows suicide, then it is required.)\n People will force you to live forever (They already try to do that.)\n \n\nDo you think less people make progress faster? What's your target level of\ndepriving life of existence? How do you plan to keep mankind robust from\nextinction events on a single planet? You might just need more people. What do\nyou think our technology would look like if we had 10x less people for the\nlast 100 years?\n\nMore people make more progress faster. Aren\u2019t you glad your parents didn't\ndecide the world would be prettier or work better without you in it? If great\nminds like Einstein, Bell, Tesla, Da Vinci etc., were still alive and\nproductive today, the world would be a better place. You're literally asking\nfor others to die out of your fear. The burden should be higher. Have courage.\nIf living longer comes with too many disadvantages, we'll know 100 years from\nnow and decide then.\n\nMan up, save your family, save yourself.\n\nP.S. Curing aging isn't immortality. You die at 600 on average by accident,\nand if the parade of imaginary horrible things comes true, even earlier.\n\n~~~\ndanieltillett\nOften wondered why deathism is so popular and I have come to conclusion it is\na protective mechanism against disappointment. People really don\u2019t want to\nage, but they don\u2019t think anything can be done so they come up with all sorts\nof reasons it is good.\n\n~~~\nmemling\n> Often wondered why deathism is so popular and I have come to conclusion it\n> is a protective mechanism against disappointment. People really don\u2019t want\n> to age, but they don\u2019t think anything can be done so they come up with all\n> sorts of reasons it is good.\n\nOne reason\u2014not one I necessarily endorse, but a possibility\u2014might be a\nconviction that people really aren't very good, deep down. Perhaps its cousin\nconviction that I'm not really all that good deep down.\n\nPut another way, it may be rooted not in a protective mechanism about\ndisappointment as much as a persuasion about human nature.\n\n------\ndyeje\nI really like the random blocks forming around the highlights effect.\n\n~~~\nhombre_fatal\nI came here to say the same thing. Not overused, but unique and a cute take on\n\"mosaic\" branding.\n\n------\nzan2434\nThis is unbelievably sad. What a tragic existence.\n\n \n \n Beneath, his skin is raw, revealing red ulcers caused by his disease. \u201cItai,\u201d he says. It hurts. Then he smiles. \u201cGambatte,\u201d he says \u2013 I will endure.\n\n------\nxvector\nI hope I live to see the day when we humans can die on our own terms rather\nthan it being forced upon us.\n\n~~~\nASalazarMX\nIt would be cool, but I fear some world leaders (be it politics, economy,\nscience, etc.) would never want to die, stagnating the status quo for\ncenturies until they die from accidents.\n\n~~~\ntaneq\n\"Humans should only die on their own terms... except for the most influential\npeople, who shouldn't live longer than I say they should.\" Hmm.\n\n~~~\nnitwit005\n\"Dictator for life\" is definitely less of an issue than \"Dictator for\neternity\".\n\n------\nausbah\nI hope the time is soon that we have some way of detecting and, hopefully,\nfixing generic abberations like this in embryos (or even among those diagnosed\nwhen they are older), anyone having to endure this is truly heartbreaking.\n\n"} {"text": "\nShow HN: Extract main ideas in your texts with SummarizeBot - postagger\nhttps://www.summarizebot.com/\n======\nmichaelmior\n> Hi, I am AI and Blockchain-Powered SummarizeBot!\n\nI assume the expected reaction is \"Cool! They use blockchain.\" My reaction is\nmoreso, \"What on earth does this have to do with blockchain?\"\n\n> We apply decentralized architecture to train and test our AI models. Using\n> blockchain technology helps us not only to get more training data but also\n> to improve the trustworthiness of our algorithms.\n\nI still don't understand what this has to do with blockchain.\n\n~~~\nlibdjml\n> I still don't understand what this has to do with blockchain.\n\nFunding from VCs?\n\n~~~\ncodegeek\nTrue story. I met a guy who was looking for a tech co-founder and had an idea\nthat will use blockchain. I challenged him on the reason behind the use of\nblockchain and he literally said \"Investors like to hear buzzwords and at this\ntime, I am looking to raise funding\". His idea wasn't bad but he couldn't\njustify using blockchain to implement it. I pressed him further and asked if\nhe was willing to implement the idea without blockchain and he just wasn't\ninterested. he said \"blockchain is the hot thing right now and I want to build\nthis using blockchain\". So in other words, it was more important for him that\nblockchain was used than focussing on the actual idea.\n\n~~~\nadtac\nHonestly, that's hysterical even for HBO's Silicon Valley. As someone who has\nnever lived in or experienced Silicon Valley, I always assumed the show was a\nbit of an exaggeration. But people like this are proof that it's not. It's a\ndocumentary with a comedic element.\n\n~~~\nmiketery\nAssume not, many of the moments in the show have been lived by myself and\nothers. More so - I think the reality is that the truth goes even further than\nthe fictional works we see.\n\n------\ntxcwpalpha\nA couple thoughts:\n\n1\\. Summarizing entire bodies of text down into \"bite-sized\" chunks isn't\ninherently a good thing. It seems the main use case (and at least the one\nsuggested in the demo) is to be used for news articles. Now, I'm totally\nunderstanding of the fact that not everyone has the time to read every news\narticle, but as it is, only reading part of the article (or more commonly,\nonly reading the headline) is a _huge_ issue with current consumption of\ncontent. This attempt to further summarize articles into small, context-less\nbites seems to be going in the wrong direction.\n\n2\\. On the demo page, there is a \"Fake News Detection\" feature. I threw a\ncouple of articles at it and it left me with so many questions I don't even\nknow where to begin. For a few articles, it just gave me a binary \"Real:1 ,\nFake:0\" output. For others, it spit out a couple of numbers for stats like\n\"conspiracy\", \"irony\", \"bias\", \"pseudoscience\". Why are these the attributes\nchosen to measure? How are they calculated? Is something like \"irony\" even\nmeaningful when trying to detect fake news?\n\nViewing the documentation section of the site, there is a small blurb claiming\nthat it uses \"custom AI classifiers\", \"custom machine learning models trained\non fake and biased articles\", and \"database of trusted and biased websites\ncreated by our experts\" to calculate these numbers. AKA, there is absolutely\nzero meaningful explanation as to how these numbers are calculated and why\nthey should be trusted. This entire feature is a complete black box, and for\nall we know, the \"database of trusted websites\" could be created by Russian\nspies trying to sow misinformation.\n\n~~~\nTeMPOraL\nHere's a summarization I'd like (and would pay for[0]): chats. I mean IRC\nlogs, Slack & Telegram groupchat logs, etc. Between work and local\nHackerspace, people produce so much text on IM that I can't really keep up\nwith it. I'd love a solution that I could feed such chat logs, and get back\ne.g. list of topics covered.\n\n\\--\n\n[0] - as long as it wasn't a cloud SaaS where I have to share my data with\nvendor's machines.\n\n~~~\ncharris0\nTotally agree, I tried to prototype this but the datasets to train ML\nsummarizations from are pretty much all from news articles. Trying to take\nthat model and summaries chats resulted in gibberish for me. The salient take-\naways from Chats and other non-factual / loosely structured text seems so\ndependent on what _you_ care about, summarisation is difficult.\n\n------\netaioinshrdlu\nIs it abstractive or extractive?\n\nWhat exactly does this have to do with blockchain?\n\nThe landing page is more marketing than technical and may not really be a good\nfit for this site.\n\n~~~\nBjoernKW\nFrom their \"Technologies We Use\" page (\n[https://www.summarizebot.com/summarization_business.html#tec...](https://www.summarizebot.com/summarization_business.html#technology)\n) I gather that they use a Blockchain for storing their training data and\nlanguage models.\n\nIn theory that makes the language models auditable and tamper-proof. I'm not\nso sure about the supposed benefit of that, though. Yes, it means that the\nmodel itself cannot be tampered with (in order to introduce bias to the\nsummaries, for instance) but as long as the algorithm itself remains closed\nsource you could still alter the results by for example boosting some values\nwhile attributing less significance to others.\n\nSimply publishing both the algorithm and the model as open source alongside\nwith an SHA-2 hash to make sure neither has been tampered with would achieve a\nlot more in terms of reproducibility and trustworthiness.\n\nThen again, they would've had one buzzword less in that case ...\n\n~~~\ntherein\nRight but you could also commit your changes to your model into a Git repo and\nuse the \"blockchain\" that Git provides.\n\nWhen people say blockchain the meaning that there is a distributed consensus\ncomes into the picture. In this case, there is no reason for a distributed\nconsensus on ordering or anything.\n\nBut if you are suggesting there are many text parsers that train the model,\nand there is a central modal that's held by the network state, sure. But I\ndon't know what's the benefit to that as I don't think simply training on more\ntext will allow this bot to produce better summaries.\n\n------\nanon1253\nAs others have mentioned, I have no idea what any of this has to do with\nblockchain, or how it could even conceivably help with anything other than\nriding a hype train. That being said, would be curious to see how it holds up\nagainst the standard state of the art (e.g.\n[https://github.com/sebastianruder/NLP-\nprogress/blob/master/e...](https://github.com/sebastianruder/NLP-\nprogress/blob/master/english/summarization.md)) as summarization (especially\nthe abstractive kind) is very hard, but also has a surprising amount of useful\napplications\n\n------\ndiegoperini\nIs Show HN becoming more and more a \"roast my buzzword aggregator project\"\ntool or is it my selection bias?\n\n------\nwj\nI guess it is like that software that Yahoo bought from a 15 year-old that\nsummarized articles:\n\n[https://gizmodo.com/yahoo-shutters-that-30-million-app-it-\nbo...](https://gizmodo.com/yahoo-shutters-that-30-million-app-it-bought-from-\na-te-1796375197)\n\n------\nmelicerte\nThis page. Summarized. For your consideration.\n\n[https://www.summarizebot.com/api/378d4eec8d0e4ddeb8142c84433...](https://www.summarizebot.com/api/378d4eec8d0e4ddeb8142c84433b7afd.html)\n\n------\nbryanrasmussen\nWhat kind of a person writes enough that it becomes useful to summarize what\nthey write, but is incapable of summarizing what they have written so that a\nsummarizebot becomes useful to them?\n\n~~~\nproxygeek\nIt probably would be more helpful on the pull side rather than the push side\nof the channel. Useful for consumption of content in certain situations by\ncertain segments of readers.\n\nSay, someone scanning through a list of legal docs to identify the most\nrelevant ones. A short blurb would be pretty helpful.\n\n~~~\nbryanrasmussen\nsure, I was obliquely referring to the headline - Extract main ideas in YOUR\ntexts... - seemed to prompt the question.\n\non edit: fixed misspelling, just woke up from nap.\n\n------\namelius\nAre there any benchmarks for this kind of task, and how well does this tool\nperform w.r.t. them?\n\n~~~\nteam-o\nIn terms of measurement, there's ROUGE\n[https://en.wikipedia.org/wiki/ROUGE_(metric)](https://en.wikipedia.org/wiki/ROUGE_\\(metric\\))\nIn this paper they discuss a few benchmarks in their introduction and describe\na new benchmark.\n[https://arxiv.org/pdf/1808.08745.pdf](https://arxiv.org/pdf/1808.08745.pdf)\n\n------\nabhisuri97\nIdk about the blockchain stuff, but it is semi-featureful since it can extract\ntext from images (I'm assuming its just using Tesseract OCR. At least it could\nget the text out of this\n[http://www.antigrain.com/research/font_rasterization/msword_...](http://www.antigrain.com/research/font_rasterization/msword_text_rendering.png)),\nand I assume audio (but I am having difficulty testing it out). Tbh the\nformats it accepts as well as the fact that it is available over messenger are\nhuge \"selling\" points for me and should be way more emphasized on the product\npage than blockchain and AI.\n\n------\nArtWomb\nThe end goal is wider distribution of content. Here, for example, are\nsummaries (json) of all 1008 academic papers accepted to NeurIPS 2018:\n\n[https://github.com/contentinnovation/NeurIPS-2018-papers](https://github.com/contentinnovation/NeurIPS-2018-papers)\n\nIt would be really cool to be able to translate via ML high level AI progress\ninto standard American journalistic english. To some extent Bloomberg TicToc,\nJinri Toutiao are already generating short form video for breaking news\nstories.\n\n------\nanotheryou\nWhy not have a paste text field for a quick demo on the landing page? Best\npre-filled (some cherry picking is ok :) ).\n\n------\ndecentralised\nI'd be curious to learn more about the use case for blockchain here.\n\nFor instance, Ocean Protocol plans to use TCRs for data quality, meaning that\ndata providers and data consumers evaluate the quality of a dataset in a\ncontinuous way, so that certain assets can be moved up/ down the ranks in near\nreal time.\n\n------\ndominotw\ncan i see an example\n\n"} {"text": "\nChange Your Old Amazon Password Now To Avoid Cracking Risk - fwdbureau\nhttp://consumerist.com/2011/01/old-amazon-passwords-have-big-security-flaw.html?utm_source=twitterfeed&utm_medium=twitter\n======\nmdaniel\nIs it short-sighted of me to think that a web presence the size of Amazon\nwould have detection measures in place to notice a brute force attack, or are\nthe so busy that one can hide in the noise?\n\n"} {"text": "\nDo Not Track Me - hanspagel\nhttps://scrumpy.io/blog/do-not-track-me\n======\nluckylion\n> We don't use tracking. For example, there is no Google Analytics installed\n> in this blog.\n\nSure, but there is Google Analytics installed on the main page. \"We don't use\ntracking ... on this particular page where we boast about not using tracking\"\n\n~~~\nhanspagel\nYou're right, we have to remove it there. We removed it from the app a year\nago and the blog is new and never had Analytics or similar tools.\n\n"} {"text": "\nShadowBrokers Bitcoin Transactions: Now There\u2019s Some Taint for You - sjreese\nhttps://krypt3ia.wordpress.com/2016/08/19/shadowbrokers-bitcoin-transactions-now-theres-some-taint-for-you/\n======\nnickodell\n>If you were the gubment and you wanted to maybe trace these fuckers would you\nmaybe try to chum the bitcoin waters to see what wallets are used for any\nliquidation of the bitcoins later?\n\nThe address of the auction is public. Sending more bitcoins to the address\ndoesn't make sense. The only way it would make sense to send Bitcoin to the\naddress is if you waited until the Bitcoins had been spent, and send a bit of\ndust to the address, in the hope that their wallet spent it along with some\nother Bitcoins.\n\nThe more likely explanation is that somebody is messing with the people\nobserving the auction. By my count, there are only two serious bids that\nfollow the rules set out by the shadow brokers.\n\n------\nmoyix\nI haven't been following the Silk Road coins, but I thought they'd been\nauctioned off?\n\n[http://www.coindesk.com/four-winners-44000-bitcoins-final-\nsi...](http://www.coindesk.com/four-winners-44000-bitcoins-final-silk-road-\nauction/)\n\n------\nJumpCrisscross\n> gubment\n\nWat.\n\n> I am LOVING the l337 status on those transactions hahaha\n\nWhat does this mean?\n\n~~~\njameskilton\nThe screenshots are low quality, so here's a link to the transactions page\nitself\n\n[https://blockchain.info/address/19BY2XCgbDe6WtTVbTyzM9eR3LYr...](https://blockchain.info/address/19BY2XCgbDe6WtTVbTyzM9eR3LYr6VitWK)\n\nYou'll see a bunch of transactions for 0.001337 BTC, which apparently can be\ntraced back to coins in government agency-seized funds. That's what the post\nmeans.\n\n~~~\nmattcanhack\nAlso happens to be a rickroll if you look at the addresses.\n\nOther source: [http://motherboard.vice.com/en_ca/read/someone-rickrolled-\nth...](http://motherboard.vice.com/en_ca/read/someone-rickrolled-the-bitcoin-\nauction-for-nsa-exploits)\n\n~~~\nHillRat\nThis is surely the weirdest governmental communication _ever_. I'm fascinated\nby the idea that someone had to tell the NSC and White House, \"NSA wants to\nrickroll the Russian government using DoJ-owned bitcoins seized from a dark\nweb drugs-and-assassinations forum.\" Evidently our branch of the multiverse is\na pasteup being collaboratively written by Grant Morrison, Charlie Stross and\nNeal Stephenson.\n\n~~~\nkakarot\nI just feel like clarifying that it was in no way an \"assassination forum\"\n\n"} {"text": "\nNo CEO needed: These blockchain platforms will let \u2018the crowd\u2019 run startups - maxwellnardi\nhttps://venturebeat.com/2017/12/03/no-ceo-needed-these-blockchain-platforms-will-let-the-crowd-run-startups/\n======\nwesturner\nMentioned in the article are Aragon, District0x, Ethlance, NameBazaar, Colony,\nDAOstack; all of which, IIUC, are built with Ethereum and Smart Contracts\n(DAOs).\n\n"} {"text": "\n\nShow HN: \u201cActive Code\u201d in Markdown - chriswarbo\nhttp://chriswarbo.net/activecode/\n\n======\nonaclov2000\nI really like this, I imagine it would be really helpful if you were writing a\nbook/blog post, you could \"print\" the code you were using as an example, then\n\"run\" it and output all of that into your generated HTML, this would ensure\nyou have a \"working\" example at all times.\n\n~~~\nNullabillity\nA while ago I wrote something similar (though only for Scala) for a school\nproject. It would basically fake a REPL session, which had the con of being\npretty tightly coupled to the language, but it would give you nice automatic\noutput that would match what the user would get.\n\nExample:\n[http://www.kodknackning.se/gettingstarted/types](http://www.kodknackning.se/gettingstarted/types)\n\nSource: [https://github.com/teozkr/scala-repl-\nsampler](https://github.com/teozkr/scala-repl-sampler)\n\n------\napenguin\nI love the idea of Literate Programming, and moreover pandoc is one of my\nabsolute favorite tools. As such, I find this very interesting.\n\nHowever, I take issue with your complaint about Emacs being so huge -- pandoc\nis right up there, too (134 vs 89MiB on my system). Not to mention its\nseemingly endless stream of dependencies (50 packages according to my\nmanager), as well as GHC which is over 700MB on its own. If you work with\nHaskell, this might not be too big of a deal, but otherwise you might need all\nthis for pandoc alone. This is actually an issue for me with my tiny laptop\nSSD (this ends up consuming more than 5% of my root partition) -- I'm always\ndebating removing pandoc, but never do because it's just such a great tool.\n\n~~~\nchriswarbo\nPandoc doesn't seem as bad as you suggest. GHC, dependencies, etc. are only\nneeded for compiling; according to\n[http://johnmacfarlane.net/pandoc/installing.html](http://johnmacfarlane.net/pandoc/installing.html)\nPandoc can be compiled into a standalone binary. The Windows build on\n[https://github.com/jgm/pandoc/releases](https://github.com/jgm/pandoc/releases)\nis 17.1MB and the Debian package in Wheezy is 18.9MB with reasonable-looking\ndependencies.\n\nThe scripts I've written (PanPipe and PanHandle) require a Haskell\nimplementation and the Pandoc library in order to be compiled or interpreted.\nOnce they're compiled with GHC, they're completely standalone.\n\nMy plan is to have my server recompile my site when changes are pushed to Git.\nI like having Emacs, GHC, etc. on my laptop, but not on my server.\n\nI actually tried to integrate Babel with Hakyll originally, but hit a bunch of\nproblems. I didn't include that in the page since I thought it would be\ndistracting. Most of it boils down to Org-mode's HTML exporter being awkward\nto invoke as part of a UNIX pipeline:\n\n\\- Emacs can't handle stdio\n\n\\- Org-mode has breaking changes between the version bundled in the latest\nstable Emacs (24.3) and that in ELPA (which I use)\n\n\\- Syntax highlighting depends on the current Emacs theme\n\n\\- Whole HTML pages are generated, which makes templating harder\n\n\\- Anything which uses the filesystem leaves artifacts around\n\nI did manage to hack together a shell script which created and switched to a\ntemporary directory, saved /dev/stdin to a file, opened Emacs in batch mode,\nloaded Org-mode, opened the temp file, tangled the file, exported the file,\nexited Emacs, ran the result through some XSLT transformations and Python\nscripts to extract the data needed for templating, spliced the results through\nthe templates, spat the result to /dev/stdout, switched out of the temp\ndirectory then deleted it. Needless to say, it was _very_ fragile, and much\nmore complex than writing these Pandoc filters!\n\n~~~\napenguin\nRegarding the Windows build: I just installed it, post-install size is 69.1MB.\nI feel like a factor of two means my point about emacs not being _that_ big\nstill stands :)\n\nStatic builds also pose somewhat of a problem when it means I have to rebuild\nall the dependencies for every update... I've run into this on Arch when\nclearing out makedeps for hard drive space (those 50 packages probably aren't\nall hard deps but I don't want to go against the will of my package manager).\nI know this is a solvable issue, I just wish it was easier.\n\nAlso, I recognize the issues it poses here, but syntax highlighting inheriting\nfrom font-lock is one of my favorite things about the HTML exporter.\n\nEDIT: Accidentally duplicated a predicate by duplicating a predicate.\n\nEDIT2: I'll just expand my response\n\nThe whole-page templating thing is a problem I've been trying to work around\nmyself, but I've had too much fun thinking about it to actually get started on\nanything. At some point writing another HTML exporter feels kinda mundane and\nI get the idea that I need to work on a ConTeXt exporter since it hasn't been\ndone before.\n\nI like Markdown's syntax more than that of org-mode, but I don't like the lack\nof standardization. I kinda wish all the (popular) flavors were a subset of\nPandoc Markdown so as to keep compatability... But that's never going to\nhappen.\n\n------\nhk__2\nThis reminds me of \u201cPastek\u201d, a markdown-inspired language created by a friend\nof mine which supports the inclusion of the output of some code run through an\nexternal command, with a similar syntax: [https://pastek-\nproject.github.io/cheatsheet.html](https://pastek-\nproject.github.io/cheatsheet.html)\n\n~~~\nchriswarbo\nInteresting, although I specifically avoided defining a new language. The\nsource to these pages is all written in Pandoc's version of Markdown, detailed\nat [http://johnmacfarlane.net/pandoc/demo/example9/pandocs-\nmarkd...](http://johnmacfarlane.net/pandoc/demo/example9/pandocs-\nmarkdown.html)\n\nIf the PanPipe and PanHandle filters aren't used, the code blocks will just\nappear in the output verbatim. The `pipe=\"abc\"` attribute and `unwrap` class\nwill become regular HTML attributes and classes, just like any other.\n\nPandoc also supports more formats than just Markdown. These filters operate on\nthe parsed AST, so will work for any format where Pandoc can parse a 'Code' or\n'CodeBlock' element, with the ability to attach 'attributes' or 'classes'. The\n\"native\" and \"json\" formats can do this, since they're just Pandoc's\nintermediate datastructures. I just tried it on HTML and it works there too!\n\n \n \n $ echo '

ls /
' | pandoc -f html -t html --filter panpipe\n
bin\n        boot\n        dev\n        etc\n        home\n        lost+found\n        media\n        nix\n        proc\n        root\n        run\n        sys\n        tmp\n        usr\n        var\n        
\n\n~~~\nhk__2\nReally interesting, thanks for the explanation!\n\n"} {"text": "\nInstant 8-bit alpha PNG converter - ck2\nhttp://www.8bitalpha.com/\n======\npornel\nI've got improved pngquant that gives significantly better results than\noriginal version, gd2 library and often rivals pngnq:\n\n\n\nIt is a bit slow (converts image several times feeding back result's quality\nback to the algorithm), but difference in quality is significant:\n\n \\- converted via website\n\n \\- converted with pngquant 1.3\n\n~~~\naw3c2\nAny chance to build this with libpng14? I think compiling fails for me because\nI do have that modern version installed and not libpng12.\n\n~~~\npornel\nIt definitely works with 1.4.1, but the bundled Makefile sucks.\n\nJust compile *.c and link it against libpng in whatever way your system\nrequires.\n\n~~~\naw3c2\nThanks!\n\nI am clueless when it comes to compiling though so for me that stop right at\n\"linking\". I only know that that has something to do with those .o files. :-)\n\nI did find and just installed that.\n\n------\nthingsinjars\nWow, I go on holiday away from a decent internet connection and next thing you\nknow, HN front page. Urk.\n\nHope it all works well for everyone. As mentioned, the source is all on github\n() so if there are any\nimprovements, fork away.\n\nI'll try and keep an eye on it in case something breaks but I'm a bit limited\nto an iPhone SSH client on a foreign country's network so play nice. :D\n\nI'm glad people are finding it useful, though.\n\n~~~\nck2\nGreat work, many thanks for the source.\n\nAh, now I see it's a far cry from pngng/pngquant\n\n[https://github.com/thingsinjars/8bitalpha/raw/master/image.p...](https://github.com/thingsinjars/8bitalpha/raw/master/image.php)\n\nSome php gd2 conversion, gets the job done but it's not as sophisticated.\n\nStill, huge potential to slide in other solutions, even via shell.\n\n------\nnathos\nMac users should check out ImageAlpha for optimizing 8-bit PNGs:\n\n\n~~~\nck2\nI was actually looking for a Windows equivalent to that when I found this\nwesite.\n\n------\nhecticjeff\nSource code is available on GitHub:\n\n\n------\npedrokost\nThank you a lot for the tool. I had no idea I could compress PNG so much,\nwithout loosing too much quality. I will be a heavy user of this.\n\n~~~\nck2\nTo clarify, I didn't make this site, just discovered it while googling how to\naccomplish this without Fireworks.\n\nThe \"beauty\" of 8-bit png is how it degrades acceptably in IE8, IE7 and even\nIE6.\n\nTry comparing a large round icon in 1-bit alpha (ie. gif) vs 8-bit alpha, it's\nmuch much better.\n\n~~~\ndavej\nIE7 and IE8 can display 32bit (24bit for RGB + 8bit for alpha channel) PNGs\nfine by the way. IE6, of course, only supports alpha transparency on 8bit\nPNGs.\n\n~~~\nrimantas\n\n IE6, of course, only supports alpha transparency on 8bit\n PNGs.\n \n\nIE6 does not support alpha transparency, in this case it treats colos with\nalpha component as fully transparent i.e. PNG8 with alpha transparency is\ntreated as with index transparency.\n\n~~~\ndavej\nYes, you're correct.\n\n------\naw3c2\nWhat is the difference to using say optipng?\n\n~~~\nbeej71\nHere's a real example, using a test image that has a lot of different alpha\nvalues in it, and a 24-bit alpha channel:\n\n \n \n Original: 87047 bytes\n optipng -o7: 82489 bytes\n this tool: 22585 bytes\n \n\nThe main difference, other than size, is that optipng produced an exact copy\nof the the original, while this tool is lossy, and threw away a bunch of data\nfrom the alpha channel. The win is that for the majority of all web cases, 8\nbits of alpha is plenty.\n\n~~~\nck2\nNote that it's not perfect for all cases, but it's certainly acceptable for\nsmall icons.\n\nHere's a 32x32 icon I converted down to 8-bit alpha and then 1-bit, and then\nresized the whole group so they could be more closely examined:\n\n\n\n~~~\npornel\nI was able to convert it without noticeable degradation down to 7 bit:\n\n\n\n\n\n(using my pngquant)\n\n~~~\nck2\nYah, after looking at the source I saw they are only using php's gd2 library\non 8bitalpha.com which is definitely inferior to your work.\n\nThe problem is lack of Windows binaries, this is the most modern I can find:\n\n\n\nBTW this is the original image I am resampling down to icon size, it seems\nvery challenging because of the multi-layered round edges and many gradients\ninternally:\n\n\n\n~~~\npornel\nFor me OS X screenshots are the toughest \u2014 lots of shades in transparent\nshadow, smooth gray gradients (can't use posterization) AND three small\ngradients in close/minimize/zoom and couple of odd pixels for anti-alias of\ncorners (can't use pick-most-popular algorithm).\n\n------\netherealG\n<3\n\n"} {"text": "\n\nBorn in the USA? Some Chinese plan it that way - drewse\nhttp://www.npr.org/2010/11/22/131513165/born-in-the-u-s-a-some-chinese-plan-it-that-way\n\n======\nalanh\nAmazing someone who immigrated here at 10 years old could never be President,\nbut someone who was in the US _only_ for their birth \u2014 until much later in\nlife \u2014 _could_ become President.\n\nEver since reading a first-hand account of a grade school student quietly\nthinking about how their teacher\u2019s pronouncement that \u201cany of you could become\nPresident!\u201d was incorrect for that student, an immigrant, I have seen this\nclause as a bit excessive.\n\n~~~\ndoyoulikeworms\nAgreed. I may come across as xenophobic, or uber-patriotic, or whatever, but I\nthink the laws regarding eligibility for presidency should be changed, not\nrelaxed.\n\nFor example: Required to be a citizen and resident of the USA for the majority\nof his/her life (>50%). Required to renounce all other citizenship. Required\nto have spent the last 10 years of his/her life in the US.\n\nSomething like that seems fair(er) to me.\n\nEDIT: Clarification.\n\n~~~\nmahmud\nThose are already the requirements for a basic security clearance.\n\n------\njordan0day\nTo be honest, I'm not especially bothered by this. You could (and many cable\nnews and talk radio hosts have) make the case that this is just plain _wrong_\n, but isn't there worse things than having the children of affluent foreigners\nbe American citizens? We're still a \"nation of immigrants\", I say the richer\nthe better!\n\nI'll admit my analysis of this is only cursory, so feel free to correct my\nreasoning.\n\nObviously if these children just take advantage of the system, get a cheap(er)\neducation and return to China, it's a net loss for the USA, but it seems to me\nthat a great many would stay here, presumably as \"productive citizens\".\n\n~~~\ndrewse\nYes, I'd assume that most of these immigrants described by the article will\nbecome productive citizens and will benefit the USA. I don't find anything\nwrong with what these people are doing, except for the fact that they have to\n\"work around the system\" to achieve their goals. There will be many more\npeople who will move with their children to the US shortly after their births\nand then live in the US longer than those mentioned in the article. Why should\none group of people be able to become citizens immediately while the others\naren't able to [until they apply for citizenship]? In short, I feel no hard\nfeelings against those who only come to have their children here, but rather\nfeel that the system needs to be changed in some way.\n\n~~~\nRickHull\nYes, and also we expose them to our ideals. It's a win-win. Either they stay\nhere and produce and inform, or they go back home and produce and inform.\n\n------\naugustflanagan\nMy college roommate's parents did this (he's from the Philippines) 24 years\nago. Once he was born they went back to the Philippines and his first\nexperience in America was at age 18 when he came to the U.S. by himself for\nschool.\n\nIt worked out pretty well for him. He has since graduated with a top notch\ndegree and sponsored his family to come to the U.S. Kudos to them for having\nthe foresight to do this in the mid 80's.\n\n------\nmakmanalp\nI don't know what part of the world you guys are from, but it's a fairly well\nknown strategy in Turkey. I've had a friend who did that growing up. He had\ndual citizenship, one by right of birth and the other by right of parents.\nWhen you think about it, doesn't it make so much sense?\n\n------\nLocke1689\nInteresting. The Constitution is pretty clear here -- if you're born on US\nsoil, you're a US citizen. However, there's no requirement that the State\nDept. issue visas to people who are 6-9 months pregnant.\n\n~~~\nsigzero\n\"if you're born on US soil, you're a US citizen\"\n\nActually there IS debate about what that section actually means. Some take to\nmean in context that your parents had to have been under the laws (a citizen)\nalready and subsequently you cannot just hop the border, have a baby, and the\nbaby is a citizen. I happen to believe that as well.\n\n~~~\nanigbrowl\nNot among legal scholars, at least not since 1898.\n\nOops, left out the citation: US v. Wong Kim Ark, 169 US 649.\n[http://scholar.google.com/scholar_case?case=3381955771263111...](http://scholar.google.com/scholar_case?case=3381955771263111765)\n\n~~~\nJustACommenter\nThis case, and the idea that being American has a lot more to do with ideas\nthan with your ethnic origin, are important to my family history.\n\nMy grandmother was born in the US. Her mother died when she was young, so she\nand some of her siblings were sent back to the old country to live with\nrelatives for a while. Eventually my grandmother and her siblings returned to\nthe US, and she married my grandfather, leading to me, a proud American.\n\nThe reason this law was important was because my great-grandparents weren't US\ncitizens. In fact, they were prohibited from becoming naturalized US citizens\neven if they wanted to be (\n ). Without the 14th\namendment, I might not be a US citizen.\n\nNor would my great-uncle, who served in the US military. It turns out that in\n1940 the US military suspected they had a need for Japanese translators. What\nbetter way to learn Japanese than to have gone to school in Japan?\n\nMy last thought on this topic is a joke:\n\nQ: Who was the greatest German general of World War II?\n\nA: Eisenhower.\n\n------\njulius_geezer\nThis was popular with Korean moms some years back.\n\n"} {"text": "\nComparison of Linux Software Update Technologies [pdf] - transpute\nhttp://events.linuxfoundation.org/sites/events/files/slides/Comparison%20of%20Linux%20Software%20Update%20Technologies_0.pdf\n======\nchriswarbo\nUnfortunate to see no mention of Nix or Guix :(\n\n"} {"text": "\nHow to Write a BitTorrent Client, Part 1 - networked\nhttp://www.kristenwidman.com/blog/33/how-to-write-a-bittorrent-client-part-1/\n======\ncheatdeath\nI recently went through the same thing \u2013 building my own simple BitTorrent\nclient, mostly just due to curiosity about how the protocol works. There were\nsome tricky parts, most of which are outlined in this but I found the\nunderlying concept so simple. I guess simplicity is a requirement for scale\nand resilience.\n\nI wrote up my adventure too:\n[http://seanjoflynn.com/research/bittorrent.html](http://seanjoflynn.com/research/bittorrent.html)\n\n------\nzielmicha\nFor \"Writing BitTorrent Client\" workshops I've made, I have created\n\"introductory\" tracker and peers (they, for example, display friendly errors\nif you make invalid protocol requests):\n[https://torrent.zielmicha.com/](https://torrent.zielmicha.com/)\n\nThe source is on Github: [https://github.com/zielmicha/torrent-\nworkshops](https://github.com/zielmicha/torrent-workshops)\n\n(unfortunately you need to register before using it, but you can even use fake\nmail)\n\n------\nallenkim6\nIf anyone is interested in a similar writeup for a bittorrrent client for\nnode.js, check out my tutorial here:\n[http://allenkim67.github.io/bittorrent/2016/05/04/how-to-\nmak...](http://allenkim67.github.io/bittorrent/2016/05/04/how-to-make-your-\nown-bittorrent-client.html)\n\n~~~\nsiculars\nLove! Thanks!\n\n------\nSlashmanX\nFeross has some great implementations of the different pieces of BitTorrent\n(including parsing torrent files, magnets etc) in JavaScript on his GitHub[0].\nWould recommend people take a look if they find this blog post interesting.\n\n[0] -\n[https://github.com/feross?tab=repositories](https://github.com/feross?tab=repositories)\n\n------\nandreicon\nthis is actually pretty cool. i think cryptocurrencies could benefit from the\nimplementation of some design features from the bittorrent protocol.\n\n------\njoeblau\nThis is something that's been on my list of things to do for a while and I've\nnever gotten around to it. Thanks for this post.\n\n"} {"text": "\nLawmaker Says Snowden Leaks Will Cost Country 'Billions To Repair' - aet\nhttp://www.npr.org/blogs/thetwo-way/2014/02/05/272151126/lawmaker-say-snowden-leaks-will-cost-country-billions-to-repair\n======\nofficialjunk\nlost me at \"repair\" ...\n\n"} {"text": "\nRIP Medical Debt: Nonprofit buying and forgiving medical debt in the U.S. - _bxg1\nhttps://ripmedicaldebt.org\n======\ndencodev\nIt's really depressing we live in a world where this is a thing people need.\n\n"} {"text": "\nLinux File Security Training at the ACLU - linuxmag\nhttp://www.linux-mag.com/id/7772\n======\npasbesoin\n_Access Control List University (ACLU)_\n\nI wondered what the heck the American Civil Liberties Union was doing\npublicizing Linux security (who knows, it might not be a bad idea).\n\n~~~\nilkhd2\nYeah, indeed. To teach people how to protect their data...\n\n"} {"text": "\n\nThe European Atrocity You Never Heard About - cs702\nhttp://chronicle.com/article/The-European-Atrocity-You/132123\n\n======\ncafard\nSpeak for yourself, Chronicle. The broad outlines of the Prussian\ndisplacements were in my 11th grade world history text. The NY Times has dealt\nwith the case of Silesia within the last 10 years, and there were books about\nthe displacements from Bohemia not that long ago either.\n\nI will say also that it is seldom that anyone comes out of a war with clean\nhands, which is all the more reason for hesitating to start one.\n\n"} {"text": "\nProcessed meats as bad as cigarettes: bad reporting on good science - zsupalla\nhttps://medium.com/@zsupalla/processed-meats-as-bad-as-cigarettes-bad-reporting-on-good-science-ac43a97be603\n======\ndspillett\nMy first thought was that the report is only talking about rectal and colon\ncancers, so yes diet might affect them as much as (or even more than) smoking.\n\nBut that really isn't even close to to being a good comparison when discussing\noverall effect of risk factors: talking about the effect of smoking while only\ncounting damage to the bottom end of the digestive system is like talking\nabout the effect of drink driving while only counting uni-cyclists.\n\nSo the reporting is _massively_ misleading, the inference that the risks\ncaused by smoking and those caused by eating processed meats are even of the\nsame order of magnitude is simply wrong. I shall have to read the actual\nreport to get any real meaning from it.\n\n~~~\ntkyjonathan\nSorry, guys, but you are all wrong. WHO is a huge and difficult body to get\nagreements from. After years and 800 studies, they decided today to label\nprocessed meats as carcinogens.\n\nBtw, 15% of lifelong smokers get lung cancer whereas 15-19% of meat-eaters get\nsome sort of cancer (mainly, colorectal, prostate and breast).\n\nI can appreciate that this is a surprise, but the data has been there for more\nthan a decade.\n\n~~~\nAlisdairO\nYou haven't established that cancer in meat eaters is largely caused by eating\nmeat, whereas it is quite clear that overall cancer rate drastically increases\nin smokers.\n\nIn fact, while vegetarian diets do reduce the risk of cancer, the difference\nis by comparison modest - the overall risk of cancer in vegetarians is ~10%\nlower.\n\n~~~\ntkyjonathan\nThat isn't true. There are causal links between meat and cancer. You have:\nIGF1, saturated fat, sulphar-based animo acids like methionine, mycobacterial\nload, oxidative stress, purification in the intestine and more recently, that\nnuXX sugar found in protein.\n\n~~~\nAlisdairO\nDid you read my comment?\n\nI didn't deny causal links between meat and cancer. I denied that the causal\nlinks between meat and cancer caused anything close to as much additional\ntotal cancer risk as smoking does. That's a viewpoint that is supported by any\ncredible source you care to name.\n\n------\ncperciva\nAlso worth noting: The same \"known carcinogens\" list also includes birth\ncontrol pills and sunlight.\n\nNot all carcinogens should be avoided.\n\n~~~\nChlorus\nAnd sure enough, the formally-respectable tabloid known as Ars takes the bait:\n[http://arstechnica.com/science/2015/10/its-official-bacon-\nho...](http://arstechnica.com/science/2015/10/its-official-bacon-hot-dogs-\nother-processed-red-meat-cause-cancer/)\n\n~~~\nDanBC\nYou've misunderstand the submission.\n\nThe quality of the evidence is very good - now we are sure that eating red\nmeat and processed meat increases the risk of cancer, although that risk is\nstill very small. We are now as sure of that as we are that smoking causes\ncancer, although the risks from smoking are very much greater.\n\nThe Ars head line is accurate. The second and third paragraphs are clear and\neasy to understand and accurate.\n\n> Today, in a sizzling announcement, the International Agency for Research on\n> Cancer (IARC) officially marked processed meat, such as bacon, hot dogs, and\n> sausages, as \u201ccarcinogenic to humans,\u201d a \u201cgroup 1\u201d designation. The agency,\n> an arm of the World Health Organization, also classified red meat, such as\n> beef, pork, and lamb, as \u201cprobably carcinogenic to humans,\u201d a \u201cgroup 2A\u201d\n> grade.\n\n> (The group designations refer to the confidence health experts have in the\n> link between the meats and cancer; it does not refer to the potency of the\n> meats\u2019 cancer-causing abilities.)\n\n~~~\nChlorus\nI understand now, thank you.\n\n------\nmoskie\nThe first line of the Guardian's article is:\n\n\"Bacon, ham and sausages rank alongside cigarettes as a major cause of cancer,\nthe World Health Organisation has said, placing cured and processed meats in\nthe same category as asbestos, alcohol, arsenic and tobacco.\"\n\nIs that correct? If the WHO did indeed put these all into the same category,\nthen I'm not sure this article is at fault. Should the author of this post\ninstead take issue with how the WHO categorized these things?\n\n------\nbatbomb\nFor processed (cured) meats, they must assuredly mean sodium nitrite (which\nsodium nitrate turns in to) and/or salt is known carcinogens. In which case,\nit should be \"sodium nitrite known to cause cancer\".\n\nAlso, people should know that even \"no nitrates/nitrites added\" doesn't mean\ndevoid of nitrates or nitrites, because most companies add tons of celery\nsalt, and, for the most part, you end up with an equivalent amount of sodium\nnitrite in your processed/cured meats.\n\n[http://ruhlman.com/2011/05/the-no-nitrites-added-\nhoax/](http://ruhlman.com/2011/05/the-no-nitrites-added-hoax/)\n\n~~~\njohansch\nThe term \"processed food\" seems so overloaded that it's largely pointless.\n\nNevertheless, this page seems to explain its popular usage well, while adding\nsome much needed sanity:\n\n[http://www.nhs.uk/livewell/goodfood/pages/what-are-\nprocessed...](http://www.nhs.uk/livewell/goodfood/pages/what-are-processed-\nfoods.aspx)\n\n------\nanunderachiever\n\"Processed meat was classified as carcinogenic to humans (Group 1), based on\nsufficient evidence in humans that the consumption of processed meat causes\ncolorectal cancer.\"\n\n[http://www.iarc.fr/en/media-\ncentre/pr/2015/pdfs/pr240_E.pdf](http://www.iarc.fr/en/media-\ncentre/pr/2015/pdfs/pr240_E.pdf)\n\nand here you find tobacco:\n\n[https://en.wikipedia.org/wiki/List_of_IARC_Group_1_carcinoge...](https://en.wikipedia.org/wiki/List_of_IARC_Group_1_carcinogens)\n\nSo processed meat IS ranking next to tobacco according to IARC.\n\n~~~\nicebraining\nThe groups have nothing to do with \"ranking\", they're based on the amount of\nevidence that we have for the link. From the IARC's FAQ:\n\n> The classification indicates the weight of the evidence as to whether an\n> agent is capable of causing cancer (technically called \u201chazard\u201d), _but it\n> does not measure the likelihood that cancer will occur (technically called\n> \u201crisk\u201d) as a result of exposure to the agent._\n\n(Emphasis theirs)\n\n[http://monographs.iarc.fr/ENG/News/Q&A_ENG.pdf](http://monographs.iarc.fr/ENG/News/Q&A_ENG.pdf)\n\n------\n6t6t6\nWhat apparently a lot of people fails to understand is that the IARC list\nreflects is how sure we are that a substance is carcinogenic, but not how much\nit raises the risk of cancer.\n\nSo we can equally be sure that plutonium and bacon are a risk for health. But\nwe also know that eating plutonium is more dangerous than bacon.\n\n------\nvldr\nAny thoughts on\n\n[http://www.zoeharcombe.com/2015/10/world-health-\norganisation...](http://www.zoeharcombe.com/2015/10/world-health-organisation-\nmeat-cancer/)\n\n?\n\n------\ndang\nAlso\n[https://news.ycombinator.com/item?id=10451259](https://news.ycombinator.com/item?id=10451259).\n\n------\nXzetaU8\n\"The Nitrate and Nitrite Myth: Another Reason Not To Fear Bacon\"\n\n[http://chriskresser.com/the-nitrate-and-nitrite-myth-\nanother...](http://chriskresser.com/the-nitrate-and-nitrite-myth-another-\nreason-not-to-fear-bacon/)\n\n------\ndebacle\nBad reporting but good traffic.\n\n------\nanunderachiever\nKinda funny how hard some people try to reject a finding which is as well\nsupported as it is obvious ... red meat is bad. Same logic applies here as\nwith cigarettes - _you_ decide if you want to take the risk.\n\nBeyond your personal consequences - meat and dairy industry is also directly\ndestructive to the environment and society on a global level\n([http://www.imdb.com/title/tt3302820/](http://www.imdb.com/title/tt3302820/)).\n\n[http://lmgtfy.com/?q=site%3Anature.com+%22red+meat%22](http://lmgtfy.com/?q=site%3Anature.com+%22red+meat%22)\n\n~~~\nmorley\nThat has little to do with the linked article, which is only rejecting the\nbombastic headlines comparing the two.\n\n~~~\nanunderachiever\nIs it really _that_ bombastic? Lot of people are smoking and will readily\njustify it with anecdotal evidance proving that smoking isn't really _that_\nbad at all - \"you know there was this 105 year old Japanese guy and they asked\nhim how he got that old and he said he stopped smoking at the age of 99 ...\"\n\nFurthermore - people need those \"comparisons\" \\- only few will change their\nbehavior based on purely statistical reasoning.\n\n~~~\nDanBC\nThe WHO report tells us that the quality of the evidence is very good, which\nis why red meat and processed red meat have this new classification.\n\nIt doesn't talk about how strong the cancer-causing effects of red meat and\nprocessed meat are. They are nothing like as risky as cigarettes. We know that\ncigarettes are very harmful.\n\n"} {"text": "\n\nUber poaches 40 people from 'partner' Carnegie Mellon - amalantony06\nhttp://www.marketwatch.com/story/is-uber-a-friend-or-foe-of-carnegie-mellon-in-robotics-2015-05-31-14103924\n\n======\ndylanjermiah\n\"40 people voluntarily leave CMU to join Uber\"\n\n"} {"text": "\nThe internet is broken. Starting from scratch, here's how I'd fix it - thegeomaster\nhttps://www.linkedin.com/pulse/internet-broken-starting-from-scratch-heres-how-id-fix-isaacson\n======\njstewartmobile\nLeave it to the CEO of CNN to suggest \"fixing\" the internet by making it as\nsubservient to power as the traditional mainstream media.\n\n"} {"text": "\nPythonJS now faster than CPython - tyrion\nhttp://pythonjs.blogspot.com/2014/05/pythonjs-now-faster-than-cpython.html\n======\nchubot\nCan it run real programs (i.e. not benchmarks)?\n\nIf so I will be impressed. Glancing over the code, it looks pretty short, and\nI can imagine benchmarks will run, but not real programs.\n\n[https://github.com/PythonJS/PythonJS/blob/master/pythonjs/py...](https://github.com/PythonJS/PythonJS/blob/master/pythonjs/pythonjs.py)\n\nIt's true that most programs don't use all the dynamism of Python, but they\nprobably depend on something that does (e.g. Django). Python is more dynamic\nthan JavaScript, in that it has __getattr__, __setattr__, __getitem__, etc.\n\nIf not, it's not fair to compare it to PyPy... PyPy actually runs arbitrary\nPython programs.\n\n~~~\nbelandrew\n> Python is more dynamic than JavaScript, in that it has __getattr__,\n> __setattr__, __getitem__, etc.\n\nNo, it's not. You can do equivalents to all of those in Javascript. Javascript\nobjects are all mutable with a few exceptions. They are just maps of\nproperties, very similar to Python's. Properties can be added or changed at\nruntime.\n\nFor example, setattr(obj, item, value) in python is basically just obj[item] =\nvalue in js.\n\n~~~\npygy_\n__getattr__ and friends allow to customize the getters and setters.\n\nJavaScript is in the process of getting similar capabilities with Harmony\nproxies, but the spec has yet to be finalized:\n[http://wiki.ecmascript.org/doku.php?id=harmony:direct_proxie...](http://wiki.ecmascript.org/doku.php?id=harmony:direct_proxies)\n\n~~~\njonpacker\nI'm slightly confused by your wording but I think the functionality you're\nreferring to is already available via Object.defineProperty's \"get\" and \"set\"\noptions: [https://developer.mozilla.org/en-\nUS/docs/Web/JavaScript/Refe...](https://developer.mozilla.org/en-\nUS/docs/Web/JavaScript/Reference/Global_Objects/Object/defineProperty)\n\n~~~\npygy_\nObject.defineProperty allows to overload get/set for a single key at a time.\n\nHarmony proxies catch everything, and really overload the getter/setter\nmechanism.\n\n------\nJeremyBanks\nI also wrote an interpreter, and it's 500x faster than CPython or PyPy.\n\n(As it happens, my interpreter can only run a single fixed program, but I'm\nnot worried: most people won't read past the headline when I announce it.)\n\n~~~\ncoldtea\n> _I also wrote an interpreter, and it 's 500x faster than CPython or PyPy_\n\nThat's great!\n\nEven if your new interpreter doesn't run all the code that's out there it can\nserve as a base for further work, it's a nice proof of concept and it's just\nplain cool hacking. It certainly beats all those people merely posting snarky\ncomments on project announcements.\n\n> _(As it happens, my interpreter can only run a single fixed program, but I\n> 'm not worried: most people won't read past the headline when I announce\n> it.)_\n\nWith sarcasm off now, yeah?\n\nThey worked on something and they are enthusiastic about the results they get.\nPerhaps they want to oversell them, in a headline. So what? If people \"won't\nread past the headline\" then they also won't be using this PythonJS. So no\nharm done to them.\n\nAt worst, you'll be lured to read an interesting article. And if you have any\nunderstanding of compilers/interpreters at all, you'll know before the end of\nit who real-world-usable it would be or not.\n\n~~~\nzobzu\nThis kind of thinking generally hurts more than it does good. Large amounts of\npeople will register it in their memory as CPython bad, PythonJS, or really,\nanything else good.\n\nDon't know why, don't know why it's FUD, etc. Next time when they get a\nchoice, they'll bash CPython. Not figuring why everyone uses CPython probably.\n\nAnd you're encouraging that. Probably just thinking it puts you on a higher\npedestal or something of the sort. I think its pretty shitty.\n\n~~~\nlucian1900\nWell, CPython is embarrassingly slow.\n\nThe damaging thing is claiming things like PythonJS are implementations of\nPython, when they merely share syntax and some semantics. They might be fast,\nbut that's not very relevant.\n\nRuntimes like PyPy is where we should be looking, since they implement the\nfull Python language _and_ are fast.\n\n~~~\nmjolk\n>Well, CPython is embarrassingly slow.\n\nCompared to what? Please be specific in your definition of \"slow.\"\n\n>Runtimes like PyPy is where we should be looking, since they implement the\nfull Python language and are fast.\n\nWhy should 'we' be looking to PyPy? Have you run a non-trivial application\nwith pypy (v. standard cpy) and found it to be significantly faster?\n\nEven if your code would benefit from JIT, and your code is compatible for\nrunning on PyPy, does it benefit more from a compiler switch than CPython +\nPandas?\n\n~~~\nlucian1900\nCPython is very slow at various things that are common, like function calls\nand attribute lookup. There is no good reason for this and few runtimes are\nquite this slow. This sort of overhead adds up and is often annoying to deal\nwith.\n\nYes, I have run non-trivial applications on PyPy and they were significantly\nfaster. Its only downside is libraries that depend on CPython extensions, but\nthere are few of those left.\n\nPandas doesn't do much for removing function call overhead. I don't\nnecessarily have large mathematical datasets, I just want my web service to be\neasier to write, by not having to care about what CPython is terribly slow at.\n\n~~~\nmjolk\nInteresting. Did you profile your code to see where your hot spots were?\nWhenever I've run web-services on PyPy and got a nice little speed bump, I've\nfound that I could have also made small changes to optimize and get near the\nsame result.\n\n~~~\nlucian1900\nYes, the slow bits are often part of complex validation, directly proportional\nto the number of function calls. Sometimes in arbitrary computation, but that\nis not so common.\n\nI could've manually inlined lots of functions to avoid the overhead on\nCPython, but I'd have a horrible code base. On PyPy I can simply not care\nabout this aspect, just like in most other languages.\n\n------\nchuckup\nThe other interesting and recent \"Python in the browser\" project is\nRapydScript -\n[https://github.com/atsepkov/RapydScript](https://github.com/atsepkov/RapydScript)\n\nUnlike PythonJS, it does not have the goal of being 100% Python compatible,\nbut instead takes the CoffeeScript approach. So, like Coffeescript, you get\n(mostly) clean Javascript output, no huge library dependency, runs nearly as\nfast as Javascript, etc.\n\nCheck out the \"ants\" demo -\n[http://salvatore.pythonanywhere.com/RapydBox/default/editor](http://salvatore.pythonanywhere.com/RapydBox/default/editor)\n\nI've been playing around with both PythonJS and Rapydscript, and I like both.\nDifferent goals. PythonJS can output to Lua, too - so there's the whole Python\nin LuaJIT angle which could be very interesting as it matures.\n\n~~~\namirouche\nStill, it's written in JavaScript. Not aiming full compatibility is not only\nhumility. They can't do it.\n\n------\nWizKid\nAccording to the footnote he tested with pypy 1.9. There was just a post here\na day or two ago that pypy 2.3.1 was release. Seems like one should at least\nuse the latest version when testing. Pypy 1.9 was release 2 years ago.\n\n~~~\nsrean\nYes, but am quite happy and impressed to see how well Pypy is holding up.\n\nSomething that I have learned about reading benchmarks is to pay attention to\nwho is coming consistently second. Usually that is the most informative part\nof a benchmark.\n\n------\nrch\nThis just translates Python syntax into JavaScript, assuming a direct\ntranslation is possible.\n\nNeat, but a more compelling post would compare with CoffeeScript and check\nbuild times, high-level syntax, and features like generators, list\ncomprehensions, itertools, functools, and so on.\n\nEdit: why the downvote? Am I incorrect about something? If so, I'm genuinely\ncurious to know what I'm overlooking here.\n\nEdit 2: I went over to the github page and it is in fact a 'transpiler',\nthough it can run self-hosted in node, and the features list includes both\nlist comprehensions and yield (i.e. generator functions). It looks like the\nitertools and functools libraries aren't supported yet, but doing so really\nwouldn't be too difficult. CoffeeScript is a direct output option too.\n\n~~~\nPacabel\nDon't worry about the downvotes. Things have gotten pretty bad around here\nlately, especially after the whole \"downvote if you disagree\" policy was\nencouraged.\n\nA lot of totally correct and perfectly valid commentary ends up getting\ndownvoted these days, often with no attempt made to explain why. It's\nparticularly likely to happen when members of the Mozilla, JavaScript or Rust\ncommunities are involved. They're particularly sensitive to anything that\nmight contradict their beliefs, and apparently they're particularly eager to\ndownvote, for whatever reason.\n\nThese days, many of us have started to read all of the downvoted comments.\nAside from occasional spam, they're often among the most insightful comments\nin any given thread.\n\n~~~\ndbaupp\n_> often with no attempt made to explain why. It's particularly likely to\nhappen when members of the Mozilla, JavaScript or Rust communities are\ninvolved_\n\nYour repetitive comments about Rust's instability almost always receive a lot\nof feedback about why they are incorrect and/or invalid.\n\n~~~\nPacabel\nThe Rust mis-votings are quite absurd.\n\nIn no way can Rust be considered \"stable\". The most recent version is 0.10\n(that is, it's still very pre-1.0), it's undergoing significant breaking\nchanges on an ongoing basis, and even its home page warns that \"Rust is a\nwork-in-progress and may do anything it likes up to and including eating your\nlaundry.\"\n\nAnyone who points out that Rust is just not stable yet is absolutely correct.\nAnyone who points out that it's looking unlikely that it will be stable before\nthe promised end-of-2014 deadline for 1.0 is also correct.\n\nIt doesn't matter who points out these facts, or how many times they do so.\nThe facts are still facts, and whoever expresses them is totally correct.\n\nMy suspicion is that the inappropriate downvoting is just immaturity on the\npart of the Rust developers. I realize that it can hurt to face valid\ncriticism of one's work, but an important part of being a professional adult\nis to consider such criticism rationally, and to learn how to improve based\nupon it. Engaging in censorship of facts, however, completely contradicts with\nself-improvement.\n\nIt renders the voting system useless when it's incorrectly used to censor\nothers, due to a lack of emotional control on the part of the person misusing\nthe system.\n\nIt's one thing to downvote blatant commercial spam that has no inherent value.\nIt's harmful to downvote perfectly legitimate commentary that you may just\nhappen to disagree with, however.\n\n~~~\ndbaupp\nIt has been demonstrated time and time again why your comments are either\nincorrect, or a mischaracterisation of the situation.\n\n~~~\nPacabel\nIt's clear that Rust isn't stable yet, and won't be for a long time. It's\nimpossible for me or anyone else to be incorrect when we point out that very\nreal fact.\n\nIf you feel the need to vote down perfectly legitimate comments merely\nexpressing a truth that you dislike, so be it. I can't stop you, and the\nothers you've chosen to target can't stop you, either. However, reality will\nbe reality, regardless of the voting. Rust will still remain unstable no\nmatter how many down arrows you click.\n\n~~~\ndbaupp\nThe problem is not saying that Rust is currently unstable, it is you taking\nthe leap to saying that Rust will never be stable.\n\n~~~\nPacabel\nWell, the trend so far has been a serious lack of language and library\nstability, and there's very little to suggest that the situation will change\nany time soon.\n\nStability isn't something that happens overnight. It takes a lot of\ndiscipline, and this discipline has to be ingrained within the very project\nitself. I don't see this as the case with Rust.\n\n~~~\nkibwen\nIf you were following Rust at all you would know that they are aggressively\nrejecting requests for new features in order to produce a stable release, and\nhave five full-time developers working on clearing release blockers.\n\n------\nmillstone\nPython has bignums by default. I was curious how PythonJS implemented bignums,\nso I tried it, and the answer is: it doesn't. It just uses ordinary JavaScript\ndoubles.\n\nThis is a critical difference that ought to be called out, especially in the\n\"add\" micro-benchmark, which is measuring two very different things in the two\nimplementations.\n\n~~~\nbretthartshorn\nPythonJS has support for 64bit integers using the Long.js library. You just\nneed to type your variable as \"long\". Numbers larger than 64bits could also be\nsupported with another library and simple modifications to the translator.\n\n[http://pythonjs.blogspot.com/2014/06/64bit-integer-long-\ntype...](http://pythonjs.blogspot.com/2014/06/64bit-integer-long-type.html)\n\n------\nvomitcuddle\nIf this project gains more traction, maybe it will get more people interested\nin Dart. (which is essentially javascript with a standard library reimagined\nfor the things people are using javascript for today: async APIs, stream\nprocessing, mapreduce, webapps, etc.)\n\n~~~\nshadowmint\nNothing wrong with Dart (other than lack luster adoption) but I'm not sure a\nsurge in interest of people using it as a dropin backend for compile-to-\njavasvript targets is really going to drive the sort of developer adoption\nyou'd really be looking for.\n\n------\nspullara\nNear as I can tell, because CPythong is so tied to native code at every turn,\nnone of the other VMs have any real chance of success without bridging to\nthem.\n\n~~~\nShish2k\nNice to see I'm not the only one who has a habit of accidentally adding a \"g\"\non the end of \"python\". Still no idea _why_ that happens though...\n\n------\nzorbo\nAh yes, the old X is faster than Y pointless nonsense. Let's ask the basic\nquestions that always come to mind:\n\n\\- Does X do all or at least most that Y does?\n\n\\- Are the benchmarks sane? I.e. not the pointless arithmetic fibonacci that\nnobody really uses, but the useful stuff such as regexps etc.\n\n------\npfraze\nPython in the browser would be pretty fun. Congrats on the speed improvements.\n\n------\nanilshanbhag\nPyPy uses JIT to generate optimized code during runtime. As many comments\nnoted, PythonJS may not support all Python features but still don't understand\nwhy PyPy performing worse than PythonJS.\n\n~~~\namirouche\nYou know JIT? I mean does it scale to run the JIT in the browser? I will say\nmaybe. All people that do compiler stuff I asked the question think that it's\nnot.\n\n------\nSnowLprd\nThe comparisons to PyPy would be much more meaningful if they weren't based on\na version of PyPy that's _over two years old_ : PyPy 1.9 was released in 2012.\n\n~~~\nbretthartshorn\nI've posted updated benchmarks with the latest PyPy 2.3.1\n[http://pythonjs.blogspot.com/2014/06/pythonjs-faster-than-\ncp...](http://pythonjs.blogspot.com/2014/06/pythonjs-faster-than-cpython-\npart2.html)\n\n------\npandler\nI'd be interested to see how it stacks up against other python-to-js\nconverters in terms of both speed and supported python features.\n\n------\ncoherentpony\nIt'd be interesting to see a comparison with CPython with the 'numpy' backend\nusing a vectorised code.\n\n~~~\nbretthartshorn\nHere is a new benchmark testing PythonJS using SIMD vectorized code in the\nDartVM vs CPython with NumPy. [http://pythonjs.blogspot.com/2014/06/pythonjs-\nsimd-vectors.h...](http://pythonjs.blogspot.com/2014/06/pythonjs-simd-\nvectors.html)\n\n------\nzzleeper\nNitpick: vertical text is really hard to read, sp if the image is compressed\nlike that. Next time please use some bars instead of columns!\n\nAsides from that, this looks quite promising!\n\n------\nbayesianhorse\nPythonJS might win importance if there was a framework to build webapps with\nit. Otherwise it's only a curiosity...\n\n"} {"text": "\nWhy Nightingales Are Snubbing Berkeley Square for the Tiergarten - Tomte\nhttps://www.theguardian.com/environment/2019/apr/13/nightingales-snubbing-london-for-berlin-tiegarten-germany\n======\n__m\nNot an ornithologist, but I suppose they want to lose easy access to the\nworld\u2019s biggest single market\n\n~~~\nar0\nAnd, luckily for them, they don\u2018t need an airport to be able to land in the\ncity.\n\n~~~\ngumby\nLuckily for the rest of us the new airport should be ready by 2012.\n\n"} {"text": "\n\nRegulators looking at antibacterial in soap - frankus\nhttp://www.reuters.com/article/idUSTRE63759M20100408\n\n======\nchaosmachine\nADA seems to think Triclosan is just fine in toothpaste:\n\n[http://web.archive.org/web/20071024144101/http://www.ada.org...](http://web.archive.org/web/20071024144101/http://www.ada.org/prof/resources/pubs/adanews/adanewsarticle.asp?articleid=1375)\n\n"} {"text": "\nMy Setup: Passwords, 2FA, and Yubikeys - captn3m0\nhttps://captnemo.in/blog/2020/01/04/security-setup/?2\n======\ncaptn3m0\nI recently moved to running my `pass` setup against my Yubikey and wrote about\neverything surrounding it, including the various failure modes I could think\nof.\n\nRunning GPG/SSH alongside `pass` on the Yubikey was a gradual process, but I'm\nso glad I managed to get it working correctly. Open to suggestions if there's\nanything HN thinks can be improved :)\n\n"} {"text": "\n\nEdward Snowden says British spy agency GCHQ 'worse' than NSA - SonicSoul\nhttp://www.globalpost.com/dispatch/news/regions/europe/united-kingdom/130621/edward-snowden-gchq-tempora-worse-nsa-prism\n\n======\ndaledavies\nTime to dust off the IP Over Avian Carriers RCF maybe?\n\n~~~\nmilliams\nThen all they have to do is stop the pigeon\n([https://en.wikipedia.org/wiki/Dastardly_and_Muttley_in_Their...](https://en.wikipedia.org/wiki/Dastardly_and_Muttley_in_Their_Flying_Machines)).\n\n"} {"text": "\n\nTraits Of Stellar Managers, Defined By Googlers - amirmc\nhttp://www.businessinsider.com/8-traits-of-stellar-managers-defined-by-googlers-2011-3?op=1\n\n======\ncitizenkeys\nWhat's interesting from the article is the internal Google survey revealed\n\"Technical skill\" was the absolute least important trait that Googlers sought\nin a manager.\n\nThis is not unlike the brief failed experiment years ago where Google tried to\nget rid of managers entirely and have teams report directly to engineers. The\nlesson from that was engineers are best left to do engineering and managers\nare best left to manage.\n\n"} {"text": "\nDear HN: Please don't start a response with the word \"wrong.\" - samd\nExample:\nDave: The sky is green.\nBob: Wrong. The sky is blue.

It just makes you look like an asshole. Be more tactful and civil in your discussions. I promise you people will respond more favorably if you don't come out the gate blaring a buzzer like a game-show host.\n======\nseiji\n_Be more tactful and civil in your discussions._\n\nNot every opinion is valid or deserving of civil rebuttal. It's a result of\nmodern \"every opinion is equally valid as fact\" syndrome. We don't have time\nto cordially try to rewire your brain to think the sky isn't green.\n\nAlso, when trolls are trolling, they _want_ elaborate thought out responses to\ntheir drivel. It's easier to shut them down with \"wrong.\" And, as we know, you\ncan't distinguish an intentional troll from someone with sincerely warped\nviews of the world.\n\nIn short, shut it all down. They should be inspired to research their\nwrongness to turn into more right-thinking apes.\n\n[relevant life story: one of my high school math teachers had a big \"WRONG\"\nstamp (with red ink) he would enthusiastically smash onto your work if you\nwere, well, wrong.]\n\n~~~\nmgallivan\nWe should shut down other people who are being needlessly facetious.\n\nBut to suggest that rejection should be our default behavior is absurd.\nDiscussion should be encouraged because, more often than not, neither side is\n100% correct. The way we further ourselves is by talking to those people with\ndissimilar views.\n\n~~~\nseiji\n_more often than not, neither side is 100% correct._\n\nYou are very right. The problem is when one side stands up and says: \"We are\nobviously right. We will never change our opinions or ideas. You must agree\nwith us or die.\"\n\nAt that point, the reasonable side doesn't have any options left. You can't\nargue with crazy.\n\nTake the current US Congress situation. One side is saying, \"We want to hurt\nyou.\" The other side isn't saying \"Okay, how much do you want to hurt me?\nLet's find a compromise where you can just cut off my hand.\" No. The only way\nto stop American elected terrorists is to tell them \"No.\"\n\nIf people have valid points, you can draw out truth. If they have points based\non pride, ego, or falsely implanted childhood memories, you can't do anything\nproductive except stop them. If that doesn't work, ignore them.\n\nTopics of note which regularly draw out crazy people from one side: nobody\nneeds college, X city is better for startups, religion Y is right, bitcoin is\na \"currency,\" (or anything else getting 400+ comments around here).\n\n------\nifyoumakeit\nI'm dealing with that right now. Completely negating someone's opinion only\nshuts down communication. It's all in the phrasing and makes it sound like you\nare on different teams, especially in a work environment.\n\n~~~\npalidanx\nWhen doing consulting and engaging a sensitive issue, I always begin with,\n\"Correct if I'm wrong, is this how this feature is supposed to work...\"\n\nWhat this does is diffuse a tense situation and allow the client to issue a\ncorrection without feeling bad.\n\n~~~\nifyoumakeit\nI think that's a great approach, especially when handling a new client. The\nworst situation is landing a client who also personally designed or developed\nthe last iteration of their website or app. They need to be dislodged from the\nwork they've done and sometimes that takes kid gloves.\n\n------\nkohanz\nOf any of the proponents of the \"Wrong. ...\" response, I wonder how many would\nuse this phrasing face-to-face as opposed to online. Unlike my younger days, I\ndo my best now to converse online as I do and would IRL and I find that this\nis one of those phrases that does not pass that test. IRL it would be\nconsidered plain rude and obnoxious.\n\n------\nfrou_dh\nIf this is pet peeve time then I'll go with the alarming number of sentences\npeople want to start with the word \"So\". It makes you sound like you're in\nconstant rebuttal mode and trying to lay out the one true world view.\n\n------\nmarssaxman\nYeah, I've noticed this. It doesn't work.\n\n------\ninformatimago\nWrong. People should learn to make the difference between an sentence they're\nissuing being wrong or false, and they being bad. \"wrong\" does not mean\nthey're bad persons. Perhaps at most that they're lazy or bad thinkers. That's\nall. In any case when something is wrong, it would be wrong not to stop it\nimmediately, telling it wrong.\n\n"} {"text": "\nIf Everyone Ate Beans Instead of Beef - screamingninja\nhttps://www.theatlantic.com/health/archive/2017/08/if-everyone-ate-beans-instead-of-beef/535536/\n======\njbdigriz\nKind of telling the article makes no mention of what degree this shifts\n\"greenhouse gas\" generation from cows to people. Quite ironc considering they\nare suggesting beans to be used.\n\n"} {"text": "\n\nKrugman reviews Geither's book - mooreds\nhttp://www.nybooks.com/articles/archives/2014/jul/10/geithner-does-he-pass-test/?insrc=hpss\n\n======\nwarmfuzzykitten\nThe man's name is Geithner.\n\n"} {"text": "\n\nTeam USA Giant Robot Duel - cjm\nhttps://www.kickstarter.com/projects/megabots/support-team-usa-in-the-giant-robot-duel?new=yes\n\n======\nJoeAltmaier\nCool; but what are Suidobashi Heavy Industry up to in the mean time? This will\nbe epic.\n\n"} {"text": "\nAsk YC: How Big Is the HN Team? - Kinnard\nHow big is the HN team @ Y-Combinator?\n======\nmtmail\nBest way to reach the moderators is to email hn@ycombinator.com. They've been\nquiet responsive in the past. Personally I think it's one person only.\n\n~~~\nMz\nNo, it is not one person. There is one paid moderator who is the face of HN.\nBut, I know there are others who do moderation work.\n\nI am not clear on the details. My impression is they have no plans to divulge\nall the details.\n\n"} {"text": "\n\nExclusive Interview: Hacking The iPhone Through SMS - edw519\nhttp://www.tomshardware.com/reviews/hacking-iphone-security,2384.html\n\n======\ntptacek\n_Charlie: The iPhone bug has to do with telling the phone there is a certain\namount of data, and then not sending it as much as you said you would. The\nfunction that reads the data starts returning -1 to indicate an error, but the\nother parts of the program don't check for this error and actually think the\n-1 is data from the message. This shows how complex it can be to write secure\ncode, as separately, each part of the program looks correct, but the way they\ninteract is dangerous!_\n\nOUCH.\n\nIf there's an industry contest I'd like to referee now, it's fuzzers vs.\nstatic analysis. Industry spends a cubic shit-ton on static analysis (for\ninstance, find an F-500 that doesn't have a couple copies of Fortify gathering\ndust). But fuzzers appear to be kicking ass in terms of actual findings, and\nvendors don't invest nearly as much into them.\n\n(Static analyzers parse and symbolically analyze source code or binaries\nagainst rules, like taint propagation and API blacklists; fuzzers mimic actual\ninputs to real running systems and vary those inputs maliciously over minutes,\nhours, or days).\n\n~~~\najross\nI continue to find it amazing that people don't routinely fuzz their protocol\nhandlers. It's a test that you can literally write in 10 minutes.\n\n~~~\ntptacek\nEspecially if you're the actual developer. 80% of the time it takes to write a\nthird-party fuzzer goes into reconstructing the target's protocol or API from\nscratch.\n\n------\neuroclydon\nThe SMS handling process runs as root. The protocol is used for all kinds of\ndevice <\\--> network traffic. Developers have the ability to make these SMS\nmessages look however they want them to. Users have no indication when a\nmalicious SMS is received.\n\nI think we may see some real exploits happen soon.\n\n"} {"text": "\nThere Are 13 Quotations in a U.S. Passport. Guess How Many Are from Men? - cbhl\nhttps://www.nytimes.com/2020/02/28/travel/american-passport-quotes-women.html\n======\ndownerending\nGiven that nobody even looks at these, it doesn't seem very important.\nPersonally, I'd prefer a raise instead.\n\n"}