skysight-inc/HackerNews huggingface dataset:
>And for what? To prevent those situations in which things go wrong, unlike in the successful anecdotes.

Might as well not do anything in that department then, because all affairs can go wrong (and almost half of marriages do).

>They have that rubbed in their face every weekday, starting at 9 a.m., until either they, or those other two, change jobs. While you can't prevent disappointment in this area of life, you can prevent having it be a work situation. In fact, work can be a place where you can get such things out of your mind by concentrating on something else.

And you can prevent it by magically making yourself not to be in love anymore with a coworker? Or by making yourself to avoid even thinking about liking someone you work with in the first place?
Kung Fu means "hard work" so of course it is waning :-)

More seriously, a couple of observations:

1. Most styles of kung fu require dedicating years of practice before one can be called skilled. Compare this to Systema or Krav Maga where one can become a killer very quickly and you can expect people with little time to train to prefer these more modern martial arts. This says nothing about the depth of these martial arts, just the way they are organized and taught. As a concrete example: one of the first block I learned in Flying White Crane Kung Fu is actually very difficult to use in a street fight. Once you're good with it though, the opponent is in a very bad situation. With Krav Maga, the first block you may learn is usually very basic, very effective to block a punch, but you get less counter-attack possibilities.

2. Most of us do not need to fight for our life so of course, martial arts are waning as a whole.

3. MMA is very popular and most Kung Fu styles are not suitable for MMA: again it takes time to become an expert and many techniques cannot be used in a MMA ring (can I put my finger in your eye? what about using pressure points while you are tackling me on the floor? can you hit the neck with a spear hand?).

4. Kung Fu masters are usually very secretive and they sometimes die with most of their knowledge, especially if they do not find someone suitable to transfer that knowledge.

5. Finally, a sibling comment mentioned youtube. Many kung fu schools hesitate to use Youtube and when they do it, they usually do not show the best they are capable of. When I was training, I remember a master asking to only capture the movements of the upper body and hide the footwork :-)
In he case of the IBM Power processor, it'd be difficult to find the individual pieces. The computers are typically sold as prefab units by IBM or a third party. Not much of a build-it-yourself market.

That said, they're expensive like any high end datacenter-grade hardware.
erm, are the images going insane for anyone else on that page? example https://static01.nyt.com/images/2016/08/28/magazine/28ontech... has what looks like weird barcode effects animating in and out?
From their page:

It searches code about 3–5× faster than ack.

It searches code as fast as the_silver_searcher(ag).

It ignores file patterns from your .gitignore.

It searches UTF-8, EUC-JP and Shift_JIS files.

It provides binaries for multi platform (Mac OS X, Windows, Linux).

But even more so, sensible defaults that work nicely for code search use cases. And written in Go, without accumulated cruft for 200 platforms and POSIX subtleties like grep, so even someone like me can hack it to do something special if I want to.
At the time Vesper was written, iCloud sync was not reliable. It's gotten better (good enough for many apps to proudly use it), but by that point Vesper had lost its dev.

There had also been issues around this time with Dropbox changing the way the SDK presented information. A small change, but one that ran afoul of Apple's In-App Purchases guidelines. Debate the merits of the conflict all you want; it was still an issue everyone wanted to avoid at the time.

Basically, you're not wrong, but I believe the devs made the best decision they could at the time they wrote the app.
This sucks so much. Insurers behaving in bad faith certainly don't only exist in the US.

Best of luck to you and for your kid.
I think if Python was developed from scratch now you would have a very small classic standard library and then stuff like HTTP server/client and JSON parsers would be separate libraries handled by package manager, but since python is a scripting language it would make sense to ship with some packages by default (so not a standard library, but say core packages) - this would let you version the core packages like any other package, but it would still let you run scripts without internet access/need to pull random dependencies for a script run.
I did. The author kept his promise and refunded instantly.
> Processor competition in the desktop market has been lackluster since that time. Intel has been sitting on their laurels mostly. The vectored primitives and bigger cache and core counts are nice but honestly you have been fooled by the branding and continual product lines.

