skysight-inc/HackerNews huggingface dataset:
> there needs to be an honest investigation into the Clinton Foundation

In other words - you have no evidence of actual crimes. You just want an investigation.
Instead of asking in the abstract which is easy to misunderstand, how about trying something concrete. Give them a piece of text and ask them if they really do not know what it says. And analyze their response further than just the surface level, of why they responded the way they did.
Well that's the thing about C and its ilk; it is an endless wellspring of awful failures and so the voices you are trying to shout down have an unlimited supply of ammo. This will keep happening and you're going to keep hearing about it and the arguments for alternatives will continue to strengthen. That's the reality to which you need to adapt, if you're a reasonable person.

The advocates of these alternatives aren't creating this situation. The unavoidable fact is that our traditional tools have a propensity to propagate bugs that are fabulously difficult to discover. That's one of the lessons of nearly a half century of C. New tools are emerging that solve this problem and their advocates have every reason to say so.

Another lesson C teaches us through its popularity and longevity is that performance will always be critical for systems code; there will never be a day when we can squander cycles and RAM on garbage collectors and reference counts and indirections and all the other bookkeeping and abstractions inherent to so many languages that have utterly failed to displace C for systems programming.

I don't know what the future looks like. Maybe it's Rust. Maybe Linus will get fed up and invent a better language in 4 days. Maybe someone will create an AI system that can spot this sort of bug before it ever gets checked in. All I know for sure is that the current situation is intolerable and yelling at people to shut up about it won't work.
Lines on a Mercator map aren't straight on a globe.
They are constant-compass bearing, but that's not the same as straight.

Also, as defined by the French academy of science ~1800, the meter is 1/10,000,000th the distance from the north pole to the equator, on the meridian through Paris.
Pairing LLVM JIT with PostgreSQL Can Speed Up Database Performance – Phoronix
As someone who grew up in a low density area this just seems bizarre to me, the idea that an outsider might have more right than you to the curb that is maintained with your property taxes. Almost as bizarre is the idea of houses without driveways.
Searching for Someone
The reason decimal time did and always will fail is that no matter how you slice it, 365.24ish is not divisible by 10.

Moreover there is nothing inherently natural about 10 as a base. Like many of our modern conveniences it is entirely arbitrary and about the worst possible option.

Fin
There was another discussion on this, but it's dead for some reason...

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

TL;DR a lot of people think there's a secrete acquisition going on and they are doing code evaluation
17 Best Blogs for iOS Developer
I'm curious to know what you mean by "please don't do this".. I'd really appreciate if you could elaborate for me.
Not quite. You can access lsof and strace from inside htop. There is also a process tree view, and you can select the process you want to manipulate via arrow keys.
Two square inches of mercury an inch tall weights twice as much as one square inch of mercury an inch tall. But there's twice as much area, so it's applying the same amount of force to each square inch.

The point is you care about the force, but don't care about the area, and a tube of mercury factors out the area.
The SI unit of length, the meter, was originally defined according to Earth measurements, as 1/10,000,000 of one half a meridian.

This was supplanted by reference bar measurements in 1889 and 1927, by a count of emitted light wavelengths in 1960, and as the distance traversed by light in a vacuum in a specified time interval in 1983.

(So space is measured by time.)

The metric system has its own foibles, one of which is being based on the number of digits a phenotypical abundant primate on a minor planet of a backwater solar system happens to have. It has certain conveniences, but isn't the hallmark of unquestionable rationality some would like to think it is.
I was searching about something like that for a long time.
All theses symbols looked like hieroglyphs to me.
It is clear and easy to read with code examples.

Thank you very much.
To an extent, so does C++ help think like the machine, but you can skip a lot of syntactic red tape. Until you get to advanced uses of templates.

It is also useful in order to show how those "smart" things in higher level languages work, using standard library as examples.
>> Learning about operating systems would be much harder without C. The operating systems that we use are mostly written in C, the C standard library is tightly coupled to the syscall interface, and most resources dealing with operating systems concepts assume knowledge of C.

