skysight-inc/HackerNews huggingface dataset:
Well, if strings are immutable then you can point into an array in the subsrring and the worst that can happen is a space leak. If your strings are mutable then you need some extra book keeping so that attempts to copy the parent or child won’t affect the other. Whether you get a gain from sharing is going to depend on the length of your strings and what operations you perform on them.

If you are trying to reimplement an existing VM/standard library then you may also need to honour the expectations of developers. If they expect creating a substring to be an O(1) operation and code against that expectation then you probably need to honour it.
Yes, lag is one thing, but the NBC website was literally skipping dialogue. After missing three jokes in a row I gave up.
Route through jackd and an audio delay should work
Ask HN: What's More Important, Privacy or Security?
People usually equate the two, but these terms are distinct; their weights often factor into cost/benefit analyses. Take for example how no one has compromised bitcoin's distributed public-ledger system.
Don't 64-bit CPUs usually have efficient instructions for operating on narrower values?

For instance, consider this C code for adding two 96-bit numbers on a 64-bit machine (ignoring carry for now):

#include <stdint.h>

extern void mark(void);

int sum(uint64_t * a, uint64_t * b, uint64_t * c)
{
mark();
*c++ = *a++ + *b++;
mark();
*(uint32_t *)c = *(uint32_t *)a + *(uint32_t *)b;
mark();
return 17;
}

The purpose of the mark() function is to make it easier to see the code for the additions in the assembly output from the compiler. Here is what "cc -S -O3" (whatever cc comes with MacOS High Sierra) produces for my 64-bit Intel Core i5 for the parts that actually do the math:

callq _mark
movq (%rbx), %rax
addq (%r15), %rax
movq %rax, (%r14)
callq _mark
movl 8(%rbx), %eax
addl 8(%r15), %eax
movl %eax, 8(%r14)
callq _mark

I'm not too familiar with x86-64 assembly, but I am assuming that this could be made to handle carry by changing the "addl" to whatever the 32-bit version of adding with carry is.

Taking out the (uint32_t * ) casts to turn the C code from 96-bit adding into 128-bit adding generates assembly code that only differs in that both movl instruction become movq instructions, and addl becomes addq.

So, if you were writing in C it looks like a 96-bit add would be a little uglier than a 128-bit add because of the casts but isn't slower or bigger under the hood. But note that this is assuming accessing the 96-bit number as an array of variable sized parts. It's that assumption that introduces the need for ugly casts.

If a struct is used, then there is no need for casts:

#include <stdint.h>

typedef struct {
uint64_t low;
uint32_t high;
} addr;

extern void mark(void);

int sum(addr * a, addr * b, addr * c)
{
mark();
c->low = a->low + b->low;
mark();
c->high = a->high + b->high;
mark();
return 17;
}

This generates the same code as the earlier version.

