skysight-inc/HackerNews huggingface dataset:
> My understanding from my American friends and partner is that it's exactly the same in the USA. Students, software developers, people in finance - for all of them stimulants are normal.

This is patently false, and I think your assumed universality of drug use is based in no small part on your use, and the crowds that you've associated with because of that drug use.

I certainly know some people who've used stimulants from time to time (SF bay area), but that's the rare exception, not the rule. I know some people who have used MDMA, cocaine, etc. at parties, but it's not many. And, being in SF, I of course know a ton of people who use marijuana regularly.

I'll accept that drug use is probably higher than what I see (I have the opposite problem with perspective: as a non-user, I tend to associate with non-users), but suggesting it's the norm and is "everywhere" is an excessive exaggeration.
I'm not sure how the backend is structured, but it seems that you must parse the individual pages at some point or another. I took a quick look at the Wikipedia HTML for a few pages and I would suggest stripping out anything within (or nested inside) of classes like "mw-cite-backlink", "reference-text", "citation book", "citation journal", etc. Also, you can probably strip out anything inside of a <cite> HTML tag.

I'm sure there are more classes and tags, but that hopefully should give you a solid place to start.

EDIT - You can also strip out or ignore anything inside of the ordered list for references - <ol class="references">...</ol>

Also, some pages aren't documented in the same way, so something like this page - https://en.wikipedia.org/wiki/X_Window_System - doesn't have any classes or easy way to parse it for the References section even though the Notes section was set up in a more organized way. However, you could take note that the <span> tag contains class="mw-headline" id="References" and the text value is also References and then ignore everything until the next <span> begins.
I don't think an up-vote is enough. Thanks for this. I love his explanation of Liskov substitution principle.

Eric Lippert is smart, I love his Stack Overflow answers.
The "who" versus "whom" thing is a dialectical difference, only worse, in that the dialect which uses "whom" is entirely artificial at this point, and only serves as a class marker. Saying it's "more correct" is a rather nasty bit of classism.
I'm an Android user because I don't want to spend more than $250 on the device in my arsenal that takes the most abuse.

A good Apple product that competed with, for example, the Moto G4, could change the game. I'd love a mostly disposable iPhone that was as good as a mid-range Android.
Also Boko Haram: https://www.theguardian.com/environment/earth-insight/2014/m...
Please use "Please" when you are requesting more work from OSS, OR even better, make the change yourself and how all of us how it should be done.
> If people genuinely respected me and genuinely cared, they could help me figure out how to turn my writing skill into a middle class income.

Consider video. It's out pacing written material by a long shot and fast becoming how people consume knowledge. Not everyone is suited for it, but it's worth considering. The systems in place for publishing video content are also better and have a much bigger reach (without any work)
I mentor and teach a lot of designers and beginning front-end developers. Services like this and FormSpree are a godsend for allowing them to create functioning contact forms on websites without having to go down the server-side rabbit hole.

Also, even though I'm fully capable of building my own form handling back-end, if I'm just building a static site it's nice not to have to deal with all that just for a simple contact form.
A billion in revenue, not profit, just to be clear. Still nothing to scoff at.
In Austin you can get anywhere from 100k to 160k. For instance I know for a fact that Amazon pays mobile devs in austin 160k. That said, this isn't san fran. you can own a house for a quarter of a san fran condo's bathroom. I was making more at my colorado job, but I feel like I have a lot more money here.
The ice that's melting in both poles is in many cases hundreds of thousands of years old. This is a phenomenon vastly bigger than any "little ice age".

Greenland is just one example: https://en.wikipedia.org/wiki/Greenland_ice_core_project

It's projected that Greenland's ice, all of it, will melt. That hasn't happened for at least a hundred thousand years, possibly longer.
It is bidirectional BFS:
https://github.com/jwngr/sdow/blob/master/sdow/breadth_first...

A* can't be used given that path cost or expected remaining distance is unknown.

Any ideas on how such an algorithm could be used without precomputing the entire graph?
Staticman[0] is great. Same principle where you only have to POST to an API but with user content stored in Github. There's a free hosted version and it's open source.

[0] https://staticman.net/

Edit: Disclaimer: the company I work for Sponsor their hosting.
formsite.com
If I sound like an idiot, forgive me, but you mean, literally, contractors that have to physically climb towers, right?
FWIW, I wrote one for a game engine, and I'm aware of several others. I can safely say they map cleanly enough that the names are more or less synonymous, at least as far as the underlying concept goes.
Here's another way for you to understand the problem.

Here's my page: https://dmitriid.com/blog/2016/10/javascript-tools/

It's prerendered (via a static site generator). In total, it loads 692 KB (I din't do anything to optimize it, the images are quite large etc.). It loads from a small server, and images are loaded from Twitter, meme.com etc.

Here's an AMP page: https://www.google.se/amp/s/www.usmagazine.com/celebrity-new...

It loads a whopping 2.9 MB [1], and keeps loading as you scroll down. If you open it from Google's search, it opens instantly. Because parts of it were already preloaded on the search page. And the page itself (including almost all images) is served by a ridiculously powerful geographically distributed CDN.

So, questions/hints

1. How is that fair to people who actually build their pages and host them on their servers?

2. What is open about this web?

3. How will Web Packaging solve this issue if I can't afford to build a geographically-distributed CDN on par with Google's for my own cache?

---

[1] It actually changes on every reload. The lowest number I've seen is 1.6 MB, but then, in a second or two, it starts loading additional stuff, going up to at least 2.2 MB

So much for "small APM pages". Actually, as I'm clicking around, rarely is a page below 1 MB. Even for pages that are not that different from mine: only images and text.
The only coin really trying to tackle this governance problem is Cardano in my opinion. Charles Hoskinson does a great job explaining their goals with this.

https://youtu.be/Ja9D0kpksxw?t=33m39s

https://youtu.be/cfD6efJ7KHA?t=9m56s
The UX design is very well executed. This feels so polished. The floating graphs in the background, the individual paths under the chart, etc. It's all very well done with lots of little flourishes. Makes me want to up my game. Thanks for sharing.
Indeed.

Just to add another datapoint to the "negative" dataset, I don't do any drugs, including coffee. I drink decaf. I feel like being in a "natural" state is when I'm at my best.

I drink alcohol sometimes on weekends, but never while working, it clouds my thinking too.

Just my very personal 2c.
Here's a tip for state machines. If you've got a transition that takes some time then you often actually need another state to represent the state that the system is in during the "transition".

This is usually modeled better on backend systems (a state while waiting for a network response to arrive) but is often modeled poorly in front-end systems (a state while waiting for an animation to finish).
Tangential question: what was used to produce those charts? I love the simple formatting and how the data is laid out.

My company* uses ggplot exclusively for reports that don't look nearly this well done. I love the information density, love the use of colors, love everything about them!

Based on my inspection of the source, these are "native html" charts in the sense that it's a mix of text and svg rect elements — not an "image" that is included.

Does anyone know how these are produced? I would love to shamelessly imitate if possible.

*tiny market research firm
Doesn't say why the Echo device was wailing. Kind of annoying.
I think the parent was talking less about the differences between programming languages and more about the differences between a programmer working at an early stage startup and a programmer working at a large enterprise company. They are going to go about doing their work in two very different ways. The way they speak, their concerns and the best practices for programming will differ.
> they go to the same dusty corner where so many other CS
> topics that are never used in practice lie already.

https://www.skorks.com/2011/09/why-developers-never-use-stat...
Google announces ARCore 1.0, an augmented reality SDK
Yes, I understand the difference between the uses of cash and investments. To repeat, I was asking you to relate it to the earlier discussion. To summarize, it went like this:

A: Regulator influence on Bitcoin would be good, as it makes theft easier to reverse.

B: But how would you do that while keeping the decentralization?

C: You can't. But no one likes to hear that if they're optimistic about Bitcoin and think it can be use outside of speculation.

Me: Cash has the same theft-irreversibility issue, with the same tradeoff against centralization. What's the difference?

I was asking how your comment was relevant to that exchange, not for a second way to restate what you already said. I was confused because your followup comment did not have any clear relationship to that exchange, about the tradeoffs between utility, reversibility, and decentralization. To quote your comment, with remarks about the relevance:

>People don't speculate in physical cash.

How is it relevant that people don't speculate in physical cash? The fact that people don't speculation in physical cash doesn't mean people only speculate in Bitcoin.[1]

>Also, cash being physical constrains the speed at which it can move.

How is it relevant that cash has this constraint? That would be a point in favor of bitcoin in the context of the above discussion, and would lower the burden for proving utility.

>It also makes things like cameras useful.

I don't see the relevance of this either.

So, again, I'm asking how your comment relates to the discussion that just happened. It seemed like you were just dropping in to make a general "why bitcoin is bad" argument, which is why I asked how the comment was relevant. I still don't see it. Can I assume there was no relationship, and you just saw it as an opportunity to say why bitcoin compares favorably to cash?

[1] The comment only works if you assume Bitcoin is only used for speculation, which would be assuming your conclusion.
> We have no idea whether our food sources will get through the changes.

Actually we do, chances are temperature increase by the end of the century will make agriculture impossible in most part of the lands of the planet.

