skysight-inc/HackerNews huggingface dataset:
I did indeed look a little bit about previous attempts at collections in Rust,
but didn't find too much about ranges. What would be good keywords and place to
look for, any hints?

It seems to me that you can go quite far with mutable but mutually disjoint
ranges - which is more or less what slices do for vectors currently. They are
also safe, because you can only split them into subslices (which borrow
ownership), but not extend them (what could potentially create overlapping
ranges). Moreover as long as there is any range to given container, you can't
perform operations that could invalidate derived ranges (things that reallocate
vector, etc.)

Range checking don't seem that bad, because in most cases it is not about
trusting what a range tells you, but range trusting itself which is fine. Take
you example of binary search, if range would know how to split itself in the
middle, it wouldn't really have to do any bounds checking. For sorted ranges
maybe operation like lower_bound or upper bound would be great primitives, or
single operation that encompasses both situations:

let (lower_range, equivalent_range, upper_range) = range.split(&value);

Of course, in general as you point out, you would have to pay a price of bounds
checking for random access.

As far as I can see, this should be sufficient to implement algorithmic part.
What I still find hard to do, is to modify collections based on resulting range.
For example, how to write equivalent to following C++ code, that first moves
consecutive duplicates to the end of array, and then erases them from
container:

std::vector<int> v { ... };
v.erase(unique(v.begin(), v.end()),
v.end());

I have a few ideas, which mostly boil down to following: create a description
of operation to be executed, but is executed only after all ranges have
returned their ownership over collection. But so far this interface have not
been fully satisfactory.
for me:
1- make them 2
2-if you delevery in all the world maybe
3-community art, mags art, facebook groups etc..
4-15$ depending on the format?
Just in time for the next tech crash :(
It can be cyclical (recession hits, cut staff, longer hours), and it can be job specific (idiot colleagues, failing company).

I've had periods where the idea of working another day with arrogant dickhead 'know it all' ex-Physics students turned developers who can solve tough problems with terrible to maintain code thus making themselves unsackable made me think of jacking it all in and moving to a third world country and living in a hut - even to the point of visiting the Vietnamese consulate for information.

Likewise I've had times where a young CS background developer who is eager to learn, very gracious, fun to be around and delivers makes me remember that it can be a great industry.

I'd recommend getting out of your current job if you can if its making you feel this way.

A few years ago I was working in finance, had experienced some workplace bullying so I overworked to prove myself to stop it despite it being about an Alpha boss picking a scapegoat, and I suffered from some mid strength burnout and in the end I wasn't fit to work for probably 5 months afterwards. I ended up going into a completely different industry (but still software) and managed to reboot myself over about 3 months and started to enjoy work again.

Earlier in my career I met someone who had completely burned out. He'd not worked in 18 months despite having lots of offers, had moved to the coast and was just doing spiritual stuff all the time and was burning through his savings. We asked him to come in for 1 day to interview others and after 2 hours he said he couldn't take it anymore and left, and that was it. It was quite shocking to see someone who was that way and quite scary when I felt it happening to me.

Don't wait until you completely burnout because it will damage more than just your career - your health, waistline, relationships, friendships, bank account, future employability etc.
Last time I was in a role which involved on-call rotation:

> expected duties (only answer on-call, do other work, etc)

Only answer pages. My employer did shifts a bit differently from most companies - only six hours per shift, no fixed schedule (decided a week in advance) and only outside of work hours (pages during work hours were handled by whichever sysadmins were on duty), which worked quite well to avoid burning out sysadmins. On-call shifts were paid, and shortages of volunteers were rare.

I'd expect to spend maybe fifteen minutes per shift fixing things, on average (this is in managed hosting, so a page could be any of our customers' services).

> how deep does your on-call dive into code to fix, vs triaging, patching, and creating follow up work to fix permanently?

In my case (sysadmin for a managed hosting company) the code involved was often not under our control; the standard practice was to escalate to the customer if the cause of the outage was a bug in the application. The usual process when suspecting a bug was to track it down if possible (the codebases were usually unfamiliar, so this wasn't always the case), work around it as best we could (e.g., temporarily disable a buggy search indexer which was leaking memory, et cetera), and then get in touch with the customer (by email if the workaround was expected to last until work hours, by phone if not). Occasionally I'd fix the bug in-place and send the customer the patch, but this was technically outside scope.

> priority order of work (on-call tickts vs regular work vs existing on-call tickets vs special queue of simple tasks)

The only priorities were resolving the pages at hand and arranging followup where needed (usually raising a ticket to be followed up during work hours).

> what happens when the current on-call can't complete in time?

Generally the on-call sysadmin would resolve whichever pages they had acknowledged; in the event of an extended outage the acking sysadmin was expected to brief and hand over to the person on the next shift.

> how do you manage for other teams' risk? (ie their api goes down, you can't satisfy your customers)

In practice, we could escalate to anyone in the company for a serious outage we were unable to handle ourselves. This was pretty rare, as a small ops-heavy company, but everyone had access to everyone else's cell phone number and an outage-inducing bug was usually sufficient cause to wake someone up if it couldn't be worked around.
I am not too sure about this. I have met quite a few people in my life with zero real empathy, but boy can they fake it.
Why i keep saying to myself and others that logic is a road, not a destination. Depending on the starting point, logic can get you wildly off the map even though it is, well, logic. We have managed to collectively fool ourselves into the thinking that if the result came from logic, it has to be right.
I am tempted to write: "what part isn't?"

Seriously, just about everything we do in computer science is experimentation, at least if it involves...physical computers.

Every time we run a program, we run an experiment. At least if we have some expectation of what we want the program to do. Every time we write a test, or run a test suite, we are running an experiment.

Every time we implement some sort of abstraction, every time we vary a parameter, every time we optimize a program, we are running experiments.

At least if we're doing it right.

If you're not doing experiments, I have a hard time categorizing what you are doing as computer science.
Good work! Is the code available?
Life is Hell?
Ask HN: Can someone provide me a example freelancer contract for use in SF area?
As a complete tangeant, I find that Zapier's UI is what holds back my usage of it.

They added folders which is fantastic.

But editing a Zap is slow in the UI. I can't open a Zap into a new tab by Ctrl+Clicking the Zap title. Lots of Zap management is checking one zap's setup, and adding that configuration in turn to another zap.
Nice posting. Captures my feelings very well.
Part of me wants to just hand-write them and then maybe scan them, but that's not searchable/indexable, and doesn't lend itself well to version control.

I'll comment as someone who does hand-write and scan my notes. I date and number every page, then put a pile through a sheet-feeding scanner every so often. Sometimes I put date and page numbers in my code comments, so I can find my notes on where the code came from. I also enter a line of text (or more if necessary) about each scanned page so I can search that. Something I do in a brain-dead moment every month or two. It can be interesting to look back through the notes and see if I've forgotten about anything interesting.

Often I'll write out the math for something multiple times before I really understand it, and using a pen works much better for me. Only a small fraction of what I write out is worth TeXing up.
Thanks. It is on a $10 Linode. But currently uses Amazon Cloudfront to server most assets, which is overkill. It costs like $0.50, but it's the extra engineering complexity that I'd like to avoid.

I agree with you.
Uber is close to undermining its business model
RoboJS:: How and why I wrote a library to load JavaScript depending on DOM structure
> The first problem is: System.out.println("Hello, World!");

Heh, you are basically battling a lifetime of built up muscle memory when it comes to that.
N. Korea says its H-bomb ‘capable of wiping out whole US at once’
Google Map and its services are the intellectual property of google.They may setup any rules and terms they want for their service regulation(also to prevent any misuse of service).
I've been involved with the Elm community for a couple years now and I haven't noticed a recent push to get people to talk about it more. I think people are just trying it out and getting excited by it.
I've been living here in Vietnam for five years now and read & write Vietnamese pretty well. Written Vietnamese may not be as elegant as Chinese but it's very practical and I think it gives the Vietnamese a huge leg up in learning Western languages and dealing with the Western world. For any Westerner, learning to read & write the language is vastly easier than Chinese, Khmer, or Thai. Which is a good thing since mastering the tones is quite difficult.

In a lot of casual conversation people don't even bother to write the accents and tones out because it's a bit of a hassle on a mobile phone, which makes it look even plainer.

As another commenter said, the plainness of a lot of everyday written Vietnamese has more to do with utilitarian fonts and poor typography than the language itself.
Nice. I like how it could be installed in Apache, and then left to its own devices.
Is Compilation CPU Bound?
When Your Parents Are Heroin Addicts
> hundreds of cores

That was the dream of the mid-2000s. But now hundreds of cores are never going to happen. The CPU vendors have decided that the industry has run out of time to parallelize their programs and are now refusing to scale up. Our hope for speedups now lies in using SIMD and GPUs effectively ("heterogeneous computing").
You mighh be interested in looking at fabric in that case - similar idea of running commands over SSH via python. The downside is that it isn't as fully-featured because you have to write the primitives yourself, but it does allow you to write simple recipes with ease.
There are some things that can be done better. There are some things that can be improved. This isn't a perfect product. But it's one that I want! Good job!

Other people covered most of the issues well enough, I think. One key thing that I think you should do is make the cursor change in the appropriate ways when hovering over certain things. It's not a terribly hard css change and I think it would make the app look a lot more polished.
In the 80's and 90's you would pay a lot of money for a cassette deck that would minimise hiss. Here we are in 2015 adding it in artificially.
Date Change for Migrating from SSL and Early TLS (2015)
Nvidia GPUs Break Google Chrome's Incognito Mode
Finally, Slackware became funny again (may I use "again"?).
Ack is designed as a replacement for 99% of the uses of grep
I make tools
Non-USA person here, I am amazed that this is even allowed. Giving your username and password to a third party? Think about all the security problems, like creating a fake Stripe. You are basically trusting every website you use. In my opinion, there should be a free and open protocol between banks for payments. Where you get redirected after you clicked on the pay button.
Just a quick comment: reading the article and also going to the Git2Go website I had a considerable amount of trouble understanding what this app does and why I would want it. It clones git repositories... where? To the phone? Why?

Not trying to be confrontational, just trying to be helpful ;-) If you could put some use cases front and center on your website and then obviously link to them from articles like this one, it would make it much easier for people like me to evaluate if I want to take a look at it.
Why are shell scripts yuckworthy?
This Android alarm clock has dramatically increased my speed and ability to do simple arithmetic: https://play.google.com/store/apps/details?id=com.alarmclock...

It allows the user to set an alarm that can only be turned off by solving math problems. You can imagine how quickly one's brain improves at this task when the reward is a snooze or a removal of a blaring alarm at 5 in the morning.
R Tools for Visual Studio (sneak Peek)
DuckDuckGo Search in Slack
Great resources!
www.codewithchris.com is also really good, got some free content as well.
Things to Consider Before Diving into the Hadoop Data Lake
The FP stuff is huge. I've been using Ramda which is great, but often feel like I'm out on a limb with it.
I browse TIG a lot but had not thought to do that - not a bad idea :)
>That's how evil things happen. This phenomena is called diffusion of responsibility[0] and lead to some of the most evil actions in human history.

Another way evil happens, even more prevalent today, is meddling and invasion on sovereign countries.

The good ole "democracy bringing" routine...
Pemenang Ballon D’Or Lionel Messi Bisa Berhasil
Why was this flagged and removed? I don't get it. HN is weird.
‘Snitch App’ encourages SF residents to report homeless people to authorities
Yep, that era of RPGs is my primary inspiration. My favorite series were Ultima, Fallout (1/2), various DnD games like Eye of the Beholder, Dungeon Master, and quite a few more.
Reminds me of yet another cool story from Richard Feynman about beating an abacus salesman with mental arithmetic: http://www.ee.ryerson.ca/~elf/abacus/feynman.html
"educate them what ever I learn" here I meant just making them aware about what is latest going on I am not pushing for that, instead I push them to learn about stuff which will be useful in near future.
I'm not disputing your comment, but can you provide a citation for this? I did a quick google but the only reference I could find was a report (editorial?) in the Wall Street Journal called "Highways are safe at any speed".
That's a smart thing we should add. Any other feedback? If you'd prefer to share privately: mike@zapier.com
WebAnimator Plus 2.2.0 Serial Key Crack Final Free Download
Python hasattr() Considered Harmful
This seems like a perfect case for something like Elixir/Erlang where you can spawn multiple processes and need not worry because of immutability.
> You have to find the artists' artist and mix her color 5000 times, like roll-on-your-head Shaolin Temple skull-hardening. Return to the 36th Chamber and draw with charcoal attached to the end of a long stick of bamboo, then ring the bell, for another style has died.

Or, you know, go to art school.
Don't forget that it wasn't just on the square. Soldiers fired in the surrounding area as well. so those deaths should be part of the total. Your tone gives the impression that you're either part of the PRC's internet army, or one of the tin-foil hat crowd. Which is it?
In terms of user configuration in containers, Tiller (https://github.com/markround/tiller) is very much worth a look.
I never knew the source of that expression until just now: https://en.wikipedia.org/wiki/Turtles_all_the_way_down
>Therefore, as long as the body doesn't decay, the cycle doesn't repeat and that's the achievement.

As far as I know, this is false. The cycle stops repeating when one has reached enlightenment; to my knowledge, what happens after that point is irrelevant - one can't go back from enlightenment, and certainly not due to the body decaying (which is a major topic of Buddhist meditation anyway).

Is there any Pali canon source (I'm only interested in Theravada) that backs up the concept of no decay = no rebirth?

This idea, known in the text as annihilationism, was rejected by the Buddha as far as I know.
This fits in well with the "code as craft" argument presented in the comments here. Most craftsmen need to make a living by producing rather boring, functional pieces in a large volume, while occasionally taking the time to manufacture an intricate masterpiece.

In this sense, your run-of-the-mill Rails app is the IKEA table of coding.
If it's my own domain (probably not unusual among the HN crowd), I would sign up to e.g. kazinator.com by 'inventing' an email address kazinator@mydomain.com, which is forwarded to my gmail through a catch-all email forwarding setup with my domain registrar. Emails to kazinator@mydomain.com now arrives to my gmail and hence it's easy to block email (e.g. spam) arriving to this email address as well as knowing who leaked my email address to third parties.

As people have pointed out, it now seems possible to use the + functionality of gmail which I was not aware of, but the above setup avoids the issue of forms not accepting + in a valid email address.

This only works with a catch-all email forwarding as I mentioned, so if you want bounce on non-valid addresses it will not work, but like I said it has served me very well.
He has his flaws but at the end of the day he seems to be genuinely trying to do his part in making the world better. Just remember, some of his biggest leverage points in this task are his marketing skills.
> In abrahamic religions people take the "Hell" story seriously. It's to be avoided as nobody wants the eternal torture.

You mean the Christian religion, as neither Judaism nor Islam believe in eternal torture. Judaism has a 1 year maximum time limit, and opinions on the length vary in Islam.

I find it interesting that they believe that as long as the body does not decay the person is not reborn. In Judaism embalming is discouraged because it makes it harder on the soul to disconnect from the body since as long as the body is preserved the soul thinks it's supposed to stay there (but obviously can't).

Can they not embalm the person after a natural death though? Why does it have to be by this process?
Here's a video [1] by a math grad student showing how he uses a Surface Pro with OneNote for his math note taking, annotating papers, and stuff like that.

It can search in handwritten notes, and can convert them to text (including converting handwritten math).

I don't do enough math writing or note taking to justify the cost of a Surface Pro, so don't personally know if it really works as well as it appears to in the video.

[1] https://www.youtube.com/watch?v=C7OROShRVzQ
Nix is a package manager with isolation, not a config manager. And it runs on any Linux distro or even Mac OS X, you don't need to use NixOS.

https://nixos.org/nix/
If you think that's bad, wait until you see the crazy things people do with dates. Day/Month/Year is crazy enough, but then you have people using the nonsensical Month/Day/Year.

I hold out hope that one day we'll all be using Year/Month/Day, but given how slowly the metric conversion is going I hold out little hope (as a Brit I can't apologise enough for the imperial system).
How to Perform a Complete Website Redesign Without Any Fuss
How to find HYIP script with more payment gateways?
If anyone know the HYIP script which support the payment gateways like perfect money, Paypal, Neteller, solidtrust pay, bitcoin and skrill etc.
Looks interesting, but doesn't seem to support my Swedish keyboard layout very well. Typing '+' inserts '=' instead. Pasting a '+' in works fine though.
Thanks! It goes against "common sense" but you might be right. Sometimes the formula for success is that there is no formula. To quote myself from a prior tweet, "Success is what happens when hard work meets a stupid idea. Every idea looks smart in hindsight, but the good ones look stupid in foresight."
who the fuck are you EFF, why are you stirring up so much trouble, and who pays you?
Is this a Symphony thing or are external dependencies significantly more reliable in the PHP ecosystem in general? Last time I wrote PHP was 9 years ago and those times everyone I knew just copy-pasted all the external code they found. I know that package managers are the thing now and I'm using nuget for my .NET projects (and npm, which is a must if you do any front-end dev), however, I feel like I'm having more dependency management issues than the good ol'days in spite of using a language with static type checking.

