Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
3JPLW
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
361.
▲
by
3JPLW
10y ago
Yes, in many areas: * Higher order functions now specialize on (and possibly even inline!) passed functions * Anonymous functions are now fast, too * Fused broadcasting can avoid intermediate allocations and only make one pass through the a
362.
▲
by
3JPLW
10y ago
A better link is: https://github.com/JuliaLang/julia/blob/release-0.5/NEWS.md Better yet, wait for the official announcement once binaries are compiled and posted for download. I believe there will be a
363.
▲
by
3JPLW
10y ago
It is interesting to think about how this commercial product might have to fight the anti-incandescent laws. Would this bulb be illegal in many states/countries right now?
364.
▲
by
3JPLW
10y ago
Julia's StructsOfArrays.jl package[1] does this quite simply and easily without needing to modify any downstream code. 1. https://github.com/simonster/StructsOfArrays.jl
365.
▲
by
3JPLW
10y ago
It's the same on 0.4, and Strings are getting a big overhaul on 0.5. Here are the results for 0.4: $ julia -e 'f(a, b) = @sprintf("this is a %s %15.1f", a, b); code_native(f, (AbstractString, Float64))' | wc
366.
▲
by
3JPLW
10y ago
Also note that the author asks for the native code for arguments of type `(AbstractString, Float64)`. The first is an abstract type — which means that this code will never get called in the first place. Julia will resolve the type of the
367.
▲
by
3JPLW
11y ago
Yes, small and explicitly tagged functions can inline directly into the caller. But even when that doesn't occur, Julia is able to avoid dynamic dispatch overhead by doing the dispatch at compile-time, making the function call point d
368.
▲
by
3JPLW
11y ago
There are definitely a lot of hypotheticals here, but many of those goals are desired in their own right and aren't specific to web assembly. Interestingly, there's a slow-but-steady effort underway to implement a generic BLAS and
369.
▲
by
3JPLW
11y ago
Yes, when a function is inlined, the caller's context can dramatically affect optimizations. And inspecting varargs functions can be tricky. But beyond that, it generally displays exactly what gets executed. You can verify this yours
370.
▲
by
3JPLW
11y ago
I don't think that's true. The Fahrenheit scale was originally defined to have 0° at the coldest measurable value at the lab bench (salt-water slurry), 32° at the freezing point of water, and 96° for human body temperature. Why
371.
▲
by
3JPLW
11y ago
Sure, it's a terrible feature to always use. And it's likely to be of little use to contributors who know how to use Git well. But in large open-source projects, often new contributors make a small change that needs a few minor
372.
▲
by
3JPLW
11y ago
Not at all. There's a whole slew of companies with different arrangements of pcb/fab/express in their names. They've all done 5 boards for ~$50 for a very long time. Granted, they're simple two-layer boards. If
373.
▲
by
3JPLW
11y ago
Agreed; I'd go even farther to say that old is a feature. Now, as a side effect of its age, it may not conform to modern-day best practices and styles… which might make it harder to fix newly discovered bugs or add new features. Heck,
374.
▲
by
3JPLW
11y ago
Even more confusing: it's not been updated since Summer of 2014… why post it now?
375.
▲
by
3JPLW
11y ago
It's effectively catching the fact that `spectral_contrast.c` does not `#include "match.h"` — this is indeed directly a part of the underhandedness. The warning occurs because the function is not static — and therefore callab
376.
▲
by
3JPLW
11y ago
$ clang -Wall -Weverything -pedantic -c -o spectral_contrast.o spectral_contrast.c spectral_contrast.c:16:8: warning: no previous prototype for function 'spectral_contrast' [-Wmissing-prototypes] double spectral_con
377.
▲
by
3JPLW
11y ago
The change log message that introduced the new constant is interesting, too. "Socat did not work in FIPS mode because 1024 instead of 512 bit DH prime is required. Thanks to XXX for reporting and sending a patch." I wonder what
378.
▲
by
3JPLW
11y ago
Yes: https://oeis.org/search?q=1%2C57%2C12675&sort=&language=engl...
379.
▲
by
3JPLW
11y ago
There are four leading zeros, meaning that there are 19x19-4 (or 357) base three trits. Still remarkably close.
380.
▲
The hunt for a Microsoft Silverlight 0-day
(securelist.com)
57 points
by
3JPLW
11y ago
|
2 comments
381.
▲
by
3JPLW
11y ago
Well, it also fixes the other backdoor, which is accessible to parties A, B, and everyone else.
382.
▲
by
3JPLW
11y ago
I'm not sure any of us are. In the US, summer is colloquially from the last Monday of May to the first Monday of September (Memorial-Labor Days). Many seasonal businesses use this definition for opening or extending hours. And it&#x
383.
▲
The MIT License – Clarity on Using Code on Stack Overflow and Stack Exchange
(meta.stackexchange.com)
2 points
by
3JPLW
11y ago
|
0 comments
384.
▲
by
3JPLW
11y ago
It definitely is… but what's the extremely strong El Niño related to?
385.
▲
by
3JPLW
11y ago
You're looking at a markdown-formatted docstring. Note that it's enclosed in """, similar to Python except that it precedes the method definition. Within the markdown formatting, you can use ``` fences to format c
386.
▲
by
3JPLW
11y ago
That's probably true in many locations. Here, though, the city and university are interested in infrastructure changes that will reduce the "natural speed" of the road… effectively tackling the 85th percentile from the other
387.
▲
by
3JPLW
11y ago
I wish them the best! These sorts of data are extremely powerful for local governments and advocacy for safer and better-designed streets. There’s been a big push in Pittsburgh for improved traffic safety around the University of Pittsburg
388.
▲
by
3JPLW
11y ago
There's also the GRISU algorithm: http://dl.acm.org/citation.cfm?id=1806623
389.
▲
by
3JPLW
11y ago
It is possible, but I wouldn't consider it trivial. Given an obtuse triangle with vertices A, B, and C, where vertex C is the obtuse angle, one of the dissection lines must split vertex C in order to make two acute angles. Now, you
390.
▲
by
3JPLW
11y ago
So the central argument seems to be that Academia.edu profits from the patterns of access and related metadata that academics generate as they do their daily work. Academia.edu then sells this data to private R&D companies to point the
More ›