I wonder what if Kernighan, Ritchie et all decided to write UNIX in Pascal, not in C.

Hmmm.... :D
How taxi industry can fight back on ride sharing apps
It's not so much the wind as what is in the wind that really bowls you over.
How an Ad Campaign Invented the Diamond Engagement Ring
On the contrary, I would say that enterprises should take the risk and use such projects. They likely have enough capital to hire the correct people (e.g. one of the core devs) when a problem shows up.

Startups can't afford that. Therefore they should use older technology until they grow big enough to tank the damage.
Not having to support Java means the iPhone can get away with less https://news.ycombinator.com/item?id=12641590
Pick two:

1. Valuable product maintained by professionals
2. Is free
3. Will be around for a long time

Yes, I know there are exceptions.
Ask HN: How does one learn high load?
If I, as a recent graduate and web developer, decided to learn how to build high load systems, how would I do it?

It seems that you can only learn how to make high load systems when working in a company that builds them. I wonder if it's possible to enter that field on one's own.
One is a choice, the other was how he was born.
Slava @ RethinkDB here. I am not able to get into details yet, but the short version is that the commercial entity behind RethinkDB is shutting down. We're working on continuity for the open-source project. Full announcement (and details) coming in a day or two.
Let's not go into a fight about Google vs Apple, but consider the landscape.

1) It is interesting to note that, different from the desktop market a decade ago, there is no monopoly by a single provider for smartphone tech. This means that the upcoming challengers try to challenge using the same tech rather than come up with something really innovative. That there is no monopoly in this space, might actually reduce the speed of innovation! These parties are happy to compete with each other on familiar grounds. To me this comes across as a gentlemen's agreement in which knights establish the boundaries of their fight. Google says: it's gonna be phones, don't be afraid we come with weapons that you're not anticipating.

2) If we limit ourselves to smartphones, what would real innovation look like? For me it's twofold: a) getting rid of the other things in my pocket. I currently carry: keys, a wallet, a public transport card, a customer loyalty card, a squash subscription card, and a driver license mainly as ID. b) never worry about charging. The former can solved by actually making use of the existing technology. The latter needs a wireless charging infrastructure that works on a distance and a few R&D years (http://www.wi-charge.com/).
New, working link for above:

http://dropclickpaste.com/#CYBgRgjA7AzAHANjMOwDGBODYCmYM4ICs...
" It turns out that it enabled mediocre software architects to spend great quantities of corporate money coming up with mediocre designs to be implemented by mediocre programmers, resulting in mediocre software and mediocre return on investment."

But most people are mediocre. That's just how the world works.
You may be thinking of sysfs.
It's unfortunate that you flagged the article and let your bias take over. The article, ignoring mislabeling of images, is still a work of research.

> Imperial Rome was a dim backwater by comparison.

And it was, by comparison. Why do people have the audacity to think that Rome alone was greater in all aspects than the collective synergy of Persia, India, China, Swahili Coast etc? These regions were in extensive trade and cultural contacts and the cold hard truth is we Europeans were not a central part of that scheme. That's why Asians devised decimal system, paper currency, and wooden block printing, compass, and other ground-breaking inventions, due to its sheer vibrancy.
Zheng He's ships were larger. While the size of the Chinese ships is very debatable, there's no question that the three ships used by Columbus were smaller--indeed, the smaller caravels were more effective in large part because they were smaller, lighter ships.

The European navies very quickly in the Early Modern period became unassailable by any other naval power in the world. The most important innovation seems to be a reliable means of placing cannons on ships, including trading vessels, although the introduction of that lateen sail did greatly expand the sailing opportunities compared to square rigging (it allows you to attain decent speeds traveling into the wind, something you can't do on a junk).
1) Only a few phones work on Project Fi, I'd assume "no" unless marketed otherwise.

2) Some Xiaomi phones do not even come with unlocked LTE bands, depending on your region; try to confirm what bands are available before you buy.
Fundamentals in consumer psychology (useful for marketing and UX)
Really liked the work done in RethinkDB. Hope it stays!
The inability to build densely comes from height limits and mandatory separation of residential and commercial districts.

