skysight-inc/HackerNews huggingface dataset:
Hey all HNers that might be wanting to stop drinking, or have trouble staying sober even though you try!

The community in https://reddit.com/r/stopdrinking is amazing and keeps me and many others on a sober path.

I've soon been sober for a year, and I was on a very destructive path. Would never have kept at it without that sub.

Here's how it helped me:

1. In the beginning I was hurting and feeling really isolated - posting semi-regular helped me vent and people with more sobriety under their belt gave support directly.

2. When I've been to occasions (weddings, birthday parties) that include drinking, I've been able to jump into the chat and find instant support telling me to not have the first drink.

3. There's a daily check-in where you post to pledge today's sobriety. In the beginning I pledged each day.

4. I have a badge by my name that keeps track of each day I've been sober. Having to reset that to zero is more motivating than you might believe at first.

5. I now comment on other users posts, trying to keep their mood up and push them to not drink by giving them support.

Also, the community and mods are superb, kind people.
Use React.lazy and Suspense to Code-Split Your App
It used to be acceptable and widespread to drink at lunch in white collar jobs, too.
> Anything less than ‘real programming’ is now considered trivial, silly, artsy, female.

I am a very strong supporter of feminism, but this kind of reasoning needs to stop.

The idea of "as a man you're biased from your position of power, therefore your opinion is invalid/worthless" means that the opinion of any men can be shut off automatically just by finding a gender twist on any debate. It's incredibly condescending, and frustrating, since any rebuttal you might try will be dismissed as your inability to see the other side, no matter how tenuous the connection to gender is. I would even go as far as to say that it's a mirror of the old "these are men things, as a woman you wouldn't understand" that was sadly common in the past.

While I'm very happy to see women empowered and their perspective being taken into account more and more, I'm also worried about the rise of any system that leads to the opinion of a group not being listened to. That is never good, period.

And to be clear, I'm not equating the current trend of dismissing male ideas to the suffering of women under patriarchic societies. Just pointing out a worrying development.
This is great! I think you're offering too much content for free and not enough features for the paid version - once I have built a basic page with your builder and exported it it's not too difficult to quickly tweak to implement most of your paid content.

I would also be more inclined to pay if you had multiple export options, e.g. pure html/css, different templating languages, scss, sass, react etc. Then I could see myself using this in every project going forward for sure. You could also expand into hosting directly and collecting leads.

I created a page, then clicked purchase and lost all my content, which was kind of annoying.

Setting up a bootstrap home page is surprisingly involved so this is really neat!
As someone who does sports professionally, I highly recommend talking to dietitian and doing specialized medical examination before doing any diets or taking food supplements.

Just consuming more protein does not mean "weight loss" or "more muscles" because extra protein will be converted to glucose thanks to gluconeogenesis and then some of it will convert to fat. Too much protein could also lead to kidney/liver issues as well as atherosclerosis or other health conditions.

When you work out regularly or semi-professionally you will grow muscle mass that will lead to weight loss: workout -> more muscle mass -> more energy consumption -> weight loss.

Last but not least, not all protein created equal: you also have to balance animal and plant protein. There're also slow and fast digested proteins (casein/whey).

As they say, do not try this at home and talk to your doctor.
I won't argue here :) We'll just add it after deployment of components' settings in the next week (see one of my comments below).
What's the difference between enough and optimal in this context? What results would each level produce?
What will happen to my todos should you go out of business?
Is there any exporting possible?
Nobody is conflating anything. Culture / sociological issues that happen to frequently co-occur with technology X are valid criticisms of technology X and reasons to avoid it.

To argue otherwise, and draw attention away from the real source of the policy problems (that the monorepo enables the problems) is a bigger problem. It’s definitely some variant of a No True Scotsman fallacy: “no _real_ monorepo implementation would have problems like A, B, C...”.

The practical matter is that where monorepos exist, monopolicies and draconian limitations soon follow. It’s not due to some first principles philosophical property of monorepos vs polyrepos — who cares! — but it’s still just the pragmatic result.

Also you mention,

> “Where was the conversation about whether GPU accelerated ML jobs were worth the additional business value to change the deployment pipeline.”

but this was explicitly part of the product roadmap, where my team submitted budgets for the GPU machines, we used known latency and throughput specs both from internal traffic data and other reference implementations of similar live ML models. Budgeting and planning to know that it was cost effective to run on GPU nodes was done way in advance.

The people responsible for killing the project actually did not raise any concern about the cost at all (and in fact they did not have enough expertise in the area of deploying neural network models to be able to say anything about the relative merit of our design or deployment plan).

