skysight-inc/HackerNews huggingface dataset:
"Lack of ability" will have to be demonstrated politically as well as technically.

If Google doesn't want to be subject to US laws, then the data and servers in question have to be under the control of an entity not under US jurisdiction. And that includes financially and politically as well as technically.

This really isn't that hard. Google can either set things up so that Google US really, truly cannot affect anything in Le Google--and that includes management decisions--of course, Google does not want independent Googlets as those companies will start to compete with the mothership (or they can't function because they lose the economy of scale). Or Google can set it up so that NOBODY including Google, Le Google, etc. can get at the data because it is encrypted--of course, Google doesn't want this as then they cannot mine your stuff for advertising.

Why do you think Microsoft just announced all the SGX support stuff for Azure? They want email to be really, truly encrypted such that even Microsoft can't get at it so that the can keep selling Office 365 without getting embroiled in this.
Don't forget how the other nascient world power of the times, Germany, managed to self destruct while taking down most of the incumbent empires of the previous age, with Russia/USSR left as the exception the conveniently play the role of the external enemy to rally your own people against.

It was exceedingly convenient for the US economy to have all of Europe's infrastructure shred to pieces. Both the competition gone and a huge rebuilding market to dump your excess industrial output.
China mobile payment 50x more than US
At $3M a year taxes become a more significant worry.
If so then they should mentioned incidences which lead to this suspicion. Both mayor and uber has failed to make it clear what the reason of contention is between them. The rules which uber is not following should have been listed instead of arbitrary statements like Uber failed to report crimes by their drivers . This can happen only if victim decides to report to uber instead of police which sounds very unlikely scenario to me.
How to Remove Cinavia on DVD
500+ Slide Pitch Deck
I’ve considered setting up a cron job to change select podcasts in iTunes to music so they sync with the watch. No position sync or fast forward but enough for a run.

Having spent 24 hours with the cellular watch and taken two runs without the iPhone, this is now a near necessity.
I got no stuttering on my 2017 MBP
I beg to differ. X11 2D primitives are "actually fine" in the same sense that there were "very fine people" marching in Charlottesville. By which I mean "not actually very fine". ;)

