Hacker Newsnew | past | comments | ask | show | jobs | submit | x87678r's commentslogin

Looks like the pretty formatting is poplular. All the people that complain of Python layout should be jealous of this one: https://www.ioccc.org/2020/yang/prog.c


Speaking as a judge of the 27th competition, formatting doesn't give an entry as much of an advantage as you might think - what it does beyond the formatting has more influence. Code "quality" is always evaluated after pre-processing and restructuring. Credit is definitely given for compactness, functionality, uniqueness and the handling (exploitation) of boundary conditions.

Quite often there is something that "has not been seen before" - those entries do have a greater chance of being picked. The Ig-Nobels are seen as anti-Nobels. It is somewhat ironic that one of the few programming accolades you can be awarded is for writing code that will win an IOCCC award.

Of python: I am quite biased against the language - there are limited ways to speak or communicate it to a blind or deaf person. Python relies on the physical layout and structure to be semantically correct. (Python correctness does not survive whitespace or silence removal - which requires both working eyes and ears)


I've worked with people who are visually impaired many times, and even programmers who are visually impaired more than once, and yet I keep getting floored with things I had never considered as a sighted person, like the fact that silences are not equivalent in Python...


Can you explain more about what you mean by silence removal and Python code's fragility? What does sound have to do with source code?


> What does sound have to do with source code?

If you are visually impaired you may have to use a screen reader. If that screen reader cannot correctly 'say' the whitespace, it may be difficult to understand languages such as Python where indentation is significant.


How would a blind person code? They need a way to convert text on-screen to sound (or haptic feedback). Such a program can be easily used for C, because all the structure of C code is explicitly marked by its syntax - opening and closing braces, semicolons, macro beginnings and endings, etc. A C code reader can skip over any amount of whitespace, because none of it is semantic.

A Python screen reader would not have the same power. It would somehow have to communicate the significant whitespace to the user through sound. You cannot "remove the silence" when listening to a Python program, in the same way that you cannot strip out whitespace without changing the behaviour of the program.


In theory it should be possible to read out loud an "indent" and a "dedent" token whenever the indentation changes. That would be basically the same trick that Python's parser uses under the hood.

However, I don't know if there are any screen readers that have been taught to do that.


More by the same author: http://uguu.org/sources.html


I must admit, it looks nice if your editor has a minimap enabled.


What have they got to lose?

30% cut of app store, icloud, apple+ TV, Safari users, Maps users, Incremental Market Share.

Realistically lots of people could end up preferring Linux over MacOS, why risk it?


I learned to program in middle school and I loved it, you couldn't tear me away from the school Commodore Pet.

My kid we played with scratch for a bit and she had fun making some games but it fizzled out after a few weeks. No real love. I gave up. Maybe I'll try again in a few years.

There are coding classes and they're all very popular but to me it seems pushy parents signing up their children, none of them seem to enjoy it.


Its pretty sad at the end of the page it talks about other resources, the first few are 2008 ish. I'd expect them to be obsolete, but is that just become the industry standard now? FAANG SD interviews are such a mystery and the we never comment response doesn't help.


I like coffee though for the flavor, the caffeine is not the point. I'd like decaf but never found any I like and the decaf process looks pretty sketchy with lots of chemicals.


There have been rumors about the 'Sun Valley' gui refresh for months. This is from October https://www.windowscentral.com/windows-10-sun-valley-ui-octo.... Its not exactly a surprised either, Windows 10 was released in 2016(?).


Terrorist acts are only part of it though. Sure 9/11 was cheap but implementing punitive sanctions across countries hundreds officials requires an awful lot of tracking and monitoring.

As regulators catch up you can expect same forms and reporting for any crypto account as a regular account. If you ignore the rules expect big penalties until you comply- just like how banks have been paying billions in fines and are now tarpits of paperwork.


> Cryptocurrencies is the future

No they aren't. especially when:

> Our old-fashioned bank system is far from perfect but it is harder to do illegal things unnoticed, banks report thousands of cases to authorities every year.


The website is a bunch of affiliate links, I'm not convinced this is a loss to the world. https://www.goodcheapandfast.com/


Do we even really know it was Russia? Everything I've seen so far seems to assume that rather than have a confirmed link.

edit: source seems to be Washington Post article "according to people familiar with the matter, who requested anonymity"

https://web.archive.org/web/20201213220635if_/https://www.wa...


Not that I've been able to discern. But why live in a world of ambiguity when you can blame everything you don't like on a central antagonist'


I treat anonymously sourced news articles as a coin toss nowadays—assume a 50% chance that the claims in the article are unqualified truth.


Wow, I guess CIA only needs pay for two pieces to convince you of the Truth™.


If you believe that's how coin tosses work, you could believe almost anything.


That's not how probabilities work


Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: