skysight-inc/HackerNews huggingface dataset:
Monoliths are even easier to manage in 2021 because of workspace dependency management (e.g. yarn workspaces, cargo workspaces) etc. You can have your cake (microservices built as separate packages) and eat it too (a monorepo workspace w/ all your code).
And everything that has existed outside Bell Labs and UNIX.
just read the post. This is absurd
Not as annoying as learning to navigate some IDE-specific way of doing it. And I usually end up cleaning up my commits, anyway. Also, if I've committed things, then I have commit hashes to refer to in my notes.
If you think about the history of settlement in the southwest is seems a bit obvious, at least thinking about Los Angeles.

The more expensive west side of LA is much cooler and closer to the coast, while poorer east LA is more inland and warmer. Even as neighborhoods change, there's still an ethnic history to the neighborhoods in those areas.
TDD is definitely helpful, but I don't ever use it as a metric for code fitness. At best it proves a limited number of inputs produce a limited number of expected outputs.

Consider, for example, a bug recently introduced during a refactor at my work:

The programmer optimized a conditional based on a regex by transforming it into a simple string compare. All the tests passed, code/branch coverage was good. Except that he missed that the regular expression tested case-insensitively, and our test suite didn't test upper and lower case scenarios.

This simple mistake outlines a few flaws:

- coverage was not robust, because it didn't take into consideration the branches inside the regex (which one could interpret as a form of macro expansion)

- the limited number of inputs used to test failed to capture the broader domain of possible input

- the test did not reflect a successful refactor

Obviously this is a fairly complicated example despite a pretty simple change, and several pieces had to fail in order for this change to fail. But it affirms that even basic changes to code aren't necessarily adequately covered by TDD.

Yes, the developer who forgot to test different letter cases made a mistake. Yes, regular expressions bring their own problems. But fundamentally, the result was that passing the tests did not affirm fitness of the change. Rather, it only proved a limited subset of conditions were error-free.

Effectively, tests are loaded with false negatives, so trusting them to identify problems should be done with a massive grain of salt.

If the developer had simply copy/pasted the code he changed and compared the two, then it's exceedingly more likely that he would have noticed that his code didn't capture the full breadth of conditions in the previous code.

A bug existed in the test suite, to start, and then a bug was introduced into the codebase. A human being looking at the two lines of code as it was rewritten probably would have noticed the regression. But even a code review missed it because it was a fundamentally small change among the other, more "make sure this looks good" code.

Personally, I very much value copy/paste/compare changes and never treat the test suite for anything other than "well we haven't broken anything in any exceedingly obvious ways." Maybe you're a superhuman programmer, but I'd lean more towards "you've probably added more bugs than you realize".
>Life expectancy is significantly higher than it was before. Life expectancy in 1950 was 68 years in the US, 72 years in 1975, 76 in 2000, and almost 79 in 2021. In my country life expectancy at birth has gone up 10 years during my lifetime!

But life expectancy is decreasing. And not just due to COVID.
HN

ZeroHedge

WallStreetOasis

Axios

ChessTempo / LiChess
I just don’t think this is as major as many news outlets will make it seem.
Not that it justify Facebook lying, but if Facebooks advertisers are repeat customers, then apparently the fake numbers doesn't matter. Customers apparently still feel that their advertising campaigns have paid of... Or do they simply don't measure the results independently?

Facebook is repeatable shown to be lying, manipulating, failing to properly moderate their platform and having a general shady business practise, yet their stock price keeps climbing, they're not really punished in any meaningful way. It's disappointing that business are allowed to operate in this way, but I don't think anyone really care.
If it's strictly "everyday", then only Hacker News, Google, BBC News, and Wikipedia would fit the bill.

If it's weekly, the list would include some subreddits on Reddit (I like /r/ArtisanVideos), a local newspaper aggregator, our local Covid-19 official news, and some social media site.

