skysight-inc/HackerNews huggingface dataset:
The big problem I've had with Haskell is that even after gaining a pretty good understanding of the language (including monads and such) I still can't fathom how to do anything real with it.

Exercises are great and all, but once I try to go past exercises, I start getting lost in layers of monad transformers, and I struggle to figure out the "right" way to do anything. It just feels like there are all these layers of abstraction and complexity that are required for even simple applications, and I can't seem to reach the point where it all clicks for me and becomes manageable.

Reading the TOC and chapter notes for that book, I'm not convinced it'll help me. Even the "final project" at the end of the book is described as "a little weird, but small". I don't need more weird, small examples, I need a full-fledged application! I've tried picking out random Haskell OSS apps and studying them, but without newbie-friendly documentation to walk me through the code, I find it very hard to follow what's happening....
Interview with Lithium-Ion Battery Inventor John B. Goodenough
Agreed with this 100%, reading the source code of well documented libraries is highly valuable. I feel that personally it helps be better understand the internals and what I can leverage. The documentation in Spring's source is really great, along with their reference docs online.

I've had similar experiences with SO being out of date or kind of poor - when I run across those I have been trying to add a newer answer (I do a lot of Spring so I run across this a lot).
Well yeah, but with that list you could easily have just a caper bean salad without the banana, or maybe spaghetti with the sundried tomato, capers, and garlic.

Maybe part of the problem is a lot of people aren't going to think of putting in basics? Maybe it should also show recipes that just need a basic you might have forgotten to list. Like, maybe it did have a spaghetti with sundried tomato and garlic recipe but it requires olive oil or butter.

That makes the logic a lot more complicated though. Maybe if you could define a list of basics you always have in the house, like olive oil, butter, basic dried seasonings, etc. It would have to be customizable though, because some people might always have milk in the house and others might never (same with olive oil or any other thing).
You're right — this is a terrible analogy from a customer perspective. I only ever use it if pressed by a VC who wants to know how our business model will work. There aren't many tech (non-biotech) that get most of their revenue from licensing, so Dolby it is. But the analogy only "works" in the context of a discussion about business models.
It's easy to miss the explanation there. Everything tops in the working hours, the article is about the relative size of those tops.
Mac Exodus Over?
Thanks, I know that distributed storage is hard, that's why I would be ok if K8s could just work with something like docker compose volumes on local storage and copy them between servers if needed.
>On the other hand I've encountered folks who claim to be forming a start up. They've got the name and the logo. They've got the whole pitch ready. They sound enthusiastic and passionate. But... they still have to find a technical person to actually build it. They basically have nothing.

These people are usually imposters who are asking for things that are totally unrealistic or generating interest for a concept that doesn't make any sense from a technical perspective. They have an idea and assume it can be done.

It's sort of like saying "Let's build a perpetual motion machine." Everyone is really interested in it, because it's a total fantasy. If the idea is practical, it's usually not hard to find someone who will implement it.

As a technical person, you know the limits. That means that when you go out and sell people or kick up interest, it will be for something that's at least plausible.

The frank truth is that software and technical work is relatively cheap. It cannot be the basis of your business because someone can come in and clone your product after you've done the hard work of introducing an innovative product and establishing/educating the market (I know because this happened to my business).

It doesn't matter if the clone is way worse than your product, because people are only looking at the very high level. If the clone can provide the basic functionality 20% of the time as opposed to your 99% of the time, if combined with substantive marketing, that's more than enough to win. Anyone who has done any amount of product research knows that the good products are almost never the most common ones.

Your brand, reputation, and intellectual property are 100x more valuable than any software or technical feat. Consider that Google and Facebook could lock 4 engineers in a closet for a year and come out with almost any software they wanted for around $1 million.

Ask yourself why, then, they pay $1B+ for companies like Whatsapp and Instagram. It's certainly not because it's too complex to figure out photo sharing or text messaging. They want the brand and the users that come with it, and it's that simple. The one thing that is most expensive in business is user attention and loyalty.

There are many apps that dominated app stores and were probably hopeful that they would be bought by Google/Apple and achieve fame and fortune, only to find that in the next iteration of the OS, they had been "NetScaped"; their core functionality baked into the OS either as an extension of an existing app (many souped-up camera and photo effects apps) or as a new bundled app (e.g., Keep).

The most important thing for tech entrepreneurs to understand is that while the technology is important and can give an edge, it is not the main value in your business. The main value will always be the brand and the users that come with it (and, as intimated above, beware of platform vendors, because they will always have the option to divert most of your user base to a first-party clone). Technology is comparatively cheap.
As always, I would prefer more focus on training your own models rather than running prebaked ones.
[...] choosing the least recently used (LRU) is an obvious choice, since you’re more likely to use something if you’ve used it recently.

There are many other cache replacement policies [1] and they can outperform LRU especially if the quoted assumption is not true. It is for example quite common to have two types of data, one is frequently reused over very long periods, the other is reused over short periods after the first use. In those cases a more complex policy like ARC or CAR can provide noticeable improvements.

[1] https://en.wikipedia.org/wiki/Cache_replacement_policies
In most developed nations it is not a requirement to eat meat to survive, or even to be healthy. We are not physically limited in being unable to stop consuming meat in the way someone in the '60s is limited in being unable to use a cell phone.
Yes! I didn't make the connection having not read the book, but The E-Myth is another bit of advice that the same friend is always touting.

Thanks for the links, I may actually get around to reading this one soon.
Shopify/semian: Resiliency toolkit for Ruby for failing fast
Show HN: Nothing to say, a gnome shell extension to keep your microphone muted
Fixed. Thanks for letting me know!
> Would it even hurt sales at all?

Of course it would. What is the consumer benefit derived from the collection of this data?
Yup. If this were my work account (or an account I use for work), I'd go in person to IT security and also to our legal counsel, say "Hey, this law firm contacted me because they think that the government has stolen my email password, should I work with them," and follow their advice. And I'd expect "Yes, we know them, they're good folks" to be a potential answer.
I'm not the parent, but here's what I'd do (and, indeed, have done):

Read the manual: https://www.gnu.org/software/bash/manual/bash.html

Just sit down one weekend, and read it from beginning to end. The information contained therein is just about exhaustive.

Assuming you touch bash scripts daily (as I do), there's really little excuse for not mastering the language. Referring to SO every time you stumble into an issue is inefficient compared to the one time cost of actually developing working knowledge of the subject at hand, and it also limits you to the canned solutions that a bunch of random people on the internet have proposed. I'd bet my money on you being more capable than a random stranger -- assuming you've read up first.

When I was at an earlier stage in my career, I'd hit up SO every time I ran into an issue. And then I had the realization that I could just read up on:

* The spec for your language(s)

* The source code for the compiler and/or VMs that power your language(s)

* The manual for the software you use

* The RFCs that apply to you

* Both the public API and the internal source code of the libraries you use

* Etc
Agreed. The advice should be.

1) Build an MVP, and get it to beta.
2) _Then_ get customers to try it out (give them an incentive, such as giving it to them for free). This works well with individuals, or small businesses. Larger company's won't give you the time of day, and you probably want to wait until you have some sort of following before you approach them; or you'll get squashed.
3) Get feedback.
4) Repeat steps 2/3 until your out of beta.
I haven't downloaded the app, does that mean that I was not "spied" on? Is there any indication that Bose could collect data w/o use of the app?
Always when I read "may hurt your career" I think: what career? Do I even have one? Do I even want one?

But I guess I might misunderstand the term anyway.
5 Crucial Roles in Every Successful Tech Startup
List of websites to practice penetration testing
If they're smart they have a model of how they expect a post to behave given who they've shown it to, and show posts more/less widely based on whether it's over/underperforming their prediction.
And also happen to employ Simon Peyton Jones and Simon Marlow, respectively, two of the originators of the GHC project.
You don't pay taxes working from home?

I suspect there's no "occupational privilege tax" if you're working from home.

I live in the suburbs and work in the city and for the privilege of having a job, I have to pay the city money.
How would providing third parties with the information on what I'm listening to improve the headphones?
Who Needs Git When You Got ZFS? (2013)
I have a few! One mildly churlish one -- I was at a SaaS event way back and got asked how you know you have traction. My (rather uncharitable) answer was "you stop showing up at events like this".

Traction is really when the business starts driving you rather than vice-versa.

I suspect the reality is every SaaS startup out there will have a different metric or moment of realization. Could be a pulling in a big customer, or a piece of content marketing that really hits home. If I really had to hone in on just one, it's cash.

If you've got a business that's getting by -- If you're charging monthly, I'd ask how many customers you can get to commit to annual payments. If people are paying $100 month, I'd ask how you double it. If your sales cycle averages to a month, I'd wonder if it can be a week.

My dataset of successes is limited, but plenty of misses The meta-point is that it's really obvious when it hits. It's obvious when it misses.

The tough calls are when it's just creeping along. Doesn't mean it is a bad idea, just that you need to keep iterating -- your marketing, features, onboarding, whatever you can.

Good luck!
>If you need an office, a man-cave, a vacation house on Hawaii, a one-man island, New York during rush hour, noise of Barcelona center, ... to get into the flow, by all means do it!

