News for hackers. Stuff that matters.

vegggdor

Re:TempleOS: 5 minute random code walkthrough on Wednesday September 24, 2014 @08:13PM (#8364866)
Having to use lambdas just to get the syntax to allow for a one liner makes your point about reformatting.
Re:Analyzing Programming Languages Using Rosetta Code on Wednesday September 24, 2014 @02:42PM (#8363298)
Rust is also new and hot
Re:Analyzing Programming Languages Using Rosetta Code on Wednesday September 24, 2014 @02:40PM (#8363277)
sun used to, and now oracle does make money of machines the language is supposed to run on. now counting two and two together ... I'm not implying anything :)
Re:Evolution: A Complexity View on Wednesday September 24, 2014 @01:55PM (#8362973)
> enough sources of "random" genetic variation

well, that's the kind of thing the GP wants to put in numbers and a mathematical system, to provide substantial arguments.

Re:A Site That Teaches You to Code Well Enough to Get a Job on Tuesday September 23, 2014 @05:00PM (#8358204)
Well, that's the main feature of a web server, besides the obvious sending of responses? The usual notion is of requests and responses, routing seems to be an avant-garde term, in this domain.
Re:A Site That Teaches You to Code Well Enough to Get a Job on Tuesday September 23, 2014 @04:13PM (#8357851)
I somehow missed your actual arguments for flask, so my impression of you over-enthusiastically praising flask was all wrong, sorry. Still, if Flask does everything for you, what are students left to learn? A lot, i guess :)
Re:A Site That Teaches You to Code Well Enough to Get a Job on Tuesday September 23, 2014 @12:37PM (#8356232)
> and the people who get the most upset by that notion are often those who have taught 0 students

Does that apply to you?

Re:A Site That Teaches You to Code Well Enough to Get a Job on Tuesday September 23, 2014 @12:32PM (#8356208)
Writing web apps or servers are two different things. well, mostly ... almost, at least if you teach for productive use. especially for anyone who just started coding, a few lines of python can be a lot, so KISS.
Re:A Site That Teaches You to Code Well Enough to Get a Job on Tuesday September 23, 2014 @12:10PM (#8356046)
Routing is done by a router, not a server. a server serves. Does that really need to be said?

Edit: to clarify, I read about "routing" in "web-apps" now and then. I have problems figuring out, although it seems to be clear to anyone. And then you come and mess up terms even more, while routing is absolutely not essential to a web-server. Also, if your idea of routing is anywhere near apache's rewrite-rules, I don't wanna know it. If on the other hand routing is essential to an ftp server, I'd be curious.

Re:A Site That Teaches You to Code Well Enough to Get a Job on Tuesday September 23, 2014 @12:08PM (#8356029)
> Why are we trying to teach programming using all the fancy tools and technologies used in production systems

Wait, either a) PHP isn't a production system, :) or b) you are blaming yourself for using it, or c) ...

Re:The Larch Environment on Sunday September 21, 2014 @06:53AM (#8346814)
I was wondering about your comment on quartz composer, before I noticed that "cisual" is a typo ... I started out on Visual Basic, it certainly helped to lower the barrier to entry a little bit. In the end it was all source text, with helpful library component selection (the timer function had an image of a clock) and ui layout editing.
Re:The Larch Environment on Saturday September 20, 2014 @06:40PM (#8345784)
With the amount of supporting and abstracting classes supporting the wrapped ones, of grunt work done already, it sure as hell is high level. Visual Programming is not a paradigm like functional or declarative. In this case though, it offers separation of presentation and implementation, if that makes any sense. I never quite grogged that idiom.

This isn't exactly ment for Programmers, but level designers going one step further. Besides that, it offers accessibility that is very immediate. The visuals can provide a direct feedback of the signals processed (may the movement in the background not be random), relating the properties of the signal to other signs than textual symbols (e.g. to show a color's hue just dye the slider).

Re:The Larch Environment on Saturday September 20, 2014 @06:25PM (#8345766)
Please, do go on!
Re:The Larch Environment on Saturday September 20, 2014 @06:21PM (#8345759)
Instead of text editing, sliders and knobs to manipulate values work well. Music lends itself well to graphic interfaces, because of it's sequential nature, you don't usually work with text or conditionals. Especially for the _feedback_ anything visual works a treat though.

With expert systems you work blind half the time, because of the size, that you can't get all into scope. So you simplify and make abstractions, but it's complicated to map multidimensional decision space onto 2d. Therefore a good visual programming environment would have to be a complicated system, that, well, you'd have to learn to navigate and memorize.

Don't know what you mean, how to _incrementally_ add or reset a button, like Undo/Redo?

Re:H2O – an optimized HTTP server and library implementation on Saturday September 20, 2014 @03:44AM (#8343965)
> I never claimed forking is expensive. I said it's expensive ... yeah, no that seems to be exactly what you are saying. just nitpickinkg.
Re:What Coke Contains (2013) on Saturday September 20, 2014 @03:27AM (#8343941)
Had to read that twice to catch it
Re:I was asked to crack a program in a job interview on Thursday September 18, 2014 @05:38AM (#8334402)
On the plus side, it did take a stab at what algorithms he knew, too.
Re:Minix 3.3.0 on Tuesday September 16, 2014 @08:34PM (#8327866)
For windows to linux there is NSIS. I don't know how it works, but seems to convert something at some point.
Re:Minix 3.3.0 on Tuesday September 16, 2014 @08:23PM (#8327835)
I'm sorry, i love talking semantics and that's what this discussion is, if you question the meaning of embedded. That word is not well defined, afaict, and i was just trying to add some perspective.

> I would be ignoring the majority of the software on my phone

I'd like to argue that the baseband processor is the biggest part of the phone, save for relaying and converting the microphone input. The rest is just a handheld computer. But that's the True Scottsman you made out. In fact, Android might be a good example, just one that doesn't support your point too well, because the Scottsman Fallacy is working both ways. When we are talking true OS with services and drivers et al, android is relevant, ofc. Still, it might be chosen because of any other reason as well. The reference to Android is akin to an argument of authority.

You can run Linux on L4 as a hypervisor, by the way. I have no clue how that works, but maybe we have a microkernel running the Linux-kernel as a service. :)

Re:Minix 3.3.0 on Tuesday September 16, 2014 @03:36PM (#8326622)
Android is not a good example, for one, the usecase is almost no different to the desktop, except for the issue with power efficiency . secondly, the real time part of the system, ie. the controllers, doesn't run android. It rather runs L4 in the baseband processor - a microkernel.