skysight-inc/HackerNews huggingface dataset:
> Because the truth is that people generally don't care enough to do anything worth while ("signing" a petition is pretty minimal in terms of effort).

Isn't the truth not that people don't care, but actually don't have the power to do anything?

Democracy in Athens came about at a time when it was dependent upon its navy and thus its thousands of rowers.

Unions (for example) are destroyed, not by union busting, but by industry disappearing.

When the government is the largest employer, the people depend on the government and not the other way around.

The US no longer depends on the majority of it's voting population. The right to vote of any adult in the US at this point is largely vestigial, as is evidenced by the divergence of actual government policy from the interests of the voting public.
You don't prescribe cough-suppressing opiates for a soar throat, the same way you don't prescribe a guillotine for headache.

Cough is a symptom, meaning there is a problem in the patient's respiratory system the doctor should be looking into. Suppressing it is the equivalent of pasting a post it with a happy face over the fuel gauge when the needle is approaching the Big-Red-E.
That's what it looks like to me, 4 skulls fused together, spinning as one entity. Very cool.
Can confirm same high pitched sound on 27 iMac.

Plus: open developer toolbars, find styles for .bars, change margin-bottom and sound changes frequency.
When I was a kid, we had a similar book (Magic Moving Picture Book). It was a lot of fun.

Out of Print, but still on amazon

http://www.amazon.com/The-Magic-Moving-Picture-Book/dp/04862...

Hope you get yours working well.
That didn't work in Firefox for me but this one does:

setInterval(function () {
window.scrollTo(0, document.documentElement.scrollTop + 5);
}, 60)
Misleading title. Not the first, as the presentation you yourself linked to assets. Also the word "first" literally doesn't appear in the article at all.

Flagged.
Will Scott's talk (and this blogpost) says that nobody really uses Red Star OS in DPRK.
That is correct. I just realized I do not have this feature on my Arch with Firefox in i3.
any pictures or previews?
Microbiologist here. Your last sentence is perhaps not correct, or else I am not understanding it well enough.

Plasmids are indeed a source of resistance, but plasmids just contain genetic code. They are considered mobile since they are easily transferable between bacteria (including different species). So for a plasmid to encode resistance to this new antibiotic, it would need to contain the code for a protein which disrupts the action for the antibiotic. For example, the plasmid would encode for an enzyme that digests the antibiotic at a faster rate than it can work, or bind to the target of the antibiotic with a higher affinity.

So maybe what you were getting at is that a plasmid exists out in the world that encodes the protein for resistance, it just didn't happen to exist in the researchers niche world, or doesn't rely on a random mutation to become a resistance product.
I created a webapp for fun some time ago, is somewhat minimal but explores how to do this effect easily from a bunch of images or shots from the webcam (applying cool filters!), the js sources are not compressed so you can read what is going on http://animotion.licheni.net/
Physical GIF Meemoo hacktivity
Umm this is definitely not an attempt at a better but still-not functional Java. This is an attempt at a better Ruby. Not sure of how much they've really differentiated themselves (performance-wise or feature-wise).
Stack Exchange Year in Review 2014
> I honestly want to know how is it allowed for someone to humiliate and make fun of something that is sacred to other people/culture. 'Free speech' I know, but when does someone's right to express themselves ends?

Generally, when they are inciting violence, or knowing/recklessly making statements of fact that are both false and harmful to a particular victim.

Mocking someone's core beliefs generally doesn't fall into this. It may be rude, uncouth, or undesirable, but its generally within the scope of freedom, and as much as there are specific cases where I wish people wouldn't do it, I wouldn't want to live in any society where punishing or preventing it by force -- that is, viewing it outside the scope of protected liberty -- was accepted.
It doesn't happen to mine but I can see how it could - the liquid crystal is driven with a high-frequency signal whose voltage basically corresponds to the intensity of the pixel, and when images containing repetitive content are displayed, that signal will follow the content of the image; the current that drives the display also follows that signal, and if the signal contains frequencies that happen to excite resonances in the audible range in some components of the hardware, you can hear it.

