skysight-inc/HackerNews huggingface dataset:
A few problems I personally have with Rx are:

- 99.9999% of examples and tutorials on the internet fit one page of code. It's enough to look at something more complex, and you get immediately lost, because:

- Rx is very good at modelling streams that go in one direction, from A to B. From B to C. The to D etc. The moment you need the results of computation in C back in A... Oh, yikes. You start having Subjects everywhere (or BehaviourSubjects? Or ReplaySubjects? Or AsyncSubjects?) which may and will (if you are just starting learning these things) become extremely messy

- Rx may be easily viewed as async programming. Because your transformations happen at some unspecified non-deterministic point in time (and a lot of operations are async). So, debugging is hell. RxJS and (IMO) RxJava have tried to improve this, but it's still a mess. Properly structuring your code and streams so that you understand why and when a certain something happens? No one teaches you that. And you need that because your `.map(transform)` has no idea when and who invoked it. Etc.

- it doesn't help that Rx has cold and hot observables that everyone gets burned by. And I mean everyone. Oversubscription? Undersubscription? Events not firing? Events firing multiple times? These all happen. And some stream libraries go as far as not having cold observables at all. Good article about that: https://staltz.com/cold-and-hot-callbacks.html

- even such a fundamental thing as the concept of time may be screwed. See a primer on schedulers: https://staltz.com/primer-on-rxjs-schedulers.html

- My favourite thing: everyone tells you how easy and simple Rx is: it's just observables. In his book on RxJava the creator of RxJava says that it took him several months to understand Rx. While being tutored by one of the creators of ReactiveX. It's "easy and simple" in the same sense as "Haskell is easy and simple" or "rocket science is simple and easy" or <any branch of human knowledge> is simple and easy once you know and understand it.

All in all, streams of things are a good idea. Splitting your work into small isolated side-effect free chunks of work is a good idea. With Rx though, unless you are bright yourself or you have someone to mentor you, Rx is an unassailable bastion.
Except, arguably he’s also wrong.

One definition it font is as described above. Another, as defined by usage, is as the original author used
futures can be also physically settled.

the difference between futures and forwards is the pricing - futures price off the risk neutral measure because your margin is marked every day, forwards price off the forward measure because there is only one other cash/asset flow event at expiry.
As others have said, this is actually a, perhaps the best, canonical example of a terrible interview question [1].

[1] https://news.ycombinator.com/item?id=7953725
Keep in mind that most commodities futures contracts are never settled. They are closed before expiration (rolling into a new contract if you want to keep the position open). Many brokers will close your position before expiration, because they are not prepared to handle delivery, even if younwant to.

There are also some commodities futures that are cash-settled. Futures on financial indices, interest rates and such are usually cash-settled. But some futures based on financial instruments are “physically” settled, like US Treasury futures.
Dell Precision 15" with 4k and 97Wh battery. One of the few laptops that ship with Ubuntu if that's your thing.

I personally own a Precision 5510 and use a 5520 everyday for work. Both run Arch with no issues other then minor display scaling issues that can be blamed on the state of Linux desktop environments, not the laptop.
Where do you live? How did you come across this highly unusual impression?
It's unfortunate that this industry embraces alcoholism so much. I've been in your situation for a long time (much worse amounts of alcohol though), but as I grow older I notice the side-effects more, and am worried what I've done to my organs.

I'm trying to cut back myself at the moment, and my wife is helping me by identifying when I've drank 3+ nights in a row -- "do you really need it tonight? give your body a rest". I would encourage you to ask your wife to remind you in a loving way.
Drink less?
OpenFaaS – Serverless for Docker and Kubernetes Is Now on Patreon
Hasn't Outcast (1999) used the same/similar techniques for terrain rendering.

The re-released it on GOG last year, and remade it this year with a Unity engine (all polygons now).
You could just sell the BTC, yes, but a futures contact might be faster, easier, and cheaper, though I don't trade BTC so I don't know, and we don't yet know if these contracts will be liquid. Many futures contracts never take off, so we'll see.
You don't even have to tamper with a car to exceed the speed limit.
I wish @ra had built an RSS feed for that. I never remember to go and read that blog.
Intuitive explanation: Once the pointers enter the cycle the fast one will eventually approach the slow one from behind like runners on a stadium track. If it's one node behind the slow one, then they'll meet on the next move (slow advances one, fast advances two). And if the fast one is two nodes behind, on the next move it'll be one node behind.
https://news.ycombinator.com/item?id=15707800
IMO the scandal here with these triangular containers is the 'three slice' sandwich, for example:

https://img.tesco.com/Groceries/pi/441/5051140265441/IDShot_...

The naive customer felt that he was getting two traditional sandwiches but course he only actually got 1.5
Seems like this begs to have a simplified web interface, where people can adjust some of the top-level parameters, and see the results.

Maybe write a tool that reads (a snapshot of) the .xls file, and knows which cells are interesting inputs and outputs, to instrument and monitor. But then you need to "eval" all the formulas... seems tricky. Is there an easier way?

Maybe just automate tweaks to a small set of input parameters -- limiting the number of permutations -- and collect the outputs of interest. Then make a simple visualizer of that data. Perhaps even just visualize 5 primary scenarios.
The strava heat map is one of those cases where I really realise the power of data.

I've discovered several amazing cycling routes I never knew about within 10 miles of my house from the heatmap. It was also great when I went on holiday, to get a quick glance at local popular routes.
Anyone interested in an NYC meetup?
Check out Enpose. Heard lot of good things about it.
https://enpose.co
Ask HN: Would Amazon ever create a Facebook competitor? Will anyone?
I can't help but still wonder if Facebook's place is set in stone or if it's slowly losing relevance as more and more people become wary of social media and tech companies in general.
You are not an alcoholic in the psycho sense but more like you need to "drink" or "consume" something to keep going.

This is relevant in most cultures. For example, in the middle east where Alcohol is taboo there is Shisha: http://wrpm.ca/wrpm/store/images/products/narjila-b.jpg

Unlike a cigarette, you need to sit down for the full period to consume a Shisha. More like 1-2 hours break. People need a break. Westerns go to the bar.

It is easier than running. Running is healthier but requires some work and effort. Also you can't socialize or talk when running vs. when consuming a drink/smoke.

My suggestion would be to "balance out" your consumption. Maybe try the electronic cigarette if you are a smoker. Maybe switch to a Mojito drink with low alcohol but a focus on lemon/gas pressure to feel a strong taste.

The new drink will distract you from wine but give a similar satisfaction.

Remember that alcoholic feels alcohol differently than us. I get on the mood on 2-3 beers but a tequila shot kills it. I can drink wine and it doesn't make me drank just loose.
You are correct, the compute nodes run CNK. BG/Q has a few Power7 servers running Red Hat that run the cluster control, job scheduler etc
I think you need to consult this matter to lawyers or law firms. I just read an article that talks about similar fake debt collectors problem at https://www.lemberglaw.com/monitronics-tcpa-lawsuit-settleme.... There are so many complaints about them in these past few weeks. Hope this helps.
Yep, happens to me too.

I can't say that I drink much, maybe once or twice a week, but sometimes I have work to do on the evenings and can definitely feel the difference on focus and motivation for what I'm doing if I've had a couple of glasses of brandy. Also I feel like I get pretty good ideas on that state (which I wouldn't classify as drunk) - Maybe relaxed.
Off the top of my head, because if you don’t know where the last element points back to, and there’s an even chance it could be any previous element, the median element is the one on the middle. Two at a time means when you reach the last element and loop back. The lagging pointer will point to the middle element so. Across a population on lists, it will perform better that ratios that favour the lagging pointer being closer to ge back end of the list when the leading pointer loops.

Also, with a 3 skip you could jump 2 ahead of the lagging pointer when you loop back behind and jump over it, which means when it advances it won’t catch you so they won’t meet.
An "About" section would be nice. Banking is based around opacity and trust. There is little of both here, except for quite some opacity.
Those 10% of the internet's bandwidth are already paid for by the end user, why does there need be an extra charge?
The best advice we can provide is only what works for us. Your best bet is to find an experienced counselor who knows what to look for. As much as I wish I could help you, I can't: your reasons for drinking are yours alone, and your concern about your drinking is just as unique. If you need to stop, you can. You have it in you. You might not need to, you might just need some new alone-time habits. Alcoholism is different for each of us.

My father is an alcoholic. He stopped with the help of a drug called Disulfiram (Antabuse), and any time he feels like he may relapse, he starts taking it again. My brother seems dependent on alcohol, but doesn't binge drink like our father used to.

My partner believes she may be an alcoholic. Up until last year, she was drinking three 400ml cans of beer on average, five or six nights a week, sometimes that and almost a whole bottle of port. What made her quit drinking was the time she told one of her close friends that the friend and I should sleep together. Months later, then she tried to kiss one of her (female and straight) work colleagues. Her effort required to stop was significant, partly because she was raised by a habitual alcoholic mother who though nothing of forcing a beer into her hand.

Personally, I am not an alcoholic. My poison is escapism - video games, movies, even music. I'm stuck in those worlds, to the point of not sleeping until after 2am some days. I crawl into a game - say, Ghostbusters, Assassin's Creed Black Flag, or RimWorld - for maybe 12 or 15 hours a day sometimes, and then realise the whole day has gone by. Just today, I sent five hours playing RimWorld.

In my younger years, I ended up blackout drunk several times a month on and off for a few years. Being honest, which is easy with the anonymity of the interwebs, I often used it so that person I was attracted to would just find somebody else and make things less complicated for me. I have symptoms of autism insofar as I can't read body language or social situations. It's unfortunate that I compounded my problem (loneliness) by driving people away with alcohol. I barely touch the stuff now - I actually can't recall the last time I had a drink. Might be last year, I think.

You already have what you need, what you want now is some help to find it. Good luck. I hope things work out for the best.
After MBP retina screen, MBA 1440×900 will be like nightmare.
My father in law was the same until he was diagnosed with liver cancer three years ago. I never really knew him before then because he was always drunk.

By high functioning you mean you sit in the corner getting drunk every evening whilst ignoring your wife and kids? Fighting with them on a regular basis because you're sozzled?

Since then hasn't touched a drop and I've got a father in law. My children have got a grandpa.

He deeply regrets the time he missed with his kids, but luckily has been able to spend a lot of time with his grandchildren.

I understand where it comes from - kids are hard work and you need a coping mechanism to survive the first couple of years. Yours is alcohol, mine is sweet food (so I'm too fat), others smoke.... maybe we should try collecting stamps instead? :)
There were years of notice, but no infrastructure to support addons migrating to WebExtensions. They're still working on the supporting APIs now, after throwing the switch. What would have made more sense would be to bring in support for WebExtensions and all APIs necessary to replicate popular addons first, give them enough time to migrate, and then disable legacy extensions.

Technically yes, there is the ESR version available until April, but the vast majority of regular users aren't going to know about that.
A proof that the algorithm detects the existence of a cycle.

If there is a cycle of length n then eventually both pointers get into the cycle. Since at each step the distance between the two pointers is increased by one module n then the distance becomes zero. Also the time to detect the loop is bounded by the time it takes both pointers to get into the loop plus the cycle length. Also this proof shows that the key ingredient is that the difference between the pointers must be coprime with n but still n steps are required to guarantee that the difference eventually becomes zero. So there is no advantage in choosing other values for the increment of the pointers except to achieve that the slowest get faster into the cycle.
Which shows that you have to lay bare what your values are before arguing about how to optimize them.
Pdf manipulation, e.g. transforms, thumbnails, etc. This is on Azure Functions which is equivalent to Lambda.

Nice things scalability, not taking down the site if there is a segfault, and cost. Can run a smaller webserver and PAYG on the functions overall it costs less.
ketogenic
the best development laptop is NO development laptop.
under all circumstances work at an ergonomic workplace whenever possible.
Yes it does. Meanwhile the end user pays for the bandwidth they get to use. Whether that’s to watch YouTube, Netflix or send email. It’s all already been paid for.
I mostly agree with this, however if the job requires a C.S. degree or equivalent and you assume all qualified candidates have been exposed to this, then perhaps it can be a useful question for testing how well you can explain a solution.

Just look at how varied and complicated some of the explanations are for this out there. Some take mathematical approaches, others (me) try to boil it down to a few intuitive sentences... I can see it giving some insight into a candidate.
There are a lot of people gloating about this on Twitter and elsewhere, but to me it just seems sad; the ultimate morass of monoculture and an endgame with no competition. An ode to "the OS layer no longer matters, don't bother putting any effort into it someone else will". Bystander paradox.

I know Linux fans don't see it that way.. young me thought Linux was indomitable and it was foolish for any company and group of people to not invest all their time and efforts into it. Older me knows better, that's not how corporations and groups of people work best. It leads to stagnation and apathy. It kills the fertile ground for ideas needed to make non-linear progression.

I don't know the solution to all this, but systems software is really going the way electronics engineering and circuit design have gone. I am sure executive types without engineering background would love to "outsource" it all to the perceived interchangeable cogs in "low cost regions".. but the rate of technological progress is about to drop of a cliff if my generation doesn't pick up the torch real soon now.

That said, it is somewhat premature as another commentator points out IBM's CNK. CNK is inventor's thinking.. the gall to ask "do we even need a general purpose OS?" regardless of what the market or eventual answer may be.
You take the several billion dollars you're overcharging your customers and you improve the infrastructure so that supplying the bandwidth to the services that your customers demand is not a problem anymore.

Or you could just complain and ask for more money, whilst not improving anything.
What makes me react to your comment is that it has the potential to be damaging to people that are coming to terms with denial of their addiction.

> voluntarily admitting he has a problem is a major clue that he isn't an alcoholic.

Someone voluntarily admitting he has an addiction problem is the first step for him to fix this problem. Always. Ever.

Being alcoholic is having an addiction to alcohol. Quantity only matters in the damage done. I can drink shitloads of alcohol myself but I'm not alcoholic because I couldn't care less when I don't (I know, because I'm addicted to nicotine, and boy is that fucked up, even though I don't smoke much it's such a battle to quit). Someone who drinks a single glass every single day but can't stop doing it is alcoholic. Quantity and behaviour (whether it is physically or psychologically induced) are completely orthogonal.
OP was able to run an experiment, running when drinking or not drinking for a period.

Half to a full bottle isn't even excessive quantity, it's more the frequency that makes it 'a lot'.

