skysight-inc/HackerNews huggingface dataset:
Developing that trading strategy is a continuous job; that's what successful traders do. They don't play stocks, they play strategies. There are going to be computers involved no matter what. Your indicators, your trading platform, what analysts you trust.

So what is a bot ?

A "bot" suggests to me something just trading in and out of some security at some average frequency: weeks, days, intraday, minutes, seconds and then there is HFT.

These things are all just feeding off of the movement of whales: major flows of money that cause those waves that small technical traders think they can figure out just by watching the shape of them.

There is really an amazing amount of intelligence involved in playing the day's game and you are taking in a lot of data, watching other markets (oil versus airlines, currencies, futures, sovereign debt) and using this to either realize the moment is now or to just scare the shit out of yourself and end the day up frazzled and $30 richer. That was my experience.

Successful traders reduce their risk even further by choosing what they are trading, shortlisting things that might pop and being able to jump on those (manually or automatically) in less than a heartbeat. That's where the bots will rip an entire sector up before an amateur trader has any chance to understand what is happening let alone why it happened. But those bots are just extensions of the trader.

Anyway, the whole thing is retarded and I have more fulfilling things to do on the planet.

> would it have performed better?

Definitely. Discipline is tough when somebody just demolished your chinese solar stock and you are down a week's earnings. The bot would've cut and run.
That was my own wording of the policy, I'm not sure what the actual policy is. Unpaid leave isn't a legal right, atleast not in the uk, so offering up to 12 days as you like seems like a good deal to me.
What's especially interesting is that the described behavior in infected mice sounds like a fetish humans have called vorarephilia, and after reading this paper I wonder if the folks with that sort of fantasy are infected with Toxoplasma?

https://en.wikipedia.org/wiki/Vorarephilia
Just this weekend I found this: https://github.com/olebedev/go-starter-kit

It uses the duktape JS engine in Go to render react apps server-side, with live-reload & hot-module replacement during development. Pretty cool!
I wrote a function in Fabric that upgrades one package at a time to the latest version, commits it on a dedicated branch, and pushes to the git server.

If the unit tests pass, we continue with it and do additional manual testing as might be necessary. The manual testing is pretty library specific, but for example, upgrading requests I might check that SSL seems to be working fine; upgrading pytz, I might check for weird timezone edge cases. It's nice to have a dedicated QA / staging server that you can do this on. The best advice I can give is to do it frequently. Small upgrades are easier than big jumps, also, not every package uses semantic versioning, so while breaking backwards compatibility is rare, I'd say it happens with 10–15% of libraries in my experience (mostly building APIs and web apps).
Help desk software bait and switch. What can be done?
> Please tell me which format is better for recovering most of the files from the multifile archive if the corruption occurs somewhere (e.g. a small part of the whole archive file gets corrupted): the tar.gz or the Zip?

For the same filesize as the zip you could transmit the tar.gz + a par2, which would be much better for recovery from such corruption.
Athens/Greece absolutely impossible ..
Containers don't handle the case where two different versions (or otherwise conflicting variants) occur in the whole dependency tree. For instance, consider program A with direct dependencies B and C, where B needs version X of /usr/bin/D but C needs version Y of /usr/bin/D.
>> "believing in your mediocrity will prevent you from setting out to achieve those goals in the first place"

Why is this a problem? I would really like to have a successful business, live in a large house, and not have to worry about money. Achieving that is going to require me to spend the next 20-40 years working extremely hard, I'll be constantly stressed out, and in the end the chance of actually succeeding is quite low. On the other hand I could earn a nice salary, work 9-5 mon-fri, and live comfortably and happy for the rest of my life.
Ants have consciousness and beliefs, of a kind. Maybe even plants do. Anytime you have some internal state which can somehow be interpreted as a representation of something else, you have a kind of awareness or consciousness of it.

The hard problem is self-consciousness. Having an awareness of yourself as an individual being with consciousness, and of your relationship to the things you are conscious of.
I mean, there is a separate option for text size too. It seems reasonable to adjust them separately.
True. The logic is flawed
Containers solve a related, but different problem. They help you black box some application so that you can split out the application state (on volumes) from the application itself – and you don't have to worry about things trampling on each other.

Nix gets you a reproducible environment – which is just as applicable to building containers. Most containers on docker hub would be very hard to exactly reproduce, if you build them with nix you don't have that issue.
> But neither method you mentioned lets you recover your data if the data itself is corrupted.

I have another experience: If I've made a zip archive of a 1000 relatively same files, even if it's a few GB big, is if I'm left with a third of the archive I can easily recover first third of the files, if I have half of the archive, around the half of the files. Exactly because the common implementations of zip archivers would recognize that the directory at the end is missing but still allow me to extract everything that it can read, as they would use the data in front of every file, even with the fully missing "central directory".

If the corruption affects the file 3 of a 1000 files I can extract both the first two and all 4-1000. If the corruption is in the first 0.3 part of the tar.gz, most probably I won't be able to extract anything but the files 1 and 2. All the remaining 998 are then lost.

And listing the files inside of the non-corrupted ZIP archive, no matter how big, is effectively instantaneous, thanks to the same central directory. Try to list the files inside of a tar.gz which is a few GB big, then compare. ZIP is a very convenient format for fast access to the list of the files and to the single file in the archive, and still very convenient when the part of the archive is missing.

Edit, this is the response to your response: I've never ever mentioned Reed-Solomon, nowhere in the discussion. I've supported in my opinion good designing decision of Zip archives having the central directory and the metadata in front of the every compressed file and I just give some real-life examples of the corrupted files I've encountered and where I've had the best recovery ratio with the ZIP format. And I've never experienced the kind of "data mismatch" myself that you refer to. You are welcome to describe it more, I'd like to read how exactly you experienced it. If the answer is that you yourself wrote a program that ignored the full format of the Zip, or used such a bad library, then there is the real problem. Once again: "Almost all programming can be viewed as an exercise in caching." —Terje Mathisen
Ask HN: How to achieve limited scalability with less cash burnout?
I have been working on an algorithm around text processing. As a POC usecase, I am looking at using news articles as input text to the algo. However, the effectiveness will be seen only if I can have large number of them (say around a million).

I would like to know the best way to get access to free / cheap cloud infrastructure with less cash burnout (CPU, disk, RAM) as the App will be intensive on memory and CPU when it processes 1 million news articles. The initial need may be around 2 4 core nodes with 8GB RAM each.

Alternatively, would it be more cost effective if I buy a custom made server(s) and keep it at home to validate initially and once I cross the Beta, and see some traction (usage, funding) , I start using the cloud.

Note that I am self funded.
When a user installs a package, it goes into the system-global package store, and the user's symlinks are updated. When a second user installs the same package, they just get a symlink to the original. There isn't any duplication.
The Odd Olympics: Japan’s Prime Minister Dresses Up as Super Mario
Fellow Baltimorean here! My main mode of transportation is cycling. I try my best to use bike lanes and stay in the street and off the side-walk. That being said, sometimes it's scary/unsafe to ride in the street due to having a combination of high-speeds/single lanes/parked cars. Even streets with bicycle lanes (St. Paul St. is a good example) can be uncomfortable due to the above problems.

I'm excited for the cycle track on Maryland Ave. to be completed and I'm hoping that solves some problems.
It refers basically only to the IBM z/Architecture machines. (I think no one else makes them any more. There were some IBM compatible (heh) Japanese ones recently). You can call a cluster of PCs a supercomputer, but you cant call it a mainframe.(But you can run a cluster, or sysplex, of mainframes. It sounds over the top but it is actually quite common.) They are particularly considered mainframes when they run z/OS and work in batch mode especially running CICS or IMS based applications. As soon as it runs linux, or web services, or more interactive things, the same zSeries machine is slightly less mainframy. (Using USS is less mainframy than using TSO or ISPF btw heh)
You might find this interesting: "However, the closest
in functionality and intent is Dan Bernstein’s djbdns,
which aims to be a minimalist, highly secure DNS
server. The latest release of djbdns, including various
support tools, is about 10,000 lines of C as measured
by sloccount. We expect that it is possible to build a
feature-par version with Nail that is an order of magnitude
smaller and intend to do so."

https://people.csail.mit.edu/nickolai/papers/bangert-nail-la...

Nail, btw is parser written in the spirit of "language theoretic security", which is a poweful new way of looking at security problems.
There are Firefox extensions to do that kind of thing:

* http://adnauseam.io/ clicks on the ads but doesn't display them

* https://cs.nyu.edu/trackmenot/ runs random web searches to obfuscate yours
Apple Acquires Personal Health Data Recording Platform 'Gliimpse'
Another point on upgrades is to make sure you're actually running the latest subversion of Python 2.x / 3.x on your server(s).
The best part is:

> (while writing this article, I discovered that if you Google for the phrase "blink tag", you get... well...)

You should definitely do this.
Hey, be cheap, don't waste effort on negotiation if you are ok with less money! I think that's totally reasonable. Just don't broadcast it that way. It attracts the wrong kind of attention.
Nix profiles link to the same global store, so user packages are not duplicated.
> The possibility to make money increases if one acts more like a robot, i.e. acting strictly upon rules decided a priori.

