skysight-inc/HackerNews huggingface dataset:
Yes, the biggest problem would be that undefined behavior would have to allow the program to keep going. For example, if reading 'data[1]' may seg-fault (And there are valid situations it could), then the compiler would need to prevent that seg-fault or else "Bar" wouldn't print.

It's also worth noting that your trivial example would result in basically everything be removed, but most non-trivial examples don't do that. The most common 'optimization' from undefined-behaviour is that the compiler doesn't need to check for those conditions and can let whatever will happen happen, and that only works if it's defined in a program-wide anything-goes sense. If it's defined on a local sense, then if say 'data' was passed-in as a parameter instead of declared, the compiler would have to insert a NULL check to make sure no undefined-behaviour happens and the program doesn't crash (So that "Bar" prints). By defining undefined-behaviour like it is, there's no requirement for the compiler to do a NULL check, it can instead just assume the programmer will never let it happen and produce code with that in mind. Same thing with integer overflow and similar cases (Though things get a bit hairier there).
To add to that, I know of at least two instances of people in stable relationships with children who are not formally married (there's nothing really special about having a child with someone without being married legally speaking - the father signs a document stating that he's the father and is treated as such from then on; the mother is obviously known). That's really the kind of relationship I'd like to be in - one where you don't involve the state's laws in your close personal affairs. You can still have a ceremony and exchange rings, and the people I know do wear engagement rings.
1) Real world examples of algorithms. I really wanted to get into algorithms and data structures, but it was always hard to find an actual reason for things.

2) More than anything, contributing to open source projects taught me how to code, how to read and edit existing code, and how to collaborate with other developers. In terms of early stages, Learn Python the Hard Way was huge, because it introduced me to all the OTHER online resources (like Stack Overflow) that were available. I also found some of the Udacity videos helpful.
I think immigrants should appreciate more than anyone the sheer luck involved. My dad grew up in a village in Bangladesh, and with 150 million people in that country, the overwhelming odds were in favor of me growing up in a village in Bangladesh. That I didn't is purely luck on my part.
What does Erlang do?
How about voting in elections on the Internet or on your mobile?

Giving any binding signatures online or via mobile?

Any official communications with government services where both sides need to know who the other is, not just who they say they are?

Legally binding online agreements between private parties?
Can someone explain the appeal of an invite-only hackathon? I don't understand what makes it "better" to one that anyone can apply to go to.
It's not that they're mixing signals from multiple antennas, it's that they're running all the signals through the same transcoding system before delivering them, which breaks any concept of individual streams from reception to audience.

Also, there's an important difference between a time-share rental (which has a single owner doing business with a number of clients) and a time-share co-op, in which use of the property is a function of direct, if partial ownership.

If you own the antenna - even in part - you can justifiably claim that your use is personal and non-commercial. However you cannot resell the material to others. And if you don't own the antenna - and are buying access to the material from someone who does - then you're not getting it from an authorized source.

Individual antennas was clever, but not clever enough. Individually owned antennas (as part of a audience-owned operation) would be more defensible. But then the investment opportunity would evaporate.
Good to know. I haven't used it, since I like Aperture, but I'll keep that in mind if Apple delivers something that doesn't do what I need/want. (FinalCut is still useless for my workflow.)
A "Yo" Is Lovely To Receive
It does make perfect sense, just goes against muscle memory from years of Python coding :)
I would go even further. Calling it a lottery is to completely disregard all the hard work and intelligent decisions of a person's ancestors.
So you can show up once at one institution and after that do everything in your life online using those credentials you acquired, either with private persons, companies or state/public institutions?
It got under people's skin - good troll! Bad argument though.
Yeah but Brazil has continental proportions.. so you can find hot/cold weather conditions depending on the location..

Im Brazilian and my childhood city was between -3C to -10C on winter, more in the South Brazil(Paraná)

I Think half of the stadiums in the world cup have mid to cold wheater conditions

Belo Horizonte, São Paulo, Curitiba, Porto Alegre

Tropical Wheater:

Rio, Cuiaba, Natal, Fortaleza, Recife, Manaus(this is probably the worse)

Lets not forget that some of those latin americans nations are used to cold wheater conditions, like Uruguay and Argentina(as in South Brazil)

So it depends..
True, but it won't handle or process RAW files from your new camera. Yes, you can use the free Adobe tool to convert RAW to DNG, but that adds another step, and reduces some of the current simplicity of Lightroom.
> The application is absolutely rock solid for me

There has been some bugs since Mavericks came out that still hasn't been fixed, mostly related to multiple monitors. That was an indication that it was going to be dropped.

