skysight-inc/HackerNews huggingface dataset:
> Presumably large, racially discriminatory social programs and cultural programming such as have been tried for the last 40 years are called for to remedy the problem.

There are plenty of obvious things that need fixing, even if you don't believe at all in affirmative action-like programs:

1. Clear conflicts of interest in the criminal justice system, like regular prosecutors being responsible for bringing charges against police, with whom they have close professional and often personal relationships.

2. The unjustifiable war on drugs, which disproportionately affects black communities.

3. Bad behavior by police officers, which likewise disproportionately affects black communities. This is pretty hard to measure because the offenders are the same people who are counting the stats. But we frequently get to see it in shocking display, like when a police officer is caught on video shooting a man who is running away and then planting evidence on him.
It's nice for clean removal of a HAproxy from rotation as well as insulating against HAproxy failures without worrying about DNS caching, not to mention wildly different DNS behavior on different platforms. Some platforms unconditionally use only the first address in a RR A, which is why BIND (and maybe R53) has the "randomize A records" functionality.
For 4 years I was the systems security officer for a college. At least 2 students per week fell for a phishing scam. It didn't matter how much we warned about it; emails, orientation lectures for firstyears, one-on-one talks, big alerts on the Blackboard system, you name it.

They'd get an email claiming to be from the help desk and BAM owned. My sensors would pick it up and cut their access off and they'd have to come to my desk for restoration. I was unfailingly polite and respectful. Didn't make anyone feel dumb, no berating, just a calm explanation of exactly what happened and how to avoid it in the future. No student ever had it happen to them a second time.

One staff member fell for phishes at least 5 times, though. The president of the college had to talk to that individual eventually.
Warren Buffett's Best Productivity Hack Is a Simple 2-List System
> There is no such thing as software entropy - bits are bits, and the code doesn't decay with time.

The article contains some thought that disagrees:

> To program any more was pointless. My programs would never live as long
> as [Kafka’s] The Trial. A computer will never live as long as The Trial.
> … What if Amerika was only written for 32-bit Power PC? Can an unfinished
> program be reconstructed? Can I write a program and go, “Ah, well, you
> get the gist of it.” … But no. It wasn’t written for 32-bit Power PC. It
> was written for eyes.

See, The Trial was written on a platform that's been around quite a while: German. And it was ported to other, fairly stable platforms, like English.

However, if you write some code from the 32-bit PPC architecture, the vast majority of 'readers' possible for your code is very, very small. And dwindling by the day. Nothing you can do! Other than keep working on the code, porting it to the latest version of the OS, architecture, platform, API version, or whatever.
If there's so much value there, how are these companies stopping internal espionage? If a company wanted to see what their competitors were doing to gain a large advantage, they could certainly field a candidate to work as an agent for their competitor. It sounds like how Nikon doesn't document the NEF format and pretends their binaries are the only way to decode such files. Except obviously the secrets these hardware companies have is far more than a simple RAW format.
Posts like this make me happy I didn't get that "dream" job from Altera back in the day and got pulled into software. Closed tools, expensive proprietary equipment to get started, hostage to large vendors. I dodged a career bullet.
There is a long tradition of this sort of payment. [1] I have run across it in industrial settings, particularly where the industry or its management were strongly influenced by Taylorism. [2] However, if quality standards aren't easily achieved by standard work, it can be highly dysfunctional.

[1] https://en.wikipedia.org/wiki/Piece_work

[2] https://en.wikipedia.org/wiki/Scientific_management
Nothing about these elided Wrinkle in Time passages were especially controversial, then or now.

Other parts of Wrinkle in Time, in particular mentions of Jesus as sort-of coequal with other artists and scientists or Buddha, or its not-quite-Christian mysticism, have sometimes run afoul of some religious parents' groups.

But a few generic warnings to the effect that "craving total safety can be dangerous"? That's pretty much common wisdom, in any American era, and doesn't trigger claims of insult or depravity.
I will never understand where this vitriolic self-righteousness comes from.

