skysight-inc/HackerNews huggingface dataset:
I kinda suspect he might be measuring the time it takes to launch a kernel rather than the time it takes the kernel to complete.

Thrust device calls, like those of the underlying CUDA library, are asynchronous by default. The only exception is calls that result in a memcpy, which are synchronous. To wait until an async call is completed you need to call one of the synchronize commands, like cudaDeviceSynchronize.

Looking through his test.cu file, he snaps a timestamp using std::clock right after doing the kernel launch with for_each. Ignoring the fact that this is not an accurate way to benchmark a GPU (you need to use events to accurately benchmark the kernel) what you're capturing will just be the processor time it takes to make the async kernel launch. Std::clock measures CPU time, which is (rightly) close to 0 for a program that runs on the GPU.

It's entirely possible that you're not even getting valid results out of the other end - note that you don't show output. I don't know if thrust's magic device memory access function triggers a synchronization or not. I kinda remember having to make an explicit call when I did a GPU simulation.

I don't have access to a CUDA box at the moment, I'd have to add those cudaDeviceSynchronize calls after the for_each invocations to be sure.
For the most part companies doing EE work seem to rely on the big three companies making EDA software to do tech development.

On the web and in app development, there's a far greater variety of technical bases to begin building atop, and a lot of web fundamentals that have developed culturally (rather than out of scientific or mathematic bases, where it can be clear your tools are helping).

A sometimes seen result is that those communities of developers that are "well served" by platforms perhaps "shielding" them from the sticky intertwingulated overwhelmingness of choices and protocols and systems often can't relate, don't relate to the wider body of codecrafters.

Ability to harness the best or biggest slices of culture well is a huge part of programming, and that requires more than being really good or really smart: it requires a will and energy to chase, and to always be chasing, keeping yourself unrooted from what you merely know or how you've done it. That doesn't justify a bimodal view, because there are certainly all kinds of ways people come about to programming, but I think in programming it really is different- since everything is made up and abstract, we're still figuring out general shapes. It's all a social milieu, and it requires paying attention to establish and keep authentic roots and identity, roots you'll need to contextualize what it is you do and what's coming down the pipe. Calculating impulse response is a hard task, but it has a mathematical fixity with no compare to the computer arts we use.

It's also been an extremely exciting time watching programming's recent decades. So there is some elitism of simply- why haven't you been here, enjoying the hell out of this? I think it's ok to feel that inside in a general way, I don't think that can be stopped or avoided, but how we reconcile that with the world without falling into the abundant moral hazards, how we still be good- it's doubly hard to reconcile yourself when the feeds are rife with people berating and assaulting tech culture, when you can get lost in these other people fights.

As a programmer, keep an open mind and accept many types of people as peer. As a person in the world, keep an open mind and accept that programmers are still quite high on some cyberspace utopianism and a precambrian-esque explosion of capabilities, and that just as much as you feel alienated by them, they feel alienated that a wider world excuses itself from recursing the depth and breadth of what enraptures the techie. 'The weirdo is just as scared of the normal person as the normal person is scared of the weirdo'
If it occurs in public header files or if you use C++ keywords as external symbols, that is indeed a bit... inconsiderate, to say the least.

Header files intended for public comsumption should stick to the intersection of C and C++ in most cases.
Odd and fascinating indeed.

The whole WMAW dynamics is complicated.
Author here! I take it to mean using whatever resources you have available to make something work. And that's what I think I did.

Of course you're free to disagree!
You're still using the circular logic of insisting that caller ID can't be trusted because it shouldn't be trusted because it can't be trusted. I and most people who want to not get robocalls want a caller ID system that is trustworthy, and the first-world telcos we're doing business with are totally capable of providing a service that is at least partly trustworthy. I'm not interested in receiving calls from third-world countries and would be perfectly happy only getting calls from those using providers that provide for trustworthy caller ID, but nobody's even offering to sell me such a service.
I had suspected this as well, but I'm not familiar with how Thrust's CUDA bindings work.
Did you ever dream of debugging your children? That if you could only find the right breakpoint to set, you could adjust them and fix something?

Or maybe it's a sign that you should take some time off coding and not take your work home and give the other half of your brain some room to wander and explore space and time.
(Podcast) Pinterest's Casey Winters Shares Tips on SEO, Virality and Growth
Is this intended to compliment or replace things like alienvault/snort? Can it handle raw nix logs? Logstash? Windows events? It seems like from the post some kind of third party connection is required (LANDesk?), but I may not be reading right.

At any rate, thanks as always for sharing :)
Honestly, University's or other places where people in diverse fields collaborate seem like the solution to this problem. Because, there are a lot of fields out there and 2^N sucks, but conversations take less effort than a deep dive. Bell labs comes to mind as a private sector version of this.
How I learned to plan again
Maybe I missed it but what is the current fate of Timeful? Shut down or sunsetting?
Functional means that sequence doesn't matter. Haskell is functional, Lisp largely isn't.
Create and share reading lists with Bookcase
Why We Shouldn’t Throw Money at Poor Kids
The software looks awesome, the combination of your voice and the video was really soothing.
Immigrants to U.S. From China Top Those from Mexico
What kind of talk is that? "Just walk away"? To what, exactly? Homelessness? So, now you're poor, no job, AND homeless. That's not "the kind of thinking" that's needed, either.

Let's all agree that education is the key here, right? Bootstraps and "teaching them to fish", right? Well, how are you going to get anyone to teach in the poor areas when it's losing people to "hitchhike to someplace better"? So, the key to improving the shitty and fraud-filled situation in, say, West Virginia or Alabama, where poverty is like a 1 out of 4 situation, is to leave by foot?
There is a frustrating mix of terrible advice and good advice. Is that why you'd recommend not getting advice here, or is there some other reason?

(I upvoted you.)
In Rwanda, Building a “University in a Box”
This is truly amazing. However, I can't help but wonder what the possible uses of this tool are (except for exploring fractals, and making fractal-art).
How can we make realistic-looking continents? This project (and Minecraft, which looks similar, in virtue of using Perlin noise the same way) result in interesting and varied terrain for an RPG, but the terrain looks otherworldly or artificial if you zoom all the way out. The same variety that keeps the game from being boring when you're a human-sized observer makes it chaotic and noisy when you have a satellite's view.

When I did my (abortive) procedural world generator, I tried summing Perlin noise with a circle, and treating values below a certain threshold as water, with values above the threshold as land. That worked okay, because it would give a believably jagged coastline with offshore islands, but it was still obviously just a circle when viewed at scale.

Does anyone have a quick-and-dirty idea for partitioning land and water?
It's not that bad. I have it blocked, and it only affects a few sites. For those sites, there are alternatives.
Ron Conway Says Each Engineer Hired Creates Four Entry-Level Jobs
My 2 cents... Don't change who you are.

The world needs lot of folks who can turn out quick prototypes. It needs even more folks who can lock down secure and maintainable code. Find the right company that needs your strength.

