skysight-inc/HackerNews huggingface dataset:
> "Ad-hoc" seems subjective but to me it feels very carefully thought out.

I guess I'd like to see a simple formalism.

> myself (and many others I know) being easily able to get high performance code when we need it.

That's true for a lot of languages. It doesn't make it Rust-level.

> I'm not arguing against static type systems in principle, but these are practical concerns rather than theoretical ones. I don't know of a mainstream static language that supports a fully dynamic REPL (Haskell's isn't great) and casting back and forth to `interface{}`, `Object`, or `Any` everywhere is a huge overhead compared to duck typing. I look forward to a future language solving those issues, but that's not the case today.

Shrug, not my experience. I don't know what you mean by "fully generic", but I've been very happy with the Scala REPL - I've never once thought "this would be easy in the Python REPL but I can't do it because of the type system". Casting is indeed a big overhead if you're doing it everywhere, but my experience is the cases where you need it are extremely rare.
ESO: “Dear friends we will be making an announcement today at 19:00 CEST.”
Hear, hear. Web fonts are fine when used as fonts. They are not fine when used as images (unless the image corresponds to an actual Unicode character).
This is awesome! Thank you! :)
Just to add: if you want something similar that is free, you can also use Lazarus:

http://www.lazarus-ide.org/

It has more cross-platform options, and uses the Free Pascal compiler.
.. and in general private providers deal with the complicated uneconomic problematic cases by punting them back to the NHS. The state system is "insurer of last resort", insuring you against the failures of the private insurance system.

I'm OK with it too (in fact have used it since my previous employer offered insurance, so why not) as long as people understand that it's a convenience for people for whom time is more important than money and who want to get prompt treatment for things that are important enough to stop you working but not enough to kill you.
Yes and we underestimate how often this kind of rule can apply.

To have fast network, reduces network utilisation (for example using cache). To have fast database, reduce number of queries (for example using more complex queries). To have fast memory allocation, avoid dynamic memory or preallocate...
‘Brainjacking’ Could Become a Hacker’s Favourite Weapon
If you just want to make a simple Windows Forms application, I'd just use .NET (VB or C#). If you don't have Visual Studio, you can download the Express version for free.
So do you just randomly answer job listings that fit the bill or is there some better way?
Not really future-proof...
http://www.cnet.com/news/google-saying-buh-bye-to-chrome-app...
Well, once you know that PowerShell uses the verb "Get" for fetching data, and the noun "Content" for file contents then those are reusable bits of knowledge that slot together with other verbs and nouns. It's easy to hold in your head and build your knowledge over time, and better yet, the third-party add-ons obey the common conventions, so you can experiment with confidence.

When you learn the *NIX command-line from scratch, everything is special cases, so the whole experience is peering at man pages and slowly rote-learning commands and options. The only commonality is that if you try to guess, you'll probably be wrong. My patience with the philosophy of independent tools hit breaking point a while ago, when I had to start learning the different CLI tools from rival cloud providers - so much to learn, and no consistency at all.
Clicking on the domain name is close to that.
It's always cool when research projects show that they would work in the real world. Lots of times they are some professors pet idea and don't really go anywhere. It will be interesting to see if in a year to 18 months if anyone else is using OpenPiton.
React Native uses native OS components, meaning they'll render fast. But if you want to do heavy computing you may get frame drops. Some bundled components are partially native and partially custom, so you'll still need to be mindful of how you work with them.

There's a section in the React Native documentation dedicated to explaining this and I think it does a good job of it: https://facebook.github.io/react-native/docs/performance.htm...

In my opinion, for many use cases you'll be able to write an app that really feels native an performs very well. If you need more performance or other custom stuff you are also able to integrate your own native components (e.g. Swift/Objective-C, etc.) into React Native.
Detecting voting rings using HyperLogLog counters (2013)
Cheer up and speak to someone. I was rejected by one of the big 4, I laughed it off and life went on.
Why not?

1. Out of a thousand people entering "SEPT2", how many mean "September 2nd"?

2. How many of them use that shortcut intentionally?

3. How many people mean some gene?

My answers are:

1. almost all of them

