420chan now has a web-based IRC client available, right here
Leave these fields empty (spam trap):
Name
You can leave this blank to post anonymously, or you can create a Tripcode by using the float Name#Password
A subject is required when posting a new thread
Subject
Comment
[*]Italic Text[/*]
[**]Bold Text[/**]
[~]Taimapedia Article[/~]
[%]Spoiler Text[/%]
>Highlight/Quote Text
[pre]Preformatted & Monospace text[/pre]
1. Numbered lists become ordered lists
* Bulleted lists become unordered lists
File

Sandwich


Community Updates

420chan now supports HTTPS! If you find any issues, you may report them in this thread
Developing on WINDOWS by Basil Claydale - Fri, 11 Aug 2017 16:14:21 EST ID:jFbzmpiB No.37149 Ignore Report Reply Quick Reply
File: 1502482461546.jpg -(40217B / 39.27KB, 350x524) Thumbnail displayed, click image for full size. 40217
Sup guys I just got my first big software contract to develop an .exe to run on windows desktops. I'm a competent C++/C# programmer, but until now I've been working on embedded systems/apps so this area feels unfamiliar. Is it as simple as just building a regular old C# program?

Also, I need to output powerpoint files. The only thing I've been able to find is from the 2002 version. Anybody know where there's more modern construction references?
2 posts and 1 images omitted. Click Reply to view.
>>
Esther Clupperchidge - Sun, 13 Aug 2017 04:46:38 EST ID:P6PS9CBz No.37154 Ignore Report Quick Reply
>>37153
I pretty much full-time develop in C++ for Windows. Lemme know if you have any other questions and I'll try to help you out. :)
>>
Molly Bunshaw - Sun, 13 Aug 2017 15:27:15 EST ID:jFbzmpiB No.37155 Ignore Report Quick Reply
1502652435408.png -(454327B / 443.68KB, 1121x611) Thumbnail displayed, click image for full size.
>>37154
So there's like three ways to do this, I guess.

1) Interop, requiring office (fuck that)
2) Some shit where you build the PresentationPart and the MasterPart and all this 400 line bullshit for a blank fucking slide
3) What you said I assume, fucking build the goddamn XML file with XML strings then zip that bad boy

Is 3 the best? Can you give me a handly link of all these XML strings?
>>
William Bengerfield - Tue, 15 Aug 2017 03:21:44 EST ID:P6PS9CBz No.37157 Ignore Report Quick Reply
>>37155
I would start with taking an existing, simple .pptx file and unzipping it and taking a look in its master XML file. You can even try making simple modifications to it (like altering text or moving an image slightly), then re-zipping it and running it to check that the changes you made resulted in the outcomes you expected. This should gain you some experience working with this XML system in a very practical manner (which you'll need to build your program). Then, starting with a pre-existing, blank .pptx presentation you should try and build the presentation slide by slide using your knowledge of the format.

If you get stuck and don't know what a given XML tag does in the OOXML format, you can look it up in the official spec here:
https://www.ecma-international.org/publications/files/ECMA-ST/ECMA-376,%20Fifth%20Edition,%20Part%201%20-%20Fundamentals%20And%20Markup%20Language%20Reference.zip

The section on PresentationML (which contains the description for all of the Powerpoint data) begins on page 2517 (out of 5039 total pages - this is a really, really long spec). Good luck!
>>
Edwin Badgechadge - Wed, 16 Aug 2017 17:50:21 EST ID:jFbzmpiB No.37158 Ignore Report Quick Reply
1502920221707.jpg -(67696B / 66.11KB, 557x807) Thumbnail displayed, click image for full size.
>>37157
Killer, exactly what I needed.

Thanks again bruv, drop a btc address and i'll throw ya some change. I normally don't do this kind of corporate crap but they're giving me 15k USD for about two weeks of work (sitting at home naked smoking shatter programming in a haze) so..
>>
Ian Pindlehune - Thu, 17 Aug 2017 01:48:31 EST ID:P6PS9CBz No.37159 Ignore Report Quick Reply
>>37158
Don't worry about it man, spend the money on yourself instead, and good luck!


A ridiculous sequence of courses by Doris Blatherstock - Sun, 04 Jun 2017 02:38:16 EST ID:HC1vVHLz No.37033 Ignore Report Reply Quick Reply
File: 1496558296564.jpg -(18091B / 17.67KB, 480x360) Thumbnail displayed, click image for full size. 18091
Hello, I made and actually did all this (including the 'grad level' research electives, except for the coding theory book)
https://functionalcs.github.io/curriculum/

It's easier than it looks, it took me 3 years to do that. I did it about 3-4 hrs a day at first but then everything kind of snowballed and I finished it with only 1hr a day after the first year. These days I'm finishing The Art of Computer Programming series, I'm done up to book 4A and doing 4B draft at the same time. I just do it 20-30mins a day.

I cannot shill TAOCP enough, it totally changed me from amateur to professional computer scientist by just doing hundreds and hundreds of exercises. 20mins a day, for one year, it's all you need for the first book. Anyway, pick and choose what you want from this list and enjoy

I make money from cloning shopify apps, and I work P/T on https://turtle.ai/ though much more infrequently these days. I started out shilling myself on elance (now "upwork") as a jr developer and literally taking jobs from 3rd world countries for less than I would spend on lunch. I also work 2 days a week at my local university doing "ML" (statistics) for a cancer research lab making peanuts but it's research, and fun to do, and I don't need the money. The book in that above link, "Parallel and Sequential Algorithms" was directly responsible for the lab hiring me. Anyway anons I'm here to tell you to try this have a good day.
5 posts omitted. Click Reply to view.
>>
Graham Himmerham - Tue, 11 Jul 2017 14:10:19 EST ID:MNLHjix1 No.37110 Ignore Report Quick Reply
>>37109
Okay, could you recommend any?
Anything to look out for?
>>
Polly Boddlelock - Wed, 19 Jul 2017 00:15:00 EST ID:9plGIS8Y No.37114 Ignore Report Quick Reply
Thanks for the curricula brah. Currently learning about learning. Real interesting stuff. I'm already a fast learner but maybe knowing how it works will help me git gud faster.
>>
Lydia Buzzcocke - Wed, 19 Jul 2017 14:42:05 EST ID:hh4uYXvR No.37116 Ignore Report Quick Reply
>>37033
Thanks for the link, I could use a touch-up on specifically my math (esp. algrebra) and problem solving skills...

Lots of great reading in there. "Parallel and Sequential Algorithms" is really interesting

That's my summer vacation covered :-D
>>
Archie Fongerlodging - Thu, 20 Jul 2017 22:30:07 EST ID:eZVREo4y No.37120 Ignore Report Quick Reply
>>37033
Anon quit being a fag and mentor me on making money in crypto
>>
Shitting Chuzzledock - Mon, 14 Aug 2017 17:30:31 EST ID:MNLHjix1 No.37156 Ignore Report Quick Reply
>>37033
Simeltaneously doing the "How to learn" Course paired with the introductory Programming Course. I gave the "How to learn" course a 2 week head start.

What I like about it so far
  1. I already know a lot about anatomy, physiology and how the brain functions
  2. I already habitiually do 30 min-1 hour habits on a daily basis (DuoLingo, Guitar, puzzles, reading...) so this is easy to adopt.

Wish me luck, as I delve into this new frontier of CS


SQL???? by Frederick Billingham - Thu, 29 Jun 2017 23:03:54 EST ID:CWRrpPJ1 No.37095 Ignore Report Reply Quick Reply
File: 1498791834108.jpg -(13839B / 13.51KB, 312x311) Thumbnail displayed, click image for full size. 13839
heya proggers

what are the career prospects for those proficient in SQL and SQL alone?

Took a year long course in marketing research and I realize the databasers seem more of my folk than than the marketeering knobs.

What languages complement SQL? What are some good resources for learning SQL?

Thanks proggies
3 posts omitted. Click Reply to view.
>>
Priscilla Bingerworth - Mon, 17 Jul 2017 07:47:32 EST ID:2Zau/Z1R No.37113 Ignore Report Quick Reply
Building databases is a hefty job and is usually split in three phases, sometimes assigned to different teams: analysis, design and realization. Writing SQL is involved only in the last part, and is merely a translation of the output of the "design" phase (which is based on the output of the analysis, duh)
If you want to get serious about databases, I suggest learning first and foremost about relational algebra, ensuring the integrity of data, Entity-Relationship diagrams, use-case design, first order logic (FOL) and the relational model of data. That is required and necessary to having the logical and semantically correct model for your data, independent of which DBMS you are going to chose. It is a very tricky subject at first and you should never start writing any SQL code without first analyzing what you want to build, because there are often many ambiguities in our imagination and lots of stuff that just needs to be analyzed in order to get an optimal, coherent result.
>>
Lydia Buzzcocke - Wed, 19 Jul 2017 15:10:59 EST ID:hh4uYXvR No.37117 Ignore Report Quick Reply
>>37095
> what are the career prospects for those proficient in SQL and SQL alone?
not many, unless you're a Microsoft SQL (TSQL) guru. You do need to know your way around the OS the DB is on as well, if you are to solve problems with the SQL server.

Unless you're also a programmer in some way, you're unlikely to get your foot in, as you are expected nowadays to not only manage the DB and be able to query, but to expand it and integrate it in a product as well.
Where I work (as a sysadmin), the programmers take care of DB layout, integration etc... I just take care of the server, user rights and make sure it all runs smoothly and is backed up.

The REAL challenge is balancing the workload properly between DB and programs...

What languages complement SQL? What are some good resources for learning SQL?
Any language can speak to any language, provided there's an API or library
The answer really depends on if you want to make practical apps or websites. C# is a good (albeit Microsoft-centric) start, as you can both do .exe apps and websites (with ASP.NET) quite easily. I find both MSSQL and Visual Studio have some good features to help beginners along and save time.

If you decide on C#, have a look at LINQ to SQL and Entity Framework (and linqpad for debuggin' and tweakin') as those can help you make safe DB calls without too much fuss.
Comment too long. Click here to view the full text.
>>
Betsy Bommlebut - Thu, 20 Jul 2017 12:50:07 EST ID:xjxP6QN5 No.37118 Ignore Report Quick Reply
>>37117
> Entity Framework
If you do this you'll never really understand data. Avoid object-relational mappers like the plague (cause they are a plague), see >>37113 for the straight dope
>>
Wesley Bardhood - Fri, 21 Jul 2017 14:41:06 EST ID:9QSfnS0r No.37121 Ignore Report Quick Reply
>>37118
Sometimes you are forced to, because your colleagues are using it or your boss wants you to use it because they think it makes your codebase portable across database daemons.
I hate ORMs with fervor but I still use one almost every day.
>>
Isabella Packleson - Tue, 25 Jul 2017 15:57:46 EST ID:V7eGwZUD No.37123 Ignore Report Quick Reply
OP, get into PostgreSQL. It's a legit good analytical tool and my company uses it everywhere.


a phone os by Basil Gugglegold - Thu, 10 Aug 2017 09:59:00 EST ID:CZA5DFLp No.37145 Ignore Report Reply Quick Reply
File: 1502373540803.jpg -(80244B / 78.36KB, 1000x661) Thumbnail displayed, click image for full size. 80244
How realistic would it be to create a very basic os for an arm phone?

I'd be content if I could just boot, and maybe send a blank sms by pressing the home button or something. Has anyone ever done something like this? Do you know of any good resources to get started?
I had a basic computer architecture class, so I know how to program simple startup code and taskmanagers for x64/x86 and some microprocessors, so learning arm assembly wont be a problem. Having access to I/O, and eventually the gsm functions will probably be the difficult part.

I never really wanted a smartphone, but now I got a 2015 samsung galaxy a3 because it was only 25 euro. The battery life is really shitty (40 hours at best), so an ultra efficient os would be really cool.
>>
Priscilla Miblinghall - Thu, 10 Aug 2017 12:34:24 EST ID:P6PS9CBz No.37146 Ignore Report Quick Reply
>>37145
Take a look at the Android source code, I'm sure they have lots of examples of how to write bootloaders and SMS interfaces.

I'm not sure if this is still the case (probably is for backwards-compatibility), but maybe 5 years ago pretty much all cell phone modems used a pretty simple interface of "AT commands" which you can read more about here:
https://en.wikipedia.org/wiki/Hayes_command_set

There's also really good resources for this sort of thing online, but here's one that I found really quickly:
https://www.quora.com/How-do-I-interface-a-GSM-modem-with-a-microcontroller

Basically if you can figure out how your cell modem is wired to talk to your microprocessor, then you should be able to use that connection to send/receive AT commands and have the cell modem do things such as connect to the network and send/receive text messages. Other operations like making phone calls, handling MMS with embedded files, and connecting to the Internet and sending/receiving arbitrary network data might be a bit more complicated, so start with simple text-only SMS messages first.
>>
Lillian Chinderham - Thu, 10 Aug 2017 15:33:53 EST ID:9QSfnS0r No.37147 Ignore Report Quick Reply
A phone is basically "just" a glorified raspberry pi with a touch-screen, a mobile network module, wifi & bluetooth module, a 3 axis accelerometer, a loudspeaker and a microphone.
But: In contrast to how you would by those modules C/C++ header files to access the peripherals might not be available, and because there certainly is no schematic you'd have to find out which components they are using and how they are wired together yourself. (Or find somebody who did that)
Then you'd have implement the drivers yourself according to the devices datasheet and the reverse-engineered schematic.

If you are a professional embedded programmer it might take you a week (just spit-balling here, I'm not that) otherwise who knows.

Seriously get a prototyping board and a mobile module and 3d-print a case.
If you want it to last forever put in 2x 18650s and use a board that has a multi-cell charging controller.

Otherwise just look for old phones that have already been reverse engineered and use that.
>>
Phyllis Fabblefane - Fri, 11 Aug 2017 01:51:37 EST ID:P6PS9CBz No.37148 Ignore Report Quick Reply
>>37147
I feel like a professional embedded programmer might take a little while longer than 1 week to reverse-engineer and implement the entire layout of a modern cell phone to the point that they could run their own code on every different piece of it. They're humans too, not gods!


C++: TRY-CATCHING for Bounds by Nicholas Blacklock - Thu, 03 Aug 2017 20:40:54 EST ID:HsZblEoz No.37132 Ignore Report Reply Quick Reply
File: 1501807254829.png -(32495B / 31.73KB, 500x386) Thumbnail displayed, click image for full size. 32495
Hay PROG!
With C++, I'm doing a lot of computation with arrays/vectors and always running into bounds/BAD_ACCESS errors. I'm here to ask if using try-catch blocks to handle these guaranteed thrown exceptions is a good idea.

You can find my code snippet at https://pastebin.com/uWM3MXxs
5 posts omitted. Click Reply to view.
>>
Phineas Greenridge - Sun, 06 Aug 2017 19:41:12 EST ID:HsZblEoz No.37140 Ignore Report Quick Reply
>>37139
Ok thanks for the answers. I had tended to shy away from a bunch of nested bounds checking when I could just throw it all in a try-catch, but if it's faster then I'll follow common practice
>>
Shitting Tillinglock - Mon, 07 Aug 2017 19:16:16 EST ID:Kaw49/tj No.37141 Ignore Report Quick Reply
>>37140
The speed of try/catch is hard to think about. First you have to understand the compiler's implementation then have you have to consider what kind of memory penalty the catch is likely to entail. If it's not high performance code or the exceptions are truly exceptional, it's not worth thinking about it.
>>
Phoebe Chimblewell - Mon, 07 Aug 2017 23:38:55 EST ID:JneGddQE No.37142 Ignore Report Quick Reply
>>37141
well since you told me not to think about it, I wanna think about it now. Care to explain??
>>
Rebecca Crunderned - Tue, 08 Aug 2017 02:41:20 EST ID:P6PS9CBz No.37143 Ignore Report Quick Reply
Often times try-catch semantics are more expensive than a simple if-check. The reason for this is because of all the work that modern operating systems have to set up in order to make try-catch blocks work. When an exception is thrown, what tends to happen is that the processor's hardware exception interrupt vector is triggered (which punts you over to kernel-mode to handle it). When the interrupt vector determines that this is a software-initiated exception, it hands the exception off to the OS kernel to handle. Then when the OS kernel deems that this exception isn't one the special kernel software interrupts, it hands it off to the usermode program's exception handler. After all of that, your program goes into a special mode where it gets the chance to handle the exception or get force-exited by the OS. That's *a crapton* more work that the processor has to do versus a simple if-check.
>>
Jack Heshfield - Tue, 08 Aug 2017 18:32:03 EST ID:akqfogJa No.37144 Ignore Report Quick Reply
>>37143
That's not how exceptions are always handled. It's a different story for every implementation, but in general the catch can stand around looking dumb for a long time.


Java versus Python by Anon - Mon, 31 Jul 2017 22:09:34 EST ID:ddyPydmV No.37128 Ignore Report Reply Quick Reply
File: 1501553374819.jpg -(49279B / 48.12KB, 559x254) Thumbnail displayed, click image for full size. 49279
If I'm interested in programming simple, 2D games, which language am I better off with? Perhaps Python is the answer? It seems to be good for making simple games due to its pygame program. On the other hand, Minecraft is programmed in Java and is a great game.

What does /prog/ think?
>>
Thomas Hottingfuck - Tue, 01 Aug 2017 02:54:32 EST ID:cR7sUKFo No.37129 Ignore Report Quick Reply
1501570472742.jpg -(63422B / 61.94KB, 640x490) Thumbnail displayed, click image for full size.
I would recommend you use Java because it is more akin to industrial standard languages than python is.

If you can pick up Java, Python will be piss easy.
Same is true the other way around, just not as much so.

BUT MOST IMPORTANTLY MORE IMPORTANT THAN WHATEVER LANGUAGE YOU DECIDE TO PERSUE:

You are not locked into that language. You can do other things. You can learn different languages. You can be AnonOfCode
>>
James Callerwodging - Wed, 02 Aug 2017 14:12:18 EST ID:9QSfnS0r No.37131 Ignore Report Quick Reply
For simple 2d games you'd actually should have a look at processing, it has been made for this kind of stuff and just feels like programming a retro home computer.

Don't try to write games in java unless you already are proficient in it for other purposes. Using unity and c# may sound like overkill for something simple but you sure as hell would be faster than using freakin java.
>>
Hannah Gablingdale - Sun, 06 Aug 2017 08:20:25 EST ID:Ybduti9u No.37137 Ignore Report Quick Reply
I had the exact same question. Didn't answer that completely but turn out that pyglet and pygame are piss easy to use, while in java there is just a lot more boilerplate code but maybe with more possibilities with low level stuff (?? Didn't look into that much, probably you'd have more luck with c++ with low level shit like memory management)
Plus pyglet and pygame are both easy to get started with as well as possible to do advanced stuff with. For 2d games they are pretty much complete, in the end you only need images to "blit" into the window, math for collision detection, physics, 2d depth effects (if you wanted), plus basic shapes like lines, circles or rectangles. OOP should probably take care of the rest, which python is completely capable of. I'm not an advocate of OOP but for game programming it fits very well.
>>
Ebenezer Nollystone - Sun, 06 Aug 2017 18:05:27 EST ID:gLfws0AG No.37138 Ignore Report Quick Reply
>>37131
>For simple 2d games you'd actually should have a look at processing,
Yeah no, unless you want to code a pong or something extremely simple like that. It's very barebone and very slow. It's good as a pure learning experience (like bouncing squares around or whatever), but you'll probably want to switch to something else fairly quickly.

Java is fairly fast if you use an OpenGL binding like LWJGL, that's what Minecraft does. Performance is "similar" to a C++/OpenGL game speed-wise. It's also hard to do stuff the wrong way since there isn't that many ways of doing something in the first place, unlike Python. The language can get very verbose, but this is not really an issue if you use Eclipse.

I wouldn't recommend Python as a beginner because you'll most definitely use the language wrong. It can get very slow if you don't know what you're doing. This probably won't matter for whatever you will be doing, though. You will get results faster, but you won't learn as much.

I guess it depends on your abilities as a programmer.
If you don't know shit about programming then processing might be a good start.
If you programmed a few things but want to delve into game-programming big time then Java/LWJGL would be OK. Or even C++/OpenGL. The amount of things you will have to learn will be overwhelming at first, but it will definitely be worth it in the long run. It's standard and these kind of technologies will still be around for a looong time.
If you have some experience and just want to play around with shapes/colors/motions etc then Python/Pygame would be great. Python is more of a scripting language for me, I'm sure you can make great commercial games with it, but the bar is lower than with other languages.

Don't use unity or unreal because all you'll learn is either unity or unreal. You can literally drag'n drop FX from a store into your game, use visual programming for gameplay, etc. This sounds great on paper (and it is) but you'll never learn anything that way. You're a programmer, not an artist.

I never liked Python and I wrote my first game in Java so I'm pretty biased.


Java by Anon - Sun, 30 Jul 2017 21:21:21 EST ID:ddyPydmV No.37126 Ignore Report Reply Quick Reply
File: 1501464081485.png -(37854B / 36.97KB, 500x500) Thumbnail displayed, click image for full size. 37854
Is Java worth learning? I want to get into software development but I'm not sure what language to pick up.
>>
Reuben Durringwill - Sun, 30 Jul 2017 23:58:13 EST ID:WLOo3E7i No.37127 Ignore Report Quick Reply
>>37126
Yes. The important thing is to just pick one language and learn it really well.
Then if you even need to switch to a different language, it will just be a matter of syntax.
>>
Thomas Hottingfuck - Tue, 01 Aug 2017 02:57:35 EST ID:cR7sUKFo No.37130 Ignore Report Quick Reply
>>37127

To expand on what Reuben means by "knowing a language well":

You need to be able to understand what sentences and chunks of code accomplish. This can be done using any language, but since Java is one of the more standard languages used today, it is a good choice. Get yourself some good webresources on Java and crank at it.

Make sure you aren't trying to explicitly memorize every single shred of syntax. You have to try to think in computer grammar.

Think like you're trying to tell your mom how to build a computer and your programs should be fine


Scheme and C in one project by Clara Nicklewater - Wed, 28 Jun 2017 07:36:33 EST ID:M2B2u4Js No.37091 Ignore Report Reply Quick Reply
File: 1498649793698.jpg -(230329B / 224.93KB, 595x596) Thumbnail displayed, click image for full size. 230329
I am working on a project in C.
It would be real neato if I had a way to evaluate a Scheme expression in the same project also.
Is there a (preferably BSD-licensed, but any open-source one will do) implementation of Scheme which can be statically linked to my program?
2 posts omitted. Click Reply to view.
>>
Ernest Pummerkotch - Sun, 16 Jul 2017 12:51:29 EST ID:e7bTcYy7 No.37112 Ignore Report Quick Reply
>>37092
Guile is exactly what op wants but Guile does not compile to C nor does it even compile. Its a c library that allows you to call guile-scheme code from C and also define C methods and values that can be called from that code.

https://www.gnu.org/software/guile/docs/guile-tut/tutorial.html
This tutorial will have you make a simple tortoise api to GNU plot then forward that api to a guile script or repl.
>>
Nell Fanbury - Wed, 19 Jul 2017 00:17:16 EST ID:puU0YpJr No.37115 Ignore Report Quick Reply
Is that a little kid or a midge?

I feel like this is one of those images around the internet that's always seen but the backstory is never found. Until a few years later you read the context in some Taiwanese website randomly bumped into online and it's anti-climatic because the context you had envisioned was so much better.
>>
Molly Dellystock - Thu, 20 Jul 2017 16:56:18 EST ID:WwsCpz20 No.37119 Ignore Report Quick Reply
Thanks for the recommendation guys,
I eventually went for one called tiny-lisp. https://github.com/matp/tiny-lisp
Conveniently, the license permits me to take it and use it in my project, modifying it as I want.

>>37115
I think I found it on one of those clickbait shits called "Top 10 awkward family photos" or something. The children were told they could wear what they wanted or something
>>
Jarvis Crirrychot - Sat, 22 Jul 2017 13:02:29 EST ID:T/bDhTRa No.37122 Ignore Report Quick Reply
>>37115
it's a spaz/tard/whatever...
look closely at his hands... it's armrests on a wheelchair. mom has her hands on the headrest.
especially the brother in the middle looks like he had a talking-to about his "special" family member.

kid clown can't sit properly and might have lost his right index finger as well... or the costumer lost patience.
>>
Augustus Buzzson - Fri, 28 Jul 2017 04:16:09 EST ID:PsIPU8jR No.37125 Ignore Report Quick Reply
>>37122
Good shout, I never spotted that.


web-hosting that supports java? by Isabella Simmerbury - Sat, 18 Mar 2017 01:47:25 EST ID:SWJfiJ9j No.36616 Ignore Report Reply Quick Reply
File: 1489816045734.jpg -(316133B / 308.72KB, 1600x1200) Thumbnail displayed, click image for full size. 316133
I'm somewhat new to software development (just started my second year of education)
I want to start experimenting with doing server shit / applets etc.

Can anyone recommend inexpensive web-hosting that let's me run applications on their server? Is this even a thing?
>>
Nell Ceblingwitch - Sat, 18 Mar 2017 10:27:26 EST ID:WLOo3E7i No.36621 Ignore Report Quick Reply
>>36616

If you're just experimenting, I would suggest just installing Tomcat on your machine and use that.
>>
Shitting Bozzletock - Sat, 18 Mar 2017 14:13:04 EST ID:0Wz3cQnI No.36622 Ignore Report Quick Reply
Servlets, Spring, and JSP are things, but the only people who are interested in Java web services today are only in it for the JVM. Also, no one wants to run your applet in their browser. No one.
>>
Nigel Granddale - Wed, 26 Jul 2017 18:45:38 EST ID:A/reKkN7 No.37124 Ignore Report Quick Reply
>>36616
Maybe you want an application server?
https://www.linode.com/


custom PHP Framework by Fucking Billingforth - Mon, 07 Mar 2016 10:16:06 EST ID:5O5Et4Rv No.35282 Ignore Report Reply Quick Reply
File: 1457363766264.png -(45520B / 44.45KB, 410x233) Thumbnail displayed, click image for full size. 45520
Sup

wrote this php framework and would appreciate some constructive criticism.

https://github.com/SIB-FRANCE/Polyfony2

(questions about why write another framework, and why not use Symfony, Phalcon, Laravel… I'm not interest in)

Thanks
>>
Clara Droblingmatch - Mon, 07 Mar 2016 19:23:43 EST ID:5q2tULje No.35283 Ignore Report Quick Reply
Besides using PHP?
scnr

srsly nice work, will hack.
>>
Phineas Clittingchick - Sun, 26 Jun 2016 06:46:28 EST ID:vn92kpWi No.35768 Ignore Report Quick Reply
>>35282
> database abstraction
Like every other framework you fail to grasp the nature of data and databases and support the ignorance of uneducated programmers.

For comparison, what do you think of the following "programming abstraction"?

> function setVar($varname, $value)
> function getVar($varname)
> function makeFunc($funcname, array $statements)
> function callFunc($funcname, $param1 = null, $param2 = null)
>>
Nell Goodway - Fri, 07 Jul 2017 13:20:54 EST ID:PULlb7sM No.37105 Ignore Report Quick Reply
>>35767
sik
>>
Angus Foggleson - Sat, 08 Jul 2017 03:17:55 EST ID:Ay6PEFuC No.37106 Ignore Report Quick Reply
>>37105
That's some top shelf necro samefagging, Bru.


Chanpink imageboard by Polly Wankinworth - Fri, 07 Jul 2017 00:30:46 EST ID:bQ0uc9Dn No.37103 Ignore Report Reply Quick Reply
File: 1499401846015.jpg -(658384B / 642.95KB, 1920x1080) Thumbnail displayed, click image for full size. 658384
Hey /prog/
What do you think of this live imageboard I made?

https://chanpink.com


Python Curses and Unicode? by Cornelius Cungerstock - Thu, 15 Jun 2017 00:06:52 EST ID:UelYniJo No.37066 Ignore Report Reply Quick Reply
File: 1497499612658.jpg -(141192B / 137.88KB, 1920x1200) Thumbnail displayed, click image for full size. 141192
Hai /prog/ How do you print Unicode characters with the curses engine? I've tried googling it, but can't find a direct answer. I get a UnicodeEncodeError when using the addstr(). Does curses not support Unicode? Are there other options to use that are like curses but use Unicode? I don't wanna go to stackexchange cuz they're dicks
10 posts omitted. Click Reply to view.
>>
Nicholas Lightville - Thu, 22 Jun 2017 15:27:38 EST ID:iY001LBY No.37081 Ignore Report Quick Reply
>>37080

curses.start_color()
curses.init_color(17, 200,200,200)

curses.init_pair(1, curses.COLOR_MAGENTA, curses.COLOR_BLACK)
curses.init_pair(2, curses.COLOR_RED, curses.COLOR_BLACK)
curses.init_pair(3, curses.COLOR_CYAN, curses.COLOR_BLACK)
curses.init_pair(4, 17, curses.COLOR_BLACK)

print curses.can_change_color() #returns True
print curses.color_content(17) #(200,200,200),
stdscr.addstr("test",curses.color_pair(4)) #yet this text is blue
>>
Rebecca Bremblefetch - Thu, 22 Jun 2017 17:23:15 EST ID:eHw3w0GL No.37082 Ignore Report Quick Reply
1498166595626.gif -(1025807B / 1001.76KB, 240x190) Thumbnail displayed, click image for full size.
>>37081
I got the same result using xterm. To fix it I had to add this line to ~/.Xresources:

xterm*color255: true

And set the terminal:

export TERM=xterm-256color

I think if you just set TERM then it pretends to work, but actually doesn't.

Hope that helps.
>>
Angus Fonderdock - Sat, 24 Jun 2017 23:57:48 EST ID:h+zCLZ09 No.37083 Ignore Report Quick Reply
>>37082
>>37082
Thanks for the suggestion pal. It didn't quite work for me, but I might be doing it wrong. Are you using the default Mac terminal or do you use the Xquartz terminal? I'm using the default generic one. I installed Xquartz - does the Xresources file apply to only the xquartz terminal, or does it also apply to the default Mac terminal?
Thanks for the assistance!
>>
Clara Dillychore - Tue, 27 Jun 2017 09:02:54 EST ID:bwiwG/Wt No.37088 Ignore Report Quick Reply
>>37083
I'm using bog-standard xterm under debian.

You'd have to figure out how to get either mac terminal or xquartz into 256-colour mode. This might help:

https://apple.stackexchange.com/questions/274223/how-to-change-x11-xquartz-colour-setting-to-256-colors-using-bash-script
>>
Basil Shittingman - Thu, 06 Jul 2017 07:27:26 EST ID:S0dGIlDe No.37100 Ignore Report Quick Reply
>>37081

USE PASTEBIN


Pages Next>>
0 1 2 3 4 5 6 7 8
Report Post
Reason
Note
Please be descriptive with report notes,
this helps staff resolve issues quicker.