skysight-inc/HackerNews huggingface dataset:
Could they just go all the way and use a mandatory first argument name to make things even more concise? That would get away from something that annoys a lot of people about Swift, the implicitly unnamed first arguments.

Something like this:

class BezierPath: NSObject {
func add(LineTo lineTo: CGPoint) {}
func add(ArcWithCenter center: CGPoint, radius: CGFloat,
startAngle: CGFloat, endAngle: CGFloat,
clockwise: Bool) {}
func add(CurveTo endPoint: CGPoint, controlPoint1 point1: CGPoint,
controlPoint2 point2: CGPoint) {}
func add(QuadCurveTo endPoint: CGPoint, controlPoint: CGPoint) {}
}

class main {
func run() {
let path = BezierPath()
let point1 = CGPoint()
let point2 = CGPoint()

path.add(LineTo: CGPoint(x: 100, y: 0))
path.add(ArcWithCenter: CGPointZero, radius: 20.0,
startAngle: 0.0, endAngle: CGFloat(M_PI) * 2.0,
clockwise: true)
path.add(CurveTo: CGPoint(x: 100, y: 0), controlPoint1: point1,
controlPoint2: point2)
path.add(QuadCurveTo: point2, controlPoint: point1)
}
}

The difference is mostly that it looks even more concise when using code completion. You would see:

path.add(LineTo: CGPoint)

Instead of:

path.addLineTo(point: CGPoint)
Ask HN: Why don't we automate justice?
Bulgaria recently is shaken with corruption scandals in the judicial system. It made me think where the fault is. Trying to look through different angles, I always seem to end up finding the error in the human act of knowingly breaking the rules.

So why don't we remove the human error factor and simply automate justice as a set of rules, defined by the law makers, executed by developers, with unit tests accompying every law? Lawyers and prosecutors can each present a logical argument on why they think their side should win, (a jury will decide), and an AI will give out the sentence. Should the issue hit an exception, a judge can intercept the case manually.

Am I missing anything? Because this, excluding the politics (unavoidable human factor), sounds too easy.
It really seems like Apple wanted to have its cake and eat it to with the Apple Watch. I guess they didn't want to explore e-ink, because they wanted a uniform look across devices (sort of, anyway).
This is a critical point. No they are not.

Where I live billions and billions was spent on water infrastructure. No actual improvements in supply were made- no additional catchments were built, because dams == bad. The money was spent in pipelines and a desalination plant that has never - and I mean never - been switched on. It's 5 years old and has never output water, because the cost is too high compared to dam water.

Now I have a 400% increase in water bills but no actual improvement in what I get. That money goes to paying the interest and running costs for that investment. That money goes out of my local economy. That, in aggregate, prevents and extra shop from opening, or causes an existing one to close. Most businesses run in thin margins and diverting cash away on pointless make work lingers long after the supposed boost happens.
The idea that it was more important to demo and build than it was to publish was–and is–an important part of the Media Lab culture. It’s through the building of things that we learn, explore, and discover. Building has a different kind of rigor than academic writing, because when you build, you have to make something that works.

I didn't read that as offensive. The lady doth protest too much, methinks.
True, the threat intelligence industry is a mess and reminds me a little of early tech startups in the last bubble. It's a response to breach hysteria.

