skysight-inc/HackerNews huggingface dataset:
It seems many comments in this thread don't get the point.

The "Premature Optimization is Root of all Evil" is about juvenile low level optimizations that sacrifice code readability. They don't give high perf gains either.

But that doesn't mean "Don't think at all about performance in beginning, you can optimize later". That's bullshit notion. Someone will end up paying in AWS bills for that. For instance, every programmer should know how latency varies between disk and memory access, and think about the tradeoffs at design/spec level.

It is true that there are cases where even that doesn't matter. But in most cases where people think so, It ends up they pay double in AWS bills to save two hours of thinking.
Probably these ones: https://www.zdnet.com/article/the-top-3-companies-in-autonom...

Tesla is leading in marketing though, if that helps :)
No, but you usually don't know what will be the poorly performing part or in need of optimization, beyond the macro level. Don't check your brain at the door, but don't overthink it too early.

Someone else cites old systems with core decisions that are unchangeable because a data structure or algorithm is central to the entire codebase, as an example of "should have thought of performance earlier". My reaction to that was: why is the code structured in such a way that a particular data structure or algorithm is central to the entire edifice.

I think the error the article makes is in describing later performance improvements as "accidental" and low hanging fruit, which is nonsense. If your code can't handle continual refactoring, including to realize significant performance gains, then you have a deeper problem than performance.
> If you did in fact mean Continuous Deployment then you do not need 100% integration test coverage or anything of that nature. Typically, the process might work by releasing a canary deploy which receives a fraction of the traffic going to production. In the unlikely event a breaking change has silently made it through your other tests, it should likely be caught when it is deployed as a canary

You have just described 100% integration test coverage.
can you elaborate on what the differences are, in terms of language presentation and recall?
Astonishing Twitter Thread with Tim Gowers
These are actually fairly common, I have this one:

https://www.kiwi-electronics.nl/din-rail-raspberry-pi-behuiz...
https://qwertyloop.com

I recently decided that it was high time to start publishing my essays, stories and other stuff related to life and work; mostly as a reminder to myself and maybe leave something useful for my children and others to read.
They're in alphabetical order.
> But the U.S. wasn’t always so profusely bathroomed. In the past half century, the number of bathrooms per person in America has doubled. “We went from two people per bathroom to one person per bathroom in the last 50 years,” says Jeff Tucker, an economist at Zillow. “That’s amazing, because postwar America was already rich and booming, and we just, you know, kept building more bathrooms.” Across the country, bathrooms are multiplying—including in apartments and condos—even as American families and households are getting smaller.

The article misses a major point here which explains much (though not all) of the trend: household sizes have decreased dramatically in the last 50 years, and the number of single-person households has increased dramatically. Single-person households can generally be expected to have at least one bathroom per person, and small households will generally have higher ratios than large households.

In 1960 single-person households were about 13% of all households; they have more than doubled, to about 28% in 2019 [1]. In 1960 the average household size was about 3.3; in 2019 it was 2.5 [2].

[1] https://www.census.gov/content/dam/Census/library/visualizat...

[2] https://www.census.gov/content/dam/Census/library/visualizat...
Modern bidets heat the water and the seat, and nobody I know with one (including myself) doesn’t have TP next to the toilet too, you just need very little of it.
Would that this article didn't have dumb impact font memes.
Are you referring to this? https://www.raspberrypi.org/products/compute-module-3-plus/

I guess I'm not sure what you mean by the word 'kit'
Is that Wine 5 that won't work on Catalina?

Whilst the barest of bare anecdata, I can, e.g., run mineways.exe on Catalina 10.15.3 using wine64 4.0.2 (from homebrew) happily[1].

[1] Ok, you have to cancel the "bogus app move to bin?" prompt for both mineways.exe and vcruntime140_1.dll which is messy but I can live with that for OS emulation.
Along with the other resources mentioned, I would check out https://elixircasts.io/