(Of course I don't know you, so feel free to ignore me)
The OP said 'lots of systems'. Running 'lots of systems' without an alerting system is begging for trouble.
Cloudwear Introduces a New Way to Secure Online Accounts
Looks like they are sunsetting. They will be focusing on other projects at google
From an email that was sent to all Timeful accounts:

A couple things to note:

* Timeful will remain in the App Store, and
we'll continue to support it. We won't be
adding new features, but we're more than
happy to help you with bugs or answer any
questions you have.
* If you'd like, you can export your data
out of Timeful (http://www2.timeful.com/export/)
at any time.
Neat, a way to both learn Haskell and learn some basics of music theory. Fun stuff.
> You say that as if things like GR-303 and ISDN BRIs/PRIs don't exist.

Granted, "digital voice" was imprecise terminology, but you get the gist... modern consumer phone services are VoIP.

> fall behind their circuit switched counterparts in performance even on carrier grade routes.

Most carrier backbones have been all-IP for years. Pretty sure end-to-end circuit switched calls are atypical nowadays, although I'm happy to be proven wrong.
It certainly was done without FFT and it was still good enough:

ADPCM. No FFT. Worked on my 1991 PC:

https://support.microsoft.com/en-us/kb/89879

"22 kHz mono ADPCM can be decompressed real-time (that is, while playing) on a 386SX/16 megahertz CPU"

Note: 16 MHz 386SX was effectively slower than the 286 of the same speed.

I had all the Beatles albums on one CD, all encoded with ADPCM, and the sound was not bad.

If I remember correctly, the guys at Bell Labs had also some server filled with the digital music. But I can't locate the story (maybe somebody remembers, was it Ritchie or Thompson?) and don't remember when actually.
Proof of aliens coming in 20 years, says NASA scientist
At least in the commercial world, the current legacy of Pascal is really in the C# community. See Anders Hejlsberg [1]. He was the author of Turbo Pascal and the chief architect of Delphi before becoming the architect of C#. There is a lot of consistency between the three language environments, especially between Delphi and C#.

[1] https://en.wikipedia.org/wiki/Anders_Hejlsberg
Well, now Wikipedia is the review. Depending on the field, you may just do all the real research on Wikipedia and then add in citations in your paper to look professional.

How about a Wikipedia with original research? "Sciencepedia"? Each article gets a section for each editor. If you want to contribute you can either submit a pull request to an editor you view favourably or you can write your own section. Sections can be voted up or down.
There's also just the sheer bandwidth factor. A GTX Titan has 288 GB/s of BW, a Haswell with DDR3 puts out about 35 GB/s. That's a factor of 8.22x more bandwidth, so there's your 8x speedup.

It's a highly memory-limited task so I suspect that's where any speedup would come from.
Why can't we have a system whereby Google is required to prove to each of their termination providers that they legitimately own and control my GV number, and thus all of those providers can assure my outgoing GV calls have valid caller ID data? I don't see where it should matter whether calls into my number take a potentially different route from calls from my number.
I agree to the list except painting/visual arts. And I wouldn't put programming along with them.
Telomerase gene therapy in mice delays aging without increasing cancer (2012)
Well, if you had a mathematical model of continent formation from actual geology, you could use some of the noise generation to obtain values for the model's free parameters, and then just run the simulation forward (possibly approximating it very cheaply since you don't need maximal real-world accuracy) to get your continents.
thanks :) this is super-interesting, you say it's not paid so thanks for contributing your story!

