skysight-inc/HackerNews huggingface dataset:
There is a hope I have, that I see many others have too, which is that our human intelligence is somehow special. That somehow the leaps in logic we can perform somehow make us unique. That we won't be outdone by a computer a million times faster or smarter than us because we have something else that we can't replicate in transistors and circuits.

I love AI, but I have that hope too. That somehow we won't be made irrelevant by our own creations. Makes me think of our autonomous vehicle fun taking over the trucking industry. Millions of people made irrelevant through no fault of their own.
Memory bandwidth is not the main concern here since they explicitly mention that executing more CPU instructions kill performance far quicker - in this case. As for mmap, perhaps you would like to present your own benchmark that contradicts the article.

But anyway, I highly doubt that either of the basic things you mentioned are news to the implementors. The implementation is supposed to run on all kinds of processors with varying architectures so making the implementation portable is bound to leave performance on the table. Not to mention other constraints like maintainability and meeting the performance criteria for the common use case/workload.
I switched to Scrum, check out my GAINZ!
Part Smart Bot and Part Human
Designing a Pricing Page That Sells
I'm curious abiut generally speaking what workarounds you're doing in react. Every workaround I've had to do, eventually revealed itself as a code smell or antipattern.

Obviously they are there; no view library is perfect. But I have yet to see what one loons like.
> Sure, given enough time and resources, you could do optimization for every hardware combination possible, but that is not how things work in real world, especially where release cycles are such insane as in smartphones market

You make it sound as if every version of CPU, GPU and chipset have to be optimized in every combination possible but typically you do optimizations based on various CPU targets, optimizations based on GPU targets, etc; the vast majority of smart phones use the same architecture and many end up targeting the same CPUs and GPUs (I mean how many phones ended up / still use the Snapdragon 820?).

Yes they can't optimize for every combination but optimizing for the typical CPUs and GPUs seems like something they're likely already doing. If the stack was squished and Google made it from hardware to software I'm not sure that they would be necessarily doing optimizations any different on the hardware / driver level.
Not having read the article at all, so going purely on the title and GP's quote, the question seems to me to be whether bad decisions are always irrational and whether this was an experiment that successfully induced bad decisions (which, imo, was rightfully challenged by GP)
I bought it directly from Oregon's Health CO-OP because I figured it would be safer than going through any marketplace after the whole Oregon $300m fiasco. I don't qualify for any assistance.

Yea thankfully they are transferring those! Took them almost 3 weeks to do so for me; I'm glad I didn't have any major costs during that period.
If videos are your thing this set of data structures videos is pretty good.

https://www.youtube.com/playlist?list=PL2_aWCzGMAwI3W_JlcBbt...

Good database references here, guaranteed to learn something new.

https://github.com/rxin/db-readings
I remember reading article about Japan and fax machines. A lot of lunch takeout places still have a very high fax traffic because they accept orders via fax.
2001 was 15 years ago. PHP looks completely different now. It looks very much like Java with -> instead of dots and a few differences.

Nobody sanes mixes HTML and PHP code anymore these days. Most people are using Twig for templating or at least something similar. Everything (decent) is object oriented these days.

So your views were correct 15 years ago, but have a look with fresh eyes and you will see something completely different.
The gist is that 'const' objects with pointers will end up in read-write memory due to the need to relocate them at runtime.

Windows has an interesting solution to this: all libraries are relocated once (the first time they are referenced by any process), and thereafter mapped at the same virtual address into all processes. Randomization (ASLR) is therefore applied once per boot rather than once per process. Arguably, this improves both time and memory performance since processes don't have to spend time relocating libraries at startup, and much more of the library's memory can be shared between processes.

