skysight-inc/HackerNews huggingface dataset:
I recently read his book, “A Philosophy of Software Design”, and loved it.

It’s 175 pages of well-refined, to-the-point, applicable wisdom; highly recommended.
Throw darts at a balloon.
It's the perfect product for the average non-technical user.
The removal of XUL is when Mozilla's position as an innovator and industry leader showed it had died.

Chrome is ubiquitous not because of chrome, but because chromium is the most friendly open platform to use. V8 regularly runs laps around spider monkey, and has been embedded into thousands of critical business infrastructure. V8 isolates being a big feature. Spider monkey hasn't kept up. It's Firefox only.

Chromium can result in things like electron. Firefox could have positioned themselves that way, but chose isolation. They only want to develop Firefox, and because of that they are doing a poor job.

The math doesn't work out, eventually Firefox will have to become a chromium skin, and it will be all the better for it. Google is, after all, the ones paying for Mozilla to exist outside of their yahoo deal.
Lisp syntax is unreadable because there is not much syntax. Functions, macros, variables are all in a mix of gazillion parentheses.

ML syntax is really clean.
Absolutely, it's comically wrong most of the time but it's still a useful tool to solidify understanding in a way that's hard to do organically.
> non-PID contact

What is that, exactly?
That's pretty much spot on.
Please integrate with Airtable and Xano
Yes, considering the first hybrid with the Prius was available as early as 1998, the car industry should have switched to hybrids in the early 2000s. But unfortunately they didn't. Just keeping selling pure combustion engined cars was far too profitable. I think Tesla did indeed play a huge role in pushing full electric cars. Which today is of course the correct technology for most applications as it skips the combustion engine completely.

Hybrid planes would be quite attractive, but of course the certification bareer which might be too large
Pylint is extremely slow, I've preferred flake8 for some time. But now looking into Ruff, handles the whole codebase in less than second (vs minutes). Happy with it so far.

https://github.com/charliermarsh/ruff

This article also highlights some pain points I have with python. They say avoid big list comprehensions, but there is no nice way of piping data in Python one can switch to instead. Especially with lambdas being so underpowered (so they also say to avoid).

They say avoid conditional expressions for all but simple cases, and I agree. Which is what makes me wish everything (like ifs, switches/when etc) in Python was an expression (ala elm, kotlin etc). Because right now it's hard to assign a variable conditionally without having to re-assign / mutate it, which feels unpure.

Default arguments being reused between calls is just weird. So I understand the rationale of Google's style guide, but it's a big flaw in the language imo, lots of weird bugs from novice programmers from that.

I disagree on allowing the @property decorator. You think you're doing a lookup, but it's suddenly a function call doing a db lookup or so. Huge foot gun.

I feel the 80 character rule is too low, and often hard to avoid with keyword arguments, to the django orm etc. End up having to litter comments to disable it all over the place, and waste a lot of time when CI breaks.

As for formatting, whitespace etc. I'm over caring about that for languages. I just have some autoformatter set up to fix everything on save, and someone else can argue about the rules.
The default gofmt doesn't format this way, so any tool implementing this would not be compatible.
Yes, of course. But the range (1-2h) might be just enough for a lot of szenarios.
"return err" is almost never the right thing to do.
> Ivory

Tapbot's "Ivory" app is for iOS, but there is an abandoned "Ivory for Mastodon"[0] for Android by Asko Nõmm[1].

Does Tapbot violates copyright on the 3rd-party client app name for Mastodon?

[0] https://play.google.com/store/apps/details?id=com.askonomm.i...

[1] https://github.com/askonomm
Tony let me say it's super brave for you to come here and share this information. The critics are harsh but Medium is still a great resource and I continue to use it for my own personal writing. I think my only personal knock on it right now is things that would prompt the user to sign-up or hit a paywall. That's friction. That's friction that a lot of users don't like and I get that you're running a business but this is real what becomes the barrier to entry and then turns off an existing crowd.

