skysight-inc/HackerNews huggingface dataset:
Many years ago I worked on a project that had a hard “no hard coded values” rule, as requested by the customer. The team routinely wrote the equivalent to

const char_a = “a”;

And I couldn’t get my manager to understand why this was a problem.
For anyone "incensed" over this, be sure to let Bernie Sanders know, his state is also "Constitutional carry" and has been for a long time. Texas simply joins a long and growing list.

Don't believe this story - there is no meaningful "outcry" - its barely there but what is there is just the same polarization we are all desensitized to already - one side simply upset that the other side scored a win.
I just bought the book, god damn it
> We plan to monetize by supporting autocomplete for companies' custom scripts and internal CLI tools.
'Dachshund' literally translates to badger-hound; they're bred to go down burrows and drive out badgers.
>Moreover, what's the harm? It's more information, not less

If your code is outliving your source control system you got bigger problems than whatever is in your comments. I can confidently say that in 25 years in this industry this isn't something I've encountered. So probably sufficiently low enough probability to safely ignore.

>Moreover, what's the harm? It's more information, not less.

Too much information is every bit as bad as too little.
You will win more friends with a "never correct others" policy. However, what if belief in the misinformation has deadly consequences? Steve Jobs died due to him seeking "alternative" cancer treatment. Had someone convincing spoken up when acupuncture was being discussed around him, someone who changed his mind into recognizing that acupuncture is a sham, Jobs might still be alive.
Magit is not terribly intuitive.

It looks a bit like a menu-based GUI, so you'd expect to navigate around and use a standard set of keys, but most of it is actually powered by special key combinations.

Now, in some circumstances, that works fine, but honestly the interface could be simplified a bit and probably made faster to use. And less prone to the "oh shit, I thought I was typing something but now I actually hit 3 different Magit key combinations and have no clue what just happened".

Personally, I'm hoping someone takes the standard VC thing in Emacs and adds some of the Magit features to that. But meanwhile, I'm using Magit. :)
They shot down a passenger jet not all that long ago and got away with it.
Canada certainly does not allow anybody in, but still more than a quarter of a million people are in each year.
Charlie's memory has probably been almost entirely replaced by the footage of him doing it. He's seen it at least dozens of times since it's played before any interviews he does.

I have memories from my childhood that are third-person because they were captured on videotape. I have a hint of the first-person perspective but my memory of watching the video is much clearer.
> I have seen quite a lot of "corrections" that are agonizingly smug technicalities, flaming strawmen, and the like.

I'm reminded of Paul Graham's hierarchy of disagreement. [0][1]

[0] https://en.wikipedia.org/wiki/Paul_Graham_(programmer)#Graha...

[1] http://www.paulgraham.com/disagree.html
This is a bloatware inside Emacs, while it should be a thin wrapper and a few modes.

The whole point is to reuse Emacs APIs, not building up piles of crap with tens of dependencies.

Enterprise software for Emacs lmao
Code never gets moved or refactored by someone other than the original author?
If you have to track down the author, then it is already bad. The code should not hope that the author never finds a new job.
He died riding a horse. I think it's fair to say he wasn't nearly crippled by disease and it wasn't a multi-year bedridden slide into death.
Very smooth, downloaded it and played around a bit.

My first thought is why not use built-in shell autocompletion functions instead of redefining them in JS?

Zsh completions are super powerful: https://github.com/zsh-users/zsh-completions/blob/master/zsh...

Typing `git a<TAB>` yields this in my terminal:

~ git add
add -- add file contents to index
am -- apply patches from a mailbox
apply -- apply patch to files and/or to index
archimport -- import an Arch repository into git
archive -- create archive of files from named tree