Instead the decision was purely a policy decision: the code in the monorepo that was used for serving compute tasks just as a matter of policy was not allowed to change to accommodate new ways of doing things. The manager of that team compared it with having language limitations in a monorepo. In his mind, “wanting to deploy using custom Docker containers” was like saying “I don’t want to use a supported language for my next project.”

This type of innovation-killing monopolicy is very unique to monorepos.
I think you're being overly-generous towards a nonsensical claim.

Attributing "gender bias" here is stupid and harmful. I'm repeatedly astounded that these people are taken seriously.

It's charlatanry.
Scale and Pencil Best Leading Architects in Kochi, Ernakulam, Kerala, Cochin
Scale & Pencil a pioneer in leading-edge architectural & interior designing services with best leading architects in kochi (cochin) and interior designers in ernakulam, kerala.
visit more @ http://www.scaleandpencil.com/
5 Important Things to Consider When Designing a New Product
The early days of web development up to roughly the end of the 1990s technically were full stack. It's just nobody called it that at the time.

It's only by the early 2000s and the advent of architecturally complex, heavily back-end-leaning frameworks such as J2EE or JSP that front-end and back-end diverged. These frameworks had their benefit compared with the fast-and-loose way web apps often were developed before but they also introduced new problems.

Apart from inherent architectural issues these frameworks introduced a new crop of developers to web development that was at least somewhat averse towards how front-end development is done on the web. To this day, I still know developers who loathe JavaScript, CSS and HTML because "they're not the proper way of doing things".

Furthermore, with traditional desktop applications you also usually have a full stack attitude, although again it isn't called "full stack" in that case. Desktop application developers are typically expected to be able to write both UI code as well as business logic and database access code. Probably that's because with desktop applications there's usually only a single language you're dealing with.
There is a perception of front end/user experience being easier than logic programming, in the same way that STEM degrees are considered harder/superior to other degrees. The implication of trivial -> female is quite unwarranted and unjustified IMO.
Money with no real privacy is not money, it's a tool of oppression. Any state actor, warlord or a powerful entity can enforce their will if the ledger can be visibly connected to real people. Making you a slave to any system they want to create. A person with no real freedom. Taking into consideration the totalitarian direction world is headed (US, China, etc.), I don't see how having more transparent form of money is a good thing for the ordinary people.
He's not a frontend developer, he's a designer, who happens to do a bit of javascript. That's fine, but it obviously colored what he thinks about full-stack developers, and frankly it's a load of bull.

First the idea that the term fullstack is somehow a capitalist conspiracy to maximize profits over the poor developer is beyond misguided. Fullstack development came to be because of the rising popularity of SPAs and the shifting of what was once strictly backend development into client side (templates, routing, etc...).

Not all code is the same, but the separation to backend and frontend is artificial - MVC in js or in C# is the same no matter what language you write it in.

I'm a proud full-stacker and would hate to work in an organization the article paints as paradise - a place where I'll have to wait for someone to write my web-services or for the DBA to add a column to a database. In fact it is that enterprise way of thinking that made me, and I think many people, prefer fullstack work.

To me full-stack is about accountability, it's about not having someone else become a bottleneck to a feature you are in charge of, it's about the ability to see a feature from start to finish and make it the way you, as the one who actually works on it, think it should be.
That's what I meant in my question with "share code by other means". It works but in my opinion it is a large pain and I can't believe people at Google work by sending patches back and forth.
Product Manager Job in New York
> what happens once the ruler is gone

Well, in the case of Singapore, his son takes over [1]. Interestingly (for the HN crowd) he knows C++ and iirc from an old thread about the current PM, Haskell.

[1] https://en.wikipedia.org/wiki/Lee_Hsien_Loong
A great article. One of the prime examples of the disdain that mainstream mathematicians had for "Hungarian" style mathematics is the fact that Szemeredi did not get the Fields medal (apparently Erdos was very angry at this), despite the fact that a lot of deep mathematics, at least two Fields medals (Gowers and Tao), a Wolf prize (Furstenberg) have later resulted from Szemeredi's work.

After the wider acceptance of combinatorics, Szemeredi was awarded the Abel Prize.

Another area of mathematics generally ignored by mathematicans is mathematical logic. I've often heard an opinion is that it is not really "relevant" to general mathematical practice.
Fyodor Dostoevsky Notes from Underground [pdf]
Why are you assuming Singapore is truly well run? Dictators lie their asses off about quality of life and paper over problems with violence. Just wealth isn't a reason - Saudi Arabia is wealthy but sure as hell not well run.
Completely agree! Patreon misses the point of Patreon.

I guess people are more likely to become patrons if there's some reward, and Patreon wants to encourage growth. But in doing so they are creating an environment where there's an expectation that we, the creators, spend precious time making special, walled-off content when the whole point of my needing Patreon is because my content is free. Besides the irony of the situation, I'm too busy also making content for other social media in order to promote my work. Please make it stop!
And over time, what was an O(n) emission rate becomes O(n!)
The problem is, the "correct" way to set up your side mirrors involves adjusting them so that you can't see the side of your own car without craning your neck. This, in turn, means that your mirrors might not be where you left them. If someone bumps your mirror in a parking lot, you may not notice that you now have a sizable blind spot close to your car.

So I usually compromise by keeping a small sliver of the car visible in the mirrors and turning my head at least slightly when I use them. I think that's probably the way to optimize for real-world safety.

Another pet peeve is a feature my own car has, which is an auto-dimming function that's intended to cut down on glare from nearby headlights. If I turn that on, the side mirrors get so dark that I can't see cars that don't have their headlights on, which is all too common near dusk around here. Extremely dangerous implementation of an otherwise helpful feature. One of these days I'm going to open up the mirror housings and clip the appropriate wires, since I really only want the interior mirror to adjust itself.
https://www.wired.com/1993/04/gibson-2/

Old but good essay by William Gibson on his trip to Singapore in the 90s. "Disneyland with the Death Penalty". An interesting read and relevant to this.
Absolutely agreed, we need more empathy and less stuff in our lives.
The following definitions make sense to me: it's a tactical game if the outcome merely determines how many resources the player will have in the next round, and it's a strategic game if failure means there won't be a next round.

More generally, the problem with defining "tactic" and "strategy" smells like a case of false assumptions: they're orthogonal, not opposite.
Game developers should start using more Rust.
Qualcomm patent dispute forces Apple to pull iPhone 7 and 8 n Germany
Create a carbon cycle similar to the water cycle then?
When you run whatever OS inside a VM, chances are that they are not using any GPU you have available in the host (unless you spent your time with making vfio work). Instead, they are using emulated graphics, which isn't exactly high performance with any guest os.

Anyway, the important thing to achieve performance inside VM is storage, not graphics. If your VM is stored inside a file on the host filesystem, it is going to be way slower compared to VM using dedicated partition, lv or physical disk passed through. The effect is the same, as using classic HDD vs SSD in your host.
Great article. I think what we're really seeing here is the end of web development as a craft. It's turning into assembly line and "inefficiencies" like having people specialize in different things is no longer (financially) viable, so it's been done away with. It's unfortunate, I miss the craft.
The Robinhood app is a very nice-looking way to go broke
I have snarked before the best way to get rid of dictatorship brigades with a minimum of effort is to start posting references to their Tiananmen Squares - very awkward facts they don't want disseminated and may have auto-blocked.
There is actually no scientific proof for the claim that too much protein can harm the kidneys or liver. The science that created that myth was badly flawed.

Edit: see https://examine.com/nutrition/can-eating-too-much-protein-be... for a nice write up including sources
The real deal is over there: https://ss64.com/
For a practical (if dangerous!) example, see supersonic rounds: if one is shot towards you, you hear the bullet whizzing by before you hear the gunshot.
A benevolent (and in some cases not even benevolent) dictatorship has historically accomplished more for a country in a shorter amount of time than a democracy, but it requires the right combination of exceedingly rare qualities in a leader and everybody dies eventually.
Custom Software Development Company – SISAR BV
Not anymore! Webpack 4 is ~"zero-config"!
By "you" you're referring to icab's developer and not me, right?

Firefox focus is the only third party browser I know of that has a native content blocker.
IT Consulting and Custom Software Development Company
If someone is working out regularly but not over the top strenuously, but feels sore the next day every time, the first course is to increase protein.
When you face life-or-death scenarios everyday as a startup founder.

Not a single startup was killed by software bugs or design faults. Never. Many other things do.
I go through the minor pain of using my iPad Pro with Working Copy, Textastic, etc. when travelling light, but my MacBook is the same weight and size as my iPad Pro so sometimes I take that.

I tend to do all creative (writing) workflow, reading books, and almost all web browsing on my iPad and just do development on a laptop. This makes me want to travel with both.

For iPad native hacking, the Haskell Raskell app is very nice, but I only use that for short bits of new code. Pythonista is a very good product, and I appreciate it, but I don’t much like Python.
2 Ways to Design Your Next Signup Flow
It's actually really easy to create a "patch", so people usually create small "patches" and send them to people if they need any feedback on those.

A "patch" is actually just a commit (actually a changelist) which can be viewed, commented and edited in the browser based code review and IDE tool.

Imho I find it much easier to get an url of a "patch" and comment on it inline, instead of having to checkout a branch etc.

