skysight-inc/HackerNews huggingface dataset:
Read this thread, plenty are posting exactly those sources. Yes, I exaggerate when I say most sober people, my point was that they're safer than many normal drivers like old people or teenagers or tired people or texters, etc. More to the point, it's not alcohol, so those wanting to treat it as such and calling it DUI need to show evidence that it impairs driving. You can't simply assume it does. Pot is not alcohol, it does not impair your decision making in that way.

The idea that people should be given DUI's for driving while having THC in their system is quite simply baseless idiocy from those who simply want to treat it like alcohol which it is not. People drive around daily on prescription drugs far more dangerous to their driving abilities than a little pot and you don't hear anyone up in arms about them. The demonetization of marijuana is simple idiocy from the uneducated fools who want to continue the failed drug war or who swallowed the propaganda without demanding evidence of the bogus claims continually made.
Problem with that is that, at least compared to actual engineers who need to take the FE exam to be called one, it's a complete misnomer and to be frank, a little embarrassing. Most CS/SE programs share no classes with engineering programs except maybe calc 1/2 and one or two others. It just feels wrong referring to myself as a software engineer because a. there's no formal definition of one and b. it's unfair to those who actually are engineers. I didn't slog through statics/Differential EQs/vibrations/Calc 3/Mechatronics/Embedded Systems/etc. like some of my friends, and on a nominal level it's unfair to them.
I think the reason we're getting faster performance is that we tend to have packets clustered on disk, as you've surmised. Since packets with particular ports/IPs/etc tend to cluster in time, there's a good chance that at least a few will take advantage of disk caches. Even if we clear the disk cache before the query, the first packet read can cache some read-ahead, and a subsequent packet read may hit that cache entry without requiring an additional seek/read.

As far as compressing offsets, I haven't done any specific measurements but my intuition is that snappy (really any compression algorithm) gives us a huge benefit, since all offsets are stored in-order: they tend to have at least 2 prefix bytes in common, so it's highly compressible.

I experimented with mmap'ing all files in stenographer when it sees them, and it turned out to have negligible performance benefits... I think because the kernel already does disk caching in the background.

I think compression is something we'll defer until we have an explicit need. It sounds super useful, but we tend not to really care about data after a pretty short time anyway... we try to extract "interesting" pcaps from steno pretty quickly (based on alerts, etc). It's a great idea, though, and I'm happy to accept pull requests ;)

Overall, I've been really pleased with how doing the simplest thing actually gives us good performance while maintaining understand-ability. The kernel disk caching means we don't need any in-process caching. The simplest offset encoding + built-in compression gives great compression and speed. O_DIRECT gives really good disk throughput by offloading all write decisions to the kernel. More often than not, more clever code gave little or even negative performance gains.
Sour grapes. Could be titled "People with money decide how to spend it, and I'm sad to be left out"
And you would be correct for the most part but for development at least (and undoubtedly for other jobs but I'm a programmer so I'm going to focus on that) I don't just work between the hours of 9-5. I can't stop myself for thinking about work problems from bleeding over into my personal time. Likewise I cannot function as a human being in the United States without using some time that most people would consider "work hours" for personal matters. A number of gov entities are only open while I'm at work (Some even only make their website available from 9-5, a cardinal sin if there ever was one), things like banking need to happen within certain hours or they get pushed to the next day, etc.

Furthermore I use my personal computer as my work computer so there are apps/notifications that are not of a work-nature and are not for my coworkers eyes. Also I don't know if you have company chat or use some chat program at work but I'm guessing you would not like all of your chat's to be public or even just public with your co-workers. What I'm trying to say is I get where you are coming from but I don't think you are considering all the things you might do on your computer that you might not want to hide but at the same time you don't want to advertise.

More and more what happens on my screen is an extension of my brain and so you could say watching me use my computer is watching me think (from the searches I do, the docs I look up, etc). No one would consider giving a running monologue of their thoughts throughout the day but watching my screen get's pretty close to that, for me at least.... I may be an edge case but I think that I deserve some level of privacy. If you want to know what I'm doing ask the PM (or look on my whiteboard) or look at my commits or just ask me, you don't need to watch over my shoulder to know what I'm up to.
I am curious about #3, do you have an article elaborating on this?
The only ones I know from memory is:

script/rails console
and rake db:migrate

everything else I look up online, and I've been coding for 5 years in rails
> why would you trust the client on time sensitive issues

Because someone only has a superficial understanding of how things work.
Make sure you're on the latest branch, step-five
I work remote. I don't understand why you all tolerate this kind of nonsense.

Excluding some short-term engagements and occasional visits to client offices, I haven't worked in an office on a daily basis since 2008. Every time I go into a client's physical office, it's like walking into somebody's den and finding an 8-track tape recorder, a black-and-white TV set, a rotary phone, and a Betamax.