I might be inclined to agree with you... if I didn't know that Haswell:

* implemented the computed goto transformation (for interpreter loops) in hardware

* made unaligned cache hits crossing cache line boundaries have no latency penalty

Both of those things are things that I would have told you were impossible(/infeasible) to do in hardware before finding out that Intel did them.

There's actually quite a lot of amazing microarchitectural changes going on in Intel processors, you just don't hear a lot about them.
Say a day trader buys a stock for $9/share and then sells it to me at $10/share a week later. I then put the stock into my investment portfolio and hold on to it for forty years and sell it at $100/share. You could make a simplistic argument that the day trader "lost" the game because he missed out on the appreciation to $100/share but you are neglecting the different investing timespans. The day trader doesn't have a job if he is holding on to stocks for 40 years. He was happy to buy and sell quickly for a small profit. I'm happy because I held on to an appreciating asset. Bankers are happy because they made a few dollars in commissions. No one losses here.
That's quite questionable. I work in adtech and when we get an opt out we remove all information about that profile and do not add anything new. We also keep the opt out flag recorded permanently.

Facebook probably has more lawyers than we do, though.
Keep in mind Power != PowerPC. Related families but there are differences (exercise left to the reader).
54 years later he got a Nobel prize for ideas that were essentially present in this paper.
Do you have any documentation for this? This part of the article is what stood out for me, too.
To draw an analogy with more mainstream type systems, say you have a function like add(x: Int, y: Int): Int (takes two integers and returns an integer).

Now, somewhere else in your code, you have something like:

x = readline()

y = readline()

add(x, y)

That won't compile because readline returns string and add expects integers. Somewhere between readline and add you'll have to convert the strings to integers, and that piece of code (not the add function) is the one that has to be concerned with things like the user entering "abc" where a number is expected.

As far as the add function itself is concerned, it will always be invoked with two integers; the burden of proof is on the caller.
I tried Neo4j a while back for recommendations and calculating similarities between users but when running against our full dataset got too many OutOfMemory exceptions. Ended up with a Mahout / Spark solution. It's an awesome graph db though - can find many other uses for it.
Consider automated TOC generation. If you use the h* tags as they're designed to be used, it's trivial to produce a table of contents for even a very complex document by simply extracting and numbering the headers, and hyperlinking it is almost as easy.

Consider screen readers and other accessibility technologies. If you use the h* tags as they're designed to be used, it is very easy for someone who cannot see your document to navigate within it by moving from header to header, and to navigate within sections by moving from subheader to subheader.

These are two examples of automatically extracting semantic information from an HTML document in order to enable new ways of interacting with its content. Such methods can only work if the semantic information is there to begin with. Using standard header tags in the standard fashion is a good, simple way to include such information. It is not the only way, but it is by far the most widely understood way, and you do both yourself and your readers a favor by not requiring the use of special-case exceptions to parse your content.

Of course, if your purpose is not to publish content, then this may not be a major concern for you. Perhaps you're building one of those modern-style marketing sites where the presentation is excruciatingly visual, the standard interaction methods are unnecessarily hijacked, and the content is minimally existent. In that case, I wouldn't worry so hard about it. But if you're publishing something that's got some meat to it, this is a standard worth following.
Presumably it's in here somewhere: http://openpowerfoundation.org/?resource_lib=power-isa-versi...
Another rule to make programs fast: break early, break often.
Uber finds new rival in Apple as tech company courts Lyft
[quote]It is also amazing that this all still manages to run in an emulator.[/quote]

Why is this amazing at all? Older OSes are primarily using older and simpler features like ISA and pheripheral requirements. If an emulator can't emulate that, how can we expect it to run anything more sophisticated?
I don't find the header, article, section, etc tags to be sufficiently clear that they are always used in the same way by different people. But maybe I'm missing something -- how do they improve accessibility?
Node.js isn't a language.
> To me, the takeaway is that assumptions made for certain algorithms may lose their validity within ten years.