The problem is, many people can't afford to set up an ideal working environment for themselves if they need one of the quieter venues. A one-man island obviously is unattainable for almost anyone, a vacation house on Hawaii is unaffordable to all but multi-millionaires, and even a decent house with a separate, quiet room is unattainable for many because of family or roommates.
...Whereas underhandedly surveilling people who are naive enough to buy a product from you and then profiting from the fruits of one's panty-sniffing is a brilliant one?
I might be wrong since I don't know what the economy in Australia is like, but it is VERY unlikely for someone in the US to have $150k in savings and yet not own a home. In fact the opposite does happen a lot: all of a person's equity is in their house, and they have $0 in savings. But then they sell their house, move to a cheaper house and used the difference to make ends meet.
Wunderlist is now Microsoft To-Do
The New Brain Behind the Whiteboards–and More–for HBO’s Silicon Valley
IANAL, but that language does not seem to permit selling of the data to third parties.
I can totally see myself in this place 20-ish years ago.
Since the headphones only have bluetooth available, it's hard to imagine it transporting the information anywhere without the application, even if the headset still aggregates information.
Good comment. Facebook also copied snapcaht entirely I believe it was called slingshot.
In the given example the benefit is stated as lower prices.
Facebook’s first VR app surprises, lets us collaborate and be juvenile
Big money, big ego, big bills: how to get divorced Silicon Valley style
I use it rarely for questions, although I'm a big contributor to electronics.SO. 27k rep, #12 contributor this year. Much smaller community with even more brutal moderation.

Mostly I do Windows/MFC/C++ or embedded stuff these days, for which MSDN is sometimes more useful than SO (although unacceptably slow page load times!). Occasionally there is something with a search resistant name or where the usage examples don't help for which I need to go to SO.

For Windows CE, there is almost no user community. If the docs don't help and the (extremely fragmented) source doesn't help there's no option other than to give up or break out the debugger and reverse-engineer things. I found a bug in Microsoft's "structured exception handling" this way.

It's a lot more useful for C#, which I'm less experienced with.
I was only trying to learn it because a take home coding assignment for an interview asked to use maven for its build process. I found the whole experience (using maven) disheartening while I was able to code up the assignment using maven and my inexperience with it cost me going to the second round. I have only myself to blame though.
Ask HN: How Hacker News post are ranked?
Totally agree, almost to the word and the timings. Am not a remote worker though, but my own online programming business, so is always that nag "there is something I should be doing instead to progress the business"
One thing I've realized over 20 years is that while development is what I like, am reasonably good at, and do fine from home, people skills and general smoothing out of things in the office is what the companies have valued me for. I notice when things are going off the rails or nowhere via email and chat, miscommunications, bickering, silly politics, etc. I can't stand that stuff and usually a little face-to-face time helps immensely to straighten it out. All of my bosses have commented on this as a thing they see as a strength.

For various life reasons I've strongly considered fully remote positions recently but am concerned that I'd neutralize my most valued job skill in the process. To that end I've managed to swing at least a partial WFH arrangement.
Predicting Churn Without Machine Learning
You are correct to point those cases out, and I am aware of them. It was also outrageous to infiltrate the MLK movement. Not to downplay those cases, but there is a distinction between these cases with the FBI and the current case with London police: The London police is a local enforcement agency. When local police forces start actively hacking citizens there is a different kind of danger than when a federal agency does so, mainly because they have different enforcement interests and powers. When a local enforcement agency begins to spy and hack, that is a new level of harassment and violation of civil liberties.
That depends on the definition of well being, good and utility. Will you save whole ecosystems? Who gets the axe, insects? Which and how many?

Essentially the argument is problematic due to lack of omniscience. The typical solution to this is to adopt a stable yet flexible enough strategy (also known as a robust solution).
It is almost never too simple a strategy if you start from a complex optimization problem like this.

(Compare expectation maximization to robust decision making. Or maximin to minimax to simple optimization approaches. None win.)

