skysight-inc/HackerNews huggingface dataset:
I am surprised that no one referenced Henry Rollins' essay, The Iron:

https://www.oldtimestrongman.com/articles/the-iron-by-henry-...

Through the years, I have combined meditation, action, and the Iron into a single strength. I believe that when the body is strong, the mind thinks strong thoughts. Time spent away from the Iron makes my mind degenerate. I wallow in a thick depression. My body shuts down my mind.

The Iron is the best antidepressant I have ever found. There is no better way to fight weakness than with strength. Once the mind and body have been awakened to their true potential, it’s impossible to turn back.

The Iron never lies to you. You can walk outside and listen to all kinds of talk, get told that you’re a god or a total bastard. The Iron will always kick you the real deal. The Iron is the great reference point, the all-knowing perspective giver. Always there like a beacon in the pitch black. I have found the Iron to be my greatest friend. It never freaks out on me, never runs. Friends may come and go. But two hundred pounds is always two hundred pounds.
Several days before Tesla raised cash he said there's "zero concern, and I mean zero" about 10k/week by the end of 2018.

According to documents from some lawsuit by ex-employees, he was told repeatedly that 5k/week is impossible by the end of 2017, but despite that knowledge, he publicly stated that as Tesla's guidance.

After Tesla got fired from NTHSA investigation, he issued a press release stating they decided to leave the investigation. After that, NTHSA had to clarify what really happened.

Etc.
Plus you have the physical limits of making mining special chips more energy efficient...

This is why Ethereum founder calls bitcoin deadcode...as it will continue its decline unless it moves to PoS
void do_stuff(Integer[] integers) {
....
}

do_stuff(new String[]{"1", "2", "3"})

Compiler: whoops, you passed an array of strings when the API called for an array of integers.
A baseline would be making up for the employee's salary reduction with equity. If you're taking VC money then you have some dollar value per share to work from, otherwise base it on 3-5x annual revenue linearly projected from historical monthly revenue.

Formula: (Fair total dollar compensation - agreed salary) / (dollars / share) * 4 yr vesting

A sliding scale for salary : equity is built in and you can compensate based on hire desirability or local market conditions by weighting dollars per share appropriately. This system is fair as long as both the employer and employee agree upon the share value (some information asymmetry there benefiting employers that decent companies will try to correct for).

Saying this as startup first engineer ;)
This comes across as exceptionally naive. Protein-engineering is a fundamental technology, and we've been constrained computationally for decades. Few things would have as far-reaching an impact on society as being able to accurately predict protein structure would.
You've definitely had a use for it. Maps, chan and slices are all generic types. The built-in functions len(), make(), delete(), new(), append(), etc. are also generic. It's just that you can't define your own generic functions and types.
The Milky Way is twice as wide as astronomers previously thought.
I’ve seen it here in Ohio. Sams Club and also Menards. Usually some guy at a aisle or back of the store trying to sell satellite tv. It is annoying...

Just shopping for whatever you needed and some random guy asks what you have for television.

Also seen a woman trying to sell perfume and wanted to spray some on people at another store, kinda pushy near where the cash registers are. Aren’t some people allergic to that stuff? I think it would be better to have samples next to the actual perfume for when someone is actually shopping for that.
You can find online calculator to have an estimation of your metabolic rate. From there, subtract 500 kcal and count all the calories to eat everyday to make sure you're below your limite. A popular calories counting app is "fitness pal".
Those are arguably some of the best examples of software naming and branding done right, with the notable exception of JavaScript, which isn't unique or accurate. Sonar would arguably make a bad name for anything that isn't underwater SOund Navigation And Ranging.
Visual disturbances affected my ability to read books for years. I am no longer a speed reader thanks to psychedelics. For years after my first big trip, walls breathed and floor tiles became 3d. It is hard to be indifferent to such things.

My set going into the trip was that I was expecting to have a great time with friends. I was young and very positive towards psychedelics. I did not have a 'bad trip'. The effects came later.
Seattle reverses course on business tax after Amazon pressure
Question: What is the meaning of life?

