skysight-inc/HackerNews huggingface dataset:
I think that's an astute observation that the history of IF languages seems to be trying to find a balance between easy for programmers on one side and easy for writes on the other, and that Lisp is certainly as intertwined in the early history of IF as it is because it naturally hits an interesting place in that balance given the S-Expression "code is data"/"data is code" simplicity.

I still find Inform 7 a deeply fascinating example simply for trying a "Prose is code" approach that tries to favor writers first, somewhat at the expense of sometimes making programmers frustrated.
Google appears to have a cache of the page: https://webcache.googleusercontent.com/search?q=cache%3Ahttp...
That's true, but how much credit do I want to give myself for extremely obvious hiring process flourishes? Yes: give candidates study material!
Go look in the code and quit asking second thought questions that chew up other's resources.
Build a Voting App Using React – MobX – Bootstrap
This exists, it's not 100% effective because it's generally implemented as a UI flow change where less trusted binaries get scarier "are you sure?" popups and only the most obviously malicious files are blocked.

Edge has Microsoft SmartScreen[1], Chrome has CAMP[2] / Safe Browsing and Firefox has a system that also uses Google's data[3].

[1] https://technet.microsoft.com/en-us/itpro/microsoft-edge/sec...

[2] https://www.cs.jhu.edu/~moheeb/aburajab-ndss-13.pdf

[3] https://wiki.mozilla.org/Security/Features/Application_Reput...

Edit: I missed that part where you were meant pro actively check against publisher provided signatures. The above systems do that only via looking at the code's embedded signature and indirectly via "wisdom of the crowds" style reputation.
> The day after pill is very different

Why? They both prevent conception.
Very cool, but to anyone considering this endeavor, I gently suggest buying a Poker2 instead.
Cycling without lights and texting while driving is only really dangerous to the cyclist in question though, not really for other cyclists.

Turning without signalling is a bit of an annoyance though, I run into that fairly often.

Kids cycling two by two is also frustrating because you can't overtake, but it isn't directly dangerous.

The fact that cyclists here in NL can break the rules with impunity and still stay pretty safe is probably a consequence of how good our infrastructure is, imo
> The one thing that always intrigued me is that militaries never seem to have outfit their soldiers with watches (the only 2 i heard anecdotal evidence that they had were the Russians and the Swiss).

This could be a hold over from habits established before cell phones became common. Back before, say, the '90s, most people in the US (and I assume in most other first world countries) from their teens onward had a watch.

Perhaps militaries assumed that everyone coming in would already have a watch.

Furthermore, watches were often of great sentimental value, and many people would have viewed the military telling them what watch to wear as being as absurd as, say, issuing a standard military wedding ring to married soldiers to replace their civilian wedding ring.

As long as a soldier's watch was accurate and reliable enough for military needs, they probably saw no reason to not let the soldier use his own watch.
> drive around the block for a half hour looking for parking

That would be a dumb thing to do, unless you value your time very little. Why not just park in the nearest garage?
"As I get better at programming, I more and more often realize that I can write a better version of the library, or just one that better fits my needs."

That's a good sign. As you get better and more experienced as developer you start to realise the benefit of thinking things through before launching in to writing code or reaching for an existing library. Some times you want to do the first, and other times you want to do the second. There isn't a straightforward "one size fits all" rule to say which approach is best.
Million Dollar Handcuffs
I love maze algorithms. The visualisations by https://bl.ocks.org/mbostock/11357811 are great for understanding the basic algorithm, and I like the twists in the article.

Never sure how much promotional content should be on here, but the company I work for (Redgate) has a coding challenge related to this. See http://www.red-gate.com/our-company/entrypage/coding-challen... if you are interested.
He didn't create the universe first.
Ask HN: New Consulting Client Quandary
Newbie here - new to consulting.

— Chapter 1—
I have a potential new client ( a first time entrepreneur ) that has asked me to develop some new features onto their existing codebase.

The features are vague and big brush strokes IMHO, and require a few iterations of UX to lock in the actual interactions, user flow, and UI.

