skysight-inc/HackerNews huggingface dataset:
Do you also pronounce every abbreviation? Do you say "International Business Machines" instead of "IBM"? How about "Répondez s'il vous plaît" vs "RSVP". "As soon as possible" or "ASAP". Ever use a contraction? How about a keyboard shortcut?

I certainly agree it's potentially more readable at first. I'm not yet convinced, without actual data, that anyone, given a month or so experience with a given and common API wouldn't be more productive with shorter names up to a point. I would be good to get that data. Maybe I'd be better off with

a = Math.numberFromAddtionOf2Numbers(c, d)
e = Math.numberFromDivisionOf2Numbers(numerator: b, denominator, c);

vs

a = c + b;
e = b / c;

which is best

s = str.stringByReplacingOccurrencesOfString(" ", withString: "", options: .LiteralSearch, range: nil)
s = str.replace(" ", "");
s = str.r(" ", "");
Google Fiber may be looking to add phone services
I've working in C# for eight years before switching to iOS. To me, Swift and C# similarity ends with use of curly braces.

C# is, in essence, better Java. Much, much better Java. Swift is a different language, it implements some new ideas (much more advanced type inference) and forces the programmer to thinks in a different way (by trying to eliminate nullability).

Swift is not a perfect language (my biggest gripe is very awkward generics implementation), but it is a good language, and it's getting better. Saying that it's "a shit language currently on the spot just because Apple" isn't fair, I think.
Using your iPhone as an alarm clock can set the tone for an anxiety-ridden day
I haven't found a way to handle <aside> with Flexbox.

Intended behaviour is that you're writing paragraphs of <p>, then a <p> that you wish to annotate, then the <aside>, then some more <p>.

The aside should be, well, on the side. In the margin.

So far, with floating <aside> you need to have the <aside> before the <p> that it belongs to, which is semantically false.

I had hopes with Flexbox to finally solve this issue, but it doesn't look possible, because if you imagine it as a big grid of two columns, the text would have to flow through only the left column, while only the <aside> would have to be pushed to the right column.
Oh I know what I've been selling, but I can't really identify specific transactions. Nor do I have receipts, why would I? Most of the transactions are exploit sales over OTR/XMPP, possibly shady but not illegal.

This was also before the tax authority clarified on their stance on bitcoins, before that everyone was under the impression that you wouldn't have to tax your coins until you exchange them to real currency.

And that's ignoring all the coins I mined way back, it's literally impossible to attribute that transaction to any specific source.
In practice 10 support is patchy, but can usually be fixed using the wonky old syntax and minimal hacking. For general use 11/Edge are fine.

In fact, a usable desktop view for IE9 is relatively easy to frig with %widths and a handful of padding hacks.
I think you have quite missed the point.
You might be surprised what you can cook on just a toasted sandwich maker - we call ours the UCD or Universal Cooking Device. Throw in a rice cooker and you can make all sorts of meals.
My mother spent the first 3 years of married life with little else other than an electric fry pan in terms of cooking appliances.
Could a Botnet Cripple Our Economy?
Your child should have only a cube, a tetrahedron and an icosahedron to play with, if we're talking platonic ideals, and dodecahedra are way out.
Far from software and hardware. A good chunk will go to administrative overheads, pensions and the like.
Why startups should focus on a very small market
You're the guy from the Lizard Squad thing last year, right? Did this case happen before other investigations you've been involved in? If not, was your background used as "evidence" that the bitcoins might have been illegally aqcuired?
(Very little) discucssion here: https://news.ycombinator.com/item?id=11003450

And why does this show up separately? Same URL, submitted only a few hours later.
Nothing stops you from using a CDN with cookies as long as your app generates proper caching directives and the CDN obeys them. The only reason this would ever be a problem is if your app/server does not correctly mark pages that may contain private/user-specific content accordingly.

Further, a common method to reduce the risk of this is to place purely static public assets and user-specific private data on different domains.
Vertical market vs. horizontal market, where do you think the future of startups is?
Thanks for bringing rust into the discussion - they handle language standardization/evolution very effectively, in my opinion. "Experimental" features are added to the language, but they are all effectively #define-gated for at least one release before being concretized (it's done more pragmatically than a literal #define of course, given that rust doesn't have any concept of #defines).

