skysight-inc/HackerNews huggingface dataset:
I don't see why this product would have a different porting strategy to the usual way OpenBSD projects (such as OpenSSH) handle it - target OpenBSD exclusively in the core project, and support other platforms with ports. Presumably that's what they are going to do here.
FWIW the usual OpenBSD story is "get it working, reliable and simple, on (Open)BSD, then add porting shims" (they'll have to add shims for linux anyway if they start using strlcpy)
except during iterative development, say, where maybe you execute once for test between each edit
Meet the Purchase Fish: The Digital Answer to the Marketing Funnel
Or doing discrete math, though you wouldn't be with a continuous quantity like Kilograms.
Deconstructing Clippy for ReSharper
Being a 100000 year old lycanthropic C coder things like lazy evaluation, garbage collection etcetera make my head spin (a full 1440 degrees) ..

But I have come across Milewski before since I started on C++, he has a clever way of explaining programming concepts while tending to avoid the usual "is a, has a".

A couple of months ago I gave Haskell a decent go, and I sort of got my head round the basics of being a lazy coder.

Take a never ending list:

let t=[1..]

Okay, fairly compact notation. I think of this code as declaring blueprints of the list in order to create it when someone demands it.

That's alright, as long as those blueprints take up substantially less space in memory than the list itself. In the example above, the entire list can be generated by a starting value and a function to append the previous value incremented by unity to the end of the list; the data exhibits the ability to be compressed infinitely. The same can be applied to many other simple lists, like the set of all square numbers. This is an efficient use of memory.

When the function required to create a certain list becomes comparable in size to the resultant list, this advantage is lost. Luckily, those lists are fairly rare - white noise would be a pathological example.
You miss my point entirely. If you have an address you have a unique identifier which is shared widely, usually publicly. You therefore you can be easily identified.
Is BuzzFeed no longer blacklisted from submissions?
The tone and the footer encouraged me to actually donate even what little I have to this project.

The footer is a smack in the face to all those responsive bootstrap modern crap marketing websites - while this, table based layout, single page html provides more information and works in every device, with every resolution. Everything just included. As it should be.

This page probably took as much time to write as the sentences in the page - instead of fucking around with html initializr responsive themes, colors and oh god make it stop.
to be fair your comment was insulting and completely useless.
Though unfortunately can't handle (mass * accel :: Newton) without swapping out the Prelude.
Ok, since the subtle approach isn't working I'll spell it out for you in big letters:

ALL OF THOSE THINGS I LISTED WILL IDENTIFY YOU.

Having government ID is irrelevant.
Database Versioning with Ladder Migrations
That's kind of funny, would they have removed all of the readings borrowed from China? What would Japanese sound like without any borrowings?

Historically, the Japanese people have been very willing to borrow words from other languages.
The problem with that is that the acquirer doesn't want to buy a company, then have all the employees quit after cashing out. Then their left with a company but nobody to run it.

So usually there's some sort of clause that requires the employees/founders to stay with the company for some time before fully vesting.
gcc at -O0 -g has always been decent enough for me, and I never saw any significant difference with clang (either in the past when gcc -O0 used to be /slighly/ slower, or now).

Things change with -Ox, but then again, who really cares? Generating optimized binaries is not something I do routinely, except when tuning for performance.

When I'm generating a binary for release, I couldn't care less if the project actually took 2x times to compile. In fact, to use feedback-directed optimization (which on some projects may make a marked difference, usually larger then the generated binary at O3 between gcc/clang), you actually have to build it twice, and _very_ few people actually bother.

clang used to be much faster at building, but then again the binary was never equally on-par performance wise. As clang is getting better at optimizing, the compilation times are getting more and more similar.

This is again, all hardly surprising for me.

I _have_ worked on projects using C++ where build times where incredibly slow. They all shared the common attribute of #include <megaheader_with_all_class_definitions> and "using namespace library".

For other projects, as long as rebuilding an object takes 2 seconds or 10, does it really make a difference? In those cases, linking actually takes disproportionately longer, to the point that compilation times are insignificant.

It's a genuine question.
Well, judging by the title, it's the Unreal 3 engine; I'd say that would end up being a pretty big binary.
I'm about to deploy a new autocomplete on my site, probably with 10s to 100s of millions of records, at least 100 users at once. Would the new Redis commands help here? How would the memory usage be? Is it better to just use something else like Cleo for autocomplete?
if by pg you mean postgresql it is available as an extension
This sounds like something from Spaceteam: http://www.sleepingbeastgames.com/spaceteam/
We really do. I don't think the UK understand how it's viewed on the continent, and probably never has.
They are, that's why they haven't spent much time on the website.
You build Unreal Engine from scratch everytime after each edit?

I think not.

The difference will be between 1s and 2s, given overall difference in speed. I suspect that your time to think about problems will two orders of magnitude more.

Mine is - minutes between builds.
libressl.org is the most professional landing page a project could ever have, what more do you want blink tags hero unigs, marketing spots, slideshows??

Every sentence and paragraph on that page is meaningful, unlike _any_ modern web crap app/mvp where visitor has to click and mock about just to find what the hell the page/project is about. Here its in the first sentence and you cant miss it.
Ruby Tips, Part 5
The tl;dr from the article:

> Stop associating “hashed” with “secure” when it comes to passwords. If you’re storing user credentials MD5-ed without salt, you’ve put an thumb tack in front of a steamroller - just a minor annoyance that won’t offer you any real security. You have to do it right or hashing means nothing.

> Start relying on key derivation functions for password storage.[1] Are they perfect? Will they be the best practice in five years? Probably not, but they’re your best option when rolling your own user credential storage.

> Don’t sacrifice security for performance. A slightly slower malloc in OpenSSL would have been much preferred, in my opinion, than the disaster that is Heartbleed.

- [1] There’s a fair bit of dispute over the ideal KDF for storing passwords, but generally speaking, any of the three covered in this topic are popularly accepted options.
How would you tackle named functions in coffeescript?
Why We’ve Created Likeastore
Get hacked, get trained for free
It produces a smaller binary, but that doesn't really give us any information on whether it's a better one.

AFAIK Clang and GCC are now roughly neck-and-neck in terms of performance though (at least as of December) - http://www.phoronix.com/scan.php?page=article&item=llvm34_gc...
"The type system is what the compiler (or interpreter) knows about your program."

Compilers know a lot more than just what is represented in "the type system" (as it's typically thought of, anyway). Control flow (basic block analysis, &c) for instance. Which isn't really taking away from your larger point - certainly, things represented in the type system are things the compiler will know about.

"Whenever you find yourself writing an assert method, take a beat and figure out if the type system could have turned that into a compilation error instead."

Possibly with a _Static_assert (or static_assert) as if C11 (/C++11)! Obviously there are substantial limitations still, but it's great to be able to pull more to compile time cleanly.
Mathematician named as the best job
For security reasons.

It is possible with CVS and even SVN to insert bad code on their repository server - but with git thats a much harder if not impossible to do.
Can't reply on the comparison with other products since I myself have still to compare and build an experience about this, but as far as how Redis performs, there is a demo here: http://autocomplete.redis.io. Basically for 8 million records it takes 1GB of memory (32 bit system), however here the records are source code lines so the average length is bigger than the usual search-term length. Definitely no problems in the ~10 millions range even with just a few GBs of memory. For +100 millions you need to either split the range across servers or use a machine with some non-trivial amount of memory, like 16-32 GB or alike.
Glassfish 4 hosting multiple websites and web applications
I guess yours is the only correct definition of a "useful thing".
What about the time and transportation costs? In my case, going to the library twice a week costs more than $8/month just in public transportation tickets.
SSL3 Deprecation for APNS Development Sandbox
We have observed something strange in our Apple Push Notification Service (development) powered by PushSharp framework.

This was working fine and all of sudden it's stopped working but the production environment working well.

We tried to decode the error messages, checked the certificates, app signing certificates etc. After spending so much of time in developer forums, JabR chat room for PushSharp, noticed a new pull request https://github.com/Redth/PushSharp/pull/369 from one of the developers claiming Apple Server has changed the security protocol to TLS from SSL3. The pull request is working fine and our development environment started working again.

This is quite strange and frustrating and in my understanding the registered developers are not notified with this change? Have you faced same problem?
Ask HN: What is the easiest linux version to setup as VM?
I would like to get a version of linux to dabble with. Ideally I just want to download something to a usb and run it as a VM. Gui is preferable but not necessary if it will save me time to setup.

I'm just looking for my first experience with linux (mainly to learn more about operating systems). I won't be doing any thing too complicated.
Nike failed. Now only Apple can save wearables
The killer app for video calling, would be one in which you don't have to hold the camera. We'd rather place the phone to our ear. And the current alternative is probably nostril cam. We each need a Lakitu.
You can download and run Ubuntu as a Live Distro from a USB memory-stick. Plug it in, boot from USB, instant Ubuntu. It's not a VM, but it's quick, easy, and needn't affect your existing system.
What the FAQ? Do's and Don'ts of FAQ's
I went to a Fog Creek open day once, back in 2004 or 2005, and Joel Spolsky said that they said they had some candidates that couldn't tell if point (x,y) was within a certain rectangle or not.

I also thought that it myst be a trick question as even with my limited skills as a PM I could do that.
Now, they need to offer marketplace sellers some type of 2nd-day delivery service at a reasonable price.

Having Amazon Prime and knowing I'll always get the item on the second shipping day means that I'll chose the Prime item even if the marketplace seller is cheaper.
This would also be true for the example given of what NOT to do: "the free wheelchair". Using readily available components allows these products to go on being used well beyond their initial design life. What could be more appropriate or desirable than a working repairable wheelchair?

I can't remember clearly, but when I first started working at Dyson I think we got a talk from the chap that worked on this project.
Hopefully the people behind password-hashing.net will give us an up to date recommendation when their contest concludes.
GCC produces a slightly smaller binary when debug information is stripped, but LLVM produces a massively smaller binary (half as big) when debug information is included. If you're building debug, why would you care how big the stripped binary is?
Looking at search.php, you could use the native json_encode() function available from PHP 5.2 onwards. (I know, it's just a demo)
Oops, good point. Still, even without inflation, more bargaining power means less money for the other party: more money would go to the workers, and less would go to the capitalists.

This is even more direct than this inflation stuff, I should have mentioned it right away.

As for how people store their money… I believe many rather important financial "products" are sensitive to inflation. I'm not a specialist, but here is an example: insurance. You give an insurance company something (money, bonds, debts…), and ask for money in return. Not now, but later. If that sum is not indexed to inflation somehow, it will be sensitive to it. One also need some cash to exchange all those bonds and stocks and what have you. By reducing the money supply, inflation may reduce the fluidity of the market, which may have effect on the market value of stocks.
You lost me at UML.
Not all identical, some simply related, all from the last 24 hours:

You Can Survive A Flight In A Jet's Wheel Well,
But Probably Won't (npr.org)

-- https://news.ycombinator.com/item?id=7623300

Experts stunned by local boy's Hawaii flight in
wheel well (sfgate.com)

-- https://news.ycombinator.com/item?id=7622257

Teen Survives Flight To Hawaii In Jet's Wheel Well,
FBI Says (npr.org)

-- https://news.ycombinator.com/item?id=7622231 (discussion)

Teen OK after riding in wheel well of Hawaii jet
(boston.com)

-- https://news.ycombinator.com/item?id=7621054

Survival at High Altitude: Wheel-Well Passengers
(faa.gov)

-- https://news.ycombinator.com/item?id=7620736 (a few comments)
You might have a point from a technical perspective, but I think these kinds of technically easy projects show their worth in other ways.

In this case, the builders had to think about their users, the best way to notify people, the kind of notifications which would work best (active/passive) and in doing so, they've just strengthened those neural pathways that are involved in this sort of customer-focused thinking.

The fact that it's technically easy just means that it was a lightweight thing to do which didn't take up much time at all and generally improved morale. I think that's a good thing.
Thanks, I'll do this.
Why Content Goes Viral: What Analyzing 100 Million Articles Taught Us.
The simple answer is that Emacs has fantastic support for working with Lisp code. Have a look at this page for a more detailed explanataion: http://cl-cookbook.sourceforge.net/emacs-ide.html#Slide-2
Onthe up side there are docker containers you can just deploy with gitlab. Testing went ok but I've not got the chance to use it really.
I've been wondering if you could do something like "gradual typing" with full blown proof (or at least dependent types).
No one is yanking OpenSSL, this is a fork. OpenSSL is still available and developed and windows apps can continue using it.

If windows (and any other non-OpenBSD OS to be honest) people just HAVE to have LibreSSL instead of OpenSSL on their OS then the donation link is at the bottom of the page.
> If StartSSL manages to topple OpenSSL and to discourage any further OpenSSL development, then that'd be a very bad thing for a lot developers.

Can you elaborate on that? I thought StartSSL was a certification authority.
Boh! I saw the FAA discussion but the document was undated and I thought it was upvoted out of it pure interest...I hadn't seen this story until I woke up but didn't really watch the news yesterday.
It's probably easier to cut the code right down to size now, then re-add compatibility once the base is solid.

Given how knarly build systems can be, then only supporting modern versions of the same could help remove a lot of cruft.
Re: slower malloc, there is no actual proof of, say, modern glibc's malloc implementation is slower in any useful measurement of the term. Heartbleed, however, didn't happen because someone failed benchmarking 101, it happened because someone failed bounds checking 101.
The problem is performance: a small binary might end up having lots of its code in L1 (16KByte) / L2 (512 KByte) cache (dec2013 values for i7, taken from https://www.scss.tcd.ie/Jeremy.Jones/CS3021/5%20caches.pdf)... but a 70mb binary should produce a lot of cache misses.

I wonder what performance penalties arise from that.
Obviously something that's caught a lot of interest - plus it's useful to have links to different versions and different (but related) stories.
I disagree. I can only talk about f# but for me the comprehension syntax is mostly an aesthetic choice:
[1..100] |> List.filter (fun e -> e % 2=0)
|> List.map (fun e -> e * 2)
or:
[for e in 1 .. 100 do
if e % 2=0 then
yield e * 2]

Personally i prefer the first one since it's compositional and more like a dataflow. But i am not familiar with Scala so maybe i am missing something.
They not necessary do. Yes, for most parts it irrelevant, but it increases the cost for the "attacker"
This comment more than anything shows how divorced tech thinking can be from reality.

>> In all seriousness, this [the concept of libraries] doesn't scale

1. It scaled perfectly well for 3 centuries with no reason not to continue scaling with the requisite funding. It could be argued that the concept of a library has scaled since 2600 BC. It scales for almost every town in the Western world and every single University, College and School worldwide. Beyond food/clean water sources and a medical centre the next municipal institution offered to struggling African and Southern American communities is often a School/Library with books.

In the West, demand is tempered by the need to physically go to a Library to source the media for consumption. Some might see this as a barrier to entry for certain customers; good. It is not a barrier to scaling though, it is a net benefit that makes the customer flow manageable.

A similar argument can be made against Amazon. You physically need to access the internet? You need a computer or mobile device? You need a payment card? You need an address? Ha. Too many barriers.

The only barrier to a library is physically arriving at the library and in some cases mobile libraries will come to you with an RV packed with media for free consumption.

Only a person blinded by the current SV-inspired business models can look at something in existence, already scaling and say according to me I do not believe this idea scales

2. Since it is impossible for any individual to consume the sum total of media at the same time the system has built in redundancy guaranteeing it scales effectively. IE You cannot physically check out and consume every piece of media therefore unlimited copies are not required to be stored. Data analysis yields the optimum level of media storage further improved by aggregating analysed lending habits.

3. Libraries are not weakened by greater public interest, they are strengthened by it. The demise of the social library has been largely brought about by the ubiquitousness of online content (including piracy). If those sources dried up overnight library use would explode in growth and Governments would double their budgets.

The idea that if libraries suddenly gained too many customers they would be shut down is ludicrous with absolutely no credible reasoning.

Source: History.
Are there any special circumstances with those states?
This is indeed a great course.
The videos are well done, and Peter Van Roy's explanations are very clear. Even seasoned programmers could learn a lot from this course.
2x release build compile time might not be a huge deal to you personally, but over thousands of builds that are happening every day, a 2x decrease in time would mean a lot of saved processing power and electricity. Speed is always important in tools like compiler, so there is never a legitimate excuse for it to be slower than it could be.
> relies on the assumption that there is something special about the mechanisms behind the human brain's function

Imagine someone spilled the contents of a large trash in a pile on the floor. Now it is your task to create an exact replica of this pile.

There was absolutely nothing special going on when that pile of trash was generated, and yet it is impossible to replicate.

Sure, you can create similar piles of trash by spilling other trash cans on the floor, or you can carefully arrange banana peels an half-filled soda cans to create a pile that looks similar from the surface. But generate an exact copy? No way.
I've always found this to be a strange duality in the Scala community. On the one hand they praise strong, static type checking in general Scala programming, and on the other hand they praise an almost untyped paradigm in the actor model. And few people seem to take issue with this.
And aspiring mathematician as the worst.
Linux Mint Might Use the Same Base for Linux Mint 17, 18, 19 and 20
The point that I and others want to make, is that regardless of the ultimate cause of failure, we want to criticize the whole design approach. Security in layers needs conservative coding style, both safe and sound internal APIs, bounds checking and an overly cautious memory allocator.

It's not just about finding and fixing bugs, but how to improve the whole process.
Russia Displays a New Military Prowess in Ukraine’s East
I've heard of many situations where East Asian students of English cause confusion by answering "Yes. Yes, I don't agree." — which doesn't sound natural in English.
They're making a fork of OpenSSL, and removing all the cruft.
Porting it to a completely different language would be an error.

There are several alternatives to OpenSSL available and/or popping up right now. They might or might not be a better choice for new developments. But refactoring OpenSSL (where a lot of currently used software depends upon) is certainly not a dumb decision.
You should also check out https://bugcrowd.com
More usable, yes. Usable, no.

I’ve been working in C++ for about ten years, since a couple years after I started programming. It’s certainly gotten better over time—particularly in terms of containers and ownership semantics—but it’s still not good exactly. For instance, it’s possible for mortals to write exception-safe code now, but still not memory-safe code.

I spend an inordinate of time language-lawyering for my coworkers to avoid future debugging hell, and though in my opinion I don’t even know the standard all that well, I’m certainly among maybe a few dozen people at my company who come close to knowing it in full.

It’s just an absurd source of artificial expertise that needs to die.
I don't see how this couldn't be prevented by having ground crew take a quick look inside the wheel wells before the plane taxis to the runway. Is it too elevated to see in easily?
Forensic Ballistics: How Apollo 12 Helped Solve the Skydiver Meteorite Mystery