HNHacker News
TopNewBestAskShowJobs

dragonbonheur

2,805 karma · joined August 3, 2011

submissionscomments
dragonbonheur··on A Program from a 35 Year Old Magazine for BASIC Month and a Chat with Its Author
Like GAMBAS and FreeBASIC, even VB.net ?

http://gambaswiki.org/wiki/def/class

https://www.freebasic.net/forum/viewtopic.php?t=11804

dragonbonheur··on Ask HN: What's a modern equivalent of QBASIC?
Logged in just to answer this.

It is QB64 or FreeBASIC or GAMBAS if you're coding for Raspberry Pi and Linux. Not Python. Not Javascript. Not Ruby.

If you're looking to transition from scratch to actually shipping apps, give Stencyl a try for free. Stencyl allows you to ship HTML5 and Flash apps (it's general purpose enough)and games <ith its free version.

Don't let your kids get stuck with the command line with Python.

See -

www.QB64.net

www.freebasic.net

gambas.sourceforge.net

See also monkeycoder.co.nz for yet another modern BASIC dialect.

You can get BlitzPlus and Blitz3D here -https://blitzresearch.itch.io/

And you can get Blitzmax (which also runs on Linux) here- https://www.syntaxbomb.com/index.php?topic=7.0

dragonbonheur··on Node.js
http://programming-motherfucker.com/become.html#JavaScript
dragonbonheur··on The history of the IBM PC, part one: The deal of the century
Kildall consulted for Intel. They weren't interested in CP/M when he showed it to them. https://en.wikipedia.org/wiki/Gary_Kildall#Early_life
dragonbonheur··on What Chinese bosses think of American workers
The title of the article is "Will China Save the American Economy?"
dragonbonheur··on Ask HN: How can I do social good through programming?
You know what? Thank you. You've made me question yet again why I even bother going to HN. This place is just full of compulsive arrogant hair-splitters passing for geniuses.
dragonbonheur··on Ask HN: How can I do social good through programming?
Local exchange systems. Mentoring and apprenticeship forums and exchanges. Grants and sponsorship databases. Digital permaculture, hydroponics, aquaculture, aeroponics & DIY encyclopedia. Tools to fight against misleading and inaccurate information and to clarify and annotate ambiguous laws that don't benefit the population. Better corruption and dark financing graphs about people in power.
dragonbonheur··on Ask HN: How can a company build the culture of embracing criticism?
Have managers at every level read Business @ The Speed of Thought by Bill Gates.
dragonbonheur··on Ask HN: What should I make?
Visual Basic to Javascript+PHP converter+WYSIWYG- because there are a lot of VB enthusiasts still out there and also a lot of free PHP servers out there.
dragonbonheur··on Too Much Experience to Be Hired? Some Older Americans Face Age Bias
Then US hospitals should provide free healthcare for all and not insist on getting insurance details before providing actual health care. Glad you see the whole picture and embrace SOCIAList ideals like the rest of the planet.
dragonbonheur··on Ask HN: Procedural programming vs OOP – your thoughts?
Most of the time, an object is just a user defined type with methods. No need to split hairs about it. End of story.
dragonbonheur··on More than 100 Chinese cities now above 1M people
India should control its population. China's like - "Been there, done that".
dragonbonheur··on Ask HN: Speeding up front-end layout development?
1. Design your page in a good, WYSIWYG web editor

2. Preview in your browser

3. press F12 in your browser

4 Modify the CSS in the Browser

5. copy the CSS from browser to editor

6. CTRL+s

dragonbonheur··on Ask HN: How can software engineers solve the problem of Income Inequality?
More than half of the problem of income inequality is opportunity inequality. A rich person's assets are not only what he has, but what he knows and who he knows.

Opportunity inequality happens when people cannot have access to the same level of education that rich people have. Poor people don't get the same high level counselling that rich people have. I have been personally misled about what subject combinations to study (education in some countries work like that, there must be subject combinations at secondary school level to get access to higher education ) along with my friends by an educator who discriminated against me because of my African origin.

More than money, people need information repositories on how to acquire knowledge, create products, marketing strategies, how to protect Intellectual Property, business and entrepreneurship networks, even life hacks and DIY hydroponics, aquaculture and permaculture stuff.

Right now, good information is either too far apart or kept obscure by those who control it. People need simple explanations, complete information and easy to understand and modify examples to make the most of shared knowledge. Also, computer science papers need to be published with syntax-sugar-free code or relevant pseudocode, not obscure mathematical formulae that do nothing to inform people.