Aristo's Answer: As of now, no other life in universe other than earth.

Confidence: 52.29%
>"Adams took sudden and unexpected action, rejecting the anti-French hawks in his own party and offering peace to France."

Adams considered the peace he established with France as the greatest accomplishment of his Presidency, to the point of wanting his actions in averting an all out war commemorated on his gravestone.
Whether you're affiliated with Gitlab or not, it's kind of shitty to use someone's platform to push a competitor. Nothing in the terms of service forbids it of course and you're absolutely free to do so, but it just feels more ethical and grown up to extoll Gitlab's virtues by using Gitlab to host the content and link to it from HN. Putting it on Github is at least a tacit implication of its superiority along some axis, which—to my eye anyway—undermines your message.
Attrition is better than you think:

> Adherence or compliance was reported in 15 of the 33 RCTs; the mean (SD) adherence rate was 78% (18%). Of the 18 remaining RCTs that did not report adherence or compliance, 2 reported attendance rates, which ranged from 87.5% ^53^ to 94%. ^71^

Of course, they also note that reporting of compliance should be better done and intention-to-treat analysis should either be done or specified to have been done.
'Activist judge' is indeed a term in the English language, but what does it have to do with this case? There are 'drunk airplane pilots', but does that make the pilot of the plane I'm going to board a suspect?
Very popular simple time series library built on top of d3.js: https://metricsgraphicsjs.org.
A word of warning for that customer using it for backups — pi’s have a habit of corrupting sd cards once in a while, or the sd cards just go bad. Make sure to have backups of the backups!
It also seems to matter as a diversionary tactic, employed to curtail discussion of the dearth of meaningful competition in broadband.

And it ignores that TWC was acquired by another ISP, meaning that sale, whenever it happened, also curtailed broadband competition.

On top of all that, with the end of NN, AT&T can preferentially shove TWX content in your face, and force you to pay extra to consume someone else's.

That is absolutely relevant, and it's disingenuous, at best, to suggest otherwise.
This has made the web truly infuriating. It has got a lot worse since the GDPR introduction, it feels like every other site wants to greet you on arrival with some message you just want to bat away.
Right, and I'm saying that dry-aging prime beef to use for burgers is weird. If you want the dry-aged taste and it's gonna be going in a burger, you might as well dry-age some choice meat and add a little more fat.
He is arguing that if BTC price went up 100x, it would be so much more profitable to attack it that it would require a comparable increase in the hash rate (and therefore electricity usage) to deter would be attackers. So either hash rate increases, or BTC loses it's security.

Or the same thing, but stated the other way round, as the profitability of mining increases (due to price rises), more participants are attracted to the market, raising the hash rate and bringing profitability of mining back down to the marginal equilibrium.

Essentially the argument is that cost of mining/attacking is always in rough equilibrium with price, because whenever it isn't someone will take advantage of that in a way which will have the feedback of narrowing the gap again.
"crank" is the wrong word. Mathematicians don't like his attitude, because he is smug/brash and he rejects unphysical mathematics (which many mathematicians find offensive or irrelevant), but they don't dispute his math.
Ok, this is true :)
I started using Linux in 93. Why not BSD? Linux was user friendlier at the time. Really. I installed BSD as well but out of the box my up arrow did not even give me my previous commands.
Also Slackware was easier to install, gave more guidance.
Also BSD was for top experts only. Info was harder to find.
Numbers aren't lists of digits. They're abstract concepts that are referred to by lists of digits for the purpose of convenience. You can even have numbers without having invented digits. It's just annoying to write out one million, two hundred thirty-four thousand, five hundred sixty-seven and eighty-nine hundredths. So, we say 1,234,567.89 (or 1.234.567,89 for countries that use the comma for decimals).

