News for hackers. Stuff that matters.

yaccz

Re:Beyond Markdown on Sunday July 02, 2023 @10:40AM (#36561889)
reStructuredText is way better format while only slightly more complex than markdown.
Re:Gems from the man page trenches (2016) on Tuesday September 27, 2022 @02:43AM (#32992176)
POSIX_ME_HARDER
Re:I have complicated feelings about TDD on Thursday August 18, 2022 @11:37AM (#32511112)
That's an issue of bad engineering culture, not TDD.
Re:Programming breakthroughs we need on Wednesday August 17, 2022 @12:17PM (#32498279)
> the text is just a tool to manipulate some abstract model of the program.

yup.

> When you think about it this way, it becomes clear that using a textual source code is really inefficient way to manipulate this model.

Hard nope. All the attempts at different approach were a failure so far. Text so far is the best thing we have because text can be analyzed formally and computed with by computers. This is the result of the work that's being going for at least like 200 years in philosophy, logic, and math.

What we really need is to bridge the gap between programming and math as industry standard, not academical exersise somehow. But I highly doubt eliminating text as source code is it.

> The historic reality is that HTML served as a "backdoor"/gateway to let the linux community compete with microsoft: linux devs could ship their code for windows clients.

lmao. sources?

Re:The joys of owning an ‘OG’ email account on Thursday September 03, 2020 @05:06AM (#24362149)
Some second level example addresses are actually reserved and not for use. See rfc 2606.
Re:A new school curriculum on Tuesday November 26, 2019 @09:18AM (#21638439)
Problem is you need to remember the patterns first to be able to think "hey I know this pattern. Maybe if I look up what the identity is it will be usefull"
The claim is only missing a qualification that the impossibility exists within the framework of ieee 754. It can be easily inferred from context and it is important to note because thats what the major CPU architectures use to store native floating point numbers. Therefore, the point is, we need a non-native (wrt the cpu) way to store and calculate with irrationals and some rationals if mathematical precision is required.
Re:In Defense of Latin on Tuesday November 19, 2019 @06:19PM (#21579436)
> If something is being described that is hard to do, then the sentence is structured in such a way that it is comparatively hard to understand, by using an unusual word order etc. If things are far apart, the words are themselves far apart etc. For quick things, words are omitted that cannot be omitted in other languages etc.

But why?

60 FPS is garbage for a lot of games
Re:Mirantis acquires Docker Enterprise and Docker raises $35M on Thursday November 14, 2019 @10:51PM (#21542070)
Whats the problem with ${FOO_PORT:-1234}?

Sure, it doesnt exist in the language of Dockerfile but you can achieve the same effects in other trivial ways.

Re:Moto Razr 2019: A foldable smartphone with no display crease on Thursday November 14, 2019 @02:41PM (#21538628)
better displays are mostly engineering problems while better batteries are a science problem.
> As a math student, I would much prefer to be given a basic statement of the definition of a monad, a list of properties, and maybe a theorem to prove that some structure is a monad instead of having to fall back to the definition.

Have you looked into the original paper?

https://homepages.inf.ed.ac.uk/wadler/papers/marktoberdorf/b...

Re:What Should We Do to Prevent Software from Failing? on Wednesday May 22, 2019 @02:24PM (#19983975)
I dont think anybody argues that types replace documentation. However, documentation without types tends to get repetitive and requires you to come up with ways to structure it properly. Turns out, you can encode a lot of information into a type and now it can be automatically verified and frees you to write documentation for things that can not be expressed in types.
Re:Professional Software Development on Thursday January 31, 2019 @08:15AM (#19044450)
iirc FreeBSD is sticking with svn because git is GNU licensed
Re:Ask HN: Best things in your bash_profile/aliases? on Monday January 14, 2019 @04:23AM (#18901777)
alias grr="grep -r --exclude-dir=.git"
Re:Fallout 76 Day One Patch Is Larger Than the Game Itself on Thursday November 15, 2018 @04:22AM (#18457968)
Nobody is using resolutions larger then FHD because there is no GPU than can feed it at 144 Hz.
ADTs are not neccessary to implement Option.
Re:Digital Photocopiers Loaded with Secrets (2010) on Thursday May 10, 2018 @04:49PM (#17042828)
Its from 2010
I find reStructuredText much better option for lightweight markup as it is comparably lightweight to markdown but there is only one version, is much more powerfull, and makes more sense to me syntactically. Org-Mode looks just like another markdown to me.

> Even worse than this is the underlined heading category.

I think its the best. Compared to the prefix style it actually looks like a headline in the text document.

> The user is completely irritated for multiple reasons. Besides the tedious manual work to align the stupid heading characters with the heading title

What is tedious on typing <esc>yyp <shift>-v r # to underline current line with #?

> it is not clear what characters must be used for those heading lines. If you've got a bigger document with different levels of headings you get confused which heading character stands for which heading level.

Using a convention where bigger headlines use bigger looking characters works for me.

  H1 uses # and is both under and overlined, the rest is only underlined
  H2 uses #
  H3 uses =
  H4 uses -
Re:I make shitty software with bugs – we all do on Thursday January 09, 2014 @03:06PM (#7032822)
wow such insight much deep very agile programming used