HNHacker News
TopNewBestAskShowJobs

aninteger

915 karma · joined June 9, 2011

submissionscomments
aninteger··on Announcing SQL Server on Linux
What CLI tools are you talking about? Can you please clarify and or provide a link?
aninteger··on Visual Studio Code for Go
That cool new feature was actually present in VS2013. VS2015 has even cooler stuff but for sure the reference count existed in VS2013.
aninteger··on C++17 and its Technical Specifications
A Microsoft specific implementation is available in Visual Studio 2015 and possibly earlier.
aninteger··on ASP.NET Core – 2300% More Requests Served per Second
It's unfortunate that they don't have the numbers for Linux and instead used the Windows operating system. I'd like to see the Linux benchmark be on par with Windows (or ideally better) but I'm not sure if there is an interest from Microsoft to meet or exceed performance of Windows with a Linux based host.
aninteger··on Ask HN: Is Python dying?
I think C and even C++ are basically dead from a job market perspective but seem alive and doing ok in the opensource community. The need for paid C development pales in comparison to the job market for python. The industry, at least outside HN, for "backend" type work has settled on java/.net languages. They are just good enough for 95% of use cases and easy enough to hire for.
aninteger··on There are no secure smartphones
So what are the tools and knowledge required for one to tinker hardware enough to understand and build security for smart phones?
aninteger··on ESPN to lay off nearly 4% of workforce amid changing pay-TV landscape
I wonder if a pay per view model might work out.. For example to watch a certain game you pay 99c. If you want to watch live you pay a premium $1.99. Possibly special games (Superbowl, world series, nba playoffs) go to $2.99 a game.
aninteger··on The Competitive World of AOL Disc Collecting
Does anyone know if all the releases of AOL software are archived or there is something like bitsavers for these software releases? I wonder out of 4000 unique disks how many unique software releases there were. 10-20 or 1000s?
aninteger··on Rejuvenating the Microsoft C/C++ Compiler
I just wanted to say that I agree with you, but that's because of age. These days I do more C#, but I still use this style even in that language although this is becoming less frequent as I replace code and use C#'s "var" declaration and assignment keyword.
aninteger··on WebXray
I can't speak for getting a Linux cloud server, but I've seen plenty of recommendations to use a VM when trying to use some software on Windows. Unless you're specifically writing C# or using IIS or SQL Server I don't necessarily believe it's bad advice. In the coming years, with the way C# is changing, Linux/FreeBSD may become the desired platform to run C# code (just like it is for Java.)
aninteger··on PyNES: Write NES Games in Python
There's also javagrinder https://www.mikekohn.net/micro/java_grinder.php which can run some java code on the TI-99/4a, C64, and Sega Genesis by translation of java class files to equivalent platform machine code.
aninteger··on MSBuild is going cross-platform with .NET Core
My experience as well. I did build some older stuff back in maybe 2010 using mono and NAnt as a hobby of course and I still use NAnt today in 2015 but all it does is invoke MSBuild. These days I don't build any .net software on non Microsoft platforms.
aninteger··on Show HN: Cdefs, extract function prototypes in C files to JSON
Would there be something that goes the other way? Given a JSON input generates C structs and efficient serialization/deserialization for given input? It could be useful for C++ too but generate classes instead. I'm aware of gsoap which did this for wsdl and generated code for use by SOAP xml clients and servers but not sure if anyone has done this for json
aninteger··on Bitsavers' Software Archive
Cool. What are the prerequisites for software to appear here? In Borland/DOS there is only Turbo Basic and Turbo Lightning but Borland did release early versions of Turbo C and Turbo Pascal as a museum like release. There's also the Borland C++ 5.5 command line tools that I believe were also released freely
aninteger··on 13,000 fall into homelessness every month in L.A. County
> Especially since LA county has a higher poverty rate than the rest of the country. [3]

Hate to nickpick but this should be "rest of the state." since this is what the article says instead of country.

