skysight-inc/HackerNews huggingface dataset:
Totally agree. Lithium cells, what with their necessary protection circuits and tendency to exothermically disassemble, seem like exactly the sort of product where certain use cases (e.g. EV manufacturers) greatly prefer the premium product with great QA, vs cheap quantity goods.

An 85 kWh lithium fire in a passenger vehicle is a way different beast than a 15 WH phone fire. You do not want to be the car company with the reputation of explody vehicles. Look at "Ford Pinto" - it's basically an eponym for "exploding deathtrap".

Even if these new Chinese batteries are of pristine quality, mass-manufactured Chinese goods inarguably have a reputation to combat.
Composable HTML views in Swift
Stop Being Humble and Tell the World How Great You Are
The problems I have with CD's that I don't with Vinyl:

- CD's scratch and then skip easily

- CD's come in horrible plastic covers that break if you look at them wrong.

- Skipping to a certain part of a song is much more difficult with CD's.

- The benefits vinyl provides (large artwork and liner notes/ lyrics, posters etc.) don't all apply to CD's and at that point there's not much/any benefit CD's have over digital.
Com Ed in Illinois only has two types of metering: standard flat rate, and hour-by-hour.

https://hourlypricing.comed.com/

https://www.comed.com/SmartEnergy/SmartMeterSmartGrid/Pages/...
I ask 100 information questions to four digital assistants
I can't think of a single case outside of a systems or game development context (and a number even there) where anything I have written was improved by tightly coupling state mutation to business logic. Not one. Rather than trying to invoke "dogma" so very seriously, feel free to suggest one. But it's a really long row to hoe: if you are conflating state mutation and business logic, you have entire classes of errors that clean separation doesn't and it's harder for you to meaningfully test for correctness. Not firing that gun into your foot seems very obvious.

And functional programming has never encouraged mutation of data model objects. Not at any point. Mutation of data model objects is and can be nothing but a side effect of a function. There are cases where you can't not mutate a model, such as when that refers to a system resource (a console, a socket, etc.); those are not your data model. Those are dependencies that your application uses to create instances of your data model and feed them through a set of functional processes. Almost like there's an imperative shell that deals with and controls side effects, wrapped around a core of pure functions that manage stateless transforms based on your business logic...?

ORMs (in the mutating, own-your-object sense like an Active Record model) shouldn't be a thing because they're awful creations that aggressively they encourage bad, muddy code that's harder to test and trace and debug. Once more for emphasis: the second you mutate a data object you have made testing an order of magnitude more difficult and now you have to live with that forever. Active Record requires this. There are places where you may choose to embrace this, but it's a good way to shoot yourself in the foot.

On the other hand, data mappers (Anorm, DataMapper, Slick) live outside of the cleanly tested, no-dependency core (and its data models) and are used to feed objects into your business logic and record the results back to an external data store.

If you aren't using plain old objects to encapsulate your data, you're asking for it.
While flight industry is booming, almost nothing matters - just keep telling people they can fly cheap. Dozens of aggregators are already doing this.
Note that they are definitely not songs you've never heard before once you've been listening to it weekly for a year or two. After a while, it started suggesting some of the more popular songs by artists that are near the top of my most played artists.
Providing API for building applications that have transactions and help with idempotent producing is really exciting. This will help lower a lot of pains associated with building stream processing systems. Doing it with very little performance overhead is amazing.

I do feel that calling it "Exactly-once delivery with kafka" is slightly misleading as this requires the applications to be written in a certain way. The title makes is sound too general and borders on claiming something that is close to impossible. I dont want to be too critical here as the author was very honest with what this means in the blog post. Regardless of the title this is an amazing feature.
From above

> I'd love to live in a world where women were just equally represented at these things as a matter of course

What is that isn't the natural state? What if 50% of the people that want to do X aren't of gender Z?

How do we decide if we should do more to encourage X to do Z, or realize that Z doesn't WANT to do X, and focus on other issues?
I'm interested to know: do you have any children, and if so, what age? Not that that is the end-all-be-all of knowing how to parent, but comments like "explaining what is right and wrong, he is very unlikely to develop any interest towards 'bad websites'" make me think that you don't have much experience trying to raise children. They test boundaries. They misunderstand morals of stories. They have primal urges. They disregard social customs that they see as irrelevant. I'm constantly explaining right and wrong to my children and they are probably slowly getting it, but it's a process.
Erm, low-end NAND Flash is made in China. Lots of it, but its low-end.

Intel, Micron, Samsung, and Toshiba are making 3d-NAND, which has superior specifications... allowing controllers to read / write them as Triple-Level without very many endurance problems.

And the only locations for 3d-NAND are:

* Japan: http://www.anandtech.com/show/10184/toshiba-to-build-a-new-f...

* (South) Korea: https://www.engadget.com/2013/08/05/samsung-ships-first-3d-v...

* USA: Idaho for Micron's 3D Flash. IIRC they've partnered with Intel... which is primarily Israel and USA as far as manufacturing goes.

---------

Now... name me a Chinese manufacturer of 32-layer (or more) 3D Flash. Toshiba hit 96-layers IIRC.

Hint: You can't. China doesn't make high-end 3d NAND Flash. At all. Maybe they will catch-up in a few years, but at the moment, they are not.
Net Neutrality and Stack Overflow
Growing up, I would revel in all of my father's records. During the summer I'd clean up the floor of his closet where he stored them all. I'd gaze in wonder at the bands that he never deemed worthy enough to buy the CD for.

Much like you, I remember listening to Blood on the Tracks on Saturday mornings playing GameBoy or reading The Hobbit. We'd have Asleep at the Wheel playing during a card-game, or overlaying bad sports commentary.

Fast Forward to High School. I was hired as a retail salesperson at a Mom-And-Pop hot-topic like store at the local mall. Given my somewhat decent taste in music, the shopkeeper let me determine music choice.

So now, as I've had Groove/Zune/Spotify subscriptions going on (basically continuously) for nearly 12 years, I still try to buy at least 15 or so LPs a year. That used to be CDs, but now that I'm an adult with some space, I carved out a section for Vinyl records. They weren't purchased for the different 'warmth', no, they were purchased because I love music and vinyl is one of the purest expressions of that love. It's cumbersome and pretty stupid, but it places the art with prominence and connects your body and actions to the music moreso than any other medium (purely since you have to flip sides every fifteen minutes or so). I like to think back to my saturday's playing GameBoy, and now I gulp down coffee while reading Gaddis or Foreign Affairs as Bob Wills blasts throughthe speakers
While the article was kind of inconclusive, I found the pictures of 'notable people' inside quite amusing. I guess 'a guy in a business suit standing on the side of the road' is a good image for small town mayor.
In Kafka, multiple consumers can recieve multiple partitions. The only thing, from a consumer's perspective, that's special about partitions is that it's the level at which message ordering is guaranteed.

That's exactly the same semantics provided by RocketMQ's "message queues", from what I can tell - except perhaps that these message queues are explicitly subscribed to? If that's the case, you can do that in Kafka too, but it's generally discouraged, as it can lead to performance problems.
4 things the founding fathers can teach us about UX
Not really, you are a Pavlovian animal in every aspect of your life. Everyone is.

That fact is not mutually exclusive to having integrity or living a thoughtful life though.
SGX does it, but it's quite complicated. SME is unauthenticated AFAIK.
The answer to these questions, like most other important questions, is "it depends". Each parent and each child is different. The dynamic of the parent-child relationship, including the relevant hard-baked personality factors, is very important. Kids come more pre-developed than people want to think.
Does Kubernetes support adding "middleware" between it and docker? ie when it comes time to do a container start, it calls my custom plugin instead of docker directly? I read the docs about extensibility and it didn't seem so.
Ah thanks, I haven't used that.
Even if it caps out right where it is... they're retired after not too long
I have a two-year-old, five-year-old, and seven-year-old. All boys. These are my personal opinions.

I find that treating them like people instead of subservient goes a long way. I.e. a bit of latitude in their own life goes a long way. You want them to be able to think for themselves, and my job as a parent is to 1) steer them clear of black holes, 2) help them up when they make a mistake, but not coddle them, and 3) help them find their own path in life, whatever that may be.

To your examples:

Study: some kids like to study, some don't. The best way to ensure they study is to establish a routine. The best way to create a routine is sitting with them while the routine is established.

Religion: Well you have to start somewhere. If you subscribe to religion, teach them. If they go in another direction, support them. In general, explaining the world as you see it to your children goes a long way in shaping their view.

Internet: Yes on parental controls. This just comes down to protecting them, the same as you might watch them as a park. Younger children are much more likely to stumble onto something bad than seeking it out. Parental controls just help that. As they get older, you have less ability to control external influences, so you better hope you did a good job in instilling morality and a sense of independent thought.

Just remember the most important rule, your kids learn from you. You set the example. Be the best you can be around them and they will come out just fine.
Same reason anyone is into anything, I guess. I knew a lady with a salt shaker collection and once saw a guy with a lunch box collection on TV. I suspect if I looked around my house I'd have at least a few things that make people say "why are you keeping that when this is so much better."
Not really. "Exclusionary" venues like this exists for men too.

http://www.aamn.org/events/aamn-2017-annual-conference

https://www.naspa.org/events/2017CCM