2. A respectable part of those in 1.

3. A dozen?
Always worth a re-read because it's short, interesting, and teaches a good lesson
Yes, I'm on 2.25, which is the latest I believe.

> I might be wrong, but I have a recollection that this was massively improved somewhat recently, maybe a year or so back.

I seem to recall hearing that too. A brief skim of the commit log shows multiple possible improvements, but I don't have time to drill down further into that.

It could just be that it used to be worse. :-)

(If you look in the core DFA loop, which is in the `dfaexec_main` function inside `dfa.c`, then you can see that there is a completely different path through the DFA if it needs to use multibyte encodings.)

> But \w I guess should behave differently depending on locale, e.g. I'd expect it to match ß in UTF-8 but not C.

Exactly. But this doesn't have to have a measurable performance impact, assuming the number of matches doesn't radically change. (Well, this is a bit of a lie, because a Unicode aware \w is much bigger than an ASCII-only \w, which implies the DFA needs more memory, which could lead to a more general slowdown if the state cache needs to get emptied more frequently.)
Also, if you ever have an emergency, you're being treated by an NHS ambulance crew and taken to an NHS hospital.
In watch mode, most testing frameworks can detect that you saved your test file and re-run it.

With AVA, if you save the file your test is targeting, it will re-run your test.

And every other test targeting it.

And every other test that has a nested dependency on it.
Could you post the Julia code? Unfortunately, you do have to make sure that the types are correctly inferred by the compiler in high-performance loops. Or maybe you used a global.

http://docs.julialang.org/en/release-0.4/manual/performance-...
Isn't this just a shared ledger to encourage more trust, with the other banks all keeping a copy so that if UBS say they settled with Santander but there's disagreement then they can ask the others to verify?
New research shows Europe leads the world in inherited wealth
One problem is that functional programming style is often focused on recursion - not just in its functions, but also its data structures. Trees, linked lists and graphs are GPU poison, while arrays map very well to the hardware. However, arrays don't have the pleasant recursive structure that allows you to encode nifty properties (and do pattern matching) the way that is popular in functional programming.

However, array programming is basically functional programming, and does map very well to parallel execution in general. While most array programming is nowadays of the fairly simple form you see in libraries like Numpy, older languages like APL show how far you can go. It's a somewhat alien style of programming to most modern programmers, though.

My rule of thumb: parallel programming is hard. Functional programming makes it trivial to make parallel programs that are correct, but they still might not be fast.
Even when disk caches are involved (ie. data in RAM, not cache), a typical grep application (short "needle" to search for) should saturate the memory bandwidth before CPU cores.

Running a few threads/processes in parallel could improve throughput with latency hiding, but adding more shouldn't give any benefit.
Most people should write universal apps: modern language, modern tools, modern UI.

If you don't like that there is always Qt.
Also useful: "If you want to make a fast program, use a slow computer."
Hmm, currently the block size seems still manageable to me (80GB). Also you can turn on pruning so you need to store only the amount you want, and you can still use all the major use cases.

You don't need to mine bitcoin to use it. It is still very cheap to use bitcoin still as an independent node. You can use those gateways to make your life a bit easier, but from cost perspective I think they are not needed.
Try it in UTF8 mode and then you'll see a difference
> double kilometerToMiles(double km) { return km / 1.6 }

But what if you could have `miles kilometersToMiles(kilometers km)`? Under the hood its the same old doubles but you would be able to catch errors such as the one that caused Surveyor failure [1].

e.g. Haskell has units[2] and dimensional[3] that allow you to do exactly that

[1] https://en.wikipedia.org/wiki/Mars_Climate_Orbiter#Cause_of_...

[2] https://github.com/goldfirere/units

[3] https://github.com/bjornbm/dimensional
Python is in space [1].

There is such a large breadth of fields that it has been successful in. Web apps, data analysis, machine learning, micro controllers, etc.

It has a long track record for being stable, reliable and secure. The popularity over the years has been steady and with the recent addition of data science field and machine learning, it's seeing another growth spike.

In my opinion, it's a highly versatile and very productive language that seems to be able to handle just about any job or industry you can throw at it. I personally switched to it full time and love it.

