skysight-inc/HackerNews huggingface dataset:
Node is a solution for network bound problems NOT cpu bound problems. Fibonnaci is very much in the latter category. Horses for courses
The Ubuntu ZFS module sets spl_taskq_thread_dynamic to zero by default.

My problem was that the large number threads with spl_taskq_thread_dynamic=0 cause it to OOM, at one point it had an OOM at mount (with 32GB RAM).
When I set spl_taskq_thread_dynamic=1 I had the same deadlock issue (That's where I stopped trying to use it and went back to FreeBSD).
The footer is covering the entire page in my glorious IE11 browser
Continuous integration – speed up your mobile app development by 200 times [FR]
I have a professional acquaintance ( my profession, not his) in the anti-moneylaundering division of a large national, non-US bank. He mentioned that their default assumption is that if an account or a transaction involves bitcoin, it is connected to criminals. They log the details and pass it on to the appropriate law enforcement agency.
Was self funding ever part of the plan? One can take it for granted that the company has to survive economically for the plan to work, but besides that why say the plan must be funded in a particular way?
you can add it only if kenneth wants it near his opinion

https://github.com/kennethreitz/python-guide/pull/506

https://github.com/kennethreitz/python-guide/pull/723
Data Mining Steam for Fun and Profit (2015)
NUL
As long as nobody sees/considers it as input validation/restriction :)
"boring but safe."

But seriously, the most important part of that sentence 'safe' is absolutely unproven.
For this application where he was getting "hundreds of requests per second" at 500M users, if he suddenly grew another 10x he would've had to start scaling horizontally instead of running on just one machine.
and you're talking poorly thought out hypotheticals a "Chinese cloned app distributed through Bittorrent"?

Do you mean a "competing app", in which case it's fair game. Do you mean a straight copy? You might have a discussion there, but why involve Chinese people?

Do you mean something like [legit] "ReactOS" which is a reimplementation of Windows XP? That satisfies the needs of a wider unserved market that still needs it?

Or some hypothetical "vigilante localised" app for people who need it in their own language. Sounds fair enough if the developer isn't serving that market.
Who said anything about solar on the roof of a truck? I think you are misunderstanding.
Yes, driving a nail with a sledgehammer is usually not a very good idea. :-)
Introducing Stack Overflow Documentation
Well, we watched it knowing about depression, and my personal (and for personal reasons, genetic ones unfortunately...) study of e.g. cognitive psychology and therapy made the original TV ending pretty comprehensible with effort, at least about what Anno thought important (people, not the giant robot/super-conspiracy gloss).

But wouldn't most people, including a large fraction in e.g. the US, just think Anno was weird (which as a successful creator he pretty much as to be anyway :-).
Doors instead of aisles obviously.
[Legg, Hutter] a Collection of Definitions of Intelligence (2007)
It's tech-related fun, and yes, it made me chuckle so I'm fine with it being on HN. I might even say it's a 'hack'.
Letter to a Young Haskell Enthusiast
> 1. Semis

I think that highways in the future will become electrified and then teslas semis will be able to charge as they go on the highways.

http://www.bbc.com/news/technology-23603751

https://www.scania.com/group/en/worlds-first-electric-road-o...
I freelanced for about 5 years, and honestly almost nobody EVER went to my website. It's a referral driven business; you shine through the projects you build for other people. If clients are satisfied with your work, they'll spread the news about you. I can't think of anyone I know who has ever gotten business from some random person who landed on their website. That's why many freelancer sites just contain contact-info and that's it.
This is history revisionism as code.
BIP: Hard Fork to Return Seized Silk Road Bitcoin to Ross Ulbricht
I think schema-less plus excellent performance out of the box give MongoDB an edge. You also don't want to discard advance features like map/reduce buit-in in JS, chaining of commands, ability to have nested objects (think tables inside tables), ability to do atom modifictations to objects, etc.
Not sure about the difference between Anaconda and WinPython, but I can tell you that Anaconda was what I found when I needed to install python on Windows at work without admin rights. It works really well and installs most packages you would need.
How to DISCOVER Your TALENT
...but you can write (and sell) books about, talk at conferences too
Believing vs. thinking
> should it saves its owner or the kids in front of it ?

