skysight-inc/HackerNews huggingface dataset:
Yes, organizing your data in an array of structures is also bad for performance.
In most languages, the name of the meat is the same (or similar to) the animal it comes from.

In English, the name of the meat was derived from the French aristocrats who were running the country hundreds of years ago, and while peasants referred to animals by name, the aristocrats referred to the food by the name they knew it as - which is why in English we have two names for these things, but other languages generally only have one.
Firefox cannot be a dominant monoculture like windows can. It is not an operating system.
> 7. Build — Local References

struct node* BuildWithLocalRef() {
struct node* head = NULL;
struct node** lastPtrRef= &head; // Start out pointing to the head pointer
int i;
for (i=1; i<6; i++) {
Push(lastPtrRef, i); // Add node at the last pointer in the list
lastPtrRef= &((*lastPtrRef)->next); // Advance to point to the new last pointer
}
// head == {1, 2, 3, 4, 5};
return(head);
}

> This technique is short, but the inside of the loop is scary. This technique is rarely used,
but it's a good way to see if you really understand pointers.

> This technique is never required to solve a linked list problem, but it will be one of the
alternative solutions presented for some of the advanced problems. The code is shorter
this way, but the performance is probably not any better.

This is what Linus Torvalds called "good taste" code and used in Linux kernel. There was some argument about it though: https://news.ycombinator.com/item?id=5030845.

(Incidentally, I found Nginx is written in the same style recently as I read it - manual linked list manipulation with this double pointer technique everywhere..)
They forgot writing about the most important thing: insurance for 100% of the stored value that they have.

Lloyds almost privided this service for 1%/year, but the deal fell apart.

Also I need secure, insured key signing services, not cryptocurrency storage as a service.
The "mail-merge" the article refers to is also known as "spinning". https://en.wikipedia.org/wiki/Article_spinning
> I can fight for my self better on my own, thank you very much.

Bullshit you can't. You're at best a gnat against the owners of companies valued at hundreds of millions of dollars.
You're misunderstanding the advice about contiguous. It's not that it's more likely to stay in cache, but if you're accessing data sequentially it's more likely the data you're going to access next is already in cache.