(I still have no idea how to handle the carry in C, or at least no idea that is not ridiculously inefficient. When I've implemented big integer libraries I've either used a type for my "digits" that is smaller than the native integer size so that I could detect a carry by a simple AND, or I've handled low level addition in assembly).
Biggest threats to Retail: credential stuffing, fake accounts, gift card fraud
I've briefly heard about this phone (positive things) and it's incredibly brazen they would even try this, especially given that they seem to have a solid chance at competing with the Mate 10 regardless of fake reviews.

With that in mind, has anyone here actually switched from an iPhone to an Android, or even a MacBook to a Windows laptop for reasons other than price? I started with Android and Windows and I've gradually migrated over, and I can't imagine ever going back. At least among my coworkers and I, it feels like Apple's products have been so dominant with their UX that an Apple user will never switch.

(Note: Excluding the reason of cost. That seems to be a driving factor behind the iPhone's declining market share globally, as it appears to be simultaneously rising in most wealthy countries. I guess this is aimed at high-end Android or Windows devices.)
> badly designed

Teams. Whoever thought a Slack clone needed threads, should never work in a UX team ever again.
At first I assumed this was a stack ranking type "cutting the dead weight loose" move but doesn't appear to be so. The article cites "too much staff for the work" but that seems strange; Amazon has never been bereft of ambition ("Think Big"). What would be the real strategic impetus for slashing hundreds of positions? How does this jibe with leadership principles like "Hire and Develop the Best" and "Insist on the Highest Standards"?
1-3 direct emails requiring reading comprehension and reply.

5 or so calendar invites.

200-500 automated updates from issue tracker, CI system, et al. Auto-filed and processed in batches when time avails. A few dozen will include comments, which can be treated as regular emails in that they require reading and typically response. The rest get skimmed over or need a click or two to move through workflow.

A dozen or so error report emails. Most reflecting iTunes API timeouts. Perhaps 1-3 genuine error cases.

2 dozen support requests from customers (BCC). Skimmed just to keep an eye out for recurring bugs and UX issues. Typically 1-2 of these per week have to be rescued from the spam filter.

1-2 dozen sample transactional emails from staging environment. Auto filed in case needed for future reference; otherwise ignored.

3-10 (depending on day of week) automated updates with metrics from SaaS vendors. Glanced at in passing during morning inbox clear-out.

3-5 marketing emails from own company. Auto-filed and ignored.

0-2 spams from recruiters (either side of the table). Typically skimmed and deleted.

4 daily newsletters my boss signed up for with the engineering team's group distribution list even though they're not relevant to anyone else and he won't let us unsubscribe from them. (Desktop mail client has long since been trained to recognize these as spam.)

0 true spam messages except about once a year when someone comes up with a successful new attack against Google's filters and it goes up to a half dozen per day (most recently in late January 2018) for a week or two and then drops straight back to zero.
The chasm deepens between progressive supremacist propagandists and reality. I don't think these ivory tower elitists fully grasp how offensive their ideology is.

One can only hope they return to ad policies that eschew social constructivism for plain advertisements displaying the utility of their products, but I won't hold my breath.
Trains any time, except for this one important exception: regional to hub airport traffic. When you miss the connecting flight because of a delay on the first leg, it's not entirely unreasonable to expect that the airline will take care for their mistake, but when you miss a flight because of train delay, tough luck.

I don't know how large the fraction of feeder passengers is relative to point topoint on those flight, but those won't be switching to planes any time soon. At least not without single ticket/single checkin dedicated airport train connections.
Elon Musk Celebrates the Falcon Heavy Launch
> As an aside, do you know if it is possible to use this to JIT C++ for CUDA kernels?

Are you aware of NVRTC?
First off, they aren't lifted to a stable orbit, that'd cost additional fuel (which'd need more fuel again). They're detached once the air is thin enough that the resistance doesn't cause problems. Secondly, it'd also clutter space further.
Improving the way kids are taught to read
What's the downside to having 128 bits over 64? I'm not familiar enough with file systems to know, so I'm left wondering if there's any downside to oversizing the hammer for the nail?
This is good advice. It will pay off in the long run. I've learned this throughout my career. It's hard to find people who are on your wavelength, so when you work with them, keep in touch, you may be able to help collaborate again in the future.
MIT class reveals, explores Institute’s connections to slavery
Isn't there an XKCD about the limit of flash storage being 3 PB per gallon?
> Though it is an end-product created by non-conscious executive systems, the personal narrative serves the powerful evolutionary function of enabling individuals to communicate (externally broadcast) the contents of internal broadcasting. This in turn allows recipients to generate potentially adaptive strategies, such as predicting the behavior of others and underlies the development of social and cultural structures, that promote species survival. Consequently, it is the capacity to communicate to others the contents of the personal narrative that confers an evolutionary advantage—not the experience of consciousness (personal awareness) itself.

I think and theorize on consciousness quite often, but this angle was new to me and kinda blew my mind. Thanks for sharing :)
Fully agreed. I might extend it beyond web.

It does seem to be getting comical.
> they would say Apple has fallen behind

"They" already said that when iOS abandoned skeuomorphism, and "they" were damn right. A friend of mine who is not even a tech guy put it very bluntly: "Apple used to change things to make better phones, now they change things to keep up with what others are doing".
This might sound like a dumb question, but have you checked Youtube much? Their catalog of "pay to stream" movies is (to me) surprisingly good. Definitely not just the recent blockbusters... they've got all sorts of older and less well know stuff. Just for shits and giggles I pulled up the Robert Duvall filmography just now and check and found even the oldest and lesser known ones on Youtube, most for around $3-4 to watch.

Strangely enough, since discovering this aspect of Youtube, that has become my goto site for most movies, and definitely helped cut down on my pirating activity.
Are determinism and dualism considered to be one-in-the-same?

Dualism AFAIK is believing that body and soul are two different entities. Atheism negates the soul so only the body exists, with the mind as a structure of brain activity.

Since the body is matter and subject to physics laws, some conclude that there can't be free will. But this is actually assuming a dualist vision, as if we existed outside the physical world.
I initially found the idea of monolithic repositories hard to digest. But now I think it's a good idea for some of the reasons outlined in the article. Namely, it's very easy to depend on other code that the organization has created.

I remember the days when monorepo was the norm, and distributed version control was the weird, kooky idea. Mainstream programmers had knee-jerk notions that all managed environments were too slow.

For game development, monorepo is simpler. If one is using git, one needs to use some other software to turn the part of your repository for media into a monorepo, otherwise the asset files become a burden. (gitannex, for example)
One does not have to use an ICE. An electric car counts against the fleet economy and once they aren't a novelty
and the production numbers hit millions the price should come down.

One reason to do so is so that North American auto's can be exported
>> Is the value of pooled mining that participants in the pool share the nounce they’re calculating, to avoid duplicating work within the pool?

This is an excellent question. The pools do not need to divide the nonces across participants as far as I can tell, it's not necessary.

The nonce isn't big enough (being only 32 bits) for today's difficulty, so miners change other parts of the block (known as extranonce, which is part of the coinbase transaction). The chance of two participants in the pool (or the universe for that matter) selecting the same nonce/extranonce (of which there are 2^256) is next to nil.

The pool does something different: it isolates a group of participants which then divide the mining reward among themselves, proportional to the hashrate they each have contributed. The "value" is that unlike with "solo mining" everyone gets something, as opposed to there being only one huge winner.

But I don't see how pools are in any way "bad" for the decentralized PoW clock, how the reward is divided afterwards doesn't really matter to the blockchain. If anything may be pools make mining more attractive/profitable and because of them we have the insanely high hash rate?

Thanks for pointing this out.
I did wonder if it was a Sagan reference: "... I was rewarded with this particular picture of a small, pale blue dot.”

Ref: https://en.wikipedia.org/wiki/Pale_Blue_Dot
NeuroSAT: Learning a SAT Solver from Single-Bit Supervision
Another leadership principle is frugality. No idea who or why people were fired, but could be to save $. I know that amazon in general is trying to get more frugal / profitable
...say we build/grow an AI system that passes the Turing test. We talk to it, it comes across as plausibly human.

How do we know we've created something with consciousness, and not just a very sophisticated program? The philosophy you disparage already has a term for this: the "philosophical zombie". For all intents and purposes, they appear human, but they have no internal experience whatsoever. All you'll have done is shunt the problem downstream.

Also, you're wrong about early vision. That's the best studied part of the brain, and in fact, researchers have applied ML techniques to fMRI data and extracted out the images being shown.
As someone working in Amazon retail, I have to say I'm now worried. Though it does feel like we don't have enough people to do the work we are planning to do for the year.
They've had successful Falcon 9 boat landings....
Fair point! Short answer: Even though our UI is totally platform-agnostic, we have a lot going on under the hood with platform-specific considerations. Examples include our Sketch integration (which, like Sketch, will have to be Mac-exclusive), ensuring our CLI works with the various ways our users can install Node/npm/yarn and Git, and supporting various firewall/antivirus configs in conjunction with our live design features. Like we said, multi-platform support is coming soon — focusing on Mac just helped us ship sooner.
sonic.net is also doing gigabit in the bay area, including expanding to the east bay.

We have it at my home in San Francisco and it's been rock solid so far. It was slated for December 2017 but we got it even earlier, in October.
To be honest, I'm not sure why you think your experience is the truth out there. I have found that when it comes to Apple hardware/software, the experience can differ greatly from a person to another by cheer luck.

For example, I had no wifi issues with my MBP Late 2014. However, I remember lots of people raged about my particular edition's Wifi. It just happened that my particular laptop was fine while a significant batch was affected.

I had a horrible iPhone experience before the last update. The crashes were daily, the bluetooth dropped a lot, car integration was working 1/3 of the time and the interface was sluggish.

As of the last update, many (maybe most) of the issues were fixed. There is still a bit of sluggishness of Chrome and the very occasional crashes. But nothing for me to rage about.
Microsoft is developing decentralized identity
Scary possibility: what if there is no good formal theory to explain how it works?

It's scary, but to my thinking, inevitable. It was all well and good for the early atomic scientists to say that "Math is unreasonably effective at explaining Nature," [1] but our level of understanding of both mathematics and natural law is still superficial in several important areas. The universe doesn't owe us a formal theory of anything, much less everything.

It seems likely that we will soon start building -- and relying upon -- software that no human actually understands. The math community is already having to confront this dilemma to some extent, when an outlying figure like Mochizuki releases a massive work that takes months for anyone else to understand, much less prove or refute.

At some point we will have to give up, and let the machines maintain our models for us.

[1] https://www.dartmouth.edu/~matc/MathDrama/reading/Wigner.htm...
Implying a pale, yellowish white dot depicting the Sun is next. (Or a pale red dot of a Tesla, more likely, given that negatives are probably already being post processed. You have to imagine that astronomy as a discipline took the last few nights off from science.)
It doesn't really, maybe by footprint on the ground, but Amazon has lots of tall buildings.
I've worked in the healthcare space. HIPAA doesn't scare enough people/companies away. Not by a long shot.

Sensitive personal medical info was routinely sent, by major companies, over insecure FTP or even plaintext email, on a regular basis.

Anyone who has ever had medical benefits at any point in their lives most likely has their benefit information, along with socials and more, sitting unencrypted in databases of a plethora of small companies/medical/insurance providers whose only concern for security is a mandatory HIPAA CYA compliance lecture for their every couple of years. The rest of the time they go about sending socials and pmi through plain text email or just leave shit on their desks for anyone to pick up.
There ought to be a full transparency report on every browser about what data is collected and shared and with whom. Even Firefox is no longer innocent.
https://en.m.wikipedia.org/wiki/LG_Prada
FIND OUT ABOUT THE CHEAPEST COUNTRY YOU CAN TRAVEL TO
>we're all pursuing perfection via different techniques

Yes, while often getting fundamentals wrong, e.g. there are millions of two year olds in day care.
Great explanation thank you! The 24 bit and 16 bit variants are highly useable but they are often overlooked by regexps, biggest problem is web apps. Being able to use octal and hex is even less common.
That happens in the US as well. Aldi and Costco have a lot of their own brands. Roundys used to be the generic brand of a nearby grocery store, but then Kroger bought them out. Kroger owns multiple chains of grocery stores across the country, including different ones in the same town sometimes.

The funny thing is that they probably use the same manufacturers as the popular brands and just also a different label on it.
Furthermore, they continue to serve you the ad for the same products, even after you've purchased them.
The problem is that their models are so broken, they require an insatiable amount of invasive training data to try to correct for their erroneous conclusions. Their failures drive even more affronts to privacy. The cycle continues.

Then they sell us household gadgets to sink their hooks deeper into our lives. Microphones listening to conversations won't be enough; soon we'll herald the coming of new "smart" appliances like the Google Toilet, which plays your favorite music, recommends better posture, sprays you off when done and stealthily analyzes your stool samples for markers to see if the Captain Crunch ads they bombarded you with over the last week led to a conversion.

It doesn't work, but failure is clearly no impediment to progress.
> BitTorrent as a protocol has significantly fallen out of favor as the go-to technology for John Q. Pirate's needs...

Out of curiosity, what would you say is the go-to technology for pirates now?
>I also believe that as long as you love your children (which is very easy to do), and provide them with a safe environment where they can feel empowered to try things (a bit harder, but still very doable), they'll turn out fine.

I'd add to that "teach a minimal level of social acceptability to behavior by the age of 2". There's a failure loop of "too annoying for playing with peers, leading to shunning, leading to not learning how to play nicely with others". You don't need to do much to steer children out of that, but you'll likely need to do some.

Plus, children that don't annoy the heck out of you are much easier to love.
And you have to read the fine print carefully too. When I forst moved to California, I was buying Knudsen brand dairy products thinking I was buying some kind of local product. But upon closer inspection, I found that it is actually just another brand owned by Kraft.

I still buy it, but I know to treat it like a commodity product and buy when the sale is good rather than a premium product that someone is actually taking pride in and might be worth the premium occasionally.
Convenience, sure, but don't forget that games on Steam are often deeply discounted compared with off-the-shelf prices. PC games (at least in Australia) are often $60 - $90 on the shelves. Many of these games can be had on Steam for $20 or less, and sometimes for only a few dollars in a bundle or on sale.
Yes, that has been a known trend for years, dating back to the dawn of Instagram and Snapchat.
the persons in the corporation would not lose their vote. the corporation is just one additional person, meaning someone could create multiple corporate persons and multiply their vote (at least, in OP's hypothetical scenario)
Eight months of the year it's drizzle every day. But the other four months, well they almost make up for it. I spent a couple of really great summers in Seattle.

Plus, no snow unless you want it- then you drive to the mountains.
Isn't this basically tumblr?
I don't think that's right. For most intercity service, the tracks are owned by a freight line and freight has priority. There are some routes where Amtrak owns the track or at least has priority rights agreements but they are the minority.
The fairing doesn't get carried to orbit. It's dumped as soon as aerodynamic loads are negligible.

Since the fairing has the same energy requirement as the payload (in energy/kg), it's important to get rid of it the moment it's unnecessary. If they took it to orbit (so they could leave in space), it would drastically cut down payload mass.
On the other end of the spectrum, a colleague of mine recently told me about when his previous company (big, 100k+ employees) were starting to adopt git, some people seriously considered having a separate repository per file! "Because then you can just set up your project as using version X of file A and version Y of file B"

It's good we now have (at least) Google, Facebook and Microsoft as examples of companies using monorepos. Those are names that carry some weight when thrown into a conversation.
KSP FTW!!!
I followed ion and atom trapping a long time ago, when it was still fairly new. (i.e., a couple decades ago) That was a valid question from the git-go, and there were a number of techniques. One way is that the trap is less stable when there are multiple atoms, so the extra atoms will eventually evaporate away, and you can measure the diminishing intensity of the scattered laser light. A paired atom will also interact with the light differently, for instance having a different spectral signature.
Why a $39M ICO Chose Stellar Over Ethereum
Discover alternate routes and cheap, one-way flights within a departure date range
Comcast is at 1gbps/35mbps.

What's the overhead of ACKs? It feels to me that you probably couldn't saturate the connection without getting buffer bloated by ACK traffic, at which point can it really be called 'gigabit' if it's not theoretically attainable?
5 Nuggets of Wisdom from Ray Dalio’s Book, Principles
> Namely, it's very easy to depend on other code that the organization has created.

On the other hand, I've seen the other sides of this in monorepos:

1. It's too easy to depend on code, so there is dependency bloat when something simpler would work just as well.

2. It's relatively hard to depend on things not in the repo, reinforcing not-invented-here culture.
I call BS, they will go where consumers are
What to Do When Algorithms Rule
<3 holochain
Podcasting Is the New Soft Diplomacy