I do check some other sites of projects that I like and support such as FreeBSD, Debian, PostgreSQL, Clojure, ... or very local businesses that I support (local bakery, local foodshop, ...) on a monthly basis.
1. TMZ.com
2. Reddit.com
For what its worth, there are many youtube videos on how to make a rocket mass heater (and stove) on the cheap. They are super efficient means of heating and cooking and a great use of recycled wood and wood chips. Built correctly, they burn very efficiently and do not produce smoke.
Subaru CVTs are especially bad from what I've heard. I tried a WRX with one back in 2015, but unfortunately I wasn't too experienced with them to really tell how bad it was. Went with a manual a few years later, though.
Awesome, great resource to come back to. Good job putting it all together.

What sort of infrastructure is it running on? I imagine django of course. Postgres too? Or are you using something like ELasticsearch or Solr?
Ok, and if my company's marketing team proposed an ad with a bunch of white people in it, they would also be cut off.

Same shit, different process.
Tire inserts like cushcore let you run really low pressures without worrying about squirming the bead off your tire, even on hard corners. They’re really a game changer- I still run decent PSI on the daily as I do a lot of climbing, but you can lower it down like crazy if you go to the bike park or if you’re ending a ride with all downhill. They supposedly decrease rolling resistance too; not sure about that but the increased sidewall stiffness is definitely noticeable.
It's not that powerful, if I'm reading it correctly: https://github.com/python/cpython/commit/34df10a9a16b38d5442...

The sprintf is to a temporary buffer that's converted to a PyUnicode object before returning, so subsequent portions of the string are written elsewhere.
> I think you're trying to argue that it's worse if a young, otherwise healthy person dies, but it's really not necessary to rank lives against each other in this way.

No, the GP is pointing out the well-established social-psychology theory that people already implicitly rank things this way, and that this is why the death toll doesn’t have more of a mental impact on people in changing their decisions, even when they hear about it.

It’s the same reason that news like “baby of suburban WASP nuclear family gets kidnapped” turns into a whole-community man-hunt with special ribbons that gets remembered for years, while news like “baby of urban black single mother gets kidnapped” never even gets acknowledged by the community.

When people who are high-status to society go away, the whole of society mourns. When people who are low-status to society go away, only those directly affected mourn.

Any death-toll number, in the mind of most human beings (or rather, of any human being who’s only engaging with the problem using System 1 thinking), isn’t interpreted as “raw numbers” of lives lost, or even QALYs lost — instead, it’s felt as an aggregate of social-status lost, subjective to the listener’s personal social-status ranking function.

For the same reason that people don’t tend to worry much about disasters half-way across the world (the aggregate social-status weight computed through their status ranking function still sums low), people won’t tend to worry much about the impact of a local disaster if it’s only directly hurting local low-status people. Even if it’s indirectly impacting high-status people by taking away people they care directly about, that still doesn’t generate the sort of performative shame for not having acted that comes when high-status individuals are taken†.

And since that very performative shame is what policy-makers rely on as a group impetus to for getting changes pushed through on a society-wide level, a lack of it means that nothing can really change, even when there are clear rational reasons to implement change.

——————

† Evo-psych just-so hypothesis (i.e. take this with 50 grains of salt): people are expected to sacrifice to protect high-status people; people who do so are rewarded by the high-status people; and so, over generations, it became a eusocial instinct to feel an urge toward performative shame when you “fail to protect” a high-status person in your community—even one you never personally knew.

But people aren’t expected to sacrifice for low-status affiliations of high-status people (since it’d “only” be the high-status person, and not the rest of the community, enforcing the norm on you), so a similar eusocial instinct toward performative shame for failing to protect those people never arose.
That's an interesting thought.

I can definitely see the gating being a problem down the line, although there are solutions to this (one that comes to mind is publishing channel archives in some indexable format periodically).

