skysight-inc/HackerNews huggingface dataset:
I don't necessarily agree that it's a problem of the language ecosystems. In my experience games are one of the few areas where it is likely to be CPU bottlenecked and not I/O bottlenecked.

My sample size is only the set of projects that I've personally worked on, but in the projects where I have intentionally profiled where the time is being spent, I have only ever run into UX-impacting CPU bottlenecks when working on games. This is spanning code I've written from assembly all the way up to Python. Not counting JS because the DOM is a bit of a black box to me. In almost every other case, the bottleneck was not being able to pull data out of physical storage or some network store fast enough. In some cases it was not being able to pull data from RAM fast enough. In a few cases it was not being able to pull data from a database fast enough due to needing to cover too big of a table, which I lump into the "waiting for I/O" category under the lightly investigated hypothesis that it's not because the CPU is having trouble iterating over the indices, but because the database can't keep the whole index in memory.
Yes, that's exactly what I wrote. :)
Apple Said to Plan First Pro Laptop Overhaul in Four Years
I like it better like this:

Mr. A: How was your weekend?
Mr. B: Fine. Bit of trouble with the house, though.
Mr. A: Nothing serious, I hope?
Mr. B: No, not at all. A little fire got out of control for a bit.
Mr. A: Was there much damage?
Mr. B: No, once it got down to the foundations it went right out.
Mr. A: Was anybody hurt?
Mr. B: Not much. Grandma died very gently from the smoke inhalation.
And I lost barely more than my eyebrows and 15% of my skin.
Mr. A: That's lucky.
Mr. B: Quite right. How was yours?
Mr. A: Fine. Bit of trouble with the car....
When to Use Deep Learning in a Data Science Problem
A Beginner’s Dictionary of Venture Capital
Thanks for the comment, leovander—very good points! Right now we give hospitals a number of ways to respond to PatientBank requests. Currently, the most common one is fax and we don't (yet) perform much processing of that data. In addition to fax, we allow hospitals to send CCD/CCDAs to us via DIRECT, and we allow them to upload arbitrary files directly to PatientBank as well.

In the future, we'll use whatever APIs we can to get records from hospitals. There's a lot of promising work going on in this space, and we're excited to see where the industry leads!
Show HN: Frank Ocean album detection service (polls iTunes/Twitter API's)
This is a great post. (EDIT: Great Blog all around!). The grid of how different algorithms perform is particularly nice. I would love to see how that grid with new algorithms (specifically those new algorithms that make use of multiple algorithms).

Also, the name hyper-heuristics sounds like a recently made up term to stand out in search queries. The more long established name for it has been meta-heuristics (which is included as a keyword in the paper linked as "hyper-heuristics"). Meta because they are heuristics of algorithm selection rather than heuristics of solving a specific problem and heuristics because, as iandanforth mentioned, this is not a low dimension continuous differentiable problem space that lends itself to an optimal solution.
very clever idea. how are you connecting this to the internet? WiFi?
The Setup: Mary Norris (The New Yorker Copy Editor)
Most frequently, good security is the absence of vulnerabilities.
When vulnerabilities are bugs, security is software quality.
A lot of other techniques are just mitigation, and the "endless billions on cybersecurity" is often security theater and optics.
How are you different from Picnic Health or CareSync?
Relevant: Wiio's 1.3rd Law:

https://en.wikipedia.org/wiki/Wiio%27s_laws
dupe:
https://news.ycombinator.com/item?id=12263341

https://news.ycombinator.com/item?id=12264092

and a bunch more without comments
Thanks for the comment, kumarski! Excited to see a lot of awesome work being done here.
ARMA III could be the good example of CPU bottleneck. Or maybe it is badly optimized... Then we hit the hot topic of multicore vs singlecore performance.
Probably a good move given how expensive real estate is in the city right now and how Zynga has fared in the last few years.
How to bring science publishing into the 21st century
My first guess would be "the MacOS one", since from what I have heard, MacOS tends to have older (sometimes much older) versions of basic system utilities. I don't have a MacOS machine nearby to check, so this is just a guess.
Yes, this is skipping over overlapping theories in the field like explanatory style and learned helplessness.
Previous discussion: https://news.ycombinator.com/item?id=11161311
Anger can come from other sources, not just from caring (if we're considering 'caring' as caring for others). For example, a narcissist may get angry if they believe their self-image is under attack.

In addition, caring can be expressed in a multitude of different ways.

If they're coupled, it's only loosely.
Note, I haven't been in this world for a few years, so this info may be out of date

Actually, a heck of a lot more than that - WDM (wavelength division multiplexing) can give you 40Gbps (or more, though cost per bit per second starts to increase substantially) _per wavelength_, with 40 waves per strand (again, more possible, but cost-effectiveness not as good).

So, 1.6Tbps per strand fairly cost-effectively, with more physically possible. That 32-strand cable could carry 48Tbps with a config like this.

Upstream bandwidth isn't really expensive if you're selling to eyeballs (i.e. those who primarily consume services rather than provide them). However, as you said the fixed cost of laying fiber is non-trivial, as is the endpoint equipment to terminate all these waves and do something (route, etc.) with the transported data.
> This would be a good related subthread: links to API docs
> for what people consider to be both great, and terrible,
> APIs.

At least the great part has happened:

https://news.ycombinator.com/item?id=867972

There was one _much_ more recently (a week or two ago), but funnily enough the only one I can find is ~2.5k days old..

Related - best documented:

https://news.ycombinator.com/item?id=6224155
Thank you. So what you are saying is, the psychs view the workplace issues as exacerbating factors.
Text Summarization for Humans
https://news.ycombinator.com/item?id=12260898
Study found bronze medal-winners tended to be happier than silver medalists
You're only able to be lax about physical security because institutions take care of it for you. Your taxes go to police, FBI, military. You keep your money in a bank, and the bank spends money on security. If people stopped keeping their money in banks and started storing it in their homes, the incentive for burglary would go up in your area.

I also assume you don't live in a dense city. Even in a utopia you couldn't have perfect safety without investing in security: some people are going to commit crimes and violate property just for fun, and when there's a lot of people in one area, that becomes a concern.

There has never in history been a time when people can be secure without investing in security. To claim that investing in security is in indication of something "wrong" is therefore at best a sentiment far ahead of its time.
Even if those updates require signature verification with a public key stored in ROM? I guess the signing key cold get out or you could patch the firmware to skip the signature check (the way the initial iPhone was jailbroken)
Introducing BuzzFeed’s Design Process
Cute. Usually this is done with fractals, as with VistaPro and its successors. You generate a coarse random height field, then subdivide, making smaller random changes locally, until you have all the detail you want.

An ambitious project: take in fantasy novels and extract location cues from them, then draw a map. Find text which mentions a place, then try to recognize phrases which express distance and direction.
I Used Facebook to Buy a Gun
My experience is that double precision is very common on demanding game areas, notably physics. I recall older versions of the ODE physics engine recommending and defaulting to double precision and lots of newbies on the forums being surprised there wasn't much performance difference. That was all some time ago.
Most of your physical security comes from two things:

1) the fact that the rest of us lock our doors, so most ne'er-do-wells have accepted the notion that closed doors tend to be locked. It's a form of herd immunity that protects you so long as only a small number of people behave like you.

2) the shift from cash to electronic money, meaning that physical theft is less lucrative than it once was (and meaning that most money is protected by entities that invest meaningfully in security.)

You're a free rider, benefiting from effort made by others, while being a (small) net negative to society. You're welcome for the security we've provided for you.
Spite driven development: when you develop something just to prove someone else wrong.
This project is open sourced by Sang Han on github too https://github.com/jjangsangy/ExplainToMe . Feel free to make changes to this awesome tool.
Joseph Stiglitz: The problem with the Euro
Well this will certainly appeal to Steganography enthusiasts and perverts who have clumsily been loafing around .onion sites for years and who now finally have a way to share content in the clear. And of course the NSA, FBI and CIA are suddenly stuck trying to figure out why this goofy squirrel is so popular in Yemen.