by the by do you have some contact info for a quick followup? your profile doesn't list any.
Sure (although I'm not a musician).

But it's possible to get better at something with practice and to think or say otherwise is toxic. If you think it's possible for someone to rethink their attitude then you already agree with me.
http://www-cs-students.stanford.edu/~amitp/game-programming/... was a springboard for many people dealing with this problem. That whole site is worth a read if you're interested in game development at all.
Any method that does not store passwords in plain text would be better.

I'm not sure what sort of modifications you have made to wordpress, but I can tell you that the default registration system hashes the passwords to store them securely. If you use that default system to generate the passwords, I would think that is safe.
Yeah, it lets it drop to about 97% before it starts charging again. That doesn't really count, although I guess it's nice.
Talk to any military brat. I was in 11 schools by 10th grade so I learned a whole different set of lessons from the vast majority of my "civilian" peers.
Same but slightly worse, mine is generally always plugged in.

100/8460*7633 or 90.22%
I don't agree with you. Read about ADPCM. Try it. Listen the results. Apparently ffmpeg has codecs for it.

http://ffmpeg.org/general.html#Audio-Codecs
You're not talking about Caller IDs here though, you're talking about some completely new technology that'd require a complete rework of current telephony systems.

If you're worried about someone spoofing the source of their call you should probably consider using SIP over TCP, although it is unlikely that rest of the world is going to follow suit any time soon.

And no, first-world telcos wouldn't be capable of providing what you want without massive overhauls either... Nor would they want to since there's a plenty of business critical applications that depend on this behavior.
Title 17
Circular 92
Chapter 2

§ 204 . Execution of transfers of copyright ownership

(a) A transfer of copyright ownership, other than by operation of law, is not valid unless an instrument of conveyance, or a note or memorandum of the transfer, is in writing and signed by the owner of the rights conveyed or such owner's duly authorized agent.

So it would seem that I didn't realise that there was a clause "other than by operation of law"; but you will also note that my last statement of my comment said that you should get a lawyer...
Author here. Delighted to see this near the top of HN this afternoon, and to see the healthy discussion it's provoked. Happy to answer any questions as best I can if you've got 'em.
How to Use ‘Intellectual Property’ Properly
The problem is that this collaboration does not happen because people are mostly "trapped" within their own field. My point is simply to remove the idea of literature as the container of knowledge as if knowledge is like literature (i.e. once written saved as a piece of knowledge)

Or put another way.

Instead of modeling knowledge after the way our brain best deal with structure we should leave the structuring to the machines and start approaching it more like an organism that can be explored. I think we are bound to see something along those lines soon.
Millions of Chickens Have Bird Flu and Nobody Knows How It's Spreading
Show HN: Points for iOS – Summarize news articles into bullet points
It's About Ethics in Revolution
Yeah, my problem with it is that the US has so many laws that pretty much anything we do is illegal in a couple of different ways. Especially with computer crimes, where a judge/jury (and sometimes the lawyers involved) may not have the technical understanding to comprehend what's going on. It defeats the purpose of double jeopardy protection if prosecutors can just go back, find another law that was passed 200 years ago but maybe applies in some theoretical sense, and charge you under that law.

The entire basis of the US criminal system is that in the case of prosecutorial misconduct / incompetence, the benefit of the doubt goes to the accused. It's better to let a guilty man go free than to lock up an innocent one. If we're eroding that basic premise through an increasingly opaque legal system, that's a big problem.
Time to roll out bigger bitcoin blocks
This tools makes inroads on GUIs for procedurally generating extraordinary physical complexity. Ask this again when we need design tools for molecular manufacturing (nanotech).
NASA Is Testing a Manned Vehicle That Will Explore the Martian Moon Phobos
>Those are still executed in some order.

Not really. E.g. there's no ordering in function composition that isn't also in high school math. Also, you shouldn't depend on e.g. maps processing elements in a given order.

My impression is that statement ordering is easier for mediocre but competent programmers than it is for excellent programmers. The reason is that writing correct imperative code is non-trivial, but writing correct-y imperative code is pretty easy. So someone who's carefully thinking things through while learning will have a more difficult time with simple assignments, because -- at least while learning -- they're essentially trying to construct the correctness proof in their head. And that's pretty hard for imperative code.
The Perfect World Is the One Without Us
Yes, I do have a Github -> https://github.com/stefansinca
I'm from Romania, and why I want to intern as a junior? Because I don't have the necessary experience for a full-time position. It's kind of a loop, you need experience for a job, but you need a job to build experience.
What about Wavelet transforms: http://en.wikipedia.org/wiki/Wavelet_transform ?

I think it's just a total different approach to compression that doesn't use Fourier.
How Real Is Reality? It's Rather Hard to Tell
Why do you find it ludicrous? The organization I work for just spent $50,000 for work that many of its employees could have done in about a week. However, since we're all booked up with work for the next 5 years, it made sense to farm it out.

Various flavors of this are probably playing out in those "ludicrous" $30k/week engagements.
So how does one learn to draw fractals? Any good resources I should check out?
It doesn't seem like it replaces Snort, which is an intrusion prevention system. It's more akin to AlienVault, which is a SIEM. Netflix shies away from the term SIEM. They call this an incident response software. I'm reading through it trying to figure out how it's different from a SIEM, but there's not a lot of technical details.
"runs under CLisp, SBCL, Clojure, Scheme, Ruby, Python, the JVM, Haskell and Javascript"

Wow, someone really likes writing compilers...
Those were some of the most unsatisfying swipes I can remember.
Neat!

For the sake of completeness, I feel like I should mention jq (http://stedolan.github.io/jq/), which covers similar ground quite expertly. It tries to stick to to its own query language though, rather than exposing the structure of the data to other programs. There might be use-cases for combining the two?
I'm not saying it's a bad question, but I am asking if HN is the place to ask it. There are already lots and lots of answers to this question. Maybe try Reddit, or any of the various hardware forums.

People are free to down vote me (and they have) for my opinion -- even though I've been polite and (I think) thoughtful. Even still, my opinion stands: HN is the wrong forum for this kind of question. There are many, many questions that HN isn't the place for... How should I charge my car battery? What's the best electric blanket? Should I use 10 or 12 gauge wire wire for my house? Maybe it would be a good question if the OP had researched it a bit first, and posted "surprising facts about your laptop battery" or something. But just a question about laptop batteries?

Each one of these kinds of questions takes away from better quality, thoughtful or surprising content, which is what I like most about HN.
There's a new site design in the works; subscribers can play with it now. It improves the situation in a lot of ways, especially on small screens. But the text-centric nature of the site is not going to change.
I don't really get what encrypting has to do with anything in this context. In any case, I'm less interested in the specific facts of this case than in other similar but less publicized cases where companies have gone after people who had copies on their home computers or had emailed code to themselves. Both maybe against company policy, but certainly an understandable misstep if you frequently work from home.
Women can be sex offenders as well as men. Something that is over looked but background checks help to reveal. You can have a mother with videos of her children and photos and not know she is a sex offender with prior convictions.

It only takes one to get a civil suit.

Edit:typo
One option is to head to an event where you don't know anybody and perhaps the theme/topic is unfamiliar yet interesting. Basically set the bar really low for yourself and find a safe environment to fail without consequence.

I won my first hackathon last year... But the organisers never came good on the €1000 prize. Now I wonder what I could have done with that money.
> I heard some comparisons of Nim to Pascal as its veiled resurgence.

I don't know that much about Nim, but there are a few things about it...

1. The Nim compiler was originally written in Pascal.

2. Nim uses Pascal-style type syntax (i.e. "name: type" rather than the C-style "type name").

3. Nim syntax was inspired by Python, which in turn was heavily inspired by Modula-3, which in turn is a descendant of Pascal.
Certainly. But it was not the only idea he worked on, as I commented.

Perhaps I'm reading too much into it, but I interpret "Most of the great scientists worked on a single idea their entire life ..." as working on a single idea, to the exclusion of others.

Otherwise the statement would be "Most of the great scientists worked on an idea their entire life"

FWIW, using the list from http://listverse.com/2009/02/24/top-10-most-influential-scie... :

Marie Curie: received Nobel Prizes in Physics for her work in radiation and in Chemistry for her work in radium and polonium. If the idea here is "radiation" then Einstein's idea was "physics" and Darwin's was "biology"

Alan Turing: died entirely too young. Best known for early work in computers. Then switched to mathematical biology, specifically morphogenesis.

Niels Bohr: perhaps "nature of the atom" or "quantum mechanics"

Max Planck: Black-body radiation and special relativity

Charles Darwin: evolution (not really a small idea)

Leonardo da Vinci: not applicable

Galileo Galilei: astronomy (I can't think of a smaller "idea" for his body of work)

Nikola Tesla: umm, "electricity"?

Albert Einstein: see above

Isaac Newton: optics, gravitation, physics .. and then the Royal Mint, counterfeiting, and a whole lot of alchemy.

It's hard to conclude that these people worked on a single "idea", though some worked mostly in a single field.
Might need to account for byte order?
Interesting work.

Good salary.

As few meetings as possible.
(Author here): One approach is to use multiple layers of noise configured with different parameters. By joining multiple layers you can give the appearance of things like ocean, flatlands, and mountains.

Also, cannot recommend Amit Patel's stuff enough. That guy is a fountain of knowledge for all things gamedev.
But it can repeatedly recharge the battery from 99% to 100% throughout the whole day - which is not good for it.
It's fixed now! Thanks! :)