The "why" feels flow-related to me. The message board format isn't super well adapted to active discussions, but real-time chat on spaces like Discord and Slack feel snappy if you want to have a "chitchat experience" with other devs. I wouldn't necessarily call it a new thing though; before Discord and Slack, IRC was a pretty popular way for OS communities to organize, and that too suffers of the same lack of indexation (unless steps are taken, i.e. publishing archives to make them accessible to those outside the chat server).

From the perspective of someone who runs some public-facing OS-related Slack / Discord spaces, my approach has always been to try to get folks to create issues on projects' GH tracker when it looks like other folks would benefit from the insights or to organize reports / requests. That way, while the initial chat happens in the chat spaces, there are artifacts that are also available outside of them so that others can engage without joining the chatrooms.

To the last point about repeated support request -- questions asked should always drive documentation. Whether it's on Discord, GH Issues or some forum, if a question is asked repeatedly, it should end up in the FAQ / troubleshooting docs. That feels more like an organizational problem than a problem with the platform (case and point, StackOverflow is a treasure trove of questions about everything and anything, but there's active moderation to weed out dupes despite everything being indexed, repeats will happen regardless of previously asked questions being available or not).
Their point is that even if wages go down workers are able to move to cheaper areas.
(The broken hero image is a known issue. Fix to be deployed on the next full hour.)
1. The Economist

2. Hacker News

3. Reddit (programming/hobby subreddits)

4. YouTube if I have time to spare

Probably not much else.
Great, I have to deal with a broken web experience because of the heavy blocking all because of a suppoda?
Cargo from Rust and go fmt from golang have been some of my favorite things these past few years. Cargo isn’t perfect, as the author points out, but wow is it great to have it as a major part of the language’s ecosystem.

I recently got access to GPT-3 and was playing around with it, which meant breaking out Python for the first time in a while, and I just don’t understand how anyone deals with it. Poetry seems much better than what I remember Python ever having, but it’s not official of course and not everyone uses it. I somehow was hitting dependency issues with packages stuck in Python 2 and I couldn’t believe that’s still happening — it’s been over a decade now. Even ran into some very minor Black vs PEP 8 things. Somehow every time I touch Python I find myself fighting the tooling, which may just be my ignorance or bad luck.

Very thankful for Cargo and go fmt so I can just get on with things!

(And also the author is right, the Rust community is super welcoming. Thanks for that as well!)
I counldn't find that tweet from a female streaming on Doyu that got a warning for featuring her white boyfriend, but found another news.

https://en.pingwest.com/a/6595
I asked a small number of people close to me to switch to Matrix. For everyone else I am briding to other services. This means that I may not have access to every feature on the remote service (depends on the completeness of the bridge mostly) but now I only really need to check one service for all of my day-to-day chats.

So now anyone that joins Matrix can find me, I can do most of my communication in the same environment and if people ask I can explain the benefits of switching to Matrix.

It is by no means perfect, but I find it much more convenient than using 5 different apps and I didn't have to convince everyone that I regularly communicate to switch to get major benefits.

TL;DR Matrix allows a slow-and-steady migration which seems like the best option available.
Haha, that's a really unique take on the issue. Dripping with cynicism, yet also hopelessly optimistic at the same time.

I think I agree that even in a worst-case scenario the long term outcomes of automation are still positive. Though it's probably still worth considering how best to avoid or mitigate any pain it might cause in the short term.
Nice, quite useful. Thank you.
I tried Dino, Gajim, Psi, Psi+, Empathy, but I still prefer the UI/UX of Pidgin. It knows all I need at the moment, with the exception of Transport commands.
(Googler, opinions are my own). I also don't work on drive, these are my rough understanding of things.