Only if the rules are correct, for all situations. Robots have lots vast amounts of money because there was a missing or wrong rule. Good luck figuring out in advance all the rules - remember that the situation is changing, and your robot in the mix is itself a change.
Well, I don't make a fortune from it, but after losing a fair amount of money day trading, I wrote an iOS app where people can practice their day trading. The income from it has covered my losses from trading. So, yeah I can say I make some thing from day trading!
Open vacation policies don't work because it becomes difficult for a person to actually take a specific number of days without worrying about what others will think. If I could come up with a vacation policy, here is what I will do:

- Fix a "Minimum" number of vacation days that everyone can take. Encourage everyone to take those days split over the year. This can be 20, 30, 40 whatever depending on what you come up with for your company. But anything less than 20 business days for me is crap.

- Unlimited sick days. Yes, I will know if you try to abuse it. But if you are genuinely sick, stay home.

- Add another 5 personal days. Use this for running errands, voting, kids days off whatever.

- Flexible work routine. I am not completely into 100% remote as I do think there is a value in collaborating in person or show your face once in a while. So I will say flexible 2 days WFH allowed depending on team, project and other relevant situations.

I would take these over a BS "unlimited" vacation.
I just wish we could access the OED (or the Shorter OED) in an open way. The iOS app is apparently terrible. I would gladly pay.
Well, are there any advanced filesystems that provide better functionality and which work on Linux and OS X? Or what would be the alternative?
I think the right term here instead of "filesystem snapshots" here is "btrfs-like filesystem subvolumes" which are reflinked CoW volumes based on a snapshot.
(a bit tangential, not directly related to the special case of pancreatic cancer, maybe in this case early detection provides better results)

Early detection is double-edged sword: It is very hard to tell in early stages if the cancer develops into harmful variants and a small false positive error can have drastic consequences, if applied on scale [1]. The result is that many undergo unnecessary therapy with 100% harmful consequences (not life threatening, but permanent damage like removed organs/sterility).

See also: "The Case Against Early Cancer Detection"

http://fivethirtyeight.com/features/the-case-against-early-c...

I'd put my money (research) rather on better treatment than earlier detection.

[1] https://www.youtube.com/watch?v=M8xlOm2wPAA
> because of the high divorce rate (is it increasing?)

Falling.
http://www.nytimes.com/2014/12/02/upshot/the-divorce-surge-i...

The divorce rate increased for the same reason it isn't now, swaths of social pressures that 'forced' people into getting married young, having kids and raising a family are either going away or simply ignored by more and more people. That these pressures are changing and divorce doesn't have the same stigma are good things.

> a pre-nup sounds like a romance killer

A pre-nup is dealing with the parts of marriage that have nothing to do with romance. If you're going into a marriage thinking it's nothing but romance, wine and roses, you may be in for a rude awakening.
Python is a great language, but when you go into larger, more complex projects, you might face some problems in the long run. This is mostly due to its dynamic nature.

In my opinion, Python is a great first language, since it abstracts you form the details and helps you get the "general idea". I also love that while simple on the outside, it turns out to give you a lot of power, when you get into topics such as Meta classes.
Emulating a 6502 System in JavaScript • Matt Godbolt
However, Vietnam's roads are unsafe.

I saw five road accidents within a three-week holiday, including one fatality.

The statistics are a quick search away, but I suspect accidents are underreported in Vietnam. I saw a motorcyclist hit by a luxury car on a mountain road, just outside a café. Most bystanders seemed more concerned about possible damage to the car, than to the dazed rider. The car driver didn't even get out of the car.

A bus ahead of mine slammed the brakes on, and I saw people were running into the street. It took a while for us to pass the commotion, but when we got there I saw a body covered with a sheet of cardboard and a flattened bicycle. The bus driver stopped the bus a few minutes later, and wandered around it waving incense, which he left in a special holder on the number plate. Neither he nor his ticket collector wore their seatbelts when we resumed driving.

A man in Hanoi was wandering into the road in a daze, with blood coming from his head. A motorbike was on the road on its side, and a helmet nearby. I think he simply fell off, but I'd guess the helmet wasn't being worn properly.
For a while blogs still linked to recommended blogs ("blogroll"), now it seems to be mostly the occasional blog post recommending other blogs. Thematic hobby sites seem to be basically the only ones to have kept link lists to related sites.
Reducing the 40 hour working week still doesn't solve the problem of providing a means of living to uneducated workers whose jobs are taken over by AI.
Some people suggest basic income as the solution: well forget about working less hours then for those people who still have a job, they will have to earn the money to pay for the part of society that can't get a job anymore.
You may use it as a library, I know users who do.
But you may select output needed, or drag 'n drop depending on if you work as an developer or a designer.