I'm not saying "vendor everything" but maybe some vendoring helps, especially when every package author seems like they've taken the philosophy of "doing one thing, doing it well and breaking everything on every update".
I am building an Android (best with stylus) hand writing app...

Drawings can be viewed / shared via web
and are updated real-time (online whiteboard)

some samples:

http://write-live.com/d/dba21681-8d3f-4fbe-8b4b-e5c1983df934

http://docs.write-live.com/WriteliveServer/webview.html?d=2b...
Work at a well funded Series B startup

On-call is unpaid and no additional bump if called out or public holidays. No additional vacation in lieu either :(

- Expected duties are to fix the issue and bring production systems back up, all engineers have context on production systems and can escalate if any additional context is needed. We have an established workflow of steps to take to determine root cause. We can also directly ping all engineers to provide additional help should there be a critical issue with a system you are unfamiliar with.

- If you are on-call, the on-call duties come first and foremost above everything else. Expected response time is 10-15 minutes from issue raised at all times.

- Mitigating risk is via communication and getting enough context to know the bad outcomes and how to mitigate any issues.

- On-call rotation is very arbitrary and undefined (we have five engineers who can do on-call duty), we try to share the duties equally but some get assigned way more on-call than others. (I was on-call most weekends last couple of months and all throughout the Xmas period for example)
Designing an ergonomic phone interface can be grouped under communication design, thus art. Constructing a quantum computer using optics clearly falls into the physics department, at least until physics spins off an engineering department for quantum stuff, like it spun off mechanics and electronics in earlier centuries.

I consider the term "computer science" historically motivated and anachronistic. Similar to how old people would stereotypically describe their child's job as "something with computers", we muddled subtopics of various sciences together just because they're doing "something with computers".

With computing technology and methodology now permeating nearly all areas of science, art, and engineering, maybe it's time to tear down the computer science departments and reintegrate their pieces back into the appropriate departments.

Or maybe we shouldn't, for we would lose the extremely diverse curriculum that a CS degree includes.
10 ý tưởng kinh doanh online hiệu quả
It's a bizarre style choice. Especially if they chose to express the numbers in dollars to make the amounts more relatable to international readers.
I'm developing Writelive

(sample)

http://write-live.com/d/2aa4a21f-7bb0-4e02-929f-484dc8b7af10

(also check my other comment)
I donate to them, as do many people who believe that they are doing good work overall.