When I go into an office, I don't think "why do people even do this?" I think, "why did people even do this?" It's so archaic that even when I see it happening right in front of my eyes, I have to remind myself that it still isn't over.

Finding a remote job is a lot harder than finding a job at a Bay Area startup, because companies which hire remote hire from all over. But it's absolutely worth it. And finding remote clients is relatively easy.

Don't subject yourself to this kind of foolishness. There's nothing professional or reasonable about it. It's just a vestigial custom, a primitive ritual which hasn't fully died out yet.
Einstein won his Nobel Prize for explaining the photoelectric effect, a measured phenomenon that didn't have an adequate explanation.

His work on brownian motion showed that the observations of the movements of small particles can be explained by the nature of fluids as being made up of small particles (i.e. molecules).

Special relativity is what you get when you combine the seemingly contradictory observed phenomena that there's no such thing as absolute motion and that the speed of light is a constant to all observers.

General relativity combines that with the observed phenomenon of gravity.

While I don't know whether these constitute "proof," Einstein certainly had a lot of empirical support for his ideas, and they weren't anything like pure intuition.
I call BS. If that's true, then Victor can not only send information across a distance, but back in time. Victor is changing the correlation of Alice and Bobs measurements after they have already been made. That's going to need serious verification for me to accept.
>If a manager wants to sit out with their employees and the manager is not doing the same work as the employees, they're there to micromanage.

Exactly. My boss (the owner/CEO) has a bad habit of coming by my desk or work bench and saying "Son, whatcha workin' on?", knowing full well I'm juggling three or four tasks he's given me that day on top of my daily workload. I don't like to be rude, but I don't have time for idle chit-chat when I'm that busy, and I certainly don't have time for him to come by and try to mentor me on something he doesn't understand himself.

I've gone so far as to tell him "Look, you hired me to handle the computers and network here, right?" "Right." "And you did that because you have no idea how to do it yourself, right?" "Right, but..." "So please, trust me when I say that I've got this handled. You don't have to check up on me, and I promise you'll get a status report when I'm done." That usually sinks in for about half a day, then he's back to pestering me or another employee, making sure we're doing what we're supposed to.

I honestly don't see how he finds the time to do his duties if he's always looking over our shoulders. A manager who feels he has to micromanage is redundant and unnecessary, as far as I'm concerned.
> But yet your co-workers don't catch on that you jump-scare so easily?

They do and they ask me "How can I come over without startling you" to which I reply "Message me on chat that you are coming over or get me a desk where I have my back to a wall".

I really dislike when someone walks over and stands behind me waiting for a good break point. While they may have good intentions I don't like being observed without my knowledge and it's probably just going to freak me out more when I "feel" your presence and turn around.
From the spec: "The syntax of path data is concise in order to allow for minimal file size and efficient downloads, since many SVG files will be dominated by their path data. "

http://www.w3.org/TR/SVG11/paths.html
The $23,698,655.93 Book (2011)
>good reason to believe that quantum mechanics does not describe humans

One simple idea is that the more energy and matter you shove into the wave function, the easier it is to collapse, so that at the macro level quantum effects are rendered impossible.
You know tons of language already compile and run on the JVM, right?

And you know the JVM ran in the browser almost 20 years ago, on hardware with a fraction of the CPU and memory resources we have today?
"A lot of H1B discussions on HN focus on fraud and avoid talking about legitimate talented foreigners"

Not just on HN, but the discussions on H1B are similar everywhere. And just in case you don't understand the controversy, a lot of people believe that the H1B program is being misused and abused, to the detriment of employees here. If you don't agree with that, you should make your case instead of whining about the arguments.