But I totally agree with you about colors (the X approach to device independence is to treat everything like a MicroVAX framebuffer on acid), and xRender (which was wonderful work that transcended X11 and led to Cairo and html's canvas).

And don't get me started about window borders, and the SHAPES extension, and their fractally complex interactions!

http://www.art.net/~hopkins/Don/unix-haters/x-windows/disast...

A task as simple as filing and stroking shapes is quite complicated because of X's bizarre pixel-oriented imaging rules. When you fill a 10x10 square with XFillRectangle, it fills the 100 pixels you expect. But you get extra "bonus pixels" when you pass the same arguments to XDrawRectangle, because it actually draws an 11x11 square, hanging out one pixel below and to the right!!! If you find this hard to believe, look it up in the X manual yourself: Volume 1, Section 6.1.4. The manual patronizingly explains how easy it is to add 1 to the x and y position of the filled rectangle, while subtracting 1 from the width and height to compensate, so it fits neatly inside the outline. Then it points out that "in the case of arcs, however, this is a much more difficult proposition (probably impossible in a portable fashion)." This means that portably filling and stroking an arbitrarily scaled arc without overlapping or leaving gaps is an intractable problem when using the X Window System. Think about that. You can't even draw a proper rectangle with a thick outline, since the line width is specified in unscaled pixel units, so if your display has rectangular pixels, the vertical and horizontal lines will have different thicknesses enen though you scaled the rectangle corner coordinates to compensate for the aspect ratio.
"You've not experienced Shakespeare until you have read him in the original Klingon." -Chancellor Gorkon
That would be awesome if you wanted to share it!
Can you start a thread with a JS loop in node so you can have two loops running at the same time doing CPU-heavy tasks?

If not, then calling it multi-threaded is misleading to a programmer who needs such things, and instead you'll need to find a more accurate word.
A very pleasant ride! I didn't think to stop for passengers at the first few stops. I feel a bit guilty about that. Meh... they should have read the "express service" sign.
> Zhang declined to comment on specific figures, saying most employees prefer stock over cash.

His employees must be pretty confident considering that a few years of cash could set them up for life.
Yeah, Uber and Lyft spent VC money to lobby the state government to override what the Austin voters decided.

So much for the will of the consumer, eh?

But, hey, that's what "DISRUPTION!" looks like nowadays, right?
The answer to these kinds of questions is very, very dependant on requirements and available resources. And there are rarely easy, out of the box answers.

The big questions to ask are:
- what data is of interest
- what are the requested ingest patterns (how is data getting into this system? How frequently? What rate of ingest is expected?)
- what are the requested query patterns (who is doing queries? What do those queries look like specifically? Are people querying over unbounded time ranges or are people doing more focused queries? Do queries regularly involve aggregations or not?)
- what is the requested SLA (i.e. how much partial down time is okay? How much full downtime is okay? What kind of query response time do you need to target?)
- what resources are/will be available (money, man power, compute, storage, tech on hand)

It's possible that a time series data store might not be the correct system choice once these questions are answered. It's not unusual to see data split or copied into multiple systems to answer all requirements.
Math and (theoretical) CS are pretty much the same — you will have a lot of mind expanding experiences and build up your theoretical toolset.
Registered nurses, at the median in SF, earn about $133k a year (check US News "Best Jobs" for a roundup of regional BLS data).

I'm absolutely OK with nurses earning good salaries but I do think people are often surprised to hear how much nurses actually do earn.
Yes .. this piece of article does not resound with my biases and beliefs . So the author must be paid shill. /s
The account cramforce has locked comments on the github page reporting this bug

https://github.com/ampproject/amphtml/issues/6210
The Apple Watch might be selling well, but it's definitely not getting the kind of 3rd-party app support Apple probably wanted to see (me and everyone I know who has one likes it, but only uses notifications and fitness tracking).

With that in mind, it's crazy to me that Apple isn't beating down Marco's door to give him his requests. In the limited time that standalone Watch playback was in Overcast, even in its crappy implementation I used the hell out of it. Audio is one of the few home-run use cases for Watch apps, whereas in most other cases it's so much simpler and easier to just use your phone. Why wasn't that the first API implemented and the one polished to a shine? I hope they're not trying to make Apple Music the only available option.
Yes, secede, thank you, funny typo though. You are right about that.
Any prerequisites? Age or education? Can this be given to high school kids?
It's really good for encapsulation and you can do services without dependency injection frameworks
2017 MBP LOL well it runs fine on my 2013 MBA
The Idea Factory is a history of Bell Labs about just that idea, starting with the first transcontinental telegraph message.
Feel free to reach out to me if you want to talk through it. alex@laties.info
That's a start! What about paying all employees well and having executives stand for election by employees once a year?
I wonder how some people have this sort of passion too.
Microsoft and Facebook’s 160Tbps transatlantic undersea cable
Local computer wiz digs food out of a dumpster and saves 100% on food. Walmart hates him!
I would add that they are incredibly lucky as well. If given the choice I would live like this. I do not have that choice.
These revenue numbers strike me as a bit odd, even for US market with it’s relatively high CPMs:

$2.5 billion / 365 days / 120 mil daily users * 20 ad impressions (assumption on my part) * 1000 impressions (to account for CPM pricing) = $2.85 CPM

That’s not bad avg. CPM even for US/EU market assuming mostly display/native display ad units and the relatively lower value of mobile dominant audiences. However, average of 20 ad impressions per user is fairly high.

If they somehow have a lot of video ads, it changes the calculations somewhat, but still seems oddly high. Does anyone have any insight into how believable that $2.5 billion number is?
This article is a great example of how the Apple Watch has failed to reach its potential almost entirely because of indifferent software product design on Apple's part. I'm sure that ever Watch owner and developer can come up with a few other examples of things that the apple watch ought to be able to do but can't. When I bought my Apple Watch, I had assumed that I'd be able to use it to view and control the podcasts I'm listening to on my attached iPhone, which is even more fundamental than what's described in this blog post. But nope, not in any meaningful or useful way.

That being said, the Apple watch is still pretty good at pretty much one thing: when my phone beeps with a notification from one of many sources (SMS, eBay, Invision Trello, Messenger, etc) I need only glance at my watch. It's also a decent exercise tracker.

But it could be so much more. Sadly, I think Apple has probably missed it's best chance to recruit top developers, so it's likely it will be relegated to fancy text reader and step counter forever.
Which was weird, as subs are used to going out for months on end. Does he think submarines hang out at port all the time?
I'm not sure I'd want information like this public. Doesn't seem safe.
I don't think Apple needs to be told where their APIs are lacking for podcasting, as evident through the absence of standalone playback in their own Podcasts app, let alone an app at all. Either Apple can't figure out how to take the podcast experience and make it a good one on the Watch, or more likely (I think), the way it would need to work would make the Watch experience bad. I imagine they've got the "just play" experience for music heavily optimized, but the callbacks Marco mentions probably do terrible things to the Watch's battery and processor. Either way, this is a known desired thing, and if it could be done in a reasonable way, I'm sure they would have - they did put the 'pod' in podcast, after all.
Who's being forced to use uber/lyft? Ironic that you believe state intervention into markets as being the "will of the consumer".
i think you mean, there will always be at least one person who is unhappy.
This is why I give to religious charities
The problem here is that the behavior is in fact defined. It is not defined by ISO C, so it is "(ISO C) undefined behavior". But requirements for C program behavior do not only come from ISO C. It takes more requirements than just those from ISO C to make a complete implementation.

On "modern", Unix-like, virtual memory platforms, we have an understanding that the null pointer corresponds to an unmapped page, and that this is the mechanism for trapping null pointer dereferences (at least ones that don't index out of that page).

A compiler which interferes with this by replacing valid null pointers with garbage at point where they are dereferenced is running afoul of this platform requirement.

Look, the generated code is not even pretending to use the value of the null variable. We cannot reasonably call this machine code a translation of the program's intent into machine code.
A new way of propelling spacecraft may open up the asteroid belt
Why is this flagged? That HN or HN users would flag gives even more credence to criticism of tech culture, its sexism and denialism.
Websockets – caution required
I doubt he keeps his savings in the truck, and very few people are going to risk going to prison over stealing a bed and dresser.
Average podcast is over 30 minutes, right? That means you would need to pull out your phone every 30 minutes to select the next podcast. Is that a big deal to you?
And its ultimate goal is, of course, to convert all of the mass in the universe into paperclips: https://wiki.lesswrong.com/wiki/Paperclip_maximizer
So to be clear, you made sure you experienced a natural night - 10 hours of pure darkness (can't see your hand) starting and ending at exactly the same time every day, for at least four to six weeks? And no result at all? Realllly?
Without your last para, you make a valid point. The EU is not a nation, but we all know that it can wield united power in lots of areas and you cannot compare the EU with the continent that is Asia.
Text-Based Insertion and Replacement in Audio Narration
I've seen early model SSDs fail (eg 60GB and 120GB consumer SSDs years ago), but an 850 Pro will keep on going for a long time.
Thank you. Please try it out and open as many issues as you can. I'd like "ox-hugo" to just work for others as it has for me.
Just checked my MacBook Pro...45 days. And yeah, that was likely for some updates.
A little over a week ago I found out that watchOS 4 would show you the now playing screen by default when listening to something and couldn’t wait to install it.

It’s fantastic to be able to easily look at my watch to change the volume or skip track or go forward or backward in a podcast.

But then Overcast came up. And just like Marco said I ended up on installing it on my watch because I lost the ability to change the volume. The now playing widget still let me change the volume and I can use the little buttons to skip forward and backward 30 seconds.

But now I can’t choose which podcast I’m listening to from the watch. I can’t put the app on my watch because it actively brakes a useful feature.

All because Apple won’t provide a simple API the people have been asking for for two years now? It’s sort of made sense in the original watchOS I guess but once we got the ability to run apps on the watch and access the digital crown seems like an obvious step that volume control should’ve been provided.

Please, Apple?
Cloudflare's new Rate-limiting. Beware
Early this month, our devops engineer went on leave. On the same day, usage spiked on our opensource API. Disabled tokens were making 1000s of rps causing heavy load. Not wanting to disturb our devops engineer, we tried IP blocking in CF, which didn't help because requests were coming in from 100s of IPs (probably app users).

We then saw - on the same page - CF's new rate-limiter. It seemed great, and I think it said '1 free rule'. We quickly set it up to rate limit to a few rps. This also did not work, because there were multiple tokens making requests from 100s of IPs. We finally ended up filtering those tokens out on NGINX.

Fast forward to yesterday when we got the bill. I don't usually open them because it's always $40/month. This time we added their LBs (they don't support session stickiness, so again, beware) so I was curious about the charge.

$876.

$90 for the LB, fine. But the clincher? $721 for the 'rate-limiter'.

Here's why we have an issue with this:

1. Rate-limiting did not work for us. 144 million requests passed through. 28 requests were rate-limited. 28. (facepalm)

2. The pricing is misleading; In the heat of things, I only remember it saying '1 free rate-limiting rule' and missed their note on usage pricing. Yes, silly of me to assume that CF would continue their claim-to-fame as the single unmetered vendor. You have to click the 'usage' link nearby and read the blog post to understand pricing.

3. No billing alerts whatsoever. When usage is over 20x of a user's monthly charge, you'd expect some form of an alert. To put this in a USD -INR context, that's ~2 month's salary for our devops guy.

We absolutely love CF and have been evangelizing them since we started using them 2 years ago. I've reached out to support and their first response was to say there'd be no refund. Let's see how this plays out. :-)

In the meantime, if you're using CF please check your usage to make sure you're not running up 20x your monthly costs.
The next time I heard it was in the early eighties in a Marxist commune, so I'm not.
> Nobody's talking about taking away all optimisations, just not trying to do extreme optimisations that exploit undefined behavior (or rather, assume it can never occur).

Those "extreme" optimizations are usually just surprising behavior that emerges from perfectly reasonable optimizations. For example, assuming that code that follows null dereference is dead is important.

> Plenty of C compilers worked that way in the 90s and performance was perfectly acceptable (on hardware with a fraction of the speed and memory of today's computers and phones).

You can get that experience with GCC -O0. Do you want to run code like that? I don't, and neither do customers.

People who don't work on modern compilers often think that there is a subset of "simple" optimizations that catches "obvious" things, and optimizations beyond that are weird esoteric things nobody cares about. That isn't how it works. Tons of "obvious" optimizations require assumptions about undefined behavior.
I just picked up "Reading the Past: Ancient Writing from Cuneiform to the Alphabet". It's actually a combination of 6 smaller "books" that goes over:

- Cuneiform
- Egyptian Hieroglyhps
- Linear B
- The Early Alphabet
- Green Inscriptions
- Etruscan

Much of what's in the book are things I've already learned. However, it makes for a great summary for people that are over and have questions.
The alternatives, for those of us who enjoy taking our dogs places, is cracking the windows and leaving the dog in the car, leaving the A/C on for the dog (and risking someone breaking the windows), or just taking the dog inside and claiming therapy status.

I like the dog prison idea.
Where we’re going, we don’t need phones.
Seems almost entirely to be a matter of networking and having a degree of some sort to get into decently high paying jobs here in Seattle. Otherwise you end up at a small or mid-sized company, significantly underpaid and wasting your days with their shenanigans.
Twine[0] is the tool I've been using for PyPI archive management and Pipenv[1] is looking promising as the next iteration of pip.

Twine makes the packaging process _slightly_ easier, although setuptools is still a bit of a pain.

Pipenv handles a lot of project cruft for you: setting up a virtualenv, distinguishing dev and prod packages, locking them down and deterministic building.

[0]: https://github.com/pypa/twine

[1]: https://github.com/kennethreitz/pipenv
How do I check this? (I’ll go ahead and discard my HN dumbass card with this move.)
Nothing in the C standard prohibits parts of the executable from (a) being outside the "program" and thus many of the limitations of the standard, and (b) running before main. Therefore on Linux and Windows and almost certainly OS X too, main is not called first. Anyone who knows anything about systems programming knows this or should. (See also: the 90 million My First Disassembly blog posts out there.)

But you know what else the c standard says? UB is UB. People in here complaining that UB is really unfair because it forces them to write correct programs are the ones bringing the real world into scope in this discussion. If you want to insist that we limit the discussion to the standard then you're just objectively wrong by definition, end of discussion. I was trying to be more productive than that.
Depending on what you're doing, you might need to pause/play/rewind the podcast a lot. I walk to coffee shops through some neighborhood area, and then some busy roads. So I make sure to pause for traffic noises, often I've gotta do so to talk with neighbors, and then so on. I don't even have an apple watch, but not having to deal with pulling my phone out a good number of times per walk over a lot of walks means a lot less times I could potentially drop my phone.
You are an adult. You can choose to do whatever you want.
TLDR moral - "[I]f we live by subhuman means we might as well never have had the good fortune to be born human."
It feels like this was posted in reaction to https://news.ycombinator.com/item?id=15326648, which is on the front page right now.
Yup, though one might argue that I'm always sick, because I have mild allergies to just about everything airborne. Otherwise on a completely normal day, if I sleep for 8 hours I'll feel as if I overslept, especially if it's more than one night in a row
I just read those two articles (from June) and don't get the idea that either was crushed. The drivers just saw the number of rides and disperse to more services, and the $350 promotions etc. RideAustin still seems to have almost 50% of the business, with Fasten, Uber, and Lyft splitting the rest?

This (crappy Buzzfeed) article from July seems confirms what locals say... they're all still there:
https://www.buzzfeed.com/carolineodonovan/uber-lyft-austin-t...?
The entire time I was reading this piece, I couldn't help but think, "I wouldn't be surprised if Apple explicitly omitted that feature from the API to keep battery life reasonable on the Apple Watch."

Syncing progress for a podcast once every minute is excessive. Rather than polling, the app should update progress on the boundary transition (when starting the podcast app, when playback pauses, when bluetooth headphones disconnect, just before and after going to next/previous podcast).
Ask HN: The best system to store these metrics?
There was an interesting discussion in the Prometheus thread today, but I'm still trying to figure out what to make of it.

I have an app which records usage statistics on a per-instance and global aggregate in 5 minute intervals. I want to store request counts, source IPs, average latency, and keep this data indefinitely. I also want to be able to query and summarize the data on-the-fly and display to the end-user. Potentially at scale, but starting with a half dozen POPs each serving thousands of users.

Today, literally, this is all stored in graphite/carbon and works quite well actually considering it was easy and free. What is a better solution for this? I don't expect a turn-key solution.

I was assuming that Prometheus would be the way to go with this. I thought it had the redundancy and multi-site aggregation that I am looking for, but apparently not?
> org-mode does indeed support footnotes[fn:1], but I was recently saddened to find that Github doesn't render them (it does render more basic org-mode features, though).

GitHub uses this org-ruby project[1] to render Org files. If someone loves Org and knows Ruby too (I don't), please open PR's on that repo to improve Org parsing.

[1]: https://github.com/wallyqs/org-ruby