Better HN
topnewbestaskshowjobs
Log inSign up

fsckboy

8,214 karma · joined Nov 7, 2019 (7y ago) · 5,323 submissions

and those who were seen dancing were thought to be insane by those who could hear that there was no music.
Submissions

comment 3y ago · link · parent

why would you show a missing trailing linefeed? it's missing... do you mean it will do a single CR-LF whether there was a NL there or not?

comment 3y ago · link · parent

> It even has a bell character. This has no reason to be built into our text format.

it's not built into our text format (our being us,-unix-before-unicode). It's built into the terminal.

The file format is 8-bit clean as it should be, any other values are going to have to be out-of-band. The unix stream format follows the file format, with the exception of

the terminal format (and the comms format) is 7-bit ascii with varying amounts of ANSI control, but that's on you, you bought the terminal...

comment 3y ago · link · parent

the way I used to crop photos they moved/broke, so now I have mypaint installed so I can use it for cropping. Then I switch back to gimp. It's used, but not usable, a bit like a used car.

comment 3y ago · link · parent

> Unless you hide it all with NAT, but if you're doing that then you're losing lots of the benefits of more address space.

it enables a graceful transition period

comment 3y ago · link · parent

Anybody ever played Cranium? Humans cannot name songs their friends are humming. Therefore, a true AI should also not be able to, or perhaps it's the singularity at the first moment they can...

comment 3y ago · link · parent

If you were going to invest your own money in somebody for them to start a business, would you choose somebody who had been living off government handouts, or somebody who had gotten a job, worked a job, and thus learned something about how a company operates? which resume looks better to you? What if they actually worked a job in the field they wanted to start the company in?

If you want to see more such resumes, what incentives should the government offer for resume building?

comment 3y ago · link · parent

the trick is actually to add the extra bytes on the back end.

192.168.8.9.0.1.2.3

old devices get accessed the old way. new devices "know" about the add ons. The new part of the address travels inside "as data" so it gets delivered.

as company firewalls and routers switch to new, the whole company needs only one "old" ip. To get the ball rolling, spend some time deploying before it's switched on.

All those early adopters who have class A networks? They can go first this time too, freeing up their class A's quickly to facilitate the transition for everybody else.

source: this was my idea for phone numbers back when they kept rejiggering area codes.

comment 3y ago · link · parent

hopefully the goal of modern technology would be "don't catch fire" more than "survive the fireballs!"

comment 3y ago · link · parent

> even the stock market is viewed by a lots of people as something of a gamble

the majority of people don't have formal training in probability and statistics, not to mention limit theorems and finance, so who cares how they view the stock market? I mean, I care, in the sense of educating people but most people don't really want to put the time in.

stocks and gambling both have risk, but only stocks reward many/most types of risk; gambling does not. The expected value of stocks is positive; gambling is not.

What people are trying to say about stocks is that they are stochastic, and so is gambling.

on the larger topic, Crypto also does not reward risk or offer a positive expected value. It's stochastic nature is driven by the changing opinions people have about it, or secondary effects from how much other stochastic markets might rely on it. Mining bitcoins is stochastic from the point of view of a miner, but not really from the point of view of the market or at any scale, but without a productive use case providing a reward, no postive expected value and the reward for risk ("you got a coin") is not above the cost of mining, at least not for long.

comment 3y ago · link · parent

(i don't mind if people use a rude tone, we're human. i just don't like when people are wrong, or interpret others wrong)

in corporate environments, it is not easy to (nor should it be) to require every desk to install Go. If you are hired to script something (and scripts are even more important in corporate environments) and require a new piece of software to be installed, and a new language for staff to maintain, it's imposing a great burden and could very well be rejected.

I don't not know what I'm talking about, and I'm not trying to FUD, I'm trying to suggest "gird your loins". But also, I said that was not the point of my comment, I just didn't want you to think that through my silence I had accepted your earlier suggestion.

comment 3y ago · link · parent

westerner here, i once read a story (that could very well be apocryphal, but the moral is true nonetheless) that the ancient east asians had invented metal spoons and such, but with ancient metallurgy the metals would impart a taste in your mouth. So, chopsticks were invented to allow the food to be placed in the mouth without any "foreign object" contact. That tremendously increased my enjoyment of eating with chopsticks, and made me not care about the inconvenience.

I have a speaks-chinese assistant, and when we have asian lunches I always use use chopsticks and she uses spoons, and also thinks I'm crazy. By coincidence I just told her this story last week (because I didn't want her to think I'm an effete weebo or something) and afterward she mockingly bowed to me and said "thank you round eye for teaching me the old ways"

comment 3y ago · link · parent

"yes! thus," i suggest, "my comment asking the question that led to this should not be at -4! i feel like my comment got crushed in the collapse of a star!"

comment 3y ago · link · parent

I wrote another comment, I guess I didn't post it. Perl made a run at being the standard middle layer language like bash 30 years ago. Learning perl back then was different than for people to learn today. Back then, everybody would have known bash, and awk, and grep, and sed, and perl borrowed the their syntax/semeantics so as soon as you started using it, it was like you alrady knew it. But perl followed a trajectory of being more complicated and less intuitive, so nobody wanted it to replace the shell, but it could have had things gone differently.

bash used to be "a shell" and "the shell" before graphical shells became the norm. Now bash is a REPL and programming language, and you need to run an "ANSI terminal shell" to access it :)

1. the command line has a syntax of it's own ("readline", generally standard across different shells, in this instance enforced by bash) and then

2. bash has its own language you can use, turing complete, with if-branches and loops, functions, some return values, global values (env) but also file i/o can be used as up-down argument passing, i/o and you can call readline over and over

3. there are certain conventions for "filters" that fit into the above framework, and they impose a small variety of contentions onto the command lines which nest within readline syntax.

it has warts, and I really wish there was a general desire to fix them, but I guess I'm going to have to want it enough to do it myself because i've had the same ideas for 30 yrs now and nothings been happening :(

last point, people aren't picking up on the importance some of us place on a language which can script that is the same language that is the command line. We don't want two languages, we want one. i.e. a language with a REPL

comment 3y ago · link · parent

> "Shot on iPhone" hence has 2 perspectives.

Apple's perspective is that they want to sell a lot of iPhones. They don't care what 1% who have access to professional gear do. There are a huge number of young people who can afford iPhones and can't afford much additional gear, and want to be "creators". They'll do all the learning and work they have to do.

This will sell more iPhones, whether it makes better content or not (it will because more people trying, but that's not Apple's business)

comment 3y ago · link · parent

there are slick/slippery food pieces that can be extremely difficult to pick up with chopsticks. better/more stable chopstick skills (like this robot has) definitely help, but still a part of the problem is caused by the indirectly applied force on the two thin sticks. 3 or 4 chopsticks would be improvements.

hmm, just realized, I've been on a kick to learn to do things left-handed so if I lose by abilities with my right hand I'll be ready. Or just becuase it's annoying to asymmetrical. So, I just realized if I learn to use chopsticks with my left hand, I will have 4 chopsticks at my disposal. I will be a force at the dinner table with the ha cheung.

comment 3y ago · link · parent

I can't go along with your reasons at all (installing go on every machine is not solving a portability problem, it is the portability problem) but I'm going to leave that aside.

can Go be used REPL as a shell CLI? and do everything I need to do from the CLI? because that's why I use bash for scripting. An equal amount of time I spend typing at the command line, and I one language is the language I want to use.

comment 3y ago · link · parent

The title of the book (perhaps a more useful title) is

Efficient Linux at the Command Line: Boost Your Command-Line Skills by Daniel J. Barrett 2022

perhaps the book should be called Efficient Bash at the Command Line: Boost Your Linux Skills. It has a little table at the end that says "if you use a different shell". Not sure if this type thing suffuses the book a tall

comment 3y ago · link · parent

A file is "of a type" if there exists some agent (program X or human H) that creates/writes such files, and whereby there exists some agent (program Y or could be Y==X or human I or could be I==H) that reads/modifies such files, and whereby the entire contents of such files can be made use of or understood in a useful/meaningful way; and other files not of the type's contents either can't be made use of meaningfully nor updated. Some file types may be sub- or super-sets of other file types (ex: .C source files are .TXT files, but .TXT source files are not necessarily .C files, they could be .CSV files) And files could be streams.

might wish to discuss files containing type information, and data/value information both, thus numerous but different valued files can all be of the same type.

you can get fancier if you want and talk about valid C source files or C source files which contain bugs, etc.

you could consider a file "weakly or adhoc typed" if there is only one or a pair of agents that use that type, and "strongly or standard typed" if there are numerous "different/distinguished" agents that "rely" on that file type.

this was off the top of my head

comment 3y ago · link · parent

is the modern pedigree/provenance of value because you don't want to buy stolen coins? or is it faked coins? or something else?

I favor provenance, but my primary interest is ancient provenance.

Authenticity of course, but I find coinage of obscure satraps with brief reigns interesting just because they nail down a small geography and time period, as opposed to say an Alexander the Great coin which, who knows, there were a ton of them everywhere.

comment 3y ago · link · parent

why pay a fee to go into a museum and look at interesting old stuff? you'll never get adequate compensation for that cash!

people do have other values than simply the value of melting King Arthur's crown.

comment 3y ago · link · parent

do you mean that altman's companies have killed these companies, or just his association to these companies?

comment 3y ago · link · parent

if there's any money at all, employees get their pay. Shareholders can be forced to go in their pockets and pay employees wages due.

I don't know of this happening to a large corp, but if a local restaurant goes bankrupt, or a local construction company, and the owner is not also bankrupt, they can be forced to pay employees. Usually they are also bankrupt. Not sure if those debts survive through personal bankruptcy.

You may be referring to employees losing retirement or other benefits like that, but the worst of those loopholes have been closed (the pension can't be in the company's own stock, that type of thing)

comment 3y ago · link · parent

Planck the scientist? The Planck length is 10 to the −20 times the diameter of a proton. Why are we using something so small to talk about galactic distances?

comment 3y ago · link · parent

> This black hole is apparently very good evidence that these early SMBHs did not form from star collapse but may have formed from gas clouds collapsing directly into black holes.

I'm no expert, but wouldn't it make sense that in a non-uniform expanding explosion, the densely packed areas would behave the way density behaves? If the universe expands over time, isn't it denser near the beginning, allowing large scale density events to take place early in time? Couldn't a dense universe have allowed supermassive stars to form that just immediately collapsed?

It's cool to discover it or anything else, but I'm not clear on why we should be surprised?

comment 3y ago · link · parent

Chapter 11 petitions have been accurately and usefully described in other comments, I justed wanted to add, chapter 11 doesn't "cap" or "downfall" anything, just as record profits don't cap or downfall anything. It's an orderly measure to try to preserve as much value as possible for stakeholders.

comment 3y ago · link · parent

just a guess from what he said, sounds like she was locked in the apt (what/why she would have to pay for) and that's why the police knocked down the door, and "kidnapping" and/or "involuntarily holding someone (hostage for some material reason?)" might fall under the same law.

comment 3y ago · link · parent

That's pretty good good overall. But it's acceptable to pick a fight here over functional vs imperative programming, undefined behavior vs ...I don't even know what the opposite more intelligent camp is called because the undefined behavior crowd, who I resent, have done such a thorough job of making it sound like a bad thing when it was included for very good practical reasons (e.g. pointers on different architectures were implemented different ways; you had to code for your architecture; you were unlikely to port your code; when you did port it, you ported it; C was actually sort of genius about it). So I've just expressed ideas, and disdain, which is what I wished to say.

People complain about the ugliness of politic, but free politics arises mostly out of democracy, before democracy average people could only express politics during bloody revolutions. So I don't see anything wrong with fighting (with words) about things we care about. The people who keep talking about undefined behavior have an agenda. So did the people who ruined the liberal arts. They were open about wishing to expel the people and ideas that they expelled. I'm not against expulsion, I wish to expel them. But at the same time I bring up the explicit ideological reasons. If you urge conciliation and compromise, great, join me, and put the Western canon back into the curriculum, we don't need to remove post-modern writing, just look at it askance, as any good skeptic should. If you don't want to do that, I don't want to cooperate with you. If writing things in a nice way hides what you want, I want no part of it.

"language not kingdom" was a nit, but as another nit, when I read the orig, my brain had me thinking I was going to be reading about England, so that's what was on my mind. en.wikipedia would have been more understandable to me, and till this moment right now, I never considered that different *.wikis would have different enough sensibilities that Wikimedia's PR machine would make that language distinction in a PR puff piece they planted. I guess they might be saying, "we've kicked retrograde ideas out of en.wikipedia, now we're turning our attention to the others."

Because, having experience with PR, I believe that the original article under consideration here is a PR piece, attempting to push back against the articles and ideas I'm expressing and that i linked to, that en.wikipedia is already ideologically captured by people who in private and sometimes in public talk exactly the way I'm talking, just in the other direction.

I do salute you for writing a nice response, it's possible missed somethings you said, but this is what came to my mind as I replied.

add on: postmodernism vs personal truth and lived experience. Postmoderism started as an art movement, where art has an academic tradition of exploring ideas and moving on, not persuading the middle classes to live that way; being associated with anything middle class is anathema to art. Personal truth and lived experience are much easier, and much more worthy, to ridicule.

1
949596
178