[ cyb / tech / λ / layer ] [ zzz / drg / lit / diy / art ] [ w / rpg / r ] [ q ] [ / ] [ popular / ???? / rules / radio / $$ / news ] [ volafile / uboa / sushi / LainTV / lewd ]

λ - programming

/lam/bda /lam/bda duck
Name
Email
Subject
Comment
File
Password (For file deletion.)

BUY LAINCHAN STICKERS HERE

STREAM » LainTV « STREAM

File: 1447018111753.jpg (179.29 KB, 480x710, 1439697368517.jpg) ImgOps Exif iqdb

 No.11715[Reply]

Has anyone attempted to do this guide from 8chan? https://8ch.net/prog/res/3034.html

It seems pretty tough, but apparently worthwhile.
12 posts omitted. Click reply to view.
>>

 No.11800

>>11799
I don't think that's true. In the breadth of topics covered, perhaps, but I'd wager mathematicians go into greater detail and are required to know and conastruct more difficult proofs. I'm pretty sure a mathematician would g deeper in analysis, and algebra (at least) and would cover measure theory, complex analysis, global analysis, differential geometry, and would be required to take a topology course. While a computer scientist would focus on the discrete parts and logic.

>>11796
English

>>

 No.11801

>>11799
definitely not enough for a degree, but a bit much for someone looking to pick up mathematics for the purposes of understanding CS texts/papers.

>>

 No.11803

>>11801
Lain who wrote it here. I may have misunderstood the original objective. If you want to revise and learn math solely for the purpose of reading papers and implementing ides contained therein, then yes, I agree it's a bit too much.

>>

 No.11804

Ugh. I know I should study math, but I just don't want to spend the time I could be programming on it.
Still, I better get to it, specially since I need to for school.

>>

 No.11805

>>11804
Why don't you program along as you learn? You can write programs for most of the concepts you meet in mathematics and it'll help you understand them better.



File: 1428995528343.jpg (85.86 KB, 569x400, emacsvim.jpg) ImgOps Exif iqdb

 No.5498[Reply][Last 50 Posts]

What are ya hacking with, /λ/?
295 posts and 33 image replies omitted. Click reply to view.
>>

 No.11711

>>11688
Emacs only uses a single thread. Having too many modes enabled at once also causes a noticeable delay in text entry too.
The Dwarf Fortress of text editors.

>>

 No.11712

>>11701
did you not finish the sentence

>>

 No.11713

>>11698
evil-mode can be used with pretty much every emacs plugin. I don't use emacs keybindings for anything (mail client, pdf viewer, feed reader, irc client, file manager, etc.). Using some application with evil mode is often more vimmy than vim-inspired or keyboard focused standalone programs (e.g. consider that pretty much no keyboard operated feed reader like canto or newsbeuter even supports binding key sequences).

>>

 No.11729

>>11711

Are you serious? Can't believe I wasted so much time on learning it.

>>

 No.11734

>>11712

I guess I didn't, but to claim no editor has the concept of more efficient text editing except for emacs is ridiculous. Almost all modern editors have the concept of extending and customizing the editor to facilitate more efficient text editing



File: 1428312304793.png (10.03 KB, 1052x1052, JavaScript-logo.png) ImgOps iqdb

 No.5415[Reply]

fuarrrk javascript.
91 posts and 6 image replies omitted. Click reply to view.
>>

 No.10106

>>9986
m8, the point of WASM is that you can use a shim for it. old browsers will be supported gracefully, even if they run a bit slower.

>>

 No.10149

>>5416

>2015


>Elm exists

>ClojureScript exists

Feels good.

>>

 No.11657

Some people claim that WebAssembly will make things worse because you'll need to download more information to run programs.

I look forward to programming the web with Forth, I guess. The web is really awful, but Forth would make it more bearable.

>>

 No.11664

>>5819
go pher

>>

 No.11665

I'm currently studying JavaScript generators, they're a cool feature.



File: 1446461486453.jpg (50.32 KB, 509x316, Hp16c.jpg) ImgOps Exif iqdb

 No.11339[Reply]

HP-16C is the only HP calculator for programmers. However, some calculators, such as the HP-42S, has incorporated its functions.

The company SwissMicros (aka RPN-Calc) has released clones of the HP Voyager series.

My questions are:

Have any Lainon been hepled in their programming by using a HP-16C or any other HP calculator?

Has any other companies released calculators for programmers?
10 posts and 3 image replies omitted. Click reply to view.
>>

 No.11396

File: 1446543231277.jpg (41.59 KB, 640x408, ce140p ce140f ce130t pc136….jpg) ImgOps Exif iqdb


