skysight-inc/HackerNews huggingface dataset:
Amount of usage is what's missing from the equation.

Nearly everyone will use the road infrastructure - even indirectly (see: buses, groceries that are delivered by truck), but users (theoretically - back to this part in a bit) have control over the amount of the infrastructure they use.

The ideal argument is that by instituting tolls (or other similar per-use pricing), people will choose to be more efficient in their use of infrastructure, either by shifting modalities (see: taking the bus instead of driving), or shifting travel behavior (see: going to the store near you instead of driving two towns away).

But, of course, this is a highly idealized model that doesn't account for negative impacts of tolling. For example, the poor tend to have disproportionately long commutes, and "consume" more road infrastructure as a result. Tolling negatively impacts this vulnerable group even more heavily than they already are impacted.

Also, the idea that people who can't afford the tolls will switch to travel modes that lessen the burden (buses, trains, carpooling, etc) presumes the existence of competent alternative modalities. This is empirically false in (most of?) America. Proposals for extensive end-user tolling would be less problematic if the revenue can be guaranteed for developing alternate modes. As it stands the vast majority of such proposals I have seen simply institute a cost without offering anything resembling reasonable alternative modes.
It's IBM guys, so 90% chance it's just marketing/sales BS.
I concede with many of your points. We are living in an era where nutritional dogma is really strong in a lot of areas, and I think research articles like this do drive lots of amateur dietary advice from people who over-interpret it.

Pardon my passionate writing, obesity is a personal matter for me. I'm looking forward to it being pushed further out of the lab and into the clinic, but I'm not sure what those steps look like just yet.
If the Evocops have a bug fix for my lower back pain, my principles would crumble fast.
Tinder Gold ($14.98) Is for Horndogs Who Don't Mind Being Single Forever
If a kid is really interested in learning about computers and programming they will do it. One thing that can end badly is if you try to force the subject on them. It will become like a class at school then.

I would leave them alone, let them see what you do maybe, show them minecraft. But don't expect them to magically take to it.

When I was a kid I gained my interest in computers from seeing my Grandfather building a computer, my sister was there when he was building it. Yet I kept to it and she pursued other endeavors.
There seems to be plenty of people who think Lisp is awesome.

If so, then why hasn't it become "mainstream"?
Lanes dedicated to self driving vehicles could get many of those benefits with relativly low adoption. As adoption increases, more lanes can be dedicated to autonomous mode.
Unemployment would have bottomed out regardless. QE did not speed it up or slow it down, and all of it went into boosting asset prices and malinvestment instead, that much is plain to see. In pegging rates to zero and compressing credit spreads, the central bank had essentially been telling everyone that there was no return in investing in the real economy and that there was not much difference between a good and a bad investment.
All the Pretty Pwnies
The article advocates for using Scoped CSS, which it clearly sounds like you're not using. Mitigating against your problem is the entire point of Scoped CSS ;)

In our codebase (using import './styles.css' w/CSS Modules) every single component has a className called .root at the very top. Never conflicted once.
Government regulations exist to fix market failure, usually due to information asymmetry. In the old days it was milk in chalk, in the modern day it's closed source code riddled with spyware and engine firmware that cheats emissions tests. Market failure in my book.

We need more, smarter regulations, not less.

EDIT: I don't think it's reasonable to expect everyone to educate themselves on every technical advance. That's not possible with the complexity of technology people encounter in their everyday lives. And that's without even talking about the invisible technology we never see directly, like the software controlling our voting machines, hospital equipment, power plants, etc.
This is the sense that I got. I am a one-person data science team for my startup, and I basically cobbled together most of the automation described in Michaelangelo over the course of a few months. Spinning off Spark ML jobs on EMR and saving metadata to a database.
If a port scan can overload a server, it could also be a bug in the JavaScript code that runs on the clients. Too many AJAX requests and the plane goes down? I sure hope not...
> Who is closer to nature?

It is not a competition.