mv squirrel.html squirrel.jpg
sudo apt-get install steghide
steghide embed -cf squirrel.jpg -ef secret.txt
mv squirrel.jpg squirrel.html

And voila...
Baseless accusations of shillage are not allowed on Hacker News. If you believe you've witnessed this and have evidence, please email hn@ycombinator.com.
They seem not to be the same things, since the article specifically mentions assassin bugs as being falsely identified as kissing bugs. It seems they belong to the same family of insect, however.
Wonder if this is worth buying over the advantage 1 in Canada with additional costs of getting it shipped over the borders. Can get the older model for $400 CDN on amazon.
As long as they adhere to the second part of their slogan, and "don't break [the prior versions of] [their] API", it's great.
That's really cool, now just let the community create stories around these maps. Great work!
Same here.

Management work is different, though. More about making decisions than being hands-on.
In the same vein, but applied to personal relationships, "bad tempered" people are probably less likely to put up with low-intensity abusive behaviour, and while that may result in more conflict short-term, it might make for a more peaceful life in the long run.
This is one issue I struggled with in my last API design. I generally like the /comments?post_id=232 format but in many cases it's not intuitive. Especially when the sub-resource (i.e. comments) is only ever referenced in with a parent resource (i.e. posts).

This is a bit of a contrived example but with a structure like /comments?post_id=232, a developer might mistakenly assume comments are independent resources and not explicitly tied to posts when, in reality, there are can be no comments without posts. In this case, /posts/343/comments is much more intuitive.

The way we ended up handling it was forcing ourselves to limit sub-resources to a maximum of 1 level deep. So /posts/343/comments was allowable but something like /posts/343/comments/23/author was not allowed.
What about lifetime ? datacenter aren't renewed every year. Many gamers upgrade on a yearly basis. Lot less money but maybe newer consumer hardware.
Outsourced IT probably hurt Delta Airlines when their power went out
To be fair, I've been approached and reprimanded in China, Ethiopia, Panama and Cairo for taking pictures of seemingly innocuous looking things that might be of interest to a traveler or tourist however someone watching felt otherwise. Its not just the US.
TL;DR
To please the gaming market, CPUs develop large SIMD operations.
ChaCha uses SIMD so it gets faster. AES needs array lookups (for its S-Box) and gets stuck.
Is millstone wrong, or are y'all just using different definitions? https://news.ycombinator.com/item?id=12264017
I wonder whether it'd be feasible to have the compiler issue warnings for explicitly undefined behavior. While this is not something you'd self-inflict by accident, other more subtle traps could be flagged.

I have known of organizations that are happy only when code compiles without warnings.
Meh. The best thing that happened to me in my life was realizing I was mediocre. It made the work/life balance a lot easier to manage, and gave me a lot more humility since I felt I had less to prove.

I am in no way a bad coder, but looking at the commit history of some projects just makes me stare in awe at what some people can do. I remember spending a conference in a sofa next to Zed Shaw as he was smashing out the basis of mongrel (i think it was). I was awestruck. Not only did he work at about three times my speed, the code was pretty as well.
Not really. Just look through the feature lists of some newer processors:

AES encryption support: https://en.wikipedia.org/wiki/AES_instruction_set

Hardware video encoding/decoding support (I presume for phones): https://en.wikipedia.org/wiki/Intel_Quick_Sync_Video

It's more that it's relatively easy to make some instruction useful to a variety of video game problems, but difficult to do the same for encryption or compression. You tend to end up with hardware support for specific standards.
That's a key part of Bernstein's argument. ChaCha20 and Salsa20 take advantage of optimizations made for games.
I'm surprised no one has mentioned this yet - The Smalltalk environment itself is an excellent example of non-trivial Smalltalk - hey, you can even go in, fiddle with the language parser, and watch your whole world implode :-)
I haven't been CPU performance locked in a PC game for over 6 years - I have upgraded my GPU every 2 years and I am finally approaching the point to which I'd gain a framerate benefit from upgrading my Sandy Bridge i7 920 (I have a GTX 980 ti GPU now).