>>

 No.11428

>>11392
>Unicode on a calculator.
Those poor engineers.

>>

 No.11583

File: 1446794276099.jpg (90.5 KB, 800x513, calculadora HP 2.jpg) ImgOps Exif iqdb

>>11428
Why is that bad?

And consider this, dear thread. The HP-12C financial calculator was released in 1981. It is still the business standard. In 2003 the platinum edition was released. They also released HP-17Bii+.

I'd love to have a HP-12C original edition. I will probably get the HP-16C too. Because I really love calculators. Portable, reliable, long battery life, quick and demanding. The opposite of a "smart" phone. The perfect tool for making mathematical inquiries. The perfect tool for the programmer.

>>

 No.11611

File: 1446837798790.png (147.29 KB, 573x430, c02156931.png) ImgOps iqdb

>>11392
Damn that looks pretty cool, but seems kinda tedious to do anything beyond the most basic functions.
>>11583
My dads got that one, somethin went wrong with it last year so he had to get the platinum edition, he said it felt a lot cheaper.

I got this one when i started college.i like it, some buttons are kinda annoying though. Its slow when inputing numbers so it wont recognize the first digit of a number sometimes. Ive barely scratched the surface on what it can do though.

>>

 No.11634

>>11611
Sweet machine you got! I've got the 20s. Learned yesterday that it's programmable. Lainon to the challenge!

The 12C "1981" are still sold. So you may buy one for your dad as a christmas gift. (However, it may make the platinum be sad.)



File: 1445243967185.png (60.87 KB, 540x960, Screenshot_2015-10-19-11-3….png) ImgOps iqdb

 No.10705[Reply]

Give me some ideas, please.
29 posts and 3 image replies omitted. Click reply to view.
>>

 No.11576

Впрочем, я и отсюда свалю, мамкины лисперы заебали. Сами движок не могут написать, ага. /int/ нет, "post in English", охуеть.

>>

 No.11577

>>11575
This is an english speaking imageboard and the moderation team officially speaks english. /layer/ is the only board with a Russian speaking moderator.

>>

 No.11587

>>11569
English language can't give that words like харкач, that show not only meaning, but person's attitude to it.
К тому же я его нихуя не знаю.

>>

 No.11591

>>11575
>>11587
Guys, the point is they can only moderate english. Please don't make the mods' job harder.

>>

 No.11593

>>11576 DIRTY COMMIE SCUM GET OFF MY HARD EARNED LAND I EARNED WITH MY OWN SWEAT TEARS AND FECES GET OUT OF HERE WE DONT SUPPORT RUBLE HEADED BASTARDS LIKE YOU THIS IS A FIRST WORLD COUNTRY WHERE WE DONT SHOVE OUR HEADS INTO BEARS ASS AND DRINK POTATO JUICE ALL DAY U LIL KALASHNIKUNT I BET I CAN REK U IN A RACE OWP SORRY ALREADY HAPPENED COSMONAUT MORE LIKE KOSMO-NOT AMIRIT HYUK HYUKHYUK GO BACK TO YOUR BREAD LINE HAR HAR MEANWHILE ILL BE HERE TEACHING MY SON HOW TO RIDE MY BIKE AND MEET JOHNSON IN THAT PRESS MEETING WE HAVE O LOOK IM GETTING A CALL FROM HIM RIGHT NOW OH HELLO JOHNSON HOW IS THE BUSINESS REPORT GOING SPLENDID MHM YES INDEED WELL IVE FINISHED PAYING MY BILLS AND GOING TO PLAY BILLIARDS SEE YOU AT WORK CLICK



File: 1446010857595.jpg (75.25 KB, 440x660, 1443229264536.jpg) ImgOps Exif iqdb

 No.11076[Reply]

Why does so much software suck so much?
12 posts and 3 image replies omitted. Click reply to view.
>>

 No.11202


>>

 No.11205

>>11202
tests are a middle ground approach for the actual problem mentioned in >>11182
>Software is broken because of apathy and laziness.

>>

 No.11239

>>11076
because c/c++

>>

 No.11588

First of all, I wholeheartedly agree with OP. It's saddening.

>>11239
You can make a lot of change with relatively low effort even with C/C++.

>>11182
That seems to be the case to me. I mean, it's like developers like pain. The whole bunch of them. Us.

I constantly find areas where existing solutions are just bad, or missing entirely. Only from time to time someone optimistic with some free time hacks together something going roughly in the right direction.

Software development shouldn't be as hard as it is now. But no one dares to make the tools to make it simpler!

I want to be able to quickly glue together applications. Build myself a nice file manager! Write a solid hexeditor! Text editor! Somehow, this requires some arcane overcomplicated bull soykaf stuff on Linux. And probably elsewhere, too.

All the languages with proper tools are soykaf . C, C++, Java. (.Net I actually think is pretty fine but quite platform-bound)
Post too long. Click here to view the full text.

>>

 No.11589

File: 1446813874458.jpg (113.56 KB, 528x648, 0137035152.jpg) ImgOps Exif iqdb

Writting software is "easy", you only need a computer and you can hack a solution until it does what you want.
It's not like in any other engineering field where you have to plan what you're going to do and have a detailed instructions of how to do it like in Civil or Mechanical Engineering.
So the engineering part is always forgotten in the software world, here's an example: http://www.darkcoding.net/software/facebooks-code-quality-problem/
People don't care about software engineering and architecture, and obviously any software that wasn't correctly designed is doomed to fail



File: 1446577953775.jpg (98.07 KB, 1280x720, hyouka-17-chitanda-mayaka-….jpg) ImgOps Exif iqdb

 No.11402[Reply]

So, I found this Programmer Competency Matrix:
http://sijinjoseph.com/programmer-competency-matrix/

How well do you do on it, /λ/?
It's more Industry centered, which makes it pretty worthwhile to check it out.
I think those might be the criterions a future employer might judge you by as well.

I've found that there've been a few categories, where I ended up being Level O, because I didn't pass Level 1, but the higher level criterions applied to me.
Kinda frustrating.
31 posts and 2 image replies omitted. Click reply to view.
>>

 No.11501

>>11496
>Then why are you attempting to inhibit it here?
I am not,
in a lot of more advanced languages automation and with it abstraction is a key tool to productivity.
Throwing more unskilled people at a Problem will not increase automation, or increase maintainability (often it will lead even to unsafe, unmaintainable shitty code). It just increases the safety cushion of the one paying and replaceability of the workers.
In a lot of cases this automation works on a higher level of abstraction, and thus will be harder to grasp. Meaning a higher skilled programmer will be required to maintain it naturally.

>The be a dick to them before they're a dick to you strategy? Like I say this is short sighted.

You don't have to be a dick about it, just know your worth.
And if soykaf hits the fan, just take a stand instead of being a coward.

>Errm, more maintainable code means that the creator can be replaced.

By just about anyone? No. See above.

>making it maintainable just means good comments and documentation.

Post too long. Click here to view the full text.

>>

 No.11502

>>11501
>In a lot of cases this automation works on a higher level of abstraction, and thus will be harder to grasp. Meaning a higher skilled programmer will be required to maintain it naturally.
Right, more difficult code requires more skilled people, that's a reality, but it doesn't change that deliberately attempting to make the code more difficult doesn't help anything but your job security.

>You don't have to be a dick about it, just know your worth.

I do, but I don't feel the need to artificially inflate that worth through underhanded methods that ultimately just cause people problems (which would be being a dick).

>And if soykaf hits the fan, just take a stand instead of being a coward.

Taking the future as it comes, even if that means you are not needed, seems less cowardly than attempting to ensure that society is unnecessarily dependent upon you.

>By just about anyone? No. See above.

All else being equal it would mean they were replaceable by more people.

>Very wrong. Maintainability is an integral part of the structure and design of the program and possibly the language chosen itself!

Don't take that out of context. I said if you already have something that just naturally happens to be difficult to understand. My point was only that things need never be dumbed down to aid maintainability (it does happen, it shouldn't). Not that terrible code with good documentation is maintainable.
Post too long. Click here to view the full text.

>>

 No.11506

>>11502
>Alright, you know let's clarify what we are arguing.
Most of what I am arguing is already established under that loperos blog in some form or another,
I think that dude is right in many regards (although he may seem a bit too extreme in general).

>requires more skilled maintainers?

Yes, as it is natural in some sense that higher skilled programmers will produce better code

>unnecessarily requires more skilled maintainers?

No. Better code is always necessary in my opinion.

>Taking the future as it comes, even if that means you are not needed, seems less cowardly than attempting to ensure that society is unnecessarily dependent upon you.

I don't think you grasp what I mean.
The replacement through automation is not the same thing as replacement by other workers.
replacement through automation is a natural consequence of the advancement of a "profession" (or whatever you want to call it).
Post too long. Click here to view the full text.

>>

 No.11511

>>11506
>The replacement through automation is not the same thing as replacement by other workers.
The two go hand in hand. Automation is a slow process where things become easier and easier increasing the number of people who can do a job and making people more replaceable. For instance where once we needed talented musicians, with autotune, we now need anyone who can hold a guitar. The same applies to code, we've built these languages and libraries and all sorts of tools meaning that less and less skilled people can produce better and better results.