If we hit 2^64 bytes transferred in under one hour as a norm before 2030, I'll be immensely surprised. (This would implicate 128-bit block ciphers for birthday collisions.)
I really love the list of "advertisers whose ads you may see because you're on a contact list they uploaded to Facebook" that includes a bunch of people I don't know and with whom I have no affiliation.
EM shielding, audio isolation, light tight, and physically secure (including guards to put everyone through a metal detector), supply chain security. Any one of them imposes costs, and EM shielding most of all. (Will, a culture of fear and anxiety might be more expensive, but we already live with that.)

It is too expensive for almost everyone. I think we will collectively settle for pretending nothing is wrong.
* I sometimes had to run "npm i" twice in order to get it to work.

* It would often fail randomly.

* node_modules has a fixed location.

* There is a ludicrous number of dependencies even for the simplest projects. ~1000 is not unusual. Reasoning about that dependency tree simply isn't possible.

* There was even a package to detect if a number was negative. It had a version 2 because there was a bug!

* In general even small projects took an age to build.

I'm sure this isn't all the craziness, it's just the stuff I ran into during my (fairly limited) exposure to npm packaging.
Having a CS degree gets you through a Google-style interview -- where they will hammer you for hours on your ability to recall the skills you needed to pass your algorithms classes in university, and grade you almost solely on that.

And then you will start working there and almost never use those skills again, because you'll be using a vast library of datastructures and algorithms in the language of your choice, and the skill you will need the most is the ability to analyze why you might need one vs the other.

Unless you're on the team which is writing said libraries, which is rare.
Georgia Tech's OMSCS Program: Thoughts from an (Almost) Graduate
How to Reduce Controller Bloat with Interactors in Ruby
At my day job we value older programmers as we because it takes a long time to build the skills and experience needed to be effective.
...eye gouges... the first thing you should do in a real fight!

Eh, if one fears for one's life, that's probably an option, but otherwise it seems like a sure ticket to prison. A good reason to avoid all avoidable "real" fights.
I am one of those weirdos who is not on Facebook, but I have come to a similar conclusion about Google. The ads that I am served are almost funny sometimes.
Steve Wozniak has warned about killing off the headphone jack in the iPhone 7
Yeah, that's super weird. I'm assuming not deliberate.

Safari 9.1.2 on OS X 10.11.6
Maybe FB is intentionally giving us inaccurate labels to make us less concerned about them.
The relevant section of the standard: https://www.w3.org/TR/html5/sections.html#the-h1,-h2,-h3,-h4... - https://www.w3.org/TR/html5/sections.html#headings-and-secti... expands on this somewhat further.

For a considerably more detailed treatment with special attention to concerns around accessibility and some information on other document elements with similar significance, take a look at http://accessiblehtmlheadings.com/ .
Ironically, big-O describes things that are very easy to understand, in a notation that looks complicated.

If you have a lot of experience, you probably already understand the concepts. The notation just gives a clear way to describe them: https://rob-bell.net/2009/06/a-beginners-guide-to-big-o-nota...,
Zeading – The best place to read the stories you love
This is a good point. There is additionally ligatures used by the Google material icons. These let you put an actual textual representation of the icon and only replace it with an icon if the browser supports it: http://google.github.io/material-design-icons/
I disagree. DOSing a site is bad behaviour, regardless of how you do this. But accessing it in an automated way instead of a browser? Not really. The deal on the Internet is like this: a website owner can provide whatever they want, and a visitor can read it however they want. Discriminating visitors based on whether or not they seem to be bots instead of people is going beyond what the site provider should do. So is detecting and blocking people using adblockers.
Have you heard of the term/phrase "bro science" with respect to weight lifting? I'd draw an analogy between them.