If you have a question to a specific example I'm happy to answer it in the way it would've been done within Google/Facebook.
I wrote a longer justification for this in the introduction of the second book, but the short version is exactly what you wrote: they're easier to build. Since since the goal of the book(s) is not to show how to build production-ready, industrial-grade interpreters, but rather to learn and to understand, that was a good enough reason for me.
A lot of things can go wrong for pretty much any significant technology.

Those technologies do require caution, and control, but I think this is still a good step forward, even if it ends up being unusable as is for whatever yet unforeseen reason.
> I can't vouch for its quality

The quality of the EPUB is terrible, it looks like it was OCR'd from images of the pages, not just converted from PDF.

Can you make the source format for the book available?
When I was younger mortality seemed like a far off concern, and the equanimity with which my parents and grandparents faced aging was a great example. Now I'm older and have children of my own, I can more clearly see the responsibility that comes with that. They deserve better than having to deal with a parent that's consumed by bitterness and disappointment about lost opportunities and the transitory nature of life.
"A team of full stack devs tend towards whatever they fancy when handing out JIRAs, and the separation is still usually front or back-end. It becomes an unofficial silo anyway. The full stack advantage is for sudden departures: the project doesn't completely stop because people can fill in with mediocre code. A disadvantage is that you don't have specialists and risk more technical debt that can't be enforced by linters/testing."

The idea of fullstack isn't that you have no preference at all between backend or frontend, but that you can do both. Much like a backend developer could specialize in certain areas, so can a full-stack one.

"he key evidence to me that full stack is mostly BS is that it only crops up in web roles. Outside of web dev, people are still silo'd -- security people and systems developers aren't pulled off-task to go work on the company website. We're completely fine accepting their responsibilities in terms of the product. If you're a front or back-end web dev though, there's this constant pressure of "why haven't you learned to full stack yet?"

The term is defined by web technologies. In other areas we have different names - devops is a similar merging of separate roles (At least in some interpretations of the loaded term).

I've been in orgs where the job of the DBA was left for developers. In many IOT companies the hardware guys also do low level software. Game development in smaller shops tend to mix tons of roles into a single person.

Just because we don't have a name for it doesn't mean it doesn't exist.
Nowcasting of Population Alcohol-Related Harms Using Bayesian Timeseries Methods
> Furthermore, with traditional desktop applications you also usually have a full stack attitude, although again it isn't called "full stack" in that case. Desktop application developers are typically expected to be able to write both UI code as well as business logic and database access code.

Many GUI applications are actually based on a client-server pattern that mirrors the "front-end" v. "back-end" distinction. Often the "server" is a separate CLI app, or even a daemon/service with no interaction with the rest of the system other than via the platform IPC (COM, DBus, whatever).

Consider the traditional large-scale "pattern" of desktop apps, viz. Model-View-Controller. The Model is back-end, the View-Controller pair (which is often tightly coupled anyway) is front-end.
How can the protein obsession be called new when I remember it being all the rage in the early 2000s? I’ve been hearing constantly about Atkins like diets since that time.
Writing code for ML Research
I tried eating a meat-only diet for a few months, and have mostly continued with some veg added. What I've found is that this is the most satiating diet I've ever tried after five decades of trying. I've also done a lot of high fat paleo, so I'm sure that for me the satiating element is the protein. I've also been a raw vegan and about everything else in between.

Protein fills me up and makes me stop eating far faster than the other macro nutrients. So I'm not worried about getting too much. Unlike with say low quality carbs, high quality proteins are self limiting. My body just tells me no more! If I want to know if I'm genuinely hungry I just ask myself if I want some meat. If not, I'm not.

IMHO, after a lifetime of mostly failed experimentation, (for those of us who can afford it) putting high quality high protein foods at the center of your diet is the most effective way to control and reverse obesity.
Right now, this is more of a proof of concept than anything... I wanted to see if it's really possible to use Puppeteer like this to capture CSS usage, get some real user feedback on how to proceed.

Totally open to suggestions. I guess in a perfect world, you could eventually use this to totally capture all of the CSS you use on a single page and reduce it if you were just doing a single launch-type page and working with Bootstrap. In more complicated cases, the goal is to provide just the basic CSS your site needs to render quickly, then allow you to defer the rest.

The next thing on my ToDo list is to try to capture CSS usage at all the standard breakpoints and combine that into a single "critical path" css file
Mostly negative experiences:

1) While writing up the goals, you don't have a full view of the problem. Goals change, but once written down, there is a strong pressure to implement what has been written down.

2) It selects for people who are good at writing convincing design docs. Often these people write sub-optimal code and the designs only look good on paper.

Actually, the products (aside from search+ads) that come out of Google look exactly like the have been produced using this methodology; and that's not a good thing.
Show HN: Create useful .gitignore files for your project
Thats good advice, usually. But there are doctors out there pushing questionable food practices. Foods a huge industry with many snake oil salesmen/women.