>Better code is always necessary in my opinion.

We're not talking about better code. More difficult to maintain does not imply better and better does not imply more difficult to maintain. I'm asking if you think it's right for programmers to deliberately write unnecessarily hard to maintain (by that I mean hard to maintain for no other reason than this) code in order to make themselves less easy to replace?

>Building a system so that a creator (or in this case called a worker), is easily replaceable by others only serves the one who decides who gets replaced!

And it serves the creator if he wants to be able to leave his work behind and the whole rest of the world if he dies. It's actually better for everyone if people make things that don't require them specifically to function.

>The individual has in turn no leverage against the one providing the work

Of course you do. You get the same leverage any worker does and, as you've noticed, trying to make yourself more valuable by being irreplaceable is actually just making you less valuable in their eyes due to this. You won't increase your leverage this way.

>I do care if the system is build to replace workers.

A system that wasn't would be far, far worse. Workers need to be replaced, people die or quit their jobs or whatever. We have to be able to accommodate for that or we're just building bad systems that can't cope with reality.
Post too long. Click here to view the full text.

>>

 No.11533

>>11511
>Really? C'mon.

It means I am done arguing with someone who doesn't want to understand. Someone who is trying to rationalize the fact that he is being mistreated in the thing he does most of his waking life.
My post is clear enough, the only thing you can now do is disagree..



File: 1435373031905.gif (498.22 KB, 500x281, tumblr_mxhwchMD6k1skyf48o1….gif) ImgOps iqdb

 No.7062[Reply]

So, I've been working on developing my own i686 kernel, and I thought I would see if anyone else has had a go at operating system development. If not, who is insane enough to want to try?

My main issue at the moment is getting interrupts, well, working. Fun stuff! I would like to see what the rest of /λ/ thinks.
28 posts and 5 image replies omitted. Click reply to view.
>>

 No.9507

For those looking to start playing with OS dev, I started reading this and it looks good so far for beginner.

http://littleosbook.github.io

>>

 No.9618

>>9507
I've read that, it's okay as far as beginner books go, thanks for sharing.

>>

 No.10579

File: 1444968384006.jpg (21.07 KB, 480x360, 1435892680484.jpg) ImgOps Exif iqdb

I'm currently reading Modern Operating Systems by Tanenbaum and it's been really fun. Kinda makes me want to read more about this when I finish it.

>>

 No.11416

I've been working on my os for a little over a month and have reached the point that I am ready to make a mmaped heap for allocation.

I have decided to use a linked list of bins. These bins will hold the free memory for the system and be ordered by sizes. (i.e. bin1=1B-4B, bin2=5-8B, etc...) These bins will consist of a doublylinked linst of the free memory in address increasing order. I am wondering if this sounds sane or even plausible. Any thoughts?

>>

 No.11418

>>10579
This stuff is excellent
http://www.projectoberon.com/
I disliked the way that Tanenbaum handwaves early on in the book making OS's with languages that have GC



File: 1446493130721.jpeg (9.96 KB, 300x300, images.duckduckgo.com.jpeg) ImgOps iqdb

 No.11361[Reply]

==Stupid / newbie question. (Bad english, sorry)==

Is there a way to automatically set an object variable as its instance name?

ex:

//Create instance
Pawn p1 = new Pawn("white");
System.out.println(p1.getName()); //Will print p1

-
Pawn is an abstract class of Pieces which has the var:
String name;
String color;

Post too long. Click here to view the full text.
>>

 No.11362

there's a beginner general, use the catalog pls <55

https://lainchan.org/λ/res/5683.html



File: 1446215238708.png (92.97 KB, 1280x350, ClipboardImage.png) ImgOps iqdb

 No.11169[Reply]

Microsoft seems to be steeping their game up! They now have a non-Visual Studio code writing application, and it'd available on Windows, Mac, and even Linux!
It's pretty nice, also free. Try it out!
11 posts omitted. Click reply to view.
>>

 No.11334

Why should I install another Atom?

>>

 No.11347

Well, sure, but it's not vim.

>>

 No.11352

>>11248
If you don't care, don't bother to post. That's how things works on this chan^^

>>

 No.11356

>>11248
Sorry for sounding like I was shilling, I only wanted people to test it out before bashing on it like people typically seem to do with Microsoft soykaf .

>>

 No.11358

>>11356
I have, it's not that bad. Can't elaborate cuz bad English.



Delete Post [ ]
[ 1 / 2 / 3 / 4 / 5 / 6 / 7 ]
| Catalog