skysight-inc/HackerNews huggingface dataset:
These images don't make any sense to me. This map looks all black except for the sahara desert. But the world map before averaging looks mostly greenish.
It was already discussed yesterday[1] that there's nothing in the new law (full text at [2]) that "encourages Chinese companies to first notify the government", so that article is already misleading, without further details.

This NYTimes reporter only added inflammatory spins like "right of first refusal", "researchers went rogue" that are nowhere to be found in the linked article.

[1] https://news.ycombinator.com/item?id=29658977

[2] http://www.gov.cn/gongbao/content/2021/content_5641351.htm
The best code is the one in production. All other code is useless.
Covid – Societal and Economic Trade-Offs
If you are parsing/manipulating a particularly hairy data structure, try to simplify it. If you cannot, put a comment with a simplified example of the input/output data structure(s) so that the the next developer (which may be you few months down the line) has something visual to match the code against instead of having to imagine everything.
The Dispossessed was not enjoyable to read, so I stopped after about 30 pages.
It's not about a moral compass, it's about the "market of deviance" (I don't know how to eloquently put the point I am making, maybe there's a better term).

If let's say, you are an employee of a company in a not-so-ethical market, and everybody around you acts unethically, then you have no way of playing against the market: you will either be fired for not doing your job, or you could call everyone on it, but no one will help you.

There's the other point to be made: if everyone around you acts unethically, then maybe it's your standards that are too high? Or maybe you are just delusional in your thinking about what "ethical" actually means.
Just to pick one, i think there are many more likely threats to your home security system than a hacker with a zero day.

In the end, it’s about your personal threat model.
Google used to be excellent with units. My test is always `15 mpg in l/100km`, and Google & wolfram alpha were/are the only ones to get it right.

(Just tried, and it works again in Google, after not working for a few years)

edit: Spotlight now has it as well. Congratulations to Apple & I need to move the goalpost.
Could you elaborate? I'm not a native speaker.
It's interesting that you actually spotted them. In my experience it's really hard for people to tell what I'm doing, but I guess the expectations at the companies I contracted for were much lower and by comparison, I actually did my job. Most people seemed pretty happy with what I delivered. I was the most unsatisfied with it, to be honest.
Ask HN: Is it a decision, or time constraint that we cannot POST to the HN API?
No, actually only first few dozen KB of each sample are usually preloaded into RAM. The rest is streamed from a SSD. One library of an orchestral section can have 100+ GB of samples. You wouldn't fit all sections in 128GB of RAM.
Telephone co-ops still exist, and have for a long time. They manage to stay small enough to never become tasty meals. Sea eagles fly right by. There are -many- kinds of co-ops.

