skysight-inc/HackerNews huggingface dataset:
> the latter increments i twice in every loop :-).

D'oh! Good catch. That's what I get for coding without testing at 3am... Just realized `foo != '\0'` should be `* foo != '\0'`, too. Derp.

> It also typically uses an extra register and requires an explicit 'compare with zero'.

Okay, I see the extra register, but I'm lost on any extra comparisons versus the pointer-arithmetic version. The pointer version still has to test for the nul character anyway, right?

> Both mattered more 40+ years ago.

Indeed, but I'm talking about today. We can now afford the safety that comes with using explicit lengths rather than sentinels. (I'm inclined to think Dennis Ritchie could've afforded it, too, considering that Pascal (among others) was using explicit lengths for strings (and indeed all arrays) around the same time C was invented, and did so on similar hardware to boot. Bounds checking is pretty damn cheap, all things considered, even on a PDP-11 (the PDP-10, while not exactly a predecessor to the PDP-11, ran TeX written in WEB / Pascal, and was favored by some Lisp hackers as practically a Lisp machine (in fact, Lisp was the first thing DEC brought up on the PDP-10, or so I'm told...), so I think it could afford bounds checking, at least).
Cars are optional and aren't even the fastest way to get around (public transport + taxicabs + bicycle/e-bicycle is fastest). Rent can be low as well, depending on where and how big.

Low crime stable environment with strong regulations for food, water, housing, industrial safety, etc, means that necessities tend to be cheap and accessible even to the poorer part of society.

Status goods like cars, luxury cars, fine dining, strata housing, are as expensive as you want it to be. If your status referent group is based on the people around you, it will be as expensive as their income, and many Singaporeans have a lot of income.
Blog post with rationale (German): http://codefor.de/blog/prototype-fund
I've never seen this ... I thought it was just the case that they paid whatever fine it was ...
Killed by a Machine: The Therac-25
I agree, Taipei is a nice place to live and Taiwan is an amazing island. But do you work completely remotely (for a US company)? Do you have any experience with local businesses or starting something in Taiwan?
I've lived in Hong Kong and I'm interested in your insights. My email is in my profile.
It happens with any tree structure. E.g. I used to work on a system that managed reinsurance contracts and represented them as trees of contracts.
Kagi was 22 years in business and they write this:

> We are sorry we failed you.

Kagi, you did not fail. You provide an essential service for what was then called Shareware when it was really hard to do online payment processing.
I tried doing some serious writing on an iPad (with external keyboard) a few years back.

The number of times I needed to touch the screen or switch apps made it a pretty inefficient experience.

If I wanted a 'cheap' device to write on again I'd probably try a Chromebook
People living in Beijing enjoy political stability and wise Party decisions.

> From disruption to state-sanctioned monopoly in the blink of an eye. Welcome to the Chinese internet

> http://www.wsj.com/articles/uber-in-china-why-foreigners-nev...
http://wiki.opennicproject.org/ClosestT2Servers
It's an excellent book that I highly recommend. A lot to get through but it never gets difficult to read, and they (David Farley co-authored) include many anecdotes of when things have gone both right and wrong to demonstrate the points they make.
Where does it say this is about websites? Or that it is against building (web) companies ? (Quite the opposite, actually!)

I neither buy your point that 1.2mn R&D money will replace the dot-com economy with socialism, nor that there's no money in infra.

Also, how come you think every place on the web should be for-profit? It's a bit like saying every city needs to turn all its parks and community centers into shopping malls so as not to undermine Starbucks right for revenue.
7 no BS easy and portable quick fix lunches for work or school
I did buy frameworks for work, and this does look OK, but coding gui by hand is not something our developers can handle in large scales.
The FAQ is in the Wayback Machine: http://web.archive.org/web/20160801094432/http://prototypefu...