It is a difference of opinion.
>This is an oft-repeated genocide denial. Yes, disease killed many natives but that's not what committed genocide against the natives and stole their land.

The current consensus is that disease was the primary cause of depopulation. Perhaps you should read some of the current work in the field.

That doesn't change the fact that European colonists conquered and subjugated the remaining Native population.

>This is the same genocidal denial peddled by some who want to excuse nazis by claiming the jews died of disease in the holocaust.

Nonsense. You're going against the scholarly consensus here--just like holocaust deniers.

>This is the case in most wars. Not just the civil war. Most of the deaths in ww2 were due to disease/starvation/etc rather than combat. Should we not count those?

You held up the Civil War as an exemplar of terrible wars, saying that it was "bloodier than all the other wars we participated in combined". The implication is that it was somehow worse than other wars.

The point is that this is a useless comparison to make and taken out of context you can draw conclusions that don't fit the facts. Previous wars were less bloody because they involved fewer combatants. Later wars were less bloody because we developed new sanitation techniques. And ww2 was much worse in terms of civilian casualties. You can't really draw conclusions about the time period or the social upheaval caused by the industrial revolution based on civil war casualty numbers.
>Buses and trains are. why should roads be purely subsidized?

I believe my statement was quite clear. Public infrastructure should not be a la carte.

"Buses and trains" are included in "Public Infrastructure". At least by my definition.
Similar to the different concerns between mass surveillance and targeted surveillance

It's easy to link a database and profile millions of people. It's much higher effort for them to come and get my DNA.
there's an irony to bashing the shallow corporatization of twitter while actively trying to manufacture outrage alongside a link to your competing service.

gross.
Agreed, I've since realized that most foreigners are charmed by the very act of making a sincere effort to speak their language. So really, there is something to gain in even speaking the language quite poorly.
> The drug flopped for those uses, but Viagra

I can't help wonder if that was intentional by the author.

BTW, reading any article on batman style gizmos brings to mind the Joker like from the 1989 movie: Where do he get those wonderfull toys?!
No, but a work from home act would certainly fix congestion at the two busiest times of the day.
I don't think it is puzzling. Technological advances have made each person capable of doing much more, and capital does more and more of the work that people used to (or someone in another country does it). I bet underemployment rate is not low, and with more and more people competing for low skill jobs where they're easily replaceable, again, thanks to technology, there is no reason for wages to go up.

Also of note is that more economic activity is concentrated in fewer and fewer regions, so while a select few (urban) regions experience growth and whatnot, most other areas do not.
We created the Crystal language, ask us anything
Doctors are not government, but they are bound by a variety of government regulations (e.g., parent referenced HIPAA). I do trust my own physician, but he still has to report on me in certain cases or he will lose his license.

For big, uncertain queries I initiate I would rather find the answer privately and then decide how public do I want this info to be. Otherwise I am afraid that my options will be curtailed: "did both of your parents have heart problems? sorry, we cannot take you on that climbing trip", etc.
Pre-teen is a pretty broad category. A normal twelve-year-old is in Grade 7.

That was the year I read Shōgun, which is basically your run-of-the-mill adult fiction novel. The content was never a concern, despite making the objections raised here look trivial in comparison.

Frankly, I'm not sure there's any age at which mere references to alcohol are age-inappropriate, but if there is, it must be quite young.
It can park much further away, and it could even wirelessy locate and reserve a parking spot.
OK, got it. Frankly, it seems like a system that makes owning a home less attractive, but I suppose US policy has been driven by the idea that home ownership should be encouraged.
Not that unhygienic and also a pretty straight forward way to dedicate the presence toward another person.

Obviously it's a custom, but I don't see how it is a weird one.
In the US, that would be illegal under GINA[1].

1: https://www.genome.gov/10002328/genetic-discrimination-fact-...
Same thing here, running both Linux and Windows at different times. The old ThinkPads used to be absolutely great machines in every way. These days I'm strictly on macOS and would recommend a MacBook/Pro to almost anyone, but contrary to many Mac users I'm actually not a huge fan of the hardware (apart from the trackpad and MagSafe, which they killed).