What gives you the right to classify people as parasites?
I don't think paying taxes gives you that right in any circumstance.
Explains my Amiibo addiction.
Surely "utensils" includes more than just modern style metal forks? I don't think it's a stretch to say that the use of tools of any kind in the eating process could remove specific evolutionary pressures that would otherwise inhibit some individuals from reproducing.
Cool. Very helpful to create color palettes from a picture.
As a native and lover of LA (currently in NYC), I've been enjoying all the press we've been getting recently. But as I skim this article, I'm confused. LA has massive urban sprawl. LA County is very, very vast in area, and many people live 1-2 hours by car (without traffic) away from their work. How is public transportation going to get so good that this car-dependence will go away? I'm all for it, I hate cars. The subway system in New York is great, but not including metro areas, LA is quite a bit larger in area.
The example I was going to provide [0] it turns out was reduced into a memory comparison.

I wrote a little C program for you instead: [1]

[0] https://github.com/triplefox/three-packer/blob/master/packer...

[1] https://gist.github.com/triplefox/47d620fc556e3f7da9bb
> encouraging diverse hiring practices, confronting both overt and covert racism when we see it, educating ourselves on racial privilege, fighting racial profiling and sentencing in our justice system, and just in general fighting for racial equality

It's odd that in the last 40 years of policy where these things where all mandated, promoted, and force, it only made things worse - for everyone (ex: dumbing down the education system to the lowest common denominator, hiring based on race rather than merit, breaking up the black family structure, seeing racism under every rock and corner to excuse bad behavior, promoting said bad behavior as either "authentic" or as the natural result of "white racism", etc).

Maybe, just maybe, your personal bias of viewing blacks as some type of helpless children that have to be taken care of - is the problem, and not the solution.
Bloomberg News wins its first Pulitzer, for reporting U.S. corporate tax dodging
A Dog's Revenge
It's really cool that Poisson disc sampling is used to generate the points. Here, best-candidate sampling is used, based on [1]. But have you considered using the possibly faster Bridson's algorithm [2]?

Using Harris corners to analyze the picture is a cool idea too. Good job!

[1] http://bl.ocks.org/mbostock/b17e0b2aa8b2d50de465
[2] https://www.jasondavies.com/poisson-disc/
Great work! You should add some sort of social sharing widget.
Of course it's undefined behavior. It's also a famous issue with GCC optimization.

This is another reason I look forward to the day when C is a legacy language.
One example seems a bit odd.

if(LocalVariable & 0x00001000)
return 1;
else
return 0;

mov eax, [ebp - 10]
and eax, 0x00001000
neg eax
sbb eax, eax
neg eax
ret

Hmm... wouldn't this be faster? Two instructions less:

mov eax, [ebp - 10]
and eax, 0x00001000
shr eax, 12
ret

Well, who knows. Didn't bother to analyze this case. Maybe the article's example is faster somehow?
IBM Reports Worst Sales Since 2002, Revenue Drops by 11.9%
1,500 iOS apps have HTTPS-crippling bug
Bayes’ Theorem and finding a missing H-Bomb
I guess you don't want it to be the case, but the answer really is "most of them". Exceptions would be Israel (if you consider Palestine separately), UAE, Kuwait.
I'm confident the younger generations are much more sensible towards most all of those points. But the most crucial IMO is fixing the justice system which is run by much older generations (even more so than politics) so unfortunately it will be a long time until that catches up.
TeMPOraL's post was hardly a diatribe.
It's absolutely worth addressing. But the answer is that OK Cupid's data controlled for attractiveness.
> The unjustifiable war on drugs, which disproportionately affects black communities.

See, this gets to the heart of the matter. I personally think the war on drugs is very stupid, but the data indicates that it does not disproportionately affect blacks. Blacks use drugs at much higher rates than whites and blacks distribute drugs at even higher rates than whites. The prosecutions for narcotics crimes are by all indications commensurate with rates of criminal offense.