There may not be a way to do this yet, but hopefully should be coming someday. One key thing to understand is that Google Drive seems to be implemented as a graph, not a tree. This becomes apparent when you realized that any item (folder or file) could be placed into multiple directories on your drive. This allowed for cycles and lots of other crazy things within the filesystem (as you aren't guaranteed to have a single parent folder).

Now, this behavior finally changed in Sept 2020[1], and they are backfilling all mutli-links to be shortcut (symlink) based. This should finally allow for proper directory navigation and determining size. It also fixes all kinds of other problems that a graph file system causes.

[1] https://cloud.google.com/blog/products/g-suite/simplifying-g...
its not blacklist and whitelist because "black=bad, white=good", black is the abscense of light, hence the light is blocked, white would obviously be the opposite. So its black because you are blocking things, and white because you aren't.
> However if you want any sort of efficient lookup on the external key (UUID), your database still needs an index on the UUID, and you are back at square one

Yes and no. It depends on whether your database treats primary keys differently than other indexes. For example, in InnoDB primary keys are always clustered indexes: the row data is directly stored in a btree arranged by the PK; secondary indexes just store PK values in their leaf nodes, so that they can do a lookup on the clustered index.

As a result, in InnoDB smaller PKs are preferable. So performance is generally better when using an incremental ID as PK and then UUID as a secondary index, as opposed to the reverse. Assuming you have multiple secondary indexes, the total table size will also be smaller in InnoDB with integer PK than with UUID PK.
How did you go about replacing gaming? I often game mostly out of habit but haven't found anything I'm really jazzed about to replace it
I've never seen this in C# code! How common is this? Do you have any references? Sounds like a useful convention (it's nigh impossible to google). VS only distinguishes between `///` (docblock) and all other (double, quadruple,quintuple, /*/). But maybe there's an extension.
> So after about 8 months of work I was ready to start getting users.

I caution readers looking for advise on building a start up. Early on, this reads as a post celebrating the joy of programming. Which is great! Working on something you enjoy can be personally fulfilling, but that doesn't mean that it's a start up.

At the end of the day, a start up is a business, and a business needs to make money. The ultimate validation is finding users willing to pay for your service. Waiting 8 months before finding users is a huge risk, and signals that this is is a fun personal project that may generate profit if it happens to find product/market fit.

The author's closing remarks address the idea, but I think they're a little late for a post about building startups.

> Have I spent too much time geeking out on Haskell and not enough time thinking about the idea? I guess we will see .
One of the biggest issue with Rust’s panics is there’s many times when you must never panic. For example in an OS, when trying to save your crucial data to disk, in real-time code where panicking would maybe kill someone in the real world, etc
Finland’s secret weapon in the fight against fake news
I use 'permit_list' and 'reject_list'. Even before the colour based issue - because these names were more clear to me.
False positives would be sent to the device for local comparison against full hashes; it wouldn't "annoy people" because it would not trigger a match unless the full hash matched on device.

There is indeed a way to truncate enough to balance the amount of data sent to the device vs privacy.
Stackoverflow :P
Mining for the Streets
Agencies/big brands look at each digital channel and how much they could potentially spend reaching their target market and then assign budgets months in advance. So if the potential spend on Facebook is lower, it may get less budget in the plan because the agency knows they won’t be able to spend more budget there.

My initial wording is weird.
Mmm I miss scouring the internet for NJS parts. Wish my track bike hadn’t been stolen....
>Bonus annoyance this year: the eternal covid lamentations of bar and restaurant owners, as if governments purposely wanted to destroy their businesses, as if one's bar is more important than other people lives, as if they didn't paint themselves and their stupid restaurant for years as an example of entrepreneurship (apparently the free market is a good idea only when your business goes well).

Fuck off into the sun. Of course people are going to lament when their jobs vanish and the business they built over years of hard work is in a very real danger of tanking. I should know, my food service business is down quite a bit - and we're one of the lucky ones that is doing well enough to stay afloat given that we had a strong takeaway focus even before the C-19 hit. An entire segment of jobs blown away - what do those people do? Shit like "learn to code" is not a helpful answer, and history suggests that what they do end up doing after a long enough period of hopelessness is not pretty.
In the stickiness of whatsapp, I caused something of a stir with my family. After the prev announcement and having a general distrust of facebook that had grown over the years, I deleted my Facebook account and made the announcement in the family whatsapp group that I was leaving whatsapp and they could join me on signal if they wished.

I then deleted my whatsapp account.

There was much wailing and grumpiness and some refusals to join me because people didn't want to use a new chat app. I was genuinely surprised that whatsapp had become so sticky for these people and had to mea culpa to smooth things over.
You would be impressed how many consultign sweet shops are billing someone hundreds of dollars per hour, while having their employees carrying around a cheap Dell/Thinkpad i5, 8GB, HDD.

With luck they either get the customer's IT to also deliver a laptop for development, or some cheap cloud instance with similar specs to the laptop.
> to allow external systems to connect in so that businesses can do business on there. The voice calls are also a disaster

While I agree with privacy things with you but business on whatsapp doesn't have to require privacy violations. In fact my experience has been good overall. Restaurants have used this as menu replacements, which is the best feature I have seen in a long time. But all they require to do this is give me there number. Facebook had a good feature, they are ruining it because all they know is to make money from advertisement. Its a Pidgeon holed mindset.

Also I don't know what you are talking about in terms of voice calls. I make several voicecalls on whatsapp every day for the past >5 years. Never had a problem with them.
we playing factorio here?
Adding to the theme of microservices overhead, I feel like the amount of almost-boilerplate code used to get and set the contents of serialized data in the service interfaces exceeds the code used to actually do useful work even in medium sized services, much less microservices.
Just want to say that I am a griddy customer, I don't do it for the absolute lowest cost, but the ability to see and respond to pricing via home automation. A way to hack my electric bill. This week has definitely sucked in terms of cost. Griddy is also introducing contract rates next month, so some amount of power can be purchased at a predicted rate and you get that power at that rate, not the spot price until you run out of that contracted amount of power. (I only know the vague details of the program, just fyi).

Also, this is a regulation failure because the PUCT (or whatever it is called), which is under the purview of the Railroad Commissioner (an elected position), didn't make recommended winterization guidelines mandatory. Without this, the market favors the biggest corner cutting.
This just reads like a teardown of another person. As a reader, I come away with very little. There is the faint hint of a defense of Google's processes against Noam's criticism, but no real defense is ever made. The entire counterargument is: Noam thinks aspect X of Google is bad, but Noam is a stinky doodoo head, so let's not take his thoughts too seriously here.

I'd ask you to consider whether it was a good use of your time to write this. It certainly was not a good use of my time to read it, but maybe this comment will make up for my mistake. I say this as someone who is sympathetic to the idea that many executives spend too much time huffing their own gases.
After spending $~25 on ads and getting absolutely no conversion, I can assure you Facebook did a terrible job at making me feel like I got any value.
We have similar situations elsewhere.

Folks rage about 'the media' (a term now so amorphous I can't tell what it means anymore, or if the person even reads / watches what they think of as the media), so we get lots of self research / internet sleuth type discovery on platforms like reddit.

We had one on HN recently too https://news.ycombinator.com/item?id=26186645. I applaud the person for putting in the effort, but I'm highly skeptical of internet sleuths and their ability to string a few searches and documents together into an accurate narrative / provide context to complex systems simply because they found what they thought of as similar things to recent events.
I've worked places where marketing seems like just a big shell game.

Paying other companies for advertising on their platforms meanwhile they are paying someone else, and that third party is paying us.

All three marketing departments probably get a net 0 value from it, all three marketing departments get to report their budget spends and not get defunded, meanwhile producing nothing concrete of value.
Why yes, I have.

It is essentially impossible without the (sadly rare) design pattern that I gave at https://news.ycombinator.com/item?id=26016854.
Please put UK Supreme Court in the title. If this was the US Supreme court, the implications would be way higher for Uber.