I find the videos to be great, both in terms of quality and pacing. Make sure to use the coupon code 'elixirforum' (without quotes) to get 10% off!
Ask HN: Utility of a Combined Outliner and Note-Taking App?
Questions about note-taking are very popular here on Hacker News. I am always interested in the responses. It seems like developers are always interested in the best tools and methodologies. Me too.

Outliners are a natural way to organize a body of knowledge.

Despite their strength at thought organization, outliners have one big weakness for me -- visibility. The headlines can get quite long when you need to record lots of information in them. Not everything can be subdivided into subheadings. Sometimes you need to write long-form text. When you do that in an outline, you can lose sight of the overall organization of the document. The long item can just expand beyond the limits of your viewing area and the rest of the outline is no longer visible to refer to.

So, after that long ramble, what to do? I've started playing with a program I'm calling `clown` (clojure outliner with notes). It works like a traditional outliner but with a second column that can display any notes attached to a particular headline. This lets me retain visibility of the bigger picture, the outliner, while still being able to drill down into very detailed information in the notes.

There's a blog post here (https://yo-dave.com/2020/01/05/clown-a-clojure/script-outliner-with-notes/) with a screenshot of what it looks like.

The app supports an outline with any number of headlines and sub headlines nested to any depth. Each headline may have an arbitrary number of notes associated with it. It's very early days, but there is a depository on GitHub (https://github.com/clartaq/clown) for anyone who wants to take a look at what I'm talking about.

So the question is: Is this a useful approach for anyone but me? Is anyone aware of something like this that has been done it the past? Any inherent problems with this approach?
Not really though, right? I theoretically have the same commute every day, but there have been times when a moving truck has been stopped in my lane, or the period when a road was down to one lane as it was repaved, and then re-opened with a new traffic circle, etc. You can't train your truck how to complete a route today and then assume it'll be able to successfully complete that route everyday as detours, new traffic patterns, accidents, etc, happen.
Well hey, I just happened to work on that stuff back when Canonical still had its own desktop product.

The idea was to make a user's experience as great as possible. The desktop design department all lived through their iPhones, and felt that most non-techie computer users wanted the same experience. The whole desktop-phone convergence thing was the prime directive, and having search be the prime experience on desktop for a fully-integrated web experience was the way there. There were many "scopes" plugged in that searched all kinds of things, and among them was one that searched Amazon.

It didn't hurt that Canonical made a bit of income from affiliate referrals. At least until Amazon found out. Then, it just became another web search scope.
> what’s the chance that sick people would have gone to the market when they were infectious

Is not impossible and is a question that must be answered. Good point.
Reminds me of Duckburg
Most people with a family of four or a 3 bedroom place would have 2 baths (or often 1 proper bath and one toilet without shower/bath) in Europe too. What I find a bit strange is the "4 bedroom / 4 bathroom" thing. Bathroom 3/4 seems a bit over the top.

I imagine it's because 1-2 of those would be ensuite to one or more of the bigger bedrooms and/or that one or more aren't full baths.
I’ve been working on my own version of “DuoLingo” for iOS for 10 years now; longer than DuoLingo. I’ve never gained much traction. I’m looking for other ideas to help language learners.

Recently, I’ve tried writing smaller apps to supplement what Duo provides because they have a great product and I’ll never compete directly as a solo developer.

Anyway, any other small app ideas that people would like to see implemented? Game ideas that help with the necessary repetition, for example?
In my experience, the US toilets from ~2000 to ~2005 were crap (heh), but since then they've figured out how to make a low flow toilet that works, and it's fine.
What if it saved you from having to learn kubernetes though?
It started with someone claiming they had proved that Euler's constant, gamma, is irrational.

Here's a graphic outlining the thread: http://www.solipsys.co.uk/Chitter/LongTimGowersThread.png

The link submitted contains the content, and the nodes are clickable to go to the actual tweet.
May I ask, in case you use Wifi: Which Wifi module do you use for the Compute Module?

Because I agree it is a very useful form factor.
>And hardware is cheap nowadays.

Cheap and available (and correctly setup) are not synonyms, however.

In the years I observed how - generally speaking - programmers (correctly as it is their work) tend to have the best of the best in hardware (and a fast LAN, and a fast WAN, etc.) so locally where the program is developed it feels fast, responsive, etc.

But the user base may have older processors, less RAM, slower mass storage and slower WAN/Internet access, so at their end the same program will appear slow, in some cases so slow to make it unusable.

I always thought that at the developers there should exist a few reasonably old machines possibly with installed the same services/other tools that the client target machines normally have where the program should be tested for excessive increased slowness compared to what happens on the development machines.
The Machines Are Coming, and They Write Bad Poetry
IIRC, some init implementations have this capability. I'm not saying that it's good in general, but just that it facilitates this particular case.
Suckless Conference 2019 Videos
Design patents are why Apple sued Samsung, and won, over the Fascinate (the Verizon-branded version of the original Galaxy that was pretty naked in its attempt to clone the look & feel of iOS in that era).
The Raspberry Pi Compute Module built into the Revolution Pi products has an eMMC of 4, 8, 16 or 32 GByte. Each product has a micro USB receptacle via which it can be flashed or mounted from an attached computer. Users are free to use whatever image they want.
What is the app stack? i see vue in there.
If you’ve used some heavyweight framework then performance will probably be hard to add later. If you wrote the code yourself then I’m with Knuth, it’s not a big deal to optimize it later and that’s a much better way to go.

I’ve found the following rubric helpful for building distributed systems: 1/ correctness, 2/ reliability, 3/ performance. Credit: CochroachDB team.
If you are deploying to your company wide dev, then you either need to apply the same principals as you appy to the prod because you blowing up dev would make other developers using the environment non-productive, which costs money i.e. you have a company bank account in the blast radius.

If you are deploying to your own dev, then you do not need a CD because you are only doing deploys when you sit in front of your computer actively working, which means you can type a command/trigger a deploy when you need it.
The current DOM node in the browser's console
I've used Duolingo and like it for learning grammar and vocabulary. Why would someone pay for it though?

I would have been prepared to pay but I don't see why I would. The only paid features I see are to remove ads (which you rarely see compared to how long you use the app for), offline use (which isn't an issue if you have good mobile internet) and to skip to harder stages (which seems counterproductive).

In terms of making an income, it feels they give far too much away for free. Do they make most of their money from the ads? Or so many people use it for free that it's okay if only a low percent convert?
Low quality memes too.
I agree with most of what you said, except hardware isn't really all that cheap. I used to think so, but recently have run up against some "that's all this box can do?" and "this throughput costs this much?" and "why is this so slow" with fairly good algorithms but a lot of data and rps. So I've been a tad more perf forward lately than in the past.
The key insight here is that all code deployments have a risk of going wrong in a way that hurts the company’s bank account, and human beings following instructions to be careful do very little to mitigate that risk. This doesn’t mean CD is the right tradeoff for everyone, but it doesn’t change the problem space in some fundamental way - all of the tools you mention mitigate approximately the same risks regardless of how you develop your code.
To be fair, Texans believe the rest of the US would fit inside Texas.
Hi, thanks for letting me know. I wonder why that is. Can you shoot me an email to gabriel@barbra.io? I'll make sure to move you up the line :) sorry for the trouble. Would love to have your feedback.
This is my experience too, esp if you aren't on the latest hardware, but are on the latest os
If I wasn't a developer, I would never upgrade the os and just keep using an older phone
NJ is the most population-dense state in the U.S., so that (and its being really old, and comparatively expensive) might have something to do with your experience.
Just a heads up, and forgive me if this is obvious, but you can move right away, the expire date will be the same anyway. You certainly don't want a failed migration too close to the expiration date.
I wish filesystems would commonly support to store the Mime type. File extensions seem to me still a residue from MS DOS times. That would also make working with static (file) webservers much easier. (It's such a breeze to work with blob stores that allow to save the mime type...)
Look how fast this program is:

int main () {}
A lot of people get more utility from an extra half bath than an extra closet

Bathrooms make entertaining people easier, both by having them conveniently located and by reducing the privacy infringement of making your master bath available (everyone's an asshole and goes through everyone else's medicine cabinet)

It's not wasteful since having more bathrooms doesn't mean you go to the bathroom more.
Former family friend Richard Fuisz said she was a fair student with poor grades. All indications I've seen are that she isn't intelligent but happens to be a sociopath who worked wealthy connections.
Home of the Reds. Been listening to it my whole life.
How's the Compute Module with temperature?
We've had trouble keeping Raspberry PIs (3 not 4) stable in industrial settings because they overheated (no, they weren't doing anything critical so we just configured them to reboot every couple hours).