As for what can be done, platforms like So.cl or the more helpful parts of reddit are a start, as is Khan academy but knowledge sharing has to be free of obstacles like user registration if it's not absolutely necessary. Websites have to be optimized for low-bandwidth too, 4K, 60 FPS video is not absolutely necessary for people to be informed properly. Cut down on the megabytes of javascript that are transferred with every web page.

<In software engineering >

The computer programmers and "engineers/architecture astronauts" of today must remember that computers are supposed to simplify things for people. No more layers of abstractions piled on top of each other. No more half-baked tools. Documentation must be accessible at the pres of a button. Programming languages must be readable enough so that the person reading it can understand scoping at a glance and not have to hunt for closing curly brackets to understand how a program works.

Some may think that it's too hard to write closing statements like endif or endwhile but those can be written automatically at the press of a button in a good IDE. Again, programming languages must be readable enough so that the person reading it can understand scoping at a glance and not have to hunt for closing curly brackets to understand how a program works.

Semicolons and curly braces must be abandoned. Computer programming should be made more accessible, powerful and ubiquitous. Electronic devices should ship with programming languages again.

Not everything should be done in the browser or in Javascript or a derivative of C.

Computer programming must be made simple and powerful so that more people are empowered.

<end of software engineering section>

Knowledge is power and with great power comes great responsibility. The people with knowledge and power have a responsibility to make knowledge easily accessible and actionable for others who are less fortunate.

dragonbonheur··on Should I buy a WordPress Theme or Make my site from raw?
Make your own unique Wordpress theme.
dragonbonheur··on Robots won't just take our jobs – they'll make the rich even richer
And soon enough, programmers and even CEOs. Given enough time, everyone can be replaced. What will you do then?

Sweep the streets? there's a robot for that.

Clean toilets? Self-cleaning toilets can be built.

Cook food? There's a robot for that.

Look after other people's kids? Other people won't have a job either to be able to pay you.

> Ian: Your scientists were so preoccupied with whether or not they could, they didn’t stop to think if they should.

Jurassic Park

dragonbonheur··on Robots won't just take our jobs – they'll make the rich even richer
Low paid, scarce jobs, even outsourced. Why keep an expensive engineer on call when you can just swap a robot out, ship it to its manufacturer for repairs and just keep production going, no matter what?
dragonbonheur··on I miss Delphi
Why are today's languages better when none of the tools have caught up with what we had then, both in terms of efficiency and simplicity?
dragonbonheur··on Tesla Tanks After Goldman Downgrades to Sell
People who work for Goldman aren't that smart - they're just greedy career-diggers who just look for a quick buck. Just google the mountain of lies that was Spinvox.
dragonbonheur··on Ask HN: Recommend some good science movie for weekend
There aren't enough solid science movies to make a proper recommendation, unless you want to see a documentary.

Anime however, are plenty -

Rocket Girls, Moonlight Mile, the Ghost In The Shell series of films and episodes, Planetes have good science themes that will make you think.

dragonbonheur··on Problems with Android Studio
Try to look into RFO BASIC. You will find all the required links on http://rfo-basic.com/ and links to various tools with even a compiler for that BASIC dialect that runs on the device itself. Note - Hacker's keyboard is preferred over the standard Android keyboard.
dragonbonheur··on Could a £400bn plan to refreeze the Arctic before the ice melts really work?
How about deploying a cluster of "umbrella" satellites to throw some shade on regions of the planet that get too hot? 15 years of having less solar illumination, not complete darkness just a penumbra, could maybe do a lot.

How big of a shadow would we need?

Edit - someone already thought about it; http://www.bbc.com/future/story/20160425-how-a-giant-space-u...

dragonbonheur··on Ask HN: How to teach programming in primary and secondary school?
What the hell am I doing arguing with a high priest? You guys need more than thinking out of the box, you need to think out of the Valley. High priests are the reason why software is bloated and sucks nowadays.
dragonbonheur··on Ask HN: How to teach programming in primary and secondary school?
You'd be wasting a lot of lifetimes if every kid learning a programming language wasted your minimum of 8 seconds to download a runtime to run something as simple as hello world.

A lot of people in developing countries don't have your luxury of bandwidth either. And besides, how many games on Steam are written in smalltalk? How much software running on Linux? So little in the best case scenario that nobody cares

