skysight-inc/HackerNews huggingface dataset:
Yes, you're absolutely right. The other excerpt paragraph right next to it is correct but terribly misleading:

> That "undecidable" part is what makes this problem [the Halting Problem] NP-hard.

I mean, that's true - but it's very misleading. The most common context in which NP-hardness is discussed is when talking about NP-complete problems - those that are NP-hard and in NP. The way you go about showing that a problem X is NP-complete is showing that it's in NP (most of the time, this is the easy bit) and then showing that it's at least as hard as some NP-complete problem Y. This is usually done by transforming an arbitrary instance of Y into an instance of X in (deterministic) polynomial time, and showing that the X-instance is satisfiable iff (<=>) the Y-instance is.

Then there are problems for which NP-hardness has been shown but it's unclear whether they're in NP. Those are often of a continuous nature. I think deciding whether a level of Super Mario World is doable falls into this category.
Sounds like a good movie in the making (Coderball?)
> Any time you could plausibly punch someone in the face, it could instead be a throat strike.

not really. If you look at a good boxer during a fight, you'd not see any opening for a throat strike.

Boxing, being one of the most practically efficient techniques at the "upper floor", is perceived and frequently really is missing at the "ground floor" and this is where Muai Thai comes in - basically extending the boxing for hands with the boxing for legs, as out of the many footwork styles - taekwondo, karate, kung-fu - the Muai Thai's footwork is the most similar to the boxing ideology and style.
Slightly off-topic, but:

> Couldn’t be much more from the hearth<br>

