The door refused to open. It said, "Five cents, please."
He searched his pockets. No more coins; nothing. "I’ll pay you tomorrow," he told the door. Again he tried the knob. Again it remained locked tight. "What I pay you," he informed it, "is in the nature of a gratuity; I don’t have to pay you."
"I think otherwise," the door said. "Look in the purchase contract you signed when you bought this conapt."
> Dan would eventually find out about the free kernels, even entire free operating systems, that had existed around the turn of the century. But not only were they illegal, like debuggers—you could not install one if you had one, without knowing your computer's root password. And neither the FBI nor Microsoft Support would tell you that.
It is, not so much so that the concept is not without precedent ("book burnings" are quite famous throughout history), but that the book burnings will be conducted by corporations that also have all the data on those who ever read them, and not to mention they are the ones who initially made money selling them in the first place.
In fact [blank] is a fantastic writing prompt for a dystopian novel, seems like a fun little game to play with friends.
You know it is not book burnings that concern me (they do a bit). It is more re-editing that will start to happen once they get the tech just right. They will edit problematic people in and out of old movies. At first it will be used for advertising. Such as switching one cola for another in scenes or a billboard in the background. It will be something like 'restaurant X has given us money to change billboards for a year'. Next year 'car company Y has given us money to change billboards for a year'. Then they will go bonkers with it. Do not like the dialog, because they said something you no longer agree with? Well run it through a couple of programs and they are now saying something else, or new and upcoming actor someone wants to promote. So you will see something then a few months later it will be edited and you will never see what you saw before.
Oh and it is already happening with adverts in some streaming movies.
And will we even notice when the books are “burned”? I have so many digital titles I think it would take quite a while for me to catch on if they were removed slowly enough.
Weird to think a book burning could happen right under our noses (literally!) without us even realizing.
I have been looking for a book title to express my discontent at the state of freedom and privacy in our rapidly all digital society today and what we can do about it.
There are several more cases of books being remotely disabled and I see this being used for censorship before long.
Which could happen system-wide because they turned off the DRM servers (a la Microsoft books) or maybe you've been deemed "unacceptable" on the platform.
> I was shooting heroin and reading “The Fountainhead” in the front seat of my privately owned police cruiser when a call came in. I put a quarter in the radio to activate it. It was the chief.
I'd like to have a serverless bug tracker, like Fossil, but for git.
Basically a bug tracker that stores the whole DB in the git repo but separately from the main tree. The tickets get synced when I push/pull, I can interact with them locally without needing an internet connection, without having to filter out projects, authenticate, etc. An open ticket would have my current branch/tag/commit as a default value for tracking, although it could be change.
And I really, really don't want notifications. Just a dashboard where the last things that are important to me are listed as long as I haven't marked them as read, and an access history.
Edit: consider having a look at the development version. While the core feature hasn't changed much, the webUI definitely improved. Also, the core became more robust and ready to accept more features easily.
Not very promising, it is written in a language which:
- is controlled by Google.
- doesn't support generics. Do we really want people to constantly rewrite basic data structure classes in 2021 and thereby reinvent bugs constantly (and waste time which could be spent on more meaningful purposes)?
Damn, these are some stupid arguments. Go is open source. Even if Google went rogue, there's nothing they could do. Go would just get forked by the community and that's it. As for generics, they're just nothing more than a developer convenience, they don't matter at all regarding what a product can do. Also they're planned in Go for next year.
> Go is open source. Even if Google went rogue, there's nothing they could do.
Have you ever used a library where the company who paid the development went "whoops, not our product anymore! poof goes the paid team, website, the community forums, the knowledgebase" ?
Usually nobody continues to maintain these after 90% of the workforce behind them gets fired and the surrounding infrastructure disappears.
Software is almost worthless without the brains behind it.
> As for generics, they're just nothing more than a developer convenience,
So you propose people write the 100,000th implementation of linked lists, maps, etc. because what they want to stick into it is not class A but class B?
> Also they're planned in Go for next year.
The fact it took years to plan them instead of including them right away is a nice proof of how ill-conceived Go is as a language.
It might have been nice as a toy to teach aspiring programmers. It shouldn't have ended up in production software.
> Damn, these are some stupid arguments.
Thanks. I consider yours as stupid too. How much progress exactly have we achieved with this wording now?
> Do you use the same argument when purchasing consumer products from shady countries which abuse workers?
This analogy makes no sense. You are comparing a product made through coercion and abuse of workers to a product willingly made with tools that you happen to have differing preferences on.
My point is NOT that Go would be made primarily through forced labor (although usage of money earned through the yield of the forced labor from ReCaptcha is rather likely).
My point is that Google is an evil company, and we shouldn't support evil entities by using their stuff.
And to make that point apparent, I mentioned other instances where people would think it is pretty obvious that "producer is evil = don't use their stuff", hoping that you would see there is no reason to act any different on Google just because they produce products which are of a type different from those that evil entities normal produce.
Because it really doesn't matter whether it is software or clothes or diamonds, if you use something publicly of someone you support them, and Google should not be supported.
Very valid points about recaptchas. Now, what does that have to do with the Go programming language that is FOSS?
Or are you calling for developers to essentially put restrictive sanctions on any and all Google products/projects?
And if so, are you actually holding yourself to the same standard? Never using a recaptcha? Never visiting a site that uses Google Analytics? Never watching a YouTube video? Never using a device which runs the Android operating system? etc., etc.?
Because you seem to be demanding such a standard from the rest of us.
> Or are you calling for developers to essentially put restrictive sanctions on any and all Google products/projects?
Yes.
> And if so, are you actually holding yourself to the same standard? Never using a recaptcha? Never visiting a site that uses Google Analytics? Never watching a YouTube video? Never using a device which runs the Android operating system? etc., etc.?
I intentionally enter a large percentage of invalid data into recaptchas to spoil their dataset.
Google Analytics is blocked by my ad blocker.
Same goes for ads on youtube.
With regards to using their stuff, I don't demand anyone should stop privately using it if they need it. You just shouldn't encourage any further people to use Google stuff by filling their ecosystem with more new software.
> I intentionally enter a large percentage of invalid data into recaptchas to spoil their dataset.
So do a few others. You are easily selected out as anomalous data, just fyi.
> Google Analytics is blocked by my ad blocker.
Great. Are you also blocking Google Fonts? Are you sure that Google is not hosting anything you are touching on a website?
> Same goes for ads on youtube.
But advertisers pay YouTube based on the viewership reputation of YouTube. You are merely providing a reduced amount of value to Google in this way.
> You just shouldn't encourage any further people to use Google stuff by filling their ecosystem with more new software.
Very honest question: Do you think you would have actually said this same thing about the C programming language in the 70s, 80s? Maybe you would have.
All in all, I am not sure that your stance justifies writing no code in Go which provides less value to Google's bottomline than even Google Fonts.
Perhaps some advertiser somewhere in the tech industry benefits from Google's public-facing Go packages proxy data for reaching a developer audience to sell to? Who knows? But, developers can turn that off and/or use self-hosted proxies.
Also, lone wolf retaliation is fine but not nearly as effective as just running for political office and being anti-Google.
This is such an oversimplification. Microsoft, Apple, Amazon, etc. are all guilty of ecosystem lock-in. Google in many ways is the most generous when it comes to open source and most of the hardware utilizing Google is by other manufacturers.
You are absolutely right! And this is why I avoid any and all software written in C due to AT&Ts prior evil monopolistic practices of the mid-20th century. /s
Yes but all those tools share one common problem: they leak their implementation or want to do too much.
The ruby one ask to gem install, the python one to pip install, the one in bash assumes Unix, the one in perl tells you to "make install" (!), radicle wants to replace my entire stack.
As a Python dev, I don't want to ask my front end experts or worse, my testing team, to setup an entire python env just so they can fill tickets. I just want to donwload an executable, and then fill in my tickets.
gitbug gives us binaries. You just execute it, and you are good to go.
Maybe one day, Python devs will take the time to use nuitka to produce binaries for their users.
Because as a dev, my attention is precious. To be productive, I prefer to pull information, than to be pushed information to.
E.G: HN doesn't push information on me. I can answer to you now because I know that at this very moment, I don't need to focus on something hard. But this afternoon, I will, and so I don't want to be disturbed and will just close this tab. Voilà, no distraction.
I don't need to be notified bugs: I don't work on them in real time. In the morning, I select the ones I will work on. New ones have little relevance to me until the next morning, which a dashboard will show me.
I need notifications on things like my clients calling me or my server failing. Those are the stuff that I need in real time.
The very first thing I do when registering with a new service, especially corporate/social ones is to go to the notification settings and disable everything but the direct message stuff.
I leave them enabled but email only, then I set up filters for each service to move it to */automated/jira directories automatically.
That way my inbox stays clear but I can speed run through first thing to make sure I’ve not missed anything, I also ruthless cull anything unrelated to my work, so any notification a project I don’t work on gets deleted.
This reduces several thousand emails a month to about 6 I actually need to see in my inbox.
Interestingly, the author classifies python as a brown language, yet it's on the top 15 of most loved programming languages.
Now, maybe it's because for a lot of people, it's a green language since it only became that popular in the last 10 years despite being an old one (1991).
But for me it's definitely a brown language, as I've been using it since 2.4 (we are at 3.9). And I must say, reading a decade old Python code bases, even with the 2=>3 transition in the middle, is still very easy.
I went back to a project I wrote 10 years ago (first commit 2011), and the code is clear. I can make changes to it with no problem at all. And it's not even a small project, it's a streaming website that still serves half a million users a day using an old Django.
Today I'm working for a client on a FastApi project. It uses all the current modern Python gimmicks, async, typing and f-string and so on. I could get into the code base in less than a day, and make my first commit.
I know Python has the reputation to not scale, not be good for big projects or big teams, but It's certainly not have been my experience.
The upcoming Python 3.10 has been controversial because it introduce some weird choices for pattern matching. But it's the tree hiding the forest:
- it's a sign the language is still actively evolving and will not become obsolete. Legacy design decision will always make adding new features an exercise in compromises.
- 3.10 also have been focusing on not-s-sexy but oh-so-important things like improving the error messages (I'm actually very excited about this, I've followed it and it's very well done)
So I'm pretty confident it's going to stay a brown, but nice language to work with.
Not that's it perfect, the more I use other languages, the more I can see the limits of Python. But I expect it to still be a solid choice for new projects for a long time.
I'm sure somebody said something like that when all those kids started to the clever abstractions that were functions instead of doing things manually in assembly.
This is just vapid snark. Of course some abstraction is helpful, but there's also a point at which abstraction impedes understanding. Ergo, we're debating where the "sweet spot" is. Note also that we can say "Go is the sweet spot for most applications" while also acknowledging that it makes certain kinds of programming difficult (e.g., writing a compiler). It's okay to recognize tradeoffs; there's no need to oversimplify or otherwise engage dogmatically.
Some developers don't want to use the ternary operator because it's "too complex".
I believe there's a middle ground to be found where further abstractions add complexity rather than reduce it. Where that middle ground is, I don't know.
That’s a strange definition of complexity. I can see people avoiding the ternary operator because the syntax is hard to read, but it’s no more complex than `if`.
> It is often best to avoid non-ASCII characters in source code. Indeed, in some cases, there is no standard way to tell the compiler about your character encoding, so non-ASCII might trigger problems. To check all non-ASCII characters, you may do [^\x00-\x7F].
Depends of the language. In Python 3, files are expected to be utf8 by default, and you can change that by adding a "# coding: <charset>" header.
In fact, it's one of the reasons it was a breaking release in the first place, and being able to put non-ASCII characters in strings and comments in my source code are a huge plus.
I mentioning this because in another article, the author said being used to code in "C++, C, Go, Java, JavaScript, Python, R, Swift, Rust, C#" so I find it kinda weird.
Julia makes typing unicode characters very easy; so easy that I keep a Julia repl open a lot of the time just for typing various mathematical symbols easily.
For example, to type α², you just type \alpha, hit the tab button to turn it into α, and then type \^2 and hit tab again to turn that into ².
If someone gives you a unicode character that you don't know how to type, you just hit the ? button to enter the repl-help mode and then paste the character in.
help?> α²
"α²" can be typed by \alpha<tab>\^2<tab>
search:
Couldn't find α²
No documentation found.
Binding α² does not exist.
> It is often best to avoid non-ASCII characters in source code. ...
>> Depends of the language. In Python 3, files are expected to be utf8 by default, and you can change that by adding a "# coding: <charset>" header.
It's interesting that many languages avoid unicode and non-ASCII text, yet they make assumptions about file and directory structures about the underlying system. It's as if interpreting directory and file system structures is "okay", but interpreting file formats is not.
> In fact, it's one of the reasons it was a breaking release in the first place, and being able to put non-ASCII characters in strings and comments in my source code are a huge plus.
Sorry, but as a Python dev that went from 2 to 3, yes native unicode features are nice, but no, it was not worth breaking two decades of existing code.
As somebody living in Europe, I think it's a perspective you can have only if you live mostly in an English speaking world.
Up to 2015, my laptop was plagued with Python software (and others) crashing because they didn't handle unicode properly. Reading from my "Vidéos" directory, entering my first name, dealing with the "février" month in date parsing...
For the USA, things just work most of the time. For us, it's a nightmare. It's even worse because most software is produced by English speaking people that have your attitude, and are completely oblivious about the crashing bugs they introduce on a daily basis.
In Asia it's even more terrible.
And I've heard the people saying you can perfectly code unicode aware software in Python 2. Yes, you can, just like you can code memory safe code in C.
In fact, just teaching Python 2 is painful in Europe. The student write their name in a comment ? Crashes if you forget the encoding header. Using raw_input() with unicode to ask a question? Crashes. Reading bytes from an image file ? Get back a string object. Got garbage bytes in string object ? Silently concatenate with a valid string and produce garbage.
> As somebody living in Europe, I think it's a perspective you can have only if you live mostly in an English speaking world.
I live in Europe and I (mostly) agree that (most) code shouldn't (usually) contain any codepoint greater than 127.
It's a simple matter of reducing the surface area of possible problems. Code needs to work across machines and platforms, and it's basically guaranteed that someone, somewhere is going to screw up the encoding. I know it shouldn't happen, but it will happen, and ASCII mostly works around that problem.
Another issue is readability. I know ASCII by heart, but I can't memorize Unicode. If identifiers were allowed to contain random characters, it would make my job harder for basically no reason.
Furthermore, the entire ASCII charset (or at least the subset of ASCII that's relevant for source code) can easily be typed from a keyboard. Almost everyone I know uses the US layout for programming because European ones frankly just suck, and that means typing accents, diacritics, emoji or what have you is harder, for no real discernible reason.
String handling is a different issue, and I agree that native functions for a modern language should be able to handle utf8 without crashing. The above only applies to the literal content of source file.
I understand to not want utf8 for the identifiers, as you type them often and want the lowest common keyboard layout demonitor, but comments and hardcoded strings, certainly not.
Otherwise, chinese coders can't put their name in comments? Or do they need to invent an ascii names for themself, like we forced them to do in the past for immigration ?
And no hard coded value for any string in scripts then? I mean, names, cities, user messages and label, all in in config files even for the smallest quick and dirty script because you can't type "Joyeux Noël" in a string in your file? Can't hardcode my "Téléchargements" folder when in doing some batch work in my shell?
Do I have write all my monetary symbols with escape sequences? Having a table of constant filled with EURO_SIGN=b'\xe2\x82\xac' instead of using "€"? Same for emoji?
I disagree, and I'm certainly glad that not only Python3 allows this, but do it in a way that is actually stable and safe to do. I rarely have encoding issues nowadays, and when I do, it's always because something outside is doing something fishy.
If we're still talking about Python 3, you can also write,
EURO_SIGN = '\N{EURO SIGN}'
Which is ASCII, and very clear about which character the escape is. I wish more languages had \N. That said, I'm also fine with a coder choosing to write a literal "€" — that's just as clear, to me.
While I don't believe the \N is backwards compatible to Python 2, explicitly declaring the file encoding is, and you can have a UTF-8 encoded source file w/ Python 2 in that way.
I'd also note the box drawing characters are extremely useful for diagrams in comments.
(And… it's 2021. If someone's tooling can't handle UTF-8, it's time for them to get with the program, not for us to waste time catering to them. There's enough real work to be done as it is…)
You can do Unicode in Python 2. You can do Unicode faster and easier in Python 3. But by gaining that ability, they set the existing community back by 10 years.
In shell scripts especially (and sometimes elsewhere), if I want an ANSI escape code, I’ll type the actual bytes I want, because it’s more reliable and easier to type <C-V><Esc> and see ^[ in Vim than it is to worry about whether I’m using \u001b, \u{1b}, \x1b, \033 or something else, and whether I have '', "", $'', $"", printf, echo -e, &c. &c. Speaking generally, if you use the actual control characters, the code will either fail to run (parse or compile error) or work, whereas encoding your control codes with escape sequences is more hit and miss. I’ve seen quite a few others using control characters in this way too.
Truth to tell, I’m quite liberal in using all of Unicode in my source code. About the only places I wouldn’t use the actual characters are when (a) the environment requires me to escape the thing; (b) the numeric values of the characters are more meaningful than the characaters themselves; and (c) when dealing with combining characters and modifiers, because otherwise they’ll do things like combine with the opening ' from the string/character literal.
In Emacs Lisp it's common to to include real ^L specifically to trigger page breaks from when printing code was more common (and it has page-aware navigation commands accordingly).
I've been repeating it in several threads already, and this post confirms it: if you haven't tried Vite yet, you really should. It will take 15 minutes, and if you do any Vue and/or React dev at all, it will be the best 15 minutes you ever invested in a tool.
It's fast, it works out of the box with sane default, it's fast, doc is stellar, it's fast, it support ts, jsx and sass. Also, it's really fast.
Between Vue and Vite, in 10 years Evan You is going to be known as the person who made frontend dev simple again.
The problem with such experiment is that it can be a front. If you are a big entity, gov, or whatever, and you need to insert a vulnerability in the kernel, you can start a "research project". Then you try to inject it with this pretense, and if it fails, you can always say "my bad, it was for science".
It uses BT right ? So how can it be useful on luggages, like in their ad ? If someone steals it or the airport lose it, BT is of not use here, isnt it ?
Someone help me undertand, it's a genuine question.
"If AirTag is separated from its owner and out of Bluetooth range, the Find My network can help track it down. The Find My network is approaching a billion Apple devices and can detect Bluetooth signals from a lost AirTag and relay the location back to its owner, all in the background, anonymously and privately."
And before you fly off the handle about privacy: yes it is secure, yes it is encrypted, no Apple doesn't know where your shit is either.