There are several outliers to this - some games are VERY cpu dependant (supreme commander, MMO's like planetside 2), and some which are EXTREMELY inefficient games (Minecraft) which require an order of magnitude more CPU power than it really needs due to architecture problems.
> My sample size is only the set of projects that I've personally worked on, but in the projects where I have intentionally profiled where the time is being spent, I have only ever run into UX-impacting CPU bottlenecks when working on games.

Try out any "enterprise" app that thinks its a good idea to load 25,000 widgets on one page. That'll show you the meaning of "CPU bottleneck".
This is what I came here to say. With comments in the article such as:

"CPU designers see vastly more benefit to spending area
on, e.g.,vectorized floating-point multipliers."

followed by "Intel is doubling the vector size in its newest CPUs---again!---this
time from 256 bits to 512 bits."

Seems like they are being optimized to be better at vector math, and games just happen to highly use these pieces of HW.
Scala is a cool language, but I can't help feeling that Javascript has a very strong culture around it that pretty much dooms adoption of things that don't feel "Javascript-y". I think the strong commitment to being a Javascript superset is the reason Typescript is blowing up the way it is.
No, it's done because it covers two of their largest markets Gaming machines and clusters used for scientific / finance applications.
> I'm not sure if you're a troll, an overly zealous brogrammer buying into deep learning buzzwords, or retarded, but maybe you should cut it out.

Personal attacks are not OK on Hacker News. Please leave these out of comments.
Server hardware is mostly a separate market from PC hardware, since there are different things to optimize for.
> Joins are still possible in sharded relational models.

For some definition of joins, this is true. For a SQL-oriented version, I don't think it's possible, let alone easy, to run arbitrary joins across sharded data. Can you write subqueries that cross shard boundaries? How about aggregate functions? I would be (very pleasantly) surprised if this were possible outside of directly calling the aggregation/join.

> I wouldn't want to roll my own on mysql, but there are plenty of data stores that use this model (vertica, citus, etc)

Yes, and none of them have succeed at scaling mysql without sacrificing heavily in functionality. I don't believe foreign keys are supported cross-shard anywhere. I'm also pretty sure the shard schemes heavily dictate which operations are efficient and even possible, and which are not, so you really need to design around scaling to begin with anyway. So—yes, you can scale MySQL, but avoid using any of the features that make MySQL worth using, except intrashard.
It doesn't matter whether or not you buy or use locks.

You passively pay for security at a bar when you buy a drink - the price of the bouncer is part of how they derive the cost of your beer. Similarly you pay taxes (local, state, federal) that pay for a massive amount of physical security that you utilize unknowingly on a day to day basis.

Just because you don't find it necessary to lock up your stuff in your driveway doesn't mean that you can claim that you don't use or pay for physical security.
How TSMC Won Back Exclusivity with Apple for the A10 Chip
Related question. Similar to Verilog/VHDL simulations, do large companies like Walmart etc run 100s of financial scenarios in the form of code/nightly regressions rather than dealing with excel spreadsheets? Can CFOs learn anything from simulations?
Parent commenter is very modest to call it "nitpicky" - I don't think it is at all.

You might not _store_ the data, but you absolutely do "collect" it.

(Nitpicky would be "well... you do store it at least a little while; even if only in RAM".)
Wow, what country do you live I that you feel comfortable keeping you door and car unlocked? I've lived I the US and Germany and wouldn't have felt comfortable doing that in either place.
I agree. I wonder if it would be sufficient to just allow companies to sue each other in case of intentional interference, and otherwise just allow free play. I suspect there is so much value in everyone cooperating that we would more or less sort it out, without needing restrictions on who can operate at which frequencies, by handing out frequency band monopolies to the three highest paying bidders.
فيلم سكس محجبات كامل نصف ساعة محجبة بيضة
I'm horribly biased as one of the co-authors, but check out: http://TheAPIDesignBook.com

It documents a number of things we've learned building, using, and supporting APIs at Twilio, major banks, major hotel chains, and others. It's 100% driven by practices in the wild, not academic or theoretical info.
Good question, hkiely! There are a number of great products out there to help people manage medical data—those are certainly two of them. Our focus at PatientBank right now is on just one piece of that problem: making sure people don't have to request their medical records over fax or in-person. What that means is that our market often differs from folks who use a personal health record. Many of our users have been asked by their doctor, their insurance company, or a lawyer to gather and share their medical records—sometimes even from just one specialist or hospital—and they want help doing so.
Occasionally you can, but it comes with caveats, even for PhysX:

• Only works on Windows

• Only works with Nvidia graphics cards (and only them, cheap nvidia card for physx + AMD card for graphics will disable PhysX)

• Not guaranteed to be faster for all cases, needs to be evaluated on a case-by-case basis

So even if the physics engine can, not all game engines use it. The Unity devs e.g. stated that they won't bother with it, as the limitations make it unattractive to pour effort into.
Games can usually tolerate some cheating because it's just a game. But they're hardly immune. Spam and abuse make everything suck, definitely including games.

Now, put real money on the line and you get the gambling industry which is much more serious about security.
I thought that too after listening to the podcast episode recently. Didn't realise it was open source though, thanks!
yes because you want your Intelligence officers to be able to say to agents they are recruiting today that we will look after you
> In my experience games are one of the few areas where it is likely to be CPU bottlenecked and not I/O bottlenecked.

Agreed, in most cases. That's why I'm not sure what I described is really a problem :)