I suggest that you look on the videos on the site or read some tips and tricks at https://medium.com/@DepartmentStockholm/svgsus-tips-tricks-b...
Digital.com
Pronounced "Farce"
I'm not sure exactly. I've not lived in one. Those sorts of places do indeed tend to be mostly folks older than child-bearing age. This is a bad comparison, since I don't view children as animals, but here it goes anyway: I'm going to guess it is dealt with much like some of the housing associations deal with certain pets - some don't allow you to keep chickens, for example. Eventually, most of these places can force people out of their homes for such things.
An interesting concept. Every project I looked at listed significant problems. My impression was not 'this is how it Aisler works'. Unfortunately, my impression was, 'this does not seem to work.'

My advice at this early stage: prune the available projects to only those having high quality in terms of straight forward implementation. Show me how it is supposed to work, instead of just bulk listing projects with variable quality.

To put it another way, do the hard work of curating the projects to those that will provide a good user experience. That means showing people looking for projects only those without issues. That means, at this stage, increasing the number of projects by fixing all the issues before listing them. That's also hard work. If it isn't worth doing for the project owners, then a model that expects visitors to invest time 'fixing the website' is likely to struggle. First people have to care.

Good luck.
They just use the one they are most comfortable with. If that is a problem it can be worked out on a case by case basis.
> The only way to beat cancer, really, is to die from something else first.

That was a short and pointed article.

More so after I read a short comic strip on PHD Comics about cancer [1], I can't help but think that "beating cancer" is a very tough (and impossible) goal for the ones suffering from it and the ones looking for better management or reduction of it.

That shining light of optimism after remission is tinged with a hint that a recurrence is just a little while away, and could possibly be the end of life. I also wonder if what happens before death is more painful than the heartbreak that death eventually brings.

[1]: http://phdcomics.com/comics.php?f=1162
Its more than anecdotal information. In the last few years 11 new treatments have been approved for stage III and IV cancers that are immune-mediated, which includes melanoma, one of the fastest growing (in terms of incidence) as well as most aggressive cancers.

But the real truth is that cancer isn't a single disease. Treatments move slowly because its a host of different diseases which all exhibit the same symptoms of unrestrained growth and cellular immortality. So yeah, a lot of people are going to die of a lot of different diseases. "Curing cancer" isn't going to happen, because "cancer" isn't one single (or even a few) things to cure.
Yes, for an app to successfully transfer state, it needs to be able to transfer state, that's a tautology.

But for webapps that want to be able to transfer state, the mechanism is the URL, and for those app, this works perfectly and unceremoniously well today.
In my experience, my ability to handle stress is already lowered considerably after work. Learning something new afterwards by trying implement a ToDo app or build something that might make money (in my case) can add stress.

Don't get me wrong, I've learned tons of new stuff and I really like it. It even comes with some benefits. But we can't ignore how stressful it can be pre-finished product. Usually the rush comes after it finally works.

Now add on top of that a wife who doesn't want me at a computer, but instead doing something with her. Honestly, during those times when that one piece just doesn't work right, I prefer to not be debugging too. Yes I have the option to walk away, but then it never get's finished.

My point, it makes sense why so many of us, even very talented ones, aren't cranking out apps in our spare time. We'd rather do something enjoyable for a change and have healthy relationships.

I applaud anyone who both manages to enjoy their job, excel at it and have someone that's cool with you doing that thing when you get home too.
Building Your First Atom Plugin
It surprises me that no one has suggested Patrick McKenzie's (patio11 here on HN) blog.

So much value there.

http://www.kalzumeus.com/blog/
In London, it's quite common to see cycle commuters with sports clothing. They take a shower and change clothes at the office
`m` is the result; this scratch here is meant to resemble algebra, not programming.

You know, solve for `m`, etc.
About the only thing I'd moan to the BBC about is that they still use flash for the videos on their website.

The rest of the BBC website, Radios 1 - 6 + Asian, TV stations (perhaps some of BBC 3/4 is bottom feeding), weather forecasts, world news, is awesome. That's just all I can think of off the top of my head.

Their articles are still decent enough that they'll make it to the front page of HN.

In specific areas they can be bettered, e.g. I prefer some specific football (soccer) websites, but this isn't a moan just a fact that they have to cover everything. As a general resource certainly for world news I think they're the standard to match.
But the subtraction is simpler. I didn't want to confuse anyone with moduloing a negative number.
For that matter, there is a lot of great stuff in just reading his comments on the threads here on HN.
Microservices and common parts