skysight-inc/HackerNews huggingface dataset:
I don't know anything about kernel dev: why would C++ be a bad choice?
I'm kinda astonished that this even needs to be negotiated. It should be the default at any half-decent employer.
The fundamentals of Chat app development: Complete process insights
And it shares its DNA with Sun (Stanford University Network)
Those filenames look terrible to me.

BRAFWTNEGASSAY doesnt make any sense.
To distinguish between the filenames you actually have to read the full filename, and with such long filenames chances are they won't fully be displayed, so that you have
2013-06-26_BRAFWTNEGASSAY_Plasmid-Cellline-100-1MutantFrac...
For the first four files.

Keeping cruft out of your filenames seems like a much, much better way to name files. Also, most systems keep track of the creation data, no need to keep it in the filename. I think it's better to give files an id.
That makes 0 sense, why should the longer person pay tax for their genetics? Also don't recline if it causes physical pain to someone else. Wtf is wrong with you
GameCredits takes on Apple and Google with its blockchain-based app store
Regarding the difference between men and woman. If a man was hit upon inappropriately, he wouldn't have felt the need to blast it out to the whole Internet.
Thanks. I took the "making this pretty is the web clients job" approach, it looks nice in firefox reader mode. The two biggest issues are:

1. Syntax higlighting doesn't exist in reader.

2. The index page (http://flukus.github.io/) can't render in reader mode, it didn't hit the "must have a paragraph with at least 68 characters" or whatever the arbitrary limitation is.

For the later I'm hoping the add some sort of meta tag that allows me to enable it in future.
> /bin/sh is different on different machines

Write portable shell scripts (or lines, in the case of a Makefile).

There's some tips here: http://people.fas.harvard.edu/~lib113/reference/unix/portabl... and of course you can refer to http://pubs.opengroup.org/onlinepubs/009695399/utilities/con...
It's actually Erlang with Ruby-like syntax.
Not listed: http://wiki.seeed.cc/FST-01/
Wow, I remember the times I used LimeWire. It was a nice service with the alternatives offered.
Sorry, I want some tenuous connection to VR/AR as well.
Rust at Sentry
We've banned this account for ideological trolling.
5 Remote Energizer Tips That Will Make Your Remote Retrospectives Rock
> For example with make you have `./configure` files, do I also have them here?

The concept of `./configure` is 100% orthogonal to Makefiles. You can have Makefiles without `./configure`, and you can have `./configure` that outputs something other than a Makefile. For example, I could easily imagine a `./configure` that prints a shell script like the one in the submission.
Scala has scala-native: https://github.com/scala-native/scala-native

Any myriad of FP (scalaz, cats), concurrency libraries (rx, akka)

scastie: https://scastie.scala-lang.org/

scala.js: https://www.scala-js.org/

This FP-focused fork of the Scala compiler: http://typelevel.org/scala/

The next gen Scala compiler called dotty: http://dotty.epfl.ch/

Twitter doesn't mention scala-native...
The problem is that a lot of people aren't capable of working remotely and/or treat work from home as a day off.
Up until November last year my youngest daughter was using my old 3GS. She loved that phone and could even still download apps from the App Store. I know this because I installed Lemonade Stand for her last summer. You can't get that now because it only worked on the older OS versions, but there it was in the App Store for her 6 years after I bought it. I'd try and boot it now to check it, but I'm not sure where it is.

Planned obsolescence by big fat arse.
To me, antifa looks very much like a violence-dependent ideology.
I got my iPhone 5S (The 5S replaced my 3GS) when it was released and I'm still using it. The only problems I have are a little bit of yellow tint on the screen and the battery not having full capacity.

Maybe I got really lucky with both of my iPhones but even though I hate to pay this ridiculous premium price for iPhones it kinda evens out in the end considering I use the phone for 4-5 years.
Not entirely, since there's no easy way to tie physical presence to secret availability
Elixir really isn't just Ruby with better performance. The two look syntactically similar (and have some similar tooling, from rubyists who've moved over to elixir), but that's about where their similarities end.

