2,587 karma · joined Jul 5, 2018 (8y ago) · 324 submissions
website: www.codesections.com
public key: codesections.com/pubkey.txt
email: daniel@codesections.com
mastodon: fosstodon.org/@codesections
github: github.com/codesections
discord: discord.com/users/555470786677440524
I am also the 'codesections' user on: gitlab, github, stack overflow, libera.chat, reddit, tildes, lobste.rs, and probably other sitescomment 6y ago · link · parent
> I don't think [running apps directly as OS packages] is more secure than [running apps via flatpac]
The article's claim is that running them via flatpak _is_ less secure because they don't automatically get security updates when the distro's libraries are updates and, as a result, they're less likely to receive prompt security updates. Do you disagree? If so, why?
comment 6y ago · link · parent
183.
Beyond Dynamic vs. Static Types (2015) [video](ftp.heanet.ie ↗)
4 points · by codesections · 6y ago · 1 comment
comment 6y ago · link · parent
This so fundamentally misrepresents the Foundation series that it causes me to doubt the rest of the article. I realize that it's pretty tangential, but it's literally in a book. If the author doesn't get facts right when they can check them at their local library, it's hard for me to trust their accuracy when it comes to the genuinely hard stuff.
Or, for that matter, forget checking their local library. Just reading to the end of the _summary_ of the Wikipedia article[0] would have gotten them this quote:
> A key feature of Seldon's theory, which has proved influential in real-world social science,[3] is an uncertainty or incompleteness principle: if a population gains knowledge of its predicted behavior, its self-aware collective actions become unpredictable.
comment 6y ago · link · parent
comment 6y ago · link · parent
That's a really interesting question. I guess some of it comes down to whose perspective we're looking at the software from. I'd tend to look at it from the author/mountaineer's point of view: If Bram Moolenaar had declared that Vim was complete with version 7 and would never add major features like async/JSON support, I'd probably say that the program was "finished", even if it lacked certain features that I'd like it to have. (Those missing features might cause me to use a different piece of software, but I don't think they'd give me cause to complain that the hypothetical Vim was "incomplete")
(And, indeed, there was a period ~5 years ago where it looked like Moolenaar might go that route, especially with respect to async support. My understanding is that his initial unwillingness to add async support/other new features was a big part of the impetus for Neovim.)
> The only way a piece of software could ever stay "finished" without getting new features is, if it was used for something that no longer sees any change happen or any new requirements emerge - it basically has to be a completely non-evolving field of work with static, unchanging requirements.
I'm not sure that the entire _field_ needs to be static. For example, Quake strikes me as a finished piece of software – that doesn't mean that video games (or even first person shooters) aren't evolving. It just means that Quake carved out a narrow section of that field and finished delivering on its design goals within that narrow slice.
comment 6y ago · link · parent
> Let's look at your example: VIM. According to criterion A.) it is finished - because it has a complete and stable set of core features, which haven't changed much in many versions (and many years).
From my point of view, that's not an accurate description of Vim. Vim 8 (released in late 2016) added several new features. Most notably:
> Vim can now exchange messages with other processes in the background. This makes it possible to have servers do work and send back the results to Vim. See |channel-demo| for an example, this shows communicating with a Python server.
(Source: https://raw.githubusercontent.com/vim/vim/master/runtime/doc... )
I personally view this as a major new core feature – one that enabled a whole new class of plugins, including many Language Server Protocol plugins. For the ways I use Vim, that's a core feature. Maybe it's not a core feature for you, but that's exactly my point: what is and isn't a core feature depends entirely on an individual's usecase.
> Let's look a different example - I suggest looking at a piece of imaginary vaporware. Maybe a few design documents exist - but not a single line of code has ever been written.… According to criterion B) this software does count as finished - because no new features are being added.
I agree that criterion B) would characterize this as "finished", but I disagree that it would count as "finished _software_". Maybe it's a finished design document, but if no software was produced, then it's not finished software.
Incidentally, it's obviously possible for software to be both 100% finished and not very useful. For example, the K&R C "Hello, world" program is finished – it doesn't need any updates and perfectly fulfills its specification. But that doesn't mean I'm planning to use it daily!
comment 6y ago · link · parent
comment 6y ago · link · parent
That's not really how I read the linked Wikipedia article. It says:
> Notepad was added to the Microsoft Store in August 2019… [and will be] receiving updates through the Microsoft Store. This will allow updates to the app to be delivered more frequently.
I read that as indicating that development is ongoing.
comment 6y ago · link · parent
comment 6y ago · link · parent
[0]: https://www.howtogeek.com/359042/everything-new-in-notepad-i...
193.
Ask HN: What finished/done/complete software do you use?
39 points · by codesections · 6y ago · 76 comments
comment 6y ago · link · parent
Most of it? The hardware, OS, web browser, window manager, terminal emulator, and text editor all are, anyway. There are a few proprietary bibs and bobs, but really not that many.
> Go and check all gadgets in your house which contains a microcontroller or cpu, how many of those can you get the source code for?
My impression is that most of this IoT-type devices run Linux of some variety. They might have some proprietary stuff on top (though not a ton, given the GPL), but that seems to be basically another check in the "open source" column.
> Ask your car manufacturer for the source code of all its systems.
Well, it's a Toyota, so it's running Automotive Grade Linux, so…
> Does it really need to be checked? Seems blatantly obvious to me that most software is proprietary.
It doesn't seem blatantly obvious to me, but it's interesting to hear your perspective
comment 6y ago · link · parent
I found this claim surprising. I would have guessed that the narrow majority of software produced these days is open source, but I don't have a citation for that. Do others agree with the article's "vast majority" claim?
comment 6y ago · link · parent
I'm curious how these would compare with the Keyboardio Atreus [2], which I've been considering for a while. The Atreus isn't tented, but it's also significantly smaller, which seems like something that might be helpful in reducing RSI
[0]:https://www.amazon.com/Microsoft-Natural-Ergonomic-Keyboard-...
[1]: https://www.amazon.com/Kinesis-Advantage2-Ergonomic-Keyboard...
comment 6y ago · link · parent
As funny as this is, the actual origin for "grep" is even more interesting – and, at least to me, quite mnemonic. "grep" comes from ed, and stands for the command "g/re/p", that is
global/regular expression/print
https://en.wikipedia.org/wiki/Grepcomment 6y ago · link · parent
Fortunately, my preferred programming language, Raku, makes creating this sort of subset trivially easy[0]:
subset UnitInterval of Real where 0 ≤ * ≤ 1
[0]: https://docs.raku.org/language/typesystem#index-entry-subset...comment 6y ago · link · parent
I am licensed attorney and a full-time software developer and I agree 100% - there are remarkable similarities.
(And there are strong parallels between big tech and biglaw, especially for junior devs/associates, but that's a bit of a tangent)
comment 6y ago · link · parent
You're right, it wouldn't. (In general, under US law. I am a lawyer but this post isn't legal advice).
The term for that sort contract is "browsewrap" and US courts have consistently declined to enforce them.
comment 6y ago · link · parent
Reading this list, I'm struck by just how mainstream the languages are. I don't have anything against Python or Ruby, but it'd be hard to describe either as a secret weapon — indeed, about the only "secret weapon" languages on that list are Lisp and Elixir, each of which shows up only once.
comment 6y ago · link · parent
That is, from any objective viewpoint, absurd. Moreover, it's a recipe for talking yourself into an ever-extended stay in a situation that, fundamentally, doesn't comport with your values. I don't say this to attack the OP – I've seen the same process happen to good people, seen people feel "poor/underpaid" while making $200k.
Instead, my focus is on the other people. Pay attention to OP, and realize just how powerful an influence the right (wrong) "circle of friends and family" can be. Imo, you should think very carefully before spending your life around a circle that would cause you to think financial security requires $7 million.
comment 6y ago · link · parent
I think it's important to distinguish between two types of changes: changes in factual information versus changes in values. If someone changes their mind because they have more information, then that's basically fine (it could be bad if the new information is wrong or misleading, of course, but there's no fundamental objection). And working at a company does sometimes lead to this sort of change (learning about confidential info, for example).
If someone changes their views based on something other than facts, though, it means that their values have changed: something that used to be important to them no longer is, or something else has grown in importance. In my experience, this sort of change is much more common when someone works for an employer for a long period of time – it's not that they have learned important new facts about that employer, it's just that they are now culturally "on the inside" and don't want to think ill of their friends and colleagues (there's that cognitive dissonance again).
You asked "who are we to tell them what's wrong and right?". I believe that we _can_ legitimately criticize someone else's value system, but that's getting into (admittedly contended) philosophy.
Instead of wading into the philosophical debate, I'll just say this: Most people don't want their values to change (that's almost what it means for something to be a "value": you value it!). And (imo) most people significantly underestimate the amount of values drift that can take place for purely social reasons. Given that I care about living up to my values, I don't want to hack my brain in ways that make me stop caring about those values. And that's just as true when the change to my brain comes from working ~5 years with basically decent folks as if it came from brain surgery. (And, imo, smart nerds are especially at risk of underestimating how much their values can drift based on their peer group.)
comment 6y ago · link · parent
First: you might have more impact on the organization from the inside than from the outside (this is most relevant to people joining at a high/senior level). For example, Google seems to be making privacy far, far worse. Yet there are some people on the inside fighting to limit the privacy violations, which leads to decisions like banning GPS tracking in their contact tracing app[0]. Would the world be better or worse off if the only people working at Google were people who don't care at all about user privacy? I'm honestly not sure, but I can at least see an argument that it might be even worse off.
Second: you might get something from the organization that lets you do good that outweighs any harm you contribute to (this is more relevant to junior employees). Many employers provide something (training, future job opportunities, or a high enough income to open your own small business/non-profit). A thoughtful employee can go into a "negative impact" employer with eyes wide open and a plan to get something, and get out.
However, in either case, self awareness and a definite exit plan are _key_. As Drew writes, once you are working at a "negative impact" employer,
> Doublethink quickly steps in to protect your ego from the cognitive dissonance, and you take another little step towards becoming the person you once swore never to be.
The way to avoid that sort of conative dissonance is 1) know that you'll experience it and be on guard against it, and 2) know all along that you're there temporarily and should never get too comfortable. Even then, you should be realistic about how long you can maintain your personal values in face of a very different culture. For a junior employee, I'd say two, maybe three years should be the absolute limit before you get out.
[0]: https://www.reuters.com/article/us-health-coronavirus-usa-ap...
comment 6y ago · link · parent
Wasn't Perl used pretty extensively for sysadmin tasks, too? It's a dependency of a lot of Unix tools (e.g., git) and I thought that dated to around that time or a bit before.
For what it's worth, this video[0] gives the following percentages for some dynamic languages in 2008:
JavaScript....21%
PHP...........21%
Python.........8%
Ruby...........4%
Perl...........4%
Matlab.........3%
=================
TOTAL.........60%
(I totally forgot about PHP earlier. Oops!)So I stand my my initial claim that it wasn't the case that the _vast_ majority of programmers had yet to experience a dynamic language. Though I can understand it seeming that way to Atwood; didn't he mostly do application development?
[0]: Most Popular Programming Languages 1965 - 2019, https://www.youtube.com/watch?v=Og847HVwRSI
210.
Most Popular Programming Languages, 1965 – 2019(youtu.be ↗)
1 points · by codesections · 6y ago · discuss