diff --git "a/cache_100_200_1000_512/test/hackernews_ngram_13_0.8.jsonl" "b/cache_100_200_1000_512/test/hackernews_ngram_13_0.8.jsonl" new file mode 100644--- /dev/null +++ "b/cache_100_200_1000_512/test/hackernews_ngram_13_0.8.jsonl" @@ -0,0 +1,1000 @@ +"\n\nSome unpleasant truth - eccstartup\n\n* Coders will become cheap in the near future.\n* The `boomer` of coders are getting old.\n* You always need to learn mathematics if you gonna be a coder.\n* Computer science is a topic who deals with fancy words and abbreviations.\n* Statistics is not pure mathematics.

You can add to this list whether you agree with these or not, because it is GPLv3 license.

https://gist.github.com/eccstartup/8bea6bf21f77054d3e4b\n======\ncsirac2\nAs someone who studied engineering I have to say my maths skills have only\natrophied enormously since becoming a full-time developer.\n\nWhich is a shame, I see software sometimes that appears to have some special\nheuristics in there when I'm sure a standard statistical technique would've\nachieved the same or better result.\n\nI have a theory that the info-sec industry would benefit from folks with\nrobust stats/data-mining/\"big data\"/algorithms training (in a lot of ways\nbioinformatics people are solving similar-looking problems).\n\nEdit: Yes, [http://securabit.com/2014/10/03/securabit-\nepisode-129-bioinf...](http://securabit.com/2014/10/03/securabit-\nepisode-129-bioinformatics-and-infosec/) said the same thing... :)\n\n~~~\nBahamut\nAs someone who studied mathematics at the graduate level & also moved to\nsoftware engineering, my math skills have also atrophied, but my problem\nsolving ability is still as top notch as ever - that" +"\n\nHidden method of reading revealed - aston\nhttp://news.bbc.co.uk/2/hi/science/nature/6983176.stm\n\n======\nwhacked_new\nGlad to see this posted here.\n\nKim Peek ( ) supposedly reads two\npages at the same time, left page with left eye, right page with right.\n\nI hope there is some followup study on split-brain patients.\n\n------\nFatBastard\nThey need to study the difference between familiar and unfamiliar words. They\nprobably note this in the conclusion of the actual paper. I speculate that\nunambiguous and familiar words are recognized whole (in the same way a chess\nmaster recognizes the pattern of the whole board), and kids and adults finding\na new or ambiguous word look at each letter and pause there to figure it out\n(like a chess novice looks at each piece and can only anticipate the next\nmove). I hope this work isn't used as ammunition in the whole word vs\nphonetics holy war.\n\n------\nsoundsop\nThe article doesn't really explain how reading occurs, although perhaps the\noriginal paper does. All the article says is that your eyes sometimes look at\ndifferent spots.\n\n------\nahsonwardak\nI've also heard that a classic way for speed-reading is to then focus on the\nmiddle of each line of test." +"\nFooling the masses with performance results on parallel computers (2010) - jsnell\nhttps://blogs.fau.de/hager/archives/5260\n======\nmpweiher\nOne of my favorites of these is only showing the speedup...\"scales linearly\",\nwithout comparing to a non-parallel baseline. First time I saw this was with\nClik, which reported linear scaling. I was impressed, until I found out that\nthe parallel version was 6x slower on a single CPU than the sequential\nversion.\n\nSimilar with a SPJ talk on parallel Haskell (can't find it right now). Big\nclaims about this being the One True Way, and then required four cores to\nmatch C sequential case. Hmmm.\n\nUPDATE:\n[https://www.youtube.com/watch?v=NWSZ4c9yqW8](https://www.youtube.com/watch?v=NWSZ4c9yqW8)\naround the 1h 10min mark. Four cores to match sequential C (previously had\nwritten six, was wrong)\n\n~~~\nadrianN\nSee also \"Scalability! But at What COST?\"\n[https://www.usenix.org/system/files/conference/hotos15/hotos...](https://www.usenix.org/system/files/conference/hotos15/hotos15-paper-\nmcsherry.pdf)\n\n~~~\nmpweiher\nAhh, yes, the Configuration that Outperforms a Single Thread. I think this\nshould be a standard + required measurement.\n\n------\nAthas\nHow come reviewers let this stuff pass in papers? While some of the issues are\nsubtle (inventing more work or mangling the algorithm), some of the graph-\nbased tricks are pretty obvious.\n\n------\nwcrichton\nThis reminds me of my favorite paper: \"Scalability! But at what COST?\"\n\n[https://pdfs.semanticscholar.org/6753/959eed800e9fad9e330daa...](https://pdfs.semanticscholar.org/6753/959eed800e9fad9e330daae43f81b7a48017.pdf)" +"\nHosting for Node.js apps done right - kertof\nhttp://www.evennode.com/\n======\npkorzeniewski\nOne question - does it support TCP sockets? I've evaluated a dozen or so\nNode.js hosting solutions and none (0, null, nil) supported TCP sockets.\nHTTP/S and WebSockets only. It's ridiculous - a TCP server is a major use case\nfor Node.js and yet if you want to host it, you must configure and\nadministrate your own server (on EC2 or whatever).\n\n~~~\nDuhck\nWe had the same problem. We actually wanted to use Heroku just for pre-\nproduction as it was the easiest to deploy / manage, but their TCP socket\nimplementation is such a joke.\n\nWe would up just using AWS, and sunk a few days into dev / sys ops.\n\nI would happily pay for a solution to this problem\n\n~~~\nyannski\nCould you elaborate a bit on \"their TCP socket implementation is such a joke\"\n? Are you talking about the Ruppell's Sockets addon ? What's your problem with\nit ? What could be an improvement to it ?\n\n~~~\npkorzeniewski\nI've also evaluated Heroku and the Ruppell's Sockets, so I can answer this\nfrom my point of view. The problem is that it's a" +"\n\nAsk HN: KDE vs. GNOME, which is better? - Scott_MacGregor\n\nWhich of these two do think is better, and what makes it better?\n======\njamesbritt\nBetter for what?\n\nI like kde3 over gnome for assorted config options (like different backgrounds\non each desktop) but maybe that makes no difference to others. On the other\nhand kde4 copies the most annoying ui features of Vista so I avoid using it.\n\nThese are also not the only windows and desktop managers, so why is the choice\nbetween those two?\n\n~~~\nmakecheck\nYes...for instance, I've always used Window Maker on Linux.\n\n------\nr11t\nGnome-Do which in-spite of its name works with both Gnome and KDE is basically\na Quicksilver inspired launcher : is the perfect\npower tool for Linux Desktop users.\n\n------\njcapote\nWindowMaker" +"\n\nFirst Extraterrestrial Hydrothermal System Found on Saturn's Moon Enceladus - mryall\nhttp://www.scientificamerican.com/article/first-active-hydrothermal-system-found-beyond-earth/?ref=hn\n\n======\nmryall\nIt's amazing how much we still have to learn about our own solar system, and\nstaggering how long the research takes.\n\n> Cassini is scheduled for three more encounters with Enceladus, including one\n> final plunge through a plume, before it is sent to a fiery death in Saturn\u2019s\n> atmosphere to avoid crashing into and contaminating the ringed planet's icy\n> moons.\n\nGreat that they're thinking in advance about this stuff. Would be a shame to\ncontaminate our best chance of discovering microbial ET with spores from\nearth." +"\nAfter 7 years of blogging in German, I am switching to English. Here is why - imartin2k\nhttp://meshedsociety.com/fighting-the-language-fragmentation/\n======\na_bonobo\nI used to blog in German for a relatively large German portal and stopped\nbecause I couldn't stand the commenting behaviour by Germans - where in\nUS/English sites you get 50% joking, 49% niceness, and 1% insight in German\nyou get > 80% nitpicking and complaining, especially hard when we played\naround and experimented with (un)gendered nouns in German. Killed all the fun\nfor me, Germans are strange.\n\n~~~\nSvip\n> where in US/English sites you get 50% joking, 49% niceness, and 1% insight\n\nPlease show me this alternate internet!\n\n~~~\nstdbrouw\nI think we're talking about professional blogs and niche content in\nparticular, not news sites or Reddit.\n\nI've also noticed that Americans are generally more encouraging of new ideas,\neven if they're not fully thought out and a bit wacky, whereas when I used to\nwrite similar stuff in Dutch, I always got a collective \"meh\". Part of it is\njust the fact that more readers almost automatically equals more encouragement\nand sharing, but I can't help but think culture has something to do with it\ntoo.\n\nOf" +"\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." +"\nGoogle Patents Gears - pierrefar\nhttp://appft1.uspto.gov/netacgi/nph-Parser?Sect1=PTO2&Sect2=HITOFF&p=1&u=%2Fnetahtml%2FPTO%2Fsearch-adv.html&r=1&f=G&l=50&d=PG01&S1=20080301221.PGNR.&OS=dn/20080301221&RS=DN/20080301221\n======\ndchest\nLooks like Gears, but I can't find a word about Google in this text.\n\n~~~\nevgen\nPeople file patents, not companies. The people then assign ownership to the\ncompany. Erik Arvidsson's blog clearly shows he works at Google and while\nAndrew Palay does not have a blog his $4600 donation to the Obama campaign\nreveals that he also works at Google.\n\n------\nshabda\nDo no evil?\n\n~~~\nimp\nOr at least protect their ass from those that are evil.\n\n~~~\nshabda\nYes, as patent trollling is a good way to do that.\n\nHow is when Amazon tries to patent single click checkout, that is evil, but\nwhen your favorite company does the a frivolous patent, that is just\nprotecting their ass?\n\nAlso related read: [http://googlepublicpolicy.blogspot.com/2007/09/reforming-\npat...](http://googlepublicpolicy.blogspot.com/2007/09/reforming-patents-\npromoting-innovation.html) (Google's official policy on patents.)\n\n~~~\nalexandros\nWithout going into the frivolity of each patent, let's not forget that Amazon\nhas actually used their patent aggressively against Barnes and Noble.\n\n" +"\nJohnston Sans: The Tube typeface that changed everything - Jaruzel\nhttp://www.bbc.co.uk/news/magazine-35916807\n======\njimothyhalpert7\n> \"Having the serifs on makes things more difficult to read, there's more for\n> the eye to take on,\" says Steel.\n\n[https://en.wikipedia.org/wiki/Serif#Readability_and_legibili...](https://en.wikipedia.org/wiki/Serif#Readability_and_legibility)\n\n> Serifed fonts are widely used for body text because they are considered\n> easier to read than sans-serif fonts in print. However, scientific study on\n> this topic has been inconclusive.\n\n~~~\nred_admiral\nI don't think that's a contradiction - I'd guess that sans serif is indeed\nmuch easier to read specifically on _signs_.\n\nWhen the UK designed its road/motorway signs they conducted all kinds of\nusability studies and ended up designing the Transport typeface; just about\nany country I've been to in Europe uses sans typefaces for roadsigns and\nstation/tube/airport signs.\n\nThe jury may well still be out for body text in books and other publications.\nThat's not the problem Johnston was asked to solve though.\n\n~~~\ntheandrewbailey\nThe US (and most of North America, it seems) also use sans serif road signs.\n[https://en.wikipedia.org/wiki/Highway_Gothic](https://en.wikipedia.org/wiki/Highway_Gothic)" +"\nIn Recession, Japanese Lay Off Robots - peter123\nhttp://www.nytimes.com/2009/07/13/technology/13robot.html?_r=1\n======\npatio11\nThis is just a subset of \"capital investment goes down in economic downturns,\nand up in boom times\". The local robot manufacturers are doing poorly because\nthe local automobile industry (which is the largest driver of _every_ industry\nin central Japan) is doing poorly.\n\nAfter the economy recovers and A Certain Automobile Manufacturer starts\nselling its Ridiculously Popular Hybrid to Americans by the container ship\nagain, the factories around here will get spun back up again. Until then\neverybody is just waiting it out, with a lot of belts being tightened and\nbudgets being squeezed. The companies who are in a position to concentrate on\nthings other than survival are doing R&D to have something to attract the\ninevitable tidal wave of cash that will accompany a recovery.\n\n~~~\ntc\n_After the economy recovers and [Toyota] starts selling its [Prius] to\nAmericans by the container ship again_\n\nI would not so casually assume that this will happen. The current downturn is\nin many respects unprecedented, and all of the long-term trend lines are bad.\n\nPeople tend to look at a limited set of examples that show the US recovering" +"\nAsk HN: What do you do on the weekends? - mburney\nHey HNers,