Ruby really isn't designed for building complex concurrent systems. Erlang/OTP is designed specifically for that.

When I need to build something that recovers from failures in Rails, it means code that is littered with try/catch statements. I recently wrote a basic caching system in Elixir for a project at work. There are plenty of ways for it to fail, and I handle none of those situations. I let it crash, bring it down gracefully, and then bring it back up in a healthy state. You can write truly fault-tolerant programs on top of a very powerful and stable VM.
Don’t Be Afraid, This Is Just a PDF. We Won’t Ask for Your Email
Would you please stop posting ideological rants to HN? We ban accounts that use this site for ideological battle. That's a violation of https://news.ycombinator.com/newsguidelines.html.
Some good noise cancelling headphones are very helpful in this type of environment. If you can't get out of the office this is the next best option.
It's also their responsibility to leave for a better opportunity if they can't advance their career at their current job. It's the manager's responsibility to try to retain good talent.
> Using make in a CI system doesn't really work, because of the way it handles conditional building based on mtime.

Any CI I've seen starts from a fresh repo checkout and rebuilds everything every time, so it's not an issue with practice.

OTOH, probably all my projects were small enough for it to not hurt when the CI builds everything from scratch every time. I might look at this from another angle if the things I worked on were mega-LOC C++ programs, and not kilo-LOC Go programs.
You simply need a gated check-in.
Annotation processing is impossible to reason about; it's equivalent to macros but much less visible.

Most Scala doesn't need macros (other than those inside shapeless) because Scala has a) higher-kinded-types, for/yield and an existing library for working with context-like types, and b) generic traversal of object graphs via shapeless. Between them those cover virtually all the use cases for annotation processing, macros or anything like that.
Advice for the next steps of a health care side project
Dear HN, I am asking your advice for the next steps about a side project in health care.

Once a company asked for ideas about a COPD and Heart Failure early detector.
I submitted my idea (based on Physionet 2016 competition), but the company then asked for a proof of concept.
I had none, so I decided to make my own and make it public. I would be happy if it would be copied widely.

https://hackaday.io/project/19685-early-and-low-cost-detection-of-heart-failure

The PoC was developped in Java, uses ML and works well enough for me.
I have a clear idea how to extend it to detect fibrous tissues in the heart and possibly in lungs.
I have confidence that I can develop this, all by myself in the C language, embed it in a self contained $150 device and market it.

However several things worry me:
* Having a health detector is nice but is the information really useful?
* How to get a market authorization with little resources?
* What strategies about next steps, in particular I am thinking about a much more ambitious detector.
Some guys, inspired by the Star Trek Tricorder and Qualcomm prize, already had wonderful ideas. Another possibility would be to think about how to integrate an existing organization (I made my whole career in a large company)

Thank for your suggestions.
Do you keep it up to date? Because I'm afraid MS has backported the spying part.
heh, brings back memories - I once spent a flight from Houston to Rio like this (~10 hours). There really should be a rule, that if you can't fit into your seat with the arm rests down, you don't get to flight.
I can't upvote this enough. In practice, supporting cancellation is one of the most important and tedious parts of asynchronous programming.

It's easy to start a some task with a completion handler. Even error handling isn't that hard, since communication of a failure goes in the same direction as communicating success.

But cancellation goes into the other direction! So whenever you start an async operation, you need to somehow store a handle or something, so you can cancel it later on.

The actor model makes this even worse -- how do you cancel a command that you previously sent? How do you tell an actor that they don't need to perform an operation, if the operation is still on the queue, or that they should abort the operation if they are already working on it?

If the actor model doesn't have an answer to this problem, developers won't be able to use it as is, and they will have to build additional abstractions on top of it before they can use it.
That could easily be seen by half decent manager or team lead.
Attify OS – Distro for Pentesting IoT Devices – Hack4Net
Show HN: Custom Kestrel Transports
> It's my opinion that most women probably don't want to be programmers/ICs deep down...