I see something about a passive heat sink, I wonder if that's enough...
How is it intended that these be programmed? Python? C? Ladder logic? Something else?

Also what is the mapping between your various IO modules and how they are named in the program code?
What’s the advantage of using this language over Rust, Go, Java (or any other JVM language), or Python?
China coronavirus: 44,000 cases in Wuhan (HK medical experts estimate)
A din rail is a way of mounting things. It's very compact, cheap and simple.
Identifying breast cancer imaging biomarkers via PET/MRI
A lot of words to basically not answer the question.
Honestly, he doesn't even come close.
Exactly, docker standardizes something that was an otherwise nightmare to maintain across platforms and organizations. Next we need to standardize the orchestrator, my money is on kubernetes, but I wouldn't say it has won over everyone just yet.
Yea, first you just have to get your debugger (and maybe the rest of your toolchain) installed in the container, along with your source code.. and then you run into things like crazy wonky terminal support.

Sucks if you want to use a more advanced debugger interface, because you're not going to install that in the container.
Maybe true depending on the definition of "entirely normal life", but an IQ of 75 indicate severe mental damage.
Ultimately I do agree, the people that will survive in a post-apocalyptic scenario are the ones who can collaborate as a tight group. Pre-existing trust is much more effective preparation than any bunker or stockpile.

However, there's no shortcut to creating a tight group. If the zombie apocalypse comes and you just go to your neighbor and say, "Hey, we'll have a better chance of surviving if we collaborate!" there's nothing that keeps him from saying "Sure, let's collaborate!" and then killing you in your sleep and taking your stuff. And in fact, from his perspective, there's nothing that's keeping you from saying what you're saying and then killing him in his sleep and taking his stuff, so he's got a strong reason to do that to you before you do that to him.

And I don't think that just living next to someone and saying "Good morning" is enough to counteract that. You have to actually know someone at a deep level, and have shared ideology, and possibly even shared trauma, before you're willing to take a risk trusting them with your life. One of my frustrations as an atheist is that there's not really a cohesive atheist community, but I don't really see how their could be: we don't have a cohesive ideology (beyond "there's no god") and no real shared goals. If the SHTF, my guess is that the groups that will survive will be the religious groups, the gay community, the addiction/alcoholism recovery community, the military and veterans, immigrant communities and various groups that cross over between those: all these are large groups with cohesive group identities, and in some cases shared trauma that has given them opportunity to be there for one another.
It doesn't. The Ubuntu desktop was a hobby project for a tech-oriented individual with deep pockets. In 2017 the Ubuntu desktop project was virtually eliminated as a loss-maker in the run up to going public. Now, Ubuntu is just enabling technology for (profitable) cloud services and (hopefully in the future profitable) IoT and ships with a slightly customized version Red Hat's Gnome Shell desktop.
A different kind of personal website
This doesn't answer the question, but it's a great TMBG song: https://www.youtube.com/watch?v=FRYw-pqSdKo
There's already a whole population which pays taxes and funds the community effort. Your family side of the equation, though, is empty by default.
And tech people wonder why the general populace doesn't like them.
Simple utilities for manipulating HTML and XML files
Amazon (and other FAANGs) use OS packages and do not use Docker nor Kubernetes or anything with all that complexity.

