skysight-inc/HackerNews huggingface dataset:
I think you have a gripe with my argument because you may be missing my point

I get your point, it just doesn't apply to many real world situations I've seen where you don't have the luxury of just using a higher level language or a library that takes care of all these things, or keeping programmers who don't understand what they are doing away from that sort of thing.

The most egregious example that I've personally seen was a developer working on a legacy Cobol banking program that needed Chinese support retro-fitted to it.

The app was originally only developed with ASCII in mind and so sliced through strings willy-nilly, which naturally caused problems with Chinese text.

The developer working on the "fix" before me, was calling out to ICU through the C API of the version of Cobol that we used and was still messing things up - he'd actually modified ICU in some custom way to prevent the bug from crashing the program, but was still causing corrupted text.

I basically undid all his changes, and wrapped all COBOL string splicing to call a function that always split a string at a valid position - truncating invalid bytes at the start/end as necessary. Much simpler and resulted in the removal of an unnecessary dependency on ICU.

This bug had been outstanding for several months when I first joined that company, and it was the first one I was assigned to work on - and luckily for them they'd accidentally hired someone who had done lots of multilingual programming before.

it's very easy for it to prevent the the programmer from slicing in the middle of a code unit.

Okay, but even you made a mistake in your first example of what to do, and that's the sort of code that someone who knows what they are doing could write, and will seem to work in the conditions under which it was tested (working on my machine, ship it!), but that will cause seemingly random problems once it hits users.
> I don't want an article that goes viral to give me huge bills or crush a tiny server. I want automatic scaling.