[https://en.wikipedia.org/wiki/Utility_cooperative]

[https://en.wikipedia.org/wiki/List_of_utility_cooperatives]

[https://en.wikipedia.org/wiki/List_of_co-operative_federatio...]
I invested 10k in PCS (https://pancakeswap.finance/pools) and getting around $460/month. High risk tho.
My Takata airbag was recalled. I have been burned by the dealer before so I demanded they come to my house and let me watch them do the replacement. They agreed and sent a tech out.

He popped the airbag/horn assembly off the steering wheel by inserting a screwdriver in a hole I never noticed on the side of the steering wheel. He unplugged the whole assembly, plugged in the new one, clipped it in place and was done. Took maybe one minute.

This could EASILY be a service part, based on what I saw. I assume it isn’t for liability reasons. Presumably that is also why the parts are expensive. Not for manufacturing but for R&D and liability.
I learned about Buddhism and the concept of lovingkindness and that really helped. I read a short book on Buddhism.

But also finding people who can engage with those they disagree with without resorting to mean behavior and listening to them is probably a good tactic. One person I can think of is Beau of the Fifth Column on YouTube who basically explains a left leaning political position to conservatives and centrists in short videos every day. He’s totally non judgmental and I have found it useful to just listen to the way he describes things. He explains topics that are often divisive without any condescension, which I think is a rare trait in political discussion.

EDIT: Forgot to include the obvious, but therapy. I had all manner of rough edges and I’m still finding tricky situations that my therapist has been helping me with for years. Keep in mind that if you learn to become less judgmental you will have better relationships all around. Better friendships, work relationships and love. My career is much better today because I matured, in a large part through therapy, and can manage complex and difficult discussions with my business partner without upsetting anyone. These changes benefit you and those around you and lead to more harmony and happiness. And you deserve that!
In a way, yes. They use a 3995WX with 128 threads but the benchmark is single threaded?

Also, 3995WX is definitely NUMA so their benchmark is skewing the results.
The Beginning of Infinity by David Deutsch.

Turned me into an optimist.
Actually, cutting in at the last minute results in the most efficient traffic flow for everyone. I wish more people would do this, it would help ease traffic!
I literally shared your /open/ page the other day, I find it very cool that you have a USD/hour and that for static-ish projects it makes sense that it only increases! That does put a lot of perspective, since I feel it's similar to some of my open source projects (minus the $) in that it just keeps on giving value.
5 Cool Home Automation Ideas
No thanks, you're alright.
thats not a side project
It is most certainly Open Source, in that the source is open.

In the case where a support contract is available, but not required, it is no less free than any other free software, but there is at least a chance that it might be bankrolled, as well as the projection that this is a professional project.

Even where the support is required, it is my understanding of RHS that that won't impede on the title free, since the usage is not what you are paying for. But there we are quibbling semantics ;)
> That's already a huge amount for a bloody laptop

It's about on-par with modern-ish dedicated laptop GPUs. The mid-range GTX 1060 mobile from 2016 does 200GB/s, a RTX 3070 mobile from this year does ~450GB/s.
Just found it amusing, your description vs the tag line on the site "Just stake some tokens to earn. High APR, low risk."
Those marketing companies can also be a good way to give you the initial market reach with kickstarter so that later on, when you make your product available outside of kickstarter, you have an established customer base. It can be worth losing the profit of the initial run for this.
> just bookmark github.com/login

This will make me be detected as a bot and I see captchas everywhere afterwards. I was using that for a while.

A better alternative would be content identity through URLs.

If your marketing page is at github.com/index.html, then make something like github.com/dashboard.html for logged in users, and redirect them to /login.html when they are required to be logged in.

This way users can easily bookmark the page that they actually want to see.
How to Build a Car by Adrian Newey:

The worlds foremost designer in Formula One, Adrian Newey OBE is arguably one of Britains greatest engineers and this is his fascinating, powerful memoir. How to Build a Car explores the story of Adrians unrivalled 35-year career in Formula One through the prism of the cars he has designed, the drivers he has worked alongside and the races in which hes been involved. A true engineering genius, even in adolescence Adrians thoughts naturally emerged in shape and form - he began sketching his own car designs at the age of 12 and took a welding course in his school summer holidays. From his early career in IndyCar racing and on to his unparalleled success in Formula One, we learn in comprehensive, engaging and highly entertaining detail how a car actually works. Adrian has designed for the likes of Mario Andretti, Nigel Mansell, Alain Prost, Damon Hill, David Coulthard, Mika Hakkinen, Mark Webber and Sebastian Vettel, always with a shark-like purity of purpose: to make the car go faster. And while his career has been marked by unbelievable triumphs, there have also been deep tragedies; most notably Ayrton Sennas death during his time at Williams in 1994. Beautifully illustrated with never-before-seen drawings, How to Build a Car encapsulates, through Adrians remarkable life story, precisely what makes Formula One so thrilling - its potential for the total synchronicity of man and machine, the perfect combination of style, efficiency and speed.
That cached code (presumably) needs to be executed by your computer so it’s still wasteful, slower and somewhat mind boggling as to why that pages needs 2.5mb worth of html/css/js.
I'm quite aware of the size of large libraries, I own a number of them.

Part of why I built my current machine with 64GB of ram
The sweet sea monster of Portuguese Christmas
QOI is not an interchange file format like PNG or JPG, it's more akin to DDS or KTX (e.g. a specialized game asset pipeline file format which doesn't require a complex dependency for decoding).
Tim Cook grabbed the infinity gauntlet and said “Fine, I’ll do it myself”.
> I don’t know any IDE or editor that makes it easy to search though git commit message and source code at the same time.

Any editor from Jetbrains with the GitToolbox plugin does that.
according to rumours, the upcoming Mac Pro chips will have 2x to 4x the core count of the M1 Pro/Max
Project Hail Mary by Andy Weir

By far the best sci-fi book I have read in a long time
Only if complicated is considered clever. Clever might actually make things simpler.
After reading all this, I admit I feel kind of silly for working so hard (50-60h a week on average) to earn my Silicon Valley FAANG comp.

I am wondering how much survivorship bias is at play here, some ideas look relatively simple compared to the amount they bring in. Or maybe one really has to take the leap of faith and trust that there is demand for virtually anything?

Maybe it’s not so simple, my partner opened a small e-commerce store selling some genuinely nice craft she produces, and has been seeing $0 revenues even with some aggressive ads campaigns, so go figure.

My job currently compensates me above $1M a year depending on stock price (public FAANG company), so I never even considered it worthwhile to invest my evening/weekend time in a side project, and always funneled every second of non-recreational time back into my job. But maybe I’ve been doing it all wrong when I see people bringing in several thousands a month for minimal time investment after the product is stabilized.

To somewhat answer the thread: my “side project” is my investment portfolio of boring index funds, where I funnel all my savings. This year is up about 15% (unrealized gains) and realized income of ~$50k via dividends.

Certainly huge congratulations to the business owners, very humbling thread.
I’ve always wondered what the average colour of the web is. Probably close to light gray. Maybe Facebook gives it a blue tinge. Dark modes have complicated the question.
Author forgot the Asian part of Russia, it's included neither to Europe, nor to Asia. But it's still on the general map of the world.
Anyway it would be green.
Analytics solution that support to Mobile platforms(Android, iOS) too? There is Matomo as I know, what else out there?
Aggregating things over platform is hassle when using different services for different platforms.
Anti-commercialization clauses can stop your code from being used (or dramatically reduce it), if that’s your goal.
Good luck!

At least promise, if but a dull glimmer of hope...
Dogecoin was a fun way to play at cryptocurrency without consequence. Then there was a tip bot and a NASCAR sponsorship and the mining pools got predator and it was a cheap way to get into cryptocurrency scams.

If anything good could have come from cryptocurrency, the initial popularity period of Dogecoin showed it. Then the scams took over and turned the fun things into scams, but with little enough value lost for most that it wasn't worth killing over.

I think Dogecoin showed the best possible, most innocent, least destructive path a Cryptocurrency can take. It was still a means for taking money from the many, giving it to a few, and costing more in ill will and social disruption than it can return in any other form of value.
I think all of these discussions revolve around singe point: people want all of the benefits of working on FOSS - working on what you love passionately, working at your own pace, whenever, wherever, not being responsible to anyone but yourself and also have access to large audience of developers that will use your software, but they also want all the benefits and incentives that corporate/company structure offers. I don't think these can reconciled.
Behind the scenes: Expanding the Covid-19 dashboard
I read this a few years back and even as a die-hard Tolkien fan I also thought it was brilliantly done.

Recommended!
This looks like a slam dunk. You're only making $500/month from this?
This is from March, so several months old.
Is the point of the article that the US, already the absolute worst country in the world, and in history, bar none, for percentage of its population behind bars, should ramp up punishment and somehow jail even more of its own people?

The first example given is about Hunter Biden selling art. So he's not an artist, he's the son of the sitting president, and he manages to sell things for a good price, that mainstream critics don't find interesting or beautiful ("widely panned art show")... Good for him!

Yes, it's quite obvious that some of the buyers are trying to get political favors; but that doesn't mean they will get them! The author just sounds envious.
Jesus christ, what is your role and level of experience?
Every AoC problem boils down to the task of "read and parse this text file, write a small script with an algorithm to compute something with the input (maybe doing this for time) and you aren't bound by the performance of your machine or your language". Python is one of the best languages for that task. If you had to do anything similar in the real world, you wouldn't

I also don't think that the problems are that easy. With Python I can focus more on solving the problem instead of trying to fight a new language (or to force a language into a task for which it isn't all that great).
I never thought you could earn money with something so abundant and easy to download as non commissioned desktop wallpapers. Good job nonetheless!
I bet you can split big images into smaller QOI encoded chunks and decode those in parallel.

QOI is simple enough to remix the file format as much as you want in your own encoder/decoder (that's actually the USP), it's not meant as a standardized image exchange format, just something that lives in your own asset pipeline.
I like this idea of using explicit builtins like move() to transfer ownership rather than implicit transfers through assignment based on the source & destination types and the context. It makes the intent MUCH easier to follow, and also affords the compiler with more information about your intentions so that it can diagnose better if you screw something up.

Rust code would be much easier to read and maintain if it had this...
I too read this (after putting it off for some time). It could be a bit hard going at times, but definitely worth it.

I went out and bought The Road but for some reason or another haven't yet started it (have watched the film though).
These opinions you've expressed prove his point further.
Week in ethereum news may be a good place to start.

There is so much happening in the field that it’s hard to keep track without spending a few weeks full time first to wrap your head around the main concepts.
I do not know Java very well, but from the article I got the impression that in Java you could use List<?> as a reference in non-generic code to a List of arbitrary type. I.e. you could assign:
List<?> variable = new ArrayList<Integer>();
That is not possible with std::vector<std::any>> in C++ without converting and allocating a new vector. I am not familiar enough with the C++ standard to say it definitively but similar rules apply for vectors of pointers see https://godbolt.org/z/no3r67P5z
Tech lead on backend systems at a FAANG that has been experiencing significant stock growth. 11 years of experience, mid 30s.
Kagi looks interesting, can I have an invite?
...then you didn't read it. Try again, it's a brilliant reflection of human nature and really digs into the dystopia / utopia thing.
> Who is to say some "antivaxxer" or alcoholic that you're ready to deprioritize wouldn't go on to accomplish great things?

They might. But the question is not "whether they will accomplish great things," but rather, "whether they will make the best use of the limited care we can provide."

And the answer to that is still "no." It's why obese people and alcoholics are turned away from transplants, and on average, wait years longer - often dying in the process. Could obese and alcoholics go on to do great things? Almost certainly! But, will they make the most use of the transplant? Given their choices so far - no. So, they are frequently turned away.

It is the same situation here.
Make that market segmentation instead.

Intel intentionally limits consumer grade hardware in order to create distinct market segments - from overclocking to memory support and PCIe lanes.
Acid rain oxydizes. Reduction is the oposite chemical reaction.
Reading all the cranks crypto garbage and avoiding scams pretty much make it a project
Can second that. Having the commit message as a virtual comment on the end of the current line is immensely helpful in tracking changes. It’s like git blame on steroids.
Comparing the Google home page against a few competitors —

1,326 KiB Bing https://www.bing.com/
829 KiB Yahoo! https://www.yahoo.com/
506 KiB Google https://www.google.com/
358 KiB DuckDuckGo https://duckduckgo.com/
8 KiB DuckDuckGo Lite https://lite.duckduckgo.com/
Thanks this is great
I got the audiobook of this recently and have re-started it from chapter 1 a few times after a few chapters. I am really struggling to get into it. I really want to 'get it' as on paper it sounds right up my street. Any advice ? Maybe I should get the actual book?!
> don't need everything spelt out for them to "pattern-match".

At least three people you’re responding to here don’t see how Intel is being “woke” in any pejorative sense.

If I do as you suggest, deduct and extrapolate and draw from other experiences, I have two hypotheses:

1: you personally do not believe that there is a genocide occurring in these concentration camps with forced labour in them, and anyone who says there is, is just saying so for political points.

2: you personally think that forced labour in genocidal concentration camps is not a real crime, and anyone who says it is, is just saying so political points.

Do you perhaps want to suggest a way to apply “woke”, as the pejorative you insist it must be, in a way that makes you look better?
I'm working on Community Questions, which is Q&A plugin for Confluence Cloud. Think of it as Stack Overflow for Teams, but for companies that are using Atlassian suite. With slow but steady increase of customers I've recently reached $1000/month. I love working on this project so hopefully it will grow even more :) https://questions-answers-community.com/
Why not pay someone to develop your side project?

More importantly if you want to put survivorship bias on your side, never develop anything until you have a working sales funnel.

Put $1000 aside a month on a design and site for your idea, followed by a marketing person w/ a budget.

The screen following getting their card should be a page letting them know you aren’t onbaording new customers, their card hasn’t been charged and you’ll let them know when you’re taking on more customers (eg. The product is built)
Hera: A Customized Hybrid of Source Code Pro and Fira Mono
The best code is the code that solves the user's problems
It is necessary to train oneself and others to keep on doing the right thing even when no-one else is doing it.
So you learned to make electronic music?
How is that silly monetarily? If extra work get's you even a 5% raise, that's $50k year pre-tax that will compound (with future pay bumps/stock grants). What is the equivalent amount of time to build a side project to that level? That said, if you spend extra time that does not translate into extra pay, it's essentially opportunity cost of a side income.
Unfortunately, he won't tell you, because like someone else said, the barrier to entry is so low, that their only real competitive advantage is other people not knowing about the opportunity.
“Why not” is one of the top reasons to write a comment. It should be discussed more. Many times I've encountered a piece of code which could have been much simpler or idiomatic. Upon rewriting, I discovered that it didn't work for some obscure reason. If there's no comment explaining “why not”, many others (including future me) could lose time trying to do the same.
i know I’ll get downvoted for saying this because there are a lot of front end developers on here who fail to question the sanity of their tools but the current mess with <table> (and most of front end development) is an acute suffering from not invented here syndrome.

Why have a construct purposely for tabulated data when you can reinvent the wheel with a nightmarish array of divs and complex CSS. /s (honestly though, before anyone does mod this post down, pause for a moment and ask yourself this question. If you have a good answer then I’d love to hear it).

The problem is web development went too far down the CSS “all the things” route and instead of using it for styling, developers use it for near enough the entirety of web layout. Which makes no sense when you have data that needs to be structured in specific ways (namely tabulated data). In those scenarios the layout is as much a part of the content as the data itself. Thus CSS there should be used to make the tables attractive rather than using CSS to construct the tables themselves.

I’m not saying <table> doesn’t have its warts but really what should have happened was those warts fixed rather than creating a whole new set of warts and complexity with divs. Again, before anyone votes me down, pause and try to answer this question yourself.

Obviously divs do have their benefits elsewhere in web design; I don’t miss using tables for general purpose layouts. But for tabulated data tables are absolutely the right tool… or at least that should have been the case if sensible people were left to define pragmatic web standards.
> See also Atlas Shrugged, where the producers keeping the world afloat ("Atlas")

For the record: in Antiquity, Atlas doesn't hold the world, but the sky.

See https://talesoftimesforgotten.com/2017/02/09/misunderstood-m...
Thanks! The fibre I use to supply them is a gigabit up and down leased line, so the connections I sell are contended. I could go to 10gb but my customers are small businesses so low utilisation in practice, people like having a gigabit capable connection but rarely need it! The average overall utilisation of my customers combined is around 150mbps.
What part of a Mathematics Stack Exchange clone would require JS?
Yes, and it's also bad writing, and utterly stupid.
"get used to unhealthy, one-sided relationships" (I know, you didn't say you are recommending this)