Comment on: Coding my own RSS (and a rant about the modern web)
0 19 Mar 2019 14:19 u/justlogin in v/programmingComment on: Whats the general opinion on kiwi browser for smartphones ?
Don't have it, but sounds like something they would shill on /g/... Don't go there as much anymore, being banned and all.
Comment on: Whistleblowers Say NSA Still Spies On American Phones In Hidden Program
This doesn't sound like programming, take it to /v/tech.
Comment on: "Im a white man, i write my fucking compiler. You are a fucking nigger"
I tried to find the original streams for some of famous clips but couldn't find them. Many of the prank calls would have come from the lolcow forum I believe.
Comment on: How programming language is programmed?
You should look up "Compiler Construction".
There do exist languages intended for this or parts of this (i.e. flex, bison etc) but a compiler/interpreter can be written in most any programming language.
The author of this ebook is popular on Reddit /r/programming... It's actually fairly good. :/
Comment on: Linux Outreachy Program pays women $5000 to make trivial whitespace changes
Your first link, the first 3 have polished buzzword-laden resume language, a couple real interns, and then Xenia Ragiadakou (same person as whitespace commits) who admits being incompetent.
Comment on: Programmers Need A Hippocratic Oath
The CIA wants all code in the cloud under their lock and key. They want to ban compilers and make people think HTML is computer programming. - Terry A. Davis
Comment on: Looking for areas of optimization in nnn
I've been using youtube-dl for awhile, maybe this could be integrated somehow. (created a script folder) I've heard of people extending mutt and newsboat in ways and nnn looks like it could too.
Wrong nnn but useful. This guy is hated on 4chan /g/ but I don't know why.
Comment on: Looking for areas of optimization in nnn
This is much nicer than my crude directory listing scripts! The only things missing is me not knowing all the commands yet or how to script it... >=)
Comment on: Is C# a low-level language?
I suppose .NET would be the best way to access Windows specific features...
And go back to Reddit! https://mattwarren.org/2019/03/01/Is-CSharp-a-low-level-language/ https://www.reddit.com/r/programming/comments/aw4ig7/is_c_a_lowlevel_language/
Comment on: Imposter Syndrome in tech
It wasn't funny.
Comment on: Imposter Syndrome in tech
It's been a few days but came across another tech speaker and blogger promoting IS very early. http://sachachua.com/blog/?s=imposter#post-24521 You'll notice how she has to persuade that the phenonemon is real, because nobody would believe that shit.
Comment on: how to take one bool in a large C# set, and compare it to the rest of the set to know if a duplicate result pops up?
External links often go to Wikipedia or Google Groups.
https://www.chessprogramming.org/Board_Representation https://www.chessprogramming.org/Move_Generation https://www.chessprogramming.org/Check
For C# syntax and/or idioms?
https://docs.microsoft.com/en-us/dotnet/csharp/language-reference/keywords/foreach-in https://stackoverflow.com/questions/183685/c-sharp-set-collection https://answers.unity.com/questions/1138410/how-do-i-check-if-all-booleans-in-an-array-are-fal.html
I just saw your other reply, can you use enums instead of booleans? It would mean comparing against piece_empty instead of false. It might involve editing several places in code depending how it was written so far...
Comment on: Imposter Syndrome in tech
^This. But I suspect there could have been some sort of coordination, sponsorship, or some other scheme for this narrative to take over. The high demand/requirement for female speakers giving these a platform would be part of that.
Comment on: Imposter Syndrome in tech
I was watching videos of her talks until falling asleep yesterday (all about refactoring). Her voice was irritating and reminds me of people I used to tolerate... The talks are probably good, if eeriely polished. It is a little creepy how her career sounds like bossing co-workers around to change behavior, like a proto-SJW... Even if her advice were valid! I'll watch the videos but don't have to like it.
It turns out an early article (slate.com) mentions IS being a topic at a women's tech conference in 2010. The original feminists were from the 70's, these ideas percolate for awhile but it really started taking off in 2014.
That can't be natural... I think one of the popularizers was an alum from Y Combinator but the topic is too widespread, requires indoctrination, and appeared on the scene all of a sudden.
Comment on: Imposter Syndrome in tech
Maybe people who believe in concepts invented by feminists really are imposters... https://zapier.com/blog/what-is-imposter-syndrome/
Comment on: My Twitch Live Coding Setup
I won't say she doesn't have skills, but this is a PR person who happens to write code. https://github.com/noopkat?tab=repositories And her employer is Microsoft... :/
Comment on: Want to get back into programming
Don't make a bid for this one, but good practice. https://www.freelancer.com/projects/php/want-application-java-that-decodes/
You will need to convert plaintext/ciphertext to a BigNum, kind of like how several ProjectEuler problems involve large numbers. It's okay if you cheat and use a language with builtin BigInt's (i.e. Common Lisp, Python, etc) https://stackoverflow.com/questions/41633821/encode-string-to-base36
Comment on: Want to get back into programming
Are you set on .NET? That can be a good career depending where you are... Let me think... https://www.freelancer.com/jobs/c-sharp-programming/
Can you do this one? It was probably someone's homework, but he'll pay you maybe.
It would probably go something like:
sum_recur(x, d, n) {
if(n <= 0) return x; /* base case */
else return sum_recur(x+d, d, n-1);
}
sum_iter(x, d, n) {
var acc = 0;
for(var i = 0; i < n; i++) acc = acc + (x + i*d);
return acc;
}
Don't trust this psuedocode, could have goofed!
Comment on: Want to get back into programming
Coding challenge sites are always limited in usefulness, from the viewpoint of a learner. The site can't go too far in teaching concepts without giving answers away! I saw one somewhere with some PDF downloads but most don't even do that...
That doesn't mean the experience would always be useless, but they will always be of limited use.
Comment on: Want to get back into programming
do both
Comment on: Want to get back into programming
How far are you willing to commute and/or move? Look at job listings in your area (but realize fads come and go). The specific skills valued in a startup won't necessarily be the same valued in an established corporation.
Comment on: Want to get back into programming
Look into local tech meetups, if you live in a big city there should be some. If you live in a medium/smaller city there should be something but fewer choices... Not all meetups will be any good but will probably know the trends in their specific interest areas (maybe lagging behind somewhat but at least know the conventional wisdom).
Ever consider putting up one of those long-tail SEO sites up and taking in the trickle of ad income? It might not be worth it but give it a try.
Comment on: Want to get back into programming
Carmack's inverse square root is not a fair comparison to instructional code... And then they opened their mouth. They deserve this.
Comment on: decided I had to start somewhere
Format documents for display, written in any kind of markup language and output as a display/image file/PDF file, or whatever. But get through beginner lessons first.
Comment on: decided I had to start somewhere
Just consider it a first tutorial with the expectation of others to come, both for review and further growth. But please one at a time!
Comment on: decided I had to start somewhere
Agree with @neogag, but /v/learnprogramming is a ghost town. What's this course look like? [Learn Python 2] One of the projects is Mad Libs, that sounds like fun and is an appropriate task. That pretty much works the same as templates so good topic.
Couldn't tell you if course is good otherwise. Of course if you do well such a course would make you a beginner... But at least that's something. Have fun storming the castle!
P.S. Best to reply to same OP in a week to report progress than making new OP.
Comment on: Getters/Setters are an Awful Programming Practice
That was exactly what he was demonstrating... Any technique is going to have an appropriate context for use. And he made sure to provide that context and a method of handling exceptions to the (his) rule. What more do you want!
Comment on: Getters/Setters are an Awful Programming Practice
That was refactoring not a bug fix.
Comment on: What is the best way to keep your projects organized from start to finish?
#!/bin/sh
# extract webpage title from a downloaded webpage (via wget)
# intended for youtube pages, a title is always present
# takes first title to ignore titles of related videos
# !!! obsolete !!! use youtube-dl
grep -io '<title[^<]*</[^<>]*>' "$1" | sed -e 's/^[^>]*>//; s/<.*$//' | head -1 | tr -d '\n\r'
Comment on: Python List Comprehensions: Explained Visually - Trey Hunner
The video is a 3 ½ hour class, 180Mb to download lower quality video (but good enough to read text). The class notes are here. https://pycon2018.trey.io/
To the beginner List Comprehensions looks like complicated syntax for writing tricky one-liners, but the class teaches proper data transformation technique.
The speaker has a website. https://treyhunner.com/ I take it he is a well-known professional in the Python world.
EDIT: I should have looked at the OP link before 3 hour video...
Comment on: What is the best way to keep your projects organized from start to finish?
Honestly, most scripts I write for specific purposes just pipe one unix command to another. You can often process HTML/XML with grep/awk/sed and maybe xmllint/json_pp if the required filter is simple and local enough and hack something together. That is entirely improper but will do often enough. :/
Comment on: What is the best way to keep your projects organized from start to finish?
I'm sorry to say that I'm not very skilled at this either...
Here is an interesting article, "Katamari Darcy" refers to a silly video game if you don't get the reference. Or maybe you mean Project Management aspects? The absolute best way is to only ever work on things similar to what you have already done!
Comment on: So you want to be a wizard
Both Julia and the company she works at, Stripe, are popular with HN. Stripe of course is one of the credit card processors blacklisting targets.
Payment processing was important to the startup community in order to conduct business and there were problems witn PayPal before (i.e. chargebacks etc). A new service appeared but ended up becoming a problem too... But I wouldn't blame JE for that part. :/
Comment on: So you want to be a wizard
Julia Evans might be a tool of the system but not so bad herself. She is what a real engineer looks like, as it turns out.
So you want to be a wizard
2 0 comments 10 Feb 2019 21:30 u/justlogin (self.programming) in v/programmingComment on: Biography of Terry "I'm a White Man; I Wrote My Own Compiler" Davis: The Greatest Programmer to Ever Live
What if... TempleOS was some kind of honeypot, and being useless was part of the point? If it was some kind of honeypot they didn't expect so many pranksters crashing the party! Maybe TAD just became that class clown who picked his nose and ate it.
I for one would like to watch the stream that the elephant quote came from and know more about how the graphics worked, whatever the case.
Comment on: So I don't know anything about coding or programming (don't work in this field) but I want to learn, where should I start?
It would take months to get mediocre... But that's something!
You can sometimes find old textbooks at the Goodwill/Friends of the Library/used bookstores. I would say setting up a computer to run is crucial too but you could actually read without a computer at first lol.
A semi-serious possibility would be to find a pirate copy of Q-Basic and install it inside of DOSbox.
If using Android look for the "turbo" version, it has a more compatible keymap. A bluetooth keyboard can be handy too, but selecting "scale screen" and installing Hacker's Keyboard is good enough.
Things were simpler at one time so going retro, within reason, can be a good thing. C64 is too far retro BTW. I think this QB version runs directly on Windows... https://www.youtube.com/watch?v=hE-Voij5k5Q
Biography of Christopher "moot" Poole: The Hacker Known as "4chan"
1 0 comments 08 Feb 2019 18:58 u/justlogin (..) in v/programmingComment on: Biography of Terry "I'm a White Man; I Wrote My Own Compiler" Davis: The Greatest Programmer to Ever Live
Recompiling the kernel is UNIX tradition and it is normal to seek understanding of your infrastructure.
Comment on: Biography of Terry "I'm a White Man; I Wrote My Own Compiler" Davis: The Greatest Programmer to Ever Live
This is a really good article...
Davis made many claims in the thread, such as the CIA were to blame for the lack of innovation for OS design. Claiming he missed his chance because his OS didn’t have a backdoor and the CIA wouldn’t allow it to become mainstream.
That part could have some truth to that. :/
If you have ever seen some of his writings parts of it look very very suspicous... Like the admiration for the IRA and other themes.
Sometimes he looks like a loony tragic character and sometimes you have to wonder.
But technical subjects usually make sense, loosely.
Comment on: Biography of Terry "I'm a White Man; I Wrote My Own Compiler" Davis: The Greatest Programmer to Ever Live
Everyone has reasons, good and/or bad reasons...
Comment on: Biography of Terry "I'm a White Man; I Wrote My Own Compiler" Davis: The Greatest Programmer to Ever Live
I don't know about that, but maybe.
Comment on: Polygons, animation using Python 3 - code included (link)
Transparency looks difficult to impliment. http://wiki.polycount.com/wiki/Transparency_map
Comment on: Where Vim Came From
The CoC's are a new development in the SJW wars, these tactics weren't in play years back.
Not unless you count tactics used to March Through the Institutions. One of those institutions was the Prebysterian Church, or rather similar tactics used before the motto was coined... It's actually closer to how Obama's HUD was conspiring to collect hate-statistics. But all that is OT.
The other computing communities are interesting as an alternative to Linux monoculture.
Comment on: Where Vim Came From
An interesting thing about vim is that it came out of the Amiga community, just like clisp.
Rob Landley mentions coming from the Amiga community before Linux came out. ~~http://landley.net/talks/celf-2013.txt~~ Toybox and the whole self-hosting Android project was quite interesting before the CoC. :(
Some random website about writing compilers was made by someone from there too. I find it interesting tgere was another computing culture out there...
Comment on: Commodore 128 Assembly Language: Worm part 3
At 1:10 he mentions a "SID chip", it seems back then they tuned an unused voice on the sound chip and sampled values from it but without activating audio output. Just sampled the output.
There is a glimpse of code at 1:27 but I got confused on some details... The random output is actually !addr RANDOM = $D41B the same on C128 as on C64. Sorry for the mixup (variable BASOUT is character to print).
The assembly routine is different than C128 RND which outputes a decimal point number.
The code for randomlib.a, it just sets up the sound generator chip and gates it.
It's hard to follow along this closely instead of watching for generalities... But to answer your question, jsr setuprand is the first subroutine called in worm.a. We are used to seeing the word "seed" as an idiom but he uses setup, and there is no entropy except for precise times when called and how the harmonics work out.
Comment on: Who says girls can't code?
Unfortunately, everyone tells them to do that. It's enough to shut the whole thing down...
Comment on: Who says girls can't code?
Now I get it... She took a snapshot on her phone, instead of using a screenshot and pasting that into Paint to save and maybe transfering the file to upload etc.
We've all done that before, especially when a sync cable wasn't handy. :/
Comment on: Boffins debunk study claiming certain languages (cough, C, PHP, JS...) lead to more buggy code than others
Lisp is the most powerful programming language.
JavaScript rocks!
https://imgoat.com/uploads/d686fd640b/192814.jpg
I believe /dpt/ says these things to self-bump.
Comment on: Core Debian developer summarily banned from project for referring to a transgender person with a non-approved pronoun
The liberals love word play that let them imagine being clever.
Comment on: Core Debian developer summarily banned from project for referring to a transgender person with a non-approved pronoun
Oracle CEO Larry Ellison is Iron Man https://web.archive.org/web/20180301161458/https://gawker.com/390837/oracle-ceo-larry-ellison-is-iron-man
Comment on: Core Debian developer summarily banned from project for referring to a transgender person with a non-approved pronoun
It took decades for Sun to put down Solaris.
I can't find the article now, but a new CEO at one point decided to remove the compiler from lower end versions of SPARC workstations or something. You had to pay for an upgrade to get what used to be free. Differentiation actually is a marketing technique but that was pretty shitty... This was about the time GCC became popular.
They also changed how system calls were made (via registers, not via stack) to intentionally create an incompatibility with proto-BSD.
The CEO was a massive failure and paid handsomely to leave, falling upward into other big corporations.
Comment on: Core Debian developer summarily banned from project for referring to a transgender person with a non-approved pronoun
Professionalism has an understanding of respect for other "professionals" in the same field. It would usually be mentioned in the Professional Code of Ethics of a professional organization and may be part of the certification process if membership isn't legally required.
Software Engineers are usually not certified professionals by the State, technically, not usually...
You probaby wouldn't want programming certified either. It would force requiring a SWE degree or next to it, maybe require membership in the ACM and/or IEEE, require other things too.
Comment on: Core Debian developer summarily banned from project for referring to a transgender person with a non-approved pronoun
I haven't heard lf this, tell us more?
"Debian" was a word-blend of the founder and his girlfriend's name, but they broke up and he was still working on it after the breakup.
Comment on: 10 free tools for journalists to learn how to code
Don't underestimate the top professionals, even if they are the ones who passed through the filter. :/
Comment on: 10 free tools for journalists to learn how to code
Computer literacy, maybe... That might even involve some basic coding of some sort, or not.
Comment on: #LearnToCode? NO! #DontLearnToCode - No Need for Opportunistic Journalist Has-Been Ruining That Too!
Which is interesting, because you sometimes hear them talking about innovative social technologies (i.e. Zippo's group-based project methodology, etc). They SHOULD know better. The SJWs have social theories to preserve their own activist collectives... They know exactly what their doing.
Comment on: 6502 Assembly Language Programming #13: Worm Part 1
Part 2 was just posted. https://www.bitchute.com/video/1BPTIadYslkD/
These videos are both good and have shortcomings... It's more realistic to see all the wrong turns made. It would have been nice to have assembly macros instead of cut and paste code, but people do that in real life too. He should have made the character a named constant, and looked up the constant instead of running a test program using an even more obscure technical detail... Or that was okay but make it a named constant if needed to look up. He discusses programming principles that would apply to in general fairly often but not always clearly. That TODO list was nice, but could he do some of the planning on a whiteboard or notebook, maybe draw a flowchart? Maybe have a review afterwards and lessons learned segment.
Comment on: Should Journalism Schools Require Reporters to #'LearnCode'? No
No, but speaking of which:
- https://www.youtube.com/watch?v=CTXL5Z6EZQs
- https://www.youtube.com/watch?v=znvsmQFbt7I
- https://www.youtube.com/watch?v=VBiUE2d2Lsw
- https://www.youtube.com/watch?v=moUKvLeGtgM
- https://www.youtube.com/watch?v=elaR3WhguVk
- https://www.youtube.com/watch?v=7gsvwqO8czs
- https://www.youtube.com/watch?v=rqX8PFcOpxA
- https://www.youtube.com/watch?v=kXpWLv2o7hs
- https://www.youtube.com/watch?v=EYnbdvGib98
- https://www.youtube.com/watch?v=8HNJbHtTLdM
Comment on: Learning to program to achieve something (Serious)
Aww c'mon... Why don't you code up Conway's Game of Life and do a show and tell tomorrow morning. The field can be small if printing to STDOUT, or graphical. Random starting population.
Comment on: Learning to program to achieve something (Serious)
It does take much time set aside, that is true... It would be nice to have someone to code with.
Comment on: Terry David says computer sciences is brain fucking the kids. Is he right?
TempleOS rare commercial from 2011 [4:56] https://invidio.us/watch?v=UDHf_VGM-pI
Comment on: Learning to program to achieve something (Serious)
How have things gone since posting this a month ago? Have you learned much :)
I just realized that youtube video-id is the same as bitchute video-id.
https://youtu.be/1LeZCLE2Lxs https://www.bitchute.com/video/1LeZCLE2Lxs/
Both have "1LeZCLE2Lxs" in them.