I had to disable CSS to see the answers, though.
Gimp is a more traditional Free SW project, but most developers on Firefox and the Linux kernel are already being perfectly funded by the corporations that employ them.
Do they need to, though? The Chinese market is so unbelievably huge that expanding into these small neighboring countries might not be worth the effort.
Interesting. It doesn't have a man page, the help output gives no background info and there's very little information online. I'm curious to find out more about this tool.
I mean, nobody would ever want to use a phone to talk to someone, amirite?
I agree about the story. Text generation is already well within our capabilities, but it would be much more "intelligent" if the algorithm understood concepts of plot and characters to come up with a coherent piece of writing. There are already algorithms for summarising sporting and news events, but that's pretty formulaic, not creative like writing a story.
It's extremely unlikely that they'll IPO for anywhere near $100 billion, or even near their current valuation (for reference, the largest IPO in history is Alibaba with $25B). Their accounting practices most likely don't utilize GAAP, which is how they get around saying "we're profitable in the US", so I wouldn't be surprised if they were actually significantly losing money. Plus with the multitude of lawsuits against them right now, it's not hard to imagine they lose a good chunk of their valuation in the near future if the lawsuits don't really favor them.

They may IPO (if they are indeed profitable and don't want to keep looking for Series N style fundraising), although I doubt it, and if they did, it's definitely unlikely to be anywhere near $100 billion.
If you're interested in working on open source permanently consider applying at our open core company GitLab Inc. 80% of what we do is released as open source. Vacancies are at https://about.gitlab.com/jobs/ and we hire everywhere https://about.gitlab.com/team/
That sounds great in theory, until you pay for the no-ad version and the developer crams ads in a month or two later.
I would be convinced if I saw real-world examples where having namespaces gave an advantage over not having namespaces. I can see the value in specifying whether the content of a given node is XHTML or text. I can at least theoretically see value in allowing nesting XHTML without a layer of escaping. I can't see any non-theoretical way in which namespaces are necessary to accomplish these things.
Fail to compete with Didi in China
I hope you get more employees and/or funding, because 15 seconds for an "Already up-to-date." git pull is the norm with your service.
talking about funding

100.000 Euro funding available (total €5.5 million) for opendata startups & SMEs https://opendataincubator.eu/apply deadline by 30.08.2016
I'm of the opinion that there is only one lisp right now with some serious potential to dominate in the future, and that is Racket. Why? For one very simple reason: unlike all other lisps, there is serious, ongoing, and lengthy research into correctly bringing a static type-checking process to the language. Clojure's core.typed doesn't count here, as it is full of significant holes that invalidate its entire point -- though, those holes are very possibly getting filled in the coming years as they attempt to refactor core.typed following the Racket model. But the Racket team is doing something with lisp that is true to its core, not just with types, but with many other features as well.

Interesting piece of trivia: this website you are reading right now is built on top of Racket.
I can't speak for this OS but I use OsmAnd (http://osmand.net) in place of google maps on cyanogenmod and it does do a reasonable job of voice navigation (using the same OpenStreetMap data as uNav). It's open source so it should be able to work in principle.
> strncat() is not like strncpy() - it always nul-terminates the result.

Yes, you're right. That's what I get for trying to speed-read the C standard at 3am...

> I think your strlen() issue is a bit overblown. Either you get the string from a function that explicitly produces valid strings, in which case you know that it's a valid string already; or you get it from a raw bunch of bytes which tends to come with a size attached, giving you all the information you need to either check if it's a valid string or append a nul-terminator yourself.

Usually, yes, but neither of those things are guaranteed, unfortunately, and thus we wind up with the perennial buffer overflow exploit.
> You will still need, in your code, to handle both 123 & "123" (or handle one, and error on the other). That's really no different from, in your code, parsing "123" as an integer, or throwing an error.

It is different because in the latter case you have to write your own code to do it, while in the former your library will handle it for you.

> If one is willing to use a Scheme or Common Lisp reader, of course, then numbers &c. are natively supported, at the expense of more quoting of strings (unless one chooses to use symbols …).

So this format comes in dozens of partially-incompatible variants? Lovely.
You've simply moved all those pieces outside the phone, increased headphone cost, and decreased modularity via dedicated Bluetooth pairing.
Show HN: Physics Clock, a JavaScript rewrite of an old high school project
Not when a Chinese company is buying a company from a foreign company. The Chinese government stronger favors Chinese companies, all the more so when they are partially owned and/or well connected to the state. There is no way that this deal could have taken place with roles reversed. (Note: I'm not judging the policy -- just stating it.)
> If someone could document currently shipping devices that are still vulnerable
Chances are at this point in time: every single device.
I think the words you are looking for are "infrastructural software".. Software that works as infrastructure, such as linux, web browsers, databases, ie, mostly anything that we can build other more specific software on top of, has the tendency to become open source. And one cannot deny the increased value that that software brings, for instance, linux servers and open source browsers and all the economy around the internet..
I can cleanly parse JSON, serialize it, and be confident I haven't lost anything. That can't be done for a language that allows comments without complicating the AST.
you haven't tried raising a kid, I assume...
Why did you feel the need to deride someone for simply expressing their opinion? Do you think it helps the discussion?
Of course. All of the issues with C's string library can be overcome rather easily, if only because it's so very basic.
It's back online.
The articled linked has changed the title to:
"Uber to Sell China Business to Rival Didi After Losing Billions"

This is a more accurate title being used by major news media:

"Uber sells Chinese business to Didi Chuxing"
- http://www.bbc.com/news/36938812

"Didi Chuxing to Buy Uber’s China Operations"
- http://www.wsj.com/articles/china-s-didi-chuxing-to-acquire-...

It is also being used in Didi's official Weibo (in Chinese):
http://weibo.com/2838754010/E1ykp4eJn?refer_flag=1001030101_...
Your comment is almost accurate when referring to Haskell programmers who have not used the language for very long.
Cool.

I'm a self employed dev from Germany and got free time the next months.

But I got no idea for a project, haha.
Amazon is doing...OK. Even with Taobao/Tianmao, it is still relevant in China, and Kindle is the still the leader of E-reader market.
My public Trello board I use to plan, build and launch a website
How effective are them at this? Which high importance projects have they financed?

Legitimate questions, I'm not implying anything here
> I don't quite see why you can't do the same with xml; maybe it needs some more typing, but it is expressing the same thing.

It's not idiomatic though - the dog's paws aren't "healths". The point is that in XML each tag is expected to have a label and be an entity in its own right, whereas in JSON you expect each field to be an attribute.
A great read. Few words, and everything relevant mentioned.
>> Some of my best friends are Prolog programmers!

:P

>> Whoa! "Exploit" is a general term; it doesn't just refer to security vulnerabilities.

Of course. I didn't mean it in that sense. Buffer overruns can be exploited for non-malicious purposes also. Basically, any quirk of any language or architecture, or really any system, can be exploited for whatever purpose. Let us pause for a second and reflect on The Story of Mel [1] as handed down to us by our forefathers and mothers of old.

So what I'm saying is that the cut is there to stop unnecessary backtracking and not to change the behaviour of your program, but of course there's nothing stopping some poor fool from using it in the latter manner, as indeed I've done too many times in the past myself, being the particularly foolish fool that I am. Prolog programmers even have a term for the two types of cut: "green" and "red", respectively. Any Prolog tutorial or bit of documentation will tell you that the cut is to be used sparingly and only to stop unnecessary backtracking, not to make your program change behaviour. The good ones go to some lengths to give you examples of what happens if you don't stick to the advice. If you screw up after that you have nobody to blame but your inexperience, and that gets better with time.

So the cut is dangerous, but that's all it is.

I learned to program with C# oddly, at the University of Hull in the UK. There, our programming 101 tutor explained why C#, or, hell, Java- and not C or C++. His point was that those other languages are more powerful but because of their power they give you the tools to cut yourself to pieces. He used a metaphor involving a chainsaw, that I don't remember very well (that was back in 2005, 11 years now). But basically his point was that a chainsaw is powerful but you can really hurt yourself with it if you don't know how to use it, so you don't want to start learning ... er, forestry? with one.

Well, think of Prolog as a particularly dangerous language. I will admit this: Prolog is not your friend. It doesn't even try to make things easy for you. It's not an "easy language to pick up and start hacking in immediately". It takes a long time to learn it well and it keeps surprising you in very nasty ways for a very long time.

But- once you've learned it pays back in spades and you can do stuff in it that you can really not do in any other language, like declare grammars and then execute them, and use them to parse strings and generate strings. Or run your code backwards. Or do list appends in single-steps and so on.

Well. Apologies, that got a bit out of hand.

[1] http://www.catb.org/jargon/html/story-of-mel.html
Exegete.
Its not a 20% stake.

"Uber Technologies will receive 5.89 percent of the combined company with preferred equity interest equal to 17.7 percent of the economic benefits."
> For UI application programming You can do without FP language features.

Wow, do I ever disagree with you on this. The absolute best UI development process I've ever had -- super easy, fun, fast, painless -- was using Clojurescript's Om, which is functional to the core. Doing anything else, like going back to the polished UI API's of Apple still feels arcane by comparison.
Show HN: Hacks to Hacker News
€30k for 6 months is a low contracting rate.

Normalise that to €60k per year. Full-time work in Germany is 231 days (52 * 5, less 29 days legally-mandated holiday).

€60k / 231 = €259.74 per day.

So around €260/$290/£220 per day. This is definitely the low-end of freelancing/contracting rates in Germany[1]/Western Europe.

[1] Contracting rates in Germany: http://forums.contractoruk.com/business-contracts/77870-hour... (German)
Example: The XSLT stylesheet for this Atom feed generates a web page for each entry: http://news.dieweltistgarnichtso.net/notes/index.xml In this setup, the Atom XML for each entry is generated from XHTML with XSLT, which makes it possible to automatically include an Atom enclosure element for every XHTML media element. To publish a podcast episode, it is enough to add a post with an <audio> or <video> element, as an XSLT stylesheet can “reach into” the XHTML content.

Namespaces are also widely used in SVG, which uses the XLink specification for hyperlinks and can embed XHTML and MathML content. Since SVG can be embedded in (X)HTML, this means you can have an ATOM feed containing XHTML containing MathML and SVG that contains XHTML and all have it displayed correctly.
Getty Images Bites Back in $1B Copyright Dispute
Pokemon Go: How to catch a girlfriend
Don't create a new project. Help maintain an existing one.
I think that more specifically, "Learning FP makes you a better programmer", and you often learn FP when learning lisp, so the original statement is often true as well.
I've always considered YAML to be far too complicated. There are many overlapping/redundant syntax rules for doing the same thing, lots of ways to mess up parsing, etc.
The whole setup of this foundation is very website centric. The description of the candidates for funding is Internet centric.

The emphasis is on "new projects". I can already tell you how it will go: People who are good at grant writing, have no shame in over-promising and throw around the right buzzwords will get the "R&D" money.

After 6 months you'll have half-finished, bug ridden implementations that are bad copies of existing software, and the projects will be abandoned.
Top 21 Google Apps for Business in 2016
€30K for 6 months works out to 5k per month. That's really not bad by our standards, at least in Austria.

If you make 5k before taxes you're already way above average here, because your employer usually pays around 7k per month then.

Edit:
Yes, I admit it is quite low when compared against typical contracting rates in urban areas.
Not a fair comparison since the JSON case includes the outer list as well. And whenever I've seen the equivalent of this in a real-world XML format it would use a <phoneNos> tag to group the phone numbers together.
Emacs's been shipping for three decades. It's the eldest of the living open source software.
Web Components and progressive enhancement
For non-Chinese audience, this is from Didi's official Weibo account:

"滴滴出行宣布收购优步中国，融合资源，促进中国移动出行行业更健康发展。"

"Didi Chuxing announces the acquisition of Uber China, (for) integration of resources and facilitating Chinese mobile transportation business for healthier development."

Edit: typo
5 Reasons why you should use Hamcrest Matchers
Bitching Betty
And you're an outlier. Congratulations. I bet you also buy a new phone every twelve minutes and a new laptop every hour, switch banks twice daily and get a new set of DNA and fingerprints every week.

And it's not going to be worth the time or trouble to try to design a system that accommodates you, unless you're also a multi-billionaire. Any user-facing system will fall down when faced with certain extreme outliers who violate its basic assumptions; so long as the system works well enough, for enough people, that's not a bug.
I think there's a special niche with civic technology, the kind of public-benefit projects this is also aimed at: most European societies already have this deal.

It's public broadcasting systems. In Germany, the pot is 7.6bn per year - basically, because we believe it's a good idea to have a well-funded set of institutions in the public sphere.

I'd argue that doing stuff like GPG, a web site to track bills through Parliament or some important infra isn't actually that much different.

So if we can decide to get rid of an old radio station or two, there's plenty of money already allocated - it just needs to be shuffled around a bit.
I think you misunderstood GP's comment, I took their comment as noting that for Java and Scala there's a language-aware refactoring framework (Ensime) with Sublime integration which can thus provide language- and semantics-aware refactorings and transformations (thus further and safer ones).
I personally think the "code as data" concept is not so important in lisp. It is critical to writing macros, but you often don't write macros and beginners to lisp often abuse macros.

I've written Clojure professionally now for a couple years and am pretty fast and proficient at it, but when I write a function call, I don't think of it as a list, even though that is what it is. I don't think any lisper does. It's just a function with arguments and I'm writing in the syntax necessary, which happens to be a list.

In those rare occasions where I think a macro is necessary, sure, it helps that a function call is a list, but that's hardly the main role in a day's work.
You math is slightly off, it's 24 days of legally mandated holidays, but those assume a 6-day workweek (§ 3 BUrlG, see 1). Legally mandated holidays on a 5 days workweek is 20 days only. The actual number of workdays varies slightly with the location you're in as well. Some states have more federal holidays. Generally speaking the dominantly catholic part have more, the city of Augsburg has the most (they have the "Hohes Freiheitsfest", a holiday that is restricted to the city of Augsburg) https://de.wikipedia.org/wiki/Augsburger_Hohes_Friedensfest

http://www.schulferien.org/Arbeitstage/arbeitstage-2016.html

Your general point still stands: 30k is a low contracting rate and in general untenable for a freelancer. You should be earning at least twice as much. However, for open source work this is a major step up - you can make a living off it instead of self-funding your work.

(1) https://dejure.org/gesetze/BUrlG/3.html
I certainly wouldn't.
Here's a narrative:

"If we spend a billion in China now we'll make it!"

(Year later)

"Lots of competition but this time it's different!"

(Something something China)

"OK maybe this isn't working out. Let's salvage what we can"
Look in places where the city centre is more than 650 years old, hasn't been carpet bombed in WW2 and wasn't popular enough to be replaced by modern concrete or glass&steel highrises.

You will find hundreds if not thousands of towns in Europe with whole streets full of 13th/14th century timber frame/fachwerk houses in the city centre.

There are also dozens if not hundreds of 12th/13th/14th century stone bridges still in use - usually such bridges didn't fall down, but were taken down and replaced with bigger and better ones as cities expanded.

Though ultimately the only reason to keep around old bridges or houses - just like churches - is nostalgia. The modern version could replace the old constructions at very low costs and with much lower maintenance and better comfort characteristics. Like antique cars, it is the quaintness and historic significance that keeps them up rather than their actual infrastructural superiority.
Ah, that is allowed too?

Any OSS project leads here, that need a front-end developer? ;)

Also:

"Can I apply with a project that already exists?

Yes you can. However, your proposal ought to be clearly defined and and have its own degree of novelty, e.g. you plan to expand or enhance your preexisting project with a new module. In any case, you need to make clear what you will be working on during the 6-month project term."
I doubt it. So long as you have experts in the jury – as is the case with the prototype fund – you'll decrease the chances of BS proposals getting funded.