http://blackmaledevelopment.com/about-2017-conference/

http://ndeo.org/content.aspx?page_id=22&club_id=893257&modul...

https://stopmalesuicide.com/national-conference/

https://directory.sdes.ucf.edu/article/3757

http://www.malepsychology.org.uk/product/male-psychology-con...

http://www.firstmensconf.org/f/Home.html

http://athomedad.org/convention/

https://www.partnershipfordads.org/fathers-conference/

https://www.fatherhood.gov/about-us/events/18th-annual-new-e...
We don't use CSS Grid, 40% of our users don't support it in their browser. Judging by the five hours this post has been up, I feel like a lot of Hacker News doesn't use it either.

However, when support for it does go up, we're definitely migrating to it. It seems to have a really nice syntax.
Home automation with Raspberry Pi, Node and React
Plus Elon has said he wants about 10 Gigafactory to meet demand. On another note, I would be interested to hear from anyone in the industry about the state of Battery Technology. Keep hearing about the demand for Cobalt and how Congo controls about 60% of the world's cobalt supplies and all the moral issues around mining there. Are there good alternatives to using cobalt in battery construction?

edit: Also curious about the impact of older batteries to the environment. I see all this talk about moving to EV because it's cleaner tech, but is that true if we have a billion batteries sitting in the landfills at some point?
The stuff with serious consequences shouldn't come up often if at all if you've started guiding far enough in advance.

By the time they're in high-school they should know the reason you don't cheat on exams, drive drunk and do weed (varies by state) isn't because you can't do those things but that on the off chance it turns out badly you're gonna get screwed hard enough that the risk isn't worth taking in the first place. Nobody should have to tell them to wear hearing protection around power tools and not get drunk three nights a week because by the time that those things are an issue (high-school/college) they should be familiar enough with the concept of long term wear and tear to draw their own conclusions about what's appropriate.

It's an annoyingly circular definition but good enough guidance removes the need for control.
As long as your child isn't irritating me or my child in a public space I do not care.
Cabin secures $3.3m for its “moving hotel”
I was so confused with `type DefaultPi float64 = 3.141592`... I thought Go had started supporting defining custom default values for types and then interpreting `type` as its default value when used in expressions....
This poster got nothing for all that work

What's your basis for this claim? I can see saying "this poster received no financial compensation for all this work" but that's a different claim. It seems to me that the poster must have received somethingp[1], or they would not have put the effort forth in the first place.

[1]: where "something" could be self-satisfaction, ego-boost, intellectual gratification, or any number of other non-financial rewards.
A good read despite the ridiculous headline.

Colorado is an amazing place.

The article quotes a journalist:

>> “This town is so easily scammed,” says John Hazlehurst, himself a former councilmember and now a columnist with the Colorado Springs Business Journal. “Why? Because we’re hicks. It’s really that simple.”

No, I don't think that's fair. The people are nice, that's all.
So an entire country of 1.3B people, with 8 factories under construction and a dozen or so more announced are going to outproduce one US factory. Okay, why is that news?

Seriously Bloomberg - this is what Elon has been saying publicly since day 1, the entire Tesla vision was built on batteries getting cheaper and more available.

The Gigfactory is important to Tesla not merely because of it's scale, but for the advantages of vertical integration for QC, capacity planning, supply chain stability, etc. The same reason auto manufacturers had their own steel plants back in the early days.
Is the battery industry really going to become a zero-sum game between China and one guy? Shame on western economies for not paying attention to this stuff until the tech becomes dirt cheap (at which point, China is always already dominating).
Really cool story.
The dress is white and gold.
Actually, if you search in Google for site:.feedback you'll see about 45,700 pages of .feedback sites indexed in Google.

They are showing up for many brand searches.

https://www.google.com/search?q=site%3A.feedback&ie=utf-8&oe...
> With the Internet (and little English proficiency), you have the access to the very best material human race created on any given subject.

This is a common belief I hear from people, but it is deeply, deeply flawed.

The Internet mainly has access to the very best promoted material that the human race has created on any given subject.

> and little English proficiency

Of course, it can't be best if it's not in English.
but that implies that content is the only valuable thing, and distribution and hosting are negligible. If anything, it's the other way around - content is abundant and quality distribution is the hard problem. That's the reason the marketing industry is one of the largest around.

If people want to try to make money from their Q&As they can post them on their own site and either charge for access or advertise, but then they'll need to market it to get revenue so then they become like an SE but only for their own content and they'll make very little money anyway. That's basically the position of a professional blogger and very few of those make any real money.
China is fine for quality (see the iPhone).

Its more about a technology thing. China doesn't have as good of an "innovation" economy yet. I think China has made major steps towards innovating in recent years, but they're still behind US / Japan / Germany / Korea.
> Unless you want your site to only be legible to photo editors with some money, you need it to have lots of contrast.