This makes sense in my opinion because it gives an opportunity to evaluate proposed language changes under real-world use-cases before making it official, and people must explicitly opt into the possibility of their code not working with future releases, thus fully knowing and accepting the risks.
But what if ken wants to wear a dress?
We’ll never learn more about space unless we build a starship
Not quite a carbon copy - they whitewashed her, which is ironic for a product taken from post war Germany - not Aryan enough for Mattel.
Need testers on my new app Quizick, free for early testers
100% agree. A basic Udacity course in programming can be very effective in teaching programming. These days all the Necessary educational material is available free off the internet.
JavaScript: The World's Most Misunderstood Programming Language (2001)
here is one of my pain points of using swift.

I need to convert Int to In32 and CFloat to CGFloat a lot.

I wonder why there are so many basic types, and why can't they be simply converted to other types.
MIT students win Elon Musk hyperloop design competition
Developers like it simple
Why wear a device to track sleep when you can just do it automatically without that? http://hello.is
We're talking about bitcoins that went from literally worthless to $1000.

Expecting some sort of bookkeeping might be reasonable with real money, but not with imaginary internet money.
This paragraph in the article

> I still don’t. I do use it for the most basic functions, and rarely switch from the main screen. Taking a glance at the time and my next meeting, getting a feel of the temperature outside, and making sure that I have my alarm set, are really my main functions I use it for.

Is pretty much exactly what I do with my Pebble Time, along with the usual notifications etc, which works fine for me
Android Wear is awful in comparison. The UI is an utter mess and confusing, feels like 0.1 product that launched to the market. I'm not saying Apple Watch is perfect, but it's far more logical.
Caniuse.com shows the global usage share statistics (based on data from StatCounter GlobalStats for December 2015) next to each entry.

IE 7: 0.05%

IE 8: 1.18%

IE 9: 0.91%

IE 10: 0.87%

IE 11: 6.45%

Edge 12: 0.67%

Edge 13: 0%

Edge 14: 0%

For comparision:

Chrome 47: 20.46%

Chrome (Android) 47: 17.45%

The full list: http://caniuse.com/usage-table

IE 8, IE 9 and IE 10 are still more widely used than Win10 with its Edge browser.

Don't use flexbox for your start page, especially if you want to do business (SaaS). It will be completely broken in IE8/9 and look like shit. Corporate managers will close your website instantly.
Do you have a link to the code?
I have a Steelcase Think at work and love it. I'm also ~2 meters tall and haven't had any issues with it (I make sure to stand up/stretch/briefly walk around fairly often, but I think that should be done regardless of the comfort of your chair).
10 Women Who Changed Sci-Fi
Yeah. This case was long before anything else, and only actually got to court last year (These investigations take several years here). And no, my background wasn't used as evidence as I was a first time offender.

And FWIW the investigation regarding me and LS was dropped a few months ago.
I'd do

s = str.replacing(" ", with: " ")

which seems to go along well with the "sorted" and "appending" mentioned in the new API design guidelines:

https://swift.org/documentation/api-design-guidelines/#be-gr...

This is a bit more verbose if you need to chain a lot of replacements... but chances are you shouldn't be doing that in the first place! Instead there should be a version that takes a dictionary, like

str.replacing(["<": "&lt;", "&": "&amp;"])

This is better because most of the time you don't actually want characters produced by earlier replacements to match later ones, and it can be faster for large strings.
Forget about if the cia could kill him or not...do you really think Russia doesn't keep constant watch over him? If he suddenly went missing you don't think the Kremlin would go nuts? How about if they found out it was the cia that took him inside their borders? Ha! Putin is crazy...who knows what he would do then... Cut off all gas to Europe?
I'm working on an open source app that will allow checking sports bets for value
In order to gain experience of development in Meteor rapidly, I'm building two open source projects related to gambling. The first one will do what the title says. I have a plan mapped out for it and I've done more than 30% of the work. But I need to hear other people out: what checks do you want for your bets? I'm talking about the type of checks that would desconsider a bet in your eyes; I know from my own experience that sometimes it's hard to let go of them. But when you want to bet and the app will tell you "no" and offer valid reasons, maybe you'll actually listen. Here’s an example with the two most basic checks I can think about:

- First thing, to get it out of the way and not have the user influenced by the subsequent tasks, ask for a percentage based probability on how often will the event occur. For example: do you want to bet that Real Madrid will win instead of drawing or losing in their next match? How often do you think that would happen? 85%. OK, let’s go to step 2.
- Input the odds, calculate the bookmaker margin, compare it with the averages for that event and so on. The checks will get more complicated as it goes on. I have a certain flow in mind.

The interface is beautiful and it allows for events with any number of outcomes and odds expressed in these formats: fractional, decimal and moneyline. For this reason it will also be helpful to people that bet on things like 1x2 and horse races, not just for handicappers.
What if the plane wasn't only for Snowden? I can't imagine a team of trained paramilitaries standing by for a few months, just for one person. In fact, did the plane leave empty?
So I was wondering, how as it helped you?

Maybe not the answer you're looking for, but... it has brought a lot of new users to FreeBSD.
I love C# and think it's a great language, but when it was as old as Swift is now it was widely perceived as a Java clone. In fact, even today C# and Java are much closer in language design philosophy and implementation than C# and Swift, and calling Swift a "C# clone" betrays a profound lack of familiarity with what Swift is or how it works.
There's an interview with Phil Schiller a while back[1] that explains where Apple is going with their line of products. Quoting from the article:

> "The job of the watch is to do more and more things on your wrist so that you don’t need to pick up your phone as often."

> "The job of the phone is to do more and more things such that maybe you don’t need your iPad, and it should be always trying and striving to do that."

> "The job of the iPad should be to be so powerful and capable that you never need a notebook. Like, why do I need a notebook? I can add a keyboard! I can do all these things!"

> "The job of the notebook is to make it so you never need a desktop, right? It’s been doing this for a decade."

> "[The job of the Mac] is to challenge what we think a computer can do, and do things that no computer has ever done before—[it should] be more and more powerful and capable so that we need a desktop because of its capabilities."

I can relate to what Phil Schiller is saying. For me, the Apple Watch become more useful once I stopped having the phone in my hand all the time.

Nowadays I either leave the phone on my desk or leave it in my pocket and accomplish basic tasks on the Watch. Checking OmniFocus, checking Fantastical, calling Uber, answering calls, making quick iMessage reply, turn-by-turn navigation, etc. You could say these tasks are boring and could be done on a phone. But the point is that I can do it on my wrist without picking up the phone, which, sometimes, very convenience to have both of my hands free.

[1]: http://fortune.com/2015/12/04/schiller-apple-theory/
http://www.dailymail.co.uk/news/article-2324303/Russia-seize...
I use PowerBuilder (of Sybase) at my job. We have a database centric stack mainly built with stored procedures and PowerBuilder works pretty well (PowerBuilder datawindows just represent a SELECT query or point to a stored procedure). It's very legacy. The syntax is similar to BASIC, with some SQL database querying built in as a kind of DSL. The built-in string and array libraries are particularly bad.

The Powerbuilder IDE rebuilds the object you're working on whenever you save, so if there are any errors you can't save the file from within the IDE. You can't view or edit a script and its ancestor at the same time. When source control is switched on, you can't save a file without checking it out first - but you can't check it out without closing it and discarding any changes you made. I usually have Notepad++ open alongside PowerBuilder at all times.
I won't say that he's misdirecting people. It should be obvious enough that NSA relies on vectors this does not cover as well, and can adapt by finding new vectors. But this is presumably bread-and-butter stuff, and I won't be surprised that the vectors covered in the talk are the most common, cheap and reliable ones that his team most commonly uses.
Stackoverflow: Help Us Redesign Job Ads
Yeah, the $3,500 ones are super-lightweight with hidden components. If you don't try to conceal the functionality of your e-bike, there are plenty at much lower price points.
And who will do authentication process? CDN? And different domains can be an issue too.