dragonbonheur··on Ask HN: How to teach programming in primary and secondary school?
I guess you didn't really read anything of what I wrote, just saw BASIC and went in high priest mode.

How do you even ship an executable with smalltalk? With a 30 megabyte (minimum) virtual machine and the whole interpreter? Now that's silly.

dragonbonheur··on Ask HN: What are the greatest tip to sell domain name?
Go to Flippa.com
dragonbonheur··on Ask HN: How to teach programming in primary and secondary school?
I'll be as honest as possible with you - teach them BASIC, despite what Dijkstra said and despite what the high priests of computing may say about what Dijkstra has said.

The reasons why -

Children need to see the results of their work instantly, and by results I mean that they can ship their code in an executable format that another kid can click on and run without having to load runtimes or libraries. A lot of BASIC dialects are compilers, like FreeBASIC and QB64.

A child who has learnt BASIC can quickly make games with actual sprites without having to look for the right library and the documentation that goes along with those libraries. A lot of people will tell you that Python comes "with batteries included" but you'll find that you always need something else to actually ship an executable that does everything you want - with python you'll need to learn how to use pygame with it and good luck for shipping an executable - with most versions of BASIC the documentation is complete and accessible and to compile code you just press F5 or F9, depending on the compiler or interpreter. With python it's good luck again to make something run really fast - that genetic algorithm you felt crazy enough to write? The high priests will tell you "Oh you'll have to use CPython for that speed boost". Maybe you're just making a cool plasma effect or fire effect, well good luck again in python - in FreeBASIC when you use the PSET function it runs well enough, using pointers it's really fast.

About that compiler or interpreter thing. Some BASIC dialects compile code to machine code, others turn your code into an intermediate language and run that. Most good dialects will allow you to ship executables.

There's a BASIC for every platform out there and the dialects by the different vendors out there are similar enough that you will be able to port code easily. FreeBASIC and QB64 for Linux, Mac, DOS/FreeDOS and Windows - GAMBAS for Linux (which also runs on the Raspbery Pi). BlitzPlus, Blitz3D and BlitzMAX for windows (are now free), RFOBASIC and RCBASIC for Android, Great Cow BASIC for PIC and AVR micro controllers (here's a tutorial for arduino boards https://sourceforge.net/p/gcbasic/discussion/629990/thread/5...)

Modern BASIC is not what Dijkstra was familiar with in the 1960's. Modern BASIC doesn't need line numbers. Modern BASIC does not look like spaghetti code - you can use structured programming concepts and even object orientation to organize your code. And the best part is that you can be done teaching the basics of BASIC in two weeks max and the kids will be able to learn the rest by themselves and ship code immediately after that - whether they want to sell their work or share freely.

As for documentation and tutorials the forums for these dialects of BASIC are very active and you can easily convert code form one dialect to another, so you will always find new and interesting material to teach.

Some useful sites are:

petesqbsite.com

freebasic.net

http://forum.retrogamecoding.org/

http://www.blitzbasic.com/Community/_index_.php

http://games.freebasic.net/

https://sourceforge.net/p/gcbasic/discussion/

http://gambas.8142.n7.nabble.com/

http://www.schoolfreeware.com/QBasic_Tutorials_-_QB64_Tutori...

http://www.bettiesart.com/tc/blitz/

For 3D games programming using Blitz 3D- http://jnoodle.com/Blitz3D/

Demoscene and graphics coding forums http://www.dbfinteractive.com/

Of course, since BASIC has been popular since the 80's microcomputer boom you can always find lots of old magazines to adapt old programs and games from on Archive.org - MSX BASIC, Acorn/BBC BASIC or Amstrad BASIC magazine code listings should be the most readable.

dragonbonheur··on Want to come to the US? Be prepared to hand over your passwords
Setting up an IFTTT recipe to post from RSS feeds to Social media accounts is child's play. Anyone can create a fake social media footprint while they sleep, so it's pointless to demand passwords to social media accounts.

Can't expect much intelligence or common sense from an Idiocracy.

dragonbonheur··on Ask HN: No “experience” or education. How do you make your resume look better?
Freelance is resume worthy.
dragonbonheur··on Republicans move to sell off 3.3m acres of national land, sparking rallies
That's why you like your guns, right? To protect your "liberties" ? The 2nd amendment protects the 1st and all that jazz?
← PreviousPage 2 of 19Next →