Android employs a similar trick: the "zygote" process loads a bunch of common shared libraries, and all application processes descend from zygote via fork(), thereby sharing library memory with the zygote.
Okay, but I'm not sure they wanted to go from python to R. The issues listed in the original post are definitely not fixed in R. And you lose out on python's ability to also be used for other things.
I like my phone as thin as the next guy but not by sacrificing usefulness. I am in the market for a new phone but a headphone jack is a needed feature.
It's also simple enough to direct readers to note that types refer to expressions, not values. It's only through later evaluation relations do those expressions and their values end up sharing types.
Too true. I read an account of some product being ported to F# (from C#) a few years back. The line count was substantially decreased (at least one order of magnitude if I'm remembering correctly) with a correlated decrease in defects. I can't find the original post, but there are plenty of supporting testimonials[1].

[1]: http://fsharp.org/testimonials/
There are 1. "I get it to compile" programmers, 2. "I get it to work" programmers, and 3. "I make it great" programmers. A solid computer science foundation, knowledge of the literature, and experience can (but not necessarily will) get you from 2 to 3. Sadly, I've encountered quite a few professional programmers, complete with CS degrees, who year after year barely scrape by at 1, so it's not a given.
If I were an indie app dev building a similar product, then in addition to all the questions of business strategy I would try to bake in graceful abandonment from the start. That is: make it a paid sync service (as Gruber would've in hindsight) but build the client such that the sync service could be easily overridden, and pointed at anything that would support a particular API. Then if I have to stop supporting the app, but I have users I still care about, I can just unlock the sync service override, publish the API spec, and give people some time to come up with alternatives.

Though I guess that doesn't solve the problem of fixing bugs in the app itself. Especially if I might not have time to babysit an open-source app.

Are there any examples, in iOS, of apps that were open-sourced and are controlled by some kind of committee or foundation and still kept up-to-date in the app store? What's the lightest-weight version of that that still keeps it totally free?

(I bought Vesper over a year ago and thought it was nice but it didn't become one of my regular-use apps. No biggie: I've long been a DaringFireball reader and I'm happy to throw a few bucks Gruber's way. Plus, I was really hoping the "quality paid apps" model would work, sigh.)
Earlier this month I was looking at the question of "why does it take 160ms to scan a list of just 60,000 items?

The answer turned out to be "because they're not adjacent and on this embedded system every single cache miss costs you hundreds of nanoseconds".

I strongly agree that, like woodworkers, performance improvers should measure before they take out the power tools.
It can be a combination of different things that exist somewhere but not in this combination.

For me PHP is like Java but with sane nullability. It's like python but it actually has interfaces so that I can do proper OOP.
How is VS Code better? I quickly switched back to Sublime. Severely lacking in features, and I don't get why anyone would want to use chrome as a basic text editor.
However, _that_ website is not served over HTTPS, which would seem to make it a prime target of MITM. Do you happen to have an HTTPS link to obtain these certs?
Obligatory mention of 'Masters of Doom'. I think Romero may have been a better programmer than first-time large project manager, but he wouldn't be the only one :)
"But religions want to control every aspect of human life."

You mean like controlling what kind of bathing suits people can and can't wear in public?
It is fallacious to argue that if X is what the enemy wants us to do, then X is a bad action.

X might be the best course of action on where we are, the problem being the short-sightedness that took us to this place in the first place (thinking like in chess - you limited your better options with earlier moves).

EDIT: Of course, if the enemy is better at the long game, and succeeded in taking us to here, what's to assure us that we evaluate correctly X as the best course of action, instead of them nudging us to it?
To most commenters: Indeed static typing has advantages as well, I just didn't list them. And some languages solve certain "complaints" I had.

I would suggest though, that comparing haskell to javascript, is almost like comparing a train with an offroad bike. Which you choose when is a discussion at a whole different level.

As for the list of event handlers example. The point it is a trivial piece of code. Any jQuery plugin writer can do it. Yet the type math behind it is complex. Java cannot express it. Most languages cannot be generic in function arity so cannot express it. Spending time on it is not worth the trouble. And paying this penalty at API level, where ever user has to pay, is just a sin.

Some discussion from the dartlang on covariant lists: https://www.dartlang.org/articles/design-decisions/why-dart-...

The test suite idea was incorrect. Even 100% code coverage will not do. But for "normal" code, add reasonable amount of coverage. And any production runtime type error will be really surprising. And even when it does happen, the fix is clear and quick.

A personal feeling on this topic is that it is all tradeoffs. But it makes me really happy to see gradual typing gaining traction. So you can start on your offroad bike, but end on a well oiled train, where that is worth the tradeoff. So you don't have to choose up front. Perhaps when we can even get runtime guarantees on perf/object layout when the type checker is happy.
Ag doesn't search line-by-line. It's only if a match is found that it goes back and looks for newlines. This optimizes the typical case (most files have no matches) at the expense of the rare case (file contains a match).

Also, ag only uses PCRE if the query looks like a regex. Otherwise, it uses Boyer-Moore strstr.
Yes, in some ways PGo is a re-skin of Ingress, But I felt like it was much more accessible. It appeals to a massive demographic.
"If Bitcoin gets to even 1% of the global payment cards daily"

Visa alone processes between 2000 and 10000 transactions a second.

Bitcoin is architected to handle 7 transactions per second. From my understanding this limitation can not be overcome by adding more miners, it is by design.
The example text about the y combinator looks mistaken to me. It says Y can "find" a fixpoint, and sketches an example of a fixpoint in a numerical function. It implies Y is doing something like convergence.

But that's not what Y is at all. It's called the fix point combinator, yes, but with the assumption you're going to use it in some curried lazy evaluation scheme with higher order functions.

All this on ycombinator.com, too!
That you guys are discussing veterinary care and insurance shows that you don't actually know what Vetcove does. They actually are a B2B marketplace for veterinary supplies used by vet clinics. Consumers don't use it at all, and it certainly has nothing to with pet insurance. It saves clinics a lot of money already.

A reminder that it's fun to comment from the armchair, but you should at least learn what the business actually is before you do.
That's my impression too. Gouges and the rest can create opening, and they're an edge if you're evenly matched with someone, but in the same way that sharpshooting might. It's a skill, an interesting one, but how often does a fight with pistols come down to really precise aim, rather than hitting the head or center of mass?

I think it's similar in physical combat, although some elements like the dropped elbows and kicking a downed opponent would definitely end a match faster, you have to drop them first.
I'm sorry this issue fell through the cracks. Feel free to add me (emaste) to the CC on any bsdgrep PRs you raise or encounter.
More details in the upstreamed binutils support:
https://sourceware.org/ml/binutils/2016-08/msg00166.html
I agree with the sentiment, but I would say people who are familiar with the CS principles and not necessarily people who have CS degrees.
> The ban of the burkini is a misguided attempt to alleviate that tension.

Its so badly and obviously misguided as a technique to that intent that it is simply implausible that that is the actual intent, specifically in that it does the exact opposite, and that it is transparently obvious that it would do so, and that even if you might excuse someone for failing to recognize this in a vacuum, the fact that a number of similar previous bans have been both proposed and implemented in Europe, and France specifically, with wide media coverage and the same counterproductive effect makes it impossible to believe any policy maker anywhere in France (or, on Earth for that matter) could, other than through willful ignorance, be unaware of the likely effect.
Beginners' Guide to Decision Trees for Supervised Machine Learning
I am curious, do people actually pay $30 for an ebook without even being able to see a(propsed) table of contents of a sample of the writing?

This is unusua. With both Amazon and LeanPub you can at least gauge the writer's style or get a feel for writing quality by looking at a sample chapter and a table of contents.

I'm skeptical that all of those people praising the book bought the book site unseen.
Or ack (http://beyondgrep.com)
How do you search for a location?
These are interesting results, and some factors like "number of likes" have pretty intuitive correlations with happiness.

The color thing makes me wonder about confounders, though - without filters a photographer in Norway will get more dark, monochrome photos than one in Jamaica. And sure enough, the Norwegian is more likely to be depressed. Is it possible that some of these variables are proxies for seasonal affective disorder and regions with high risk of depression?
Ask HN: Graduated recently, now what?
I am a recent bachelor of cs graduate and am curious about future work options. I would like to work in mobile and/or web applications. The only previous "work" experience I have in cs is as a teaching assistant for a web dev course. I am not particularly fond of the idea of working in an office so I was wondering if working remote jobs and/or freelance work is actually viable and how would I start down this path if it is viable?
Which makes Neo's line in The Matrix, "I know Kung Fu", rather ironic, since the knowledge was implanted directly into his brain!
I like the approach of hammering out knowledge through writing it down. I taught myself to fill in a lot of knowledge gaps by answering questions on electronics.stackexchange.
Oh, I certainly could (and do for bash), but I believe the GPL v3 requires that you can replace any copies of programs with your own, which possibly Apple might worry they fall foul of, which might be why they don't want GPL v3 software (I'm guessing).
Yoga is a Sanskrit word, which means union. It is much broader and deeper than doing physical asanas. The asanas is just the tip of iceberg :)
As you said, when you practice the asanas, your body and breath becomes more controlled. The next level is you control your thoughts - and not vice versa -> union of body, breath and mind. As you become more serene, your meditation starts getting deeper -> union of mind, body, breath and self.