(I do think that mobile apps and the client-side portion of Web apps, for example, are often CPU/GPU-bottlenecked, though.)
Yep one time pads are still in use and those where invented way before ww1
And Denmark.

Of course, the core internet nodes are not connected by old phone lines, but most of the edge nodes (consumers) are.
The representation of types is either unspecified or implementation-defined in C, depending on the context. See C11 6.2.6; also see Annex J. Relying on particular representations does not make your program per se invalid C. Reliance on undefined behavior does make it invalid.

Representations are readily observable because the standard permits all objects to be cast to char type. Therefore the standard basically says that you can read and even modify objects through a char array as long as you obey house rules.

So POSIX isn't changing what undefined means by mandating that CHAR_BIT is 8, or that null pointers can be represented as all-zero bits.

By contrast, I think the definition of dlsym() does depend on undefined behavior because C does not permit casting function pointers to void pointers or vice-versa. For various reasons that's a significant deficiency. Keeping that behavior undefined is intended to, among other things, preserve the ability to implement tagged pointers in a standards compliant manner, or to even create implementations for Harvard architecture machines. Also, I think the distinction between undefined behavior and unspecified or implementation-defined behavior preserves the ability to implement practical, quality static analyzers that can analyze all C code, whether or not dependent on certain implementation-specific behaviors. Some amount of license is a practical necessity; too much makes the standard useless.

C permits assignment of pointers to functions of incompatible types as long as the functions aren't invoked. But mixing pointers to functions and pointers to objects is a definite no-no. So POSIX will probably add a sister to dlsym that returns a generic function pointer type like (void (*)(void)).
> Why would you ask if you don't want to hear the answer?

For lots of people the "How are you?" "Fine." exchange is a ritualized interaction which has become detached from the literal meanings of the words. Like the fact that even non-religious people use a contraction of "God Be With Ye" when parting.
The tricky task of label placement could be outsourced to a SAT solver.

The way it works is that for every city, town etc you generate a few placement candidates (4 positions around the point like you do seems fine) and then calculate all the pairs of placements that collide. For each collision you add a clause to a SAT formula that forbids this combination from occurring. Every solution of this formula will be a clean labeling of your map.
6 Ugly truths about freelancing (and why you should still do it anyway)