If Apple would build a modern laptop in an old school ThinkPad bento box rollcage-protected user repairable/upgradable chassis with a replaceable battery, ECC memory and the new ThinkPad keyboard, I'd be all over that...yeah, I know, but one can dream.

At least keyboard-wise there's the ThinkPad Compact USB Keyboard option [1]. Been using it with macOS for about 2 years now, just changed the keyboard modifier settings to make it work like a Mac keyboard (and one could use something like Karabiner/-Elements to map the weirdly placed PrtSc key to Alt/Option). And the Bluetooth version fits nicely over the integrated keyboard when on the go.

I find it compares to other keyboards as the MacBook trackpad compares to other trackpads, that is - it's in a league of its own in terms of feel.

[1] https://support.lenovo.com/en/solutions/pd026745

Edited to add the Bluetooth version.
Haha ok, sorry my comment wasn't valuable to you.

I like that I found out I'm 5% Asian and .1% Mongolian - it's a fun parlor trick to tell my friends I'm PROBABLY RELATED TO GENGHIS KHAN

My girlfriend is descended from many different cultures. She really liked seeing to some degree what percentages she was. Yes, we know it's not super accurate, but it gave her an idea.

We compared results on some of the tests, like proclivity to be addicted to caffeine, which were surprisingly accurate.

I wanted to know more about my ancestry so I had my parents get tested. I think it's really valuable to not only validate my genetic data, but also to see if it matches up with theirs/if they can provide more detail. I also have a hope that my future descendants will benefit from having this information on file (yes tinfoil hat peeps, it does also mean that the Trumpborg will be able to target them).

Hope that helps!
Tru story.
Making the Google Developers documentation style guide public
Co-founder of Standard Cognition here. Help us increase the accuracy, we're hiring :-)

https://angel.co/standard-cognition/jobs
Generating C bindings for Rust crates with cbindgen
> Can there really be any serious debate about the idea that type-checking increases the likelihood of correct code?

I agree. I didn't say otherwise. The passage I quoted said "prefer using languages with type systems for writing code that needs to be correct" which seemed fairly sweeping to me. Those "other things" you mention sometimes matter a lot.

I also to a lesser degree take issue with "If your language does not have a type system, defensively check that the data you’ve been passed is correct at runtime, and throw an error if it isn’t." - this seems like a fairly overly strict guideline. Most tests will check types as a side-effect of whatever they are doing. And the advice to add runtime type guards into every piece of code I write is worse than telling me to just switching to a explicitly typed language.
"I wonder how much this kind of stuff exists out of necessity and how much of it exists because very smart people are just bored and/or unsatisfied."

Do you mean only the developers (==very smart people) hired by the NYT or those hired at other companies, too?
oh yea, let me just remove this self-consciousness... wtf is wrong with people, if it was easy we would have done this. the problem is that despite our most desperate attempts, this mamallian brain is total fucking troll.
There are plenty of places where the "senior" developers have more than 5-6 years of experience.
"Lisp is a minimal fixed point amongst programming languages. It's not an invention, but a discovery. That's why it won't just go away." - Brian Beckman [1]

That said, LISP machines are quite interesting on their own, because they follow a different architecture compared to (mainly) register-based x86 and similar.

[1] https://twitter.com/lorentzframe/status/821001730938654724
exactly that sort of thing DOES happen though - particularly with goods that have planned obsolescence cycles annually, so I'm not sure it's even a good comparison in the first place TBH