Yes. But why most women don't want to be programmers? Damore pointed to some reasons, but they are not convincing. Society makes girls to belive that CS is not for girls. There are some differences caused by hormone levels, but I belive that differences caused by nurture is much more influential.

> So in context, his memo is really challenging the idea that women prefer economic equality.

Maybe. But the point is if this is so, than this preferences should be considered carefully and probably equalized.
How is it more declarative than the Makefile language?

You declare targets and dependencies and the steps within are target a executed procedurally in sequence.

This sentence is 100% true for both Ant and Make.

Ugly, yes. It was developed during the times when everything had to be XML. But also Makefiles don't win a beauty contest.

Terrible. Maybe, but not worse than trying to write portable Makefile for something non-trivial (e.g. libraries).

Limiting? In what way? You are encouraged to use the supplied tasks which cover a lot. Creating new tasks would be done in the language you programming. You can still execute any arbitrary command if you really want to.
Indeed!

And also due to some bad apples, the entire category of people willing to work from home is considered as a bunch of slackers - so you want to "work" from home, uh?

What they don't know is that when I work from home I produce 1.3-1.5x more than when I work at the office - do I like to work everyday from home, though? No!
They're not a complete non-issue. They're just much less of an issue than not using Scala.

(And bear in mind that Twitter has literally the largest Scala codebase in the world. Almost all scala programmers work on something an order of magnitude smaller, with correspondingly smaller compile times)
When Western media covers Charlottesville like it covers other nations
Not everything that is vital is also your core business
The bare-metal scaling documentation needs to be scrapped and rewritten from scratch. With very limited knowledge about terraform, it's faster to start over with nothing than trying to get terraform (apparently you need the installer bundled one) to work with your assets.zip (which is not even mentioned in the installation documentation).
And also this (cross-plat React Native for Windows/iOS/Android): https://github.com/Microsoft/reactxp
What if you get on the plane and realise that the seats are so close to each other that you no longer fit in the seat with the next seat reclined? Are you expected to research the pitch values for each aircraft used by each airliner before purchasing a ticket, lest your kneecaps get crushed?
I'm tired of this conversation. I don't see the point of your questions, and I think I've explained my "confession" quite well enough.

I rarely get bug reports concerning the software I delivered. The fixes almost always take only a few hours.
Show HN: Visual Component Editor for React and React Native
I'm not scared of Makefiles, I just find them painful to work with.
CircleCI (at least) caches build dependencies for speed, but it does it based on specific directories, not timestamps. As a result, it's not as fast as it could be because unless you munge your build to fit, it doesn't cache intermediate build products of your own code.
Then why not use a software token built into the browser or OS?

Having a hardware dongle is absolutely about preventing malware on the PC from making off with your key material. That's also why you usually have to press a button to complete the U2F flow.
We've banned this account for ideological trolling, religious flamewar (below), and personal attack (ditto).

We detached this subthread from https://news.ycombinator.com/item?id=15035271 and marked it off-topic.
Haha, SourceTree can also do that! Fun times!

Source control responsibly people! :)
I think it's a US thing. I've never not got the seats I'd reserved either.

I've only done two domestic flights inside the US, one from JFK to Miami, and one from Minneapolis to Seattle, and both of them were utterly awful when compared to intra-europe flights I've done (so similar distances).
Why not to use iCloud? It handles backups and sync.
In my experience, annotation processors are definitely way harder to reason about than def macros in Scala (especially blackbox ones). I find them to be about as hard to reason about as macro annotations despite being less powerful. They are also way harder to write and distribute and not at all an analogue to typeclasses.
I've had several phones with various types of screen protectors that did not fall apart after a month.
its always sad to see people learn the lesson of source control the hard way.
> most systems keep track of the creation data

True, but often it makes sense to put date into the filename as well. For example, notes for an event that happened on a certain date. You might write the first draft at that date and then edit/move it later. It's still strongly related to the date the event took place, but the filesystem ctime and mtime will be different.
Most languages don't build as quickly as go. Having to wait tens of minutes for a clean build is not unusual.
What if they don't know they can't fit in the space guaranteed to them? To know this you need to know the pitch used for that particular aircraft, and how that is affected by a seat reclining in front of you. Do you expect people to look this up before buying a flight ticket?
So, his hard drive could die. He could have a virus or a crypto infection. All would delete his work.

A developer uses source control, it's as easy as that.
If you go here [1] sometimes you can get the report. They may have a caching server that's out of sync. If the document is too small to read, open its frame in a new window.

[1] http://tsl.news/news/6611/
I don't know if purely American. Flying domestically in Japan, people will ask if it is OK before reclining their seats.
Ofc, if you believe in the free market, then n=1 calculations will naturally sort themselves out for the most part to the eventual and overall benefit of everyone, better and more efficiently than what the relatively slow-changing government will achieve except in very particular cases.

And while you can still find death traps, they're now even deadlier than before because the market still exists for them, but now you can only obtain 10, 20 year old death traps, after regulation instantiates. And ofc the point of regulation is that eventually all death traps leave the used market too, and there's simply nothing at all left to serve this market.

Regulation intentionally kills the market being served; ideally for longer-term macro-level benefits.

Safety is not free. And governments are not infallible in their devision-making. But neither is the free market. This is the crux of the issue; it depends on who you believe is better able to make macro-level decisions: natural markets or regulatory bodies.

Safety, or whatever other hot topic of the day, is just a distraction leading people to talk past each other.

and it gets further confounded by current reality vs ideal. ie there's no external costs not being accounted for with the table-saw-stopper if hospitals, insurance, etc aren't being subsidized. If individuals have to pay the whole bill for their mistake, which should naturally be true in a totally free market, then it'll all sort itself out soon enough (lest the market collapse). But since in reality various costs are being subsidized/hidden by greater forces... this doesn't hold so easily. Of course, if gov interference is the primary reason for more gov interference, then you're in a positive feedback loop that probably won't take you anywhere good.
Ha! I kind of feel the same way. In my case it seems like a full night's sleep makes my senses sharper and the environmental annoyances at work become that much more irritating and hard to ignore. Maybe I also have come to associate the feeling of a full night's sleep with weekends and vacations.
Please don't. Rather, if you have a substantive point, give us the information, so we can all learn. Conversely, if you don't have a substantive point it's best to abstain.
Lightyear: The electric car that charges itself
It depends on project size, twitter likely have some really huge scala project, but many organization are now going for microservices, so compile time is less of an issue
I have a technical interview with this company next week. Anyone want to fill me in on the good the bad and the ugly of being a programmer at a company like Infosys?
The Shopping Cart Abandonment Strategy That All ECommerce Stores Need
No source control, no backups and you "play" with a new software to see how it handles 5000 files?
Well... not sure what to say here..
Getting started with containerd
Great site, brings back memories. A few little issues I found

1. On mobile I have to scroll past all the featured products to get to "all products". A link at the top or a hamburger menu would be great!

2. No search?

3. "all products" doesn't appear to include "featured products"? For instance Picasa and Google reader are in featured but not in all.

Other than that its a lovely design and a good concept. Well done.
Watch the Australia Post Regional Pitch Finals Right Here, Right Now
> Premium materials and true craftsmanship shouldn’t just be for the few.

At that price point, bollocks.

From the title and this subheading I was expecting something around 300, or at the very least sub-500, but nope.
Really? That hasn't been my experience at all. On any engineering team I've ever worked with. What field are you in? Are you basing your statement off of personal experience? If so, how many people have you seen behave this way?
I applaud the effort, but is "pure /bin/sh" really a good feature in today's systems?

