skysight-inc/HackerNews huggingface dataset:
Significant indentation is enough for me to avoid Python. It just doesn't have enough to offer vs. the available alternatives without significant indentation.

It's much easier to read indentation than unindented/badly indented pairs of brackets, but you're setting up a strawman - it's not either or - and then you tear down the strawman yourself by pointing out we match the indentation anyway.

My code generally is properly indented and has start/end markers (though I mostly write Ruby, so rarely brackets), but what makes me stay away from significant indentation is that in the 30+ years I've been coding, I've never gone long without coming across situations where indentation has broken "in transit" e.g. with cut and paste between systems in annoying ways, or someone loading the code into an editor that butchers the indentation with tabs using "non-standard" tab settings.

When that happens, I'd rather "get the wrong impression" than have the code be broken.

That's one reason I want redundancy. My tools can trivially and automatically fix the result of breaking indentation when the indentation can be derived from the code.

Additionally, I want the visual redundancy, much like I find it far more comfortable to read syntax highlighted code even though it conveys no additional information.
Transdifferentiation – Stem Cells, Fatty Muscles, and the Role of D3
Your Coding Style Is Like a Digital Fingerprint
> Imagine getting into your car and having it say “Oh! Hey. I’m faster now than I was yesterday. You’re welcome!” Because that’s what’s happening.

Imagine having such a software-powered car and being unable to get into it because it was stolen: https://translate.google.com/translate?sl=auto&tl=en&u=http%...