> Further, a common method to reduce the risk of this is to place purely static public assets and user-specific private data on different domains.

In other words, "don't use CDN when you need cookies", fine.
An Australian who never been to USA was extradited and subsequently jailed for breaking USA law: https://en.wikipedia.org/wiki/Hew_Griffiths

Afterwards, he was banned from USA.
Time steel looks fancy and will last you a week without blinking.
Hands down Peter Norvig's hashlife and sudoku solver.
the fact that the government (NASA) used them, only proves they were settling to sell their equipment for less (it's usually more in invoice, but less when you account what you lost on red tape)
My other trick is to turn off basically all notifications. The only thing that bloops my devices is a DM or an @mention. Anything else, I pick up when I open the app to specifically look for it. Makes the Github notifications much easier to blast through.
Happy Birthday Guido van Rossum from the Lovers of Python
Ember.js 2.3 tutorial, big app, not just todo list (totally free)
Its funny yesterday I had a meeting with my 2 head course professors talking about this exact issue. A capstone project essentially requires a objectice c ios app but they have stopped producing reference books for them in IOS 8 && 9.
Introducing Bootstrap Studio
The Plan9 Source code

https://github.com/0intro/plan9

> A Professor of Computer Science gave a paper on how he uses Linux to teach his undergraduates about operating systems. Someone in the audience asked 'why use Linux rather than Plan 9?' and the professor answered: Plan 9 looks like it was written by experts; Linux looks like something my students could aspire to write.

But see also the HN thread :

Code which every programmer must read before dying

https://news.ycombinator.com/item?id=2466129
I don't quite understand these awesome lists. From what I've seen it usually ends up being a way for creators to promote their stuff and for the list creator to have a big project with a few thousand stars in their profile. So when I did something in say, electron, I would go to the awesome-electron list and add it there for promotion sake.

I couldn't find a usecase for these lists myself yet. There is no way to verify the quality of the product or the activity (stars for example? last commit date?).

In one case I searched for aws adapters for a language, clicked on all links inside awesome-{{language}} just to find that all of them are inactive or a few days young. I ended up using something I found on google instead.
No, that example just uses port 4443 internally. You have to use port 80 or 443.
Let's Fish – With Smart Sonar and a Mobile App
Swift borrows some ideas from C#, along with Kotlin, ObjC, and others. It's also radically different from C#:

1. Swift collections and strings are value types, but in C# they are reference types

2. Swift strings are mutable, C# strings are not

3. C# by default allows reference types to be nil, Swift does not

4. Swift performs overflow checking by default, C# does not

5. Swift is reference counted, C# is GCed

6. Swift's inouts are very different from C#'s ref. For example, Swift's inouts support properties

7. Swift's error handling is quite different from C#'s exceptions, both in syntax and implementation

8. Swift's enums act as algebraic data types, C# has nothing like this

9. Swift's switch statements are much more flexible than C#, because of where clauses

and more.

These are some radical departures! The differences between Swift and C# are much greater than the differences between C# and Java.
Xerox separating into 2 independent publicly traded companies
I think your work is amazing and you should link to it: https://github.com/jvilk/BrowserFS
Bezos transforms Washington Post for the digital age
That book is remarkable!
Ask HN: What are your itches with your current to-do app?
I'm building to-do app and I want to tune it up for our community. If you're happy with yours please list its strong sides.

It is planned as heavy-duty app, kinda Excel, and not like Remember the milk. It is planned to have time tracking, invoicing, customer reports, tracker.
From its inception in 1942 until 1994, the search recognized more than 2000 precocious teenagers as finalists. But just 1 percent ended up making the National Academy of Sciences, and just eight have won Nobel Prizes.

Just eight have won Nobel Prizes? What a bunch of dunces. But wait, only 870 people have ever won a Nobel Prize. So these numbskulls have only managed to win 1% of all Nobel Prizes ever.

If your parenting standard is "Nobel Prize or the gutter" there's a serious problem.
I've had an Aeron for a decade and I love it. It's expensive, but I've never regretted the purchase. (I've not tried any of the Steelcase chairs, though.)
Although not 'real' code, almost anything from The Wizard Book is either nice, elegant or sometimes a minor epiphany for a C-damaged mind...

