Better HN
topnewbestaskshowjobs
Log inSign up

drpixie

1,659 karma · joined Apr 30, 2018 (8y ago) · 540 submissions

Submissions

comment 4y ago · link · parent

And ...

Question: Is the meta company doomed?

Answer: To explain, the Meta company is doomed because it is a company that is not profitable.

comment 4y ago · link · parent

Yes - that's the whole point of language models ... to model the language, and not the content.

Similar for image generation - the model addresses what looks acceptable (like other images), not what makes sense. It's amazing that they get such interesting results, but merely shocking that we humans interpolate meaning into the images.

comment 4y ago · link · parent

You asked the obvious question - you already know the obvious answer ... the only difference is bitcoin got there first and that scheme grew bigger than the other schemes.

comment 4y ago · link · parent

Similar, I know lots of people who were interested & curious, but none who are now involved. That's a small sample, but it's what I see.

comment 4y ago · link · parent

I've found make to be fine, if you avoid those fancy newfangled "features" and use rules and variables. It even has default rules for building C and for linking!

comment 4y ago · link · parent

I hadn't noticed LibreOffice lags any worse than MS-office. But, if you haven't tried, for anything bigger than a chapter or so, do yourself a favour and try a "proper" typesetting system - LaTeX, SILE, or the like.

There will be a learning curve but I find my attention stays on the content, as I'm not continually distracted by the format issues that are better delayed until the text is complete.

You'll want a reasonable text editor with spell checker, preferably one that knows to ignore formatting commands. Note you will end up with PDF output - if you really have to submit docx, my condolences!

comment 4y ago · link · parent

This has come up occasionally on HN, but is worthy of acknowledgment and genuine discussion. Fabulous to see someone talking about our world with optimism and hope, instead of falling back onto the primitive marketplace ideology that has seeped into our subconscious.

"The magic of software is that there is virtually no marginal cost!"

"But isn’t it ironic that same reality of zero-marginal costs – the foundation of these incredibly profitable commercial software empires – is the same one that allows us to reject the market-based framing of collaboration altogether!"

"Again, I’m not saying this is a universal truth, but I am saying that it’s a possible truth. An experienced and enduring truth for the work and the community that has been happening around Rails."

398.

I won't let you pay me for my open source(world.hey.com ↗)

7 points · by drpixie · 4y ago · 2 comments

comment 4y ago · link · parent

We (the industry) are still so quick to disregard the benefits of strict typing.

"Back in the day..." I worked on a collection of vital (to the company) infrastructure apps written in Borland Turbo (object) Pascal. Strong static type checking was enforced by the language. Good type design and strict type checking meant that it was normal that when a program compiled, it was bug free!

Much as I enjoy the flexibility of python, I know that every refactor or significant change means that there are now execution paths that have not been exercised - the burden of comprehensive testing is enormous, far outweighing the convenience of dynamic typing.

comment 4y ago · link · parent

zlib might be infringing, and obviously they CAN do it, but: Why the USPS? (They presumably have no direct rights over the material.) And presumably the USPS has no actual rights in Poland or Hong Kong. :(

comment 4y ago · link · parent

Apart from the physical convenience of absence of wires (for phones and tablets) wired networking just works better.

comment 4y ago · link · parent

Agreed - unfortunately many extensions going in too many directions. It might be more practical to require extensions to conform to a hierarchy, so if you implement Z, you must also implemented X and Y.

Given the low cost of transistors, it seems parsimonious to be defining lots of incompatible variations on the RISC-V theme. Look at the ARM market, with minor variations in the number of timers and IO pins, most chips follow one of only a few common directions - eg. we've got small bit-pushing chips as controllers, and larger chips with FP and MMU for "computers".

comment 4y ago · link · parent

I'm with CleverLikeAnOx on this. I known it goes against the prevailing HN ethos, but more-features-more-monetisation does not necessarily produce the best product. (In fact, I don't think it will ever produce the best product.)

Think of those tools that you've really enjoyed using - perhaps the mid-range HP calculators, or a great fountain pen or knife, or even a spanner that just fits perfectly. These are all tools that have been designed with a clear idea of their purpose, and their design has focused on that purpose.

A great chef's knife doesn't incorporate a bottle-opener - that could be added but it would be a less usable knife.

Memorable products have long life-spans. Users treasure their fountain pen, often for life. I'm still disappointed at the loss of my HP11C. But who is going to mourn a programming language or front-end that drops out of favour because it's grown unusably big and cumbersome as the designers increase scope. When it comes to their next project, users will consider something cleaner, something that does all but only what they need.

comment 4y ago · link · parent

It is a hack, but given the complexity and non-timeliness of what's going on behind the scenes, and the lack of control that the user has, perhaps a good hack is the right solution.

My choice would be a cron job to run every few hours (or every day) that calculates space required and deletes logs files to that size. As long as the desired free space leaves an adequate margin, this would be robust and work in the presence of compressed files, snapshots, etc.

"Sleep 10" should be fine, but it's also a hack, and the author would need to consider how long it takes for cleared space to become available on a heavily loaded system. I would expect that under severe load, the clear-up lag could be very long.

comment 4y ago · link · parent

Yeah - Covid seems to be one a few topics that bring out "special" opinions. It's a pity, and not confined to HN, but seems to be a sign of the times.

comment 4y ago · link · parent