Imagine some company without Google's software engineering expertise building a self driving car, allowing hackers to take it over and create mayhem.
Also an IID is for a current DUI risk (it's there to prevent DUI), not because you've gotten a DUI recently.
Crypto Stick becomes Nitrokey
Lizard Squad Strikes Again – Nexusguard Comment
What prevents me from bundling node with the app? That's how NW.js does it. (I hate the 100MB wasted space)
What do you mean by "alias"?

Path carries String-like information, it can even be easily converted to and from strings. Yet, it's a strong type that won't let you write something like 'path </> file_contents' (although, with overloaded strings, you can do 'path </> "file_name"').

UTCTime is not String-like.
>Step one om this path is to stop subvocalization, saying words out loud in your head.

I've heard people say that before but I still don't understand how to do it.
That's exactly what he is talking about. In a dynamic language, you just parse the JSON and access the resulting object. In Go, you need to have a matching record or use the interface type and implement a decoder.
This is from OVH.
> once you experience healthy, constructive, no-judging, be-yourself community with other Christians

These qualities are neither exclusive to, nor always found in, Christians.
I am one of the "brainwashed" people - perhaps you could present some arguments why you think my belief is wrong?

(I see my belief as simple mathematics)
> "buyer's location" is unnecessarily complicated to determine and prove.

My only way of guessing this is by country of delivery? For instance, I'm living in the UK, but if I pay by using my Irish credit card, should I be charged using Irish or UK vat?
Fine, have shell scripts rm -rf $VARIABLE/* while other people try to create sane alternatives

Every few years someone writes a retarded install script that wipes your drive, it's like it's inevitable
I can't stand incorrect indentation either, but my experience is that it regularly happens anyway, and I'd rather not have that break my code.

And "incorrect indentation" has a very different meaning when the indentation is purely for presentation: As illustrated above, some people like to use the indentation to call out specific aspects of the code. That may be "incorrect" from Python perspective, but it is a way of visually providing additional information that is not available to you if you use a language that requires a specific indenting style.
Yeah, with $178 billion in cash, you'd think they'd beef up a bit.
I see that they're using display:flex for layout, for all elements, which makes things like inline styles impossible or extremely inconvenient.

http://jsfiddle.net/u8wd8kdL/5/

If I am wrong, please provide me an example of how to layout that text with display:flex.
Because there usually is a lot of snake oil:

In this case hardware and software is Open Source. Crypto Sticks existed for a while.

There are people you can trust behind it, like the German Privacy Foundation and NLnet.
Lets make search a better experience for our users
The voting in this thread is HN un-worthy.
> Imagine having such a software-powered car and being unable to get into it because it was stolen:

That's OK because the mobile access provider will know where it is - he always does, wherever you go...
Hundreds of gradstudents.
Funny, I don't remember having 3dfx, but maybe OpenGL/Direct3D was used?
A brilliant Idea; as far as usability for a normal user is concerned, How feasible is it to modify a browser to take the command directly via the address bar, and internally a thread can handle the ssh part, redirecting the user directly to the newly generated link ?
If your arguments aren't exclusive, you can pass a list of algebraic data. If they are exclusive, you can construct a type for them.
What I thought, exactly.
Why is the muonic hydrogen required?

From the Bohr formula the Rydberg energy of the muonic hydrogen would be some 200 times larger than regular hydrogen. Anyone know how that plays a role?

It can't be sqrt(spring/mass) for vibration since the proton is anyway already some 2000x heavier than the electron. Unless spring somehow depended on the Rydberg energy, which is possible since the P.E-K.E would depend on mass via the K.E.
FancyTabBar:  an expandable and customisable tabbar for iOS
I believe they were independent to OVH, just utilising OVH's infrastructure then OVH invested in them. I think they are still separate but obviously have a close relationship with OVH.
> When I felt GF, I felt like I was saying goodbye to friends that I'm not sure I would ever see again. That kind of feeling.

To me playing GF felt like reading a really, really enjoyable novel. The plot really stands up on its own. While in MI you travel back and forth different places to do various things, GF has a bit more of a journey feel to it, and you can see the main character learning and developing along the way.
Sometimes your problem turns out to be a problem with production hardware or wiring, or depending on interaction with external partners who may not be able to replicate their interactions accurately for your dev/test environment, or otherwise impossible for you to replicate in dev/testing without already having figured out what the problem is.

While I agree with your overall sentiment, in any kind of remotely complex environment you sooner or later come across problems that you have no sensible way of reproducing in dev, and which will require you to debug on a production environment without it saying anything about the quality of your development process.
Pull requests sent with both suggested changes. Both have a similar speedup effect (making the buffer final is if anything the bigger effect).
All the Lexus owners I know have emphasized the TCO rather than the luxury aspects to me. It's a nice car, but it's also a pretty reliable value.
We've had people fly around the world in balloons before…

Can anyone explain what's different about this effort and what record they broken as it's not clear to me?
A Readme with some screenshots I would find useful.
My editors have had bracket/parenthesis matching for 30+ years, and automated indentation support as well. I don't get why anyone would do that manually.
This PR puts the Swift array on terms I think:

https://github.com/owensd/handmade-swift/pull/1

The final keyword means that at least one indirection is avoided for each access to the buffer. The speedup is significant. I do wonder if there is a way that the lookup could be cached though if the compiler was a bit smarter.

There is also the option of using a pure function rather than accessing the instance buffer for fairly similar performance (see: https://github.com/owensd/handmade-swift/pull/2)
Jay Z takes on Spotify with $56M purchase of Aspiro
I love seeing this. I run a full-disclosure household. We talk about money (savings, income, assets for now; they're young) and careers and aspirations often. Justice themes bubble up naturally out of this. As a parent, I can only recommend bringing your kids into the conversation.
/r/netsec discussion: https://www.reddit.com/r/netsec/comments/2te5h8/the_internet...
Use Nginx access_log to save user input
It would happen whether or not Amazon bought Twitch or not. Stop giving Amazon credit for something that haven't done.
> "With CS, it's indent and be done with it"

As others have said, it's all fun and games until two people edit the same source file, one of whom has the dangerously incorrect opinion that tabs are better than spaces :-)

I use a lot of semantic whitespace languages (CS, Haskell, Python), and it's a tradeoff: you gain in terms of redundancy, true, but there's an additional human overhead of making sure everyone's got their editors set up correctly. The larger the team, and a fortiori the number of teams, the bigger that overhead is. Smacking people about the head with PEP8 goes quite close to solving the problem in the Python world, but CS's Rubyish commitment to TIMTOWTDI militates against that.

"It's like SASS vs. SCSS. Or Haml vs. ERB. I can't, for the life of me figure out why anyone would prefer more to less."

Because HTML and CSS, despite their verbosity, are linguae francae. A CSS file is valid SCSS by definition - a less technical prototyper person can give you their code (perhaps even generated code from some wysiwig monstrosity) and you can refactor over it to remove redundancy, enforce conventions etc using the special SASS sauce. The SASS syntax does not.

A HTML file, likewise, is already an ERB file. HAML is 'backwards compatible' with ERB/plain HTML, so far as I recall, but mixing the two syntaxes is very, very ugly and a dreadful idea, and I'm not sure if it's possible to mix the two in similar template languages (Jade etc).

Point is: there is a human factor involved in picking shinier toys. I like HAML/Jade type templates, and Coffeescript for that matter, but I am far more comfortable using them on small teams or solo projects.
I'd love to have one of these, but for OpenResty and luvit. Lua, in other words.
BMW connected drive hacked, thousands of cars unlocked (German)
Would be feasible as a firefox addon since those have the same privileges as the browser process itself.
Afaik chrome's extension APIs are too restrictive to allow for something like that.
The excitement I've witnessed has been more of the "One True Way", "completely unprecented", "cross-platform mobile solved for good" type.

People are talking about how they'll use React Native for new apps without any regard for whether it makes sense in the particular case or not. So I tried to calm down those expectations a bit.
This. Make any prediction of how advanced the brain is, then double that, at the very very least. It is barely short of magical. Even single neurons can do processing way more advanced than the artificial ones we use in machine learning. The rest of the body is honestly quite disappointing in comparison. Even the immune system and DNA/RNA mechanisms seem trivial and those are pretty dope compared to most other things.
I think Apple's only priority for Swift is to make sure future products using future versions of iOS and OSX are more attractive to buyers than other companies' future products using future versions of Android and Windows. I think Apple is fine with the idea that the best way to target their legacy devices is with their legacy language. They're probably even okay with losing people who don't upgrade quickly as customers altogether. "Let the slow upgraders switch to Android and further fragment their market instead of ours," I can imagine them saying.

I don't get the feeling that Apple is willing to sacrifice any future benefits (including simplicity) in order to improve legacy support. More than any other company I see, they want to encourage customers to abandon the past and buy something new. If Swift doesn't work very well on iOS 7, I can't imagine that ever changing except as a side effect of fixing something for iOS 8+. It's strategic focus, not incompetence.
Loop counting is usually done for fast (and not so time dependent) timers

Yeah, an OS timer is the "official" solution, but that might not have been practical for a multitude of reasons
6 Gems to Make Rails Development Easier
In case you're wondering, Bob Swartz is aaronsw's dad.

If you ever want to write a manual, have a look here:

http://www.nesssoftware.com/home/mwc/manual.php

It was by far the best book available at the time, and my copy outlasted the use of the software by a decade (and then it fell apart!).
> Chrome is getting there

They are busy with that other programming language.
Show HN: Bond – A Swift binding framework
Why don’t you just get a keyboard case then? I’ve no direct experience, but this[0] came up on my first search query and looks reasonable enough and inexpensive.

http://www.amazon.co.uk/Ultrathin-Bluetooth-Slider-Keyboard-...
>- Go is a minimal language and has been called boring. [2] I don't claim to be an expert yet, but I don't think I've reached this level of productivity with a language this quickly before.

Tried Lua? Your opinion interests me ..
Education is also important. We have created economies so that we can conduct business and allowing children to remain ignorant of these things is a direct harm.
I'm sure these Korg tubes are designed for amplification not for computing.
I am quite amazed this has to be done manually in Django. I work a lot with Symfony2 in PHP and that kind of Object serialization thing is pretty much built in. I just return my model from the controller and it gets serialized to JSON including child objects with pretty fine grained controls about what to serialize.

Besides, after working a lot with REST webservices and AngularJS, i don't know if serializing child objects is really a good idea vs just getting the id and then using the api endpoint for the specific children separately. Having child objects serialized creates problems when doing PUT/UPDATE requests and you can also end up with fairly large sets of JSON. Of course doing dozens of requests instead (especially for lists) is also not the best of ideas, so i am not really sure how others handle this ?
I don't like `var self` at all and I find there are vanishingly few places where you can't just bind a function appropriately, but one important thing to note, if you do go down this route, is that `self` is an alias for the `window` object, so if you happen to miss out that `var self` assignment at some point, you may get unexpected results.

On that basis, if you must do this, I would suggest `var _this`, `var scope` (though that would probably be confusing if you had the misfortune to be using Angular), `var me` (unless you happen to find anthropomorphism distasteful) or... well, anything other than `var self`, really.
VLC for video playback?
Not that hard (I've written Firefox extensions that run external programs), but what would you gain over SSL client certs, which are already supported?
On over/drop you update your state and the view updates as appropriate yeah. Presumably some css transitions could make it pretty, I just went with straight updates as in my case it was only for personal use.
PERSONALIZED MARKETING – THE BENEFITS
It's a gas balloon, which doesn't have a burner.

Their website isn't super informative, but this page says it the most directly:

http://www.pacificballoon.com/Introduction.php
I highly doubt that. One of the text [1] starts with the line:

> TO THE RIGHT VVOR­SHIPFVLL MAISTER RO­bert Clarke,

The mistakes look like typical OCR errors.

[1]: http://tei.it.ox.ac.uk/tcp/Texts-HTML/free/A01/A01716.html
USER INTERFACE STANDARDS YOU NEED TO SET
You can generally sort out the parental from the non-parental voices by content, too. Amateur data science!
I'm probably risking my karma to respond in agreement with an already downvoted post but whatevs. You're mostly spot-on about the demographic even if also something of a prick about it. ;)
This looks like it was already solved in the thread?
Thank YOU for writing that. I thought your post said you 'read' an article. Nope, you 'wrote' that? Fascinating :)
Have you ever used that? The user experience is horrible. Here [1] are a few more reasons why client certificate right now are just plain bad.

[1] http://www.browserauth.net/tls-client-authentication
A user-friendly cURL replacement
How to hack a human (and to upgrade your brains security from these threats)
It always great to have whole files change because your coworker is using a different code formatting template for Java in his eclipse.
I'm not good enough haskell programmer, but there is possible solution (records as you mentioned).

import Prelude hiding ((-))

data Grep = Grep {isRecursive :: Bool, maxCount :: Maybe Int} --etc
deriving (Show)
grep = Grep False Nothing
--short pseudonim
r :: Grep -> Grep
r command = command{isRecursive = True}
m :: Int -> Grep -> Grep
m num command = command{maxCount = Just num}

(-) :: a -> (a -> a) -> a
(-) command flag = flag command
ourGrep = grep -m 50 -r

main = print ourGrep -- > Grep {isRecursive = True, maxCount = Just 50}

--then we should write monad which execute that data
Not completely true, as I only learnt about a week ago, back in the day an anonymous appartment of the Red Army Faction was discovered exactly because they paid their power bill with cash - something that's highly uncommon (even then) in Germany.[1]

So yes, buy stuff with cash in shops and/or if there's enough other people doing it.

[1]: german article: http://www.spiegel.de/spiegel/print/d-13519259.html
But how is this solution any better?
Or where I live, there are a few "pretty" churches where it's more of a meat market than a fellowship or worship organization. They advertise on the radio and hold lots of singles mixers. Big beautiful campus near the lake. Some pastor must be doing pretty well in the eyes of his CPA.
Carnegie Mellon engineering student explains deflate gate
That's before you've even addressed the stultifying features of shell as a language: booleans and tests are odd, arrays are odder, they have things called "functions" which don't have return values, the list goes on. Basically if you're writing shell, you probably also have at least Perl available, and probably Python...
So why are people trying to replace the algorithm, when what we need to do is to replace the UX? Patches could be submitted for both Chromium and Firefox to give them a better client-cert flow, but I don't see anyone working on the problem; just a constant parade of restyling on tab-strip and toolbar and notification banner UX.

I mean, ideally, a client cert would be treated pretty much exactly like a cookie: generated on first connection to a website and automatically stored by the client; synced across browsers; etc.

And, I mean, you could treat a client cert like a permanently logged-in account credential, but it'd be much better to just treat it as essentially an unforgeable browser fingerprint+session ID: something that just "pairs" the client and the server, but where you still have to log in after that pairing process, but only once. (As long as the cert gets synced to another browser, that browser is now logged into the site, because it's now sending the fingerprint of a "session" that's logged into the site.)

With such a setup, you would be able to just "clear" the client cert (like a cookie) to log out, and then get issued a new one and log in again on that one, if you wanted. You wouldn't have to worry about losing your cert. You'd be able to have multiple devices with multiple client certs that are each separately logged into the same account, if you wanted. But, since each client cert would be associated with an account, and vice-versa, you'd be able to revoke a client cert's access to a particular account: to, effectively, log another device out remotely.

The nice thing about this workflow, actually, is that each and every HTTPS site could always issue each visitor a client cert, just as we currently generate server-side session IDs for each visitor. It'd become a best practice to have client cert issuance on by default at the load-balancer level, like HSTS is now. (And load balancers can just translate client certs into a plaintext "browser fingerprint hash" HTTP header, that can be detected by anything further along the request chain that currently knows how to deal with cookie or URL session IDs.)
Jay-Z to buy music streaming service WiMP (source in Norwegian)
I grew up going to a lot of 'home churches', as they're very common in Evangelical/Pentecostal circles. And even in bigger evangelical churches there is still a strong focus on these 'micro gatherings'.

these bigger churches often treat the Sundays as the 'evangelism' meetings (simple sermons, a lot of often high-quality entertainment, etc.), and then have the more in-depth bible study and interpersonal connecting in the weekday 'small groups'. These are usually in someone's house, and while they have a 'leader' the evening is usually taken care of by a different person in the group each time. It's in these house meetings that people often share more personal things and make their deeper friendships.

It's a very nice and very successful model, and sometimes I wish the 'atheism 2.0' attempts would take their inspiration more from these evangelical movements rather than more 'established' religions and religious practices.
The security community has a long history of releasing flaws publicly. Take this recent libc gettimeofday() exploit, for example. I administer some servers and I am glad that I was alerted to the problem so I could address it. If that information had been hidden, then the problem would not have been fixed and eventually some black hat would exploit it.

Publishing security flaws can cause problems in the short term but it's in everyone's best interests in the long term. It is vital that our infrastructure is protected against attacks and we can't afford to allow companies to sell and operate insecure industrial systems. Making this information public is the best way we have to get these problems fixed.
No need for custom url formats. Keep it really simple:

Use a <link rel="ssh"> and rely on browsers to prompt us to "log in with ssh".

IF there's no public key, the browser could offer to run ssh-keygen for the user and save the results in the user's keychain.

If we use switcher[1], we can even put ssh and https on the same hostname and on the same point. This would be a recommended configuration since it would get through most proxies.

[1]: https://github.com/jamescun/switcher
Django does this out of the box: https://docs.djangoproject.com/en/1.7/topics/serialization/

But DRF adds lots of extra functionality. Even with DRF it's as simple as adding:

class UserSerializer(serializers.ModelSerializer):
class Meta:
model = User

to get full automatic serialization of a model.

> I don't know if serializing child objects is really a good idea

Depends on the specific case. For internal APIs I tend to create endpoints that give a view what it needs in a single request.