skysight-inc/HackerNews huggingface dataset:
One point I'd raise is that we don't know how much malware might be available on the App store. Apple doesn't require source escrow. Smart malware authors might be able to fly under the radar for a long time under Apple's conditions, leading to a false sense of security.
Show HN: Curator – visual notes for iPhone
Rust has to have some equivalent to `unsafe`; it is designed to be used for low-level code, and opt-in unsafety is far better than opt-out. Anything like FFI is outside the realms of what a compiler can possibly verify, since it knows nothing about what the arbitrary C functions do, or what pre-/post-conditions hold. Furthermore, all the normal tools provided by Rust are available in unsafe blocks.

The low-level code has to be written somewhere (Rust needs to have a vector type, needs to have an efficient hashmap), and frankly, writing it in Rust is better than writing it in C and using FFI to import it.

Rust is going for safety.
303 Redirect, What Is All About? And Impacts in SEO
Does anyone have some good resources for UI/UX design for data and option heavy application (enterprise)? There are fundamental differences between most 'apps' and the kind of dense applications I work on/with.
How long does it take to build the DFA when a new route is added? That seems like the major time performance problem point if new routes are added often or regularly.
>I don't have a problem with systemd from a technical perspective

http://cgit.freedesktop.org/systemd/systemd/commit/?id=036ee...
Since we're comparing two monitors with the same number of pixels, I'd probably pick 1440p, mainly because it's more ideal for watching fullscreen 16:9 videos, and because I'm more used to scanning left and right than up and down (which is probably an evolutionary result).

I've heard that the "aspect ratio" of humans' field of view is approximately 4:3, so if that's the goal, you'd want...2217x1662. 1:1 is actually closer to 4:3 than 16:9. My guess is that the tendency to scan left and right rather than up and down is the stronger argument for wider aspect ratios than the human field of view argument.
Yep, that's a good point I did not mention. Thanks for providing the links.
Do you plan on suing the company or the person behind it? Make sure you've got your jurisdictions right before you spend money on an attorney in that state. Also review your employment contract / agreement for clauses related to arbitration, venue, etc.
Ask HN: Are non-exclusive licenses common for logos?
I own a freelance business and recently contacted an artist to create a logo for me. The artist responded with a contract stipulating that after creating the logo, I would have a non-exclusive license to do what I wanted, but they retain the right to post the image anywhere they keep their portfolio.

Should I be requesting full rights and then agree to license it back to them to display in their portfolio?

I guess I'm not really seeing what is protecting me wrt my logo.

What have others done to protect their rights wrt to their logo?
Well, one key issue is that the compiler needs to know that program-terminating fault checks are special for optimization purposes. It's OK to terminate a program early. If a loop, when entered, will inevitably subscript out of range at iteration 101, then it's OK to detect that at loop entry, and never execute iterations 0..100. Even if there's a print statement in the loop.

Normal compiler hoisting operations aren't allowed to do that. It violates normal execution order semantics. If you don't do that, you can't optimize checks fully. This is why generating assert statements in macros or templates and then trying to optimize them doesn't work. Asserts may need to be hoisted through statements with side effects. Compilers have to handle that at the flow graph level.

This works best if you're not allowed to capture such errors. If you're headed for an unavoidable crash, it's best to have it sooner, rather than later. Go takes a hard line on this - no exception mechanism. (Admittedly some people are abusing Go's "panic/recover".) Google's position is that in their kind of operation, it's better to fail the whole program. They can recover from a failed server, after all. Erlang also take a "fail early" position.

As for the need to eliminate errors, the recent history of computer language development has been in the direction of increased safety. All the major scripting languages are memory-safe. Newer hard-compiled languages such as D and Go are memory-safe, although they have to use GC to do it.
A whole generation of programmers have never had to look for a buffer overflow or a dangling pointer.