I came across this video recently, where three "genuine" yoga teachers are asking questions about yoga and meditation. The format is initial 10-12 minutes, the yoga teachers talk about their experiences, and then in rest of the video, they ask questions to Sri Sri Ravishankar about deepening mediation with yoga: https://www.youtube.com/watch?v=a7HEmsY29EU
Life is more than your day job, and depression is a hole only you can dig yourself out of. Food for thought, maybe it isn't your niceness, it could possibly be that your misery is bleeding out; it could be depressing being around depressing people. Good luck and really think about how temporary your life already is, don't miss out on it cause of the struggles.
Many Indian outsourcing companies do that as well. Employees can only access internet and few technical sites from their own computer but to access Gmail they have to login into a separate computer.
As someone who trains in BJJ (grappling), muay thai and boxing. I don't see much utility in spending time learning a skill that has no basis in reality (Kung Fu). I'm not staying that Kung Fu doesn't have techniques that work in a fight, it does like the side-kick (Google Bruce Lee's sidekick) but most of it is for a lack of better word useless in terms of usefulness in a fight. Even Bruce Lee realized that and created his own art because of this realization.

I agree that Kung Fu like all martial arts add discipline to one's life and is a form of meditation which is its greatest gift but in terms of martial use the world has moved on to more lethal arts.
I just ran this on some old code and it told me a function was too complex (it is!) and could use refactoring, that's some smart linting :-)
This is actually why I find myself writing fewer bugs when I'm writing Java than Python. Thanks to static typing, I don't need to endlessly repeat myself writing and updating boilerplate unit tests and boilerplate documentation (and inevitably messing up)