Clarification: what I mean is there is a lot of ad-hoc stuff in these blogs that may be narrowly true or applicable to a given project or subset of a domain, but generally there is either significant evidence against some of these blogs' contents or the contents themselves have absolutely no formal, rigorous support.
I suspect they'd look like some of the really early UFC fights which were ludicrously brutal, and consequently banned in many US states.
> "This can lead to a loss of boundaries between the self and the environment, as might occur in certain psychiatric illnesses."

Or in deep meditation.
Take a look at http://accessiblehtmlheadings.com/ for a pretty solid introduction. The tl;dr: is that, used properly, they enable screen readers and similar to identify document structure and make it more easily navigable.
Maybe you're thinking of https://www.kickstarter.com/projects/1405842914/learn-langua...? That's all I could find by googling around.
Are You Getting Your Fair Share of Startup Equity?
I don't consider the Ruby ecosystem to be a good example of much. Idiomatic Ruby code is much slower and usually not more maintainable than C++. Actually, it may even be worse thanks to dynamic typing, which makes refactoring much more painful than it already is in large code bases.

Well I guess it's good at making CRUD web sites. Hardly rocket science.
On the data center side, it is quite difficult finding decent server hardware with eg ecc for arm.
Win 7, tried in latest Chrome and Firefox, thought it might be a graphics driver issue, but I'm assuming not if it's across OS X as well
I've seen this mentioned a few times when Power chips come up: https://www.raptorengineering.com/TALOS/prerelease.php
<Vet care is not remotely expensive

Absolutely false if one has to worry about money. Insurance is a puny percentage at the practice I know and the hundreds of pet owners I chat with daily.

< $3-5k for a major surgery
That is a lot LOT of money in my mind. Remember this is your pet.

Usually the cost is sticker shock especially for Specialized Care and there is no alternative. People do not expect to have bills of $500, $1,000, $1,500 and more for routine things. [ The surgeon charges $8 a minute ]
> The present ascendency of Muay Thai and BJJ (Brazilian school of ji-jitsu) is a direct product of this sorting of martial arts effectiveness against competing disciplines. Karate and Kung-Fu's substantial drop are also related, as they are essentially unused in modern MMA.

It's important to keep in mind that many of the most effective self defense techniques are illegal in organized fighting competitions. These include eye gouging, throat strikes, biting, joint breaks, stomps, kidney shots, downward elbows, etc. IMO this seriously limits the ability of these competitions to predict how various styles will fare in real life or death self defense situations.
Do you think that your intuition for not doing something stupid came from studying the theoretical side of cs? Sure, you should be able to get a good idea of the runtime of code without spending much time looking at it, but I'd say personally that spending a couple semesters in classes that specifically covered big-o really helped my intuition.

It just seems to me that not doing stupid shit can really depend on your intuitive grasp of theoretical cs. For instance, trying to find the optimal solution to an np problem might be a really bad idea, depending on the instance. But recognizing np problems doesn't really explicitly come up that often outside of theoretical cs.
>In general the world has become a lot more factual in the last 25 years.

Once again, there is no objective truth. The world (you, really) has adopted a new orthodoxy and become convinced it is fact.

Modern MMA was developed to showcase BJJ as developed by the Gracie family; the rules explicitly favor grappling. The idea that we can learn something about the "objective truth" about "effective fighting styles" by watching youtube videos is ridiculous.

In reality, the most effective street fighting style probably involves groin kicks, eye gouges and finger-locks, the attacks on the most vulnerable points in the human body. No one will (1) teach you these styles and (2) showcase them on television.

Furthermore, no matter what, different martial arts will appeal to different people. There are probably hundreds of styles of Chinese martial art that could be called "kung fu", including grappling styles, striking styles, throwing styles, weapon styles, etc. Different people will have differing aptitudes for each of these styles, and they will be appropriate in different situations.