The client originally wanted some assurances and asked for a 'cost-ceiling' which i declined to accept for the UX sprints, yet which I was ok with implementing = once a clear roadmap/backlog was agreed upon.

Client response was “ok that works for me”

— Chapter 2—

I sent him a contract for the 1st sprint, with the terms these terms:

+ 1 week sprint for UX ( 40hrs )
with the option of going over these hours if required *approved prior to in writing.

+ 30% deposit to start

— Chapter 3—

+ Client responded:
“ If you require a 30% deposit upfront I would like to hold 30% as a completion payment as well.”

Question : is this a fair request? I’m trying to see it from his point of view, requiring some level of assurances, however I’m not at jeopardy to take any risks of my own, especially being on the hook for a nebulous ‘completion’ deliverable which needs multiple iterations and discovery.

What i want to avoid ( at this stage ) is a fixed price/scope workflow.

How can i best explain this to him so he feels secure to go forward w/o jeopardizing
the required agile methodology?
If your Lifetime Value is only "bigger" than your Customer Acquisition Cost, chances are you're still going to be operating at a loss.

A healthy aim is an LTV of three times your CAC: LTV > (3 x CAC)

That way - and remember that we're not talking hard figures here, just rough estimates - you're still aiming to cover your operating costs in addition to "just" gaining customers.
Git Extensions has certain shortcomings (search doesn't work that great, deleting branches is clunky etc.), but its competitors - on Windows at least - are even worse, I agree.

Besides, Git Extensions is written in C# and open-source... once I finally have some time on my hands (read: never), I'd gladly add some simple features that I'm missing in it
No, WebTorrent easily handles 500MB+ torrents. (I'm a WebTorrent collaborator)
High resolution uncompressed PNG screenshots should be a couple hundred kilobytes each at most. 1.8 million of 'em would be less than 1TB of data. If you transfer 'em to a temporary EC2 instance (no bandwidth cost) and zip them, it'll probably cost $50 or so in bandwidth to save them locally from there. Then, they'll fit on a <$50 commodity hard drive.
Pulling brakes hard is a sure way to fly over the bar at least on some bikes. Never actually happened to me but I've seen one guy land on concrete sidewalk this way.
The problem is not automation of jobs. The problem is that developed countries don’t need to consume as much as they used to. We can reallocate jobs until a certain point, but if we catch more fish that we need, we will eventually reach unemployment.
tl;dr iMessage now previews links automatically

> The updated iMessage loads the link preview and in essence clicks the link for you! That’s what irks us with this, the choice. OK we might not stop people clicking links anytime soon but Apple have taken this very choice away from us and facilitate the information leakage. The very act of receiving an SMS message can reveal your rough geographic location, your cellular operator, your current WiFi network.
Don't know how juices in US are, but here in Europe there's a lot of sugar inside.
#2 I feel like is the trap. As beings with limited amounts of time on this planet, the test should not be about absolutes, but if what we would build is better given the time we would have to devote.

And this isn't that strange of a phenomena when you think about it. Construction workers choose hammers rather than forging them on their own, we buy food from supermarkets instead of growing it on our own, etc. One of the principle elements of humanity is our ability to stand on their shoulders of giants, which shouldn't be lost
This post killed BTorrent's tracker. It's back up now.
If I'm remembering and understanding correctly: the commutator swaps the + and - ends of the energised coil. So you're not actually zeroing out the inverted end of the wave, you're swapping its connections to the circuit. Where an AC generator coil applies a positive and negative voltage to a single lead, the DC generator swaps leads as the current reverses.

I'm glad I'm not the only fuzzy one here....
Do pitchforks need to come out every time a Christian or Christian topic is mentioned on HN? Everyone knows there are people who exercise their religious freedoms, do we need to keep trying to burn them in effigy here?
That's correct. Tower Mac and Tower Windows are completely separate apps. 100% native technologies.
This is a very impressive effort! And I can't help but think it recalls an old heroic trope wherein the development of the true hero involves wandering off to forge one's own sword, (a theme which was more recently picked up on in Star Wars). I hope it encourages others not to necessarily settle with the blister pack handed to them.
Some feedbacks:

- Everytime I clicked on the bottom left plus icon, the app crash: http://imgur.com/a/YI8OO

- Can you add the option to always expand all diffs by default when viewing a commit?

- Can you add support for Meld merge?
You would think it would be the opposite though--if driving were such an essential portion of our live, we would put much more practice and attention to it, not less.
The funny thing is, when you're interviewing, your blog, open source projects, etc won't count. I know this might not seem real, but it's the truth.
I do the same thing all the time and I'm trying to break this habit since it might be holding me back. I'm trying to realize that I can learn a lot from someone else's work and by diving in and learning the ins and outs and even reading the library's source code I can learn a lot more than experimenting around trying to produce similar functionality myself. Reading code is far more tedious though than being able to creatively experiment with something. The creative learning is important I'm just trying to use it in other applications than re-inventing a wheel that already works well
> Why in the heck would you want a webpage to be 100mb+ ?!

Websites have scripts, images, videos, ads, text. Image + thumbnail = 1MB, gallery of images = 15MB, 600 posts with images, thumbnails, comments with avatars = ... ?

My wordpress blog started in 2010 with images, thumbnails is 5GB, last time I checked in July.
I think everyone knows in order to claim you built anything, you've really got to start with just hydrogen. And even then, you didn't build the protons from scratch...
I keep seeing a couple problems in this whole discussion.

Number one is the continued references to Keplers laws. Kepler only applies to 2-body systems where the mass of one is dramatically larger than the other. This works well for the solar system, where the sun is huge compared to the planets and the planets have little effect on each other. But do note that some planets were predicted to exist based on their effect on the orbits of other planets, so even in this sparse system the effects do make a difference. My point is that Kepler has no place in galactic dynamics but is often referenced - if that were the model that doesn't match observation then DUH! But the physicists are smarter than that.

Second, I occasionally see mis-application of the divergence theorem and/or gauss's law. Some folks seem to treat a portion of a galaxy out to a radius R as a point mass by using this theorem. The problem of course is that to make that leap you must have a uniform spherical distribution of matter inside the spherical boundary. In other words, a disk-like distribution of matter does not have a uniform gravitational pull at all points of distance R from its center. You'll find it is stronger near the edge of the disk than at the same distance perpendicular to it.

Third, this particular article keeps making reference to the "radial velocity" or speed of stars where I believe they are actually talking about the orbital or tangential velocity.

And lastly, if the dark matter obeys the same laws of gravitation, there must be a reason for its distribution to be different than the other matter. At that point, I don't see any need for "strange dark matter" or new particles or physics. You really can't have it both ways - it's fundamentally different, yet it obeys the same rules. Having said that, I could see how exploding stars would spread non-visible matter (remnant material) in a way that might be very different from the stars themselves.
In addition, touch screen latency is something that never gets tested but is a huge factor in how the device feels to use. Some phones have terrible latency and its impossible to find out until you own the device.
He built a keyboard without the keys or switches. That would be the most useless keyboard ever made until... he obtained pre-made keys and switches from a keyboard vendor. The gripe stands despite this being cool. A more honest description would be he made part of a keyboard or maybe the frame of one.
There's nothing in Newtonian theory that requires light to travel instantaneously, and Ole Romer first demonstrated that light had a finite speed in the 1670s, roughly a decade before Newton published the "Principia".
It's an unusual and disappointing error on Apple's part. I wouldn't be surprised to see it corrected in the first iOS 10 update. (And this is why we never install the .0 version of anything, and counsel our friends and loved ones likewise.)
Looks like an Ergodox (Infinity?) with full hand case.
Mysterious factory break-in raises suspicions about Chinese visit
The easiest way to explain this is probably through my scenario (and an example of how gogs worked, where Fossil fell a little short):

I have 26 students, for whom I have no account information or central auth server (eg a typical "pop-up" workshop).

As everyone is new to programming and (d)Vcs, I would prefer some authorization help from the system (Fossil is pretty good here, afaik "git push --force" isn't really an issue).

Everyone are on Windows, and while ssh is available, it's not a great fit for the platform. Fossil has "fossil gui" and "fossil serve" which allow users to clone - but I never could get either: plain http (no ssl, as this isn't a public ip which complicates settling up a trusted cert a bit) with push from clients to work - with or without password.

With gogs, I could turn off the CAPTCHA and enable registration in the Web ui, and users could push with auth from git and visual studio code, using user/passwords.

As far as I got with Fossil was registering users that worked with the Web ui (eg: edit wiki) -- but I couldn't get sync (push to the server) to work (neither from Linux, nor Windows).

At first I thought it was an issue with a mix of Fossil versions, but in the end I think that ad-hoc LAN deployments just isn't all that we'll tested? Perhaps especially on/with Windows clients?

As far as I gather when cloning a repo, Fossil is supposed to get a copy of the user database, and so everyone should be able to a) use "fossil gui" and edit wiki pages etc and have changes auto-sync out of the box (assuming the upstream Fossil instance is up) and b) use "fossil serve" and have other registered users be able to push changes?