I realized that I've been working too hard on my startup, so I decided to force myself to take weekends off.

I've found it to be a lot harder than I expected. Since I've lost touch with most of my friends and I am single, sometimes I'm at a loss what to do when I'm not working.

I'm 28, and not too excited these days about drinking or partying throughout the weekend. I have a side-hobby (jiu jitsu) but I usually do it on the weekdays just before I get started on my work.

I find myself wanting to read a book on compilers, or think about marketing or something startup-related, but I force myself not to do those things, since it seems too work/tech related.

So I'm wondering, what do you guys do on your time off? How do you achieve that work-life balance?\n======\nSukotto\nI have 2 kids and an infant. My wife works most weekends (fri noon through sun\nnight) so I spend my weekends as \"single dad\".\n\nLots of playing on the floor, going to the park, cooking, and that sort of\nthing.\n\nIt's a reasonably good" +"\nLet \u201cQUIPU\u201d organise your research so you spend more time to explore content - biyanisuraj\nhttp://quipu.tilda.ws/\n======\nbiyanisuraj\nThe very best startup ideas tend to be something the founders themselves want,\nthat they can build, and that few others realise are worth doing\n\nRegister your interest for early Beta access at -\n[http://quipu.tilda.ws/](http://quipu.tilda.ws/)\n\nI want to make QUIPU so that knowledge seekers, like myself, can have all the\nexplored content organised, connected & displayed in real time.\n\nNo more time spent on indexing, trying to remember where that statistic came\nfrom, or keeping 50+ tabs open to avoid dropping a line of inquiry.\n\nClear representations of research information can be created from the\n\u201cdigitally exhaustive information\u201d we create when combined with powerful\nartificial intelligence to do the organising.\n\nPlease us know what you think about it." +"\nPoop Is Raining from the Sky in Canada, and the Government Says It's Not Planes - pseudolus\nhttps://motherboard.vice.com/en_us/article/wjbm3w/poo-raining-from-the-sky-in-canada-government-says-not-planes\n======\nNerdfest\nI'm assuming it's the spinning up of \"Space Force\".\n\n------\ngregoriol\nIn 2018, none of the people impacted took pictures?..\n\n------\nh_r\nNobody managed to get a sample? This has to be easy to prove it's bird waste\nor not, right? Or that it has plane system chemicals in it.\n\n------\ntqkxzugoaupvwqr\nIf it\u2019s not coming from a plane then maybe someone has fun freezing poop and\nlunching it into the air.\n\n------\nENTP\nSounds like a shitstorm\n\n------\nmchahn\nBig blue birds?" +"\nHave Disneyland fans finally reached their limit? - spking\nhttps://www.mercurynews.com/2019/08/13/have-disneyland-fans-finally-reached-their-limit/\n======\nilamont\nThe article neglects to mention the huge drop in international visits to the\nU.S. in recent years. Quoting a USA Today article from last week:\n\n _U.S. visits as a portion of total global travel fell to 11.7% last year from\na high of 13.7% in 2015, according to the travel group and Oxford Economics.\nThat has resulted in losses to the U.S. economy of 14 million international\nvisitors, $59 billion in traveler spending and 120,000 U.S. jobs._\n\nSource: [https://www.usatoday.com/story/money/2019/08/09/travel-\ninter...](https://www.usatoday.com/story/money/2019/08/09/travel-\ninternational-visits-u-s-forecast-keep-falling/1942922001/)\n\nI know Disneyland and Disneyworld have traditionally been popular destinations\nfor foreign tourists; it's reasonable to assume that if overall international\ntravel is down the number of foreign visitors to the parks is also down, even\nbefore factoring in the high prices everyone has to pay to get into the parks.\n\n~~~\nstevenjohns\n> The article neglects to mention the huge drop in international visits to the\n> U.S. in recent years. Quoting a USA Today article from last week:\n\nPart of this might be the ever-stronger US dollar. Five years ago, AUD$1 would\nbuy about USD$0.94. Now it buys USD$0.68, making the trip to the US" +"\nIntel announces Cascade Lake Xeons: 48 cores and 12-channel memory per socket - rbanffy\nhttps://arstechnica.com/gadgets/2018/11/intel-announces-cascade-lake-xeons-48-cores-and-12-channel-memory-per-socket/\n======\nSantiagoElf\nDesperate move by Intel. They are stuck with Cascade Lake until 2021, when\ntheir 'new' architecture will be available. In order this Xeon to be under\n300W TDP, they disabled the Hyper Threading and when they benchmark vs AMD\nEpyc they disabled AMD's SMT. Just wow.\n\n~~~\neinr\nNot only that, but they also apparently recompiled Linpack with the Intel\ncompiler -- which is notorious for favoring Intel chips -- before running the\nbenchmarks. Some really shady stuff going on here.\n\n~~~\ngeezerjay\nOn the other hand, these shady practices are a testament to AMD's technical\nsuperiority, as the incumbent is showing himself to be very desperate to react\nalthough it has absolutely no answer to AMD's new line of products.\n\n~~~\nKoshkin\nAMD does not have techinal superiority, as Intel cores have better single-\nthread performance. Look at the recent low-end i3-8100 - it is an amazing\nchip.\n\n~~~\napi\nSingle-threaded performance is a toss up and depends on work load. Overall AMD\nbeats them on price/performance and multithreaded performance, which matter\nmore for everything but some games and a few not" +"\nPalm - chrisdroukas\nhttps://www.palm.com\n======\naarpmcgee\nI feel like the only one who thinks this is kind of awesome. I want a small\nphone. As small as possible, that can still text and act as an LTE hotspot,\nwith very basic browsing, and Spotify. I want that. The iPhone SE was perfect\nfor me.\n\n~~~\nTeMPOraL\nPhones are my go-to real example of different people expecting mutually\nexclusive things from the same type of product. You want a phone as small as\npossible. I want it as _large_ as possible.\n\n~~~\nanfilt\nI don't understand the need for a large phone. If I need a large screen, I\njust use my laptop or desktop. Moreover, without a proper keyboard I mostly\njust read a tad bit of text. You don't need a massive screen for that.\n\n~~~\nTeMPOraL\nPhotos look better on a larger screen. Especially when you want to show them\nto other people. Say, you meet some friends in a caf\u00e9, and want to show them\nyour vacation photos.\n\nYou can fit more text on a larger screen, which makes it better for reading.\nYou can fit more icons, widgets, etc. It's easier to do precise taps.\n\nBasically," +"\nShow HN: Simple Print \u2013 Convert web articles into printable PDFs - k1m\nhttp://pdf.fivefilters.org/simple-print/\n======\njclos\nThis would be insanely more useful if it could display math correctly. For\nexample, most of the math in [https://colah.github.io/posts/2014-03-NN-\nManifolds-Topology](https://colah.github.io/posts/2014-03-NN-Manifolds-\nTopology) only shows the LaTeX code.\n\n~~~\nk1m\nThanks, we'll have to look into that.\n\n------\nhedora\nHey, five filters contributors: I\u2019m a big fan of you work. How hard would it\nbe to make a web proxy type service that produced static html with working\nlinks instead of a PDF?\n\nThe idea is to strip out all of the JavaScript before it even hits the client.\nPeople could then use it exclusively for news reading. I suspect it would\nreduce bandwidth and client side energy as well as block essentially all web\ntrackers.\n\nI ask because it looks like you\u2019ve done most of the heavy lifting between this\nand your full-text RSS feed service.\n\nThanks!\n\n~~~\njahewson\nTracking can be done with tags and (recently) with CSS.\n\n~~~\nhedora\nThe idea is that everything would run through a normalizing presentation layer\n(like the PDF converter and RSS full text services do), and only the\ninformation needed for rendering would be sent" +"\nMultiple Vulnerabilities in IBM Data Risk Manager - Daviey\nhttps://github.com/pedrib/PoC/blob/master/advisories/IBM/ibm_drm/ibm_drm_rce.md\n======\nreader_1000\nThe way IBM handles this is pretty bad. No company, especially the ones\nselling a security product, should ignore security researchers reports and\nfeedbacks\n\nAlso the bugs described in article are quite surprising since for a IBM-sized\ncompany, you expect them to have solid authentication/authorization framework\nwhich they use for all their products. Is this a acquired product?\nAuthentication mechanism is very unusual. Why would anyone save a session id\ncoming from the user? This is more than trusting user input, I think.\n\nAlso ../../etc/passwd attack is a kind of vulnerability that almost every\nautomated vulnerabilty scanner scans.\n\nMost people assume that authenticated pages do not need that much security\nprecautions however as articles shows, when combined with authentication\nbypass vulnerabilities, you basically give keys of your systems to the\nattacker.\n\n~~~\nosipov\n>you expect them to have solid authentication/authorization framework which\nthey use for all their products\n\nhaha\n\n------\nteepo\nAccording to IBM this is not even an active product [1]. Although after some\nreading it does appear that if a client was still using this solution and was\npaying for extended support that IBM would take" +"\nHow I Turned an Idea into $7K by Teaching Online - leerob\nhttps://leerob.io/blog/teach-online\n======\ngenofon\nIt's a great project, I would only make a small correction... What the author*\ncalls profit still includes all the time and effort you put in: building an\naudience, creating the course, building a reputation, marketing, etc.. Just to\nmake people understand that it's a lot of hard work and taking that not\nconsideration the ROI is much lower.\n\n*small correction: you->the author\n\n~~~\nleerob\nThat's a good point to call out. Building an audience and establishing\ncredibility takes time and effort. You pay an upfront cost, but having an\naudience will pay dividends in the future.\n\n------\nBossingAround\nTo me, it's counter-intuitive that people would pay $100 for a course on such\na niche topic such as NextJS. My experience with these courses is that they\nprovide all that's available for free (typically docs), but nicely packaged\nand with videos. And, especially if it is on a custom platform like this one,\nI'd be worried about them being kept up to date.\n\n~~~\nleerob\nHere's how I look at it. You're absolutely right you can learn everything on\nyour own\u2013\u2013but how long would it" +"\n\nAsk HN: Coming up with ideas? - jwdunne\n\nI'd like to build a few small but useful apps to build experience and a portfolio outside of my workplace, an area shamefully neglected.

I'm stuck at the first hurdle and I haven't got a clue where to start or what to build first!

Do you have any tips for coming up with ideas?\n======\nmc_hammer\ni usually just get the ideas while im working, from things that suck\n\nneed to write a regex for css parsing... why isnt there a regex generator yet\n\nneed to debug my javascript... why isnt there a repl?\n\nwriting windows 10 hello world,