Threat intel is a good idea in theory. As more and more threat intel companies start being filtered and shutdown (and I'm sure 80% or more will), there'll probably be a few left that provide some real value to security programs. Until then, it's just going to be 90% marketing.
I have a Misfit Flash and I don't even sense it so it is okay to go to sleep with it, I just wonder if I sleep well but if you keep your iphone open it can be used as a smart alarm to wake you up at a light time, but some other brands can do without the phone.
> "If it wasn’t too big of a statement, I would have gone back to my Polar RS-100."

I don't understand... the choice of what watch to wear is hindered by it being a "statement"?
So, life in a dorm room freshman year?

No thanks. It sounds terrible.

I'd type more but I'm about to trundle off to the kitchen to grab some aged cheese from the fridge, and a great beer.
FWIW, a lot of the video from the first Apollo mission was low quality because they had to convert it from SSTV to NTSC by pointing a video camera at a monitor playing the live transmission.

[https://en.wikipedia.org/wiki/Apollo_11_missing_tapes]
Chrome Commands
You're forgetting about the other Apollo landing missions. The later ones have fantastic color video footage, remastered in full HD for episode 4 of the fantastic documentary series When We Left Earth.

The whole 6 part documentary series are worth watching for anyone remotely interested in space, but here's a small sample of the quality of the moon landing video footage:
https://kristofferR.com/files/moonlanding_footage_HD.mkv
Just to add another data point: I have no problem with charging it nightly. Dropping it on the charger before I get into bed each night has become almost a reflex, I don't even think about it. I put it on in the morning even before I get out of bed.

I've forgotten two or three times, and every time the watch has easily lasted through two full days without dying.

Like the author I don't use third party apps very much (except maybe for Wunderground), but unlike the author I find the built-in functions more than justify the cost. I would recommend it and look forward to seeing what the Watch II brings.
Why do we need a language to enforce this discipline of threading? Can't we just take away the lessons?

- explicitly label shared data and control flow
- group together where the top threads are spawned
Uh ok let's say "a thorough understanding of the rest of the function" instead. Does my question make more sense? The reviewer (human or computer) needs to follow the logic of the function, understand the true purpose of the function, in order to know that the line which looks like a bug actually isn't one. I feel that most of my bugs are domain specific logic bugs. My original comment wasn't so much of a question but skepticism that such an algorithm can catch the hardest bugs, despite the improved metrics compared to other algorithms.
Most of Europe would not be okay with that - the US currently massively subsidizes the defense costs of European military forces with its bases. And it's not just the actual US forces there - it's logistics and training as well. For example, France likes to do peacekeeping operations in Africa. They can do so effectively because the US provides the airlift capability through their bases in Europe.

Basically, if the US bases go, the capabilities of much of the European military forces go bye-bye. They're optimized for using American logistical support, (because they have no reason to develop their own) and all of that comes through American bases in the region. I'm sure that some political parties in Europe would be completely okay with losing that capability, but most people agree that there is one thing worse than a strong military, and that's a weak military that costs the same amount of money as a strong military.
Lots of pascal via Delphi/Lazarus. Many old industrial systems still run on windows 2000 and have delphi frontends.
Why are they focusing on giving Tdap to the mothers in the first place? I've never heard of evidence that doing so would confer those immunities in the womb.
:) Gotta love quoting hell ( your proc a... example }

As to the rest, absolutum obsoletum - "that which works is already obsolete." I flat out don't see the bikeshedding; perhaps I'm just blind to it.

Tcl is also old enough to still have an active Usenet group.
Obviously. God will strike me down. With drones.
Why use www?
5 certs per domain name per week. I'm currently rate limited, I should be able to get my www covered in 6 days.
No, but I've seen one live worn by the main investor, Radu Georgescu. It looks really good from a distance, but from a close distance the lines are not very smooth, because of the low resolution (probably the main reason why the battery lasts so much).
Why not just put all of the phone functionality into the watch? Maybe with a little bluetooth ear-piece that pops out of the watch similar to the S-pen with Samsung Note devices. Feel free to steal my idea, fellow HNers, because that is what I want!
Boom and bust markets are caused by human infallibility and time lags.

Instead of providing government cover for the cycle, the lesson for businesses should be that they need to prepare for boo and bust. Knowing a truckload of government money will splash down the chute only increases moral hazard for reckless investment.

Your last paragraph sounds like a central planning nightmare. We don't need people in government buildings drawing lines around core needs. People faced with scarce resource allocation will make the choices that are right for themselves. Anything else ends up with tractor and leather shoe 5 year plans which don't match what people want.
The real killer about Matlab is its one-based indexing. Makes arithmetic index operations look ugly (and unintuitive) as hell.
And why am I getting downvotes? Are you afraid of the truth?
-1 for techcrunch.com website

I'd love to pinchzoom on the photos, but techcrunch has disabled it
Don't be embarrassed! The European Space Agency uses cache!
In 2014 , Intel talked about a charge bowl. But nothing came of it.
Except it's not at all like that.

BTW, if the "jack port" (sic) is removed, there will still be a Lightning port. Which supplies power.
I have been sleeping with the Apple Watch on for the past few months. Like the author of the post, I found the Sports Band annoying to put on and take off every day. Instead of charging all night, I now charge it during my morning shower/shave/toothbrushing routine which gives me enough juice to last all day and night.
It'd certainly be interesting to relate a multi-decade software project from the outside :-)

I will have to talk to my father about this... and explain why folks on the internet must hear his stories.

In the interim, would anyone happen to have an example of a good secondhand account of a software project? A basis or, at the least, an inspiration for how to proceed.
I love mine, and get compliments on it as a watch with surprising regularity. Traded a Time Steel for it too. It gets a reliable two days for me (wearing for about 18 hours a day), leaving it on a dresser at night. It can usually last about another half day or longer if needed.
All the more reason. We Europeans should be able to manage this ourselves.
As lots of comments have pointed out this is pretty useless in its current form. However, the general idea and direction is certainly worthwhile - a light and simple solution for the universal pain point that is CSS.

A few ideas for where to take it come to mind:

Ditch the JS and just write a library of generic CSS classes that solve common use cases. Crucially these have to provide at least _some_ abstraction above raw CSS styles (e.g. "always-centered-vertically" and not "margin-left"). There are lots of these libraries out there already, but maybe there is room for something a little less opinionated, or lower level, or higher level, or whatever than what you get with, say, Bootstrap.

Keep JavaScript in the mix but use it at build time, not in the browser. Maybe you scan the source to see which classes are actually used and dynamically generate a .css file to send to the client that only includes those classes and no others. Or maybe you could use JS to do some fancier layout solving - depending on the structure of the dom elements in the source - to generate correct CSS attributes to support the abstraction.

I'm not super familiar with the state of CSS tools, so maybe things like what I'm describing already exist by the dozens. I just know that CSS is a pain, and I appreciate anyone who wants to make working with it easier.
just curious what kind of SaaS application is it?
No, it was merely featured on boingboing in 2011. When that patent was filed, the US had a patent term of 17 years, meaning it probably expired in 1975.
What was the prior version of the iPhone? Genuinely curious. I've heard references to the Apple Newton, but that's about it.

Also, unless something was out by decades prior, I feel it's a bit difficult to truly know when something was "innovated" first. After all, polish takes time and customers typically only see what's released. Speaking of Apple, they've bought wireless charging patents as early as 2007, maybe earlier. But they've largely sat on them without a product (prior to the watch) as they often do, seemingly because the end product would not be at the level of polish they desire. I get less of a sense that it's a passive biding of their time to strike and start polishing, and more of a, is it possible to build it the way they want and have it be affordable (to their target market).
I'm not the one downvoting you, and none of your comments are that controversial, so I don't know, and no.
> Isn't there a quote that goes something like: People are ruled by the government they deserve.

Minority groups aren't.
Our iOS SDK can be used in both Objective-C and Swift: https://www.firebase.com/docs/ios
That's a certainty. His value declines over time, and eventually the Russian's ask will hit the number that the US is willing to pay.
A lot of people saw this coming before it actually happened. Everyone has to pay the piper eventually. I predict next company to fail in such a way will be BitSight Technologies - https://www.bitsighttech.com/
I assumed it was a reference to Kafka's The Trial
I and oodles of people don't wear a watch, thus I feel Apple shouldn't have wasted their time.

Rather they need to focus on things like..

- Add wireless charging in the iPhone & make it waterproof

- Force the copyright cartel's hands by buying one of them so they can get their cable TV (OTT) service up and running. Everyone hates Comcast and Apple offering an innovative cable like TV service over the Internet I feel would be game changing .. put a hurt on comcrap.

I and millions of others will never bother wearing any type of smart watch ... our phones do us fine!
Ah yea but bankers are like real estate agents; their incentive is to maximize their return per unit of time invested. If GS didn't think there's going to be a large marginal return (on time) in asking for more from the buyer then they'll say ok, you're happy I'm happy. It's about incentives. And yea I am aware they don't sign off but the Bakers aren't exactly experts; they would have said yes if the bankers said yes and the numbers seem high enough for them. It raises the question of whether there is any value in standalone M&A advice. Sophisticated sellers don't need pitchbooks and are well able to pull together their own models. Unsophisticated sellers basically go along with the bankers; who have no skin in the game and just want to close the deal. And then these sellers potentially end up with bad outcomes.

And yea the Bakers definitely should have gone with a smaller bank given the deal size. But hey, BODs make that mistake all the time too. Also given the size of the Bakers stake (50+%), not much difference between board advisory and management advisory is there? Theirs is the deciding vote.

Agreed with you on the last point. Been on more than one deal team where we've had to talk clients out of shooting themselves in the foot. But that's part of the game. No engagement letter covers that but a sensible client would expect that from their banker. Legally GS was always in the clear.
> Most of Europe would not be okay with that

Do you have any opinion polls to back that up?
Obviously. Look, I disagree with virtually all of what the CIA is doing, but day one Snowden was pretty up front about this. "There is a CIA field office close to here, bet those guys are working overtime" or something to that effect. Thats what you do in this situation. The CIA isn't dumb, their failure mode is thinking everyone else is. If they could have got him cleanly, they wouldve.
I stopped wearing watches 25 years ago and I can't stand strapping anything around my wrists any more, watches, bands, anything. Before then I took off my watch every night. So that won't be a problem for me, an anecdotal data point vs another one. The problem is that's a watch. Am I alone with that?
You may want to watch a few science fiction movies. :p
Tcl requires a certain level of stylistic discipline and rigor. You are not wrong about tracking down a typo but that's a problem anywhere.

That Perspecta file is not pretty to look at.
So you're still having to take it off and put it back on... just at different times.
Hum, I played also first time with smalltalk some months ago and even installed squeak, but can't avoid feeling the "what I could done with this thing?" sensation. Lots of games and cartoons moving in the screen. Should I push stronger?
One could easily make counterpoints to each and every single argument he has.
This website renders pretty crappy on an iPad.
Each round of centrally planned malinvestmemt in make work lowers the flexibility to deal with the next one, at the same time increasing the moral hazard for firms to expect the government to make good their losses. It also tends to create people dependent on governments as a source of livelihood, which robs them of economic agency.

All because a guy who actually didn't study economics waved away the long term structural issues by stating 'in the long run, we are all dead'
Reminds me of The Birth and Death of Javascript: https://www.destroyallsoftware.com/talks/the-birth-and-death...
New map jarringly places Africa in global context
> we need to get rid of US military bases across Europe.

What would stop the CIA from sending over the Gulfstream jet and paramilitary team using civilian airports?
Every military base is a US military base in Europe. Also what do they have to do with this, there's no mention of them in the article.

The problem is not that the US has planes in Europe. The problem is that most European countries would not hesitate to aid the US in capturing Snowden.

What we need is the European Union to grow strong enough so it can push back and have enough breath to spare so that it can spend energy on secondary concerns like freedom and integrity.
No, the rotten and dangerous stuff remains rotten and dangerous.

https://www.reddit.com/r/lolphp/comments/41fqib/it_is_so_sim...
I'm curious what positive articles do people think the NYTimes could carry about India? Keep in mind that being a US based newspaper, human interest stories about positive contributions by individuals outside the US are very unlikely to make it into a US based paper. What usually works is a wide systematic positive story, often through the lens of a few individuals.

When India was growing rapidly, and basically created a massive new middle class in the 90s on opening its borders, the NYTimes had a lot of positive stuff to say (Friedman, of The World is Flat fame, was one of the biggest promoters of India). This was a massive positive systematic change, that was covered widely.

But since then what positive systematic changes does India present that would be useful for an audience halfway across the world to know? There are a ton of individuals doing amazing work in India (and note, even this article focuses on the strength and bravery of individuals who fought the system) Indian institutions are famously terrible, and are getting worse. Frankly, the only possible positive stories that you could do about India that come to mind are the rapid rise of solar energy (however, all of that is in the planning stage at the moment...we need to see how it materializes). That's pretty much all I can think of.

Frankly, India doesn't help itself by screwing up situations we could have used to build a better image. You bring up Australia and sports. China did the Olympics, and it was an amazing spectacle. It truly changed people's perspectives of what China was capable. India had an opportunity to do something similar with the Commonwealth games (although that would understandably be ignored by the US media anyways)and that was a massive disaster which only served to emphasize how terrible and corrupt our institutions are.

Edit: I think the NYTimes could do a really great positive (and relevant to the US) article on the Indian Electoral Commission. They basically moderate the elections, and have done a really great job in ensuring largely free and fair elections in a chaotic country which is otherwise awash with corrupt institutions. It's actually pretty amazing that India has maintained and strengthened democracy in the past ~70 years, and the EC has a huge role to play in that.
It's a popular idea but not borne out by the truth. In any decent sized (ie, not tax haven) economy, even the most financially distorted economy still produces a lot more real good and services than finance services.
Me too. Watches and glasses. So not exactly excited about Google pushing their Google Glasses and Apple the Apple Watch. Waiting for Microsoft to come up with the Microsoft Braces!
But if something is worth doing, it's worth doing now.

If you had an idea for a great startup, you wouldn't wait for a few years. You'd do it as soon as it was ready.
Not as hilarious as more low-tech cheating: https://www.youtube.com/watch?v=7E4vRtC7IcY
The only thing I've found strongly lacking in bash is math. You can `| bc` all you want, but it still seems slow compared to other languages. I typically do all my math in python (typically through pipes... heh), and everything else in bash.
I thought thats what everyone does
Hopefully fighter jets.
I'd call it a "German adult themed cartoon character" or similar.

The story used to be notable because it's a bit bizarre that a popular kid's toy was a carbon copy of a highly sexual cartoon character aimed at adults.

If a popular kid's toy were merely a carbon copy of an existing German cartoon character, alone, it would not really be notable at all.

I appreciate the sensitivity around putting labels on the character, especially on a professional setting such as HN, but it's a detail important to the story.
I feel like what we should be working towards is an integrated "problem-solving"-based curriculum. The test-based stuff has us stuck in "memorize these things" mode.

For most kids, math is way more interesting if you can move past generic formulas and into real-world use cases. I remember continually asking math teachers "And what would I use this for?" and never getting an answer which left me super-frustrated and uninterested.

Instead of breaking them out into different "tracks", integrating math, logic, and CompSci into existing courses might produce some interesting results.
STEAL THIS SHOW S01E05: P2P Marketplace Open Bazaar
Well, you can apparently buy land on the moon for as little as $30 an acre...!

http://www.lunarlandowner.com/standard_gift_package_details....
I only just downloaded the extension but I already love it. Great idea!
What's your citation of European public opinion? If you're from the US, would you be happy if a foreign power occupied your homeland with garrisons? Would you accept their self-serving benevolent rhetoric, given their constant militant behavior (which among other things created a refugee crisis)?
The distance issues becomes a problem. What works for the Bay Area doesn't work for North East. It's both because all politics and business is regional, and because information flows are affected by distance.
StatusPage (YC S13) Is Hiring Rails Engineers in SF and Denver
No link to the paper?