skysight-inc/HackerNews huggingface dataset:
> it's entirely reasonable for him to say that other developers don't talk about freedom (as he means it) - because they don't.

This is complete nonsense. Clang is replacing GCC in many BSD-licensed projects exactly because they feel it is more free than GCC. You don't have to agree that they are right, but saying they aren't talking about it is obnoxious and false.
Yup, don't do shared mutable state. It is the enemy. Avoid it like the plague.

I really love value semantics with structs in swift, it's almost always the right thing, and generally very clear when it isn't.

If anyone ever programmed so that

int a = 15
int b = a
b = 17
assert(a == 17)

meant that a was now 17 they'd call it insane, I have no idea why anyone would want that as the default behavior.
What happens when we reach 100%?
https://www.businesswire.com/news/home/20151211005837/en/Bit...
A Guide to Fellowships for Computer Science Ph.D. Students
Where's it say that antibiotics can't be used medically in livestock in the EU?

I see where it says antibiotics in animal feed – significantly restricted in the EU in 1998 and banned for non-medical use in 2006., but that points to them being allowed for medical purposes (on sick animals, rather than as feed additives).
I have worked in both, and business parks are useless for needing to get extra errands and things done, or meeting up with a friend for lunch or after work.
Arguably, undefined behaviour is more like 0/0 in (ordinary) mathematics than just something the C standard fails to specify (you want implementation defined for that one).

An optimizing compiler is free to transform its generated code based on the assumption that undefined behaviour never occurs.
Yeah, agreed that it's a shitty, though effective, rhetorical technique. I just think haroldp overreacted to it.
I think you should re-read my post. I don't have a problem with other people choosing to use the GPL, and dealing with its terms or choosing not to use it. I have a problem with the temerity of people like the FSF insisting I use copyleft or I'm somehow immoral.
The abstract of paper you shared was interesting, but the reason you are being down voted is probably because of the tabloid level of political spin you have forced on it, and the crank-like way that you have tried to make yourself out as a victim because of intolerance for the "controversial" synthesis you have presented.

Migration in the context of epidemiology has nothing to do with your political status in that country, and has everything to do with your physical presence, and contact with other people in that location.

Sure, shut the UK's boarders to all international travel. Perhaps you'll manage to stop sex tourists from bringing back super-gonorrhoea from the third world.
When people try this kind of thing on me (frequently it happens if I mention that I shop at Walmart on occasion), I just ask if they own any mutual funds (including pension funds). If they don't, I ask if they pay taxes. If they don't, I ask if they ever give money to someone who might own mutual funds or pay taxes. If they don't, I ask if they ever give money to homeless people.

I understand the general argument about taking a bit of personal responsibility, even if it's basically just symbolic. Rather, it's the absolutism that irritates me. In my opinion, eating less at McDonald's and shopping less at Walmart is about as good as never going to those places.

Besides, if you're really a loving, compassionate, open-minded citizen of the planet, wouldn't it be good to spend some time in these places next to the most downtrodden members of our society?
... by simultaneously facilitating a large ratio of bitcoin's infrastructure.
> Probably it has something to do with the long walking distances;

oh ya think? I think you should just continue to assume it's just because Americans are too lazy to walk.
Ubsan already does this, there is a flag that controls abort on UB.
I use the provided mail service (@tfwno.gf) explicitly due to how transparent he is. Same reason why I used and donated to pomf.se before its closure (different person).

If the only people who care about users and practice active disclosure of subpoenas are people with low-brow humor, so be it, I'll continue to support them.

E:

Also a quick note there is a bit of misinformation floating around. He doesn't own many of the domains, he just runs the mailservers for them.
So, I'm not familiar with all of the CFI protections available in clang, but is full CFI actually implemented in CLANG?

Especially with C/C++, there are a lot of potential attack vectors that would need to be closed (stack smashing, ROP, Vtable corruption). From a laymans perspective, some of these need full memory corruption protection.