It would seem as the life expectancy of dwarves will go up.
Well yeah, Node processes run a single thread (of user code). There's no concurrency there. Go and Java will use all available cores of the system.

A better (and likely more realistic) comparison would be to actually hit the database: node is async by nature so would better handle concurrent requests.
I have not looked at the technical side, but one big thing is the license. Dokan is LGPL (the library is LGPL, the driver GPL). This one is released under the AGPL, though. :-(
Still, I think it makes sense to adopt a language and framework that makes this kind of scalability very easy. Nothing can really be called "over engineered" if it only took 5 days to create. Not even prematurely optimized. I think he just built something correctly and didn't take dangerous shortcuts.
I was a bit confused too when I saw Swift ahead of Objective C
> It has stalled out.

I guess the patronizing and uncooperative attitude towards the community plays its part. If you don't accept Rich Hickey and Relevance / Cognitect / whatever they call themselves nowadays as the ultimate source of wisdom, your opinion is worthless and you're "Doing It Wrong™".

But on the other hand, they're very much keeping the tradition of the of the Smug Lisp Weenie alive, albeit as a caricature rather than a rebirth.
>>> Where would I have put my images? In the database: MongoDB. It would require no configuration and almost no code.

Why... would anyone actually do that in anything more than a classroom example for an application like the one described? Amazon S3 and similar services have very decent libraries for pretty much every popular programming language, why would you re-implement that?

>>> MVP and scalability can coexist

I'd replace that with less catchy but probably more correct 'experienced devs can make more scalable mvps with little extra cost, if any'. MVP doesn't mean lets just go silly and make the quickest and dirtiest decision imaginable.

It's a matter of experience to recognize potential problems and the respective potential solutions, and program accordingly. SQL schema is a pretty good example. Often it makes a big difference in scaling and often you can design the initial schema to be much more scalable with some experience and a few moments of planning.
Ask HN: (O/S) DevOps Tool to Identify Wasteful Cloud Spending
Hello, I am looking for a software tool that basically helps you lowering your cloud bill finding holes in the set-up or architecture.

I found Hana Insight (Azure) and Cloudability (AWS) with seems like the right tool but not Open Source and both have a lot of Enterprise features.

Does somebody know either an O/S tool or something that can support Azure & AWS?

It would be nice but doesn't have to be O/S rather have something that works :) Just curious if there are tools DevOps are using I am not aware of.
A Unique Platform for International Painting-From-Photo Deals Is Now Launched
A new online platform at Drawberry(dot)com is launched to bring together artists and customers from all over the world and offer them an easy way to find each other and strike deals on custom hand painting from photos.

Customers can upload a photo they want turned into a professional painting, specify their requirements and preferences, and wait for artists to bid on the job. Once bids come in, the customer may look through them and choose an artist to work with. Completed work can be previewed before getting shipped and modifications may be requested when necessary. Photos do not have to be portraits only. Customers may request paintings of their favorite natural scenery, cityscape, scenes from sports competitions, family gatherings or anything else that might be in a photo.
Artists can upload samples of their work into an online portfolio, describe their techniques, style and the type of paintings they like to work on. They can then browse through orders and select the ones they would like to bid on. Drawberry offers a private messaging system that allows artists and customers to communicate while work on the painting is being done, which helps them clarify various questions that may arise and get a final result that satisfies customer expectations.

More information about Drawberry is available at drawberry(dot)com or on the company’s Facebook page
IMO it's the reverse; all the fun for young wealthy people is in the city centre, while minorities are pushed out to the suburbs. Old tenement buildings get reworked into apartments, warehouses in old industrial districts get similar treatment, etc.
I was skeptical too, but the guy has 500,000 users on a $100/mo server. It's not even up for debate anymore, Node.js is fast and scalable. You might not like MongoDB, but it also works.
Matching Storage Model to Data Structure in Mixed Database Environments
This seems more like a limited-lifetime side project rather than an actual viable startup. I've used MongoDB for situations like this where I just need to stuff some simple data into a datastore and retrieve it later without any particularly complicated queries.

Personally, if I were the author, I'd switch over to PostgreSQL the second I start worrying about more complex queries, though.
Looks really good!

A quick advert for PDF Tables https://pdftables.com/ - we're a bit more API-focussed.
> Are you a global warming denier?

I did not say anything to that effect in my previous comment. In fact, your question is so mindbogglingly groundless I am not even going to bother answering it.

> The article can be used as a tool by climate change deniers. They could say: "science have many major issues and therefore climate change is a figment of these communist eggheads imagination."

Of course it can, and nothing is going to stop them. But does that mean we shouldn't be talking about the problems we are facing in science? You aren't going to fix anything if you refuse to talk about it.

This article isn't about climate change any more than it is about climate change deniers. That's another discussion for another time. This article is about our problems in the way we do science. So stick to the point, please.
Announcement at CNIL: https://www.cnil.fr/en/windows-10-cnil-publicly-serves-forma...
Very true, even though not speaking specifically about the hackathon-starter but for any similar boilerplate project. If you enjoy prototyping and making MVPs, having a boilerplate that you are personally comfortable with and which covers most of the functionality is pretty much no-brainer.
Yikes. If it's paid, there is a money trail cops can follow.
Today such databases of cultural works metadata (movie descriptions, music album track lists) are illegal because you can use some of metadata (checksum of files) as identifier to associate it with actual content in p2p network.

What if we modify bittorrent dht or similar thing so it'll use some other identifier: wikidata id, oclc, instead of "checksum of checksums of files"? Next day Wikipedia and library catalogs become illegal?
I'd pay like a buck or two (or three) per movie. I don't have time to watch a movie every day. I tried Netxflix but they had at most a fifth of the movies I was looking for, so I cancelled the service again. I don't understand why the studios don't have sites of their own where I can just pay a bit and download a copy of any movie they ever made.
Het effect van water drinken op de nuchtere maag
I feel ya
UX Design Agency is working on the future of banking
Our first birthday – UXClub
10 tips om van je buikvet af te komen
How many slaves make the clothes you wear and the cellphone you play games on?
Past discussion: https://news.ycombinator.com/item?id=10217231
Ruby is the first language I really like. The core concept of the language is small, just not easy to get, but the change on how to programming is significant.
Sadly, Ruby is not the language for the multi-core world, and many advantages of using it is disappearing.
Although Ruby is changing, 2.3, 2.4, maybe 3.0, but what's the difference?
Five Technologies Every IT Employee Should Know About
It sounds to me like the author has drunk the "NodeJS is fast, everything else is slow" koolaid.
Yes, and no.

Yes they can really help you organize larger projects easily. With variables, you only have to write things once. If you change your "black" from #000 to #1a1a1a, for example, that's one change instead of dozens. Nesting is another useful feature that helps you separate one page/module from another, and keep everything contained. Mixins and functions are super-useful if you find yourself re-writing the same stuff over and over. Also, the preprocesing itself is a great way to "lint" your styles (in a surface-level way). If there's a syntax error, the preprocessor will just fail, exposing an issue that might have gone unnoticed if you were using plain css.

But no, they don't help you write the most efficient CSS. So if performance is your goal, you can probably write better/faster CSS if you target each element manually, rather than letting the preprocessor target based on your nesting.

And no, they don't help you alleviate cross-browser issues; that's what auto-prefixers and shims are for. Those are different tools, also useful.

And no, they don't help you keep your css tiny, that's what a concatenators, minifiers, and utilities like "UnCss" are for. Also great tools, but separate ones.

If you want to get all the benefits you can, your CSS build tool will need to include many different phases. Preprocessing is only one phase; but may be an important one, depending on what you're looking for.

Also,if you want to get started, just rename your .css to .less or .scss instead, and preprocess it. Both less and scss are supersets of css, (so all valid css is also valid less and scss). You can write vanilla css inside a less file with no issues. That way, if the urge strikes you to experiment with the features of the preprocessor, you can do so immediately.
Nmap now ships with and uses Npcap
Yeah, although building something with 500,000 users gets you a lot of attention, and probably a lot of free marketing for his actual startup.
Yeah it does seem that analogy isn't holding up. Perhaps a better analogy is monthly gas bills. It isn't immediately obvious how much running the gas hot water service will cost, but some cursory research would point you in the right direction.

None the less, it is definitely a balance of transparency and I think it is fair to ask for app vendors to properly optimoze and advertise the data usage of their apps in some way.
In the UK, under section 151 of the Road Traffic Act 1988, the owner's insurers are liable for third party injuries or losses caused by a thief driving the vehicle. They can try and claim back their losses from the thief, but that's unlikely to make them whole. So the legal owner will end up with a claim on their insurance.
> I can't reproduce this "bug" in either Perl or Python.

You're doing it wrong then.

#!/usr/bin/perl

use Benchmark;

sub trim {
my $s=shift;
$s =~ s/^[\s\u200c]+|[\s\u200c]+$//g;
return $s;
}

timethis(100, sub { trim("x" . " " x 20000 . "x"); });

With Perl 5.18 I get 2.65/s on a fast iMac.
No, Arduino uses the standard avr-gcc as its toolchain:

https://www.arduino.cc/en/Hacking/BuildProcess

'Arduino' is simply a set of C/C++ frameworks for the peripherals and a simple IDE.
In the light of KAT and PirateBay being down, which is the next most worthwhile torrent website.
I'm going to use Cassandra for part of my application - the bit that might conceivably be unperformant and very difficult to cache - even though it'll take a few extra days now to get working over using Postgres I'd rather just do this at the start than have migrate a write heavy and main part of the apps functionality while live.
No Man's Sky sued over procedural generation algorithm patent
I just don't get how he goes on and on about uploading images to cloud storage instead of mongodb, which he makes it sound like a very genuine decision.

Is it just me or what he telling is rudimentary?
Definitely a fair criticism of the analogy, and I think itnis fair to ask for more transparency from app vendors. I just don't think they should be held liable monetarily.

Some angry support tickets might be warranted though!
The Android team did a AMA on Reddit this week, they were pretty clear that regardless of people wishes only Java, C and C++ matter on Android.

Anything else it is up to the respective language communities to make it work.

Right now only Kotlin seems to be improving their Android support, but that is because JetBrains needs a killer application for it, which appears to be improving the world of those stuck in Java 6.
I don't get this acquisition. They are in losses and there is no intellectual property to speak of.

A somewhat funny video and a mailing list are now worth a billion dollars?
So this makes Stack Overflow a library of example code curated by people who already frequent their website. Am I reading that right?
The problem is that where I'm from, $100 is a weeks pay. An average Blu-ray costs a full days wage. VOD solutions exist, but they are expensive, poor quality, and are usually not in configuration I want/like(no subtitles/forced subtitles/forced dub). The internet is a global thing - a US or UK citizen can easily afford a brand new film. But move slightly further away from 1st world countries and new media is either too expensive for your average person or simply not available.
> Software licenses which allowed unrestricted distribution existed before the GPL

There is a world of a difference between 'allowing' distribution of source code and mandating it (like the GPL does).
Yes, it's a pain and particularly the user authentication solutions are very complex. The best I have found is this example but it's 100% not a starting point as the first thing you'll have to do is rename everything!

https://github.com/hassox/phoenix_guardian
I have exactly the same situation. But I have to admit to a slight preference for using Python 2 because it just feels more "fluid" somehow. Less demanding. Less "serious". And just as effective (I don't need async).

However I have now submitted to the baying hounds of doom and moved to 3 on most stuff for the reasons of "having a future", security, etc. Was pushed. Didn't jump.

One thing I will give 3 though is the stupidly simple thing that 3/2 = 1.5. Quite often I have to fire up python for a quick and dirty calc and it's much better not to have to remember the integer division quirk.
I believe they stopped p2p distribution [1]

[1] https://torrentfreak.com/spotify-starts-shutting-down-its-ma...
Curl 7.50 Changes
This may seem like a ridiculous strawman, possibly because it's presented as a comic strip, but I've seen similar conversations on the TV show Kitchen Nightmares. Possibly worse actually, as the business owners didn't even know how much it cost them to make their most popular dishes.
They don't anymore [1]. CDNs simply got too cheap to have a warrant a more complicated setup, that did not work on all their clients.

[1]: https://techcrunch.com/2014/04/17/spotify-removes-peer-to-pe...
I think you could do it very fast. It's just checking for the presence of static elements in the image, and you don't even need to check for every pixel. You would only need to decode the jpg and then check that maybe 30 pixels are the correct color (with a small tolerance). Also you know that every image is coming from an iOS device, so you can throw out any images that don't match a specific resolution, and you don't need to do any resizing or anything. I'm surprised that he didn't talk about resizing images on the device before uploading.
Taser Plans to Livestream Police Body Camera Footage to the Cloud by 2017
If anyone has more tips about how to get 500,000 users in 5 days, I'm sure we would all like to hear them.
The article's title is clickbait - the CIA database didn't "lead" to the Pentagon Riot.

As claimed by the article, the Pentagon Riot was an event precipitated by a protest which the CIA database had logged. The article alleges that this information could have been used to de-escalate the protest or tailor the response to it, but there's no causal link between the CIA database's existence and the protest happening.
How to Make Better Decisions with Data
Even my little sister has been using online streaming sites since she was 12, because she wanted to continue watching her favourite TV show, but in english, so she could pretend to be learning something for school while having fun.

No way to get the english dub even anywhere close to release in Germany, so the only solution was such a streaming site.

And now with the VPN ban, Netflix is useless, too. There's no realistic alternatives.
There were plans in the past of subterrain roads/tunnels so cities would be a place to live, not to move.
As of today, there's much left to prove. AI remain ideology, not reality.
Testing the 8-bit computer Puldin
Mischien moet je in het Engels posten in plaats van het Nederlands? / Maybe you should post in English instead of Dutch?
Computer systems can't handle unexpected events, at all. They can only do what they're told (execute instructions). They do not have judgment.
There are indeeed illegal numbers
Does USA ever extradite its own citizens anywhere? Has this ever happened?
To me it seems like he's talking about plain CPython, which isn't even in the same class as Node.js/V8. As you mention, the correct comparison would be against PyPy.
I suspect people who believe in the "life is a simulation" have little experience in running molecular dynamics simulations. Even simulating a single protein for a few microseconds takes a Linux cluster hours. The size of a computer that could simulate every protein on earth (let alone every other type of molecule) would be literally astronomical (as in larger than a planet; and no, plausible improvements in technology really wouldn't shrink that by much). Simulations of things like cities work because all the details of molecules and cells aren't simulated. But we can measure all these things, so either the simulation we are in is really that detailed, or, more plausibly, we aren't in a simulation.
Have Augmented Reality and Virtual Reality Just Become the Norm?
Care to chime in with some samples?
I have completely secondary questions related to the politics of it: why is "democrats" in the URL, don't they de-politize the working groups? isn't the majority of the congress Republican? What about the "ranking member" in the signatures? wikipedia doesn't really explain what it means.

On a side note, I'd like to add that this is an initiative from the legislative power, not the government, and that this is a discussion and not an enforcement. One of the big job of the legislative power is taking the pulse of the world to try to inform their voting on law matters. If I were libertarian, I would be really pleased to have a heads up before any law is moved in my field of activity, and knowing the move has been made after at least an enquiry has been made.
So, if you find as a bomb scientist find out a bomb is going to go off you cannot advocate for it to be defused? Because conflict of interest? A scientist is still a human being and that means such a 'separation of concerns' is not possible. nor is it good. scientists should try to apply their knowledge even if that is 'political'.