http://en.wikipedia.org/wiki/Coil_noise

http://www.ukgamingcomputers.co.uk/capacitor-squeal-coil-whi...

http://electronics.stackexchange.com/questions/34806/what-mi...
Oukhs. Didn't know it was already there. Deleting this submission.
Pretty cool visualizations, but I would take the accuracy of the data with a grain of salt until I saw the source data. There's no universal map of neighborhoods in NYC, and I think that every New Yorker has a different sense of where certain neighborhoods start and begin. I'd also question incentive alignment regarding the real estate sites they used to cull the data. If they are using the real estate site's self-reported neighborhoods for these listings, I think that everyone can relate to the situation whereby a real estate agent tells you that a certain place is a "steal for the Upper East Side/(generic, more upscale neighborhood)," but when you go out to the apartment it's actually a few blocks into Harlem/(not so upscale area). Such vagaries in the listings would distort the prices per square foot for these boundary areas, but leave the solidly expensive ones alone, which is perhaps why areas like Central Park South (well defined geographically, and buffered by upscale areas) stand out.
My Quantified 2014: Life Behind the Command Line
Claudio Saunt, the historian who wrote the Aeon article above, is quite literally a leading expert on this exact topic (see his book "Black, White and Indian" with Oxford University Press).
The terrestrial search is nearing the end, but that's not necessarily the end for all of time, just the end for a few generations of particle physicists. We're at 1AU from the sun. Titan is at 10AU from the sun, has a thick atmosphere to aerobrake into, has remarkably varied topography (including pools of liquid one could submerge detectors in), and will have one hundredth the solar neutrino flux. Neptune is at 30 AU: Add another order of magnitude if you figure out how to work a gas giant to your ends (and a beer on me). If you can work in vacuum there's not only Triton, but with microgravity operations, the whole Kuiper Belt & Oort cloud out there to use as in-place shielding against GCRs.
This is a slight twist on "dress for the job you want." I've been living by this rule my entire life. Do the job you want. Don't be restricted by what you're told and don't go looking for permission, approval, and especially kudos.

This doesn't always work of course, but why would you want to be where you are pigeonholed? I find most people don't stop you from doing more and assuming more responsibility. You do the job you want or believe needs doing and in many cases it's handed to you.

I showed up at my last job in a support role and started doing engineer work. Got promoted to engineer. Started doing architect work and then got promoted to architect.

I've been doing a lot more people management lately, so who knows.
(null) type casting is not authorized in php. See http://php.net/manual/fr/language.types.type-juggling.php for information about type juggling.

And what do you think should happen in the second case? It looks normal to me.
I had this as well and was fascinated by it as a youngster. Seeing this site today brought those memories to the surface in a rush of nostalgia. This link in the comments was icing on the cake, thanks!
One of the issues with this user interface was that you were going to kill the Doom process itself, eventually :-)
Google cache link to get around paywall: https://webcache.googleusercontent.com/search?q=cache%3Ahttp...
yeah I agree #8 in particular should elicit a lot more debate in the js community. Back when I used to be into RoR I would get a ton of flack in interviews for writing pure js rather than Coffeescript, pure css rather than Sass.

There are legitimate cases where a pre-processor is useful (Coffeescript demos show several cases where a lot of code can be simplified) but unless you are writing a math/list-heavy app, I feel these advantages don't apply so much. I don't perceive a need for these tools in most projects that are about dom manipulation, it can instead be achieved through pure libs (jQuery) which will eliminate a build step and should allow for some easier testing.

This is a fundamental programming debate that I don't see a lot of discussion of... since I like CLojure I see some talk of how "transparent" it is as a wrapper over JVM types but a lot of the pre-processor style of transcompilers gloss over this idea (I guess just preferring 2 independent stages of static/lint analysis?).
While I think most people/projects use at&t syntax with gas, it actually seems to support intel syntax pretty well, see eg:

https://github.com/0xAX/asm/pull/2/files

I used to think it was "nasm or nothing" - but gas+intel seems rather pleasant too.
Unfortunately these are the ones that make it to the top and are named CEO.
Scary title, but I think I'll mark this one up as a victory for auto safety. Especially considering a good chunk of death by firearms are (tragically) suicides.
Have a website that allows folks to create custom logos and backgrounds for their google search engine. People can type anything they want, choose a logo and choose a background.

www.lyfts.com
The book has been printed and is currently delivered to stores and Amazon. The Amazon-link above will come up with previews in the next couple of days. The effects are quite stunning.

The cover is also on the publishers website:
http://www.mixtvision-verlag.de/main_detail.php?id=1261&bere...

The book will be available as ebook as well, although I cannot actually see the sense of this at all, as the animations will not work ;-)
The optics of this advisory are bad, of course, but these are probably not operationally important bugs for most people:

* DTLS segmentation fault in dtls1_get_record (only impacts people who use DTLS, and is a null pointer deref, which usually isn't exploitable)

* DTLS memory leak in dtls1_buffer_record (same, and only exhausts memory)

* no-ssl3 configuration sets method to NULL (a non-standard build produces a null pointer crash in SSL3 negotiation)

* ECDHE silently downgrades to ECDH (this looks like a server can in an oddball situation lie about forward secrecy --- also, this only impacts OpenSSL clients, like curl)

* RSA silently downgrades to EXPORT_RSA (a server can sabotage the security of a session, which it can do in a variety of other ways anyways --- also, this only impacts OpenSSL clients, like curl)

* DH client certificates accepted without verification (breaks client authentication, which not many people rely on, but only affects servers that (a) do TLS client auth and (b) trust DH-key-issuing CAs, which are "extremely rare and hardly ever encountered")

* Certificate fingerprints can be modified (this one I actually wonder about the sev:lo on; it's low because it doesn't impact browsers, but certificate blacklists are common in enterprise software)

* Bignum squaring may produce incorrect results (this is just weird)
A doctor told a programmer friend once, "I have to fix problems that God gave us. You have to fix problems you give yourselves."
The paper got accepted at CHI 2001, but never would make it today. It's a nice summary of what made CHI so great in the past, and how tedious it has become.

(For the paper to make it into CHI 2015, it'd probably need a part where the author surveys 50 people and asks them inane questions such as "on a scale from 1 to 5, how likely are you to use the software for your sysadmin needs", and then measures+plots mean time for each operation on the command line vs Doom, and ends with a 3 year timeline of proposed enhancements for the software that will require additional NSF funding)
the music world already uses copious amounts of multiband compression, as if all listeners have hearing loss
I think a nice approach to describe HW + visual systems is kind of patterns. Similar to what is done in this project to describe waveforms: http://wavedrom.com/
> let's have a static typed language with Ruby syntax

InfraRuby (at http://infraruby.com/live) is a statically typed Ruby compiler: valid InfraRuby programs are valid Ruby programs.
Yes, with more than a trivial amount of work. When the syntax is more lisp-congruent, you don't have to jump through as many hoops.
The NYPD’s work stoppage is costing the city lots of money
From the article:

> By contrast, safety features on firearms—such as smartguns unlocked by an owner’s thumbprint or a radio-frequency encryption—are opposed by the National Rifle Association, whose allies in Congress also block funding for the sort of public-health research that might show, in even clearer detail, the cost of America’s love affair with guns.

Can someone explain the NRA to me? At this point they come across as cartoon villains, senselessly evil for no apparent purpose. Why can car companies be persuaded to invest in safety features but somehow the NRA works against its own interests to make guns as dangerous as possible? I feel like I must be missing some side of the story, because from the stuff I read, they're literally twirling their mustachios while cackling right now.
Updating wirelessly is also a possibility, not for ASICs, but BT low energy can make it feasible if you do something like a mesh network. Of course, that means if one device is susceptible, others networked may be too.

I don't really have a solution, but if you are interested in playing around with that kind of concept, here's something you can probably start with. [1]

The battery lasts about a year or more, supposedly, with a typical watch-kind battery. It isn't too hard to update and it has a few sensors on it already.

[1]: https://punchthrough.com/bean/
> I used the default OS X versions of these tools. The versions were Perl 5.16.2, Awk 20070501, and some version of BSD sed from 2005
Exactly. I create an array of functions one week ago. Not that it's usual: I had to google how to .call() them :-)
Anyway, .call is pretty much used inside many libraries. I just checked the ones in a project I'm working on. It's in jquery, bootstrap, store.js
Intel Rolls 14nm Broadwell in Vegas
How does the kindle edition work?
That's because the recluse + the owner = job security
Stronger Economy, Solid Job Growth Expected to Boost Home Sales in 2015
I wish this was behind cloudfront or maxcdn... curious if the images can be compressed better maybe too...
I wrote a mostly complete NES emulator in Go this past December.

https://github.com/hkhalsa/helloworld

I haven't added audio support yet, and it isn't very go-gettable (yet). But! the code is reasonably well commented, and I have played through much of Super Mario with it.

http://web.textfiles.com/games/nestech.txt is probably the best overview about what's going on in the NES, though it's inaccurate in some places.

http://wiki.nesdev.com/w/index.php/Nesdev_Wiki is a great site with far more information about the NES than you'll need to write an emulator.
Exactly right. Recursion is the easiest way to blow up the stack (with alloca a distant second). NASA stacks tend to be small, static, and can produce physical harm when damaged.

Why avoid recursion entirely? Because it's too easy for another programmer to accidentally convert tail-call optimized recursion into full recursion. That mistake is harder to make on code written as a loop.
As a European it seems blatantly obvious that your gun laws are absurd in the States. (I am assuming you are from the States from the fact you see the argument that way around, correct me if I am wrong).
Not at all. Do not ask me!
The publisher insists on offering all his books as ebooks (the ebook is included if you buy the print book).
It's because of these horizontal bars, you can get the same effect with similar graphics:

All video interfaces we use transmit data serially, line by line, pixel by pixel. The bars are 16px tall (black + white) so at 60Hz and 1920×1080px they'll produce a tone with fundamental frequency of 4.05kHz (60Hz × 1080 lines / 16 lines) and harmonics.
I don't care about tabs vs spaces, I just don't want to have the "inconsistent identation" problem, and spaces are more fundamental (you can convert arbitrary tabs to spaces, you can't convert arbitrary spaces to tabs).

Also you cannot forbid spaces in code, but you can easily forbid tabs.
I agree. I posted this a while back around here talking about music piracy.

https://news.ycombinator.com/item?id=8743310

In short: what's rebellious when you're a young kid operating at the margins becomes tyrannical and oppressive when performed at massive scale by an elite upper class (hackers today). Piracy is no longer a "countercultural" act. It's more akin to labor union busting -- helping beggar content creators so content distribution mills can "monetize" their stuff for free.
You don't, it's a readline thing, it doesn't really generate a file you can manipulate. (I expect to be proven wrong with some insane one-liner though).

What you can do is press Ctrl-R again and it will search the older match. There's also forward match but I can't recall the shortcut.
I used to have a computer that did that a long while back. It made a whistle whenever I'd scroll. IIRC I decided it was the video card, though I'm not sure I ever confirmed it.
As long as we have internet, we will be complacent. I believe the internet has fragmented our minds so far and wide that with it, nothing will ever get done. The internet is the worst invention of the 20th century. I wish the internet was regulated purely for education, not gaming, not buzzfeed, or facebook, or any such bullshit distractions.

If interests were kept local, issues would become local, and communities form. The internet allows us to pick and choose our own communities, so while we're together, we're further apart than ever. We'll never have a common localized goal.

If we live on the internet, we do our "activism" on the internet, our communications, our entertainment, everything.

Until either the internet dissolves or becomes regulated/boring, and/or the governments policies physically affect us, nothing will ever happen.

I remember as a young boy my Grandmothers only wishes her entire life was to dip her feet in the ocean and see a mountain in person.

Our desires became more contrived with the endless information stream we experience every day. There's no communities. There's no real passion or ideology anymore. Just cynicism, ego, competition, and sarcasm.

The internet lets you vicariously live through every body, and we lose that essence of what it means to be human, the passion to discover what is unknown.

Once you are exposed to how truly chaotic everything really is, that everything operates under the illusion of a master plan but is really just one headless blunder, you realize you are completely helpless and stop caring, You seek to drown out that underlying passion for something with bullshit because you don't know what it is, because you haven't given yourself the time of day to try until one day you're nothing but a sum of your plugs, like a swiss cheese without the cheese, just the holes, just a skeleton of who you should have otherwise been.
I saw "uber for movers" the other day, struck me as a good idea. (http://lu.gg)
Not directly, but very possibly indirectly because of the people a new language attracts: PG already touched on it: http://www.paulgraham.com/pypar.html
This works great!
If the consensus in the comments here is correct, that Marriott's technique is legal because it doesn't create radio interference, then what law is the rogue operator breaking when using the same technique?
They'll go great lengths to prevent Linux from getting any more exposure than Windows on any format. A zero or negative-cost license is to be expected.
Yes, I have been here for some years, I know plenty of hackers and many of them are pretty humorous too. I think the HN site guidelines capture the things hackers are interested in quite well: "anything that gratifies one's intellectual curiosity". Though there should probably be an appendix to match the current state of HN: "… but is not controversial". However, I think especially the controversial things are intellectually curious, for example when Musk and Hawking warn against AI and when three female CS students try to raise awareness for gender issues.

I think HN is trapped: On the one hand flagging is necessary to mitigate the constant influx of people who write poor comments which might scare people away, on the other hand it often chokes off interesting topics. What's left is a lot of boring and fleeting stuff, which eventually scares people away too. Fixing this situation is difficult, but maybe it would be a good start to stop downvoting contrary opinions, digressing and humorous comments, and to stop hastily judge other people. What's wrong for example with someone who is concerned that there is not enough awareness for free speech and democracy on HN? If that is his or her perception, why does it deserve a downvote?
It can be any character really. I like
sed 's,foo,bar,'
sed 's@foo@bar@'
Overall this is a pretty good description of our adversarial system of justice, however it is important to remember prosecutors have special ethical obligations. Notwithstanding some creative and recent arguments by the Department of Justice that their prosecutors are not bound by state ethical rules (See e.g. The Thornburgh memo [1], but see 28 USC 530B [2]), most states have ethical rules which place special obligations upon prosecutors similar to ABA Model Rule 3.8 [3], which requires a prosecutor to, amongst other things, "refrain from prosecuting a charge that the prosecutor knows is not supported by probable cause" and "make timely disclosure to the defense of all evidence or information known to the prosecutor that tends to negate the guilt of the accused or mitigates the offense", as well as "except for statements that are necessary to inform the public of the nature and extent of the prosecutor's action and that serve a legitimate law enforcement purpose, refrain from making extrajudicial comments that have a substantial likelihood of heightening public condemnation of the accused".

The comment to Rule 3.8 [4] makes clear a "prosecutor has the responsibility of a minister of justice and not simply that of an advocate".

[1] http://en.wikipedia.org/wiki/Thornburgh_Memo
[2] http://www.law.cornell.edu/uscode/text/28/530B
[3] http://www.americanbar.org/groups/professional_responsibilit...
[4] http://www.americanbar.org/groups/professional_responsibilit...
Isn't this how those "3D" panels work as well? It's the same thing printed, but with a plastic prism-esque thing on top showing different views from different angles.
yeah. you're a subject, not a free person in Europe.