aninteger··on The time is right to re-examine the L.A. freeway
It's very disconnected though. The I-10 route ends at union station and there is no direct connection. Also it would be nice to extend it on I-105 west all the way to LAX. The current situation is pretty popular and the fares can be as high as $11 (or more?) to go into downtown so if the were to really improve the connections it would only make the routes more popular, and thus more expensive at peak times.
aninteger··on The adblocking revolution is months away
If you can get root on your phone you can easily block 90% of advertising. The AdAway already mentioned is great but I also would suggest DroidWall and then you can effectively whitelist or blacklist any Android applications from using the network at all. Some apps only use your network connection to serve ads and in that case you just block those apps.
aninteger··on Additional C/C++ Tooling
It may increase a bit. In fact the recently started C-based project Handmade Hero is done within Visual Studio so maybe that will spark some interest. The real advantage of mingw and other opensource tools is that you can use the same compiler on both Windows and Linux. With something like msys you can even get away with using a single Makefile. Also because C is a small language many professional C developers are unlikely to use an IDE and so would more likely use the windows sdk (assuming that still ships with the command line compiler which I'm not sure about).
aninteger··on Ask HN: I know how to reset any Nexmo.com account, but nobody cares
Why not just send an email with the vulnerability information instead of playing email tag. Why not send an email with something like "I found a problem with feature XYZ and here are the steps to reproduce and using these steps I can do ABC". Problem solved.
aninteger··on H2O 1.4.0 released with support for forward secrecy
Do you still use libuv? I recall reading about removing that but did not see it happen. Just curious whatever happened with that decision.
aninteger··on Doas – Dedicated OpenBSD application subexecutor
zamalek got it correct above. Those languages above only cover 2 or 3 architectures that the project works with. There is no Rust or Go compiler for vax, alpha, macppc, sparc64. There are C/C++ compilers though.
aninteger··on Ask HN: Does such a programming language exist?
Nim
aninteger··on OpenSSL Security Advisory
Why has the adoption of alternative SSL software been so low. We have libressl, boringssl, something from Amazon? Very few Linux distributions seem interested in shipping alternative SSL software.
aninteger··on How to compile C apps with musl and Clang
It works fine on the default "older" web browser on the Samsung S4.
aninteger··on How to compile C apps with musl and Clang
There is pcc which looked like it had a chance for a while. There was at least a lot of excitement from the OpenBSD and NetBSD communities a while ago. I know it was imported but then I think it was removed. Development continues on but at a slower pace.
aninteger··on The Nigerian Teenagers Who Built Crocodile Browser
I think this might be a violation of the GPL

More discussion here: https://www.reddit.com/r/coding/comments/38vbme/13_15_yrs_ol...

aninteger··on Python's Web Framework Benchmarks
It is, sort of, but it only shows part of the picture. I'll explain. Yes, TechEmpower will show you some of the fastest servers / frameworks. Maybe you can get close to a million requests per second in some of the native servers delivering static plain text / json on top of the line hardware. Eventually though you need to build and ship an application and some software that does more than a few queries.

High performing/scalable systems are built from lots of pieces of interconnected software like caching software (Redis, memcached, etc), work/job queues (RabbitMQ, ZeroMQ), asynchronous database queries and probably other things? The way these pieces fit together make much more of a difference than the server / framework you pick. I'd say it doesn't largely matter which Python framework you choose when you still have a blocking SQL query that has to be done on each request. The difference will be microseconds compared to how long that query takes.

It is important to benchmark/profile though. Maybe not at the framework level but as part of the continuous integration process. Determine what parts are slow, what parts could be replaced with asynchronous / event based code, and what parts should be replaced with something written in native code (C, Go, or Rust I guess) especially because Python makes it easy to integrate directly with native code (at least in C, I don't have experience with Python talking to Go or Rust).

aninteger··on Three months of Rust
Spending 3 months on a segfault? In any language even a mediocre programmer you can usually resolve a null reference exception / segfault in a couple of hours at the most. With a complex program and a debugger it could be a minute or so. Maybe if it only happens in production and you don't capture stack traces or core dump files... but this happens once and then you learn your lesson.
aninteger··on Kore: a fast web server for writing web apps in C
I'd say Intel, ARM, Power, and Sparc is good enough.
aninteger··on Show HN: Simple Hash Table Implementation for C
I'm currently using https://github.com/attractivechaos/klib/blob/master/khash.h in professional projects. I know it's pretty much full of macro "magic" (well it's readable so not really..) so that makes some people scared. I really like these header file "libraries" and am also a big fan of BSD's sys/queue.h
← PreviousPage 8 of 13Next →