[1] https://www.youtube.com/watch?v=Zm08hXeuv-I
IBM’s 24-core Power9 chip
or if you want cross platform apps - Use .NET too... Microsoft bought Xamarin and added iOS, Android, and Linux and Mac support to .Net and Visual Studio. It's all included free in VS 2015.
Strawmen are yellow, not gold.
Hello, thank you for the comprehensive answer!

Wow I remember Delphi from the past (I had never used it but always heard nice things about it), I didn't know that it was still supported!

What you write about the statically linked exe, the native look-n-feel and the WYSIWYG form editor are really killer features! I'm not so much into pascal though (15 years since I'd written anything in Pascal) and, unfortunately the price rating is a blocker for me (as I just want to create a GUI for a command line app to help non-expert users use it) :/

However, I'll definitely check Lazarus !
Thats right. The Org generally gets some of its marketing team members to write reviews and get it posted on Glassdoor.
That was hardly the only motive, even if the primary one. Easing the suffering in the world was also a primary driver, as were a pethora of other, just as, or much less, worthy goals.
OpenCL is fine, but not well supported (because NVIDIA). Vulkan is also fine, so again, the only question is support. I don't know whether Vulkan can supplant OpenCL for computation, or whether it's even supposed to.

None of these solve the problem that the underlying drivers are still terrible (when I test Futhark code I routinely have to restart our GPU servers, as the NVIDIA kernel module crashes). Hopefully, the smaller surface area of OpenCL and Vulkan compared to OpenGL will eventually result in better drivers. I am also very hopeful about AMDs switch to an open source driver model.
Sure you can, just use (n)curses.
> This kind of problem is rife in academia.

This kind of problem is rife everywhere. People don't know and are not interested in how to use computers to help them because "it's too complicated".

Excel doesn't help.
Ask HN: Is it possible to fight back against the “big 4” hiring fads?
This post got me triggered https://news.ycombinator.com/item?id=12348756 as I've experienced the same feelings of worthlessness and inadequacy after terrible interview experiences. I also know a lot of people who have either: quit tech or moved overseas, unfortunately this stupid fad of "algorithmic" puzzles has gotten out of control and it's spreading like wildfire, because everyone wants to be like Google/Facebook/Amazon.

I can understand why some complex algorithm competency might be required at some of these companies but this alpha nerd "dick-measuring contest" needs to stop.

I am angry for the OP of the post above and for my own experiences as well as for many other fellow developers who have been through the same.

I think it's time we fight back as a collective and tell the "big 4" and the big 4 wannabes to go screw themselves, however I feel powerless, frustrated and angry. We can't continue to be complacent, enough is enough I say, let's do something about this.It has gotten out of hand. I refuse to accept this as the status quo.
That's what separates good and bad teams (or individual developers): the wisdom of how to make a program that does the bare minimum while actually solving the problem.
21 Most Important SaaS Startup Metrics
Agree with this. I work in a place where the team's split into 4 quadrants, all looking at different areas of the marketplace (and different levels of interaction) - whilst best practice is shared between them, knowing that each quad will do different things and function in different ways is key to widening reach.
Did you take a look at pip-tools ? It allows dependency locking
Best thing I did since starting work was take a few months off!

That time and space was invaluable for me, gave me the time to work on myself, to figure out what was important, and come back stronger.

I feel a lot better for doing it - but even ignoring that, I'm sure it has had a huge ROI on the missed income I 'spent' by not being employed.
Here is another opinion on the matter, probably closer to how politicians would feel about it

‘And what business is it of yours, anyway, to know what I do with my
own things? It is my own. I found it. It came to me. It is mine, I tell you.
My own. My Precious. Yes, my Precious.’

--Bilbo Baggins
Based purely on my experience with native CPython, I have usually found for loops to be a bottleneck - and nested list comprehensions to be the saviour.

I wonder what the difference would look like then?
Zsh is listed in figure one.
For a guy who opines all day about Apple, the fact that he can't maintain a pretty simple iOS app is telling. If you really care about the app and your users, you read the damn docs and get to work. I taught myself in less than six months, and my app is free. Although I don't have much time, I still keep it running out of respect for my 50 thousand or so users.