I'm not sure that an article that goes viral can do this any more, if you're running a simple static site. Even a million hits a day on my website would only be something like 150 gigabytes of traffic a month, if it were sustained. (I'd expect a much smaller spike).

At Amazon's current pricing, that's about $15/month.
Yeah i think it was a bit of a chicken and egg thing.

TCP/IP for LAN use was fairly new at the time, iirc. Most games with a network multiplayer component only supported IPX/SPX. I seem to recall that there was even a matchmaking service that tunneled IPX over TCP (and thus the net) that did quite well.

Ah, fund it: https://en.wikipedia.org/wiki/Kali_%28software%29
It's a stupid idea and a slippery slope. DRM, endless copyright extensions, 3-strikes, DMCA, phone bans. When is the entertainment industry going to be satisfied?

When everyone has a brain implant that erases the memory of the performance unless they pay for it? In the case of Alicia Keys that might even be a blessing.
It's rather sad that its come to this but I applaud this movement. There is nothing worse than being forced to watch a show through the phone screen of the incosderate person in front of you.

We are losing our ability to just be in the moment and experience something, especially something so communal and primitive as a live performance. We increasingly have a society that seems to believe that every experience needs to be immediately cataloged and broadcast on social media or somehow it doesn't count.

There's another aspect to this as well which is people using an artist's likeness, their image and their material without their permission.
People in America scream "socialism!" whenever they hear the words "universal healthcare", so the standard in the states, at least, is really low. E.g. "Bernie Sanders is a socialist" is a common refrain even if he isn't dressed in a mao suit advocating nationalization of all private industries...that he is advocating taxing the rich more is enough.
There are two reasons:

* If you use std::vector<int>, std::vector<double> and std::vector<string> you will (probably) end up with three instantiations of std::vector ("probably" because the implementation has some leeway). This it no different than what you would get if you implemented std::vector with macros or by hand, but for some reason people like to count it as code bloat.

* Modern compilers have a tendency to instantiate the same template multiple times, (e.g., std::vector<int>, std::string) and then get rid of any duplicates ( https://gcc.gnu.org/onlinedocs/gcc/Template-Instantiation.ht... ). This affects compile times, but if the compiler/linker does a good job of getting rid of the duplicates it shouldn't affect executable size. Sadly, many compilers do a bad job of getting rid of duplicates. extern templates are supposed to help out now ( http://www.stroustrup.com/C++11FAQ.html#extern-templates ).
Yup, they're not that kind of socialists. They're "socialists". Which is to say capitalists with Nordic values.
Interesting, I thought there was a "Seriously, I know what I'm doing, delete right now".

I've never run into this, and apparently that's because the issue is that we have a limit of 10 free trial projects (to prevent abuse). I'll look into the "Seriously, let me delete immediately" thing though.
Capitalism has nothing to do with freedom of the press.
All have extensive private ownership. Look at government spending. Sweden 51.2% of GDP, Norway 43.9.

https://en.wikipedia.org/wiki/Government_spending

How are they 'more Socialist' than the USSR or Cuba or China when it was poor where the state owned everything?

Sure, they are 'Social Democracies' which seems to mean market-democracies with a welfare state these days.
I guess I don't really understand the problem artists have with phones? Are they worried people are watching their performances rather than attending?

I only go to a couple of shows a year (on a good year) and not once has a phone ruined my enjoyment of the show. Personally I don't take out my phone more than a few times, mostly to grab a photo for Instagram, and maybe text or tweet between openers.
> Fans will also realize that they actually enjoy a show more without constantly filming, texting and Tweeting.

While I may or may not disagree reharding phones on live shows, this is plain propaganda: taking away my freedom of choice and then try to convince me it's for my own good.
Absolutely at the moment. That stops being okay once amber alerts start to be misused.
I got to ride the company plane once at my previous job, and that's pretty much exactly what the scene was, other than having to show my work badge since the clerk of course didn't know a minion like me.

That plane (a turboprop) "only" went about 300 MPH or so (on a longer trip), rather than Mach +, but to get from the Sacramento area to the east bay, you make pretty good time - about 15 to 20 minutes in the air.
There are lots of people that film every moment of their sporting or driving life. Nowadays you can put a camera on a cycle helmet and record the whole ride in glorious 4K. To do that at the turn of the century you would have needed a support vehicle full of kit. Soon recording is going to be ubiquitous - much like how on the latest phones you can go forward/back a few seconds to get the shot you really wanted, you will soon be able to go forward/back a few hours, probably with A.I. able to detect where you are and get the photos you would have taken had you consciously thought to take pictures.

Let's be clear over this 'living for the moment' stuff that artists say. Yes they would prefer a 'live' audience that is engaged rather than the 'society of the spectacle' people viewing their life through an instagram-shared lens. But the reality is that people record stuff and enjoy doing so. We are marching towards that personal CCTV always recording world and maybe the realisation of that will mean people won't fuss over recording their lives, they will get back to 'living the moment' happy they have every moment backed up in the cloud.

These same people that record concerts and other things are the same people that do the word of mouth needed for these artists to be successful. Old media does not work, people do not buy 'New Musical Express' to find a gig to go to. The internet really has taken over and instead of complaining, these artists should just get to grips with the reality of the situation.

Instead of these phone cases, I would urge a mass hand out of some type of baseball cap with a 4K 3D 60Hz camera built in to the front. In that way everyone could record their version of a good time, to do whatever with it. We could then go back to engaged audiences, albeit wearing silly hats/goggles.
StyLit: Example-Based Stylization of 3D Renderings
I have not started a startup:

1. $1,000 / month / person sounds sufficient, living with family.

2. I think paying off the loans are good idea, since the loans carry interest.

3. Your username is "trynabootstrap". What would it take to know your product either falls flat or bringing in regular revenue? Do you need to raise money for that? Before you raise money, you will continue to have the option to go back into full time work to "recharge" and work on this part time, and then quit the job a year later and work on it again. Once you've raised money, this option won't be on the table anymore.

4. No, I don't think tapping into 401(k)s and Roth IRAs is a good idea. That's the kind of thing I rely on in case my own money making schemes fail.
He's saying give the security guy your burner phone as a faint. Then the security guy has no reason (and no excuse) to metal detect you and your real phone. Then you use your unpouched real phone to record the concert.
You can even use it to record security as they're escorting you out of the event once you start using it to record the performance.
Wow this comment is ignorant.

Not a single economist in the world would agree to your insane 3% rule. That rule is so absurd that its hard to even argue against it.

Comparing QE to people burning down a store is also totally wrong. You seem to have never picked up an economic book in your life.

Just because economics is not physics does not mean you can just shit all over the thought of millions of smart people who have studied these issues.

If your rule would be applied you would wish that you lifed in the great depression.

I have studied many different school of economics, from 1400 spanish monks to modern day schools. Not a single one would think your "proposle" is anything put insanity.
This type of system will inevitably become commonplace and through abuse by insurance companies, it will push people to adopt autonomous vehicles.
Walking over grapheme clusters is common in UIs, e.g. visually truncating a string.

Really I think you are arguing against the notion of "default iteration" altogether. As you say, the right type of iteration is context dependent, and it ought to be made explicit.
Well, i've helped hundreds of startups launch their product, and you guys are more prepared than 90% of my clients.
You have enough money to survive for a long time, the technical knowledge to create your product ( I assume ) So you wont have to hire external help and a low burn rate. As for your friend's debt, it can wait for now, and you'll always have the 401(k) as a fallback If push comes to shove.
Though its worth mentioning that you guys shouldn't probably quit your jobs until you pitch your idea for some random people, and see its viability in the market. All our ideas seem great to us, even if they're not.

As for when you should start raising money, i think that you should start pitching investors while you're working on the MVP to not lose time. And schedule meetings right when the MVP is ready.

There are a lot of other things that you should consider too! Feel free to reach out to me on Quora. I usually answer questions there and help new founders in my spare time. For free of course. https://www.quora.com/profile/Aladin-Bensassi
Sometimes it's nice to be able to watch a show without seeing the glow of all the devices of patrons sitting in front of you.
2009, but always well worth a re-read, and if it's your first time, congrats on being one of today's lucky 10,000 [0]

[0] https://xkcd.com/1053/
Checked C – A Safer C/C++ from Microsoft
Flyweight – The Daily Design Pattern
If your backup system involves overwriting old backups, it's not a backup system. It's a data loss system.
Get Your Hands Dirty with Scala JVM Bytecode
I am fairly sure you could rip it open if you really wanted too. I went to a Dave Chappelle show and he used something similar to this, the lock felt strong but it felt like you could rip it open if you really tried.
WP-CLI: command and conquer
> That's why the Pepsi Challenge can name Coca-Cola directly as the product that people prefer. Certainly Coca-Cola would sue them if they had any legal grounds to stand on, and they do not.

This is literally "nominative use" and is explicitly allowed by US and EU law. You can name your competitor's product. You can compare your product with that of your competitors'.

You can't adulterate someone's trademark product and still use the mark to refer to the product.
fwiw I recently started using the Samsung network camera sold by Costco (SNH-V6414BN), after various homebrew and RPi solutions over the years. It has an on-camera password that is set as part of the WiFi pairing process so is not open to this kind of attack. This password is separate from the cloud account credentials, so provided you don't ask the web site or mobile app to retain it (optional), without that password the camera content can't be accessed remotely (of course the firmware could be compromised and I don't know if the password is adequately protected from eavesedropping).
It's better to just not use the word 'socialism' because it's too poorly defined.
He is stating facts, except for the last clause which is an opinion which does not apply to the main subject.
Ya, the word is kind of arbitrary and meaningless. Does 67% state owned Statoil make Norway socialist? Does universal health care make a country socialist? Do high taxes on the rich make a country socialist?

Venezuela isn't even a self proclaimed socialist country, let alone one without capitalism. All of its dysfunctions are fairly basic...it looks a lot like what happened in Zimbabwe.
Google Docs work pretty well offline, and I suspect Google's uptime beats the pants off your average locally administered "shared disk" type office network.
Hmm, our Taiwan region (asia-east1) is too far? We've had a number of customers from India, and thanks to our points-of-presence throughout the world it's not so simple as "AWS is in Singapore, Google is in Taiwan". That said, we hear you, and you can imagine we've done a lot of asking customers (and losing deals!) on the basis of where we are and where we could be.

Disclosure: I work on Compute Engine.
> guess it's a credit to Buress's art that he didn't want to capitalize on a freak viral hit

Maybe he does not want to be associated with the case, in case it goes the same way as Kane, Rolling Stones, Colombia mattress...
Demovfuscator: A deobfuscator for movfuscated binaries
When I had my own start up companies or worked for those of my friends, we ensured that the first few sets of big customers got white glove treatment from the executive team....

This is what happens when one does not do that. :)
Does ntfs not have an executable bit as part of its permissions??
Socialists don't support socialism for its track record. So this will not change anyone's opinion.
When all you have is Apple’s Disk Utility.app, all storage media is perfect. That was irony. Truth is hard drives can have more than 30 bad blocks and still have a verified S.M.A.R.T. status in their app.

I recommend sending every file system engineer on a year-long journey as a traveling system integrator.
The question is not if it is in the governments control to do something. Any of the western governments could take control of local enterprises.

The question is "do they?". Successful governments usually dont. China has many challenges to overcome and one is not attempting this strategy again.
But the security guy is also looking for guns and knives and drugs - given the god awful murders of musicians recently isn't that a decent reason to search until "no more bleeping"?
And per-minute billing, and the ability to move between zones month to month ("Oh, Haswell zone just launched? I'll be moving there..."). It's night and day, and if I could, I'd happily take the other side of any RI deal ;).

Disclosure: I work on Compute Engine.
So one contract can call a function in another contract, in the middle of their transaction:

if (_recipient.call.value(_amount)()) { // vulnerable

That's inherently a scary feature, and it was exploited.

Etherium's "Solidity" suffers from the desire to have it be a general-purpose computer. It should have been if-then rules, or a logic tree, or a decision logic table - a finite representation of business logic subject to exhaustive case analysis. Contract executions should have been atomic transactions - either everything commits, or everything gets rolled back. Stack overflow and running-out-of-gas terminations are inherently trouble.

Etherium needs to go back into the shop for a redesign. At least we found out early that this isn't going to work.
Make for hipsters
For any language that allows non-ASCII identifiers, trying to define "case insensitive" is a minefield best avoided. For example, with general Unicode characters, "case-insensitive" comparison doesn't give you an equivalence relation on identifiers because transitivity fails.

Of course you can define things to be case-insensitive only in the ASCII range, and treat your non-ASCII stuff as second-class citizens...
But Paul Graham admits there that even his company did this. I don't think he says it's bad.. but good to bring awareness about it.

I think the product is cool
This has nothing to do with copyright. If a person performing at a private venue does not want her performance recorded (or, wants only certain people to record her performance) that's entirely her right.
Don't feel like you're missing out. The RI "resale" market isn't particularly liquid in the US either and there's a 12% fee to do so.

Disclosure: I work on Compute Engine (so of course I'm biased against RIs)
A concern with a lot of performing arts is that there's a lot less freedom for experimentation. Take comedians for example. In the old days you could try out new jokes with the crowd at a show and if you went to far or something flopped you'd quickly move on to the next joke and most people would forget about it if the rest of the show was good. Today, basically everything is permanent. That one bad joke hits youtube and now it stands equal to the rest of your content in the eyes of the internet.

It's harder to take a risk with a new song or different show ending because you'll be judged immediately and forever on everything you do. There's a lot more pressure to be perfect at the first performance.
We’re Immigrants in Silicon Valley and We’re Putting America First
Not really. If your table does not fit into memory, there is a good chance that a disk seek is required. Now all bets are off.
Google docs hasn't moved forward since it was first released. Its as feature poor as ever.

The style of charts is so bland it has a java applet in a myspace page feel to it. There are no multi-column layouts. Some things can be created offline, but not drawings etc.

Recent Powerpoint on the desktop is just lightyears better at animation. The Office 365 nonsense lags behind - it can view, but not create, the fancy animations etc.

Basically, I was forced to go back to Powerpoint, and I didn't want to.

Given that the google docs today is the same google docs from five years back, I figure that Google invests 0% in them and using them themselves.

It is really frustrating - it wouldn't take a programmer more than a few weeks to clean things up and make real headway. I really can't cut google no slack on this - its an unloved backwater of featurelessness.
Reflection is the concept of having a program have knowledge about it's own structure. Kinda like having your code look into a mirror.

A really basic example of this is having you code get a list of all the names of fields of a class. This would be very useful if you want to create a generic object serializer.

In the past I used this to create a framework that would generate a UI for you based on class definitions.

Reflection can also include being able to modify your own code structure during run time.
I'm sorry, did Norway just yank the oil company from its owners and just take it without compensation? Do they continuously assign any bad news the doings of Americans and the traitors among them who sympathize with Americans?

Zimbabwe has a tortured history with lots of corruption, colonialism, despotism, nepotism, racism, ethnicism etc. The economic system is the least of its problems.

PS who di Venezuela associate with if not Cuba, Bolivia, Ecuador, etc? That should tell you their implicit leanings (if not their explicit rhetoric).
1. Food and bed are commodities, a domain name isn't.

2.
> Also, anything that you own that is more valuable than you have money, will just be taken from you, as people will offer to pay a little more than you can pay, thus forcing you to sell, and then will resell at market value, thus earning money from the difference.

This makes no sense. The proposal is an open auction. Anyone can bid. The seller cannot turn around and sell to someone else, because that someone else would have bid too if they wanted it, driving up the price. Hence, the price the auction ends at is the true market value of the domain, not $10.
I read somewhere that the app doesn't only rate the drivers around you, but also looks at the person running the app and rates his/her driving. Add the inner facing camera recording they're using and why anyone would want to actively participate in something like this is beyond me.
Wouldn't you prefer to generate type-safe bindings at compile-time?
i wonder if you guys have considered moving to much cheaper country like Thailand or Malaysia.
Or is being in the US part of the success ?
Why do you think that? Seems like a very useful tool to have.
I suspect he means that the logic should live in domain-specific apps which are subscribed to the device wide photostream. It sounds like a nice idea to me.
Getting a visa in the US is difficult but can be done with the right amount of focus and effort. This is just our story (and everyone's is different) but happy to discuss and share any details, answer any questions etc.
Wow, the article is such a fresh breath of air, primarily because the author demonstrates common sense.

He (they?) picked SQLite for all the correct reasons:

- best tool for the job for their situation;

- write-light and read-heavy;

- zero configuration;

- easy to embed;

- understanding that optimizing queries by far gives the best performance in the shortest amount of time.

As an aside, I'm currently using SQLite for Bacula and Postfix, and it's a joy to use; the only drawback I found so far is lack of REGEXP REPLACE in the SQL dialect which the database supports (must be loaded with .load /path/to/lib/libpcre.so, but it is not part of the language). I used the Oracle RDBMS for my PowerDNS deployments, but in retrospect, the way PowerDNS works, SQLite would have been an even better match. All in all, it is great to read that someone picked it for all the correct reasons, rather than some fashion trend, as is often the case in computer industry.
Last Week Tonight: Brexit
Reminds me of the Apple patent for disabling cameras in such situations.

http://bits.blogs.nytimes.com/2011/06/03/apple-patents-way-t...
A better/more up to date article on this from the same blog as this item:
http://dtrace.org/blogs/ahl/2016/06/15/apple_and_zfs/