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

I wish every programming language website was like this. First thing you see is a short description the language, with an image on the side showing example code. Beneath that, a short example program that does something non-trivial. This is the way.


Glad you liked it.


The whole "program is a model" part makes me think of Smalltalk's image-based system. I never really got used to programming this way myself, but I do think an image-based environment might check some of the author's boxes. With the right tooling, a Lisp might even be a decent choice.


For those wishing to experiment what a current image-based development environment feels like, I recommend Pharo. Probably is the most advanced open-source development environment in the tradition of Smalltalk, available today. Main site: https://pharo.org/ MOOC: https://mooc.pharo.org/


I tried to go through the Pharo mooc and learn a bit, but dealing with bugs and jank in an complex and unfamiliar UI made me drop the idea pretty quickly. The object orientation aspect of it was interesting, but I just can't get behind a language which is tied so deeply to the use of a poorly maintained UI. At a first glance I'm liking the approach offered by Unison, where you work with an image but everything you need can be done from the terminal, which I think is much easier to maintain and make portably. Creating a nice UI for it can be treated as a separate problem.


As someone close with a two-spirit person, this is the most offensive and ignorant thing i’ve seen on this topic by far.


Unfortunately, being offended doesn't make you correct:

> The neologism two-spirit was created in English, then translated into Ojibwe, in 1990 at the third annual Native American/First Nations gay and lesbian conference in Winnipeg, Manitoba, Canada, as a replacement for the offensive, anthropological term, berdache.

> The primary purpose of coining a new term was to encourage the replacement of the outdated, and offensive, anthropological term berdache, which means "passive partner in sodomy, boy prostitute"

