skysight-inc/HackerNews huggingface dataset:
For the past five years Twitter engineering has been focused on two things: rebuilding the infrastructure and building an ad platform. They nailed both of these. But unfortunately that left little time for product engineering. Add in the revolving door of heads of product and it's no surprise there hasn't been much substantive change to the product.
Most statically typed languages prefer 3 over 4. For the simple reason that it's easier for a compiler to verify that you've handled all the success and error cases.

For Haskell though there exists a library which allows the compiler to track exceptions in much the same way as normal values, and thus warn you when you fail to handle an exception in a particular code path.
TourBud – Get an amateur concierge on the phone while traveling new places
So Java is the pingtest winner, and I'm sure that with just a little more work it can be the loadtest winner as well.
You could have checked exceptions with more flexibility than Java had, and it might work out well (or might break down for other reasons).

"How do you write a 'map' function that can accept a callback, where the callback may want to communicate back one of several distinct kinds of error?"

With Java style checked exceptions, you don't, and that's for sure a problem.

However, one approach would be to say that map is polymorphic in the exceptions that may be raised from within it. But that set is not entirely unbounded - it is precisely the set that can be raised by its function argument, unioned with any that might be raised during traversal of its container argument.
That's exactly where I disagree. In my opinion, the apprenticeship model works quite well in IT.

I guess I'm biased here; I grew up in Switzerland and did an apprenticeship in IT. Also, the company I've been working for the last five years has had apprentices since it's very beginnings and most of the apprentices chose to stay afterwards.
> Suggesting that people will decide not to work if you give them £6k a year is a ridiculous straw man.

Around 1.2 million people over the pensionable age live on only the state pension (and that has other qualification requirements). That's a little more than the number of people over 60 actually in work.

Sure, 40 year olds typically have a little more energy than 70 year olds and quite probably a few years of mortgage payments left, but I still think you can safely add more than a few thousand early [semi]retirees if you open it up to everyone and remove all qualification requirements.
I saw this come up during the handmade hero screencast yesterday, and I appreciate the sentiment a lot. Although I have a feeling that Casey and his crowd would disagree, I believe this initiative touches only part of the problem, and worse, it could be interpreted as absolving programmers working at higher levels of abstraction from doing their part.

Knowing what happens behind the scenes when you write a line of code is important. Question the decisions made by frameworks and libraries, and question whether you actually need them. Keep the stack minimal and thin. Choose the right tool for the job, and be knowledgeable of its inner workings. Resist replacing tradecraft with ritual, especially when programming in groups.

