Better HN
topnewbestaskshowjobs
Log inSign up

zionic

3,522 karma · joined Jun 21, 2017 (9y ago) · 1,209 submissions

Submissions

comment 6y ago · link · parent

Yep, seems like another short-and-distort campaign. I can't wait to have this brought up in anti-Tesla reddit arguments for the next 12 months.

comment 6y ago · link · parent

If I see NSA on a resume, it's going in the trash. Just being honest.

comment 6y ago · link · parent

Except we know this isn't true. All of their systems have key word input with manual curation for suppression/boosting. Google maintains blacklists for news etc etc.

comment 6y ago · link · parent

Also:

1) This was this particular booster's 4th flight

2) This particular orbit was stated to be at the very edge of F9's performance.

comment 6y ago · link · parent

Yes:

1) Future sats will continue to get progressively lower albedo

2) The sats brightness is much higher in their "orbit raising" phase then their "service" phase.

comment 6y ago · link · parent

Just remember to adjust your voting habits when you inevitably move somewhere else.

comment 6y ago · link · parent

>I genuinely did not understand that was a weird/socially unacceptable thing to do.

If it makes you feel any better, I found this line/story absolutely hilarious.

comment 6y ago · link · parent

Playing code golf with the language syntax isn't the point, clarity and expressiveness is.

comment 6y ago · link · parent

I don't think anyone in the Swift community wants the Perl's reputation as a write-only language, but changes like callAsFunction are how we get there.

comment 6y ago · link · parent

Or go full meta and discourage "cleverness" during the Swift Evolution process it seems.

comment 6y ago · link · parent

Then it should be some kind of python-interop module. These kinds of useless syntax hax shouldn't be introduced into the main language. >99% of swift devs will never ever "interop with python", yet they all have to pay the price of this change.

comment 6y ago · link · parent

>It's a bad example.

It's a bad example enabled by a bad language feature. Just you wait until answers on stack overflow, sample code, and open source libs are littered with these "bad examples".

Meanwhile, this example is terrible. There is no real need for callAsFunction in your example when you could have added a simple named function on the object to do so. Better yet, you could define a protocol and make sure your layer conforms to said protocol.

comment 6y ago · link · parent

Progressive disclosure does absolutely nothing for your students looking up example code only to be greeted by alien syntax that does the same thing.

Pretend you know nothing about a language, why would you assume .map { $0.thing } and .map(\.thing) are even remotely similar?

comment 6y ago · link · parent

Precisely.

Language designers seem to underestimate the cognitive overhead of syntax duplication.

StateStream.map { $0.subState }.compactMap(\.subObject).flatMap { $0.objectProperty }

Being correct is super frustrating.

comment 6y ago · link · parent

Syntax duplication has a huge cognitive overhead.

comment 6y ago · link · parent

I understand the difference in difficulty, my point is any incremental time spent on this is wasted and could have contributed towards something else that's useful.

comment 6y ago · link · parent

It's easy enough to say things like "well if you don't like it don't use it". Meanwhile as a primarily swift dev I can't stop others (outside of my team) from using this disastrous syntax.

The first time I have to dig into someone's backwards codebase that uses I'm gonna flip.

Objects defining named functions allows you to reason about them logically. Car.tireSizeInches() returns an Int type. Any other developer can see that and know whats up, or type "Car." and explore relevant functionality. What the crap does Car() do? Etc.

This is a huge backwards step for swift syntax. I hope most of the large open source libs ban it.

As for implementation difficulty, see my sibling reply.

comment 6y ago · link · parent

IMO Vapor (Swift) is the future. I absolutely love it for server side.

comment 6y ago · link · parent

This. I'm already adding callAsFunction to my team's linter, should be a stupid simple match since you can block declaring the capability in anything.

comment 6y ago · link · parent

What amazes me as a huge Swift fan is that crap like callAsFunction gets priority over things like proper async/await.

comment 6y ago · link · parent

Seems like proper application of the downvote button is called for.

comment 6y ago · link · parent

6 months paid? Holy cow. Even 1 month would seem like such a luxury to me.

comment 6y ago · link · parent

Well that's just depressing. Having the fact that you accessed a government addiction help website packaged and commoditized then sold to the highest bidder just screams moral bankruptcy.

comment 6y ago · link · parent

Land of the free!

comment 6y ago · link · parent

So a CIA software engineer who was smart enough to use multiple layers of Vera/Truecrypt was dumb enough to google CP on clearnet and keep the passwords to a 10,000+ pic CP archive on his phone? What's more likely, that this guy is a colossal moron or the government is looking for a scapegoat?

Also LOL they charged him with copyright infringement (probably for some torrented movies on his hard drives), they really want to throw the book at this guy.

comment 6y ago · link · parent

You haven't made much of an argument.

comment 6y ago · link · parent

Source?

comment 6y ago · link · parent

Wasn't that uber?

comment 6y ago · link · parent

>Why would they need to do such a thing.

In general or this case? In general: Because it's incredibly powerful. In this case? See below.

>The defendant broke his agreement with the CIA and the Federal Government by leaking classified information.

This has yet to be proven, and the defendant claims he is innocent. An alleged leaker claiming his innocence possessing unencrypted CP is incredibly convenient for the CIA. Almost too convenient.

>falsify evidence that could torpedo an entire case

Why when the risk to the gov is basically 0%. You run a kit to plant the files and metadata. The files are then "extracted" by a forensic tool, the "evidence" is now bulletproof. The only person who could conceivably challenge such a move would be a very wealthy person who knew they were innocent and chose to hire expert witnesses to analyze the planted data to prove it was faked. Even then... good luck.

comment 6y ago · link · parent

Well that's a new nightmare. Could the government then charge github contributors with production?
1
363738
41