My comment might get lost amongst many, you may not see it, but Medium still has the reach. I think as a blogging platform you can support a lot more customisation and become an actual platform that is the staple for where people put their content. I have a personal blog hosted on GitHub with Jekyll. I'd much prefer to use mediums tools but I'm reluctant to because of the experience for end users. Just my thoughts.
In python, something like "black" will most definitely change the style.

Anyway, they looked at C++ code and measured things like the number of tabs, number of spaces, number of white lines, avg line length aso (table 2)

Most of which get standardized automatically by the IDE these days.
Some of the things they (well, one at least) do:

- avoiding unnecessary complexity

- avoiding early miner advantage

- avoiding any financial rewards for its creators

- improving privacy and scalability
Link: https://hotwired.dev/
Better to treat it as a devious and eloquent coworker commiting corporate sabotage for a competing company, who is paid by the factoid to get you to believe incorrect things. Google failed at this by being not nearly paranoid enough when putting their Bard demo together. Everyone laughed at them but ChatGPT does exactly the same thing.

(Someone will probably claim ChatGPT would be less likely than Bard to commit the sort of fabrication spotted in the demo, but it's not. I gave ChatGPT the exact same question but replaced JWST with CERN and it told me antimatter was discovered at CERN when according to CERN's own website [1] it was both predicted and observed decades before CERN existed. I didn't have to fish for this. It was the first result for basically the exact same question and was a highly believable fabrication of the exact same kind, attributing a discovery that had been made earlier. I switched JWST for CERN just in case there has been any special training regarding JWST in light of the publicity - no idea if there has been, of course.)

[1] https://timeline.web.cern.ch/timeline-header/86
> So if you could use their payment processing by itself, that would put you at $485k before server costs, not $419k. So you can have very nice servers and over a third more revenue.

Most companies don't do their own payment processing. They have accounts with companies that provide merchant services (e.g. WorldPay, Ayden, various investment banks) under specially negotiated contracts. These contracts would cover contingencies that wouldn't apply to "normal" customers and there's obviously a premium to pay for that. What you're demanding is the financial equivalent of adding millions of people to an individual's credit card account.

Why would you think a for-profit company (or for that matter, any financially sensible individual) would should share the financial benefits its negotiated for itself with millions of others? Not only would Apple be introduced to additional legal and financial liability, but so would the payment processor.
Since it was supposedly "invisible", there was a lot of joking that it was hit by accident saying: "sorry, we didn't see it".
Students should be learning how to move industries forward, not backward.
If electron is dog slow on your PC, upgrade. You're not the target platform. Runs fine on any device of the last 5 years with more than 4gb of ram. I suspect it runs just fine on your computer.

Computer power usage is not even on a blip on the chart of power usage globally. A cult would infer the usage is small. On the contrary chromium is in almost everything nowadays, even medical equipment.

The most robust graphics rendering engine is of course going to be used everywhere for graphics.
Cancel culture is modern day book burning.
100% agreed. But I'd suggest you just go for a serverless offering from one of the big cloud players.

If your app runs on Heroku or Fly.io, you really don't need servers or VPCs or k8s clusters.

Where I work, we've gone all-in on AWS Serverless and couldn't be happier. We have 1 dev-ops/infra person supporting 3 feature teams, all of which are releasing into their apps based on this stack multiple times a day. The infrastructure overhead is so low that our dev-ops guy has time to additionally spend time on optimising CI/CD for speed, tightening up on security, etc, etc.

When we started, we had 2 devs who just did everything from a single repo, a gitlab account, and the serverless framework.

I really don't understand how adding yet another layer on top of AWS's / GCP's / Azure is materially going to change the developer or user experience. It just adds cost.
Is deploying a database binary and mounting
a volume on a VM really the hard part?

The nice thing about containers is that you are independent of the underlying infrastructure. Be it a VM or bare metal.

I can easily spin up a Docker container on my laptop. Takes a second or so.

Spinning up VirtualBox or something is so much more hassle.
Some people, when confronted with a problem, think “I know,
I'll use regular expressions.” Now they have two problems.

Jamie Zawinski (1997)
I seem to remember they used to indent Python code with 2 spaces. Glad to see it's 4 now.
Tridactyl is nowhere near as usable as Pentadactyl was, and its injection of JS/CSS in every page you visit is very, very intrusive. Sadly it's the only option that is usable for me at the moment, but I think everyone - including its devs - would agree that it can never reach the same level to Pentadactyl due to not having access to the browser's chrome.
So family (spouse, children) who are dependent on the other spouse's H-1B have the same problem. Once the status runs out the dependent status runs out too.

After 60 days they need to leave. They MAY get caught, but the USA doesn't actively enforce overstayers on status.

You'll run into problems when you want to re-enter the USA.

And if you wish to stay, you cannot find a (legal) job because your employer needs to fill in an I-9, which will reveal the fact that you are out of status.
And if anything the LLMs are better than the average person realises. Everyone I have demoed it to assumed it was like a slightly better Siri or cleverbot. None of them expected it to be capable of synthesising full long form text works with coherent and largely accurate content.
He was also a pioneer of journaling file systems.
Math must be understood, cannot be learned just by heart, unlike most other facts.
I’m working on mehungry dot app that I launched last week. It’s the 1 hour mvp and after some positive feedback, now I’m working on my next milestones with tons more features.

My goal is to simplify healthy eating and improve nutrition habits.

I asked people outside various grocery stores and most folks do not know how to read nutrition labels nor identify healthy foods. My dad was able to practice some healthier eating habits and get his BP from hypertension to normal.

Please feel to reach out if you have any questions or advice for me. I’m new to this so I appreciate your message.

YC videos have been instrumental for me as someone who is a self taught engineer and wants to build useful software.
Sorry to hear this, Flurly was a really well-built product.

Crazy mix of wholesome and hustler products. Something a lot of people used: https://www.google.com/search?q=site%3Aflurly.com
Calculator that computes that 3 + 2 is 8 should indeed not be trusted much.

Do you know any such calculators?
I've heard a perhaps more poetic version: as you are, so was I; as I am, so will you.
Gentoo Linux 2022 Retrospective
Perhaps things like casing conventions? That would be covered by a linter too.

Or does it mean style-of-semantics (if that's even a thing), for example in C#, preferring to define explicit constructors instead of a parameterless ctor and trusting the user to set properties in the post-ctor initializer correctly?

Or use of higher-order/FP techniques (like map/filter/reduce/fold) over explicit for-loops?

The summary says this (note the last remark):

> The results demonstrate that good programmers may be identified using supervised machine learning models, despite that no particular style groups could be attributed as a good style.

Obviously they're not saying, for example, that one particular bracing style is better than another (1TBS tho!), nor that co-incidentally "good" programmers prefer one style over another; but despite knowing what they're not saying, I don't know what they are saying with that...
Golang has the right idea. There's an inbuilt language style and what you think matters doesn't because there's already a formatting tool and we'll all bend to it's will.
it will be the next financial bubble like dot-com, im calling it
Arrow seems to be the common denominator for larger than ram. Polars is completely built on arrow, so the same advantages should apply.

https://github.com/pola-rs/polars#handles-larger-than-ram-da...
https://en.wikipedia.org/wiki/Secure_multi-party_computation
You think they will let Bing become the default mode of user interaction with their phones?

Wouldn't that commoditize their product? If you have the same experience (talking to Bing) on any phone, why would people pay for the Apple brand?

It's not like they can buy and integrate another LLM any day just like that. There is nothing yet that has proven to be on par with ChatGPT. Google has something in the pipeline, but nobody has really compared it to ChatGPT yet.

If ChatGPT and (maybe) the new Google thing are the only players in town.. if I would be Apple, I would be worried.

Especially if one of them turns out to be clearly better than the other. Then Apple would depend on licensing that one.
I do think it really depends where you go. I traveled to India for 2 months in 2004 knowing nobody when I went (but leaving having made the acquaintance of several people) and I still think about this trip almost 20 years later.

Another European country with churches and castles (I live in Germany and used to live in Austria)? I probably don't need to go there unless I have someone to visit. Going to India was like visiting another world & it truly enriched my life (or I wouldn't still be thinking about it 20 years later!), I think there are plenty other places like that - might not be that easy to find which ones are the best fit for you though!
Every once in a while there's an article by a travel writer singing praises of an active vacation where travelers do eco-stays on working farms or help weave rope for hanging bridges. On one hand, that sounds cool. On the other, I've found it very hard to find stuff like that, and I wonder if those activities are just makework for bored rich tourists.
It's quite simple. The US has companies that both consume a large amount of the chips (AMD, Apple, Qualcomm, etc.) and companies that are crucial to the chip making supply chain (Applied Materials, Micron, KLA, etc.). This means US has more power than China at dictating the chip manufacturing industry.

If the US tells TSMC to ban Huawei from using its fabs, it can because TSMC relies on American customers (Apple, Qualcomm) more than Chinese customers and it relies on American supply chain companies such as Applied Materials.

This is why China needs to build out its own tech for chips. If China succeeds, they might exclude the US from their tech in the distant future. IE. Chinese tech companies might have an advantage over American tech companies because they have access to more, faster, cheaper chips. Today, this is reversed.

All of these things are just economic battles. You might hear things like Huawei is banned because it has ties to China's military as justification for banning Huawei. But it's all just to slow down China's economic rise, nothing more. Most major US tech companies likely have some ties, directly, or indirectly with the US military.
Yeap that's my point. Tracking isn't the issue, tracking by google is.
For some events, research is only allowed to conclude that they were as bad as we thought, or that they were even worse. Anything else is professional suicide.

Like a control circuit only able to correct the system in one direction, it will drift in that direction without limit. It turns history first to myth, then to fairy tale.
Nitpick

“2.5 Mutable Global State

Avoid mutable global state.

[…]

2.5.2 Pros

Occasionally useful.”

So, are these pros of mutable global state or of avoiding it? Elsewhere pros and cons appear to refer to the description of the guideline, not the title (see 2.2 Imports).
Black has been around a while and has pretty widespread use: https://pypi.org/project/black/
Device reusability is an environmental issue, so your happiness is utterly irrelevant here. Making devices (or their parts) easy to keep using or repurpose means fewer need to be created and fewer end up in the landfill.
To those that wish to automate a subset of these conventions, there is a tool called Sourcery[1] that I, personally, am a huge fan of! Not only does it have a large set of default rules[2], but it can also allow you to write your own rules that may be specific to your team or organization, and as mentioned it can enable you to follow Google's Python style guide as well[3].

There are some refactorings that Sourcery suggest that I don't agree with myself, namely the usage of 'contextlib.suppress'[4] as I don't like to introduce an additional 'import' statement just to do something so trivial. I wish Sourcery would add the relevance of having possibly too many 'import' statements as a heuristic.

---

[1]: https://sourcery.ai/

[2]: https://docs.sourcery.ai/Reference/Default-Rules/ (expand the sub-pages)

[3]: https://docs.sourcery.ai/Reference/Optional-Rules/gpsg/

[4]: https://docs.sourcery.ai/Reference/Default-Rules/refactoring...
df.T is a special Pandas dataframe transpose on the dataframe index and the columns.

DuckDB produces Pandas dataframes, so you would just do df.T. No need to choose between one the other.

But to answer your original question, the SQL analogue to a transpose are PIVOT/UNPIVOT operations which are mathematically rotation operations on invariants (your dimensions). This makes them much more general than a transpose -- which are just rotation operations on the rows/cols. PIVOT/UNPIVOT work on non-square data and allow you to specify different types of aggregations. PIVOT/UNPIVOT keywords are not yet implemented in DuckDB but are on the roadmap if I'm not mistaken.
I would argue that whatever investment is needed for beefier EV charging is always going to be orders of magnitude cheaper and simpler, not to mention efficient, than the most basic network of hydrogen pump stations. This is just a gut feeling.
Make sure you have estimated table metadata turned on, otherwise QGIS will run a bunch of queries to understand your tables I believe.

We typically use QGIS as a viewing engine only, if you let postgis do the heavy lifting it's a beautiful setup, especially with a tuned dB and a indexed clustered postgres table
It is sailing lingo to use feet and (nautical) mile.
Apps haven't had access to IMEI info for several years
This falsehood needs to die.

It's true for non-trivial cases, and exceptionally false for some things. Like databases. A lot of the sysctl tuning for large database environments has to be done on the host, either directly, allowing unsafe sysctls and restarting kubelet, running with privileges, etc.

This is not "independent of the underlying infrastructure" or "the VM and my laptop have the same kernel tunables set". They don't. And it matters.
No content management system and other server-side rendering options? This is how the majority of the web still works.
A. It is supremely surprising that this isn't already a legal requirement. My modest software hobby business is required to keep durable copies of all communication for several years, as has been the law for decades. Yet a commercial airliner responsible for the lives of possibly hundreds of people is permitted to trash it after two hours?

B. The storage costs of cockpit audio recordings of a jetliner for its entire service lifetime might be less than the fuel for a single long haul trip. Even if we add in overhead for redundant replication and other expenses. If money is the legitimate reason for hesitation then this is miserly on an extraordinary scale.
You know parts of Scandinavia are protected by the UK, right?
Blackjack as an example doesn’t work for the card counters that have +EV which can be had in a half day of reading / memorizing and $5k bankroll.

Technically, their investment EV is far higher than stocks and bonds. Could be on the order of 2% per day, if it wasn’t for those meddling back offs and limits.
Mastodon is a huge mess, and these servers shut down constantly. Imagine trying to use email but the server is run by a single stranger who gives up after 2 years and you have to reset all of your account emails.

The only feasible end result is that everyone picks one large corporate server or hosts their own. Like how email works.
To some extent, it is true specially after the containers checkpoint and restore functionality where you stop the container at an exact instruction, its all state including registers is saved and then it can be restored on a different machine waking up as if nothing happened. Also known as live migration. Based on [1] and it seems it is either already in or on its way into k8s [2]

[1] https://criu.org/Main_Page
[2] https://www.youtube.com/watch?v=wCb1Rfoy7Fk
I' m grateful for curl and libcurl. It's a gem of our stack, a strong and robust tool to build upon. I maintain a project [1] that can't exist without libcurl so a big thanks!

[1]: https://github.com/Orange-OpenSource/hurl
Not miri. I mean the actual ASAN, UBSAN, TSAN, MSAN and LSAN sanitizers that are also commonly used in C and C++ codebases. Descendant is the same: LLVM [1]

> Can you point me to any significant primarily rust codebase that runs sanitizers? I've never heard of that

Not sure what do you mean by that, surely there are. At least the ones who are serious about the development. Sanitizers are part of official documentation in Rust [2].

[1] https://github.com/rust-lang/rust/issues/39699

[2] https://doc.rust-lang.org/unstable-book/compiler-flags/sanit...
Freezing Porsche Taycan Drivers Report Failing Heaters
ruff is the ticket. it replaced isort, flake8 for me, never looked back
Ivory for Mastodon for Android (2019)
Why did they not pre-decide what to show on the presentation? This sounds so dumb!
There are pros to using it and pros to avoiding it. That’s not a contradiction because they are different pros. Just avoid it if you can, or unless the pain of doing so is too great to justify.
You just have to look to domains where C++ rules to see that while the community is aware of Rust, hardly anything is happening in HPC, HFT, GPGPU, Khronos APIs, LLVM/GCC, MPI, OpenMP, AUTOSAR[0], Unreal/Unity/Godot, PlayStation, XBox, Switch, Apple and Windows official APIs,....

So while Rust is being adopted, it is at the same scale that C++ was against C around the early 1990's, in regards to market size adoption.

[0] - They are looking into it, still no standard update that allows for Rust
On the contrary there was the infamous Battle of Palmdale in 1956 wherein the USAF failed to shoot-down a rogue drone

https://www.latimes.com/archives/la-xpm-2005-sep-11-me-then1...
Only when your application depends on optimizing your database to the max.

Most applications don't.

And even if the application I work on does - then only in production. Not on my laptop. So on my laptop I will simply chose a docker image that resembles production as closesly as possible. I will not use a VM.