skysight-inc/HackerNews huggingface dataset:
Commenting to follow this thread. And if I may add a question: Are there such things as javascript tutoring services?
One of the first things I implemented when setting up a company's webserver was to make .git and below return 404. Making those folders visible is a silly idea on SVN, let alone Git.
It's so incredibly annoying that every time there's a news article about wikileaks people start crying about its bias and Russian spies. Even if Satan himself feeds them info, so what? What matters is the truthfulness of their leaks.

It seem to me like a lot of people avoid attacking the verasity of the leaks themselves but focus only on the 'Putin connection', which is of course a much easier thing to do.

Well, hey, it's modern world politics, where it's not the objective truth that really matters or the argumentation, it's a 'who can shout the loudest' contest instead.
I too, have an opinion. But WaPo is not going to publish it unless it is in line with their beliefs as an org. They published it, it reflects on them.
I've always used tmate.io inside a linux container. The only downside is the person I'm pairing with must be comfortable with command line interface.
Supposedly, they use typewriters over there. At least that's what they want us to think, but why wouldn't they? Computers are inherently untrustable & likely malicious if you don't build the damn thing yourself and by the time you connect to the internet, all bets are off.

http://www.telegraph.co.uk/news/worldnews/europe/russia/1017...
> seriously one big thing that's a no-no for me is only HDMI1.4 (not HDMI2.0). It means that you can't do 4K@60Hz.

You can, using the Thunderbolt 3 port. I run my XPS 13 at 4K@60Hz using the mini-DP port, and Thunderbolt 3 is capable of that and more.
> "simplest way to do BasicAuth"

The simplest way to do BasicAuth in Haskell isn't Servant. I feel like you're intentionally misinterpreting what I'm saying.

As for resources, here's a great intro to type-level Haskell:

http://www.parsonsmatt.org/2017/04/26/basic_type_level_progr...

> For some reason, functions that operate on types are called type families.

That's the kind of thing you need to know.

I doubt the average JS user knows how V8 optimizes execution of code, or whatever. That's what your insistent complaints about type theory amounts to: none of the articles I'm linking to mention inference rules or type judgments or what-have-you. That's what all the research papers about Haskell are for, which you do not need to read to use this language. Even advanced Haskellers don't do type theory (category theory, maybe, not type theory). Only a couple of people working on the compiler do.

More DataKinds:

https://stackoverflow.com/questions/20558648/what-is-the-dat...

http://ponies.io/posts/2014-07-30-typelits.html

https://www.schoolofhaskell.com/user/k_bx/playing-with-datak...
One of the more amusing patterns I spotted in the URLs is where an alarming amount of the filesystem appears to be exposed, e.g.:

www.dulceswilly.com/mysql/BHP_sym/root/usr/local/etc/apache22/server.key

If I was on a non-company IP, I'd be tempted to poke around and see what else is visible...
Art Up Your Tab
I made an overview of the changes in Tensorflow version 1.3
TP-Link Archer C2300: The new generation of TP-Link routers looks promising
Interesting read. Personally, I prefer Medium for the convenience.
Hey everyone, I'm the author of this article.
Tensorflow releases go very fast nowadays, and I noticed it's hard to keep up. This weekend I spent some time going over the changelog, searching for changed parts of Tensorflow that might be important for me and others.
If you have any questions about this version update, or in general about Tensorflow, leave a comment here or under the article!
It's a fine line we walk here. I do think that free speech is being curtailed, but I also would prefer a more civilized society where we can expect a certain level of respect given by default.
Apple did this and MS is following. Is there something going on with MathType? Has it fallen on the radar?
Here is an interactive map for learning Javascript :

https://learn-anything.xyz/programming/programming-languages...

And here is one for learning React :

https://learn-anything.xyz/web-development/javascript-librar...

Both maps are community curated so if anyone thinks there is a more efficient path for learning them, you can submit pull requests. :)
It's possible they were led by utopian thinking. For example, I'd love a society where everyone knows everything about everyone but just doesn't care what weird ideas and preferences they have. But I also expect that no society that hasn't been telepathic since it's dawn would be work as well as the idea goes ;)
Basically, the moment you have

