Hacker Newsnew | past | comments | ask | show | jobs | submit | tsukaisute's commentslogin

A young person in our family was using this. It's a beautiful app, but typing and editing code on an iPad without a physical keyboard appeared to be extremely frustrating. Cutting-pasting, refactoring, etc. all become cumbersome and she had to spend time fighting with the editor instead of focusing on the problems.

Waiting for them to make a Mac port, since coding happens on a "real" computer (for now, anyway).


I bought an iPad hoping to teach myself Swift as an experienced developer, having seen the success my wife had had as a non-programmer.

The UI eventually just irritated me too much, and I sold the iPad. Really wish this was available as a Mac app.

I am far from the only person for whom learning is only really possible while doing, and I'd love to see more programming language tutorials written as problems to solve, but targetted at experienced developers. I can kind of fake it by solving the Cryptopals problem set for a language, but I'd like something where the initial learning curve jump was minimized.

This particular degree course (http://www.cs.ox.ac.uk/softeng/) is the only reason I have a degree, as almost all the modules were doing rather than listening or reading.


Ifyou have a mac, just use xcode and the stanford course, that's what almost every ios developer inknow did...


They seem to have a couple, which are you recommending?


As far as I know they are all the same course, just new editions for each batch of students (and by coincidence, each new iOS versiopn).

I followed it when it was still objective c, and I can only assume it gets better each time. As long as it's still the excellent Paul Hegarthy holding it, just use the latest one.

If you use the Itunes U app on the ipad you'll get all the exercises etc in a nice format. And at least when I did it there was even a special forum for all the MOOC students to discuss the lectures and exercises.

I can't recommend this course enough, it's one of the best I've ever come across, any category.


Developing iOS 10 Apps with Swift. iTunes U recordings are from Winter 2016/2017 and are using Swift 3 so it's pretty up to date.

https://itunes.apple.com/us/course/developing-ios-10-apps-wi...

https://web.stanford.edu/class/cs193p/cgi-bin/drupal/

Swift 4 and iOS 11 are coming soon, but I wouldn't wait for the course to get updated. Downside of it being a university lecture is that it'll be a while.


You can use a bluetooth keyboard with an ipad. (the stock aluminium mac keyboard is the most obvious choice but I guess every bluetooth keyboard will work).


Even cheap keyboard cases provide an incredible productivity boost. Was amazed that shortcut keys like cmd-tab just work.


Interestingly even emacs-style shortcut keys for text navigation have been supported in iOS text fields since forever when using a bluetooth keyboard.


I like to work out small examples on the iPad. It’s not ready to replace Xcode but you can certainly work out small examples. At some point I’ll move my code to Xcode to continue.

By the way, I’ve created a Github repo with two dozens basic examples that should help anyone who likes to learn from code:

https://github.com/melling/ios_topics/blob/master/README.md

It all compiles in Swift 4 without warnings on Xcode 9.


I have a feeling we are going to see a bigger push for development work on the iPad this upcoming year. Xcode 9 took a huge chunk from the iPad Swift Playgrounds app (mainly the new source editor.)

Being able to edit storyboards and wire up view connections on my iPad would be awesome.


Integrating this app into Playgrounds in xcode would work, although they'd have to make it accessible; xcode is easy enough to install, but it's not marketed as a "install this to learn to code" type of app. Distributing it separately would be better.


The playground format that this course uses ("playground book") is currently not supported in xcode, but hopefully that will change at some point.


There seems to be a lot of confusion in the other posts as to what this is.

Simply, it is an adapter that lets you use SQL syntax to introspect Ethereum blockchain data (blocks, and transactions.) Typically people do this using a JS API built into the node software [1], and it may/may not be ones' cup of tea.

[1] https://github.com/ethereum/wiki/wiki/JavaScript-API


Yes, and with presto you can join tables from different sources. So you can join ethereum data with whatever you want, be it a mysql table of accounts in observations, etc.


Strictly speaking, the bug was not in the language itself, but in a specific contract's code.


Looks like it needs some work, anyway:

https://news.ycombinator.com/item?id=14810008


"The incident was described by two entrepreneurs who were told about it in the weeks after it occurred but were not authorized to speak about it."

May be unfair to all parties involved that a situation is described on hearsay, with the source not identified, and not even being a direct source (someone who wasn't at the event, and who heard about it weeks later.)


Angel is free to waive their NDA and we can hear from a primary source. Their unwillingness to do so makes clear what that person would say.


Or they have blanket rules, specifically so that people can't make reliable inferences from their behavior in specific cases.

There's even a standard joke on this, IIRC the setting is some sort of court case:

    "Did you sleep with Joe on Monday?"
    "No."
    "Did you sleep with Joe on Tuesday?"
    "No."
    "Did you sleep with Joe on Wednesday?"
    "I refuse to answer that question."
    "Thank you."


If you are innocent and care about how your company is perceived, you don't have blanket rules. If you are guilty, blanket rules are the easiest way to deny the problem.


Looks like GDAX for one is not participating in case of a hard fork: https://blog.gdax.com/uahf-a703b6a13115


Coinbase isn't either, judging by the mail they sent to all their customers, and by https://support.coinbase.com/customer/portal/articles/284421... .


Makes sense. (as far as I know) GDAX = formerly Coinbase Exchange


Formerly would be incorrect. While owned by Coinbase, GDAX is a different project, not a continuation of the original CB exchange.


Just wish everyone would hop onboard quicker. We still need a lot of consumer education.

For example, Apple Pay works great at Whole Foods. I use it every time. Other people in line painstakingly pay with credit cards, despite holding an iPhone in their other hand. The new chip cards take longer to process, even, 5 seconds or so.


Chips are unnaturally slow in the states, they are pretty fast in Europe.


So I have to have a apple phone worth several hundred dollars plus the extortionate mobile charges in the USA instead of a free credit card with tap and go I know which one I prefer


I use Android Pay all the time at Whole Foods in the US and it works great. It's faster than a chip card, and it links directly to my existing card.


Well you could use Android if you can't afford an iPhone. There are many different options for mobile payments.


So only £150 fo a moto g then a bargain



I’d argue that they are not being disagreed with because of what is “socially acceptable”, but because their comment added no additional facts or information, and was instead just a couple of opinions without much to inform them.


This user was downvoted for his views which are the rough equivalent of "she was asking for it".

To see this as people simply being closed-minded to different cultures is really myopic.

I personally refuse to hold people to different moral standards because they come from another country.


Chinese speaker here. His comments were all over-the-top excited, repeating and exaggerating others' words, almost like mocking the Chinese staff (see around 2:20 mark for example.) Think Borat-speak. Seemed very strange and unfit for this otherwise good piece.


> It seemed to me that he was interjecting with arbitrary comments

No, he's having fluent and meaningful exchange of words with those interviewees.

> Chinese speaker here

You're definitely not a native speaker.

> almost like mocking the Chinese staff

I'm not sure why you interpreted it that way but there's absofreakinglutely no mocking people in there, hey.

All of those whom he interviewed were speaking Mandarin with different degrees of accents and apparently the guy has some pretty decent level of command of the language so he can still converse with most of them no problem. The last one he interviewed (starting from 03:30) spoke with a heavily accented version of Mandarin so even I had to pay attention to understand like, 80% of what he was saying; the reporter probably had issues understanding him as well so he just smiled and nodded. Overall I found the reporter's usage of Mandarin as well as his interaction with others to be very natural.

I am a native Mandarin speaker.


I agree, Feels very natural and comfortable speaking Chinese.

I think he's just trying to sound excited, to make the video more compelling.


Hey, I never questioned his fluency, just not being able to speak in a professional/serious tone to match the other people. If you liked it, great. Also, you're assuming too much about a 鄉民 on the Internet. :)


Another way of looking at it: respect. In the past, translators were always used on news stories from China. Now, English speakers are going through the effort to learn Chinese because they know it is in their best interests as China ascends to the spot of the(!) world superpower.


Now I can pinpoint which province of China you come from:)


That is just how these interviews are done by the BBC. It would be the same if both participants were in the UK speaking English.

I think it's perhaps because the BBC does a lot of educational material aimed, at least partially, at children and schools, and the presenters are trained to be very exaggerated and enthusiastic in their reactions. Experts like scientists and engineers can be quite placid in their delivery, and so the presenter's job is to make whatever it is they're talking about seem more "exciting". E.g. some engineering project, scientific experiment, historical fact, etc.


Really? I think its fine. Pretty normal response from a layperson being impressed by a major engineering feat without being interested to dig too deep into the technicals.

Maybe a bit of pandering, but I think he is just trying to be polite, but I don't see any sign of mocking.


FWIW, if the BBC reporter were also chinese and speaking the same dialect, then his excited remarks would not be viewed as mocking. Similar gushing happens on other Asian variety shows. I would say the perception of him condescending his interviewees has more to do with the insecurity of the viewers[1] than it does with the presenter.

[1]"Man of Race-or-Country Y is exaggerating something in our language? Race-or-Country Y must be looking down on us!"


It's not just foreigner either, you'll get a similar level of interaction with someone who speaks very unaccented Mandarin coming to an area where people normally speak a different language (there's dozens in China) and don't speak Mandarin nearly as fluently.

Sort of like mocking hick accents in the US, real funny until you're talking with someone who actually has a hick accents, and then it's just kinda mean.


It's not intentional I'm sure. Just that the tone mismatch, serious/professional local speakers vs. over-excited/happy interviewer, were off-putting.


Well you have to take in to account that they both know that he will put on a show for the camera. Both men obviously knows they are being filmed.

But from a certain point of view(where you assume this is just a normal conversation between two people), i can see what you mean.


Think you're reading too much into it. His behaviour and inflection is what you get if you were to splice polite British reporter mien with an idiomatic way of speaking Chinese. Fun to watch in its own right.

Don't think there's any malice there, must be hard to context-switch between speaking a non-native language while interviewing for a foreign audience.

EDIT: if you've watched other BBC productions, the level of enthusiasm would be familiar. I think it is a BBC company culture/style thing. Drawing a blank at the moment, had someone very specific in mind, but maybe anything by Clare Balding, Sue Barker or Lizo Mzimba though none of these are the person I have in my mind...


It is a bit over-enthusiastic but I don't think there is any mocking going on there. I as a layperson would act the same if I were the reporter.

(I'm a native Mandarin speaker.)


Native mandarin speaker here.

I agree with you that this reporter really didn't add to the conversation. Like you said, it is more of repeating/exaggerating.

Programs like this can be paid to make with purpose of showcasing a government project instead of actual "reporting".


This is par for the course on any "Great Feats of Engineering" show, English or not.


Gas is its own unit, decoupled from ETH. Opcodes cost a certain amount of gas to execute [1]. When creating a transaction, a sender sets the maximum amount of gas that they are willing to pay. This is the "gas limit."

[1] https://docs.google.com/spreadsheets/d/1m89CVujrQe5LAFJ8-YAU...


I know what gas is. It would be more accurate to call it a unitless number describing the relative resource cost factor of each opcode.

If you define the term gas as a unit then it refers to both a value, and the unit of that value, which is where most of the confusion comes from. The language "1000 gas" could mean either "1000 wei/szabo/whatever of gas" or "1000 gasCost" which are 2 completely different things!


"This book is five dollars" vs.

"The price of this book is five dollars" vs.

"This is five dollars" (meaning "this book's price is") vs.

"This is five dollars" (meaning "five dollars are sitting here on the table.")

I know what you're saying, there is ambiguity, but these make sense to people based on context.


I'm a firm believer that Americans don't understand how to zone cities. In Asia (e.g. Japan) you can have beautiful high-rises mixed with things useful for daily life, be that small shops, restaurants, or convenience stores. Even Ginza has useful things if you walk a couple of blocks.

On the other hand, if you take Seattle's Belltown, there will be art stores, realtor offices, and other things you rarely ever ever need, and yet you have to drive five minutes to buy a bottle of water.


I'm a firm believer that Americans don't understand how to zone cities. In Asia (e.g. Japan)

Your observation is astute: https://www.vox.com/2016/8/8/12390048/san-francisco-housing-...


You don't have to drive 5 minutes to buy a bottle of water in Belltown. You can do that in a 5 minute walk, and there are multiple grocery stores within a 5 minute drive.


I'll bite; Belltown has barely any bodegas and no grocery stores. The closest grocery store is Whole Foods in SLU or QFC in Lower Queen Anne.

However I think the real takeaway from the parent comment is that US cities are not designed for pedestrians[0].

[0] http://www.newurbanism.org/pedestrian.html


There is an IGA on 3rd below Pike. But yes Belltown has (mostly) always been a wasteland. There used to be a pretty good grocery store kitty-corner from the Cinerama.


The point is development in Belltown has been highly restricted for decades, preventing dense, multi-purpose buildings from being built in that neighborhood.

Even the newer buildings being built right on Denny and Queen Anne Ave N in Belltown are entirely the creation of zoning, as they are height capped and forced to subsidize parking (which rents for $0.XX per sqft a month) over usable space that rents for dollars a square foot. Most of the people living and working in that area are using transit, with 70% not driving: https://www.seattle.gov/transportation/docs/2014TrafficRepor...


I can walk across the street from my apartment in Bellevue and get food, furniture, and groceries but this is the exception even in Bellevue: outside of downtown areas many apartment complexes require getting in a car or bus to get anything.


Could we not fixate on the choice of example? I'm not familiar with Belltown and I don't really care, I'm much more interested in the parent's point and whether it's true.


You're saying Americans don't understand zoning because of one part of Seattle?


The big difference between most of America and Japan is that people on this side don't give a shit about each other. So if you want to be able to sleep at night without dealing with constant frat parties and the police telling you to just deal with it, your only option is to live in a low density area, with no shop around, on a small dead end street.

So people get very opinionated when it comes to zoning, and it ends up done sub optimally.

Put some teeth on laws that make it so a single person can make 200 others miserable with no repercussion, and all of a sudden most resistance to proper zoning will go away.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: