skysight-inc/HackerNews huggingface dataset:
A curious fact I encountered: First, the zstdcat executable that ships with zstd (actually a symlink to zstd itself, roughly equivalent to "zstd -cqdf") can decompress .gz files. Second, zstd is faster than gzip at decompressing .gz files, taking about 2/3 as long.

I'm not kidding. I couldn't believe it myself, but subsequent testing stubbornly bore it out—on one file that was 15 MB after compression, and on a mix of smaller files. I tried compiling gzip from source, using the same compiler I used for zstd, and the results were the same. strace seemed to show zstd read and wrote in chunks 2x the size, but the number of syscalls didn't seem to be nearly enough to explain the difference. It seems to have this "zlibWrapper" subdirectory; its README has some benchmark numbers that I don't fully understand, but some of them seem to match the 2/3 factor I got.

I'm wondering if this is a clever tactic to drive adoption—get people to use the zstd executable even when they're still using gzipped files. ;-)

Also, the fact that it has support for reading (and, apparently, writing) gzip, lz4, and xz on top of its own format really makes "z standard" an appropriate name.
No that's wetsuits. Dry suits don't let water in.
I don't per se "hang out" anywhere online. Most of my musical activities are engaged in within meatspace. At most, I might share the occasional recording on social networks. I've participated a bit in music-related forums.

Technology hasn't progressed far enough yet for musicians to be able to play together real-time over the Internet. That'll be a great day when it comes, though.
Effect size is the amount of change that has been observed, in this case the ability to memorize things.

Significance is the probability of the result being coincidence. So "highly significant" only means "most probably not coincidence".

That means you can have a "highly significant" result where the actual result (= effect size) is tiny.

In study design, both are related: The higher the number of test persons, the easier it is to archive significance. Therefore, proper design would be to first guesstimate (based on existing literature etc.) the effect size, then define the minimum number of test persons necessary.
If the target audience is gamers and QA-types of people, I don't think they will care where they get it from.
also look at other types of nootropics https://en.wikipedia.org/wiki/Nootropic
2017 Was the Year of Gene-Therapy Breakthroughs
Looking at the readme, I noticed our examples our not as featured as I thought so sorry for the harshness. But following the link to the examples, leads to a example called "Tutorial - Transfer files between the browser and other IPFS nodes" which explains how you can connect a js-ipfs node with other nodes, like go-ipfs that runs on desktop. Link: https://github.com/ipfs/js-ipfs/tree/master/examples/exchang...

go-ipfs, which I guess you refer to with the mainstream network, has support for websockets which the browser nodes has support for as well, so they can interop.
Why not use a XML/XSD specific compression like EXI for that ?

https://www.w3.org/TR/exi-primer/
How much heat would you lose by submerging your head and neck, versus how much would you gain by keeping the fetal position? I'm not sure if that's a positive tradeoff.
LCD for Arduino
At which point is it acceptable or preferable to receive the draft of the employment contract? When receiving the job offer? After accepting the job offer? On the day employment contract is signed?
Google is (finally) diversifying with Cloud Platform. As recently as a few years ago, advertising was 98% of google revenue. I haven’t kept up with the numbers, but I bet that’s lower now due to cloud and gsuite.
I kind of like the idea of a successor for the iPhone SE based on X (or, at least, 7) technology.
>Hormones, reflexes, instincts, empathy, etc. Again, human inference and learning are (as of yet) insurmountably more complex than statistical regression.

Complexity doesn't mean better. Humans are absolutely garbage at statistical thinking. Even simple statistical regression almost always beats human experts. Let alone more modern methods. E.g. http://zaldlab.psy.vanderbilt.edu/resources/wmg00pa.pdf or http://lesswrong.com/lw/3gv/statistical_prediction_rules_out...
Convert keywords to videos
Atos to deliver Germany’s fastest supercomputer to Jülich research center
> It can be quite jarring to pull a 360

Easier to land than a 180 though.
I see "(c) Mapbox (c) OpenStreetMap" in the bottom right of the map preview, so I assume it will also be part of the export/print. "OpenStreetMap contributors" and another clickable link in the footer would be better but I see reasonable effort in/on the end product.