The links you cite don't point to any specific post, and I couldn't go through all of them to figure out which ones you consider bigoted. But if there are bigoted and hateful posts (which are wrong and I don't condone) I would disagree with you that most people here hate on immigrant labor.
Thanks for elaborating, these are exactly the points why AMD's GPUs are just not used in deep learning.

AWS is great if you want to use a single or two separate GPUs. However, you cannot use them for multi-GPU computation as the virtualization cripples the PCIe bandwidth; there are rather complicated hacks that improve the bandwidth, but it is still bad. Everything beyond two GPUs will not work on AWS because their interconnect is way to slow.
Show HN: Hue-Wheel for HTML5 browsers
"internet began as a collective enterprise, entirely created by public money — the defence establishment in America and assorted individual"

My three years as a soldier in the US Army taught me that the U.S. defense establishment is more like Ayn Rand - right-wing, brutally elitist, and certainly not friendly to altruism - than the commenter would have us believe.

So maybe the Internet's founding assumption - as a decentralized communications system - isn't so out of step with what Google and others have done, or contemplate doing, with it.
More Protection from Unwanted Software
Given that this is only over one season, it's entirely possible that the gamblers were accurate and luck / coincidence accounted for the difference.

Additionally, there are very, very few gamblers savvy enough to make a living betting sports--and even they may just be "running good." Mostly that means it's hard to beat the bookmakers soundly enough to overcome the rake.
At least OpenBSD had a GSoC to investigate a logind replacement: http://www.openbsdfoundation.org/gsoc2014.html#systemd
Fair enough.

> It's a copyright notice and a permission notice. That doesn't require a "credits page".

Of course it doesn't. I tried to come up with a real world example because people (obviously) have a hard time figuring out what it means. I also added that the "credits page" might just be a folder full of licenses somewhere inside your project's directory structure. I hear you though.

> jeffmould said that the code from ProjectA which is in ProjectB is not subject ProjectB's license. You said that the code is subject to a dual license. This is a post-hoc contradiction.

I said it could be subject to two licenses. It doesn't have to, of course. You've also mentioned license compatibility in your other comment — I think you're trying to explain to me that my license can't revoke any rights granted to you by "the other" license. Does that sound about right?
This was posted 1400 days ago (https://news.ycombinator.com/item?id=2475854), but I re-remembered it today and thought it was worth posting.
5 Natural Wonder S in Maui
There are some legal restrictions in some places so that apartment buildings and bridges don't get built by the local guy with a backhoe and then collapse.
New way to save money and time while Grocery shopping in 2015
Crass distribution for WV / West Virginia ;-)
http://swizec.github.io/h1b-software-salaries/#2014-wv-engin...
So, would you have to go to India to find good engineers? And if you do, what is the interview process like?
In Alaska, software engineers on an H1B made $72,000/year in 2014
In 2014 the Alaska software industry gave jobs to 1 foreign software engineers, 100% less than the year before. Most of them made between $NaN and $NaN per year. The best city for software engineers was Anchorage with an average salary of $72,000.

Hahah.
I agree that a moderate or small codebase doesn't need anything like the Emterpreter. At least not for startup speed - see the wiki page for other uses https://github.com/kripken/emscripten/wiki/Emterpreter

But there are some huge multimillion line codebases that you can't really reduce in size to 5MB. That's the startup time problem that the Emterpreter aims to help with.
Short and to the point. Good stuff. Hey guys, in your opinion, what language should I learn first? I am new to this and I will be going to codecademy and other sites. What is the most useful language for web apps and such. For example, what if I wanted to build useful things like my own product hunt.
I've never lived anywhere without cab service. I'm currently in a town with 35k residents and we have a few cab companies, though we do have a big tourist draw.

That said, I hadn't considered that possibility. In that case I'd be making plans to be picked up, or I'd be staying in.
Do the ChaCha: better mobile performance with cryptography
My concern is with the internal php functions, assuming this scalar typing is enforced. How does one handle a function such as array_key_exists, or any function that has a mixed parameter?

Are you left to re-factor your code to explicitly cast each index prior to use?
Each people has a different identity, heritage, customs, etc; and it's the right of those people to protect their identity, enforce a code that they see fit, etc.

This kind of thinking is what has Africa and Eastern Europe all fucked up, forcing different indigenous groups together, carelessly increasing tensions so bad that wars break out. Go tell Bosnians, Israelites, Japanese, etc., that they shouldn't have their own country, see what happens.
> create a really good upgrade path to implementing a proper bytecode into browsers.

I think that's very unlikely to happen. Instead, what will happen will be exactly "emterpreter"ing: There will be multiple bytescodes, and they will all ship with their own interpreters/compilers.

If the emterpreter, instead of executing the bytecode, would generate JS code for it (and feed it into the JIT compiler if there is one), you'll get the best of all worlds -- bytecode format, top performance, perfect backwards compatibility. I suspect that's kripken's next move.

Given that this is the case, why would someone want to shackle themselves to a specific bytecode format, which is practically impossible to get universally accepted? (This argument is supported by PNaCl; The technical problem is small; the political problem is huge).

Work on JS optimization by all vendors is already extremely impressive and is not going to stop even if everyone agreed on some bytecode. Why not capitalize on it? What does a specific bytecode buy you beyond slightly shorter load times (which the emterpreter already gives a way to greatly reduce), and not having to pull the (essentially universally cached) emterpreter code?

Because these two things, while nice, are not enough support for the revolution that a proper bytecode is.
Watch West Indies vs. Zimbabwe Live Stream ICC Cricket World Cup 2015 Online Free
For Java there is Pitest: http://pitest.org/
The JVM is indeed great in many ways. The main issues with it today, I would say, are

* Patent and copyright issues - the lawsuit with Google is still going on, last I heard.

* There used to be serious technical issues with startup speed. People saw websites with Java applets and saw how slow they were to load. If that hasn't been fixed, it's a serious problem, as websites do need to load fast, unlike typical Java applications.

edit:

* A big use case is compiled C++ code. I am aware of lots of languages compiling to the JVM, but I actually don't think I heard of C and C++. Is there such an option? If such an option doesn't exist, or exists but runs more slowly than asm.js currently does (which is pretty close to native already), it would be a problem.
They get their video in front of kids that otherwise wouldn't be allowed to see it. The video can still play normal youtube ads to make them money.
I learned how to program when I was 30. I actually found it really natural and easy.
Now (one year later) I work fulltime as the programmer for a small games company.
So age is certainly no barrier.
What exactly is the author's point? It just reads like a collection of gripes about tech companies. And besides that, I don't see any evidence that Google is building a "Bay View" stateless walled city.
Other than load time (which the emterpreter already makes great advances on), what other advantages does a bytecode carry?

I don't see "load time" as a good enough reason for a revolution of this magnitude. Do you?
Thank you also to djb for designing the salsa20 family & poly1305.

And kudos to Cloudflare for pushing the envelope in this regard!
Can you (or someone else) explain the need for the language to be functional?
Don't people realize that returning HTML instead of JSON will solve their problem for 80% of the use cases?

Looking at Relay/GraphQL, the whole picture appears as a gigantic layer of indirection to generate a DOM tree, something you could do serverside 10 layers below.

Even 'Components' are just fragments of HTML, retrieving them in the format you want from the server is much easier. And be honest, replacing a fragment of HTML in the DOM is fast enough for most applications. (don't delete form input, though)

How does all of this bring Web Development forward? Look at this blog post for example: http://fancypixel.github.io/blog/2015/01/28/react-plus-flux-...

In 2006, after part 1 you would be done and call it a day. Now I understand that today you need 'realtime' updating. But the "notification count is off by one" Facebook example is really bad, because instead of doing all the math in JS, one can simply do a GET request to fetch the count from the actual Single Point Of Truth, which is your database.

Did this get so complicated because front-end development and back-end development is separated at many places?
That makes sense. Just all the code samples I have seen of Flux have most the lines of code dedicated to wiring up events instead of the more interesting things you have mentioned. I think just using either Rx or CSP would make the concepts of Flux clearer.
I wonder if there will be a time when we can stop calling these things "GPUs", because right now, with all these new applications, it really doesn't make much sense anymore. Also, I hope that there will be a possibility to chain more of these cards together, because currently they hardly fit inside a regular machine (these cards are quite bulky with all their fans and heatsinks and stuff), and the PCI connectors are commonly quite closely spaced (and there are few of them). Adding or removing a single card is no joy. A server-rack unit has even less space. I'd rather see these cards made into their own (stackable) boxes, to be placed next to or on top of the main computer.
Idea / Project Tracking for Programmers
Ask HN: What should I do with my professional carrier
Hello, I'm could use some advice.

I went to CS studies, everyone there told me I should quit because I didn't have any CS background but I kept going and manage to finish it like an average programmer. I'm far from some rock-star, I think I just use Google really well and I know how to connect the dots.
For the the last year and a half I have been working as a DBA. I decided to take that job because it was a small start-up, that was just starting up, and it look challenging to do that sort of job. Start-up is economy oriented so do a lot more than just DBA, I do a bit of programming but not much.

Now I'm 27 years old, that start-up is falling apart due to bad management. I work for a lousy pay-check which is often late. I have no opportunity to learn from someone on my job, so everything I do I do it alone. And I often have to do it in a really short amount of time, because everything is always needed 'yesterday'. I manage to make it work, but quality of my work is just bad. Yea the database works, my code does the job, but I would not like for someone to actually see it.

And right now I have no idea what to do. I used only 20% potential that year and a half I spent on that job. And I feel like I'm behind.
I really like programming and I would like to get back into it. So does anyone have any useful link or resource or guideline how can I brush up my programming skills. But not only basic programming and algorithms, but also good programming practices, clean code, etc. I would mainly focus on JAVA and Android programming, maybe I would start learning Python OR Ruby (I see it is very wanted on the job market).

I live in a 3rd world country, which sometimes feels like like it is a 7th world country. I'm even thinking about going freelance, because jobs are paid here really bad. So If anyone was in a same situation or has some constructive advice how should I proceed I would be grateful, because I really need some ideas.
> So systemd is doing a reverse proxy for Apache in that configuration?

Nope, systemd only opens the socket and passes the fd to Apache.

> Or is it launching Apache on demand like some sort of advanced inetd?

Yes. Since it's already init's job to start services, it does not make any sense to have a different system to start socket-activated services.
hey all - matt from Sonar here. happy to answer any questions. you can offer Magic-like service to your customers within minutes with Sonar.