readFile :: FilePath -> IO String
writeFile :: FilePath -> String -> IO ()

and any function invoking those two (and any functions invoking these function etc. etc.) your "haskell strictly conforms to FP definition" flies out of the window.

And yes: I used the term "IO monad" incorrectly.
Hate to say it, but this is a rather naive perspective on human behavior and interaction. Like the GP said, the threat goes far beyond losing a job. For just one example, it is a very sad fact that transgender individuals face significantly higher rates of domestic violence, sexual violence, and stranger assault, especially trans individuals of color. More broadly, maybe it's true that fully outing all (or most, or many) closeted LGBTQ individuals would force faster societal change in the long term, but the short term effects may not be worth it, and anyway, I really don't think that decision should ever be in the hands of anyone other than the individuals themselves.
Unless you can point to how someone get access to a lot of machines at one time then yes obscurity is actually a really strong method.

Furthermore it's not just obscurity it's also the other things I mentioned non-connectedness being one of the biggest.
How do they feel on your ears? Not sure if you can relate to this but all headphones I've tried so far end up hurting my ears after a few minutes to a couple of hours of wear. My ears are small-to-average, but stick out slightly and many headphones create uncomfortable pressure there. Is there some space between the actual ear and the ear-cup with these?
Nope, just following Apple's support in Pages!
How to detect if string data is number and integer in COS?
Postal addresses have counties or states. In the UK counties haven't been a required part of postal addresses for many years.

https://personal.help.royalmail.com/app/answers/detail/a_id/...
If you want to buy one you should extend your analysis beyond the hardware specs because the software and operating systems are not ready yet. I can give the example of the latest XPS 13 2-1 where Office applications like Outlook cannot recognize a monitor with a different resolution and the fonts are blurred. Look for example at https://support.office.com/en-us/article/Office-apps-appear-... high DPI is a whole issue.

I can give many other examples with drivers support. For example, if I unplug the notebook from the dock the audio playback doesn't work again if I don't reboot the computer or remove/reinstall the driver.

It would ve nice to hear about a critical analysis in Linux.
hi olavgg, I was searching for fast fsync & low cost NVMe SSD a few months ago, so I looked into consumer NVMe SSDs. Samsung 960 Pro was the first I tested, the results were just shockingly bad. It was so bad to the extent that I started to question whether my kernel/installation caused the slowness issue. Searched online and found a few of your posts talking about the exact same problem you saw. That saved me quite a bit time. :)

Yes, totally agree with the conclusion in your link above, consumer SSD (NVMe or not, high end or cheap) doesn't worth a dime. Cheers!
Because it's google.co.uk, not the one you usually use.
The USB-C port provides Thunderbolt/DisplayPort, which can easily do 4K@60.
I'll be more interested in truthfulness of leaks when Assange leaks Putins emails.
Yes I was self conscious, that's what encouraged me to keep fixing things so people would see me working rather than slacking off (it's similar to the IM client busy/away indicator at work.)

It made me a better programmer simply because I was doing it more, so I kept encountering problems and having to solve them. I learned why more experienced programmers do things and don't do things, I got better at using GDB and started using valgrind etc.
Ever since this became a meme, I have made a habit of noticing other runners' strides. Women almost never are heel-strikers. Men land a little farther back in general, but still more of them hit mid foot than on the heel. Not every shoe will work for every foot, but I don't think that one needs to go as far as the five-fingers shoes.
Yeah, the difference between "this is suitable for a library (that is then called from within the context of someone else's process)" and "this is suitable to be its own process (that is called via message passing)" is something that takes a while to fully grok from an architectural perspective.
Dzhanibekov effect
FireEye/Mandiant dataleak
Healthcare IT Solution Delivery and the Cloud
7 Things I learned in my journey from coding bootcamp to Senior Developer
If I write the foo function in assembler, it will also be slower than just a+b. The assembler won't be able to inline the function, which makes the C version possibly more efficient.