This especially annoys me after their enfillade of blog posts about best practices for UI and pricing of Vesper.
Talking with Tuesday Bassen About Her David vs. Goliath Battle Against Zara
ME Analyzer – Intel Engine Firmware Analysis Tool
Google has a similar tool called Refaster

https://github.com/google/Refaster
I'll admit I don't really know that much Julia and basically wrote naive MATLAB code (and I wanted to make it as close as possible to my python code):

s=10000;
a=ones(s,s);
b=ones(s,s);
c=zeros(s,s);

tic();
for i in 1:s
for j in 1:s
c[i,j]=a[i,j]*b[i,j]
end
end
toc();

Obviously in real code I'd simple write

c=a.*b

and get basically the same performance as numpy
For those languages is not people who reindent code but it's the editor or the IDE. There is usually a key to force reindentation. That is possible because {} or even the end in Ruby are easy markers for the block (there are multiple markers for a block start in Ruby). Is there any automatical indentation function in some editor for Python? If not, it's Python the unfortunate language where people has to indent code to feed the compiler. I always hated doing the compiler's job.

I'm asking because I'm using Python little and only for short scripts, so I didn't bother investigating much. Still I've been bitten a couple of times by bugs introduced by moving code around and not noticing that a line was not indented correctly. That in Python and in Haml (http://haml.info/) If somebody knows about those tools I will appreciate and it will make my life easier. BTW, I'm fixing somebody's else Python scripts right now :-)
I've been using Julia a lot lately so these results really surprised me, and I wrote my own test. Punchline: it takes about 0.4 seconds on Julia 0.4.6, on my machine which is several years old. Check it out:

julia> include("elmult.jl")

eachindex

0.42587028

outer loop over rows

8.923323015

outer loop over cols

0.516270241

Code:

function elmult(m1, m2)
result = zeros(m1)
for i in eachindex(m1)
result[i] = m1[i] * m2[i]
end
return result
end

function elmult_rowmajor(m1, m2)
result = zeros(m1)
nr = size(m1, 1)
nc = size(m1, 2)
for i in 1:nr, j in 1:nc
result[i,j] = m1[i,j] * m2[i,j]
end
return result
end

function elmult_colmajor(m1, m2)
result = zeros(m1)
nr = size(m1, 1)
nc = size(m1, 2)
for j in 1:nc, i in 1:nr
result[i,j] = m1[i,j] * m2[i,j]
end
return result
end

elmult(rand(3,3), rand(3,3))
elmult_colmajor(rand(3,3), rand(3,3))
elmult_rowmajor(rand(3,3), rand(3,3))

m1, m2 = rand(10000,10000), rand(10000, 10000);

println("eachindex")
println(@elapsed elmult(m1, m2))
println("outer loop over rows")
println(@elapsed elmult_rowmajor(m1, m2))
println("outer loop over cols")
println(@elapsed elmult_colmajor(m1, m2))
While I admit that this kind of system can be abused, I am trying to think of a specific, believeable example of abuse. Having lived in Baltimore, I can say that city is literally besieged with crime of all kinds. Its hard to see how a staff worker could abuse the system without having access not only to the cessna cameras but also street cameras and police to do the footwork.
The problem with .NET is that I don't really trust it. In the past I had experienced various bad behaviors when trying to install .NET applications with strange messages requiring me to install specific .NET framework versions. The more strange thing is that after I installed the .NET framework and the application it still didn't start but complained about windows sxs or something like that. I never understood what the problem was.

Also, how well would .NET apps developed with Visual Studio support older windows versions (i.e windows XP or vista) ?
It's not just you as in there are a lot more paranoid people than just you, if that is really the companionship you seek?

I don't mean to demean you, definitely not for what you say - but for the way you say it. There's thoughtful analysis - and then there's your comment. You should really give some context and show your sources, data and reasoning.

Personally I don't even see a basis for your thoughts, from a "threatening" perspective the US has a much larger shadow - and I don't want to say this as a value statement. It's just that you will find China military operations abroad are much less numerous than that of the US, independent of what you think about it.

How exactly is the US "threatened"? Unless you see anyone who isn't at least two orders of magnitude weaker than yourself as a "threat" automatically, just because "they could".

As for cybersecurity, do you think the US is less involved with their spy software placed on foreign systems than the other way around?

For trade, what is the threat? China needs trade (exports as share of GDP is much higher than for the US) and still is far behind: http://www.visualcapitalist.com/china-vs-united-states-a-tal...

And shouldn't a much larger country, in terms of population, naturally end up with a much larger economy, if things turn out well? Isn't it bad that some people in the current #1 economy feel "threatened" by this? Especially when throughout the last 100 years the US has meddled in foreign affairs much more than China ever did (exclude WWII if you feel uncomfortable about it).

.

Finally, to answer your question, as a foreigner who lived in the US for a decade, it seems to me the greatest threat to the US is... the US! The optimistic interpretation of more recent headlines would be "Well, they are finally starting to tackle some serious long-standing issues".

And then there's this little issue, article link from yesterday's HN: http://www.nytimes.com/interactive/2016/08/20/sunday-review/...

A few years ago I would have been reluctant to post it, but with yet another year breaking the records worrying about the impact of climate change on the US seems a lot more justified than worrying about a threat from China. Priorities...
I recall Fernand Braudel's 'The Structures of Everyday Life' having a chapter about the evolution of chairs and their spread around the world. It's a good series of books.

https://www.amazon.com/Structures-Everyday-Life-Civilization...
+1 for Redux DevTools! Its great! The guy who wrote it is much smarter than me. :)