I was able to pull, and sync/push over ssh, but (auto)sync over http always failed. From the docs, it looks like it is supposed work, with a bit tuning of auth/authz settings in the administration Web ui).
Even if the benefits are small, the costs are...what, exactly?
Huge Turbo Mustang vs. 1,500 HP Twin-Turbo Lamborghini in Texan Street Racing
Since the article mentions nothing about veracrypt I assume veracrypt downloads/mirrors for windows users were unaffected. Does anyone know if this is true?
If you're trying to fill holes in your android development skills, you should consider doing the android nanodegree on udacity.

It was developed by Google, so you know it'll cover almost everything and give you best practices approach to developing android apps. It's also well structured and can be done in your free time.

https://www.udacity.com/course/android-developer-nanodegree-...

If you don't want to pay for the nanodegree, you can also take the courses individually for free (without getting credit).
The Future of the Word Processor
So there are many sets out there and this few fragments, 13 in all, are actually going to be tested for authenticity. That is a very good outcome and one benefit of those who can and desire to collect such artifacts has, especially when they are willing to turn them over to groups that can properly discern authenticity.

As to some claiming its merely dealing in stolen artifacts, most of this concern only arises when profit is to be made or the group claiming ownership has a strong voice. When does it stop? We argue day in and day out here about the absurdity of copyright and patents yet rush to defend states declaring ownership over stuff they know not existed? (its even sillier with sunken treasures)
> Early 2016 we were the first company in the UK to offer
> SMShing services. These SMS messages are like phishing
> emails and contain a pretext alongside a link within the
> message. When a mark receives an SMS message and clicks the
> link a host of details are available to us.