Any references would be appreciated. The last time I had to adress CFI in C, static analysis (with greater precision than CLANG had) was involved.
Basically in the 50's, we started building cities at automobile scale, instead of at human scale like we used to, and the design goal for roads was simply to move as many cars through as quickly as possible. Things like 12' wide travel lanes instead of 10', ridiculously huge building setbacks, right turn arcs, 140' wide lots instead of 70', wide neighborhood roads (encourages speeding), no street parking (drivers slow down on roads with parked cars and on roads with no marked centerline), etc. Also, everybody wants to live in a cul-de-sac, which greatly limits how far you can walk (https://www.walkscore.com/walkable-neighborhoods.shtml) versus a standard grid layout. (But if you look at real estate pricing, the data show people want to live in walkable areas; a home in a walkable area will often command a 1.5x to 2x price premium over a similar home in a typical car-centric suburb.)

All those details add up to create a poor and dangerous pedestrian experience. Now, most towns in America have realized that was extremely bone-headed, possibly unsustainable (it costs a lot of money to run all those electrical wires, plumbing, and roads), and we are trying to undo the past 70 years of engineering. Oh, and this was all mandated by building codes (law) so even if one wanted to build a walkable suburban business park, it was not possible.

There is a entertaining talk about all this by James Kuntsler at https://www.ted.com/talks/james_howard_kunstler_dissects_sub...
I thought my point was clear from context.
This "excellent article" could use some basic fact-checking.

9/11 terrorists nations of origin included UAE, Egypt, and Lebanon, not just Saudi Arabia.

Farook was born in the USA, not Pakistan.

Sudan is not mentioned in the bill. Nor is Iran.

Much of the rest of the article is similarly hyperbolic, with basic factual errors.

The actual text of the final bill is here:

https://www.congress.gov/bill/114th-congress/house-bill/158/...
A classic case for static analyzers. Clang with -Wall gives you:

int.c:3:12: warning: indirection of non-volatile null pointer will be deleted,
not trap [-Wnull-dereference]

Much better, scan-build:

int.c:3:12: warning: Dereference of null pointer
return *(int*)0;
Build Your Own Z80 Computer by Steve Ciarcia (1981)
Coinbase Bug Bounty Transparency Update
Sending rats to sleep sheds light on brain circuitry
It can be effective, but you need a much, much stronger kind of charisma and a better grasp of rhetoric than Stallman or your typical FSF zealot. When delivered by somebody who gets spittle-flecked about this stuff, it makes you crazy and a jerk, instead of just a jerk.
I miss working right in the city. 5 minute walk home, more places to go for lunch, since I didn't have to drive I could go out for a couple drinks after work with my coworkers and not have to worry about it.
Then no new bitcoins will be created and all mining profits will come from fees. That won't happen until 2140.
(Take this as coming from someone who pays attention for some time, but is not really knowledgeable about medicine.) People are today a lot healthier than they were 50 years ago. This alone helps a lot. Additionally we have better disinfectants and better procedures and better non antibiotic drugs. So the other parts of our defense in depth are largely intact.

Additionally I read some time ago that the problem is not the difficulty of developing new antibiotics, but the collapse of antibiotics research in the 80ies. So once the field is back up, there should be new antibiotics.

So as far as I understand it, the lack of antibiotics is a big problem, but a big problem on the scale of thousands are gonna die, not millions are gonna die.
I've been considering starting a Color 64 BBS on the web, in my copious free time. I ran one when I was a kid, and still have (one of) the floppy disk(s) it ran off of. I doubt it is still readable, and most of the stuff I did with it back then (piracy, phreaking, and PETSCII art) doesn't hold any interest for me now. I did write some games for it that I'd probably be interested to look at again, just for the amusement.