0.5 in base 10 is the same as 0.1 in base 2, which is the same as 0.11111... in base 3. And the choice of base is completely arbitrary, with some societies using others, like base 12 or base 60.
I'm not sure if that's an Asian thing, I actually only learnt the importance of prestige after coming to bay area. When you mix with people with prestige and without, sharing job hunting and interviewing experiences quickly lead you to realize the importance of brand name recognition of your school and past employers.
> there’s no “DOM transaction API”, so every DOM mutation causes a reflow

Perhaps there should be. Has there been any discussion on standardizing such a thing?
> I've never understood this idea of feeling humiliated at the gym or while starting a new sport.

I don't need other people to be present. That doesn't help, but even by myself I feel utterly stupid. The humiliation is self-imposed and a nasty spiral - I can stop feeling humiliated by not having to face it (aka stopping). And the next time I have to face it, I'm not only worse at it by virtue of being in worse shape, but also because I know I felt this way before.

The same thing can happen with coding if you aren't careful - take on too much at once and you have only failure, no sense of satisfaction. But with exercise I have no sense of "win" by accomplishing something small the way I do with something small-but-new in coding.
Remember, power corrupts. If you're not worried about Google's power, you're probably not paying attention.
bakul's point is that it's not already implemented--Go's existing map doesn't have finegrained synchronization, and you can't write a generic map that does.

Or, for another example, you can't write a generic LinkedHashMap, which is a weird data structure that allows you to write constant time LRU caches, and which I presume Go doesn't have.
Google could decide that it doesn't want to be associated with guns in any way and not allow advertising for any type of gun related content and purge all gun content on any of its platforms.

Replace guns with ________ and repeat.
> Most markets in existence are in meatspace, and trolls in meatspace risk life and limb. Online, the costs of trolling are much lower, which is why trolling threatens to destroy everything good on the internet.

Yes, since traditionally the cost of trolling is ~the cost of the time of the troll. Do you think the internet would look the same if there would be enforceable fines on slurs in Tweets or Youtube comments? More relatedly, have trolls managed to destroy Bitcoin and Ethereum, which are based exactly on those anti-trolling mechanics of rational players being in place?
You can always set up a cron service

https://cloud.google.com/appengine/docs/standard/nodejs/sche...

https://github.com/GoogleCloudPlatform/nodejs-microservices-...

(I work for GCP)
Ehh, that was kind of a thin article that didn’t quite scratch the itch on why D3 is troublesome.

First, I think if you want to use d3, you probably just want a charting library. Convince yourself that HighCharts is not flexible enough and then try d3. So the trouble with d3 is that most people don’t need to use it and are in over their heads.

Second, d3 is full of leaky abstractions. Imagine if cars didn’t have acceleration pedals, and you had to manually open the throttle and engage the fuel pump yourself. You’d need an engineering degree to drive your car! Same thing with d3; it’s ridiculous that you need to know the ins and outs of some of the internet’s most complicated and frustrating technology just to show a couple of data points on a graph. It’d be great if you could work with d3 and pretend like SVG and the DOM didn’t exist.
That's a very good question. A couple of wild ideas:

- They state there is a "significant ammonium concentration" in hair ice. Ammonium is a frequent byproduct of metabolism, that becomes potentially harmful if concentrations become too high. Maybe hair ice allows the fungus to get rid of ammonium. (I'm extrapolating this from my knowledge of animal cell metabolism, where getting rid of ammonium is a recurring theme. I might be wrong on how well it applies to fungi.)

- Hair ice also seems like it has the perfect shape to prevent the formation of solid sheet ice on top of the deadwood. No sheet ice -> better ventilation.

- I also like sibling's theory of using it a means of dispersal, but the paper makes no mention of hair ice containing any fungus/spores at all.
Pretty much everything in mathematics was named on discovery, which was usually before they understood what the concept they were discovering actually was. And, somethings even the name that was given is meaningless in English because it was given in a foreign language. Real Numbers aren't somehow special here.

There are a lot of elements in mathematics that arguably could be named better. Examples include (and obviously this is opinion, not a mathematician, in all humility, etc):

+ Negative numbers, real numbers, imaginary numbers, quaternion, etc (which should really all be named in a more systematic way)
+ sin, cos, tan (I doubt any link remains between the function and the concept in modern teaching)
+ Anything named after a person instead of named for what it is (eg, Euler's constant e; should have a more informative name)
+ plus, multiply, exponentiation, Knuth's up-arrow (a progression of the same concept, should be named systematically)
+ The assuredly long list of examples I don't know about

The gains don't justify the costs, but one suspects if you could somehow give an alien modern math theory without any of the name or symbol conventions they would invent a much more systemic system than hat we have grown.
There's a saying "90% of life just showing up". Being consistent is more important than anything else, so the only suggestion I can give is to find something you actually do consistently, even if it's as low intensity as walking. Over time the reward / misery ratio, even as you workout, should get better.
Better than Heroku? I'm still thinking about GAE for my upcoming app API :-) Cheers
To be fair, the USA is the only country with America in it's name. And what would you call people who live in the United States other than Americans? Hop, skip and a jump to calling the place Americans live America.
I don't think any ML models can take into consideration the meltdown like Brazil vs. Germany in 2014 or player getting sent-off and changing the dynamics of the game. Football/soccer (along with field hockey) is much more unpredictable than any other team sport.
Judges are subject to many checks on their power. First, they only can rule on cases brought before their court, which requires two other parties to want a trial (including, in this case, the Justice Department). Also, unless they are in the Supreme Court, judges generally do not choose which cases they hear. Finally, and most significantly, they also are restricted by laws made by the legislature, precedent made by other judges and higher courts, the facts, juries (if the litigants wish to use them), principles of law, and appeals.
Some unnecessary downvoting occuring, go easy.

In a discreet component architecture there is basically no reason for arbitrary siblings to know anything about each other - if there is common state to be shared it should be inhereted.

Granted, in JS land that sometimes involves jumping through weird IoC hoops or cached callbacks, which are akward to say the least, but in the abstract an instance of a component should be concerned with its own behaviour, and possibly that of it's descendents by way of that behavior.
Incorrect. This idea was a result of some early React users misunderstanding the purpose of the virtual DOM, and has unfortunately been thoughtlessly repeated ever since.

In reality, browser engineers are not that stupid. Mutating the DOM will queue a layout operation, but it will not actually occur until the current JS task has finished executing. Within a JS task, such as an event handler, an XHR completion, or a setTimeout, you can mutate the DOM as many times as you like, and it will only result in a single layout pass.

(The exception is if you try to read back some measurement from the DOM, such as an element's bounding box, after mutating it. In this case, the browser does have to block while it performs layout, but that is not something can be solved with virtual DOM).

So, what is the purpose of the virtual DOM? It was invented to allow React to provide the illusion of full re-rendering. React's authors wanted to a provide an experience similar to that found on the server, where an entire HTML page is re-rendered from scratch for every load. In that way, there is never any possibility of part of the HTML becoming stale, as it all gets recreated from scratch each time.

However, the browser DOM is not designed to be blown away and recreated from scratch all the time. Nodes are expensive objects, spanning the JS and C++ worlds. Recreating the whole DOM tree each time any part of it needed updating would be too slow. So, instead, they created the virtual DOM as an intermediate data structure. React renders the virtual DOM. The virtual DOM is diffed against its previous state, and then the changes are applied to the actual DOM tree. In that way, every component's render() method can be executed, but only those parts of the DOM that have actually changed will be updated.

It's a nifty optimisation, but it's not about avoiding reflow, it's just another method of dirty checking, similar to that done in other frameworks like Angular or Ember. It's just that React chooses to diff the data structure produced by render(), rather than diffing the model data that is later used for rendering.
Please don't post unsubstantive comments to Hacker News. Also please don't make disagreements personal.
I can guarantee that they didn't have 3.5 per store and an extra 200.
This seems like it's probably unhelpful and out-of-date. Any such how-to guide really should cover some kind of obfuscation to avoid the anti-VPN blocks. For instance, apparently the great firewall will let SSH terminal traffic through, but it uses heuristics to detect and block SSH tunneling.

This guide, is really more like "step 0" of a multi step process. All it does in orient a novice toward the services he will need to expend effort to try to access.
>> Northern/Western Europe was an impoverished, uninteresting backwater until the discovery of the New World (...)

Ah, yes, an unintersting backwater ...that created objects like this one:

https://en.wikipedia.org/wiki/Antikythera_mechanism

Also: Pythagoras, Heraclitus, Thales of Melitus, Archimedes, Democritus, Ptolemy, Aristotle of course, etc etc.

It's true that the Orient and also Mesoamerica were also civlisational centers, a fact that is not acknowledged in Western history books. But to go from that ommission, to saying that the West (in fact, the entire Old World since it's impossible to separate Greek and Roman history from say Egyptian or Babylonian history) was a "backwater" before Columbus, is simply unhistorical.
There's a place for cookie cutter visualizations. However, you're never going to make anything distinctive or memorable that way. All of it is a trade off... Are you trying to fit in or stand out?
I don't remember where I first heard it, but the best formulation that I've heard over the years is that the BSDs are for people that love Unix; Linux is for people that hate Windows.

I honestly think there's a latent explosion of interest waiting for the BSDs in the near future. The sprint to bring a "modern UX" to the Linux ecosystem in the last decade has made it extremely easy for newcomers to adopt, but has also made it pretty nigh impossible to figure out what's actually going on in the background if you weren't along for the transitional periods. Whereas with the BSDs, the immediate learning curve is much higher, but at the end of that curve, you have knowledge of a coherent system that obeys legible and documented rules and the feeling, if not the reality, that you, the user, are in control of your computer.
nvd3 if you want d3 charts without the d3 hassle: http://nvd3.org/
Oh gee I guess I'm a wizard.

Lots of systems/embedded programmers roll their eyes at this kind of talk. Threads aren't really that hard.

Event queues do have benefits in certain situations. They pair nicely with state machines. You can easily end up in callback hell though, and it is often difficult to integrate some long-running, atomic tasks into your event loop. You end up doing things like having a thread pool, at which point you have to wonder why you stopped using threads in the first place. Oftentimes a threaded approach is a cleaner approach. Just get the locking granularity right - it's not that difficult.
After only a quick glance at your code, I'd try to tackle it by wrapping my own interface around the different image types (which you could argue the image standard lib should've already done for you). The interface will define CreateWeights and Resize operations. Each implementing type will consist of a struct with an embedded field of each image type you're handling, and passthrough calls to the underlying function you need. This way, your resizing logic can be implemented in one place.

The constructor might be harder to abstract as a single thing since there are variations for each image type... but that's the gist of how I'd tackle it with all of my 10 minutes of experience with your code :-) If this approach is workable, it should end up being clean and testable IMO.
Bio Major Breeds Microbes That Eat Plastic
Yeah, I use "they" most of the time. When I can't think of a phrasing that wouldn't sound weird I occasionally just use "he" or "she", depending on which is more likely. It's not a huge deal.
I don't think the docked approach works well either, because the heavyweight docks are never close enough to where you want them to be.

It's really just a parking problem. We don't want another cable company / taxis v2 and 'pick' a winner with horrible service. You mandate that these things need to be locked to something and most of the problem resolves itself.

Businesses that want it to be easier to shop where they are will install bike racks. The city will fund new bike racks with scooter permits. You could even allow scooter companies to install and pay for new bike racks themselves as they probably understand demand dynamics far better than random cities. If the scooter companies install the racks, you just have to say they can be used by everyone and are owned by the city.

We don't need heavy duty docking systems that are exclusionary to one docking company. A simple cheap metal bike rack that everyone can use will be plenty enough and more economically efficient.

You can also detect if the renter rider puts the scooter in the right area or if someone is screwing with the scooters after the fact with accelerometers. You could even detect if they are in a tipped over state or not.