This is a deliberate choice, at least in Amazon.
I'm from Cincinnati, and growing up my dad and grandfather would tell us how you could pick up WLW across the country on a good day. In the 90s we took a vacation to the Rockies, and were able to pick up WLW a few times, even though the power had been reduced by then. I can get it regularly and clearly in Chicago as well. That's the cool thing about AM radio; since it is transmitted at a lower frequency, it can travel longer distances, and even reflect off the atmosphere in the right conditions.
As noted in that README, the source is available at the clickable https://www.w3.org/Tools/HTML-XML-utils/ . I didn't link to that for main submission as the description is far below the fold on that page :/
It seemed very "hello, fellow kids."

All sorts of good illustrations you could use in an article on the history of the alphabet. The memes were pointless.
to prevent old mechanical typewriters from jamming
Another technical difference is deepfake is end-to-end and nobody knows the exact maths applied to each pixels, while filters are more or less hand crafted functions.

This particular article is not that impressive, looks like animation to me.
How to Do Giveaway on Mixer to Grow Your Channel
Just getting into having a personal site. Wanted to try out a static site generator so I've been slowly poking at getting something going with Hugo. Hopefully over the next month or so I'll develop my own theme.

Over time I think I'll end up with an interesting mix of things on here.

https://www.timmermans.dev/
I clicked on the link thinking it would make me feel dumber and lazier than usual and I was not disappointed.
There's a temperature hat that you can get that puts a 40mm fan powered by the fan headers out there ($10 each).
I've lived in a 1 bathroom house in the US and i said never again. It was one of the first things I looked at when buying a house overseas as well, and it served me well.

Problems with a single bathroom which includes the toilet:

If you have kids, everyone is fighting over a scarce resource in the morning. Showering/shaving/etc all takes time and you're all leaving in a narrow window.

If you don't have kids the people buying the house may, and they will care. It makes selling the house so much harder.

The bathroom _must_ be cleaned to be guest ready, and they get to accidentally snoop through everything. I love my ensuite for this reason. (and if you don't care about it being clean, your partner probably does)

If you have the room, why not have an extra bathroom? So much easier to build in new construction than add later.

When I lived in Australia the toilet was in a separate room, so the 4 bedroom house worked ok with only 2 bathrooms. The toilet wasn't blocked/held hostage by someone taking a shower. (washing your hands on the other hand...) But this also helped sell the place, since with 2 full bathrooms you can have kids/house mates/etc.

My current house has 3 baths with 4 bedrooms. One is in the in-law suite, which I airbnb, so we have 2 on the main floor. It makes 2 baths for 3 bedrooms. This feels like a nice "adult" house. We have a spare rooms for house guests, and they have a full bathroom they can use. This means we can host friends/family for days/weeks and we can be annoyed by their personality, instead of annoyed fighting over a bathroom. ;)

Of all the weird things in the US, a house having "too many" bathrooms really doesn't seem like a problem.
> I like that each app has its own filesystem, but i do wish i could 'get at' anything from the Files app.

If the developer takes the time to set it up, this is exactly how the Files app works -- each app will appear either as a folder or as a provider.

> I want to plug in my iPhone and see the filesystem for the Files app.

This is how it works currently on macOS; word is that this will be coming to Windows once they finish splitting up that version of iTunes.

> I want to be able to "share" any file from any app into Files. This would either be "Save to Files" or simply exposing it to files.

Again, this is up to the app developer to implement. On apps that support it, there's literally a "Save to Files" option on the share sheet.
In my experience SMT solvers tends to be an order of magnitude slower than MIP solvers, even when looking at the exact same constraints. But yes given a small enough problem SMT solvers like Z3 are an excellent choice and provide additional functionality like propositional logic (if A then B else C).
America’s Economy Needs a ‘Startup Visa’ for Immigrants
That's the bonus. No state income tax of FL is your primary residence.