I have a real C64, but I wouldn't want to run it off of that, since I don't have always-on Internet or power (I travel full-time)...I'd go with an emulator running on a server somewhere. I have my doubts it would actually garner a community, however, which is the primary thing preventing me from putting the effort into it. It'd be fun to tinker, regardless, and I believe Greg Pfountz made Color 64 free software a few years back, so I wouldn't even need to pirate it to obtain it (since I don't have a 1541 or 1571 drive to read the disk, even if it is still readable).

Edit: Color 64 info here http://www.zimmers.net/bbs/c6bbs.html
Downloads here: http://software.bbsdocumentary.com/COMMODORE/C64/COLOR64/
Also note that null pointers may not need to be represented by the all-zero bit pattern, ie the conversion

(void*)(intptr_t)0

can in principle be more involved than a noop.
I got downvoted for calling that out on one of their last articles. Side scrolling is absolutely non-intuitive and painfully limits ones ability to easily read an article on mobile. /ot

The article is interesting though in that it calls out with medical evidence a correlation I think of as relatively obvious. I've met some seriously smart people in the world with personality peculiarities that seem to stem from anxiety.
Distance is less interesting in this context than time; in the same time it takes me to commute to The City, I can drive nearly 60 miles in almost any other direction. That makes a great number of exurban office parks a lot more accessible to me than a big city office tower.
Not sure about OP, but I've always loved the simplicity of counting the zero cross-overs in one direction (E.g. positive to negative) with some gutter. With raw PCM this is trivial to implement in any language -- I last did this in bash. Then you just do a look up from frequency to note and you're done. It's also not very CPU intensive, and you can even sample less frequently and get pretty great results.
We re-learn why a deflationary currency is an awful idea.
No more bitcoins, miners get funded by fees instead of the newly-minted coins.
I'm not sure where you got the impression that "Rust is picking up where C++ left off". Rust is a far, far, far smaller language than C++, and has benefited from hindsight in its design in a way that C++ cannot without massively breaking backwards compatibility.
Under Watchful Eyes: The medieval origins of mass surveillance
I can't help but think that there is opportunity here. It seems like most cities have gone through a cycle where industry moved out of cities, a lot of those parts of town got converted in to very affordable housing, industrial lofts, etc. Then because of the cheap rents, artists and young people flocked to these areas and they became the hip parts of town.

Shouldn't office parks be easier to convert than industrial buildings?
> Comparing a realistic solution with an idealized one

Now government regulations placed on the agricultural industry are idealistic?

> dismissing or even discounting the realistic solution

I am strongly encouraging the more realistic solution, not dismissing or discounting it. How is expecting an impactful number of people to discontinue antibiotic meat usage more realistic than expecting government to step in?

> absolving oneself of personal responsibility

As I stated above, I personally avoid antibiotic raised meat, but I simply don't think shaming or blaming low income families is the right move here.
POSIX printf allows a translator to write a conversion spec like "%1$d" that says which arg to print. This lets you do stuff like put currency before or after the amount depending on what's idiomatic for the locale, without recompiling (if you lookup your format strings at runtime).
https://en.wikiquote.org/wiki/Richard_Stallman#On_sex
Then blocks continue to be created, but no more coins are mined (in practice, we will be mining tiny little fractions of a coin for a very long time until it drops off to true zero).
While the paginated mobile version is terrible, if you poke around they have PDF, "desktop" classic style and others. PDF and the classic view are actually not bad at all. Their mobile is an abomination just like the rest of the "mobile" web but these alternatives on that link.. I'll give them credit.
Slightly-more-available link https://bitcoinwisdom.com/bitcoin/difficulty

Hash rate has increased by 41.9% over the same period, so the difficulty has kept the time-to-generate relatively fixed - just the way it's supposed to work.

The real news is that someone or someone(s) have added ~200PH/s worth of processing power to the network in the past 30 days. This is probably from some high-power ASIC miner being released, or from some consolidated mining concern going live.
This is a strong indication that a light show is coming.
SpaceX launch and landing attempt at Cape Canaveral 5:33pm PST
Datacenter scheduling papers
Ask HN: What would you recommend a group of 20 UK students do when visiting SF?
We're organising a trip to Silicon Valley/SF for 20 students from Oxford who are interested in tech/entrepreneurship in March 2016.