These can (and should, in my opinion) also apply to web development, a huge category that seems to be all but despised and written off by the handmade people.
Well, just a few days before, in the 10.10.5 update of OS X, Apple updated many userland utilities from upstream. This includes apache, curl and python. (https://support.apple.com/en-us/HT205031).

But you are right in general. Such update is only once in a blue moon.
I agree and disagree: I disagree because one of the main reason why "the computer is slow" is the HDD: use a SSD instead for your main storage and it makes a world of difference (except if you use bloated websites).

I agree because I remember BeOS: on the same computer it was much, much more responsive than Windows or Linux.

It's probably much more practical to buy a SSD instead of hoping to replace all your bloated SW with leaner one..
Briefly and massively simplifying: Unless otherwise specified, sRGB is the default storage and display colorspace for most digital applications dealing with RGB image data (excluding video)

https://en.wikipedia.org/wiki/SRGB

However, one cannot do computations on an image in sRGB colorspace since the colorspace is not linear - the values will turn out wrong. I.e. imaging algorithms expect source data to be in linear colorspace, and if fed sRGB data the result will turn out more or less wrong.

Thus, when doing any weighting calculations etc. on a set of samples the samples must be in linear (e.g. RGB) colorspace.

Your OpenGL implementation may or may not handle this automatically for you if you specify the image to be in one of the sRGB texture formats.
https://www.opengl.org/registry/specs/EXT/texture_sRGB.txt

So, in the general sense, if doing any handcoded imaging routines, and reading e.g. PNG image, one needs to convert it to linear colorspace before processing, and back to sRGB before writing to disk/displaying.
Holy keyword stuffing.
JavaScript services engine
Hi

I'm leading the gatejs project which is a Javascript services engine. We actually support HTTP(S)/SPDY proxy - reverse & forward - and we aim to offer web serving, DNS proxy/server and mail proxy/server (imap,pop3,smtp). I 'm looking for some tips to increase the project visibility. We need feedbacks and advises. Feel free to contact me ! Cheers. MV

http://gatejs.org
https://github.com/binarysec/gate
If they hadn't written a web browser, the internet would have been the internet of IE6 forever.
Another great resource is the tz database [0].
It includes some great vignettes as well as the time zone rules:

From Larry M. Smith (2006-04-26) re Wisconsin:
http://www.legis.state.wi.us/statutes/Stat0175.pdf ...
is currently enforced at the 01:00 time of change. Because the local "bar time" in the state corresponds to 02:00, a number of citations are issued for the "sale of class 'B' alcohol after prohibited hours" within the deviated hour of this change every year....

From Winston Churchill (1934-04-28):
It is one of the paradoxes of history that we should owe the boon of summer time, which gives every year to the people of this country between 160 and 170 hours more daylight leisure, to a war which plunged Europe into darkness for four years, and shook the foundations of civilization throughout the world.

[0] http://www.iana.org/time-zones
I will put this even more simply.

You are a copyright maximalist. I have a different view where I believe that creators should be paid but not to exclusion of the rest of society and not to the exclusion of the rule of law. This colours both of our views of the facts and we will never agree. We both think that the other is sadly misinformed and a foolish with a politically motivated viewpoint.

Goodbye.
WTF? You're moaning, that the systems programming language invented over 40 years ago has no means for automatic memory allocation management and high level abstractions. Sorry but this is just crappy post.
Previous discussion of the linked video: https://news.ycombinator.com/item?id=10082517
Let me guess: SoA instead of AoS?
That's a classic optimisation, there's even an annotation for this in 'Jay' (well there will be when it will exist https://www.youtube.com/user/jblow888)
Well a few minutes with google and wikipedia will set you straight on this. Actually that your legally wrong insistence that copyright infringement is theft actually damages your copyright maximalist stance in the eyes of both legal precedent and public opinion. NB I don't argue that copyright infringement should be legal -- merely that is is a different class of crime than theft.
Uber seen reaching $10.8B in bookings in 2015
Not to mention their spam emails - "You should follow this celeb or that celeb". No, I shouldn't thanks.
For a starting point, see http://netzhansa.blogspot.no/2012/02/traces-of-awesomeness.h... , where Hans Hübner teaches how to do dynamically selective tracing with SBCL.
Zboon Mabsoot – No unwanted ads
Rather than trying to fill in data that we don't have, are there models based on only the data that we actually have?
Pot Driven Development is fine , what is not is them shutting you down when you write a successful product based on their api. That's the stupidest policy ever.
With CLOS, I'd consider adding a specific :around method for tracing a particular specialized method.
Computer simulations that teach themselves to walk
But that's just instinct isn't it?

You can't really control how you feel about your children once they are born.

It's not like you are making a deliberate, conscious decision to value their life over your own. That decision has already been made for you by your biology.
you might just want some practical experience that
within a few months could actually land you a job
that provides a decent paycheck.

It always struck me as ironic that student engineers, who are on track for well paid jobs, get offered paid internships; but student journalists, who are on course for poorly paid jobs, are expected to do unpaid internships - or even pay to do internships.
I mostly get restless when I'm excited about something (much like kids on Christmas Eve).

Its particularly bad tonight/this morning; I found Elixir a few days ago, and I keep thinking about doing things with it.

Often I'll try to go to bed, get in some weird thought-state, and "wake" back up with a fully planned project in my head I just absolutely have to get worked out.... or.... rather, usually, some really weird/dumb idea that I thought was great and probably shouldn't have wasted the night on.
Lita 4.5 released
Linear vs gamma space is not an OpenGL specific problem. Also the decode/encode doesn't require 3D API support, it can also be done in the pixel-shader (decode from gamma to linear when sampling color textures, and encode back into gamma during a post-effect pass that most engines have anyway).

'The importance of being linear' is the best introduction to the topic I know: http://http.developer.nvidia.com/GPUGems3/gpugems3_ch24.html
Hmm, according to the wikipedia article on ~, it's the original negation symbol in logic, and "Modern use has been replacing the tilde with the negation symbol (¬) for this purpose, to avoid confusion with equivalence relations."

I wonder when that started.
> At the same time, there have been no core changes to Twitter in the last several years.

I thought they just figured out a revolutionary code change that allows them to support messages over 140 characters! That's real progress...
Except that iOS deep linking isn't natively supported, you have to do it through DeviceFingerpting and even if it was setup correctly you'd have to go through a lot of effort to do it.
I also use vc-annotate, but tig blame is still superior in terms of commit annotation (shorter, easier to customize, and commit-based coloring).
The reasoning is that it is so easy to make mistakes in performance testing and then draw the wrong conclusion.

As somebody else mentions, this is testing NFSv3 in the VMware setup against local disk in bhyve. While still interesting, it certainly is not a 1 on 1 comparison.

edit: to expand a bit on that.

- the VMware storage appliance gets 24GB, the bhyve config isn't mentioned, but the host OS can access 32 GB.

- as he does mention his test load fits in the ARC, again interesting, but normally you would test real-world loads where your workload does not completely fit in the cache.
Sounds great!
Is the code open source?
Do you plan versions for Androind and WinPhone? We would like the latter.
Westlaw and LexisNexis Numbered? – Round 2: A Talk WithJake Heller CEO of Casetext
New banking licenses to seed fintech revolution in India
Hamas accuses Israel of using dolphin as spie
Isn't this similar to infinite monkey theorem: "Given an infinite length of time, a chimpanzee punching at random on a typewriter would almost surely type out all of Shakespeare's plays."

Given that we can have infinite big neural network and train it in an infinite length of time, it can compute any function.
Terrible PEP, I hope it gets rejected. One-off flags like this are hacks that shouldn't be in stdlib. It simply stinks, in an area (time handling) where the stdlib does not really smell like roses already.

Dealing with time adjustments is the OS's job, not userland. If your job has to be scheduled exactly and cannot rely on the OS, and you refuse to deal with UTC, it's your own damn fault and you can always just use a long-running process with timers.
the power is not in the inherent speed (its not the fastest)

You compared the speed yourself in the sentence immediately following "apples to oranges", so I assume it's actually "apples to apples", but your point is that VMware is better despite being slower.
I'm just looking up in the dictionary:

verb
verb: share; 3rd person present: shares; past tense: shared; past participle: shared; gerund or present participle: sharing
1. have a portion of (something) with another or others.

You're the one making your own definitions...
> And yes I do have a law degree.

Then you will know that contracts are only enforceable if they are legal. Also you will know that coercive contracts which one party could not understand tend to be looked upon unfavourably by courts.
The Haskell approach would be to use `Maybe` or `Either SomeError`, and have Functor/Applicative/Monad/etc. handle the error propagation. More experimental approaches are using Algebraic Effects, which are like resumable exceptions, tracked in the type system, with ambient handlers.

It's an elegant way to solve this problem, mentioned in the article:

> However returning error codes makes error propagation difficult. When there’s need to propagate the error up the stack several layers, every layer needs to make sure that they do it correctly... ideally most of the code along the way should be error agnostic and not really need to know about the details of the possible errors but still be able to propagate them up to the caller without a hitch.
And option number five, conditions + restarts, http://www.lispworks.com/documentation/lw61/CLHS/Body/09_a.h..., which is a bit like more formalised callbacks / exceptions depending on usage. Restarts are a great thing for both interactive (using a "continue" restart if e.g. something can be safely skipped) and programmatic usage (to customise an algorithm where you control from the outside whether a restart should be invoked in case of a "soft" exception/condition).
> Every continuous function in the function space can be represented as a linear combination of basis functions

https://en.wikipedia.org/wiki/Basis_function

This is basic and obvious math. Does slapping the word 'neural' magically make obvious results 1000% more interesting? Why? Because the word 'neural' carries some of that artificial-intelligence-technology-of-the-future cachet?
While this doesn't seem to be very well expressed, I think the sentiment behind this is worth discussion.

Computers do waste a huge amount of resources in the name of expediency, They are slow to do things, because it is simply cheaper to develop that way.

I think there is scope for the sort of crafted code that is described here though. Not only as an artform but as a practical measure.

For any small piece of code a compiler can produce a comparable result to hand written assembly. Entire programs that have been written in assembly tend to be much smaller, use less memory and run faster. That apparent contradiction is where the focus of crafted code should be. Most of the gains from hand crafted assembly do not come from finding the quickest way to do a simple calculation, but the additional attention that gets applied. It wouldn't surprise me if the majority of the gain comes from not instruction level optimisation, but calculation level optimisation.

For example, how do you find the last word in a string? Have a look on stackOverflow and you will see examples in many language that are the equivalent to.

var lastword = fullString.split(" ").pop();

The work done by this operation is easier and easier to overlook as things get higher level.

I have often wondered on the merits of writing a virtual assembly instruction set that is platform agnostic (so compiles/transliterates to native) to explore this idea. It wouldn't be like JVM bytecode which implements higher level magic, and it wouldn't be like LLVM which is not aimed at being human writable. Some existing RISC instruction sets might be close to what is needed. There would be potential to write things in multiple instruction sets, If the interfaces between code sections are well defined (stack/register/memory passing) you could write modular code in a preferred Instruction set.

This isn't practical for many applications, but I'm not convinced that doesn't have a possible niche.
Spectrum Painter: Converting images to IQ streams that appear in waterfall plots
An architect’s approach to UX journeys
what you describe is nice, but it lacks one thing I value a lot - freedom. of choice, of doing things just randomly and not planning every single thing and if something goes wrong, house of cards scenario might happen. freedom to meet a friend randomly not because now I have 1 hour I can afford to spend, but just because I have that hour any evening, any day, any year. not even going into things like longer travelling (ie min. 2 weeks), probably the most enlightening activity one can do to his mind.

good for you (but only if rest of your family truly agrees), but to me, you describe pretty much a nightmare. the few guys (in non-founder area) that were so super-performant, and were godsend for their employers, were actually shitty partners, friends and fathers. Your health is a good indicator if your mind is not stretching things too far. And last thing - for most women, it doesn't count how much time you spend with them, it's the time without, lack of intimacy that moves them into distance in relationships.
Where did you get the idea that message transporter is a syslog derivative?
syslog is meant to collect logs from daemons, which typically run locally.
Remote logging (a.k.a. 514/udp) does not make syslog a general purpose
transport.

Fluentd, on the other hand, does very little to handle logs. It receives,
processes and forwards structured messages. Those can be logs, of course, once
you apply liblognorm or grok, but it's far from be the only thing. I wouldn't
use, for example, syslog to transport monitoring data or inventory, but
Fluentd matches the task very well.
Superradiance in Ultracold Molecular Samples
Actually quite a lot of serious by non-power-users do want this. You only have to look at a random persons laptop and see and the file names with "final version.docx", "final version 2.docx" "final final version.docx" etc to see this. They certainly don't want a console based solution but a cross between git and word style track changes would make lots of people pretty happy.
Things really are getting worse for most people now. Something that maybe we aren't used to as technologists in our little bubbles away from the rest of the economy.

Dismaland is not even satire, it's a reflection of what is really happening as the rich try to prop up a system that looks like its about to fail again... buy gold and bitcoin.
I cannot comment too much myself, since I only tried it for smaller projects, and nowhere near the amount I gave to hg/git/svn/and others.

That being said, it's not any different from hg/git in terms of cooperation, and more similar to hg in the sense that history is irreversible by default.

But the UI (cli and web) is very well designed. There's nothing to dislike, really. I couldn't care too much about the wiki (IMHO, a better solution is use md documents directly in the source), but the issue tracker solves distributed bug tracking in a very elegant way. Contrast to git/hg, where you have to use third-party or centralized bug tracking with poor integration.

Fossil is used by the sqlite project (and several other hidden gems).

I still find unbelivable that fossil has such a well-designed commit graph and interface, and git (with so many eyeballs looking into it) has nothing similar (and I _do_ know "git show-branch").
do you mean to add an :around method on the one I'm interested and trace that instead?
Especially now that we actually have a bunch of contenders lined up to finally phase it out…
The current state of WebUSB in Firefox: a few patches, nothing really new since late 2014. https://bugzilla.mozilla.org/show_bug.cgi?id=674718
I Didn’t Respond to Your Email, My Husband Coughed to Death Two Years Ago
Thanks for the encouragement - I downloaded Rust 1.2 for windows and finally I got this working out of the box. Yay! (still had weird problems at Rust 1.0 beta...)
Just as almost all commercial DBMS vendors do.
Ask HN: How to find a donar for StartUp in Pakistan?
Hi all i have been searching for foreign donors for my startup IT company. i tried and applied all the information that i get online but no success. maybe i am missing something in my proposal. Can someone guide me how to find a donor for a startup it company and a suitable proposal letter. Thanks in advance
Those are probably the same people that are convinced that Pepsi and all the others would immediately use Coca Cola's "secret" recipe and duplicate the taste 1:1 if they only figured out how.
> raw cost for a below-poverty annual subsidy of $12.5k to all adults in the United States:

That's the raw cost for providing a post-tax increase of 12.5k for all adults.
And now for Android please! Always looking for a good japanese learnign app.
Thank you for the very entertaining link.

The following is not particularly a disagreement with the overall intent of your comment; it's largely a tangent.

Perhaps, as a non-lawyer, I'm missing what's actually going on in that conversation, but it seems to me that just in those 10 minutes, a lot of airtime is being spent on rhetorical manoeuvring and persuasion.

The main example here involves the very idea of using a dictionary as some kind of authority. It's nonsense to suppose that a dictionary is anything but alphabetized preposterous oversimplifications. With application to that deposition, we all know that that definition of "operating system" is the sine qua non of what is usually meant by an academic, but that no consumer who goes to buy an "operating system" is expecting to get only resource-management functionality. They expect a shell (CLI shell, GUI shell, or whatever), for example, which by those academic definitions is clearly an application and not part of the OS. It might be a bit silly to next-century-quarterback someone as smart as WG3, but it seems to me that perhaps he dropped the rhetorical ball under pressure here; I think a more persuasive reply would be something like "there exist contexts in which that's what those words mean, and there are contexts where that is NOT what those words mean". I suspect that'd have been a better rhetorical manoeuvre.

Why does Boies keep mentioning that dictionary is by MS Press? Does he think the audience missed it the first time, or the second time? I suggest it's for some reason involving "conventional persuasiveness".

Once again, I suspect I shoulda gone into law. It just seems so fun. Shitty dress code, though.
For my own understanding, why do you say "(Exceptions) turn your program from a simple local thing into a complex nonlocal thing, which is not a good idea if you want to understand it well."?

My understanding exceptions only bubble up if they weren't handled at the point of failure. This is exactly the same if you don't check the return type of a function that could return error. Both of this situations point to poor programming technique rather than underlying implementation option.

One thing that makes me currently prefer exceptions to error returns is that within a try/with block you can write the code as you'd like to happen and hence easier to understand and maintain. All exception handling can happen within the respective catch blocks.