It may be dumb law, but it's not racist. Cops and prosecutors are simply doing their jobs. If you think there's a racist conspiracy I dare you to prove it.
http://www.xilinx.com/support/documentation/data_sheets/3000... is the data sheet. I used to have the programming and layout specs doc they gave out.
Very well written.

I had no idea some companies went so far as directly making their debugger the software key. That is intense but makes a lot of sense.

In the case of the Xilinx Platform Cable I wrote firmware to, they have a CPLD that does the JTAG writing of data, and a Cypress FX2LP handling the USB information. They use a quad buffered USB endpoint to let the PC load as much crap as possible into USB and in my experience the buffer fills up fast and the jtag work takes the time. Of course this is only because multiple 'pages' were preloaded, otherwise the delay to request more pages would be insane.

Are you talking about the flash driver for loading external SPI flash? If so you likely know this but you have to load the FPGA with a program to load the flash with the program you want the FPGA to load on reboot. Each of these programs have to be compiled and tested per chip.
While looking through OpenOCD I found they had drivers for the actual flash, and I am not sure if this is required for the fpga flash boot strapper I just described.

I will look over these links. I recently started messing with ARM chips and they are programmed very differently than FPGAs so I have some stuff to learn on that.
Does anyone actually care that it's designed by Yves Behar? Every time this stupid company promotes themselves, they mention Yves Behar. Did you ever see apple say "Designed by Steve Jobs"? Or, "Designed by Jonny Ive" ? No. Stop.
Cool, I didn't know about Bridson's algorithm. Thanks for the pointers!
Prove ‘seventh arc’ theory for MH370, marine expert says
No, the problem comes from the assumption that you can legally fetch the "address" of a structure member via pointer dereference without checking for null so long as you don't actually try to access the resulting address.

struct usb_line6 *line6 = &podhd->line6;

The assumption is that this is OK so long as you don't try to access the contents of line6 without doing some upstream null checking first. This assumption is false. The very act of dereferencing is undefined, regardless of whether you access the resulting address or not.

The assumption fails whether null is implemented as 0, 200, 0x8000000000000000, 0xffffffffffffffff.
Even if you could (and you can, via WhoIs Gurd and WhoIs privacy-like services) they would have likely copied that stuff down already.

I'll also add that most courts in the West will laugh this lawsuit right out. Judges use common sense in small claims, and a contract requires a "fair trade," this fails both of those tests.

Plus they could file in India and you can ignore it. They cannot really file in the US (or anywhere else) because flights and filing fees would cost more than they claim you "owe."

Overall this legal threat is just moronic. It is obviously a scam (or a second scam after you caught the first scam text and called them out on it).

This is the same as people from India calling from "Microsoft" because your computer has "viruses." Or the "IRS" because you "owe tax money."
Bank of the Underworld: Was Liberty Reserve a Money Laundering Operation?
> Systemd is already able to run Docker images and even pull them directly from the Docker registry, so I'd rather see containers adopted as the new model of vendoring[1] rather than PPAs.

After having dug into Docker containers for a few weeks to identify what we have to be aware of as we roll out to them at work, I would rather not.

NAT overhead, asymmetric TCP routes, devicemapper inefficiencies, 400+mb images, new toolsets for debugging, unsigned images (though at least the foundation to support them exists now)...

Until these bumps are sorted out I'm more than happy to deal with a few rare incompatibilities from package upgrades.
> When writing low-level code it's really handy to know
> the offset of a member in a struct.

C provides offsetof() in <stddef.h> for that purpose, precisely because it's not expressible in C without compiler support.
A compiler transforms source code. It doesn't have access to all programs either, yet we trust them most of the time.
Inside Apple's future iPhone camera
FBI admits it gave flawed testimony that led to conviction of innocents
What do you do for inlining + code movement, where functions become interleaved (as do lines)?

In particular, after inlining, how are you guaranteeing statements from a given function don't get moved before the inlined enterfunction call (and similarly with lines)

Or do you not expect it to ever be able to report right answers for optimized programs?
(which is a valid way to live life, of course, but ...)
How does this handle go routines? Can only one be paused at a time?
Your compiler probably has a built-in method to achieve the equivalent of offsetof without invoking undefined behavior.