Reactotron has a slightly broader scope (read: not as feature complete with redux - eg, no time travel debugging). I do have things like api monitoring, logging, error tracking with source maps, and benchmarking.

I couldnt quite fit that in my demo gif. It took 11 takes to get what I settled on. I could use some improvement with that.
Seems like TFA is an opinion piece and cites no research on actual safety. It alludes to one reason this is good: getting the cyclist out of the intersection, and therefore greater danger, sooner. Another good reason might be to make cyclists' behavior more predictable. As is, you never know which type of rider you are going to get, so you can't make assumptions.

I think an actually safer thing to do would be to give cyclists the right of way. Then drivers could at least take for granted that cyclists are going to not stop for red lights or stop signs.
Tail for Postgres
Maybe it's to increase the area where a click transfers the focus to the <input>?

Skype Web puts a whole <form> in a <label>, I guess it is for that reason
I use and love fish, but zsh completion is more powerful.
Not really necessary in most cases. There's enough profiling tools available that can give response times in fractions of a second and in many cases you can add repetition to inflate the few processes that are still too small to measure. These will give you far more meaningful figures about the performance of your code than anecdotal evidence using a slow PC as a benchmark.
SLACK GROWTH HACK: Export All Slack Group Email Addresses
https://github.com/swirepe/alwaysontop is this what you need?

ascii.io seems down, but there is another screencast hosted here: https://asciinema.org/a/3779
Personally, I like using NetBSD's Almquist Shell, which formed the basis of Dash. It is small and has the command line editing and tab completion features that I can't live without.

https://en.wikipedia.org/wiki/Almquist_shell
So you think that people should waste their time solving captcha are the solution? people are paid to solve captcha, there's always something like that and then the users suffer more. It's not a solution at all.
Could you elaborate a bit on what you prefer about it? I've heard this from a few people and would be curious to hear it fleshed out a bit.
I don't know why, but I always had a thing for Power CPU's. Really curious how Power9 compares to Power8 and Intel Broadwell-EP/EX when it comes to power efficiency (and of course performance wise).
This is true. There are a lot of terrible therapists and psychiatrists around, and it's hard to know how to choose. Also they are different. Therapists talk, psychiatrists give pills, and they should both rather have both tools for using either or or both as necessary. And Therapists have lots of different wys of operating too. Ask around of recommendations, and don't give up. Get a best friend to help you ehre, in case you feel it's too much.
Good luck, there's loads of great advice here.
America’s bail system is a war on the poor. Let’s get rid of it