This kind of thing happens with email too. In Apple Mail you can disable the loading of external contents. Does anyone know in detail how the preview in iMessage work?
The missing piece in other laptops, as always, is not raw specs, but build quality, and things like a great trackpad. No one else seems to be able to nail trackpads. I really wish I could buy a different brand of laptop, but I've been spoiled by the MBP's trackpad.
What's wrong with web hosts nowadays? a few 100 users and everything dies.

Cached: https://webcache.googleusercontent.com/search?q=cache%3Ahttp...
it also happens on the macOS and there is no way to disable it.
This study is cited in every discussion of helmet use, yet it was barely scientific -- the author was his own test subject, and there has been no attempt at replication.
On the other hand, I've just been at a place where "invented here syndrome" masked crappy developers to the detriment of the business. One tester spent 3 days tracking down a simple python dependency bug - but in the meantime he was productive because Travis is so easy to set up, and his Ruby tests worked.

Travis is definitely more appealing to me than maintaining my own Jenkins instance. But I can't help but feel that we would have caught this guy's crappiness much earlier if he had to set up his own Jenkins job instead of a travis.yml file.
Apple should fetch the data via their servers instead of the clients'. It leaks way too much information.
Tower team here: thanks for pointing this out! This is already on our todo list - and, in fact, already being worked on! Won't be an issue for very long ;-)
A load of videos about building great software businesses in one place
imessage won't auto-load previews until you ask it to do it the first time.
Linux kernel as a Library (LKL)[0] uses nommu mode. I think mostly just because it was easier to get working fast than trying to emulate an MMU. They've attempted to upstream a patch to XFS to work in nommu mode[1], but met some resistance from some XFS developers.