I've heard about PEP484 and hope it catches on, but unfortunately it's for python3 and a lot of people are still stuck on python2 for many reasons.
Some martial arts, modern and unmodern, are not fit for sparring competitions. Live weapons against open hand is usually considered too dangerous to attempt to prove a point of superiority in a system. Same goes with some martial arts techniques that are too dangerous to be used for sport, i.e. knee reaping.
Unit Testing with a Data Context (2012)
Has the OpenVPN wiki been reviewed and updated to reflect SWEET32?
But did he really? Did he have a development role in Vesper? Or was it just project manager-ish?
> The unsatisfying solution used in practice is to give eval() the type Any, which is like Object in some OO languages or interface {} in Go: it's the type that can have any value. Values of type Any aren't constrained in any way, so this effectively removes the type system's ability to help us with code involving eval. Languages with both eval and a type system have to abandon type safety whenever eval is used.

It's not quite true that they must abandon type safety: rather, they must abandon a certain kind of compile-time type check. It's not unsafe to use eval or Any values (i.e., it won't crash the system); one must simply examine the Any value (at runtime, natch) and do stuff with it.
Product Managers, What Is It You Do Again?
That sounds like very basic CS stuff, so I guess "CS degeee" here means B.Sc. level knowledge? ;)
As Energy Use Rises, Corporations Turn to Their Own Green Utility Sources
Serverless isn't serverless either - it's pretending someone else's server doesn't exist.
I figured HN was as good of a place as any to start this discussion and seed topics. What is it you think Product Managers do? What have you observed that you hate/love/try to ignore?
everybody may not know.
I think the HTML/XML/JSON is not a regular language story is a bad one, because subsets of them are indeed regular. Most of the time the data you're trying to parse doesn't contain arbitrarily deep nesting and could actually be parsed with a regex. Further regexes of languages like perl can parse a superset of regular languages.