GCC has __builtin_offsetof: https://gcc.gnu.org/onlinedocs/gcc/Offsetof.html
The first 4 bit of each (32 bit long..) instruction can be used to check for conditions: http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc....
Please check out: https://groups.io. We support markdown/code syntax highlighting, Github integration, member sync with Slack, and lots more.
It won't, ever. And that's okay. LA County won't be served by an awesome network of public transit, but if investments continue into dense areas of LA City you should see market forces at work -> public transit availability driving higher density development, driving more desire for public transit.

You can't de-sprawl Southern California as a whole, but you can make the dense urban core more palatable.
Website Not Responsive? Hack Your Way Around It
If you want to be an artist be an artist.

Being a programmer is not going to get you there if thats what you need.

I dont really understand the mindset, I think that is because I am an engineer. Meaning by training, schooling, and occupation i did industrial and civil engineering for 10 years. I tend to take the software engineering literally, well more literally than most...

Its kind of the antithesis of being an artist to me. Still beauty in it.
I asked Chris Brogan how he would market a startup
If you want to use things like this, why are you using vim? Honest question.
Thanks! "Coopetition" is certainly the goal, I think :)
Almost definitely not. 4 quick dialects are AAVE, Indian English, Australian English, and, for a bit of localization, Iowan English. Mutually intelligible to someone who cares to pick up the slang, turns of phrase, and alternate grammars but clearly they are swiftly diverging.
IBM's sales decline for 12th straight quarter
That's called backpedaling.
Try Hola unblocker
But that headline...

:)
I think those are the real accomplishments.
It might be worth mentioning that this is quite similar to arithmetic coding, which is a real and effective compression technique.
Author here. Yes, only one goroutine is paused at a time. I'm planning to add commands to show and jump between goroutines. Still sketching those out, though. Do you think it would be helpful to have multiple goroutines paused by the debugger at once?
I'd say that's because:

- power is extremely centralized in our Western society and the mechanisms of conservation are much more sound than in the past, because...

- ...the "masses" are generally richer, therefore less prone to really feel a urge to overthrow the current setting. We all have much more to lose, if you want, than the people that took part in revolutions in the past.

- ideologies strong enough to bypass the previous reasons are basically dead

The only sudden transition could come from a planetary war or global-level event (even natural disaster), but the tipping point of our current equilibrium, in my opinion, is much harder to reach today, thanks to technology, global communications, the role of the Media and the intertwined financial interests of all nations.
I just logged in to the only living AberMUD I could find, and Moses is still logged in.