Currently there is no algorithm for solving general decision problems on a global scale. Even genetic algorithms (constrained innovation and permutation) can and do produce solutions too late to matter, especially when selective pressure is low.
Human intelligence easily gets caught in local maxima too, not to mention its fallibility.
(I'd call it lossy heuristic approach with memory. Heuristics are transmitted over generations in a strongly lossy way both in number and count. New ones take the place of the old ones with only relatively low bar of improvement to pass. Actor attempts to reconstruct the heuristic by observing behaviour of other actors given its capabilities.)
I have a friend with a ADHD 7-year-old. There's no way this would ever work with that kid: you can tell him over and over to stop bouncing a ball around and he'll just do it again in a couple of minutes. Expecting him to not bother you for hours at a time is a pipe dream.
Yes there are such things as social problems, and the keeping the peace (which is the government's responsibility) entails addressing them. Sometimes keeping the peace will even entail looking after other people's children. For example, children evacuated from London in WW2.

But problems are solved by individuals. So part of the gauge of the strength of a society is how receptive it is to knowledge originating in the minds of rare individuals. Does it protect them? Or does it shut them down with censorship, disemployment and so on?

It's vital that people realise that they are not responsible for the fall of every sparrow, lest they be burdened with undue guilt. Their minds are then at least capable of remaining free and creative.
Understand basic accounting. At least the difference between profit and cost centers. Be the former.
Benefits of using Tmux and Vim together
But then, say you come a long with a new company going public... you're not large enough to be in the S&P 500, so if everyone only invests in S&P 500 index funds, no one will buy your stock.
Similarly, if you're Apple (the largest company), and you have a really bad quarter, say you lose $100B, no one would sell your shares, because they're passive investors.

Obviously, these are edge cases (we'll never be 100% passive), but there is some concern that there will be a lock-in effect for companies currently in the S&P... It will be harder to grow if you're not in it, and it'll be harder to fail if you are.
Workplace culture should be measured, just like sales or ROI
> There are many other cache replacement policies [1] and they can outperform LRU especially

The article is about CPU caches so speed and memory usage are very critical.

One of the main benefit of LRU is that it only needs one extra bit per cache line.
I also don't use SO that much, I never have. Maybe I google a few things once in a while and sometimes I stumble upon a StackOverflow page, but never to actually solve errors. It's usually to get a bit more insight out of curiosity.

Professionally, I work at Google and internally we have an extensive corpus of knowledge for various problems and programming patterns that really are tied to in-house technologies that don't really exist outside of the company. That's mostly the #1 reason why I almost never stumble upon SO.

> 1. What your programming set up is.

I code in Python, Bash, Haskell and sometimes Go. Plus a couple of internal languages that aren't really interesting (mostly config languages). I write code with vim and manage my project with tmux sessions.

> 2. What you do when there is an issue?

I look at the logs, look at the code, I look internally for any resources we might have, I spend some time trying to figure out what is going on and usually that takes care of 90% of the problems. If that is not the case, then depending on the type of problem (is it an internal library? is it something externally available?) I either ask on the internal IRC for specific teams in charge of that platform, or I go to the external internet in search for help. Most of the time, if that is the case, the situation is so specific that I can't really find an relevant answer on SO so I more often than not just end up in a #freenode channel for that library/language and directly ask questions to the interested people.
The problem is that they could do some damage to the user even in perfect good faith. Just think about someone who listens music at unusually high levels or with channels heavily unbalanced compared to someone with normal hearing abilities. That innocuous information if leaked could hurt the user insurance or job opportunities.

I have no idea if their app collects this information too, but it's just a matter of time before someone becomes interested to it as it happens with any kind of data that can be used to profile people.
Fidelity offers commission free trades on both their ETFs as well as iShares ETFs. If you're only indexing that's all you need.

They also have a crap ton of commission free mutual funds, IIRC.
Taking every good idea and combining them is not always a good idea.
IMO, if it's something that I'm asking a coworker about, SO isn't going to have an easy (or correct) answer.

For example, I am attempting to use a namespaced library installed with Pip in my Lambda function. It doesn't work - can't import the library. Google gives a bunch of noise. SO gives a bunch of noise.

The solution? Asked a coworker, got an answer back immediately. Import the 'site' package, and set up the current working directory as a site directory. This makes the library .pth files work properly.
"Two investors in Juicero were surprised to learn the startup’s juice packs could be squeezed by hand without using its high-tech machine."

This sounds almost comical...
Agreed as someone who is now in his 30s who has played games since he was 5. BOTW is something very special. I'm at the point now where I've done everything in the main quest but I'm delaying Ganon until I do a bunch more shrines and sidequests. I don't want it to end.
Depends on the price reduction. Those earbud noise cancellation speakers go for like $200. If you could cut the price in half, I'd get them. They'd pretty much know which movies I watch and what flight I'm on, but so do a lot of other people that give me no benefit.
This example would only work if you had the same product in two different price ranges, e.g 350$ without tracking and 300$ with tracking or something similar.
Try doing everything in IO, passing stuff around by hand and ignoring all that abstraction.

You will immediately spot some places where a monad will help you. Where that happens, use the monad, elsewhere, keep it simple. With time you will regret some of that simple code, when that happens, change it (Haskell's best use case is on refactoring). With even more time you'll get a taste for where it's good to go complex from the start.
>Its one of the reasons I dont like working from home - I dont have an office at home and I prefer a short commute to the office where I have some space.

And this is exactly why I wish I could work from home: at home I have some space and peace & quiet. At work, I don't, because every company in America now has embraced the open-plan work environment, and thinks we need to be surrounded by chattering coworkers to be productive.