Or we simply fix browsers.

Because if it’s a choice between blinding users on most mobile devices, and most higher end desktop computers, or blinding those who have cheap hardware, most developers will choose by who is actually willing to pay.
The Definitive Startup Pitch Deck Guide
You're probably interested in the Container Runtime Interface [0]

0 - http://blog.kubernetes.io/2016/12/container-runtime-interfac...
> Your claim was not that Google or Apple can update their software at will, it was specifically that Google or Apple can read existing WhatsApp messages that have been already sent (particularly ones that utilize e2e).

Yes, being able to update their software at will enables them to read messages that have been already sent, even with e2e encryption.

> Further, there is the implication in your comment that Android and iOS are less secure than some other format (assumedly a linux or bsd variant desktop OS) for secure messaging.

Endpoint security is a can of worms. There is no simple conclusion to be taken from my comment, except for the literal meaning.
I'm no expert and my kids are still young (one is just about to start school) but I have a philosophy that guides me here.

I don't think you'll get "good" people if they are unable to evaluate decisions and make them independently of you. This means they need to be comfortable doing this, which means they must have practice, i.e. experience with making free decisions. But you want to guide them to the right way to approach it.

If you imagine the ideal behavior you want to inculcate as a function, and the worst-case behavior you want to absolutely prevent, picture these as two functions. Somewhere in the region between these two functions is the kid's actual behavior. You are implicitly creating a region of allowable behaviors between these two functions. If you are a caricature tiger parent, there is no region, just two overlapping functions, and your kid has no experience of autonomy, they are completely unfree, unhappy, and unequipped to handle real life.

On the other hand, a completely absent parent doesn't define those functions at all. The kid is totally unmoored. Sometimes kids in this situation figure things out on their own and feel like they benefited from not having a parent telling them what to do or not to do. But an awful lot of kids from this circumstance do not make it to a successful, free, or happy life. So this can work (I think it probably works better than caricature tiger parenting) but I don't think the odds are that good.

What you need to do is build up the child's ability to make decisions. To do that, they need to experience making decisions and experiencing the repercussions. When they're a baby, they have no control, the functions overlap. When they become an adult, they are mostly on their own (though you should still intervene to prevent disaster). In between the two, you want the region of autonomy between the two functions to grow as they get older and get better at making decisions. So even when they're pretty young, you want to give them some berth. And make sure they trust you to help them, especially with making decisions, which means, telling you something doesn't trigger an intervention automatically.

That's my philosophy in a nutshell.
Yes, they know. I doubt they approve.

Are those at the vigils all vegetarians? I have no idea.
Dear hacker news:

1. Please read the section entitled "Is this Magical Pixie Dust I can sprinkle on my app?" Before making angry comments. Answer: for general consumer apps just consuming messages, no. However, Kafka's design, which let's the consumer control it's position in the log, combined with this feature which eliminates duplicates in the log make building end-to-end exactly once messaging using the consumer quite approachable. For stream processing using Kafka's Streams API (https://www.confluent.io/blog/introducing-kafka-streams-stre...), where you are taking input streams, maintaining state, and producing output streams, the answer is that it actually kind of is like magic pixie dust, you change a single config and get exactly-once processing semantics on arbitrary code. Obviously you still need to get the resulting data our of Kafka, but when combined with any off-the-shelf Kafka connector which maintains exactly-once you can get this for free. So for that style of app design you actually can get correct results end-to-end without needing to do any of the hard stuff.

2. Someone is going to come and say "FLP means that exactly once messaging is impossible!" or something else from a half-understood tidbit of distributed systems theory they picked up on a blog. Let me preempt that. FLP is about the impossibility of consensus in a fully asynchronous setting (e.g. no timeout-based failure detection). Of course as you know the vast majority of the systems you use in AWS or your own datacenter depend in deep ways on consensus. Kafka itself is a CP log, about as close of a direct analog to consensus as you could ask for. Obviously Kafka and all these systems are "impossible" in the same sense that if you can make the network or other latency issue bad enough you can make the system unavailable for writes. This feature doesn't change that at all, it just piggybacks on the existing consensus Kafka does. It doesn't violate any theorems in distributed systems theory: Kafka and any consensus-based system can't work in a fully asynchronous setting, Kafka was a CP system in the CAP sense prior to this feature and this feature doesn't change that guarantee.

For those who want a deeper dive into how it all works there is a longer write up on the design here:
https://cwiki.apache.org/confluence/display/KAFKA/KIP-98+-+E...
The use for stream processing is described here:
https://cwiki.apache.org/confluence/display/KAFKA/KIP-129%3A...