Converting parking lots to apartments just gives you more apartments on the same footprint. It doesn't bring the workplaces of the people in those apartments any closer.
"Slava @ Rethink here. Unfortunately I cannot comment yet (I really wish I could), but your intuition is right. We're working hard to be able to give a full account ASAP (matter of days). Please stay tuned."

https://discuss.horizon.io/t/are-rethink-and-horizon-dead-ab...

That doesn't sound promising :/
Mysteries of Windows Memory Management Revealed
Charity Profits App Honest Review
When I got my first smartphone, the guy in the shop installed Whatsapp for me without really asking. It was around 80mb, and chewed through a fair chunk of my data allowance on the first day. Made me paranoid to use the data connection for the first few weeks.
> The reason decimal time did and always will fail is that no matter how you slice it, 365.24ish is not divisible by 10.

It's not divisible by 60 or 24 either, so I don't see the point. Decimal time only deals with units from the day down.

Decimal calendar deals with days, weeks, months and years. Its adoption went far better than decimal time.

> Moreover there is nothing inherently natural about 10 as a base.

No base is inherently natural, 60 certainly isn't. 10 just happens to be the one we use as a standard.
That's a good point.

I've been doing Ludum Dare for a while now and it has only deepened my respect for games with good controls. For the last jam, I didn't spend nearly as much time on control feel as I usually do and I got a bunch of negative feedback for it.

For another example, people criticize Unity for games with poor feel, but what's really happening is that Unity has enabled a bunch of new developers to make games with less effort, and that includes spending less effort on getting the controls to work well. All Unity did was lower the bar to entry.

Take a look at Quake III, in bg_pmove.c PM_Accelerate

https://github.com/id-Software/Quake-III-Arena/blob/master/c...

This is the code that translates player input into acceleration for the physics system to handle. Notice the code blocked out with #if which fixes a bug but the fix isn't used because it "feels bad". The bug lets you accelerate to ridiculous speeds with the right pattern of movement.
Searching a Million Lines of Lisp
One detail not mentioned in this post is the fact that T.Run returns whether the subtest succeeded. This is necessary if you have subtests that rely on the results of previous subtests, because a call to t.Fatal or t.FailNow in the subtest will not terminate the outer test early. The boolean allows the outer test to terminate early if necessary:

var foo Foo
if !t.Run("Foo", func(t *testing.T) {
f, err := NewFoo()
if err != nil {
t.Fatal(err)
}
foo = f
}) {
return
}
t.Run("Bar", func(t *testing.T) {
err := Bar(foo)
// ...
})
Now only if more of the RT patch landed in mainline I couldn't be happier.
We made the choice to use RethinkDB with my team exactly 1 hour ago, crazy.
His theory:

> All things considered, I had a great week. I didn’t realize I was having enough impact to get on the Clinton enemies list.
True Managerial Intentions
Show HN: “Drop Dead Easy” Browser Based WebTorrent File Distribution
WalkAround VR – Google Streetview with 360 Videos
*until proven otherwise
15 LoC binary tree in C
a) getting rid of the other things in my pocket

As an incremental step, I'm seeing more cell phone cases with a slot to store credit cards, cash, and ID.

I know, ideally they'd be gone though.
It came from Redmond: Windows Server 2016 could rattle the competition
~2 years ago I golfed a 15 line hash table for fun and it got some traction here; I figured maybe this would also get some traction too ;)
Google, Apple, Microsoft decline scanning user's emails
Don't miss the blog post he linked either, it's also a great read: http://zxq9.com/archives/911
Really why popular opensource from companies controlled by that company is a bad idea if noone is really interested in carrying it forward.

How many frameworks/languages/tools would survive if their parent company disappeared?