(from https://en.m.wikipedia.org/wiki/Two-spirit#Etymology)


By my reading, the definition of berdache existed in the 1600s, and in is original European context, refers to '"passive homosexual", "catamite" or even "boy prostitute"' (quoting Wikipedia.)

Europeans didn't have a gender framework that could handle concepts outside of "male/female":"man/woman" so some re-used that French term meaning broadly to include what Europeans would now describe as transvestite, transgender, hermaphrodite, and homosexual people. See http://www.williamapercy.com/wiki/images/archive/20070205170...

You can see from the examples that while "berdache"/"two-spirit" was widespread in Native American cultures, there wasn't a "traditional native-american 'boy prostitute' role".

In addition to "berdache" being re-used to mean non-gender-binary-conformant, the term as used in the scientific literature carried with it European prejudice which didn't reflect the native understanding:

> literature of the late nineteenth and early twentieth centuries regarded the berdache as a “creature of failed biology, for example, hermaphroditism [...], or failed morals [...], or as someone not able to live up to an expected norm” (Herdt in Jacobs et al. 280). -- quoting https://www.proquest.com/openview/c98c4f83e2910bd20e6b3ebb6b...


This is so cool. I've been wanting to pick up an older mac for the sole purpose of doing some programming on classic MacOS myself. I actually have a Macintosh SE, but it's a bit too underpowered for my tastes. Anyway, I was hoping you might be willing to share what your development environment looks like. Language, editor, etc. Thanks!

Edit: I think I started to reply before your edit. Retro68 sounds amazing!


if you want to go period-appropriate, you can run Macintosh Programmer's Workshop or CodeWarrior natively

I use retro68 on linux, which is a modern GCC toolchain, so it's just like developing any other C/C++ (well, without some nice debugging tools, and with the added complexity of the mac OS resource stuff)

https://github.com/autc04/Retro68/


I was just wondering the same thing. Like, I get that ed isn't exactly a household name when it comes to software generally, but in the very specific world of terminal emulators it's practically royalty.


Love the simplicity, and it looks like this could serve as a great example for people wanting to write their own WM.

Might I suggest adding a link to a screenshot directly in the README? I personally have a weird fascination with window managers so I'm likely to check this out regardless, but a screenshot could go a long way in terms of generating interest. If you care about that sort of thing. :)

I see you have a minimalist IRC client as well. Funny, I've been meaning to get back into C specifically to toy around with the idea of writing my own WM and IRC client. Both projects look like great examples, thanks for sharing!


Thanks! It's been an almost 8mo journey learning C to get to this point. Ultimately it was the people that I interacted with and the user contributions that propelled me to make xwm.

I intentionally omitted a screenshot in the README as xwm, by itself, is not attractive. Also, really I wanted to leave ricing/tweak/patching to be entirely user contribution driven. I may consider, though, adding a directory in the patches (https://github.com/mcpcpc/xwm-patches) repo for user contributed screenshots though.


This, paired with their Pointers and Memory [1] guide are how I learned C in college. They're both pretty short and to the point, I would highly recommend.

[1] http://cslibrary.stanford.edu/102/PointersAndMemory.pdf


That and other useful links are listed in the parent page of this pdf.

http://cslibrary.stanford.edu/101/



> the greatest pointer/recursion problem ever (advanceed)

Does 'advanceed' mean 'more advanced than advanced?' [1]

[1] https://www.youtube.com/watch?v=YAYKnnWCzto


These two sentences, I think, best summarize the article's position on the topic:

> Instead of taking the summer to hone arguments against returning to the classroom, administrators and teachers should be thinking about how they can best support children and their families through a turbulent time. Schools are essential to the functioning of our society, and that makes teachers essential workers.

Yes, and many teachers think that the best way to support children and their families is to not put them in a position where they might die. Part of their "essential" function here is in advocating for the safest and most effective learning environment possible. Right now that seems to be attending lessons remotely until it's safe to go back to schools.

That the author thinks it's the duty of teachers to unnecessarily put children in harm's way as if there is no alternative is nothing short of bizarre and I'm disappointed to see it published by the Atlantic.


>put them in a position where they might die?

Children or teachers? In the uk we’ve recorded no deaths for the under 15s from corona and only 339 in the 15 to 44 range. The kids will be fine. https://www.ons.gov.uk/peoplepopulationandcommunity/birthsde...


I would argue that a child with one or more dead parents due to Corona would be harmful


And who supervises the kids? Drives them to school? Makes their lunches? Teaches them?


Children are really very unlikely to die from Covid-19. This is from the month of April in England and Wales, you can see that death rates are really very low for anyone under 50.

https://www.ons.gov.uk/peoplepopulationandcommunity/birthsde...

You can make arguments around the spread of the disease in the larger community, but sending children to school is not really putting their lives at risk.


> ...to support children and their families...

What everyone responding to my comment seems to miss is that it's not necessarily about the children themselves dying (make no mistake, many children will die if crammed back into classrooms prematurely), but their parents and other family members who will die as the result of them becoming carriers and bringing the disease home with them.


At what point does it become "safe" enough to open the schools? What about the flu? Auto accidents? Bus accidents? Has this been articulated?

"Children were 0%-0.8% of all COVID-19 deaths, and 20 states reported zero child deaths" https://services.aap.org/en/pages/2019-novel-coronavirus-cov...


The number of children that are going to die this year as a result of the mental health burdens being placed on them by incredibly willing adults is far greater than the number that will die from all other causes combined.

Kids are having a very hard time right now. Hell, adults are having a very hard time right now. But children have it much worse. Very little socialization, a news media hellbent on negativity, overstressed parents, and more uncertainty about the world than I ever remember (and I remember crying in school on the morning of 9/11).

Schooling is important for the mental health of the most important asset the world has. Doctors have stated emphatically the importance of resuming schooling. At some point the adults need to stand up and be adults so that the children can remain children.


How do you look at how things are playing out in pretty much the rest of the world outside of the US and then arrive at this tone?

If adults were standing up and being adults, we wouldn't have 150,000 dead, with 1,000 more dead each day.


How many deaths would we have if adults were standing up and being adults? Zero is wishful thinking an not being an adult. Avoiding all risk is just as bad as taking all risk, in this case every choice has lives on the line.


An actual competent, coordinated federal response starting in January/February and leaders all calling for mask wearing as soon as it became obvious it made some difference and we'd have meany fewer deaths (and probably a more active economy!).

Neither of those things come anywhere close to "avoiding all risk", they are just simple things that were not done, with no good explanation. Wearing a mask in certain public circumstances isn't emasculating or any kind of meaningful impingement on freedom.


Sorry, but if you publicly make ignorant statements on social media about a group of people then you and your project/community/whatever deserve to be called out for not being inclusive.

If you want to foster an environment of inclusion and collaboration I'd recommend not making statements that prove the exact opposite.

I appreciate the marketing, though. It'll help me know what projects to avoid.


I disapprove of what you say, but I will defend to the death your right to say it.

-- Voltaire


Why do people post that quote like it's a physical law rather a personal opinion? I doubt you or most people who do would actually die to defend any and all speech with which they disapprove.

Also, Voltaire never actually said that.


I can't tell if this is supposed to be an argument against what I said, but free speech does not insulate you from criticism or consequences. Go ahead, be homophobic/transphobic/racist/whatever in public (really, feel free!), but don't be surprised when people don't like you and don't want to support your project or community.


Interestingly, the parent can be interpreted as embodying or contradicting this quote, depending on your perspective.


I wouldn't be surprised if they've determined that developers will generally put up with a bad experience in order to have access to the massive iOS market.


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

Search: