skysight-inc/HackerNews huggingface dataset:
nope, was just problems with scraping data -- can't scrape data until it exists (FIFA is using a new CMS for World Cup 2018 that uses a fair amount of JS), and I couldn't get all the events that are used to mark a match officially completed.

Should be working now for the next games. First day is always a bit of a mess.
The most pernicious, nastiest habit to get into is to think that you are stuck in your situation and there is no alternative. True for individuals and whole societies.
Mature. It has nothing to do with the framework itself -- with CRA React is as dead-simple as it gets. However people look at all the infrastructure made for people who build large, complex React applications and assume it's more complicated than Vue.
> But it is ugly

Isn't that just the case?

Intel sell the NUC in a couple of variants, the "kit", with an 'ugly' case or the "board".

With the latter they could design a beautiful Apple-looking case around it.
> At least one said that if so, it constitutes an avoidable mistake on a bridge that should never have been so complicated.

>“This is not a big project," Beck said. "It’s a darn pedestrian bridge.”

There is something to be said about not over-complicating designs, whether it be in actual construction or in software.
> Easy.

If you're spectating, maybe. Completely falls apart when you try to engage in dialogue on Twitter, which is what both Twitter, Inc. and I want.

Say I follow someone because I like what they say. And I want to discuss what they're saying, or to explore existing discussions. I'm going into this ready to have a thoughtful debate or two.

So I open the replies, and they're what I consider to be garbage: flamewars, reaction GIFs, propaganda, straight-up bad-faith trolling, and worse. But maybe there's some good in here somewhere?

Assume I'm a typical human with emotions and stuff. Do I:

A) Immediately close the thread! It's not worth it, and I have the ability and willpower to bow out.

B) Scroll through the replies, muting and blocking people. Maybe if I do this enough I'll have a nicer experience on the next thread I open. Wow there sure are a lot of these folks!

C) Take the bait. Someone is wrong on the internet.

You know already, but I'll tell you anyway. I, typical human, tend to rush headlong into option C), which wastes my time, makes me unhappy, and gives me a negative perception of the quality of discussions on Twitter. Twitter, Inc. doesn't want that either, but they've picked these replies to show me. Clearly they don't know what kind of thing I think is garbage. So what can they do?

It's not easy.
Time zones are always a pain, I'll check into it now that I got all the events working!
I kind of think this herd mentality in the tech industry is annoying. There are a lot of people using React, but that doens’t make Vue a bad choice. Conversely, just because Vue is new and relatively popular doesn’t make it the “new React.” Pitting them against each other like this is disingenuous, as engineers will make choices and use both — it’s not like picking React will kill Vue or vice versa. That doesn’t say anything about the likes of Ember and Angular that are still in use.

A good comparison is backend stacks. Rails exists, but so does Laravel and Django. If it were truly a big deal which was the biggest, then only one choice would remain. Instead, they all have healthy ecosystems with companies using all three.

It doesn’t have to be a war.
The term comes from the name of a boxing weight class; the analogy is that a heavyweight would be hard to "knock out" of the fight. In this case, it means that the existing market share of React and resources of the team behind it will make it hard to displace. Note that in this case, it doesn't necessarily refer to the perceived bloat of the framework (although a pun may have been intended).

(Apologies if this was rhetorical and I ruined the point you were trying to make)
The article barely touches on the subject, but the bridge was really unnecessary, or necessitated only by the nonsensical urban design surrounding the university. The student housing is not only on the opposite side of a gigantic road from the campus, but it's further separated by a canal and then acre after acre of parking. If any attention had been paid, at all, ever, to the built environment this bridge would not have been needed in the first place.
> Then I guess using the id of the tuples to show that they are using the same object doesn't exactly prove the point

Without the `del a`, it does, because they both have active references. If they were unique objects, we'd see a unique ID for `b` as long as a reference to `a` is active.

> Strings seem to behave like tuples. When I delete a string and create a new one it creates a new object with a new address.... unless the strings are of the same length.