It's fairly reliable but it's showing it's age right now.
No, I just live in Zurich. The past products I worked on were mostly for banks so I still pay a little more attention to what developers from banks and finance groups say when I run into them.

Personally, I am a long time C developer but I simply ignore any postings with "C/C++" and no longer use C very much when I have an option to use a language that is easier to find alone in job listings.

If you are serious about C++ part time then I would suggest something rather write-only in a small group. For example, I did consider learning some OpenMP and working with research scientists. That is a nicer situation since most groups end up using a reasonably small dialect to stay focused on the task and you probably wont waste limited experience time reviewing arbitrarily bad code that misuses esoteric features. But that is exactly why it doesn't adequately prepare you for situations like Banks or make you a "C++ Developer" instead of a good programmer who happens to be using C++.
With Dart 1.5 announced, I am interested in ensuring that Round 10 includes 1.5. I just posted a question [1] to our most active Dart test contributor: does the >= 1.3.0 specified in the pubspec.yaml ensure that we'll be testing on 1.5 in Round 10 or should we be more explicit about 1.5.0? If anyone else knows the answer I'd appreciate the feedback.

[1] https://github.com/TechEmpower/FrameworkBenchmarks/pull/864
There's also now an European cross-border service for digital signatures originating from Estonia: https://www.signwise.me/
> "Slicing past the end of array results in a runtime panic. Ignoring out of bound indices is more convenient (and consistent with how other languages handle this)."

Ignoring logic bugs sounds like a horrible idea
Related: Estonia plans to create 10 million “e-Estonians” by 2025:

http://estonianworld.com/technology/estonia-works-to-create-...
It was definitely interesting to learn a few little things like 1 divide being slower than +-
And when I'm looking for a nice dinner, I'm definitely considering the value the restaurant provide to its shareholders in my decision.
Finally a great dark theme for xcode that doesn't suck
My position is obviously controversial, but I assure you that I truly hold these views. I am not trolling on purpose.

Google should definitely share information concerning me with me (or information concerning anyone with everyone). But whether or not they do it shouldn't have any legal implication. They can be evil (as in not transparent) if they wish.

Whether or not large corporations that gather data about people (such as Google) are evil or not doesn't concern me. I would hold the same position if Skynet existed. They deserve this right just as much as anyone else.
I think researchers do ignore obvious flaws, but I don't think it happened here. It's easiest to ignore obvious flaws when you are testing something that almost no one would challenge, like "eating vegetables is good for you."
>Totally true, and very important to remember, especially for the HN crowd.

Remember and do what?Ins't this morality of convenience.

If we really cared we would stop parents from passing on their advantages to their children and raise children on a collective common ground.
I would love to have better peer to peer syncing, so my home desktop could hold all my images, but my laptop could connect and sync a subset for mobile editing. However, you I'm not at 500gb, but I'm large enough (230gb) that I doubt it would be terribly useful. Maybe I'll be proven wrong, but we'll see.
I think they just said this https://www.youtube.com/watch?v=SYZ2GzYAw_Q
It will stop working if you ever get a new camera. RAW formats are all different and Lightroom needs constant updates to support new camera models. It's a huge mess, the camera companies don't make the specs public and the formats change subtly with camera releases. Adobe obviously gets access to the formats, but open source tools are left to guess and it shows.

I just had this burn me when I got a new camera (Panasonic GH4) and I couldn't import a thing. Even worse is that I was on a road trip and didn't have a way to install the software that came with the camera (also terrible, but I took photos at Yellowstone and badly wanted to see them). As of the last week an update came out and now I'm good to go, but if you want to remain on an old version of Lightroom it can indeed be tricky.

None of the other programs you mentioned are anywhere close to Lightroom. For example, while RawTherapee can technically open images from my new camera, it displays them incorrectly. They're not even the right size and I don't want to talk about color.
Seems foolish to change. Unlike every other app Adobe offers, LR is also a library. Renting access to your own assets is categorically different from renting access to software which is already somebody else's IP and is also getting (more or less) continually updated.

Letting people buy LR makes them feel comfortable about never losing access to their own raw material. The savvy approach is to let them have this much, charge them to do interesting things with it, and let them keep the final output in a place that remains entirely theirs.
Not that it's as good a solution as replacing the CA system, but you could try mining one of the cryptocurrencies (not Bitcoin, since it's dominated by ASICs) on a GPU - I guess at significant loss compared to the cost of electricity these days, but allowing you to get a little money without having to deal with financial regulations. And then buy services anonymously through Tor.
Uh, it was code that would have prevented Windows from running on computers that ran competing software (which never appeared in the release). Is it common practice today, everywhere, to allow your software to run on "competing" systems? Can I install OSX anywhere I want, without a work around?