Think of it more from a general level and on even bigger purchases like a house. Everyone stopping buying houses for a year because they think sitting on their own currency (regardless of interest rates and the housing market) will make it cheaper is not a good thing.
A big part, especially back in 1984 was that LISP tended to be slow on traditional PC hardware. Also somewhat memory hungry, which was a definite problem back in the 80s when memory was expensive.
For this toy example, sure. But extend it from a 2byte table to, for example, a 50MB table and use many more hashes. The larger the table, and the more hash functions you use, the smaller the false positive error becomes. If you have a limited dataset that you want to test against, you can set these params to have a near 0% false positive rate, at the expense of a much larger table
The problem I see with that approach is that it doesn't leave a lot of room for reusability in different types of design components.

Many times in larger web applications, designers will have similar design themes that span multiple pages (more than just simple things like forms). So there may be a callout with a border and all text inside is blue across 5 separate pages.

You may approach this as #homepage .callout at first but it begins to become hard to manage when you realize you need to refactor it into a side wide style.

Generally I approach everything in attempts to make it re-usable. And organize what I can into components. I'd rather write more css classes in the markup than have to specify names for certain cases where 'this heading is bold here but underlined in this case' yada yada, when I can just write .bold .underline .h5.
In practice, I believe most fast hand value evaluators just use a lookup table, treating each hand as a 52 bit (or 64 with 12 wasted bits, most likely) bitset with 5 bits set to 1 to indicate the cards.
> How much would be lost if NYT was just implemented as text articles that are cached and styled with some CSS.