You are comparing apples and oranges.
Gboard for iPhone adds drawing, Maps and YouTube
Yep. So could not having a lock on your car.
Rather 40% newsletters, 40% expense reports (note de frais).
> Even for those languages, unless all relevant data is in simple arrays, making assertions about locality is hard.

It depends on the libraries you use. Take a look: https://github.com/Const-me/CollectionMicrobench

As you see, in practice, a good linked list is same or slightly faster than std::vector. And it’s consistently 2-3 times faster than equally linked std::list.

That’s not just synthetic tests. Recently, I’ve got 2.5x performance improvement in my app just by switching from std::unordered_map to CAtlMap with the same keys/values.

Theoretically, C++/11 fixes that with stateful allocators. Practically, I’ve not seen good open source ones with the performance comparable to CAtlPlex that powers these ATL node-based collections. I’m not even sure it’s possible. STL is too standardized and too old. It might be there’s no room in its allocators API for sufficient level of integration between a collection and it’s backing stateful allocator.
Because the FSB publicly threatened them after they were claiming they have shit on the Russian elite.

Couple months later, Assange was on RT.
I've tried to document the journey of building a product and it added a tremendous load of stress to the already stressful process.

Props to the "don't give a F let me broadcast all of it" mentality.
That looks like an amazing machine. Is it the same as in this review https://www.notebookcheck.net/Dell-XPS-15-9560-i7-7700HQ-UHD... from 4 months ago?

I had lots of annoyance with a previous Optimus based notebook. How has the situation of bumblebee and primusrun and dualbooting improved in the past two years?
The same can be said of Travis if not more yet he is out. So why should the board remain?
Every time this comes up, it seems to me that the obvious answer is that we should get rid of the secret ballot. If everyone's vote is public then everyone can check that their own vote was counted correctly. I know the argument is that people may face pressure at home and be afraid to vote, but is there anyone left who doesn't tell everyone how they voted? Maybe I'm living in a bubble, but I know exactly who all of my friends, and family voted for, none of them ever tried to keep it a secret.
Ask HN: Why Apple and Google impose the languages used to build apps?
I understand that this could've been relevant few years ago, when smartphones used to be inadequate for the task.

But this is no longer a thing.

So why would Google and Apple hand-selected for us a couple of languages each for building apps on their platforms?
Samsung to Manufacture chips for 2018 iPhones
In 2018, Samsung could again be manufacturing A12 chips for Apple's iPhone. However, Samsung will also share the order with TSMC for the next year.
> Buildings do not move

In communist Romania even churches moved, and quite by a long distance (200 meters or so). There's this Google Images link for moving churches (https://www.google.ro/search?client=firefox-b-ab&biw=1920&bi...) and this other one for moving buildings (https://www.google.ro/search?client=firefox-b-ab&biw=1920&bi...)
The Race Between Education and Technology [pdf]
> Funny that is the _exact_ same argument that politicians have made about secure backdoors in communication software for use by "law enforcement only".

The government's argument is that we have the ingenuity to land a man on the moon, therefore it should be no problem to land a man on the sun.

You're arguing that because we can't land a man on the sun, there is no way to land a man on the moon.

The reason the government uses that argument is that it's generally true. Application of resources and ingenuity solves problems. Secure encryption back doors are in the exception box next to perpetual motion machines and faster than light communication.

Subverting censorship is not. People do that all the time.

> Why is that doing wrong? The causality is based in Western humanistic moral belief.

It is doing wrong because free speech is the best known method of preventing civil war. War being right at the top of the list of the most evil things in human experience.

And we're talking about Western beliefs because we're talking about Western people demanding Western values of a Western company.
Piwheels: building a faster Python package repository for Raspberry Pi users
Eloquent Javascript is outdated; it does not cover ES6. The book is well written and it has nice problem sets but a reader will end up frustrated by the obsolete information.

Object Oriented Javascript by Antani and Stephanov is more current
Perhaps this could be defended against by probabilistic connection rejection?
Even simpler, they could just allow sideloading of apps so they don't have to be the gatekeeper defending China's interests.
tl;dr: If you use C++ like Java and don't care about performance at all, it will be half as efficient as hand-optimized C.