Couldn’t be much more from the heart.
Typo, I meant to say "is now the standard...". (can't edit anymore)
Adventures in BiOS and firmware updates on Linux
Add in some sort of romance about how martial arts means you don't have to hurt someone to defend your own life.

People get very uncomfortable if you tell them that in a life and death situation where the attacker is in close and it's too late to run, that you're going straight for the windpipe or a knee. Dude is trying to kill me. I'm not fucking around. How much footage do you have to see of knife attacks before you figure out that if they can walk and breathe nothing else you do is going to dissuade them?
> If that doesn't hold up in court, in future on your first visit to Google it will simply display some text and require that you click 'I agree' to continue.

This statement is demonstrably false, as shown by all the places in the world where this type of TOS-nonsense actually does not hold up in court.

And in the USA, it's (as usual) even slightly more absurd: The only reason it does hold up in court is because Google can afford justice.
My friend is a Maths teacher and can barely do mental arithmetic.
Germany’s NASA Crashes a Train to Keep You Safe
You should seriously reconsider whether sevenless was merely wrong or if he was attacking a massive group of people with completely baseless but very offensive claims, that were intended to provoke a response.

How would you respond if he claimed that Muscular Distrophy wasn't real, that doctors have made up their condition to make money, and sufferers just need to get over their awkwardness and work out more? Or if black people don't actually experience racism, that it's all in their heads, that human rights activists are just money grabbers, and they just need to work harder? Is that just being wrong? Or is that an attack on an entire group of people, intended to provoke?

I should have kept my calm. I'm sorry for acting out. But ADHD is a thoroughly researched serious executive function disorder that causes drastically higher incidences of violent crime, homelessness, joblessness, divorce, and severely diminished earnings potential compared to the average person. When you tell someone that has been a homeless and jobless college dropout, who with treatment has graduated college and gone on to support a family and hold down demanding jobs in the tech industry, that they are just imagining things, they tend to attack back.
And many many more where it isn't.

My current work, the problem isn't the algorithms that make the thing run slowly, its because the people who wrote it don't know how to use Django efficiently. Lots of loops in the application making database calls each time (our main page is making over 1000 database calls). A bit more thought in the database design, knowing a bit more about how Django's ORM works and you could do all that work in the database in less than 10 calls and make it a lot faster. A couple of extra database indexes in the right places, and a bit of caching and it should run even faster.

Thats the sort of knowledge that is relevant to (most of) our jobs, not big-o.
Thanks for the comment. I should have said shame on those who wrote and passed these laws, and those who in those 15 towns don't speak out against the laws.

I also agree about the USA death penalty, and I would not be surprised if a majority of Americans are also against it. Our laws very often do not reflect majority public opinion.
Not every single time! Apple acquisitions generally don't even acknowledge that they've been acquired, let alone what that means for anyone or anything.
> The 4th big is twitter? I thought it was Microsoft.

I don't know, maybe it was Microsoft. I haven't put much thought about what is
"the big four". To me, they all fall into the same bucket: big, computers,
mostly US.
I have a CS degree, and while nobody sits around talking about data structures and complexity that's not the point. It gives you a foundation of knowledge that you automatically and subconsciously apply to every job you do.

A CS degree prevent you from making a lot of obvious (if you have a CS degree) and costly mistakes. It sort of gives you a crystal ball. You can see that some code isn't going to work when a db table gets to 100,000 records, or that some code is making the wrong space/time tradeoff, or that some code is using the wrong data structure from the standard library.

When your performance monitoring tool is telling you something is slow or leaking memory you have the foundational knowledge to understand why and fix it, rather than spending money on 10 more dynos or whatever.

Computers are so fast and cheap today a lot of this doesn't matter most of the time. The naive solution does just fine. But when the core dump hits the fan you better have one or two CS grads on staff.
Exactly the same as you, I was just trying out neo4j today with a small dataset (30mb) and was getting memory exceptions trying to add a relationship.
And to think people flipped because of left-pad
Practical Guide to PostgreSQL Optimizations
I'm the author of ag. On a single file, ag is slower than GNU grep. The main reason is that ag prints line numbers when showing matches. Printing line numbers means going through the whole file and searching for \n's. For large files, this can be very resource-intensive. Here are the numbers (median of 5 runs, caches hot) for an 8GB file:

% time ag hello4294967296 big_file.txt
134217728:hello4294967296
ag hello4294967296 big_file.txt 7.83s user 0.44s system 99% cpu 8.275 total

% time grep hello4294967296 big_file.txt
hello4294967296
grep hello4294967296 big_file.txt 2.17s user 0.91s system 99% cpu 3.085 total

If you enable line numbers with grep -n, grep still wins, probably because ag's printing code is ridiculously inefficient:

% time grep -n hello4294967296 big_file.txt
134217728:hello4294967296
grep -n hello4294967296 big_file.txt 3.37s user 0.97s system 99% cpu 4.338 total

Unfortunately, I didn't write ag's printing code very sanely. It grew organically from users asking for small features here and there, and now it's a giant hairball. I've added some tests to reduce the chance of breaking changes, but it'll probably be a while before I fix this performance issue.

Despite these limitations, ag tends to be much faster than grep -r in real-world use. There are several reasons why:

1. Ag has a multi-threaded architecture that can search multiple files at once. Grep is single-threaded.

2. Ag ignores binary and hidden files by default. Grep doesn't.

3. Ag obeys .gitignore/agignore/hgignore. Grep doesn't.

These things really add up. For example, when searching my 20GB ~/code directory:

ggreer@lithium:~/code% time ag instantiationname
...
ag instantiationname 3.82s user 2.16s system 157% cpu 3.797 total

ggreer@lithium:~/code% time grep -n -i -r instantiationname
...
grep -n -i -r instantiationname 42.77s user 2.62s system 99% cpu 45.403 total

Both find the same matches (some tests in the Node.js source), but ag does it 12x faster.
Your post shows a lot of "voodoo" claims. MMA is the best thing that ever happened to martial arts and showed where most MA belong.

BTW, Grace always agreed to any "yes but no rules" challenges from voodoo Kung Fu masters. Where are they now?
Anybody tried OrientDB for recommendation engine?
Britain’s New Spy Planes Are Practically Spacecraft
Don't leave us hanging--did the butterfly make it??
I guess I shouldn't be surprised that when a database company swallows a CPU hardware division that the CPU might sprout some more database specific operations, but I was.

I would love to see some benchmarks of how much this speeds up some sample workload queries, if you happen to know of some (preferably not from Oracle's marketing dept.)?
You will not get through a Google style interview knowing what algorithms exist. You will be expected to implement them. On a whiteboard. Almost perfectly. Without access to a computer.
There's another factor: MMA fights are one-on-one in a controlled environment. If you get into a fight in a bar and take your opponent to the ground, his friend is going to kick you in the head and now you have a concussion. MMA fights and the styles that succeed most frequently in MMA are based around this kind of maneuver, and it works because you know you are fighting one dude and nobody else is going to bother you.
Requirements simulation and brand new resizing settings for tables
Well, at least Yngwie Malmsteen doesn't agree with this nonsense: https://www.youtube.com/watch?v=QHZ48AE3TOI
How Startup Options (and Ownership) Works
I'm just a biologist that switched to Python because Excel and Origin weren't dealing very well with my ever increasing pile of data (Typical data: Every row is cell in a Tissue sample, every column is a quantified parameter (size, marker intensity, ...) of that cell, typically I deal with 10s to 100s of tissues samples) Pandas is great, I spend my time turning DataFrames into histograms, scatter plots and ROC curves in Jupyter Notebooks. I have the feeling knowing Big-O is not very relevant. Still, learning new languages, new words and new abstractions is almost guaranteed to influence ones way of working and thinking at some level.

So, indeed indeed the book probably doesn't hurt ;)

Edit: Just glanced over the link in Practicality's comment about big-O and sure enough I think it may actually be useful as my ever increasing pile of data increases even further! I have to admit; as the parameters increase I find myself doing over night calculations more and more.
https://en.wikipedia.org/wiki/1%25_rule_(Internet_culture)

https://www.americanexpress.com/us/small-business/openforum/...
I can't speak for the OP, but in my experience when people say something like this, they are generally referring to the government and the people who support such things, with the understanding that with any sort of collective abbreviation like this, there is an understanding that not everyone included in that group was involved with or supports such rules.
> if your backend is [...] S3, it's certainly serverless

Is it really serverless if you have to configure the web server serving the files? If you have to manage ACLs, regional distribution, compression, CDN mirroring, versioning, DNS...

If you move to Lambda, you're also tossing in the API gateway configuration, Kenesis streams, datastores, IAM permissions and roles, throttling behavior, scheduled tasks, VPCs, subnets...

Just because you're not starting and stopping the processes doesn't mean you're not managing the server.

/devilsadvocate
Funny how they answered a question about paragraph tags that I was wondering yesterday. Most answers to the "p vs br" question seem to be "do whatever you want", but the recommendation in the article seems most correct to me, since p tags are for the parser(in case it needs to know what the paragraphs of the body content are) while breaks are presentational.
There's this joke by one of my Chinese colleague: "When I was at school, we had to choose between swimming and taiqi, but there was no swimmig pool..." So I think a big slice of Chinese people have praticed taiqi or some related "quan", but not many still do it regularly. I still some old guys or ladies practicing in the morning when I bike to work, but again not many. Yoga is kind of fashionable in China among the younger people, however, and anyway local traditions may well revive for some reason.
Should you open your WiFi during a disaster?
Do you have any references to this?
How artificial intelligence and machine learning work at Apple
There's an easy way to prevent abuse: require the data to be made available to the public in real time. It's not surveillance I object to, it's the coupling of information asymmetry with unaccountability.

Maybe when people start flying their own drones and the data gets aggregated into OpenStreetMap (or some similar project), there will be a decent motivation for transparency.

After all, if the police forces are doing nothing wrong, what do they have to fear from continual public surveillance? ;)
Thailand is not a big mobile game marketplace in comparison to the US, China, Japan, or Europe.

However, you make a good point -- the numbers lose even more context when they're not broken down by country, particularly when the launch was staggered. E.g., Pokemon Go launched in Japan on July 21st, which means any numbers captured at the beginning of August reflect initial launch volumes.
Not to mention that most of the kids today would have stowed their entire population of receipts in whatever the datastore flavor-of-the-week is. At that point, the lookup would effectively be a SELECT -- which the DBMS would optimize away for you.
>This was just to say I have never been convinced by the application of martial arts training in real conditions.

With all due respect, though, unless you know hundreds of trained martial artists and have witnessed them get into hundreds of fights, the data set by which you're judging the validity of martial arts training seems a bit small.

Like a lot of people, you seem to be confusing confusing katas with actual fighting. "meeting twice a week in a room to hit-on-and-get-hit-by-other-people-but-not-too-much" isn't about training for actual real-world combat, it's a martial art, meaning there is a study of form, balance, coordination, etc. involved. Not every martial art is even that practical in the real world (i'm looking at you Aikido.)

But everything you mention as seeming more practical and useful than martial arts? Is still martial arts. "kick them in the balls and punch them in the face" is martial arts.
Multiscreen in Plasma: Improved tools and debugging
Most systems support UTF-8, so most of the problems have been solved by now. There's still a lot of scope for malicious or very surprising unicode; invisible characters or modifiers, font problems, RTL/LTR, characters which have different code points but cannot necessarily be visually distinguished ("ı = 1" etc), good old Zalgo, and so on.
sigh

Thank you, IE, for once again royally screwing all of us over.
SVG is considered more accessible because it's an image, not text. 'f' doesn't mean aeroplane (even though it looks like an aeroplane in a 2010-style graphical font) but img alt="plane" does.
Potaka: a programming language with Bengali keywords
"while working with PHP, I tend to feel vaguely annoyed"

Exactly! I was never satisfied with my PHP code, as there does not seem to be a better and worse answer in many cases.

For the record I did not mean to assert that PHP has become secure, I meant that I presumed it had. Some years ago it was a laughingstock on Bugtraq.

Thanks for the feedback!
Thanks for the links (this one and the one from your other reply), I'm checking them.
i am at a Leadership level at one of the top 5 retailers.
i generally read HN but never write..so this is my first attempt to comment.

i have interviewed about 300 people in 4 years and built at team of 50 or so engineers (full time). i manage about 15$ million in personal budget and about $30mm matrix budget.

first of all, i agree with many who said you are already doing really well being at top 4. many times i have seen folks struggling like you are (as once i did when i was a developer) and that burden can be reduced by two things.

1. your learning to understand your emotional intelligence.
2. your understanding of how your team mates work.

read or listen to John Maxwell's books or read emotional intelligence.

Many of us look past our accomplishments and continue to look at unrealistic expectations. i know i will never be Steve J or Elon M. so i have made peace with myself of setting realistic expectations from my life though i strive to move higher in life and job.

in addition, since you are already are at big 4 and are not yet laid off means you already are valued. perhaps you need to have more 1 on 1s with your coworkers and give them chance to give you feedback.

take them out for lunch and ask for honest feedback but request of them "hey i know i am not perfect, but can you give me honest and constructive feedback without making it a complaint<read bitch> fest so that i can improve myself?"

i was really smart coder but i had one downfall i have pretty shitty memory when it comes to memorizing definition, but i can program like hell. i had very hard time passing interviews in backward places like central USA. then i decided to move to north east and since than i have increased my salary 6 folds in 8-9 years and generally get raises every 6 months. i am the youngest person in my position in the companies history.

what i am pointing out is that may be a change is good for you if you are unhappy.

LASTLY:

lets look at the positives:

you are living in the best times in the history (you can fly wherever you would like, you eat and drink whatever you like,...)

life is so beautiful..the world is so beautiful just take a break and time to appreciate it. you should never think about hurting yourself..espeically if its about money because they fucking print money left and right..you just need to go pick it up. its everywhere.

i came to this country with my parents who worked at Albertson's grocery store for $5.15/hr.

my total salary in 2005 was 11,200. today i make quarter million and have good investments. my parents are healthy, as my daughter and wife.

life should be appreciated. money is not everything...job is not everything...if you are intelligent which you MUST be because you are at top 4 tech co. then the piece you are missing is inner peace.
I don't know what their criteria was. I guess they could have skimmed it for a few seconds. I actually just had a classmate tell me that they just had an interview for an internship at that company.

But I can say I do have a good resume. I have a little bit of full time experience (before I decided to go to school full time for cs) and an internship at a company they recruit from.

So it's technically not an immediate disqualifier. But I did get a rejection quickly enough that I think it might have been automatic, and my school is still listed as "other - please specify" on their internship application.
Dll Suite 9 License Key and Crack Serial Key Free Download
Having a degree doesn't guarantee that you're automatically better than anyone without one, there will be good and bad people on both sides. People that don't take the traditional education route will generally be self studying through private courses or just reading lots and lots of books. It takes a lot of drive, determination and study skills to do it on your own too. Additionally many of them may have been able to break into the job market early, so they'll have years of real world experience and learning from peers by the time they would have usually finished their degree.
An Apple a day keeps the doctor away.
Virtually all buoyancy-based aircraft post-hindenburg use Helium or other non-combustive gases for buoyancy. Airliner uses Helium as well [1].

[1] https://www.hybridairvehicles.com/downloads/download/Airland...
Here's the bit about cats:

If this [huge google] network had been fed thousands of images labelled as ‘contains cats’ or ‘doesn’t contain cats’ and trained to work out the difference for itself by iteratively tweeking its 1.7 billion parameters until it had found a classification rule, that would have been impressive enough, given the scale of the task involved in mapping from pixels to low-level image features and then to something as varied and complex as a cat’s face. What Google actually achieved is much more extraordinary, and slightly chilling. The input images weren’t labelled in any way: the network distilled the concept of ‘cat face’ out of the data without any guidance.
Show HN: Gifski – Simple image hosting
Have you got data to support that? Last data I read (2015) disagreed with you.

https://techcrunch.com/2015/04/14/revenue-gap-between-ios-an...
I was going to make a comment about how doing that would mean we couldn't get to the next phase of the cycle, when we start talking about "serverless microservices". Then I saw we're already there[1], and died a little on the inside.

[1] https://gun.io/blog/serverless-microservices-with-zappa-and-...
The second annoyance is that you need to write __init__ methods quite often.

Correct me if I'm wrong, but there doesn't seem to be built-in support in Python for having attributes initialized by the the constructor.

For example in Perl 6, I can write

class Point {
has $.x;
has $.y;
}

... and I get a constructor Pair.new(x => 1, y => 42) for free, no need to write custom initializers.
I have a funny anecdote about CS.

I am a CS dropout who has been working in startups for a few years. About once a year, I see another programmer making a common mistake, and I draw on my CS knowledge to help them out.

The mistake is parsing HTML with regular expressions. It is so tempting to write a good ole' regex to grab that attribute value off of that element. And it works on the 5-6 samples you write your unit tests with. If you have run into this before, you may know that zalgo[0] tends to appear in this situation. Parsing HTML with a regex will always fail eventually.

Of course the reason is that HTML is not a regular language. It is a context-free grammar, and thus requires a parser to parse it.

The funny part is, I failed CS Theory once, and was in the middle of taking it again when I decided to drop out. But this tidbit of knowledge has always stuck with me, and I've used it again and again to fix or prevent bugs in real software.

Takeaway: CS knowledge does have real-world value to everyday programming. You just have to know what you're looking for. And of course, always use an HTML parser to parse HTML.

(I'll add one more note to anticipate a common response. If you look at any HTML parser, you will see regular expressions in the code. These regex are used for chunking the HTML, and from that point the chunks are parsed.)

[0] https://stackoverflow.com/questions/1732348/regex-match-open...

EDIT: Formatting
That could be the case. Also, it may depend on the particular browser they used.