Currently the plan is to try to visit a good mix of companies (couple of bigcos, early/medium/late stage startups, maybe a VC or two) and do some cliché touristy stuff.

Is there anything you think we should do that might not be obvious or any specific companies you think we should try to visit? Thanks!
There'll be always music which isn't on Spotify, actually quite a bit I listen to. And besides of that I also think really "owning" the files has ethical importants to it...
The fact that you consider performance and freedom to be a trade off means that you've already given up even the slightest hope of freedom. You as a developer and a user should want the freedoms afforded to you by the GPL or any copyleft license for that matter. In the ideal world your high performance software would be released under the GPL you would have the best of both worlds. The war won't be won by rewriting every single tool and releasing it under the GPL, it will be won by pressuring existing companies to license their software under the GPL.

The people who want non-copyleft licenses to succeed are those who which to make a profit from the control and ignorance they can impose on their users by closing their source and platform or those who are willing to trade their user's freedoms to appease them.

Businesses have a huge amount of leverage on the OSS software ecosystem and so it's really no surprise that the licensing choices are to benefit the businesses funding the development rather than the users. It's to be expected but no less sad. There's a small group of passionate people who have basically dedicated their lives to making the world a better place by writing software that's truly free and respects its users, they built an entire community and movement around the idea, and actually stand by their beliefs -- yet people dismiss them because the company worth hundreds of billions of dollars has a better UX.
Mormon rapper teams up with local BBQ  restaurant to feed 300 people in need
Analysis of the Backdoored Backdoor
I think it's simply that most American cities are relatively young, and a good portion of the growth occurred after cars became abundant. Older cities aren't as car-centric, because cars didn't exist when they were built.
I don't know if I'd ever use the word "enjoy" related to programming. For me, at least, programming isn't something I do, "programming" is what I am. Think of a musician. Anyone can learn to play but some people are musicians by nature. Somehow the word "enjoy" is too shallow. Some days I love it. Some days I hate it.

Some days you get nothing done. Most days you write 10 lines of (working) code. But some days you work until the sun rises (well, I work from home :-) ) and wonder where the day went.

It sounds like you took up programming for the money. That's like becoming an artist to paint factory walls.

Don't worry. By the time you turn 35 you'll either have been forced to retire into management or you'll be doing something else. To twist a saying from my youth (which was "Never trust anyone over 30")... "Never hire anyone over 30". Programming these days is a short career. Next year nobody will remember ReactJS. Enjoy it while you can.

I've been at it for nearly 45 years now and I'd rather program than eat. That said, it's not for everyone. The level of frustration can be intense. I spent yesterday chasing a "that can't happen" bug with no success. This morning I found and fixed it. Anyone can learn to program. Not everyone can handle the frustration.
The issue is understanding, not transcribing.

The existence of politicians (and politics) proves that it's easy to misunderstand.
Are you insinuating those cross-cultural experiments predate the institutions of culture and language that produced them? Sounds a bit like time travel.
Complaints from ex-Theranos employees spur two federal investigations
OS X and iOS map in __TEXT,__PAGEZERO to 0x0.* Of course, it is mapped without any protection levels so it isn't of much use except for catching most nullptr dereferences (just 4 GB of protection on x86_64!).

* Well, this is implemented by the default system toolchain. You'r particular toolchain can opt out of this behavior if they want to.
You completely tunneled on the wrong portions of what I was saying. For one thing, Amazon's "real" liability extends far beyond their SLA. Yes, their immediate financial compensation is small. But there are two things wrong with your conclusion here. First, that is not indicative of how much they "trust" the service. They are always going to take the most conservative amount they can get away with, and they are "getting away" with it just fine so why up it? Second, if a company on AWS was severely impacted by a genuine Amazon screw-up, the compensation SLA is the least of Amazon's concerns. It would be like if UPS lost 20% of Amazon deliveries for one day. They wouldn't be nearly as concerned with the explicit liability of compensating Amazon for those deliveries, however much they guarantee for them contractually, they would be far more concerned with everyone immediately switch to another shipping company because they could no longer trust UPS. That is the motivation.