Which is pretty remarkable actually. In favor of C++.

Why didn't the author rewrite it in C++? It's not like C can do anything that C++ can't.
Google? ;)

Many shops that sell running shoes will also offer clinics, coaching, races, and other activities. Helps them build brand awareness and community. Of course, they're goal is to sell more product, but generally, the events that are co-hosted with manufacturers will be obvious.

Even if your local running shop doesn't host events themselves, they can almost certainly point you to a local running club which likely will host events.

That said, I'm not sure that a attending a clinic will be fruitful if you're a completely new runner. It might be better to get some good running shoes and run a bit on your own first. Get a feel for what you enjoy, hate, and what aches and pains you get over time. Then attend the clinic - you'll be more in-tune with your body and better able to communicate with the coach.

Just my $0.02 as a long-time casual runner. I do race, but not seriously. Currently, run twice a week - 7-8 miles on the weekend, and another 4-5 miler during the week. I cycle the other days.
Ask HN: What is the most toxic thing you have seen in a partner/co-founder?
I will start, this is all from one person.

1 - Had drugs delivered to the office, and more than for personal use! Their name was not on the package, only the name of a side project we were working on (presumably to plead ignorance should it be seized)

2 - Landed us in court, and had multiple threats/walk-aways mostly due to extremely poor communication when things got ugly with clients.

3 - Worked on the side for clients. Never asked whether it was OK or disclosed, found out by accident.

4 - General troll/keyboard warrior online, but weak in person. Undermined company publicly by being a dick on numerous occasions to competitors, ex employees etc.

What is the most toxic thing you have seen in a partner/co-founder?
I think the argument is more that someone can then sell their vote, because they can prove how they voted.
Wikileaks is an English speaking organization with no Russian speakers on the staff, why would a leaker consider leaking Russian documents there? They can't leak what no one sends them, which also explains the other two.
> I'm all for privacy and there are things I wouldn't care to expose on the internet (like my home address and exact apartment number)

I hope you don't have a registered domain name, because then this information is in the WHOIS database, which is public.
Please don't post direct links to Wikileaks or any other site that hosts leaked classified material (even if the link is not to classified material).

By posting a direct link you are excluding the people who have the most well informed opinions on the subject.

Even just linking to a clickbait piece that provides a link to the source material is better.
I have the xps13 2016 dev edition too, and it's a solid laptop.
Let me ask you which dongle do you use to connect to external hdmi monitors? I got this one[1] a while ago, but it doesn't output more than 800x600. I use the wd15 at home without issues, but it's not suitable for traveling.

[1] https://www.amazon.com/Dell-Adapter-Type-Ethernet-470-ABQN/d...
I agree running has gotten to be muddied by the complications of technology. It's meant to be an archaic practice emphasizing a meditative state. The process should be focused solely on meditative benefits, with physical benefits coming as a secondary benefit.
> but is there anyone left who doesn't tell everyone how they voted?

2016 was full of such examples in at least 2 countries ...
Much of the US does use optical scan paper ballots:

https://ballotpedia.org/Voting_methods_and_equipment_by_stat...

Hopefully the message that paper ballots are simpler and provide a strong audit trail will continue to beat back the new and shiny.
That's why I inject noise into the web on a regular basis. Just do some random searches, click some random links.
Did they not grow up playing Trivial Pursuit?
It sucks that you can't simply sideload apps like with Android (it is possible but has many restrictions). That's my main gripe with iOS. Without Apple's servers your device is virtually useless. Apple pulling those apps would be a non-issue.
Almost all of them have open USB and Ethernet ports, or just connect to the alphabetically first WiFi they can find.
Ecommerce Businesses and Competing Against Amazon
I've all but given up hope on Apple bothering with 32Gb RAM.

Been researching the Dell alternatives (XPS and Precision) for a couple of months now. Very tempting machines indeed. I just want to see one in real life to see what the build quality feels like.

Pssst.. Mr Schiller... it seems it is possible to stick 32Gb of RAM into a laptop AND have decent battery life. Well, that is unless you're intent on giving your products anorexia which it seems you are.

</end rant>
Not to a TV, tho, which makes it a deal breaker for me. They should put a proper HDMI port.
Spear phishing is remarkably effective, even against tech-savvy people. One of the most alarming aspects is that we've become trained to click links in emails as soon as we see some trustworthy indication, be it something we were expecting, a spoofed sender or copying Google's layout, further re-enforced by an accurate login page clone.

I think the best defence here is to condition ourselves out of this behaviour. If you receive a link in an email, don't click it - view the source or paste it into a text document and examine it. And if you aren't expecting an email, such as Google emailing out of the blue, go to the known-trusted site and see if there's any pending notifications.

Seems we need to stop trusting email.
First link goes to someone's github named Jimbo, a portly PHP guy from Austin, TX.

I apologize for saying this, but... so far, this is violating no stereotypes
> The simplest way to do BasicAuth in Haskell isn't Servant. I feel like you're intentionally misinterpreting what I'm saying.

True, I re-read what you wrote, and argh. I need to learn to read.

> As for resources, here's a great intro to type-level Haskell:
> That's the kind of thing you need to know.

So, we're basically returning to the root of my complaints

> I doubt the average JS user knows how V8 optimizes execution of code

Wait. Are you telling me now is that writing a BasicAuth implementation in a "simple library that doesn't require you to have a PhD in type theory" is on the same level of complexity as knowing the inner workings of an advanced Javascript VM?

> That's what your insistent complaints about type theory amounts to: none of the articles I'm linking to mention inference rules or type judgments or what-have-you.

No, they don't.

I'm looking at Servant and its examples. In order to write an extremely simple and basic piece of code, I, as a programmer:

- have to pull in no less than 10 language extensions

- five of those extensions are just workarounds some obscure Haskell rules (?)

- in order to understand just the basics of what's going on in there I need to know why when and where these extensions are used, how they work etc.

What happens the moment I step outside the bare necessities of the extremely simple BasicAuth implementation, for instance?

> More DataKinds:

This exactly what I wrote: as soon as you step outside into a real world of Haskell, oh "here's a list of increasingly obscure things you need to know. Maybe two people on StackOverflow know about them. For the rest, please proceed to your nearest university to obtain a PhD or two".
Not only is secret voting an integral part of a democratic voting system, it is also entirely possible to implement a system where everyone can check their own vote while keeping their vote secret. Each registrant can simply be given a unique string that is connected with their vote.
Powering Helix’s Auto Rebalancer with Topology-Aware Partition Placement
The Camera Drone Company That Fell to Earth
Reconfigurable electrical circuit etched into a crystal
No, screw that approach. Truth is not just a collection of facts; it's also the point cloud that the facts create. Even if your information is 100% accurate, you can still generate incredibly potent misinformation by selectively releasing some facts and retaining others. It's bias laundering, and it creates propaganda that's substantially more difficult to discredit than the old-school, lie-based kind. We should really know better, but I suppose it plays to our human weaknesses.

I say that every time WikiLeaks comes up, "Assange should not be trusted" needs to be the top comment. No different than a "view at your own discretion" label.
I've given up on bumblebee.

I have upgraded an Ubuntu laptop over a few years and every upgrade it broke, requiring some new incantation to fix it the next time. I don't think it's considered the future?

I believe the future is called "Prime Synchronisation", announced a few years ago. Good luck getting it to work though: https://devtalk.nvidia.com/default/topic/957814/prime-and-pr... I gave up after a while.

We're probably nearing the time when I'll give all the methods another go, but currently I'm back into the "change setting and log out + in" camp.

As an aside, bumblebee also seems to break my i3 environment... I get hangs & magic sysreq won't recover. I've had to go back to the default DE.
Doesn't matter what I use, it's what I play through them. If I don't want any music, I will play pink noise. If I want music, I'll play instrumental only music. Cheap $15/20 headphones does the work for me.