The Economist is reporting on 1 new paper ... of the 100k or so written so far. Almost clickbait :(

comment 4y ago · link · parent

Separate FP registers - it seems most modern architectures have distinct register sets for integers and floats.

This looks to have started when FPUs were optional and/or physically separate, but that's no longer the case.

Any examples-of/thoughts-on of systems that normally put floats and integers in the same registers?

comment 4y ago · link · parent

Does anyone feel that the Linux API (and so the kernel) is slowly getting more and more complex and cumbersome?

comment 4y ago · link · parent

Yes to all - and also don't include boilerplate text, or at least limit it to the minimum polite for your audience.

So if you must show a stack dump:

- don't put in lots of whitespace - it might look pretty but it makes it harder to read/parse.

- if you're giving the error file:line, don't bother showing the source code. If the source is meaningful to the reader, they've probably got access to the code, or are using an IDE.

comment 4y ago · link · parent

While I personally agree with the spirit of your definition (though I think it's incomplete) I don't think it's universal even amongst humans. You don't have to look far to see societies or people for whom "what is owed" isn't applicable. Eg. your conventional fascist society where justice means "what I have the power to do/take" (hence the Russia/Ukraine situation).

comment 4y ago · link · parent

Mentioning DALL-E, you've hit on something.

The world seems slightly mad about these things that produce "almost" pictures from text. We forgive DALL-E when it produces a twisted eye or an impossible perspective, because its result is "close enough" that we recognise something and grant the image intention.

So now you've got me waiting for DALL-Ecode. Give DALL-Ecode a description, it produces code.

"DALL-Ecode: Code that is sufficiently close to what you'd expect that you'll try to use it."

"DALL-Ecode: Code that looks like it does what is needed."

"DALL-Ecode: Good enough to compile, good enough to get through a code review (just not good enough to get through testing)."

comment 4y ago · link · parent

> The thing that I would say is a bad idea is what many routers refer to as "DMZ" mode or similar, where you broadly send incoming connections to a system. That's got a lot more risk since you have to be a lot more cautious about what services are listening on your server.

Got to agree with that - realistically the DMZ machine is almost FULLY exposed to the internet. Have a "DMZ machine" but open only the ports specifically required for whatever service is provided.

If you "DMZ machine" can see the rest of your home network, then so can anyone/anything that breaks into your "DMZ machine"!

And see my previous reply re take care with is made accessible.

comment 4y ago · link · parent

Unfortunately, the Sony Open devices seem to be hard to get (at least in Oz). I use LineageOS but there it's only available for a limited set of devices :(

comment 4y ago · link · parent

Just take care. Port forwarding is perfectly valid, and sometimes the only practical way to do things. But:

- only open/forward the ports you need.

- only expose ports that use appropriate security - try to avoid plain-text, NEVER use easy to guess passwords; prefer encrypted sessions and properly secured logins (eg. ssh keys).

- be very aware of what is listening on the open ports. Some Windows ports expose dangerous services, and/or do so without authentication!

( Really, we shouldn't need firewalls because there should be NO dangerous services exposed on any machine. But older boxes were so full of problems that firewalls became the default way to manage the situation ... "we don't know what services to enable/disable, and they'll get re-enabled on the next OS update!@!, so we'll default to blocking everything using a firewall. )

- update, update, update. It seems like almost all code is broken. It's just a question of how badly, so it's very important to keep any exposed services up-to-date to limit the time you're exposed to know-bad software.

- you WILL be attacked - not personally but by the millions of bots randomly trying addresses/ports and guessing ids/passwords. Something like fail2ban is useful to discourage such attacks, but you WILL be attacked and MUST be prepared for it.

- monitor the machine - the scourge of the interwebs is boxes sitting out there sending spam and/or performing DOS attacks because the owner doesn't keep an eye on them !%@$!#@$!!

comment 4y ago · link · parent

Yes - the site (naturally) lacks context and the "translations" lack subtlety.

But their the main point stands strongly ... take the time and devote the thought to choosing the correct word, and you'll produce better prose. Your text will be compact, precise, and more readable.

comment 4y ago · link · parent

Good to see a discussion on compiler error messages.

I would like to see the message boilerplate removed from most of those compilers.

#1 We're almost all using some IDE and don't need copies of multiple text lines and irrelevant context.

#2 It's a waste of attention to have to extract the message form lines & lines of text ... I know something went wrong, just tell me (clearly & simply) what and where.

comment 4y ago · link · parent

I'd say "the classics". Don't ignore older texts - the basics won't (don't, can't) change; the language of choice changes every year but the basics are still the same.

Things I liked:

* Tanenbaum on Computer Networks, and Structured Computer Organization (the examples are old but the fundamentals are very clear and very applicable)

* Kernighan's original C book

* Brooks Mythical Man-Month

* Aho on Compilers (dragon book)

* Abelson's Structure and Interpretation (for familiarity with algorithm basics)

* Hofstadter on Godel (fun)

comment 4y ago · link · parent

Probably none.

RFCs are about implementation specifics and details. Developers should be aware they exist, but don't waste your time until you need to implement or use something specific.

Better to spend your time getting a good general understanding of machine-code and assembler, compilers, network protocols, database mechanisms, etc. Then you'll be able to make sense of, and maybe implement, RFCs.

comment 4y ago · link · parent

And to the original question "Why doesn’t HN have quality discussion around crypto?". The hacker news readership loves technology, loves anything new (not that crypto is really new), is protective of their latest enthusiasm, and is very quick to stomp on critical comments. We tend towards pointless yelling and cherry picking, rather than nuanced discussion. I guess it's partly the nature of the medium and partly the audience.

comment 4y ago · link · parent

It's still rather common for people running "blockchain" projects to completely misunderstand the both their project's requirements and what is provided by a blockchain.

I can point to a couple of large public projects using blockchain so provide nothing more than a centralised DB. Disappointing but as an aside, both projects are failing (wildly over budget, wildly over time, and no realistic prospect of being completed in the current direction) :(

1
131415
18