String _objects_ (as opposed to variables referring to them) are immutable in Python. They tend to be allocated anew, but for optimization reasons you can end up with cases where the string objects have the same ID. Like here:

>>> a = 'asdf'
>>> id(a)
4389881424
>>> a = 'qwerty'
>>> id(a)
4395015672
>>> a = 'asdf'
>>> id(a)
4389881424

'asdf' has the same ID with no deling involved because its object wasn't GC'd yet.

Below are some relevant links if you want to knock yourself out (some do) but I write an awful lot of Python and even for me this is well into the realm of "what happens when..." after a few beers or job interview trivia.

https://rushter.com/blog/python-lists-and-tuples/
http://guilload.com/python-string-interning/
You could switch to tapping the touchpad to select (instead of clicking it), which in imo is a lor more convenient.
The art of proper email validation
yup, all events and goals should happen in real time starting tomorrow, first day is always a mess because it is a scraper and FIFA is using a new CMS this year. Thought I had it worked, but had to make some sig changes to account for lots of JS.

Events and status changes and goals should all update in realtime now.
Geez, I could write a book about what the past 12 months taught me. But here's the main points:

* Learn when you have to move on, sometimes some things are out of your control and there's nothing you can do about it.

* We all have our own story, don't judge people for their vices and flaws unless you know their story (there are exceptions to this rule)

* Sometimes you just have to take the jump, quit your job, move overseas, and survive on your credit card until you find a new job. Otherwise in a years time, you'll be in the same shitty place you are now.

* Seasonal Affective Disorder is a right bitch, and alcohol is not a cure.

* Corollary from the above: You may not feel it sometimes, but people do care for you, despite your head telling you the opposite.
I'll look into HTTPS, heroku says it is configured fine for worldcup.sfg.io, browser says it isn't, browser wins :)
Awesome project, I love the use of TrueSkill Through Time here! Really interesting that it beats out Elo as well.

FiveThirtyEight actually posted their WC predictions earlier today [1]. Finding where the two models diverge is a fun exercise -- they have Morocco as a 40% favorite tomorrow while your model has Iran as a 46% favorite.

It would be interesting to test the model by applying the Kelly Criterion [2] when you have an odds advantage to a fake initial $1000 bankroll and seeing where you end up at the end of the tournament.

If Iran does end up being a 46% favorite tomorrow then that Kelly test will start to look really good, really quickly - the market is only giving Iran a ~25% chance right now!

[1] https://projects.fivethirtyeight.com/2018-world-cup-predicti...

[2] http://www.elem.com/~btilly/kelly-criterion/ for the background, http://www.albionresearch.com/kelly/ for a useful calculator
I've been considering this. In the past I've been on the side of figuring if you can control your mind then you can control your predicament. But I'm now at a point where I'm not having such fine control over my mood. So instead I need to force myself to behave in ways which may improve my environment, which will improve my mood, which will reinforce the behavior