> What's the big deal?

Simply put, it is a matter of destroying the conditions favorable to human life on this planet.
Monitor Kubernetes deployments/applications with Prometheus – deep dive
Paradigms of Artificial Intelligence Programming (1992)
Incidentally, it´s a good way to find incorrect ambiguous wikilinks. [[Comparison of web browsers]] shouldn´t link directly to [[Gnome]], which is the article about small mythologic humanoids, not about the desktop environment.
Windows versions are also up now! Please let us know if you run into any issues.
>I have never had an interview where I felt rejected for what I thought was a single dumb question, ever.

This is moving the goalposts. That is not the same thing as a wanton disregard for realism.

Have you been asked interview questions and set tasks which were not related to what you actually do day in day out? I have. LOTS.

>I don't necessarily disagree with this, but could you elaborate more on what bad things are actually happening that affect people? Are good coders, by and large, not able to get jobs? Are good coders having statistically significant problems getting paid or finding enjoyable work? I don't think so. Please elaborate on what actual damage is being done, I'm not seeing any.

Um, more false positives and more false negatives. It honestly feels weird having to justify why realism in testing is important. It feels so damned obvious to me. Would you design a purposefully unrealistic scientific experiment? Create a deliberately unrealistic automated test? What's special about interviewing that realism is of secondary or tertiary concern? What is more important than realism?

>I'm not automatically on the side of @mxcl because he was turned down

It feels kind of like you're automatically on Google's side.

The part that made me go what the fuck was when you said "he makes it sound like he expected to get the job without an interview" when he neither said nor implied anything of the sort.

And, earlier you took it as a kind of article of faith that everybody at google was obviously super smart, because Google.

There's definitely some bias there.

>I'm interested in whether they paid attention in school.

That's cool. I'm interested in whether they can do their job and I think it's kind of weird how people are seemingly so keen on setting tasks that test anything but that.

>None of that precludes asking some realistic questions

Strictly speaking asking what their favorite kind of chocolate is doesn't preclude that either, but there's a limited time available to interview and a limited amount that can be learned from asking them that - or indeed - anything else of tangential relevance.
It depends on how you define "better."

If by "better," you mean a couple of hours shorter, then Seattle may be better.

If by "better," you mean more frequent flights, more airline choices, more destinations, and more business/first class opportunities, then New York beats Seattle with just one of its three international airports. (Four if you count Stewart.)
I'll second this.

I don't even drink coffee. I've encountered people who seem absolutely incredulous that I take no stimulants at all. "How do you stay awake?" is something I'm asked. My go-to response now is "I don't. If I'm tired, I get more sleep." Some of these people probably think that I'm lying.

There are a lot of people who think that sleeping at work is a bad idea, but I think it's a lot better than guzzling coffee all day (or taking stronger things). I wouldn't work at a place that didn't allow me to take a nap if necessary. It's not uncommon for me to wake up with the solution to whatever problem I was working on too, so I think it would be wrong to call naps idle time.

As an example, using spaced repetition memory software and getting enough sleep is going to be a lot better for your learning than taking aricept and modafinil. On my PhD quals some people seemed to think I was a wizard for the things I memorized. No drugs were involved, but I did read a few books on memory and religiously used spaced repetition software. I wish this attitude were more common.
I came to the same conclusion after taking modafinil daily for 5 months. I quit because I was getting completely drained by 7pm. I had to hit the bed as soon as I got home, and then slept for 10-12 hours straight. I did the arithmetic and it wasn't worth it. Supposedly, there isn't such thing as a "modafinil withdrawal," but I was nonfunctional for about 6 weeks after I left it cold turkey. Not only that, but because I wasn't aware there was a withdrawal phase, I thought my symptoms (not being able to wake up, narcolepsy, nausea) were an ominous sign of an underlying disease.
Yes, the people who do the physical installation and maintenance of antennas and lighting on cellular towers, for the most part. Also repair/maintenance for mobile radio systems (public safety), AM/FM radio, etc.
50 Cent admits in bankruptcy document that he never actually owned any Bitcoin
Sorry, I'm using unfamiliar terminology from martial arts.

Look at the bottom of your foot. The metatarsal for your pinkie toe is supported by a pad of flesh that it theory can touch the ground almost all the way from your heel to the ball of the foot. With fallen arches the ankle rolls in, the mid foot starts to touch the ground and the strain on the ligaments of the arch and the inside of the ankle are increased.

On the hand, that is the same side you would use to 'karate chop' someone. Ie, using your hand like a knife. The knife edge. Some people use the same term for the foot.