OP sounds in perfect control to me. Perhaps use the running as motivation to cut back a bit - aim for doing a particular race that's a bit of a stretch.
One point of clarification. One of my favorite things about running is spending that time socializing. I just slow down my pace and chat away. It's one of my most favorite activities.
Most e-mail addresses are actually personally-identifying information (according to European data privacy laws and in also in, ehmmm, reality).
We had interpolation to "blur" the rendering + some other optimizations (mostly stemming from the fact that the engine inner loops where super heavily optimized (think VTune level optimizations)) (note that I didn't work on the voxel engine, it was a colleague; I just worked on optimizing the 3D triangle pipeline)

(edited for more clarity and info)
OP had the self-control to stop drinking for a period to assess what impact it wae having on running though.
They’ve already sold it to the consumer. If I pay an ISP for X bandwidth and Y latency, then decide I want to use that to watch Netflix, the ISP has no business interfering with my use of the Netflix service. It isn’t Netflix traffic, it’s my traffic which I’ve already paid the ISP for.

This isn’t about protecting Netflix, it’s about protecting the consumers right to use the product they bought - internet bandwidth - for what they choose without having that choice interfered with or constrained by back room extortion rackets. If the ISP wants to set up a special fast lane for my connection to this or that service, they talk to me. Not Netflix, or anyone else.
I agree with most of this. I switched from a 13" MBP of the previous design to a 15" 2016 MBP. I do appreciate the size and weight reduction - the new one barely feels larger or heavier than my previous 13" MBP. I like the feel of the keyboard, but the keys are very unreliable - I've had a couple of keys fail to register or start to register twice for every key press (which I was luckily able to fix on my own with some gas duster and by tapping the key fast for a while.) I haven't found any use for the TouchBar.

> For example each time the mbp crashes, fingerprints are automatically deleted.

What kind of crash are you referring to? I've had my 2016 MBP for about a year now, with a couple of freezes/black screens, but I haven't had to re-register my fingerprints at all. I assume you're not just referring to the mandatory password entry after reboot?
Indeed, Outcast used the same technique. However, not as simple as this algorithm. They included interpolation for the terrain and polygon rendering for the parts, which are not terrain.
The author claims that monospace fonts are better for writing (while proportional fonts are better for reading). Is there any research to actually support this central claim?
Chernobyl goes green
>> There are a lot of people gloating about this on Twitter and elsewhere, but to me it just seems sad; the ultimate morass of monoculture and an endgame with no competition. An ode to "the OS layer no longer matters, don't bother putting any effort into it someone else will". Bystander paradox.

>>I know Linux fans don't see it that way..

I am not a Linux fan per se (as I type this from my Win10 desktop), but I legitimately don't understand what your comment is about. I've read it a few times and I'm still not exactly sure what you are complaining about.

How is Linux a monoculture, or this the endgame... or this stagnation?

I can't figure out what you are saying, sorry.
You may want it to be the same... or you may want for it to be treated as if it's the same, but all network traffic is not the same. There are all sorts of classifications.
> That's the entire point of a free market.

what you describe can't exist in the free market.
else you would either need to allow that anybody can dig holes to build a network or you need to oust the network from the ISPs and sell them to anybody who wants to resell it for common rates.
no country that I'm aware of supports any of the above.
About those scaling issues, is it when using an external monitor? If so I got those too. Switching from DP to HDMI helped and fiddling with xrandr settings like scale and dpi helped also. For some apps like android studio I change dpi before launching it then reset dpi after launch.
Humans aren't the first to do this by a long shot. Animals of all other sorts do it in a rush to exploit resources. It's just how we work.
This is just my anecdote, I don't know how generalisable my experiences are. But in case this is useful:

I used to drink about this much, but I'm not sure I was that high functioning. I finally realised that alcohol was having a significant effect on my mood and motivation levels, even in relatively small quantities. Whilst I probably wasn't physiologically addicted, drinking had certainly become a vicious cycle.

I am cautious of using the term alcoholic, because often that implies a particular treatment (AA) which would have seemed too daunting, I would have had philosophical difficulties with, and would have denied me the pleasure I now get from occasional, moderate alcohol consumption.

There are some signs of negative introspection in your post. For me the first step was simply to become aware of the link between my alcohol consumption and my mood/behaviour. I realised I was doing much more negative introspection in the 48+ hours after drinking (even small amounts) than at other times. As an effect it is less obvious than drunkenness or a hangover, but for me it turns out to be just as predictable. Experimenting with this obviously required me to go without alcohol for a few days at a time. Being aware of the association then allowed me to take my negative thoughts less seriously and break the cycle ("Oh hang on, didn't I drink last night? That probably explains why I'm thinking this way - maybe I won't use booze to unwind this evening...")

It was a gradual process rather than a panacea, because it took time for the better decisions I started to make to filter through to my living situation, my work etc.