Of course the truth of depression is that it never goes away. But this is something to try to get through a few months
They are expensive, hence a free one
That should hardly be that surprising or unfamiliar here on HN. Epithets like 'sperglord' didn't come from nowhere - the rigid unbending nerd on a righteous self-destructive crusade on a selfish or minor point whose folly is obvious to anyone but themselves. Shockley is particularly striking because he cost himself so many billions of dollars, but there are a lot of failed startups or projects with similar tales.
Ask HN: Evaluation of a startup and job offer
I just got a job offer from a series D startup in the big data ecosystem. They are offering 45K stock options vesting in 4 years with a current price of around 1$. Assuming it will go to IPO or being acquired, how much I can expect the stock price to go up? (I understand the worst case scenario, I'm looking for average and best case scenario). Also, is it better to join a series D or a series B company? And what happens if the company exits before the stocks vest?
You didn't specifically mention topical use, although anyone who dislikes sunburn, 3rd degree burns, bug bites, eczema, or mysterious rashes will appreciate this one. Cannabis Oil (THC/CBD ratio of 1:1) mixed into Aquaphor can be applied topically to effectively make anything topical caused by inflammation disappear. 3rd degree burns go from severe pain to no pain in a few hours, and the wild thing is that the burns heal without blistering. From what I've heard/read it may be possible to cure skin cancer and melanoma the same way.
also, frequency would be unaffected by DC bias, I assume. I guess FFTs will also be useful...
I am ignorant as to this whole story, but out of interest, why is it a bad thing to wait for the NTSB report?

Often it is good to wait for an entire report to nail down the facts before the witch hunt should begin, is there something in this case that means this isn't the best idea?
Can you expand on the third point?
I fail two interviews one is from Google and one is from Facebook. now I am rethinking about my ability towards coding and algorithms.
yup,
I'm automating ops away as much as possible by running in cloud, terraform, container & k8s. I'm automating QA away by writing tests. I'm even automating developers away by creating DSLs so I can hand it over to business unit so they don't come to dev for every little request. It's the nature of the beast. Hell, I feel that if I do a great enough job I automate myself away. My goal is always to do so and move on to the next big thing.
* I find mentoring to be one of the most rewarding things I can do

* People wait too long to quit a job or get out a bad situation

* Being very deliberate about what you do and who you spend your time with is worth it

* Sleeping masks really improve you quality of sleep
You're looking at this completely wrong, and with over-emotional sentiment about "Station". Generational ships will have their own culture, rules, and design to facilitate humans across the galaxy.

As long as we can communicate with each other so we can understand each other's circumstances etc, we're good.
Meaning there are clearly more React jobs, and they have the support of a massive company.
Not entirely true, as highlighted by a CVPR 2017 key note talk modeling/comparing neural activations to deep learning activations has been done already so this is not wholly novel: https://www.youtube.com/watch?v=ilbbVkIhMgo
I wonder if we'll get to the stage where game engines become a series of neural networks hallucinating the output.
Not sure if thats the kind of thing that OP meant, but I have a sheet of paper where I note all the sport I do, which motivates me to do more since I started it ~3 years ago.
There is likely some degree of causation, though it would be difficult to measure.

As an anecdote, almost everyone I know moves to a less expensive area and buys a larger house when they start a family. Live downtown, have babies, move to the 'burbs. My parents did it, and I will probably do it too.

This type of situation muddies the data because we are contributing the trend but the housing price isn't changing whether we have babies. It only changes where we have babies.
It's unclear whether the data shows that housing prices affect the brith rate or whether people just move to cheaper neighbourhoods when they want to have babies.
Wow I'm sorry, but congrats on the job offer.
%page dir(object), %pinfo or %help object are your friends.
Google has a cool system where everyone with a new child gets (very long and equal) parental leave. If you physically give birth, you get extra time for preparation and recovery (e.g. men and women adopting, etc. don’t get it). I think this is a good way to recognize the extra burden of parents who give birth while being fair on the parenting front.
Social media in 1979
It's over. You can either admit it now or wait. But from experience I'm telling you it's over. This is your one life. One trip around the stars.
As awesome as the Kilopower reactor is, this really isn't its intended use-case - it's supposed to provide low-output, very longterm power in spacecraft and rovers, where mass is limited, shielding unnecessary, and maintenance impossible. For mars colonization, a significantly larger purpose-built reactor would be much more feasible, and almost certainly a better solution than solar.
There is a model, it's just not particularly well publicised: a file descriptor is a capability.

That's it.
>as a condition for the import, distribution, sale or use of such software, or of products containing such software, in its territory.

>This part of the sentence limits the application of the rest of the paragraph to software that crosses the border into the country in some way or another.

No, the word "or" is the operative one here. So if you deleted the word "import", it wouldn't matter. Yes, the law applies to imported software, but it also applies to any software which is distributed in its territory, or sold in its territory, etc. No border-crossing is necessary.
Curious. Whereabouts in Upstate NY? Albany? Schenectady? Buffalo? Catskill?

Did you research anything related to local area (ex: schools, major corp like G.E. used to be in Schenectady etc) that would ensure steady occupancy?

> I started buying properties

Guessing atleast a couple, if not more... so how do you get loans for investment multiple investment properties?

AFAIK Bank demand higher downpayment ( atleast 30% or more) and also have higher interest rates.
They actually threw the lemmings in the Bow river rather than the sea, so it's likely that most of them actually survived.
It's important to vote.
I'm not sure that it's actually okay to have a permanent underclass as long as their conditions are 'acceptable.'
No no no. It means you aren't built for a contrived interview process. Has nothing to do with your skill and talent and work as a coder.
They also talk in the paper of keeping the thrashing parts of the cache in RAM. Facebook for example calculates the effective hit rate of a larger set of items and only caches those that won’t be quickly purged out / overwritten in secondary storage.
I know. And each of the southern european states has a slightly different heyday too.
Also cool: uses passive heat pipes rather than coolant, further reducing the number of moving parts (making it that much more reliable).
You have to put the acres of parking next to the buildings! Otherwise the drivers would have to walk!!1!
You didn't told us what it taught you.
Being nice to people is easier than being rude. And life opens more doors than you can imagine when you are kind to people.
I use React every day and haven't starred it. I star random stuff I want to come back to later (like Vue).
Show HN: Beautiful gradients as placeholder images
From https://saturn.jpl.nasa.gov/news/1206/kicking-up-dust-saturn...:

"The planetary magnetosphere comes into play with the charged dust particles. The rotation of Saturn’s magnetic field generates an electric field directed radially outward from the planet. This field will eject small, electrically charged particles, into interplanetary space. Once that happens, the interplanetary magnetic field “frozen” into the solar wind can accelerate the dust particles to high speeds, creating the bursts of particles recorded by cosmic dust detectors. Evidence for this interpretation came from the changes in direction of the stream particles when the interplanetary magnetic field changed direction, in close timing with the Sun’s rotation."

So my guess is that a planet with no atmosphere and a magnetosphere weak enough to accelerate the charged dust just only enough to keep it moving without being ejected of the planet could have something happening, I'm not a planetary scientist and I don't know if a storm would be plausible so take it with a grain of salt and hope for someone else to jump on the question.

But if we're talking about "common" dust storms, without an atmosphere there would be no winds, so no common storms, and since air density in Mars is much lower than Earth (around 1% of ours), high speed storms in Mars would not be as severe as in Earth, wind speeds that would turn a car or rip trees on Earth wouldn't even push a human out of his place in Mars.
This isn't the only example of that. Imitating an archaic form of architecture is often a homage.

Go to some modern temples/shrines in Japan. Check out the torii gates and any other classical looking structure. Compare the ones in wood to the ones in stone or concrete. They look identical.

If you look close, you'll notice the little details sticking out of parts of the design. It's almost always a part of Japanese wood joinery. But it's still in the stone copies. Is it bad design? Of course not. That simple, striking, beautiful, complicated wood joinery has its own unique aesthetic appeal, and shaving off features just because they aren't necessary is completely beside the point of aesthetic beauty. To say nothing of honoring the tradition of a difficult and highly effective craft.
I know that there are several nations, Germany being the one I've read the most about, that do not support the notion of 'public domain' at all. It is simply impossible there to give up a copyright. You can extend rights to everybody, but you are still legally bound to any work you create for things like liability purposes. I've always been surprised that this isn't a bigger problem than it sounds. I'd be quite worried about putting code online if my countries legal system made me forever liable for its use regardless of what kinds of license I released it under.
> I think this field - sociology - and the humanities in general have become so much politicised ... it could just as well have been a point of action for some feminist organisation as a research article

You may be right on the whole, but this out of BYU—one of the most conservative and family-oriented universities in the US.
Just put your image size (width x height) after our URL and you'll get a colorful gradient image placeholder.
Example: https://gradientjoy.com/300x200
> And in order to pull off the aesthetic, the bridge's designers had to make the diagonal supports beneath them a variety of different shapes and sizes. That complication may have led the designers to miss a crucial error, independent engineers who've examined the bridge's plans believe: One of the supports was not strong enough.

They aren't joking about the "variety of different shapes and sizes" for the diagonal supports. It's really incredibly ugly. In my view any "aesthetics" gained from the fake cables on the bridge are far outweighed by how goofy the whole thing looks when viewed from the side. It's really jarring, and I imagine that it would look rather cobbled together when walking over it.

I also was shocked by the reported "2000 pages of calculations" that 3 different structural engineers signed off on. I have a hard time imagining that none of these experts might have said at some point, "this is a bad bridge that should not be built!" even if mathematically it could have survived magnitude 10 earthquake. Which it clearly couldn't. I'm not an engineer but it ought to be outside the ethics of an engineer's role in approving a bridge design that appears to have redundancy (the cable stays AND the diagonal supports) when the cable stays are merely a foolish aesthetic choice. Doesn't seem much different than selling a car with an airbag icon on the steering wheel when no such airbag exists. It's a false claim to structural integrity.

One final thought- the PURPOSE for this bridge seems ill-conceived in the first place. Why is the campus divided by a highway to begin with?? But that's neither here nor there.
I imagine the Herald doesn't believe that the NTSB (or any authority) necessarily has the canonical and final word on things, and thus the Herald sees itself as providing an independent viewpoint/assessment.

One of the undercurrent themes of this story is that, according to the herald, the construction company and FIU officials are well-connected politically. Possibly related to this is the fact that the Herald is suing the state for records related to the bridge [0]. These records were determined to be public but have so far been withheld from public release.

[0] http://www.miamiherald.com/news/state/article212489364.html
I would say primarily because the "public" has a very short memory, and an answer published 24 months from now will barely be a page 3 comment.
The phrase "witch hunt" implies that society intends to persecute some low-status unfortunates on false pretexts. The politically-connected administration of some rich school built a giant bridge and within a week it fell down and killed some people. Investigating this incident is as far from the meaning of "witch hunt" as we might imagine.
Give people a downvote button and they're going to downvote stuff they don't want to hear. Anyone who believes otherwise is deluding themselves.
How did the Nazis gain power in Germany?
In my experience getting ppl to admit their issues isn't the way to go. Showing them a path exists to overcome the issues, without a requirement for them to admit anything is.
Understanding that is love.

And that's hard work. "Work is love made visible"
Generally speaking, It is not illegal in the US unless you leave visible marks (e.g. bruises). Even then, it would be reported but little action would be taken unless there are additional issues with the child’s safety.

It is still common in many places for a “whooping” to be used to keep kids in line.
> "This structure should function as more than just a path for circulation; it should be a place to be and a place to be experienced, and the FIU campus and its students must be proud of it," the document's introduction reads. "It should be a destination in its own right where community members might linger, gather, and create an urban social space — a linear park."

This reads a lot like every startup that tries to convince themselves that their run-of-the-mill CRUD app is "changing the world".
It's the CADT model of software development: https://www.jwz.org/doc/cadt.html
If large numbers of FETs are your thing, you might be interested in The Beast with a Thousand JFETs [1], a discrete audio amplifier dissipating about 140 watts per channel and producing output power of 70 watts with a 2 ohm load.

Other articles/designs by Nelson Pass are certainly interesting as well. I'm not much of one for audiophile stuff, but he has a knack for interesting designs.

[1] http://www.firstwatt.com/pdf/art_beast.pdf
Google Translate’s Neural Machine Translation Now Works Offline
Vue supports both JSX and JavaScript rendering functions and has for a long time (since at least v2.0 IIRC)