Second, you've completely ignored the actual key points. For one thing, "Cloud" companies make their business by providing a stable service. You have the "guarantee" based on thousands of other business using the exact same infrastructure without serious service failures. That is a huge amount of statistical reliability. Compared to hiring your own IT department and cobbling together your own system, that is actually really good indicator. Second, the cost difference is potentially massive. Again, it is for similar reasons that shipping via UPS is a much better deal than shipping via your own private distribution network. You might have to still pay some people to handle your own inventory from its source (like you'd have to have some people to work on your system in the cloud) but you'd be taking advantage of a much larger, more efficient system instead of having to build and maintain your own.
"We have demonstrated in a previous study that a high degree of worry in patients with generalized anxiety disorder (GAD) correlates positively with intelligence and that a low degree of worry in healthy subjects correlates positively with intelligence."

Woot! As a happy person who doesn't worrry much I was pleasantly surprised to find out I'm not necessarily and idiot.
I thought the same too. I didn't even have a room, and travelled to class by train from home.
Don't act like you're not impressed.
I live in Chicago and deal with package theft at least once a year; this thought of dummy packages is not realistic and I'd never participate.

A more realistic solution: Package drop boxes. They can be either key or one-way door to help deter theft, and provide an added benefit of protecting a package against the elements.

Obviously, all packages weren't sized equal, but if you're having things delivered regularly, you can determine the type of cubic storage you'd need for a drop box to cover the majority of your deliveries.
The data behind this study is shoddy at best. Missing patients, sample size of 30 reduced due to environmental factors. As well as assuming IQ is an accurate measurement of intelligence.

Would be interesting to look at education data against the same person's mental health data on a massive scale. Wouldn't happen unless people opted in to sharing.
There's lot of regulation slowing this - floor area ratios, density caps, parking minimums, etc. Google "sprawl repair" for some interesting reads!
Ah, I don't think we disagree: "game designers" as a profession are almost solely employees of games companies. "Game designer" isn't even a job role you can hire for; it's just what you call someone (usually a programmer or writer or project manager in a games company) when they have enough experience to put on the game design "hat."

But experience in game design—making games/toys/puzzles engrossing, fun, educational, or whatever-else—teaches game designers a set of skills that are applicable outside of games. It's not just "gamification" (which is almost only used in reference to systems of points and rewards used to bait the Achievement-oriented Bartle types[1]); it's the architectural level of "systems engineering", the same thing done when e.g. NASA tries to figure out what goes into a working satellite: designing the satellite itself, designing the support systems for it, designing an ongoing training system for the ground crew, creating training policies so that new lessons are incorporated back into new training, sourcing replacement parts and sourcing budgets for part-replacing missions and sourcing suppliers when other suppliers go defunct and setting up competitive supply-chains so a monopsony isn't created that chokes the budget... and so forth.

Figuring out how to make a cohesive system, composed of both humans and technology, get something done together, is mostly working out incentives so that the system doesn't fall over from one of a thousand ills. There's more expertise in the pinky finger of an MMORPG Live Team content designer on this sort of topic than in the entire apprenticeship of a civil engineer.

[1] https://en.wikipedia.org/wiki/Bartle_Test
I guess it started with "roads are unwalkable" and then slowly morphed into "Americans wouldn't walk anyway", and you can see it in the comments here.

Most people can't even come up with a sane rationalization of their environmentally hazardous laziness. Instead it's "America is such a big place", which is like saying you can't bike because Russia is the biggest country on earth while you live in Moscow.