The real problem with regexes is that they are hard to maintain and are extremely hard to get right to neither have false positives nor false negatives.
Also, even in English the phrase "taking up the yoke" is one of discipline and possibly servitude, as distinct from simply joining together. Also, Googling "one ox yoke" returns around 50/50 split between two-ox and one-ox yokes, so the act of yoking is not necessarily dual in nature, although traditional yokes are not capable of adding additional oxen (and instead are arranged in reins, like with a stagecoach).
.. unless they've forgotten the index, at which point the DBMS grinds to a halt.

Or they've written the query on the wrong side of the ORM so it has to pull in all the objects, check the value, and discard them.
Sometimes only. big O cuts all the constants and they are really important in actual software development. A lot of actual work involve improving the speed from a 10N to a 2N, it is a big difference for the costumer, but they are all O(N).
> How do you know you are doing stupid shit if you don't know about complexity and don't know your algorithms?

So, one cannot understand complexity without Big O calculus? I only learned the notation after years of calculating memory and runtime complexities for real-time code, and that was only for interviews. I don't find comparisons at the Big O level to be useful in day-to-day work.

> Really, I do work on CRUD applications from time to time, and I often have to select algorithms based on complexity.

Really, you often have to select algorithms at that level of granularity? I never have, in almost ten years of full-time development. I frequently have to select or tune algorithms based on the factors that Big O throws out, though. Then again, I do very little with searching and sorting.
There's a layer on top of a number of i18n tools at Yelp, yep.
Yeah, v8 is pretty famous for its lack of interpreter, though it looks like IBM is working on a port. You could also use the Chakra or SpiderMonkey ports.
As an avid fencer, I couldn't agree more! My first instinct, trained into me for years with fencing has to do with scoring points on specific areas, in specific ways, not killing or surviving. It might look a little similar to the uninitiated, but it's basically night and day. Never mind that I've trained with little metal foils, sabers and epees, that probably weigh a fraction of a proper steel blade, I just wouldn't know what to do with it to literally save my life.
How Hillary2016 onboards new users
"Only a portion". And almost-perfectly is a big deal. You're not expected to write compiler-ready code, just to show that you understand what's happening under the hood. Which meshes up with practical expectations -- if you can't understand what potential bugs/space/time complexity you're introducing when leveraging a library, then you're a fundamentally worse coder than someone who can.
Asymptotic complexity comes up pretty frequently in bioinformatics contexts because the volumes of data can be huge.
Autodesk SketchBook Pro 8.2.1 Full Crack and Activation Code
use more <p></p>.
Jamie Zawinski <jwz@netscape.com> wrote on Tue, 12 Aug 1997 13:16:22 -0700:

Some people, when confronted with a problem, think “I know,
I'll use regular expressions.” Now they have two problems.
Is 'not actually lighter-than-air' always true, or only when it is carrying 10 tons of cargo?
I would't say that transpiling and compiling are the same.
That's true for all programming languages. That's literally how all bugs get created. Are you claiming that there exists some language where bugs cannot happen because it is "type safe"?