Probably not that efficient in terms of raw CPU grunt though...
I don't think it is a bad language but I think it sometimes introduces unnecessary complexity: custom getters and setters on properties, will-set/did-set blocks and operator overriding (including precedence and associativity). Also, coming from a background where pointers are an obvious thing I do not understand why classes and structs need to be separate data types. None of these things is a bad per se but I do think they make the learning curve steeper and invite some level of abuse. Reminds me a lot of C++.
String.replace is now a builtin standard in most languages, there is no real need to explain it anymore (apart from documentation). It would be like replacing 'grep' with 'fetchAPieceOfStringInFiles'
> And torpedoing productive policy discussion with increasingly vague discussion is also so. What help is hand waving about the unfortunately approximate relationship between policy and ethics?

Two points: 1. You're not the only person who can decide the scope of a conversation on an Internet forum. 2. Accusations of "torpedoing" and "hand waving" are unfounded. Here's the thread so far, in which you seem to be the one waving hands:

> > > > [BWStearns] You basically have to believe that
all US foreign activity or all secrecy is inherently
bad to say that that the Manning dump moved us forward
as a democracy.

> > > [jbapple] I think this hyperbole is no more
helpful to the conversation than your original one
("patently childish").

> > [BWStearns] Name an illegal US activity that was
unmasked via the Manning dump.

> [nitrogen] There's more to right and wrong than
strict deontology. What's legal or illegal is only a
very fuzzy approximation of what's ethical or moral.
So demands like "name an illegal activity" are missing
the deeper moral/ethical point, regardless of whether
there are illegal activities in the dumps...

I think it's pretty clear that I was addressing this comment thread. To put it beyond all possible misinterpretation, I'm saying that moving forward as a democracy is about more than what's strictly legal or illegal. The only question that should matter when evaluating a whistleblower is this: does the information serve the public interest? I'd argue that bar should be extremely low, primarily for the reason that the people of the US cannot make informed decisions without being informed. Also relevant is https://news.ycombinator.com/item?id=11004830

> Your argument approaches that irritating stoner kid in sophomore year who could get to "But in the end can we even say anything is wrong?" from anywhere.

Your argument approaches that irritating paternalizing of government rhetoric in which "sober" analysis can only come to one conclusion, that the "current best solution to the problem is where we are currently". I've been discussing in good faith, at worst omitting implied context to save space and time, and you're resorting here to what comes across as thinly veiled ad hominem.

There is plenty of interesting and productive conversation to be had about secrecy and whistleblowers, but this thread has become too long, too narrow, and bordering on too personal for me to desire to continue here.
He's talking about proprietary Google code.
I'm using CloudFlare for GH Pages based web-sites with custom domains. However, Tor user in me says that's not really a "good practice". Looks like there isn't a way to turn off that annoying "Attention Required!" "One more step" checks, is there?
I do too. The only thing I miss is QuickSync support. But I don't feel brave enough to come up with my own build.
The Future of Education (1967)
are you a markov chain?
It's strange that they put Wikidata under natural language.
I worked for a networking software developer at some point in the past and they were considering licensing a VPN stack from the SSH company [1]. That thing was in C and the sample code included was stunningly beautiful as was the documentation - well modularized, consistent, good naming notation, but above all it was concise. I think I still have a CD with the SDK demo, I can pull up some code from there if anyone's interested.

[1] https://en.wikipedia.org/wiki/SSH_Communications_Security
This looks very nice. But please move the video to the top of the page. Always remember engage first, then offer people a chance to try it out in the browser.

Also I had to reach the bottom of the page to find out that it was a desktop app. Is it built in Electron? One last tip if this works as well as it looks in the demo you could easily double your price.