In the 80s they used to put giant insoles into your shoes and it made walking painful until 1) the insole compressed or 2) you twisted your ankle out so you wouldn't put all your weight on the insole. But it turns out it's better for people to manage this on their own and you have shoes like Vans that hardly have an insole at all.

One thing I've found personally but not in the literature, if the shoe is tight around the ball of your foot, you are not going to be able to get your foot posture right. If you need a wider toe box for your feet to be comfortable, solve that problem first before trying to solve the fallen arch problem. Before I threw out my old shoes I would get all sorts of recurring foot pain when I wore the 'uncomfortable' ones.

You can get new shoes, thinner insoles, or lace your shoes differently to get a little more room. I've saved a couple pair of shoes by doing both (insole and relace) to them.
Look at how Lyme Disease is getting into Canada (Ontario and Quebec) with climate change allowing ticks to expand their territory.
San Francisco resident since 2006 here.

I love it here, but your observations are correct, the homelessness situation has gotten out of control.

The homeless population is largely 'contained' within the Tenderloin District[1] of downtown. By contained, I literally mean that you'll find cop cars parked at the corners and edge of that district (see map). This area contains a majority of the homeless population and the cops patrol it along the edges day and night in an effort to 'contain' crime and violence within that 10 block area.

I used to volunteer at San Quentin to help non-violent offenders find jobs when they re-enter society. Almost all the ones that were getting paroled would end up in the Tenderloin. I was told that there are about 60 Liquor stored in that area. Add to that drugs, it's a recipe for re-offending and coming back to the Big House.

The homelessness has been a problem even before the tech boom. The media and the non-techie residents like to blame the tech scene for it, cos it's a nice big juicy target.

The situation has been exacerbated by Nevada dumping 500-ish mentally ill patients into San Francisco.[2]. So you'll find a lot more homeless people who are also mentally ill, and acting it out in public. I recently had an incident where a mentally ill person claimed my motorcycle was his, and pulled a knife on me when I tried to leave. He even quoted some random VIN number. Had to call cops, prove that I was the owner, and then had him arrested.

That said, it was the single incident in over 10 years, so I think I've generally been safe with the homeless population around me. YMMV. Because of the mentally ill homeless population, you may sometime find yourself in the middle of sidewalk with some nutty guy yelling on the street or generally acting crazy, and that un-nerves some people. Also, in the summer if temperatures go over 70 degrees ( somewhat rare), the whole downtown smells like a giant urinal, from the homeless people defecating on the streets, sometimes even in the public transport [ BART ] stations [3]

Regarding 'solution being planned', I've found that the current Mayor(s) and Supervisors just kick the can down the road, leaving it for the next Mayor or Supervisors to deal with. They make new building and Condos designate a specific set of units as BMR (Below Market Rate) but even a BM 1 BR 600 Sq Ft or so costs over 300K, so not really affordable even to qualified working people.

[1] Tederloin District Map: https://www.google.com/maps/place/Tenderloin,+San+Francisco,...

[2] SF reaches $400K settlement proposal in Nevada patient-dumping case: http://www.sfexaminer.com/sf-reaches-400k-settlement-proposa...

[3] Human waste shuts down BART escalators https://www.sfgate.com/bayarea/article/Human-waste-shuts-dow...
Seems broke. Always says "You'll probably want to choose the start and end pages before you hit that."
Thanks! I'm glad you asked. I actually do what I call a bi-directional breadth first search[1]. The gist of it is that instead of just doing a BFS from the source node until I reach the target node, I do a reverse BFS from the target node as well and wait until the two searches overlap. That helps with the exploding path problem, although that still becomes an issue for longer paths (>= 5 degrees generally). I also pre-compute all the incoming and outgoing links for each page when I create the database[2] so I don't need to do that upon every search, which resulted in a huge performance boost.

[1] https://github.com/jwngr/sdow/blob/a2699dc95d884ec64a4641630...
[2] https://github.com/jwngr/sdow/blob/a2699dc95d884ec64a4641630...
> I feel like in my career many people are extremely intimidated at the prospect of using Go for more than a pet project.

That has not been my experience. Go is a learner friendly language with plenty of introductions and great, clean examples. If one has a basic familiarity with other languages learning Go is just as easy (or easier) than learning kotlin (python, tcl, java, c#, ...).

For me a bigger hurdle is the lack of some features: no generics is a pain. I would love to use Go for scientific computing, but libraries are not there yet. Writing my own I really miss operator overloading: operator and matrix/function algebras are the only areas where I miss this, but there I miss it badly -- (AB + BA)^2 is so much cleaner than Power(Add(Mult(A, B), Mult(B, A), 2). Writing a simple Kalman gain formula becomes an involved magic incantation.

Just a personal data point.