edit: reading through other comments it's possible the author added the attribution only recently (after OPs comment)
Debugging Electron Memory Usage – Seena Burns
> Perhaps she’s trying to empathize with a beginner getting their head around what ECS is.

I think the complaint was that it made it _harder_ to understand. Analogies are helpful if the relationships they describe are already well-known, but just dropping _Royaume_ into a sentence is dumb and hurts readability (instead of, e.g., sticking with "kingdom", from the analogy).
“The thought process that went into building these applications, Facebook being the first of them … was all about: ‘How do we consume as much of your time and conscious attention as possible?’ That means that we need to sort of give you a little dopamine hit every once in a while, because someone liked or commented on a photo or a post or whatever. And that’s going to get you to contribute more content and that’s going to get you … more likes and comments,” he said

I wish it was possible to disable showing points in HN for this exact same reason. Both in stories and my comments. I'm sure Greasemonkey could help but I'd like this embraced by HN, if possible.
That's standard startup speak, though. How else are you going to get investors and early adopters excited? Everyone is competing for everyone else's fleeting attention this day and age.
Bitcoin Created by U.S. Government, Says Natalya Kaspersky
http://bitcoinist.com/kaspersky-labs-co-founder-says-bitcoin-created-american-intelligence-agencies/

https://sputniknews.com/business/201801191060881605-kasperskaya-bitcoin-us-intelligence/

Dunno if this is true. But couldn't believe this hidden Satoshi fellow.
One notable thing is that perceived brightness is not a linear function of the duty cycle.

I don't know the numbers, but there exists a frequency and duty cycle at which humans perceive the light to be brighter even though there's less energy used.
+10

I think any material that establishes more history and viewpoints in our field is and will be very valuable. Please consider releasing more of it.
I make my argument from his work, not from history. And I am responding specifically to the word Xenophobe. I think Houellebecq's analysis[1] is correct - the force of his work derives from the very extreme nature of his Xenophobia, which is personal and psychological in nature rather than ideological. Certainly he garlanded it with all the ideological backup he could find, but I don't think that's where it came from.

[1] https://web.archive.org/web/20060507063256/http://blog.urban...
mostly I'm annoyed by the slow UI... especially if you have many apps.

we haven't migrated off yet, but something like k8s might be more attractive, as orchestration would be neat...
So you are going to argue with statistical probability? It is our best determining factor. Have any better ideas?

If you don't believe in using probability to determine risk. How about you hire a pedophile to babysit your kids? How about throwing down your retirement on lotto tickets? ETC.

Do you think biased policing causes people to commit crimes? How about not committing crimes to begin with? How about not hanging with troublemakers? You think it is impossible for people to avoid being arrested and convicted of crimes because of "biased policing"? Please think harder.
So like 'middle out'
They stopped offering that.
"Hewitt was an experienced navy diving instructor with 20 years in the service, and he told his dive buddy that he would swim back to shore himself"

Very surprised that such an experienced diver would make such an incredibly dangerous decision. Or that his dive buddy would agree to it.

Possibly a decision based on over-confidence.
How Nike used algorithms to help design its latest running shoe
> Burger King corporation believes they can sell more and make more money selling chicken sandwiches and chicken fries so now they're slowing down the access to the whopper.

Quoted from the video, this is the actual analogy that makes sense.

However, under no net neutrality, would customers be able to pay extra to get faster access to services that are pushed to the slow lane like the customers here can pay for the whopper?
Haha. Oh dear. I can't think of a good reason why not, according to Australian Consumer Law. That's interesting.
> Over at Twitter, the story is the same. Of the company’s nine most senior executives, only four tweet more than once a day on average.

Say what? Tweeting once per day seems like a lot of tweeting to me. But I guess things are relative...
Clone Scripts, Custom or Readymade PHP Website Clone Scripts
The SEP makes it pretty clear: https://github.com/apple/swift-evolution/blob/master/proposa...

Basically, they did not rename flatMap they renamed one specific overload:

Sequence.flatMap<U>(_: (Element) -> U?) -> [U]

or in Haskell parlance

mapMaybe :: (a -> Maybe b) -> [a] -> [b]

which filters after mapping more than it flattens (in fact the Rust and OCaml versions are called filter_map). The issue is that due to Optional promotion you could misuse flatMap (where you should have used map I guess) and could get this filtering behaviour unexpectedly instead of the straightforward mapping you would be expecting (it also led to extra branches and optional wrappings and unwrappings).
Advertisers, save for big brands, would not spend money on ads if they did not convert eyeballs to customers. The entire marketing industry is built around measuring traffic and conversions, and setting bid prices accordingly. So clearly advertising is “working” in some capacity. It generates value by providing a growth engine. A new company today can use advertising to reach an audience greater than ever in the past. My intuition is that this has to be adding real value, somehow.
Every time I heard about Heroku, this word came to my mind: expensive.
I am missing your main requirements to the laptop. I would rather list them up in first place and then decide what you need.

Dell also has nice alternatives to the XPS series. The precision mobile workstations can be upgraded to 32 and even 64 Gb.
FWIW I'm 80% convinced that dat is the future of SSB. It has the technological foundations to do everything SSB needs and more. There is however one huge difference in philosophy, that can be solved with technology but still needs to be done: SSB gossips content through the human network and public places, while dat needs direct connectivity between peers. The former is better exactly for the reason that was mentioned earlier: Peers need to have some re-hosting if they want to have their content disseminated while they're offline, so the discussion can still happen. Dat will need to have the equivalent of SSB's pubs (no-registration, no-config, just connect and send).

There is a discussion about that somewhere but I can't find it anymore
I did some tests myself on a 22MB SQL file and it turns out:

* 7za -m0=PPMd produced the smallest file being faster than bzip2

* bzip2 turned out to be way faster than both lz (684%) and xz (644%) and produced a smaller file

* xz is marginally faster than lz, compressed sizes are about the same with the xz file being a tad smaller

* without any switches 7za produces an archive a bit bigger than xz and lzip in about the same amount of time

* gzip and zst produce about the same compressed size, only zstd is a lot faster (517%) than gzip

The 7z file was produced using the -m0=PPMd switch. For the other files no command line switches were supplied. Here are the file sizes:

23668150 file.sql
3899477 file.sql.7z
4149962 file.sql.bz2
5954982 file.sql.gz
4540628 file.sql.lz
4506720 file.sql.xz
5961291 file.sql.zst
>"Zig does not support RAII or operator overloading because both make it very difficult to tell where function calls happen just by looking at a function body."

How about showing an error if you don't call the deconstructor manually?
Maybe I'm really lucky, but in my entire programming career (12 years) I can only remember 2 or 3 bugs that weren't caused by errors in the top-level, most abstract, version of the code.

i.e. bugs that were due to compiler/bare metal/etc. problems. I remember a bug in old-skool asp that would only surface due to some weird code condition, a bug with an IMAP server we made used by Outlook that was caused by them using an int16 to store ids, and a race condition bug.

I've worked almost entirely in web dev with a mix or enterprise, b2b and b2c systems, with some of those having millions of users, some of them being intensive SQL.
We could also change the conditions.

E.G: stop promoting growth so that we eventually get a system we can manage more easily.

Or change the way media communicate so that people focus their efforts in a different direction.

Or relocate budgets from war to education and research.

And so on.
only once is even funnier than only ones.
Exactly, wetsuits like, you know, the ones we're talking about:

Prolonged soaking in seawater, along with the friction from his wetsuit and fins, damaged Hewitt’s skin pretty badly.
I'm doing my part!
Uber Eats is set to launch in Egypt later in 2018
I was lucky enough to visit a private game reserve in South Africa for a few days. One of the things I saw was a pregnant ex-Zebra being eaten by lions (including the fetus that was dragged to the shade under a bush by other Lions). The guide explained that what likely happened is that the lions tried to separate the pregnant zebra from the herd and make her go down slope. The added weight of the fetus makes maneuvering down slope harder, especially when trying to make tight turns, giving the lion the edge. It was fascinating (although a bit gruesome) to see animal behavior in action that way.
How do you get into the top 1% of bug hunters?
I feel that problem is educational system. At least in my country it is optimized for grading what children know but it fails badly to teach or motivate them. So children are forced to learn it by themselves or find someone to help and it is enough to learn for exams. This is not fun. They are just learning things they do not understand and they don't know how to use it for anything else than exam. All attempts to improve it usually start by redesigning exams which couldn't help but it is the easiest approach with fast results.
So your code presented a 'virtual' optical drive to the OS, and the compression was to squeeze the on-disk virtual CD image?

I imagine compression could be a real performance win when reading from optical media, too.

Anyone here have any experience developing games for optical-media-based games consoles? I imagine high-performance on-the-fly decompression could have been useful on the PS2, for instance. Or perhaps I'm wrong and the weak CPU and slow seek times dominate things.

Vaguely related game-data madness: How Naughty Dog Fit Crash Bandicoot into 2MB of RAM on the PS1, https://news.ycombinator.com/item?id=9737156