Stupid, yes. But calling it a "sin" is why I have a hard time taking religious views seriously.
I guess I don't know what your point was.
It's not always logic bugs. For example, here's how you would limit your slice to max N elements:

arr = arr[:N]

...compared how it has to be done to avoid a panic:

if len(arr) > N {
arr = arr[:N]
}

Not a big deal though, just slightly more verbose.
Gwern, as a LW'er you should know about scope insensitivity and the danger of discounting possible futures. Yes the energetic and capital cost of transmitting, validating, storing, and keeping on hand a few dozen bytes is a minor thing like a speck of dust. But it is something that must -- must!! -- be done by every full node from now until the end of the universe. How many full nodes do you think there will be in the next 100 billion years? That's a lot of specks of dust.

Regarding simplicity, the complexity of the underlying protocol has no bearing on that. You can just as easily write an application where you drag and drop a file, and then it does the magic of sending p2p messages to negotiate a position in the timestamp tree, and making a micropayment to pay for it. That tool could be just as easy to use.
Ask HN: What can I do to get more upvotes?
If you look at my submit history:

https://dl.dropboxusercontent.com/u/2510380/hn.png

I'm working really hard to only submit good articles that I think deserve to be front page. What am I doing wrong? Why does everything I submit only get 1 vote?
500GB would take about a week to upload? Maybe a couple of weeks?

Having the security and knowledge that 500GB of your precious photos are stored off-site multi-redundancy, blah blah, vs your own hard drives definitely seems worth it to me.

I mean, one flood and kiss 500GB of photos gone. That would be a very sad thing indeed.
sure, kinda like if someone picked your door's pin tumbler lock... or if someone accused me of picking theirs since they knew i carry a pick set w/ me.
Hash extension attack yes, but only if you already have a valid hash and document and wish to add more to the end of your document. This however will change the hash.

I also meant to type SHA2, but it would make no difference since you can still do length extension with it. In fact, you can do length extension with anything that uses Merkle-Damgard.
Moreover, calling it "luck" discourages others from adopting these repeatably beneficial habits and ideas for pulling a family out of poverty.

How could I make sure my offspring have a better life than I did? If my only option is "luck", then why bother trying?
But then how else do you socially signal yourself as an expert in a field you may or may not know anything about?
Find a successful entrepreneur who has gone through the process, get them interested in your business and go from there. Take them in as an adviser for your business. This will save a lot of headache and pain.
Cortical thickness in individuals with non+/clinical psychotic symptoms
Empathy is easy. Building something worth a damn is hard, and incredibly rare in human history.
I don't give to healthcare ATM, but I do give to the "current me" feels strongly about -- organizations such as EFF, Mozilla foundation, etc. I also support my nuclear-fusion-researcher friend's dance group, since he could be easily making $200k+ on Wall Street yet has chosen to make ~$30k as a PhD student for a worthy cause.

I'm hoping that as I mature, I'll be expanding the range of causes to which I will be giving to.
> Companies who still need high growth to justify their stock price (read: Apple)