[0]: https://github.com/lkl/linux

[1]: https://lkml.org/lkml/2015/11/17/862
First keyboard built by hand for me was a ZX Spectrum 16k keyboard replacement made of door bell buttons. It was back in 1986 if I remember well. Result was a matrix of about 1m/50cm. We've actually broke the keyboard of our teacher computer because we were a full classroom playing Jetpack on it. All class has participated - of course with teacher's help. hehe...
GDB 7.12 Released
I do not think it's faire to say "Europe". In France, the situation seems fine.
All the switches do is close a connection between two wires. He could have used bent paperclips and taped cardboard on top of each one for the keys. Would you be happy then?
Thanks for your patience.

There's a distinction between a current which reverses flow, and one which varies, perhaps regularly, but without reversing flow.

The reason coordination of AC generation is crucial is that if you pump opposing cycles at each other, they simply cancel out. If you pump out-of-phase varying DC currents at each other, they amplify one another -- the sign is always positive, but the magnitude varies. I suspect that might also cause problems, but not in the same way as a going-nowhere-fast out-of-phase AC circuit would.

The phase-damping (and I very vaguely recall damped driven oscillators from physics: friends don't let friends drive damped ...), wouldn't be an AC/DC converter, but a form of power smoothing / power conditioning, I believe.
Supertasks
So he built part of a keyboard. The best application I see of this, other than a startup for retail or Wall St keyboards, is for secure input. A secure keyboard has to (a) be immune to code injection, (b) no leak anything over power supply, (c) be TEMPEST shielded, and (d) optionally encrypted input directly to input subsystem in CPU if anything else on I/O bus is untrusted.

For this, the keys can usually be second-hand but everything else is custom. Mainly the MCU, power filter, material around it, etc. One might similarly do a wireless keyboard that encrypted its transmissions.
Embrace!
Finally a Simple and Universal Router for React.js
That article could have been shorted to: I'm old.
It's simple if you are not willing to provide health insurance either admit that and don't provide health insurance or don't employ people.

I also demonize serial killers, because they go against my personal beliefs. Because that's what personal beliefs mean. I also don't calibrate the lives destroyed from insanity, why should a tolerate the mass delusions from religion again?
Something like Certificate Transparency but for binaries and source code?
I use a combination of SourceTree and TortoiseHg with the HgGit extension...what's sad is that TortoiseHg tends to work better than SourceTree, and definitely ebtter than the official GitHub client.
I'm slightly surprised by the "best place to drive in the world" claim.

Urban driving in the Netherlands is pretty stressful, you have to check regularly for cyclists (in both directions) when turning, and also avoid trams/tram lanes.

Although, since the bike infra is so good, you rarely find yourself needing a car here.
Can't tell if serious or not. Assuming you are serious:

Bikes are actually wonderful transportation devices that fill a useful personal transportation middle ground between walking and driving. They're much faster than walking, but still quite cheap and healthy. By comparison, cars are extremely expensive and make you fat when you rely on them too much.

Walking would be quite dangerous too if we didn't have protected walk lanes (we also call them 'sidewalks') and dedicated walk signals at intersections all over the place.
Hugo is not blog oriented and works well with any site structure.

A good way to a lot of different ways of how people are using Hugo is with the site showcase.

http://gohugo.io/showcase/
Perhaps the feature could be overriden by a strong jolt (~100 N*s or so) so it would open normally if you gave it a shove.
I've built a similar keyboard, called atomic keyboard, I love it, even if it was pretty pricey.
Justinmind Sponsors UX UK Awards 2016: Shortlist Announced
Oliver Hart and Bengt Holmstrom Win Nobel in Economics for Work on Contracts