Meanwhile, in the security world, the buffer overflow threat has become worse. It's not script kiddies any more. It's national intelligence agencies (ours, theirs, who knows who else?) with big budgets and competent people looking for exploits. There's a black market in zero-day exploits now. Rust has a fighting chance to fix that. Not just trim it back a little. Fix it. Please don't blow this chance.

Latest buffer overflow reported by CERT: November 14, 2014:

https://www.us-cert.gov/ncas/alerts/TA14-318B

The Microsoft Windows OLE OleAut32.dll library provides the SafeArrayRedim function that allows resizing of SAFEARRAY objects in memory.... In certain circumstances, this library does not properly check sizes of arrays when an error occurs. The improper size allows an attacker to manipulate memory in a way that can bypass the Internet Explorer Enhanced Protected Mode (EPM) sandbox as well as the Enhanced Mitigation Experience Toolkit (EMET).

This vulnerability can be exploited using a specially-crafted web page utilizing VBscript in Internet Explorer. However, it may impact other software that makes use of OleAut32.dll and VBscript. Exploit code is publicly available for this vulnerability. Arbitrary code can be run on the computer with user privileges.

That's why "carefully checked" "unsafe" code doesn't work. "SafeArrayRedim" - wasn't.
OK, but most of those 1,077 are quite dim. WIkipedia's list of the 93 brightest stars (magnitude <2.5) lists only 6 that are further than 1,000 ly.

http://en.wikipedia.org/wiki/List_of_brightest_stars
Coincidentally tied to closing of Netflix API?
Rust uses an industrial strength optimiser (LLVM) and the analysis you list is all rather standard. As others have said, one usually doesn't need manual indexing in loops, and even if it is required, an obvious loop like that is quite transparent to the compiler.

In any case, it's an implementation detail of the compiler, not a language thing.
I wonder if this might have future applications as a treatment for Attention Deficit Spectrum Disorders. I found this line particularly interesting

“I think the reason we’re getting these long-term effects is they are making some longer-lasting changes to the neural connections,”
50mm/sec - yeah, it would have to be one of those bigger ants I saw sometimes outside in the summer, hiding in crevices in the sidewalk, while I was growing up in Eastern Europe.
NodeJS Project has already a similar issue about recursive route matching.

https://github.com/strongloop/express/issues/2412
Congrats! Was it a convertible round? Series B convertible is unheard of.. Curious to know the reasoning!
How are you planning to compete with switch.co?
this is why you stick to tried and true methods folks. this is such a typical node.js fanboy mentality. "reinventing the wheels is justified because asynchronous". or "i want this trendy way to do things just because everyone else is jumping on the bandwagon".

Give me flask + uwsgi + nginx anyday.
Great, I'll check it out!
S
If you're interested in parametric CAD, Genworks open-sourced most of their system (except for the third-party commercial SMLib library) under the AGPL: https://github.com/genworks/gendl
Just to point out a design assumption here, saying that an exponential amount of fuel is required is making 'the rocket assumption': that both the mass and energy required for momentum change are carried with the vehicle, and are expended upon reaction mass.