Terrible example. Apple in fact has a very low P/E for this sector (it's 1/2 that of Google). Apple could have zero growth and remain highly profitable for years.
So they want you to send them your physical hard drive, presumably to assure themselves that the data has been erased...

But then they also want you to 'delete any data in your possession', so they already know that that is bullshit.
As a professional editor and technical director, I hope Apple continues to innovate, trying to push their software into the future. Otherwise you end up with a bunch of NLEs that really don't offer much of a difference (which is where we were with FCP7, Avid, and Premiere several years ago). I want my tools to become better, faster and more efficient and sometimes that will mean I have a bit of a learning curve to adjust to the new tool. Regularly bouncing between the four major NLEs (really 3 major plus FCPX), FCPX has become the fastest and most efficient NLE for my workflow.

You mileage may vary in your desire to see your tools evolve, but I much prefer radical evolution, otherwise we'd still be cutting film on slightly upgraded Steenbecks and Moviolas.
France is also really good.. need to be on the top ones
Moment – Automatically track your daily iPhone usage
However they radically changed the way the workflow works in ways that some (many?) users cant adapt to. I don't do much any more since I shuttered my production side business, but I can't use the current FCP. It's still (and will always be) missing some do-or-die features for me. The Apple Pro App that I really use though is Logic, and, please Apple--do not "improve" it.
Wearables, Fashion and iWatch
Dependency Hell.

And oh yeah, Make. I fucking hate Make. Not as much as I hate pay-to-play ecosystems like Microsoft Visual Studio, but yeah, fuck Make.
For me, the surprise was to learn that access time for L1 cache is 3 cycles. I thought it should be 1 cycle.
I think this is super cool. I mean, I think the shows would be fun to go to. Although I wouldn't bother with the headphones if I were them, maybe have it on good speakers first, then available for second listening / skipping around on headphones.
What about Martians? Remember, the bug is on Mars.
In b4 pirates leak it anyway.
good lord, why don't the camera companies publish specs?
Perhaps. What's wrong with that?
I have always wondered what the probability of being struck by lightning is, given that you are actually outside during a thunderstorm. We always use the phrase "chances of getting struck by lightning" as a stand-in for a very low probability, but I think that probability includes everyone, whether they actually venture out into storms or not.
Do you have some old full-sized SCSI 40MB drive lying around? It'd be amusing to see them trying to connect that to any modern computer... http://www.biocomp.net/seagate_st4766n.jpg
IANAL but ignore it
You don't care who you rent your property to?
Cool. Otherwise I wholeheartedly endorse this effort.
Stanford is nestled in the very heart of Silicon Valley, a place of understated yet immense wealth and considerable gentrification. You can spend months here and not have "a poor person" register in your consciousness. It's like the whole place is geared towards making you forget that bad things exist in this world.

So unfortunately, a "hey guys, there's suffering in this world" kind of speech may just be appropriate for Stanford and the kind of people who will tune into its commencement.
They mentioned AWS direct connect which helps to reduce latency.
Most of these are at least as likely to provide the illusion of understanding as they are to produce understanding.

1) Taking ideas to extremes... which extremes? And are the effects monotonic? We live in a world of many dimensions. I have seen many good ideas shot down by people taking their consequences to extremes along a stupid dimension, or by assuming that the effects of change along a given axis are monotonic. Anti-process arguments tend to go this way, "If we take process to an extreme development will cease, so let's dispense with process!"

2) Analogies are also subject to dimensionality. Everything is similar to everything else in some respects. Arguments by analogy are great ways to mislead you into thinking you understand something you don't. For example, Plato's analogy between individuals and states.

3) Examples are useful, although it is easy to pick bad ones and generalize from them inappropriately (see: any argument about the unique inability of Americans to reduce their gun murder rate to that seen in the rest of the world.) Examples frequently lead to argument by anecdote.

4) Historical analogies are also famously misleading because so many factors change. World War I was not at all like anything that came before it, and decision makers were badly misled by using inappropriate historical examples.

5) This mixes a very bad idea with a very good one: the difference between thought experiments and real experiments is that real experiments tell you about the world, and thought experiments tell you about your imagination. The human imagination is well-known to be a terrible instrument for understanding the world. Imagination is useful for many things. Deep understanding of the world is not one of those things.

If you want to think deeply about a problem you need to test your ideas about it via the discipline of systematic observation, controlled experiment and Bayesian inference. This discipline (not method) is called "science", and it can be applied to anything.

If you really want to get deep into an idea, ask "If this idea were true (or false) what would the consequences be? How would they appear in the world? How could I measure them?"

For example: I have an idea that 500 ml bottles of wine would be a product that had some demand in the market. If this was true you'd expect to see some product offerings in that space (you do, particularly in restaurants, so that increases the posterior plausibility of the idea). There are likely other observations one could make, and test marketing is likely the appropriate experimental approach, although there may well be others.

No amount of imagining is going to give me the information about the way the world is that is required to make this decision, and in general imaginary arguments--arguments based primarily on the contents of an individual's imagination--should be avoided. Philosophers tried to understand the world using the method of imagination for thousands of years, and they failed utterly.
I originally didn't like how you couldn't do real function/method calls in Django templates. It felt a bit like I had my hands bound, very restricting. However as I've used Django more and more, I've come to find keeping all but the most basic presentation logic out of templates makes it easier to write thorough view tests. When you weave a bunch of logic into a template, it becomes difficult to write proper tests. I've found using this "thin" template approach has helped me write simpler and faster code in general. Making this separation, also seems to make it easier to write more generic views and templates. Which helps with maintainability. If you absolutely need to make calls in templates, Django makes it trivial to write custom templatetags, which can be used to do this. They're also easy to test independently, seeing as Django implements this feature with a regular decorator. So templatetags can be called like any other Python function. After using Django quite a bit, I've really come to appreciate how it separates view logic from template logic. It really is the better approach IMO.
BankID is the sole player in that market.

The company that produced the solution Telia used have exited that market (and focus on providing smart card solutions for companies and organizations like the public care providers).
> It won't re-challenge our notions of scale. (Walmart's 2.2 million employees would be a small user base by today's standards.)

But sensors on everything in their supply chain are where the growth is. How many items per day does Walmart transport?