Edit: I see compression is indeed used in those contexts - https://news.ycombinator.com/item?id=16228840
I didn't say his ideas aren't good. I'm saying I value execution more than ideas. Everybody has good ideas, few do a good execution. It's like somebody had the idea to create a teleportation device, in 50 years time got absolutely nowhere with it and is now grumpy that the planes everybody uses are too slow. "If only they'd followed my idea of a teleportation device, everything would've been much better."
Creating a closure and scheduling it on a queue seems like a pretty heavyweight way to ensure exclusive access (see https://www.cocoawithlove.com/blog/2016/06/02/threads-and-mu... for more).

EDIT: aren't you the one that wrote this article ? :))
It makes no sense in Python as it's a static typing feature. It makes limited sense for C++ as its generics are structural rather than nominative, though I believe Concepts will (eventually) introduce constrained templates: http://en.cppreference.com/w/cpp/language/constraints [0]

It does already exists in other languages e.g. Haskell or Rust. For instance in Rust Vec's implementation of Eq is defined thus:

impl Eq for Vec<T> where T: Eq {}

So Eq is implemented on Vec<T> if and only if T implements Eq.

Haskell is similar:

instance (Eq a) => Eq [a] where (…)

the bit before the "=>" is the constraint.

[0] in current C++, you'd just define an `==` operator on your type, and it would blow up with obscure errors if you tried applying it incorrectly e.g. vector already overrides operator==, if you use it with a type which does not override == you get a few pages of templates garbage (287 lines in g++) boiling down to "==(vector<T>, vector<U>)" requires ==(T, U) but I couldn't find that definition. You can try it live with this (requires C++11):

#include <iostream>
#include <vector>

struct S {
uint8_t a;
//bool operator==(const S& other) const {
// return this->a == other.a;
//}
};

int main() {
std::vector<struct S> v1 = { { 3 } };
std::vector<struct S> v2 = { { 4 } };
bool r = v1 == v2;
std::cout << r << std::endl;
}

uncomment the operator== definition and it'll compile.
Offroad Bus Driving Highway Simulator
Offroad Bus Driving Highway Simulator is like making your dream coming true to be the one driving the Luxury daewo bus. Bus driving simulator is thrilling game where you can drive speedy bus on hilly area in this simulation. Make sure you drive it with proud and as prestigious person of the world.
Freelance Career in Telecom – Telecom Jobs
Nope, just checked - you can't.
Yeah, are the answers from these "execs" biased by a certain industry or location? Literally nobody has ever brought up my Github projects or PRs...
Statistics makes basic assumptions that are false. For example, most things don't fit a bell curve.

These assumptions are more relevant in small sample sizes. Making them inherently unreliable. What's missing is not a p-value, but an estimate for the uncertainty around that p-value.
Its the same reason psychiatrists tend to not use pharmaceuticals: they know the dangers.
You can always educate more people. Not only helping the economy, and the people, but also getting side benefits like more informed society that makes better decisions in elections.

> Doesn't the US have an excess of skilled job vacancies and and excess of unskilled people?

Yeah, mostly because of its obsolete education system.
I think a video could have been a better choice...
This reminds me of a sign I saw at the top of a rather dangerous ski slope: « la neige ne reconnait pas les bons skieurs » ≈ “snow doesn't recognize good skiers” ≈ it's not because you're supposed to be good that you'll get special luck.
Valentine’s Day Gifts shirt
And the same reason mobile app publishers don't let their kids have a tablet.
That's comparing writing longhand to using Microsoft Word. The latter helps, but doesn't make writing novels fundamentally easier; in the same way, an IDE doesn't make programming fundamentally easier.
you are smart. the vast majority of the population is dumber than you. the average person will struggle to master basic algebra and simple programming concepts.
I didn't know that, but i'm not surprised because chris lattner clearly knows what he's doing. I'm still curious to see how it ends up integrating in a language that's been evolving a lot since its design.

Saying that they managed to keep concurrency orthogonal to the rest of the language means Rob Pike was "wrong" (or at least what i understood from his point).

However, after reading the conversations around the async proposal, it seems to me on the contrary that it is very tightly related to other parts (such as error throwing mechanism, GCD library and syntax in general).

We'll see. I wish i didn't have the feeling swift core team is understaffed, because at least for iOS development it is really a joy to program with.
I've written a dumb extension to do this on Chrome [0]. All points disappear and all shades of grey become black.

[0] https://github.com/fapjacks/antihnbs
>I think you're looking at this backwards. "If only Steam would prevent returns, I would keep 10% more sales!" No, if Steam prevented returns, you would never have had those sales in the first place.

I never said that. Honestly I'm not sure what I think about it, but I'm certain that it helps valve more than it does developers. Those people will end up spending the money on some game so valve wins either way. Also this policy makes it harder for devs to sell steam keys so they don't lose 30% to steam, because steam keys are not refundable.

14 days is really not very short. Also returning an ebook only has a 7 day return window.
There are 3 kind of logic systems 4 corners(chatuskoti), 3 corners(trikoti), 2 corners( binary logic). Entire western civilization is build top of binary logic. Only one god, america has friends(5 eyes) and enemies but no nutral parties(there are occasional cat paws ).
From western binary logic they can't even explain zero(mathematically). One reason is science is not global thing it's creation of given culture(In current case western culture). Because western main philosophy is binary one and as per there binary logic they thing there are only one science. And since west control the world for half millennia and still control the world they teach us there are only one global/universal science. example if you change Euclid's main assumptions you get entirely different geometry. In some comments says that ayurved is joke or useless fact is I know(and probably OP know's) it can cure series illnesses like cansces/diabetic and etc.
Trying to understand ayurvedic methods using modern western apothecary teaching is absolutely useless.
Bulk water supply is the responsibility of national government. Local government is responsibile for the distribution of the allocated water.
In the 80's, you would turn on your C-64 or ZX-Spectrum or Oric-1 or Dragon-32 or Atari 800, and type:

PRINT "This is nice"

and it would.

Then, you would type:

10 FOR I=1 TO 10
20 PRINT "This works too! Number ",I
30 NEXT I
40 GOTO 10

And it would.

Today, you go to your computer and ...

open an IDE, define a project, pick your Java environment, select "file new", write some random incantation of "public static void main", accept the suggesting missing imports if you are lucky (if your ide doesn't figure them out, you have to do them yourself), and after a while you actually start running.

In the BASIC example, the only "unnecessary detail" are the unreferenced line numbers 20 and 30, which indeed become optional in later basics. In the Java example, everything I described above is incidental. It is not useless in the grand scheme of things of projects with millions of LOC and tens of developers and stuff -- but it is unnecessary for small examples. Java does not scale down.

Python mostly scales both up and down, but it still isn't as easy to start writing stuff the way it was in the 80s.

The most popular programming environment, by far, is a spreadsheet - it's not imperative or object oriented, but rather functional. and it also fails to scale up or down.