I don't know why, but this pleases me a great deal.
I'm also currently in NYC, as a native of FL, and I've often considered moving to LA (but I work remote, so my commute isn't much of a concern).

Do you think there is something about LA, though, which makes people there more willing to drive those extreme distances for work, instead of just moving closer? I understand LA County to be a relatively loose collection of independent communities, anchored around the city.

I hear a 120 minute commute and I'm thinking almost like a Tampa -> Orlando commute, or a West Palm Beach -> Miami commute - which I know some people do, but its not nearly as "normal" in FL to make that kind of extreme drive, and I'm certain it isn't because Tampa somehow provides more and better opportunities than, say, Burbank on its own, or Long Beach on its own, does.
Defining undefined behavior doesn't change the language spec, only adds to it.

All it's doing is saying that "my compiler uses the freedom to do anything that undefined behavior grants to do something sane".

By definition, anything that would be broken by such a change was already undefined behavior.
So I googled parts of their "contract" it is copied and pasted from different 101 articles on business contracts from all over the internet.

Line 1: http://www.wikihow.com/Write-a-Legal-Contract

Line 29-43, 77-89: https://www.sba.gov/blogs/contract-law-how-create-legally-bi...

Line 49: http://www.wikihow.com/Make-a-Contract

Line 51: http://smallbusiness.findlaw.com/business-contracts-forms/ho...

And so on and so on. Every single line in that contract is stolen from a 101 article about writing contracts. Seriously, check any single one by putting them in quotations on Google.
Certain functions in a bank (any bank) require sign-off from a person who is an officer of the bank. That is usually equivalent having the words "Vice President" in their title.

The result is that, to get anything done, a large fraction of the staff are VPs, and many VPs do not have any direct reports.
Ask HN: How to get work life balance
Hi, I'm currently a contract web developer who's getting a lot of offers to work in house. The problem is that the commute sucks and most of these companies don't really want their contractors to work remotely meaning its difficult to juggle multiple projects at once. How do the contractors on hacker news manage to find work that allow them to work from home?
> After having dug into Docker containers for a few weeks to identify what we have to be aware of as we roll out to them at work, I would rather not.

> NAT overhead, asymmetric TCP routes, devicemapper inefficiencies, 400+mb images, new toolsets for debugging, unsigned images (though at least the foundation to support them exists now)...

You don't have to use Docker images (and systemd actually handles all of the issues you point out better than Docker anyway). I only mentioned Docker because it allows people to use existing Docker images without any extra work.
In the case of startups this adds a lot of credibility. Yves Behar has designed some really well known products, and fuseproject is (from what I have read) almost like an incubator for hardware projects with great design. So for a small startup to have Yves Behar working with them is a big thing and well worth mentioning. I'd certainly love to have the chance to work with him.
Since it's modifying the source before compiling it, I expect that the compiler will conclude that most optimizations can't be applied when they cross breakpoint boundaries.

So, when debugging is turned on, the code would return the right answers, but it wouldn't have the same performance.
OK, got it.

You probably ask for user's email and send them their secret special link that could be used over and over to restore the cookie? in case if they accidently delete their cookie?
Really really nice. Enjoyed playing around with it. The resulting images are very appealing to me.
"why doesn't he get some sort of job and rent out a cheap room?"

Other posts have explained why this is fallacious reasoning but I'll give it a shot anyway.

There's more to it than simply the physical, theoretical possibility of changing a situation.

I graduated fairly recently. Could I have worked in finance? Goldman, JPM, say? I don't think it's excessive hubris to say that it would have been theoretically possible. Then I'd be working towards owning the flat I'm currently renting.

But in reality, it didn't happen, and wasn't possible. I dislike finance, and to give 90+ hour weeks in a profession I have no faith in would have been unviable. There was no choice involved; after a fairly basic reasoning process it was excluded because it would have clearly led to failure.

I hope that it's easy to see how that can be generalised down the scale. I personally would rather be homeless than work FT for a fast food company, and I express disapproval at a society that makes that a 'choice' for some.
Directory of GameDev Assets
Inspiring and Powerful TED Talk on overcoming mental illness
"People are more likely to build a collection of something once they possess two of them."

Really? Did they spend a lot of time studying that?
That's an accomplishment reserved only for the enlightened ones. Maybe you're onto something :)
Founder and CEO here-- working with Yves has opened a number of doors that we wouldn't have had access to, and has resulted in a well-designed product that our customers love.
Why the hell would you need that on Windows? You already have Isolated User Space instances built into the OS. If you want the "look and feel" of Docker it's supposed to come with Windows Server 10, however i have a strong feeling that it will be based on MSFT's App-V tech or something built from scratch rather than sharing even a single line of code with Docker it self.

To be fair Windows doesn't "need" docker the way the current Linux ecosystem does, cross software compatibility and dependency miss match nightmares don't plague Windows, and even in the rare cases where you have issues (mostly when you run splintered software to being with e.g. PHP, Python, Ruby etc.) you can always create separate user spaces for it and if in integrates with say IIS then you don't have an issue to begin with since you can run 100 apps all using different version of PHP, ROR or w/e since each application container can be assigned to a different app pool which is completely isolated from the others.

Docker is pretty much a necessity to manage a software ecosystem which was not built completely from the ground up on a single homogeneous framework, since the solution before that was simply split your apps cross multiple servers (or live with Chroot).