I know IO.js was successful when diverging from nodejs (even if they ended up merging again).
Ruby on Rails View Components with Trailblazer Cells
Dammit -- so sorry to hear that. :( As you know, I am a huge fan of RethinkDB, and I certainly know the challenges of building an open source based business. You guys succeeded wildly at building excellent software that will endure -- and I for one will be sporting one of my beloved RethinkDB shirts tomorrow...
Laura Lux, the colorful DJ
Fast and Easy C++ Object Serializer
Slava, Michael and the RethinkDB team,

Wow... This comes as a complete stunner. Startups are f'ing hard. You had such a great team and there were no obvious signs or slowing of product development. Literally just came out of nowhere. Anyway, wish you all the best and hopefully someday we can learn all the details of what all went so wrong. The quality and beauty (great design) of RethinkDB is something I will continue to admire.

I'm working on my 3rd startup and heavy into development using Node.js + RethinkDB + Thinky (ORM)[1]. It is a bit relieving to hear that RethinkDB will continue to exist as an open source project.

[1] - https://thinky.io/documentation/
How to Track Down International Jewel Thieves via Facebook (2012)
I had just been evaluating Horizon for a new project using React. It looked very promising but we decided to use Firebase instead, in spite of Firebase being closed source and subject to vendor lock in. We simply couldn't justify forgoing the built in deployment and additional features of Firebase when we are on such a tight time and money budget.

I hope there is a good outcome for Horizon and RethinkDB, they both seemed excellent technologies and it'd be sad to see them languish.
I've tried the Samsung Gear VR. It doesn't feel immersive at all, it just feels like I'm looking at a phone strapped on my head.

I agree that the multi-thousand machines to power an Oculus is too expensive to go mainstream, but phone-based VR suck too much to go mainstream. The resolution is too low, headtracking is not good enough...

At best people will get those phone VR headset for free, play a little bit with it, show it off to their friends and as soon as the novelty wears off it will collect dust.

VR needs a much, much better experience to become a thing. Either PC-based VR becomes cheaper or phone-based VR becomes better I don't know, but that's not for 2017.
Headline is a bit vague. This is about how some taxi companies were successful by installing physical buttons for calling a taxi in hotels etc.
In fact, SEL4 has parts in Haskell. The important things are all in Isabelle though and everything is compiled to C and machine code.
I had a similar use for my 5X the other night. I was laid in bed and remembered a task I needed to do the next day but would likely forget by morning (terrible memory). An "OK Google" followed by "Remind me to do x tomorrow" and a reminder was set without me so much as opening my eyes. Battery capacity sucks after a year though (perhaps due to the way I charge it)
I just love what you created, and really hope that it just keeps getting better. I was discussing with my team to switch to RethinkDB on some services just this Monday.

Such quality work should not be abandoned! In any case, thank you so much with what you and your team came up with. We (me and my colleagues) respect your work.
PDR EBook for Trainee PDR Technicians
Really staggered to see work on Podcasting and not even mentioning or considering Podlove http://podlove.org/

They are already working for several years on improvements and standards for publishing and consuming podcasts. E.g. Podlove defined how to deliver chapter marks inside a feed and implemented it in their Wordpress based Podcast Publishing Software.
if anything c is more popular now than 5-10 years ago. not c++ but normal c. especially with the pendulum swing away from oo

it's almost an ideal hipster language.
At the moment, the link you posted says "This candidate has been reserved by an organization or individual that will use it when announcing a new security problem."

I guess the post on securityfocus (also not reachable) slipped out before end of embargo time?
I think it goes something like this:

Low interest rates cause debt inflation. People can borrow
increasingly more as rates go down. As rates go down, the spread doesn't change, but the value of the loans increases.

Maybe someone more knowledgeable can fix me up here.
You are spot on. IIRC correctly there are built in hacks to make at least the clock and calendar icons show correct information, but for example the weather icon never tells you it rains. IMHO the Microsoft Live Tiles on Windows phone do make iOS look dated. Luckily for Apple, no one is buying those phones.
They could always reply something like what Microsoft did.

“We have never engaged in the secret scanning of email traffic like what has been reported today about Yahoo,”

Everybody else declined having received the request, Microsoft just declined doing exactly what the report said yahoo were doing. Seems a lot more "safe".
I think of it as basically a garden-path joke.

Incidentally I've noticed that jokes structured like this have become so common in UK comedy shows that the punchline is often unnecessary or even omitted.
So....you would basically write special laws for a group of people. There's plenty of examples how well this approach worked throughout history(it didn't, or it worked temporarily).