To my knowledge, today every Unix system has Python, usually at least 2.7, if not Python 3. Some even replaced most of their system shell scripts with Python scripts. (Formerly, Perl had this status, but never really caught on in that area.)

Python is a much cleaner language than any shell language, especially with regard to error handling. (yes, I'm aware of "set -eu") Also, if you occationally need some more elaborated data structures or algorithms, you can express these in a straight forward way, rather than a series of complicated (and usually very fragile) text processing steps.
Two Recent Trades Nobody Talks About and Why I Took Them
Has anyone here had success with a personal kanban board?

Considering it for myself, even if it isn't the intended use case.
Vim isn’t that scary. Here are 5 free resources you can use to learn it
swarm is not limited to working with nodeport. I think i was not able to express what i was saying correctly.

Swarm has an ingress mode that is "built-in". It works like the kuberenetes ingress (with currently the same limitation of source-ip mapping). Let me re-emphasize built-in.

Swarm also has a load balanced nodeport mapping (called host mode). That is also built-in.

In fact, what I'm trying to say is the opposite of what you are perceiving - swarm is not superior. It is actually similar to kuberenetes.

However, swarm has saner built-in defaults - both ingress and overlay networks (no more flannel vs calico vs weave incompatibility issues).
Kubernetes has an escape hatch for defaults - kubeadm+kompose. I keep praying that kubeadm+kompose becomes the keras for kubernetes tensorflow. Lots of defaults that lets you get started quickly.
I really am in awe of Elixir. I think it's an amazing language, and it introduced me to Erlang and OTP. I've come from using scala actors, and I can do more in way less time, less memory, and similar performance if I use Elixir.

That said, there are some things that suck so hard about it.

The log messages suck. If I want to use them in production and actually ship them to ELK or similar, the format really sucks.

Getting information on what happens at compile time vs run time is hard.

How do you handle operating system signals? like when your autoscale group decides to scala down and you get a SIGTERM with some time to handle it, what do you do? wrapper scripts suck.

Not many great design resources.. I mean I've got lots of books on OTP. But if i'm building a daemon which reads off a queue and talks to some databases - where are some patterns I can follow? How do I handle config? What if I want to hotload it?

What command do I run? when do I run an app vs compiling it? What If I want command line args? Where's a good example of writing an app, which is a daemon, and using an escript to reconfigure it at runtime?

The error messages. Holy hell. What actually caused a pattern match to not work? what is it expecting? especially a few function calls deep - like interaction between tuples and arrays and keyword lists.

Flow / Genstage and getting them into a supervision tree? what's the best practices.

I want to introduce it to my workplace but without some of these common patterns easy to find, it's kind of a risk to the business.
That works, until your build system is sufficiently large or time consuming or not C/C++ like make was originally built for. For example, at my company we have a build system for building all of our Amazon Machine Images (AMIs). It doesn't make sense to re-build images unless they're dependencies have changed, but mtime just doesn't make any sense for a build system like this. Trying to coerce make into doing what we wanted was like pulling teeth.
Continuously receive videos of real people testing your site, app or prototype
I have seen people learn to source control the hard way multiple times, but usually they were saved (at least partially) by the local history feature in IDEs. This guy was hit very hard, I feel sorry for him.
For some reason, it's the dentistry that always hits me. As a society, we can't get it together enough to fix people's fucking teeth? Instead, we end up with this sort of thing (this one is more than just teeth) -
http://thefederalist.com/2017/08/02/thousands-visit-free-cli... - like some kind of fucking end times collapsed society.

Don't know why that's my trigger.

Holbrook’s is 420. The stranger holds up her card: 158. She places it in Holbrook’s hand and takes the higher number in exchange, explaining that she wants Holbrook and her baby to get in before she does. Holbrook doesn’t know what to say. The old lady mixes back into the crowd.
Totally agreed; I'd use a different language if I needed even an array.