https://www.nytimes.com/interactive/2016/12/28/us/year-in-in...
Even if what you stated was true(which is isn't for all cases) it's still a complete reversal of how every single other democratic parliament works as the EU parliament cannot propose anything.

It's correct that the commission(which it itself fairly powerless) have to ask the MEP for yes and no on directives, that is not the case on all regulations passed by the council of ministers as the council can choose to bypass the EU parliament, in cases where no disagreement exist within the council.
You would need to do it in secret. Plot for the next James Bond movie?
Wow, I totally identify. I like to joke that I've done "less with more" than anyone else I know.
The New Stereotype of Programmers
There's no Shadow DOM support in Firefox or IE/Edge, and Safari support is buggy. http://caniuse.com/#feat=shadowdomv1

The client-side polyfill for Shadow DOM requires executing JS before paint, which is slow. For optimum performance, you have to polyfill it server side, with a build tool. At that point, you might as well just pre-process it for all browsers, at which point, maybe you'd enjoy something more flexible than Shadow DOM, e.g. something that lets you share styles between components.
I dunno, I think it's pretty trivial to back into life expectancy and genetic risk factors from publicly available ancestry information combined with death certificates. We have ~200 years of pretty good records here in the US and many more if you go into Europe's records. From that data you can get a really good idea of longevity for a given person.

Ancestry.com even has a public tool for doing this at a high level: https://www.ancestry.com/name-origin?surname=trujillo

Seems the cats been out of the bag for a long time.

Maybe you shouldn't throw around 'dumb' quite so liberally.
>"Wait - we're talking about dogs barking in restaurants? If this happens (I have literally never seen it) it certainly happens less often than babies crying."

Yes for example, almost anywhere where there is al fresco seating in New York City will have dogs owners who bring their dogs along and invariably one of those dogs will start barking as there's shortage of stimulus. It is not at all uncommon.

see:

https://www.bringfido.com/restaurant/city/new_york_ny_us/
You can just make a flattish shape out of it and most likely it will enter just fine.
Yup, I agree. My mom was adopted so I can't trace anything on one side of my family. That's why I did the ancestry test. She met her biological parents before they died, but has little info about family history.
What are the logistics of laying fiber yourself? How do you legally dig up the ground and put the fiber down?
https://kafka.apache.org/documentation/

Name: cleanup.policy

Description: A string that is either "delete" or "compact". This string designates the retention policy to use on old log segments. The default policy ("delete") will discard old segments when their retention time or size limit has been reached.

???

How is this not automatic deletion of stuff? I don't have to worry about someone setting a "delete all data older and/or bigger than Y or Z" flag on a RDBMS, because such a flag doesn't exist.

---

EDIT: Since my other post got a few downvotes, and my account has been sanctioned in the past for posting similar thoughts about tech-hipsters diving head-first into Kubernetes without understanding any of the effects of doing so, I can no longer post replies for a period of some hours.

As such, I will copy my reply to child comment from snuxoll below, which I was not allowed to post, and then log out for a while.

Kafka devs, seek investment from YC, you may get them to sanction accounts that are too critical of the inappropriate adoption of your project, as they've done to me for criticizing Docker/k8s.

reply:

>Log compaction is generally what you want, which will preserve the most recent message for every key in a topic. Event streams expanding boundlessly is something very few will ever need or want, so you'll toss messages into an "event" topic of some kind, apply the event to the most recent entry in the "model" topic and store a new version (which will be kept after log compaction, the original messages can be pruned after you need to free up storage).

Yeah, I didn't explicitly detail the compaction option because it's still potentially deleting huge amounts of data. It promises to keep the latest state, which, yes, is better than deleting everything. But why not just not delete anything? The article says they're working with 100GB of data. There are VIDEO GAMES that get downloaded to consumer hard disks that occupy more than that (also not really excusably, but still).

I understand why Kafka provides these semantics and I think it's great that they do. The issue is that developers choose to ignore them, and seriously imperil their data's well-being by doing so.
Conformity and individualism aren't exactly the same, though there is clearly overlap. Religious people might conform more in terms of things like dress, but at the same time be more open to individual rights. Go back to Declaration of Independence and the idea mean are "endowed by their Creator with certain unalienable Rights." It's not a coincidence that Communism is an atheistic political philosophy.
You are commenting on a site run by Lisp
This is a great article and I've bookmarked it for future reference.

I observe, though, that if you are tuning a system to this level of detail you likely have a number of web servers behind a load balancer. To be complete, the discussion should include optimization of interactions with the load balancer, e.g. where to terminate https, etc.
Why do people seem to think failure is ok? its not. its fucking failure.
As an adult wishing to go back to school for an engineering degree, is there anything on earth comparable to a program like Olin? I really have no interest in sitting through 500 person lectures at a traditional university with no focus on hands on work and a "sink or swim" academic mentality. Are there any integrated schools out there friendly to non-traditional students that teach from the ground up?
If you work in embedded, start to shift your focus into IoT. Internet-connected systems are the ones producing and storing the data necessary for data science/ML to happen. Experience with the data ingestion layer IoT cloud platforms (AWS IoT, GE Predix, Azure IoT Hub) could help you transition to higher level data analysis roles, especially if you can demonstrate your domain expertise with embedded systems. If you are working with Matlab along w/ Simulink, you should check out ThingSpeak: https://www.mathworks.com/products/thingspeak.html

If you are working deep embedded/legacy products or purely on the hardware side, you may need to grab an ML course/certificate to signal your interest, or just network really hard. Having embedded engineering skills can't hurt though.
Ah, well CQRS is only justifiable when you're selling the work if you couple it with the ES, and the more complex it is, the better the sales job and the budget. It's like peanut butter and jelly.

My main point in replying to you was that you weren't selling me on whatever brand of CQRS you think you've got. Why? It seems like you're atomizing your business logic into a fine mist, why is that good? And you still haven't talked about all the myriad transforms you do: where's the payoff? Does YAGNI apply in your case?
No reason why Webpack/`import css` couldn't eliminate the CSS from this

// styles.css
.root { background: grey; }
.button { border: 1px solid blue; }
.error { color: red }
.alert { background: red }

// Component.css
import styles from './styles.css'

return (
<div className={styles.root}>
<button className={styles.button}>Submit</button>
{false && <div className={styles.error}>Error!</div>}
</div>
)

Both the .error and .alert are candidates for being removed.

Of course, I'm not aware of any solution for nothing this currently, but all the bits and pieces are there for it to be feasible.
The Irony of How Hurricanes Move
Good luck investing into this as a private individual.

ICOs are the future.