For travel between star systems, these assumptions do not need to be true. For deceleration, it makes more sense to transfer the original kinetic energy out of the vehicle's movement than to expend even more energy on accelerating reaction mass yet even faster in the original direction of travel. Remember that you have a whole star system of reaction mass at your destination. There may be engineering challenges, but there is no physics reason why you couldn't expend your original energy in "pushing off the sun", and then recover it by "pushing against the new sun" when you arrive. Depending upon efficiency, this could then leave you with the energy for another flight (perhaps home).
Ask HN: US Payroll, employee benefits
I want to learn about US payroll, employee benefits (Health insurance, 401 (K)) etc from an entrepreneur /employer perspective. Is there a good book or blog that will help me get started?
How is this different than MacGap etc.?
Is there a reason why they don't have a map for static strings, and use an array for regexs?
I haven't seen any issues with my nexus 5. Would be nice to know what devices they are experiencing errors with.
Knockout is pretty nice, but I've moved to React for anything I would previously have built in Knockout. They both sit in very similar spots in the JS MVC space—most notably they do a lot less than full MVC frameworks like Ember and Angular, and are thus much easier to learn and to integrate into an existing web site.
That would be Gottesmutter or (way better) Gottesgebärerin (http://de.wikipedia.org/wiki/Gottesgeb%C3%A4rerin)
True from Sacramento onward, but north of there it goes through Shasta et al and is quite pretty.
I have a LOT fewer requests than you, but this one is just so irritating:

>- Fucking SQL. I don't want to learn your stupid DSL. I want to give coworkers a SQL client a say "go! You already know how to use this!". If I want a new feature, then dammit, build on top of SQL the way PostgreSQL has. Odds are, regardless if its some JSON API or SQL, my language will have a client for it that will be superior than writing raw queries anyway.

It pisses me off to no end these developers have to out-think SQL and re-invent the whole damn new wheel for "efficiency's" sake. It seems that no one takes into account friction costs and instead just waggles their dick around saying "Look how smart this new language is or how I co-opted [erlang,perl,JS,etc] into being the query language!" Just stop it. Some people making less than $150k/year are going to have to use this and they are good at DB analysis but not bullshit esoteric language writing.

Good lord this makes me so mad. I feel your pain.
stop bullshiting please. Your site is racist as hell. I am from India and just because my name is Indian my questions are downvoted.

Then I created profile with american ( Christan ) name and same question have got 50+ upvotes.

Fact is that many of American scumbags , who in reality do nothing at their jobs and just show up for $$ between 8 to 4 have been dominating site for at least two years.

Another problem is ,every new question which your stupid moderators don't agree with are closed without regard irrespective of value of the question.

Its one thing to occasionally close the question but its another when you call every question poster stupid, opinion-based and especially judge based on nationality.

I have kept proof of how same people and their tone change when I post with american name.

My honest feedback is if you want to maintain the site quality stop judging question posters.
It's impractical to write maintainable code in the forms of SQL I'm familiar with. But maybe someone here knows better.

You should be able to abstract logic out to blocks for the duration of the query. Along these lines:

cset means select id, venue_id from customer

select venue_name from venue where id = cset.venue_id

cset would be scoped to your connection.

Instead of pages of copy-and-paste queries where the levels are all mixed up with one another. You can get something similar by polluting the namespace (e.g. views, temporary tables) but that's hacky and not the same as good.
For one thing, in the case of tDCS one is actively trying to penetrate the insulating protection of the skin.
For another, nervous systems change in response to what happens to them, particularly when what happens is more extreme than the everyday state of affairs.

I don't dispute anything of what you're saying in itself, but if you mean to imply that it's hard to go wrong with direct current stimulation to the brain because the currents are much smaller than what's needed to drive household appliances, I'm highly skeptical of that claim.
> If we wanted to engage in the same level of software engineering for all software, we could. But we don't want to.

Of course. Like building structures, there are different kinds of software. I can build a garden shed by myself as long as I have the skills to get the thing to stand up. If it blows down in a storm I'm the only person with a loss. But just because I can get a garden shed (or even a larger structure like a barn or a house) to survive windstorms without incident doesn't make me a structural engineer.
Agreed, which is I enjoy my new 3440 x 1440 LG. I don't always use the whole width of the monitor, but I really enjoy spreading windows over more than the usual 2560 width.

Any reference materials can be on the very edges with a very slight turn of the head or a big eye swivel.
Hack HDMI Video Apps with Skreens
Linked is a photo of my current workspace. I use one in landscape and the other in portrait. http://i.imgur.com/CWYv6ZG.jpg

The setup is perfect for Photoshop, Illustrator, and After Effects - I can set all my menu/preview windows on the portrait, landscape for primary.

Could I use a monitor like that? Not really, I thought about it for a while but it just wouldn't help me anymore than what I use now.
It isn't what I am willing or able to learn; I am a good software developer that can pick up your new DSL or whatever crap you want to invent.

But guess what? The guys making $70k/year doing DB analysis and reporting who have little to no software development background can't. And they are the ones that live in the hell you've created.
I am curious about your experience. Would you name any games that you worked on?
The price on this is higher than Bunnie's NeTv box (http://rdist.root.org/2011/09/13/the-magic-inside-bunnies-ne...) but with 5 inputs it looks like it might be worth it for the mashups that you could create.
> "Giving programmers low-level tools when they need them" as an excuse for abandoning language safety is a recipe for bad code. There's a long, long history of that not working. "Unsafe" code should be very, very rare, used for dealing with device registers and such.

How does Rust get an efficient vector type? How does it spawn a thread? How does it print something, or write something to file?

All of these need really low-level code e.g. for interacting with the operating system APIs, or handling possibly-uninitialised data.

Rust explicitly segregates `unsafe`, and we try to instil a strong aversion to using it exactly because it is dangerous and very easy to get wrong, but it's just not reasonable to remove that ability.
Where did you pick that up for $250?
Can you give an example for such a rule?
Just as future advice from personal experience, if your employer misses a payment pack up and leave. Payroll is supposed to come first and all business owners know in advance if they will not be able to make the next payroll. Honest business owners will cut staff (paying paychecks in full) then close up shop as a last effort before they send out bouncy rubber paychecks and try to string along staff.

The longer you wait around to get paid, the more time and money you end up wasting where you could be working somewhere else getting paid. If you want to attempt to recoup your losses I would recommend contacting and speaking with a lawyer as soon as possible. You can try findlaw or the findlawyers website for a Delaware lawyer or you may even be able to talk to one in your local area. If possible,normally filing a class action lawsuit along with criminal charges for unpaid wages, wire fraud, etc can be helpful, depending on what your lawyer tells you are viable options.

If there are serious criminal issues, you may be able to get the FBI to assist you if the criminal issues become federal.
Here's what it will look like when NYC turns phone booths into hot spots
We care about this a lot, pay close attention, and have been working hard on it.

> Nothing significant has been done to try to correct it.

That's a misperception, presumably because perceptions lag even after changes occur. But one needn't look far to see some: two inappropriate comments upthread have been killed by user flags and clearly marked as such.
Alex, I looked at articlebay.co.uk, read through it, and wondered why
would I want this browser plugin when I have email?

I'm sorry if that comes across too harsh, but it was actually what I was
thinking, and when boiled down it simply means; I missed something.

Your marketing message missed the mark with me. It could be that I'm
just not your target market, or I'm a little dense, or I'm a curmudgeon
who likes email too much. I'm not sure what the answer is, but hopefully
this admission of mine qualifies as "useful feedback" in some way.
Companies should be built to also take losses too, no?

This is the key issue. Real companies build in some financial breathing room but Kickstarter projects don't. This puts them in a precarious position where their only choices are to under-deliver or to declare bankruptcy and probably deliver nothing. So if the rules are "full refund or else", you'll probably get the "else".
Think bigger: Mike Serbinis kicks off MaRS Mornings breakfast series with LEAGUE
These would be great. One thing I had need for at a previous job was a combined search / compute engine.

We basically had a search cluster that would return ids that would get joined into the actual data in another system, then we'd do heavy post-processing and push it off to another system for slicing and dicing.

Not sure if it's any use to anyone else, but a system that allowed people to push search queries into a cluster, do some user defined post-processing and then have the engine pipe that to an endpoint would have been interesting for that use case.

I believe there's some Hadoop eco-system bits that do a bit of this now (Impala comes to mind).
Anyone know of a good update to the discussion that happened here? https://news.ycombinator.com/item?id=3874324 I'm curious how the concept of light table has stacked up against reality in the past year.
I think the content was initially written for the site using Markdown and later converted into a book. The author mentions in the book somewhere that it was written with Markdown.
1920x1920 for work, 2560x1440 for play.
First thing I searched for said, currently not available. Guess i'll have to keep watching the rips
Running untrusted programs as root in a docker container is definitely not recommended (and indeed you should be very wary of running anything as root). In the slides, I didn't have time to go into how to run processes in containers without root privileges, but docker does provide features for doing so, and it's definitely worth using them.
The Future of Automobility by IDEO
HTML/CSS is a GUI framework and besides you said it yourself:

Python GUI framework with PHP "bindings"

I don't think you should be dismissive of what the OP has done. You clearly believe this should be done differently. If that's the case I encourage you to spend your time and effort to do so just as the OP did. And then be brave enough to post your work on HN just as the OP was.
> I still want a bare-bones monochrome laptop.

That's not a bad idea, from both a cost and power standpoint. I wonder why nobody has done it?

Same thing with digital cameras. There is a good use case for a grey scale image sensor. Higher sensitivity, fewer artifacts, lower power. But, sadly, nobody has built an affordable one yet. Sure it's not a large market, but there are hundreds of cameras that are almost identical, why doesn't somebody dare to do something different?
Barbie Is Blind to the Many Girls Who (Really, Actually) Code
This article in one sentence:

Using ONLY a queue to "fix" a bottleneck can serve to buffer your input, but will still fail when your sustained input is greater than your sustained output.

--

I feel like this is pretty common-sense to most people, that the only way to fix a bottleneck is to widen the neck. If people are running into this situation in the real world, they either don't understand their core problem or are blocked from actually fixing or measuring it.

The problem stated by the author doesn't have really anything to do with queues. A queue is a tool that someone, quite sensibly, might use as part of a solution to widen a bottleneck, but obviously it can't be the entire solution.
https://github.com/genworks/gendl does this by having you describe parts and sub-assemblies as objects, and then generating geometry commands from the object graph.
Why Google halted its research into renewable energy
Those panels from different lots have somewhat different colors anyway, even in the same orientation, and you can't tune them to be equal very easily, at least I gave up. They have pretty good viewing angles too. So it doesn't make it better or worse to turn either one 90 degrees.
I read:

"This turned out be caused by a periodic (10/hour) function in our code. The main purpose of this was to refresh our route handlers from an external source. This was implemented by deleting old handlers and adding new ones to the array"

refresh our route handlers from an external source

This is not something that should be done in live process. If you are updating the state of the node, you should be creating a new node and killing the old one.

Aside from hitting a somewhat obvious behavior for messing with the state of express in running process, once you have introduced the idea of programmatically putting state into your running node you have seriously impeded the abiltity to create a stateless fault tolerant distributed system.
> All the major scripting languages are memory-safe. Newer hard-compiled languages such as D and Go are memory-safe, although they have to use GC to do it. A whole generation of programmers have never had to look for a buffer overflow or a dangling pointer.

They all have the ability to write unsafe code in the same manner as Rust; but only Rust has it really built-in to the language so the compiler can reason about it. E.g.

- http://golang.org/pkg/unsafe/

- https://docs.python.org/3.4/library/ctypes.html

It just doesn't make sense to presuppose that it is any worse in Rust. In fact, quite the opposite, the type system is designed for ensuring memory safety without a GC, and in multithreaded environments. I believe this is not true for Go (it is vulnerable to data races, and requires a runtime tool to detect some subset of the ones can occur in any given program), but I don't know about D.

Rust cannot remove `unsafe` without being useless for its target, and useless as a language (it wouldn't even have FFI).
this is unsettling and amazing. not too far when we'll have robots that will be aware of what's going on around it.
File a chargeback. Since you haven't received the pre-ordered product in the agreed time-frame your credit card (if its Visa) will likely accept it. I don't see Stand Desk having a good chance of winning the dispute since they didn't uphold their end and their current documented solution is to refund you 85% of the original amount.

To the downvote: I think its reasonable for a kickstarter campaign as successful as this one (one where they're effectively an established company coming out of it) to be able to accept these edge cases as cost of doing business. Feel free to comment if you disagree.
SeaWorld's Startup Pitch