(btw, broken link at the bottom of this page: https://fig.io/docs/getting-started - https://fig.io/concepts/dynamic-suggestions should be https://fig.io/docs/concepts/dynamic-suggestions)
If you're using HJKL to navigate more than a few lines, you're doing it wrong. Use 'search' instead.

https://www.gnu.org/software/emacs/manual/html_node/emacs/In...
https://youtu.be/YVVTZgwYwVo?t=59
From a subjective view I do not believe we want any business model that survives on utilising your data beyond the core of the product to exist e.g. I would think we want anyone to sell your data to add companies.

I do not believe there is a need for so much free stuff in general. But it should never be a situation where you have to pay for your data to be safe.
I have found other good articles on the same topic, by Hillel Wayne author of Practical TLA+

Uncle Bob is ruining software - https://hillelwayne.com/post/10x/

Uncle Bob and Silver Bullets - https://hillelwayne.com/post/uncle-bob/
Given the context of GDPR data portability, it seems more likely that they're saying that businesses shouldn't have a right to hold data hostage as a method of lock-in, especially in lieu of providing a service people like enough to voluntarily stick with. The "targeted advertising as payment" thing is a separate can of worms that they may or may not care about.
> As anything, I don't think we can say "I recommend / don't recommend X book", all knowledge and experience is useful. Just use your judgment and don't treat programming books as a holy book.

People don't want to go through the trouble of reading several opposing points of view and synthesize that using their own personal experience. They want to have a book tell them everything they need to do and follow that blindly, and if that ever bites them back then that book was clearly trash. This is the POV the article seems to be written from IMHO.
People support or don't support things based on context and details. People don't simply "support deplatforming", and it's not hypocritical to support a ban from a social media platform in instance X but not support a ban from an ISP in instance Y. Analogies used in this way are lazy, and serve only to provoke. You should address the topic directly, rather than comparing it to something different.
I lived in the Noe Valley in 2006-2009 and really loved it. I went back in 2016 and things have changed so horribly. San Francisco is imploding and while the solutions are simple, I don’t get the impression the politicians have the courage to implement them.
"I really do wonder if we might benefit from teaching programming like a trade discipline instead of expecting devs to do a degree like computer science."

Or some type of hybrid program.
Sure, but people are currently making lots of comments thinking the law, as written, makes some distinction between publishers and platforms. Which it doesn’t.
> I can confidently say that in 25 years in this industry this isn't something I've encountered.

I've been in the industry less than half that time and it's happened to me. blame will tell you the last person/commit to touch that line of code. To find out when it was originally written, I may have to (in some cases) manually binary search the history of the file.
Great example. This is also an issue many doctors treating terminally ill patients. Of course, it is true that the patient will die in a month or two. What should a doctor do? Tell the truth to the patient to screw him emotionally? Or keep silent? Or lie to the patient?
No one is as good as you are at being you. An optimistic approach to life allows happiness like this.

Similar themes in these posts.

https://kk.org/thetechnium/1000-true-fans
http://paulgraham.com/re.html
That was imprecision on my part. I should have said "Q key" instead -- the capitalization was to make it stand out.
I'd like to leave some room for those with strong religious beliefs who practice tolerance to still be leaders.

If your belief is that failing to support gay marriage is in itself an act of discrimination, than I could see how you would reach a different conclusion.
> Our societies should find a way to put an end to these agencies peacefully

The reality is that the world is a bad place and these agencies are a necessary evil. When they fail in their duties, we have things like the Manchester Arena bombing, Charlie Hebdo, and so on and so forth.

This does not mean they should be free to run amok, like GCHQ obviously has for decades now. There should be checks and balances, which are sorely lacking at the moment.
> Maybe the world has changed but when someone says something stupid and someone else calls them on it, backing it up with facts, and they double down on the stupid... shouldn't there be a population of people out there that see this as a desperation move on the part of the original poster?

Did you miss the entire Trump presidency? People love that sort of thing. Facts are difficult, inscrutable things that have to be dug out of observations and carefully safeguarded. They often tend to be disappointing. Whereas lies and fantasies? Those are theatre.

Oh, and algorithmic timelines make this worse: correcting someone is promoting their original views to other people.
When you have to have specialized machinery to load/unload a vehicle, that makes it wholly impractical for personal use. This is what purpose-built moving equipment is for, not personal mobility vehicles.
> Primary source of knowledge and information in a field. Constantly look for better ways of doing things. Write books and articles and does the lecture circuit.

Meh. I'm probably being picky, but it doesn't surprise me that a Thought Leader would put themselves and what they do as Thought Leader in the Expert category. I see them more as running along a parallel track. They write books and run consulting companies and speak at conferences and create a brand, and then there are those of us who get good at writing code because we do it every day, year after year. Kind of exactly the difference between sports commentators and athletes.
And it should be a wind-up mechanical one so that power failures don't affect it.
>only when it can be identified.

Note that it also includes indirect identification, which means that if combined with other data it would identify you. Recital 30 might be of use here too;

>Natural persons may be associated with online identifiers provided by their devices, applications, tools and protocols, such as internet protocol addresses, cookie identifiers or other identifiers such as radio frequency identification tags. This may leave traces which, in particular when combined with unique identifiers and other information received by the servers, may be used to create profiles of the natural persons and identify them.
As a bonus, Desantis can give a ton of taxpayer money to his legal buddies for defense and appeals.
Sorry didn't see that. On a side note: I deleted the app when it asked me for my email. Good luck.
My HN username (Rygian) is PII because it can be used to identify me indirectly (HN has a log of my username connecting from IP x.y.z.w, and my IP address is PII).
Just to make things a bit more interesting (and grim): every HIV patient has multiple variants at the same time. In this regard HIV is pretty much like cancer :(

> Nucleotide sequences of the hypervariable V3 region of HIV-1 obtained from different organs of one patient demonstrated distinct viral variants.

https://pubmed.ncbi.nlm.nih.gov/8151287/
The big one to keep an eye on is cyclomatic complexity with respect to function length. Just 3 conditional statements in your code gives you no less than 8 ways through your code and it only goes up from there.

All of these 'clean code' style systems have the same flaw. People follow them without understanding why the system was made. It is why you see companies put in ping pong tables, but no one uses them. They saw what someone else was doing and they were successful so they copy them. Not understanding why the ping pong table was there. They ignore the reason the chesterton's fence was built. Which is just as important if you are removing it. Clean code by itself is 'ok'. I personally am not very good at that particular style of coding. I do like that it makes things very nice to decompose into testing units.

A downside to this style of coding is it can hide complexity with an even more complex framework. It seems to have a nasty side effect of smearing the code across dozens of functions/methods which is harder in some ways to get the 'big picture'. You can wander into a meeting and say 'my method has CC of 1' but the realty is that thing is called at the bottom of a for loop, inside of 2 other if conditions. But you 'pass' because your function is short.
Shameless plug but I put together some Jupyter notebooks that walk through several of the fantastic books recommended in this thread: https://github.com/khiner/notebooks

I wanted to help myself and other folks develop better intuitions around the material, particularly focusing on short animations to develop better visual intuition along with working code examples of the material in the books.

Books covered (with a notebook for each chapter):

* Musimathics volumes 1 & 2 by Gareth Loy

* Introduction to the DFT by Julius Smith

* Introduction to Digital Filters by Julius Smith

* Physical Audio Signal Processing by Julius Smith

also a couple not directly about audio but helpful for the domain:

* Coding the Matrix by Philip Klein

* Accelerated C++ by Andrew Koenig and Barbara Moo

Hope someone gets some value from these - have fun!
"Write Code. Mostly Functions. Not too much" made my day and is excellent advice.
Anti-vax, anti-mask crowd have been so wrong so many times over the last year. I doubt another huge L would change their minds. It's twilight zone level stuff.
> where I have to look through 10-15 files to see the full class

The Magento 2 codebase is a good example of this. It's both well written and horrible at the same time. Everything is so spread out into constituent technical components, that the code loses the "narrative" of what's going on.
I work with long functions right now. It does not give mental cohesion. Instead, it makes it difficult to figure out what author intended to happen.
I've heard this rule of thumb:

If it is supposed to be a meaningful link - be it internal or external - use a direct anchor element with an href. Styling it however you like shouldn't hurt.

Otherwise, for any other interactions use a <button> element
Short functions make it much harder for bugs to hide.
immudb is not meant for public decentralized networks, although it might be possible to use embedded immudb to build a public blockchain... but that's a different story. immudb server is tailored to provide a database where any tampering will be subject to detection by any single client application consuming its data.
We shall see.

The separation of concerns is of far greater value than just purism. It can ease cross-compilation, it can help building in offline environments, it can make dependency customization far easier, it can make swapping out compilers much easier, etc.

These are all things that have been valuable in the past, and there's little reason to think that they aren't still valuable and will be valuable in the future.
>Today, instead of excitement, I am wondering how this thing is going to push me in some walled garden, how I will be tracked, how my data will be fetched and sold, what will be the trick used to move people away from free Web...

There's no need to wonder. Fuchsia's been designed to do all those things and more.

https://beebom.com/what-fuchsia-os/

Starting with a modular design that caters to device manufacturers that allows them to provide only part of the operating system. The days of devices with full os's are coming to an end.

Cloud based constant device syncing between all devices

>Dependency on Web Apps

Google and device manufacturers will have full control over the microkernel and bootloader

Honestly, I'm not excited at all. I've been dreading fuchsia since it was first announced. Everything about the os is designed around google having complete control over the os itself and everything on your device.
Aligns with my current meta-principle, which is that good code is malleable (easily modified, which includes deletion). A lot of design principles simply describe this principle from different angles. Readable code is easy to modify because you can understand it. Terse code is more easily modified because there’s less of it (unless you’ve sacrificed readability for terseness). SRP limits the scope of changes and thus enhances modifiability. Code with tests is easier to modify because you can refactor with less fear. Immutability makes code easier to modify because you don’t have to worry about state changes affecting disparate parts of the program.

Etc... etc...

(Not saying that this is the only quality of good code or that you won’t have to trade some of the above for performance or whatnot at times).
I know this doesn't get you 100% of the way there, but pressing Cmd+Ctrl+D while hovering over a word brings up the "Lookup" window in Firefox 88 (similar to Safari).
Why would you choose to pretend you know less than you do?

Things are made by people and each individual person has their own background, circumstances and ideas. The culture of Bell Labs abetted (but did not cause) Unix and the sharing of source code. The lack of pressure to generate profit within Bell allowed Unix to use an unusual licensing model, which led to it being widely available in universities.

Context does not totalize - it allows and directs. Google has a business plan and a culture that promotes some things and prevents others. It's not a conspiracy - they're quite public about most of it. There are things that are possible at Google that are less possible elsewhere. We can, as participants and observers in culture, speculate about what is more possible and less possible in a Google OS project. To not do so would be blindfolding ourselves.

If you want to talk about something "outside" of its cultural context (if such a thing is possible), you certainly can - but will your conversation partners set the same things outside the context? Better to be explicit than blindly implicit imo.
Is it possible that your vi plugin is introducing some lag?
I don't know your age, but the fact that they're putting grab bars and foldable stair steps to get into a truck bed should tell you all you need to know about their practicality and incurrence of unnecessary back strain.
Articles like these make me feel better about never having read any of the 'how to code' books. Mainly substituting them by reading TheDailyWTF during the formative years.
Truly stunning interpretation
The cost of continuing support is increased decoder complexity. The simplicity/orthogonality of the ARM ISA allows simpler instruction decoders. Simpler, faster, and easier to scale. Intel and AMD instruction decoders are impressive beasts that consume considerable manpower, chip space, and physical power.
Really? How does your government operate? How does it build roads?
I know it’s a joke but if the failure mode is “brakes don’t work” on an escalator full of people, it is much worse than stairs
>My understanding of U.S.A. First amendment is that government won't infringe on your right of free speech. It doesn't say you can come into my home, workplace, store, or website and yell what you want on my property.

This is exactly my point. If we are going to classify online discussion on platforms like Facebook as being protected free speech, there is no way that we can allow those services to be in control of who gets to say what. The government has an obligation to provide an acceptable platform for citizens to have online discussions in that case which would actually serve as a digital "town square", protected by our first amendment rights. Anything else becomes a de facto infringement of those rights. And saying "well you can build your own website" is naive and missing the point. To put a barrier like that in front of the exercising of one's rights is tantamount to a digital Jim Crow.
Please and thank you - https://www.salesvista.com/
That's the same as the argument for the PLCAA, which has been under direct attack for a while and may get changed.

Laws can change, and section 230 is not the only possible "sensical" one.

The First Amendment is a big rock to hide behind. But there are other avenues of attack that are clearly possible.

Those attacks will happen when people feel that the spirit of free speech is truly being threatened, where politicians can't effectively reach even people who want to hear from them.

Edited for clarity.
It's just acceptance that US and UK are now joined at the hip, when it comes to security.
Ampere ARM Servers in Oracle Cloud
Yes, we get it..
FWIW the clean code approach led me to this pattern which has allowed me to build some seriously complex systems in JS/Node: https://ponyfoo.com/articles/action-pattern-clean-obvious-te....

I agree with the sentiment that you don't want to over abstract, but Bob doesn't suggest that (as far as I know). He suggests extract till you drop, meaning simplify your functions down to doing one thing and one thing only and then compose them together.

Hands down, one of the best bits I learned from Bob was the "your code should read like well-written prose." That has enabled me to write some seriously easy to maintain code.
woah shots fired
Canada has pretty high standards though. You need some combination of language proficiency, education, skills, youth, health, and wealth.

There are countries that will let "anybody" in. There are countries that take large numbers of immigrants. I seriously doubt there are countries that do both.
https://fuchsia.dev/fuchsia-src/development/hardware/intel_n... describes which NUCs are known to work.
I understand that the people that follow Clean Code religiously are annoying, but the author seems to be doing the same thing in reverse: because some advice is nuanced or doesn't apply all the time then we should stop recommending the book and forget it altogether.
Where are you getting 28? https://mirrors.ocf.berkeley.edu/gnu/emacs/ only shows up to 27.