There IS no best fighting style, because there is no single "fight". If someone shows up with a gun or perhaps even a sword, your BJJ or Muay Thai is useless. Similarly, if your opponent is twice your weight and only knows how to crush you with his arms, it doesn't matter that your style is not "a bit shit" like his, he will probably crush you with his arms.
As somebody who's a hardware enthusiast I wish I could buy poster sized dye shots still :\
I understand your view, I've been there. I'm just encouraging both throwaway26960 and you (or anyone else for that mater) to look for something better. It's possible to end up with something more than merely "tolerable", something worth spending more than just leftovers of your energy.
I disagree with your statement about paying users who will not pay for a subscription. I am one of them. I hate Utility Apps as a Service for a litany of reasons. I am, however, eager and willing to pay as much as or more than a subscription price to own software that I use. I don't want to open my notes app, text editor, TextExpander, or password manager one day and find out it is not working. I want to know that if my system never changes, I can continue to use the current version of software without worrying about it not working because I didn't pay my rent.

This is the analogy I use: if I am drilling holes every weekend for three months, I am going to buy a drill, not rent one evey Saturday and pay as much in rent as I would to own it. And when I own that drill, I expect it to work for at minimum 12-18 months (warranty/devleopment) and at that point, if something goes wrong (massive OS changes) or there is a fancier drill, I will buy it if that is worth it to me.

The peace of mind of owning software is more important to me than a reduced cost / continual upgrade of renting it. I will always look for software that sells me a license over one that doesn't.
Please don't feel so bad. I'm an old timer ... in the old days (prior to 2004), we'd get programming jobs after a 30 minute conversation. Despite official inflation numbers, salaries 10-15 years ago are the same as the glorious 100K+ job of today. What started as something Microsoft would only do (full-day interviews and puzzles ... the latter they stopped because it was pointless), was adopted by Google (because they want to raise the collective IQ ... snicker), and now done by most tech companies. This is a trend, and like other stupid trends of today (e.g. scrum/agile, microservices, devops), these will go away.

I have two suggestions:

1) Don't equate your sense of self-worth to your tech employment. This requires making friends outside of tech, and pursuing hobbies. If you need medical help, get it sooner rather than later (anxiety, depression, ADHD, etc. are a lot more common than you would think).

2) There are thousands of tech companies out there. It is BS to say smaller companies are worse than the big 4 tech companies. You seem to be someone who cares about making a meaningful contribution. I respect that and share that with you. I strive to earn my pay every day. In truth, I fail many days, and some days I feel I earned my pay 100 times over. So it evens out.

One final note ... some interviewers are assholes. They make you feel like shit. A youngin will take it, but older folks know how to spot it. My last Google interview, I had 4 interviewers who were professionals and one complete ass-hat. I considered making the HR person know about said ass-hat but decided against it. If I encounter such an ass-hat in the future, I think I will tell HR so the person's damage may be contained. For my part, I'm not interviewing at Google any more (this was my n'th interview with them and frankly, I'm tired of it even though it seems they are not).

Anyways ... be happy my friend ... life is a precious gift; tech moves constantly - it is brutal but it is fun.. check out the stories of people like John Bardeen, Robert Noyce, the Whatsapp founder, John Carmack, etc. Even the great achievers have had to go through tons of crap.
> An SVG is scalable

But fonts have hinting, so they look nice at low sizes and low resolutions. This is something that SVG is still missing.
This seems to be the post it was referring to http://lua-users.org/lists/lua-l/2011-02/msg00742.html
I'd thought that was the only way to get clicking on a checkbox label to trigger the checkbox click (unlike other inputs where you could simply use a for label).
Most Julia users run code more often in an interactive REPL session rather than as a script to do a single thing. The precompiled code loading is now on by default on Windows in Julia 0.5 since the backtrace issue was fixed, but there's still a 0.3-0.5 second delay on startup at the moment.
The captions mention "Photo Illustration by ..." with a credit to the source photography, so this actually looks intentional.

It's very jarring and distracting.
There's telnet. You have to install it though.