Most (all I've read/looked at) benchmarks in Java have data structures backed by linked lists utterly smashed by things implemented by an array.

There was in the last year or two a good c++ talk where a game or game engine changed their storage to be more array like and got roughly a 30% boost in performance. Memory locality is usually king, which is why linked lists are rarely used.
The shape doesn’t seem all that incomprehensible to me. Just look at the great variety of rocks we find lying about the Earth. The universe is a big, violent, energetic place, with countless opportunites for rock to be squashed, worn, melted, smashed and congealed into any conceivable shape. I can totally imagine this being a shard ejected from a collision of two larger objects.
Both, the Ledger Nano S and the Trezor, work perfectly for storing ETH
If an email that wasn't part of the public debate was altered, who cares? The simple fact is that, of all the emails that were covered by the media, the Clinton campaign was unable to point to a single one and say it was altered.
What you look at, is the whole engine and not just the rendering part. This contains, HTML, CSS, loading and initialization of the maps, clear and flip screen code and especially input device logic.
The rendering part in the JavaScript is still rather small. However, the code is optimized and therefore larger. For example the drawing of the vertical line is done manually.

Read the explanation of this algorithm and you will see how the 20 lines are meant.
Hey, thanks man! I'll update the README
For the fellow logophiles out there:

http://phrontistery.info

It's one of the coolest dictionaries of obscure words I've run across! Similarly, the Dictionary of Obscure Sorrows is quite excellent:

http://www.dictionaryofobscuresorrows.com/
Most subtle ergonomic issues are weakly related of our preferences. Even if people consciously prefer one font to another, they may be more productive in the one they don't like. If there is actual difference, it should be measured not discussed.

Dual space fonts look and feel good for me, but I'm not sure if they have any value. Even aesthetic value may wear off and be just novelty.
Key Takeaways from Reading Satya Nadella's Book Hit Refresh
I'm starting my own business myself, and I notice there are fundamentally 2 kinds of people.

One are the risk takers. Who know risks are involved, but do it anyway, sometimes against all odds, because the payoff (in any form) is big or huge. The risk is worth it for them.

Then you have the conservatives, who just don't want to fail. They take no risk, don't step out of their comfort zone, because they might fall down, they might fail. They want to be like all other people, average and safe.

I'm not saying either of them is good or bad. They just have a different take on life. I think conservatives are happier.

Problem is that when a conservative sees a risk taker in action, they don't understand it. They see all the possible ways on how this thing can fail. They ask why these risk takers don't see how this can fail.

Point is that the risk takers do know how things can fail, but do it anyway (ok, sometimes you do have stupid people who don't know). If it fails, they can proudly say "See I knew it! How stupid was that". Conservatives like to remain in their safe zone, where they know how things go. The risk takers always want to change things.

If anyone has another take on this, I would be glad to hear it.
And he's not wrong. I've been holding to this 2012 rMBP because I can't stomach paying $1600+ for a downgrade. I would just be getting more RAM, better CPU and GPU (but who cares if you don't game), but the same screen, worse connectivity, worse keyboard, no F-keys, no Esc key, no Magsafe.

When this 2012 breaks I hope Apple has either come up with a pro laptop worth upgrading to, or I'll jump ship to an ugly, heavy, unsightly PC laptop; but at least I trust will be functional.
Not off topic at all. (I came to post the same thing but you beat me to it).

It's a great read but hard on the eyes. Reader mode lays it out just beautifully.
Shorting bitcoin, whether as a hedge or in speculation, seems like the killer app here. And because of the ability to short, a successful futures market should reduce BTC's volatility. I'm personally uneasy with long-only futures funds, because it does seem that they might be able to distort the market. Oil is a great example.
YES! Obviously! Because if the campaign could show that a single email was altered, it casts doubt on the entire set. Many people would immediately jump to the conclusion that many emails were altered and disregard the story entirely.
Yeah. It either would change nothing, or make it worse.

Not to mention the first-amendment implications of all-out banning political donations from firms. When people can't assemble their money together, their right to assembly is being violated. If you control when and where people can donate their money, you're violating freedom of expression.

That was the main argument behind the boogeyman Citizen's United decision.
Jack Kerouac was a high functioning alcoholic and wrote some fairly well known books.

Until he died of bleeding oesophageal varices, a common complication of excess alcohol use.

Some beautiful images here :
https://www.google.com.au/search?tbm=isch&q=esophageal+varic...

I know a number of alcoholics who attend AA and have been sober for decades.

My sincere best wishes.
Please check out https://www.aa.org/
Cloudways is giving $150 on Coupon code: BF150
They have also made a list of deals with over 99+ deals.
https://www.cloudways.com/blog/thanksgiving-black-friday-cyb...
If you can live with 8GB RAM and a dual-core i5 at 1.8Ghz, I'd argue that the MBA is one of the best laptops to work with. The selling points for me are:

* OSX - still the best all around OS to work with.

* Lightweight, it is a laptop that weights ~ 3 pounds

* Battery life is decent

* Build quality is above average

I believe that it's an excellent choice for web development.
You are missing the point. Changing the law forces all restaurants to play by those rules. If only a handful of restaurants decide to pay livable wages and therefore raise their prices then their competitors will be cheaper. So we know this doesn’t work well. But if minimum wage rises for all restaurants then they will all be on a level playing field. That was the “what if” I was referring to.

Let me give you another example. If one or two car dealerships decide they don’t want to be open on Sundays then their competitors will get that business. So everyone is forced to be open both days to be competitive. But what if all dealers were closed on Sunday? Well, in that case consumers would be forced to do all their car shopping on a Saturday and nobody would lose any business. So this is exactly what happened in Texas. The dealers lobbied to make sure car dealerships can only be open one day per weekend (either Saturday or Sunday, but in practice they all chose Saturday to be open). So that’s the value of asking “what if”.
>Economists fell for the myth of Black–Scholes. This is a neat way of quantifying risk, but it assumes that risk has a Gaussian distribution. Sometimes it doesn't.

Maybe you're being loose with your terminology, but there is no such assumption. The simplest versions of Black-Scholes does assume that stock price is a lognormal process with constant variance/volatility, which empirically it isn't.

The point of Black-Scholes is to price derivatives not quantify risk, but the price also has an empirical market price. Just as you can use the 'assumed' variance/volatility to try to compute the derivative price (according to B-S), you can use the market price of the derivative to compute the 'implied' variance/volatility.

If you look at the options page for AAPL on yahoo finance[0], you'll see a column for implied volatility, the above method is precisely how it is calculated.

[0]https://finance.yahoo.com/quote/AAPL/options?p=AAPL
I like that Wireguard is slowly sneaking into common use. Its performance seems promising.
https://www.wireguard.com/performance/
> data [needn't] be continuous to stay in cache. Cache is more like paged virtual memory, it consists of cache lines.

It sounds like you're saying everything will be OK so long as each chunk of 64 bytes (cache line) is used together. But one page is typically 4 KB, and if you use for example all 64 bytes of one cache line, but only one cache line per page, you will suffer from TLB misses.
I wonder why nobody has mentioned StrongSwan (IPSec+IKEv2) or ShadowSocks, which are both performant and very secure.
Well, as it says in the article, Firefox and Chrome on iOS are both just WebKit wrappers, because Apple doesn't allow other browser engines into their store, so I don't know what kind of black magic or bias or whatnot your users are experiencing.

As for Android, the new CSS engine (called "Quantum CSS" or "Stylo"), which landed with Firefox 57 on the desktop, should ship on Android with Firefox 59.

There's also "Quantum Render" or "WebRender" upcoming somewhen soonish. I'm guessing Firefox 60 or 61 on the desktop, so maybe again with a small delay then on Android, I don't know.

WebRender should be kind of a big deal. In extreme cases, the difference can look like this: https://www.youtube.com/watch?v=u0hYIRQRiws
Plus the eventual GPS disturbances caused by spoofing attacks. Thankfully only in the black sea, but still.

With the cartels on the horizon I see it forthcoming
Situs Poker Judi Online Terpopuler – Poker Online Terbaik – Onlineqqpoker
I wonder if the linux foundation lobbied in Munich for Limux. I'm well aware that the issue wasn't the windows kernel vs the linux kernel, but does that matter for the public perception? For Max Mustermann, Linux lost in Munich.

Edit: Just for clarification, I didn't mean to suggest that the linux foundation did lobby. I just wonder if they were thinking about it, and what their decision was.
GPS can be spoofed. https://www.newscientist.com/article/2143499-ships-fooled-in...
Pretty neat, but I'm confused. You say it's in JS, and the demo certainly is, but the repo is in Python plus some extractors written in C, a few shell scripts, and Markdown docs. No JS in sight. At the same time, Github claims the project is 100% HTML ... I don't know what or who to believe!
A majority of the world's "supercomputers" are just dick waving money drops where some government or organization slapped a thousand blades into a rack and called it a day so they could say they have "the biggest supercomputer."

There's no legal definition of what a "supercomputer" is.

Shit, my iPhone could be considered a "supercomputer."

It can do millions of calculations per second.
Or the Lost Cause movement of the American South.
5 nights a week half a bottle of wine isn't an alcoholic. It's drinking too much.

If you're at a bottle of wine s night that's certainly too much.

You've got a poor habit that's all. Just put a system in of deferring first drink, going to bed s bit earlier i.e. Before the last drink, and ensure you have a glass of water and a cup of tea between each glass. That'll reduce the amount you drink by s glass or two.

You're fine.

My good friend, who IS an alcoholic, drinks a 750ml bottle of vodka in a night.
I recently received this as an interview question.

This is one of those tricks once you know it, you'll remember it forever.
Ask HN: Best screenshot generation API?
I need an API to generate screenshots of web pages. I'll pass the URL, it'll return a screenshot, ideally nicely compressed.
I second this. If you're not into intensive video editing etc. it's probably the best laptop for the price. Battery life being "decent" is underselling it - it has the best battery life of any mainstream laptop, easily lasts 19-20 hours under light workload and 12-13 under intensive work. And for a laptop imo battery life is a very crucial factor.
> Haven't seen this at all

How exactly would you know? Are you testing the chemical composition of shampoo samples off of Amazon?

I submit that shampoo & conditioner are a lot easier to fake than fragrances. Perfumes are delicate and average consumers can compare and contrast fragrance samples to see if they smell the same. But shampoo & conditioner fragrances are not as delicate, so it's easier to fake based just on texture and color. And there are plenty of high-end "salon" brands with high profit margins... and sell a LOT more volume than perfume.
Explanation behind copyrightinstitute.org visitor log in Google Analytics
I use both actually, where the best tool is applicable.

Some commenters have mentioned StrongSwan (or OpenSwan which is more known to me).

I've actually seen OpenSwan perform better than Cisco VPN tunnels. And I love pointing that out to our networking guys since we pay nothing for OpenSwan.
B&H has a big discount of a few hundred dollars on late 2016 MBP if you're interested. For the price drop it's worth the price.
Thinkpad X260.
Shadowsocks is not very secure at all. Static keys and naive crypto. But that doesn't matter much since its primary use is for obfuscation.
For me personally, the bot has been generating 1-3% daily profits for the past few months. I guess the best metric would be monitoring the take-profit address.
>But then working with references is bad in general? If your vector stores references to objects it's bad? Your object fields point to strings - bad too.

It's not strictly bad, but it's useful to minimize the number of pointer derefrences you have wherever you can. A non-intrusive linked list will have 2 pointer dereferences to access any bit of data. You'll also have n+1 pointer dereferences to access element n. If you have fixed size small objects, then a vector of values is almost always better than a vector of pointers to the small objects. An intrusive linked list will save you a pointer dereference, but you still have the n dereferences to access element n.

>Should we ditch Lisp

Lisp's lists model a linked list with chains of cons cells, but there's no hard requirement for them to actually be implemented as linked lists. A typical approach is to implement lists in terms of Bagwell's VLists, which are a kind of middle ground between linked lists and vectors. You have reduced number of pointer dereferences, plus increased cache locality, whilst still being able to log n index, insert, delete, and not require large up-front allocations.

>and Java

If you subscribe to the "everything is an object" model religiously, then yes, you're probably doing harm. As always, there's no hard rules here and it always depends on your problem and data access requirements. You can usually get performance gains by using memory pools, arrays of structures/primitives, and entity systems instead of inheritance hierarchies.
Some shampoos are at least 5 times that. But more importantly, most people buy at least 5 times as much shampoo and conditioner as they do perfume.
A few months ago I would of said a new Asus zenbook with ubuntu LTS 16.04 as everything works out the box and 10hr battery life with Linux, however I had to take to service center recently so they could hard reset it because I switched it off and on too quickly (my taxi arrived just as I switched it on, so immediately held button down again) and it never switch on since. Service center being a bunch of idiots wanted to book it in for 2 weeks, I pleaded (with some profanity laced in as they pushed me beyond frustration with their robotics responses) with them to do a hard reset there and then (they needs opening to remove the bios battery), they caved, and surprise surprise 10mins later I have a working laptop again. I probably wouldn't buy Asus again because service centers are truely shit and obviously there is a race condition with the on switch and bios or whatever that isn't fully tested. In fact I bought some torx screwdrivers to do it myself next time.

Dell XPS next I think.
I wouldn't short crypto, ever.
I had a 2013 MBP and just upgraded to 2017 when I took a contract that required a more powerful dev env. I don’t miss function or escape keys, and Touch ID to unlock/auth 1Password is fantastic. I really don’t understand the dislike of the new models, but YMMV and you’re certainly entitled to your opinion.
Deep Learning Specialization by Andrew Ng  –  21 Lessons Learned
I have 2 in the house, an 11 and a 13. Both have a weird issue where a few minutes after waking, they go to sleep. Happens probably 1 time in 10 or 20. That aside, they are great.
If you throw your computer out of window it may break. Why whould I access only 64 bytes per page? I suggest you to delete this comment.

We are not discussing VM here, I brought it as an analogy just to say cache lines are independent and need not be contineous.
It is a great way, just hard to pull off on a platform like github combined with the general distrust of adtech that's common with devs/HN crowd.

Ads are still the most scalable, fast, easy and passive way to generate revenue but unfortunately the adtech industry has poisoned the well so people forget all the smaller companies trying to do the right thing. Perhaps opencollective can pickup something like this. Good luck on your next project.
> They'd rather break ties than acknowledge history.

I don't read it that way. Why does the statue stand in San Fransisco? Did the thing it stands for happen there? What is the connection? If there is none, then it seems rather provocative to put it there, and then decline talks about it.
I feel like you're missing my point. Bayesian reasoning of that nature is totally reasonable and isn't something to be avoided just for the sake of avoiding it. What is is, is useful as a guide for where to direct energy and focus. And what it is is faster than sitting around playing with your pud waiting for review for a journal submission.

Again, what's going on now is a form of peer-review. Double blind? No, but that's not really relevant in this context anyway.

ML is really more of an empirical field in this day and age and people are going to read pre-prints on ArXiv, and use various Bayesian weighting schemes to decide what to direct time and energy towards. This process complements, not replaces, the kind of formal peer review you're demanding. There will still be plenty of room, and time, for that stuff, but there's no real reason to wait for all that to happen before starting to look into something.
Despite this article's length, there isn't a single full text example.

The author uses the phrase "duospace" font a dozen times before actually explaining what it is: a mostly monospace font.
I find it ironic that an article about perfecting the art of writing is so devoid of content. Did we really need 3 pages of justification for a big reveal of... a font specimen?
nC means n*capacity/time, so 10C for 10kWh is 100kW
These core tenets or the philosophy can be viewed like any other philosophy. (Principled) libertarians view coercion (initiating the use of fraud or physical force against another person or their property) as a morally reprehensible action. Libertarians wish to minimize all coercion in society, and this is where internal disagreements occur.

Some think that zero coercion is tolerable, so fall under the umbrella of anarcho-capitalism.

Others think that because zero is unobtainable, there out to be a certain concession in order to achieve minimization. By centralization and legitimizing one coercive institution (the state), a lower amount of total coercion can be attained.

I think that we should minimize the size of the state as much as possible, and that given time the social support which the state provides will be irrelevant (nobody will need it). I also think the current social support structure (among other things) of the state is wildly destructive to the poor, and that many things could be done to improve that which don't involve higher taxation.
Sorry if it came across that way!

I recognise that it's easy online to mistake enthusiasm for overselling, and that wasn't my intention at all.

I have no stake in this other than to encourage people to give Clojure a try (I just enjoy the language and want to see it grow). I shared my perception that the site owner is well-respected (based on the community's reactions to blog posts, forum posts, and talks), and gave my own reasons (the education style works for me and he speaks with clarity and authority on a topic that can often be mired in academic concerns).

The good thing is that others teach Clojure actively if you're looking for a less job-oriented marketing pitch. For example, https://lambdaisland.com/ is worth learning from (and run by a developer with a popular Clojure project called Chestnut, if that matters to you), http://www.4clojure.com/ and http://clojurescriptkoans.com/ are free practise sites, and the https://www.braveclojure.com/ and Living Clojure books were helpful to me when getting started.
No, couchand is right. Now a font is the file (you're almost right on it’s origin, it originates from steel punchcutting where each point size did need it’s own font). So a font is helvetica-bold.otf not Helvetica Bold. Helvetica Bold is a weight of Helvetica. (All of this is likely to alter slightly though with the advent of variable fonts.)