Besides, I find the idea of punishing a whole group of people for the actions of the few disgusting. I don't know where you are from, but I'm from Poland originally, and especially in the 90s there was a lot of car theft in Western Europe done by Polish criminal groups - so Poles got a reputation as car thieves.

But you would have to be an absolute brainless idiot to say that all Poles are car thieves. And yet, you are proposing such solution here - assuming that "middle eastern refugee" group has more rapes - and you want to literally "send them all back". If you don't see how wrong this approach is, then I don't think I can help.
TLDR: Goto last line of this comment

> It is still one of the most commonly used languages outside of the Bay Area web/mobile startup echo chamber;

Fair.

> C’s influence can be seen in many modern languages;

Saying that that's a reason to learn C is a non sequitur. Why?

> C helps you think like a computer; and,

So does C++. And Rust. And D. All the stuff about databases can be done in any of these languages, C doesn't have a monopoly over letting you be close to the metal. It's one of the only languages that pretty much forces you to be close to the metal, but that's not a plus point.

> Most tools for writing software are written in C (or C++)

True. Hacking on your tools is great. But hacking on your tools rarely requires proficiency in a language (unless you're doing something major, which you're not), I've hacked on tools written in all kinds of languages that I don't know.

And the justification behind this point follows the same flimsy reasoning as the previous one, the reasoning that C is the only low level language out there. The post gives "browsers, operating systems and languages" as examples, but all three of these exist in Rust (Servo, redox/intermezzos/a bunch more, and rustc). I'm sure that D is up to the task for such software too, if it doesn't have them already. C++ of course has all of these.

Sure, you need to know some C when doing low level programming and/or FFI. But nobody's arguing against that. "Everyone “has been meaning to” learn Rust or Go or Clojure over a weekend, not C." is a false dichotomy. With Rust for example it's pretty easy to learn enough C to manage once you've learned Rust (there are tons of folks in the Rust community who have done this). You're not forsaking C, you're just focusing on something better. You can learn enough C to be able to read code and do FFI, and you're pretty much set for writing databases or operating systems or networking stacks or whatever. Reading C isn't too hard and if you speak another low level programming language you can pick this up over a weekend.

The only valid argument I see here is that C is is still used a lot in existing codebases, and you should be proficient if you want to be able to contribute significantly to them. Of course. But cut all the crap about C being the only language that can handle these use cases.
Ask HN: Is there a news site where you can define sources it must pull from?
I don't need something like Google news, that suggests news based on some algorithm, I need something i can manually add sources to and then it consolidates and classifies all the news from those sources. e.g. I add Bloomberg, Reuters, CNN, and it can pull news from all those sources and show them in one website with different classifications like Finance, Politics, Technology etc
I haven't found a way to patch a kernel with nontrivial modules without kernel restart. This makes the mechanism only useful to reduce system reboot times after a patch.
Value types is coming to Java 10, and Guy Steele is one of guys making it happen.

http://cr.openjdk.java.net/~jrose/values/values-0.html
I'm curious, what is the problem?
Segment (YC S11) Is Hiring Senior Solutions Engineers
Of course emotions are an argument. We're not Vulcans. Pretending that emotional impact is an irrelevant factor is a great way to win an argument without ever making anyone care what you said.
Isn't K&R's book littered with code examples that were canonical in the 80's but have glaring security holes? I wonder whether it's a good idea to have students work through "the bible". Hopefully they provide extensive exegesis in the lectures.
The main cost to performance is related to multicore proofs. It is an open question on how to work out complete proofs of multithreaded operations.

This is why seL4 does not support internal SMP. You can run an instance per core and assign it a separate memory space like to a VM though.
Kanya Rashifal 2017 in Hindi II Virgo Horoscope Kany Rashi 2017