Better HN
topnewbestaskshowjobs
Log inSign up

aninteger

915 karma · joined Jun 9, 2011 (15y ago) · 403 submissions

Submissions

comment 8y ago · link · parent

Isn't this just the way Win32 programs were written? Each window could have a routine that received messages like WM_PAINT, WM_SIZE, etc.

comment 8y ago · link · parent

If I leave my door unlocked can I really blame <bad person> for opening my door and robbing me? Why dont I invest in door locks? The US should really look into a more security focused infrastructure. This year the bad guy is Russia, but last year it was China and next year maybe it will be Iranian hackers. I understand that security is constant game of cat and mouse but when I see and hear of companies running Wimdows XP in 2018... it's like we're not even trying. Might as well leave the doors unlocked.

comment 8y ago · link · parent

$103k-$134k sounds very market rate to me... Maybe not for the San Francisco Bay Area but for areas outside of that it seems fine.

comment 8y ago · link · parent

Or how about Turbo C++? It seems there are still technical schools in India that are still teaching using very old (but not sophisticated) tools. It's frustrating too see modern C++ tutorials using 1980/1990s compilers.

comment 8y ago · link · parent

Great work! I love this. Unfortunately, "Science projects" like this are the first thing you have give up when you're married with children.

comment 8y ago · link · parent

If you ever get around to making a private OSCAR based server and publish the code somewhere please let us know.

comment 9y ago · link · parent

Then their FAQ needs to be updated:

To build H2O as a library you will need to install the following dependencies:

libuv version 1.0 or above OpenSSL version 1.0.2 or above

As I understand it, regular h2o doesn't require libuv but libh2o does.

comment 9y ago · link · parent

h20 is nice, but I believe it requires libuv. libuv is a massive stack with LOTS of abstractions on top of abstractions that are sorta atypical of C libraries. If your code crashes because some assert in libuv fired, good luck navigating through the "typedef city" that libuv is. I wrote a little server built on top of libuv but I could never really get it working right on Windows (which is a platform that libuv supports fairly well I think). In the end I ended up abandoning libuv, and all the that abstraction, and just requiring Linux or BSD by targeting epoll/kqueue directly.

comment 9y ago · link · parent

Did they do this on the weekend? I ride public transit every day of the work week. I see lots of the same people. I don't understand how the answer to the question of "Where are you going?" is not "work" more often.

190.

The Church of Agile(thechurchofagile.org ↗)

22 points · by aninteger · 9y ago · 36 comments

comment 9y ago · link · parent

It's funny you mention that. I grew up with the Windows API first and then moved to Tcl/To, and then Swing. I remember wishing I could just manually position things instead of packing into horizontal and vertical boxes. Maybe it is Stockholm syndrome with the Windows API for me.

comment 9y ago · link · parent

That's interesting, but do you connect those Librettos to the internet to use mIRC? Sounds a bit scary with Windows 98 in 2017. I wonder how a newer BSD or Linux would run on it with say BitchX or some similar older irc client.

comment 9y ago · link · parent

You could say that as developers "age out" (by becoming managers, moving to other industries) of the development world that this cycle will repeat itself over and over.

comment 9y ago · link · parent

Is there source code I can audit and compile instead of running some random exe file?

comment 9y ago · link · parent

This is missing a lot of BSDs. Now granted some of them are dead, some inactive, some just missing. The ones I can think of off the top of my head: PC-BSD/TruOS, MirBSD/MirOS, Bitrig, HardenedBSD.

comment 9y ago · link · parent

How much memory is it with mutt, or Alpine.. or let's be fair, Thunderbird?

comment 9y ago · link · parent

It looks nice but... How do you call into existing C libraries? I didn't see an example of that.

comment 9y ago · link · parent

It's mostly hardware support still. As an example, try using a Baytrail/CherryTrail laptop with Windows 10. Now try in Ubuntu. Oh you need Linux 4.11. Oh that's not out yet, so you need to run a bleeding edge kernel directly from git. Even Ubuntu 17.04 is supposed to ship with 4.10 so you'll have to wait until Ubuntu 17.10 before your hardware might be usable.

comment 9y ago · link · parent

I think you're being sarcastic, but I just can't tell. I'd guess 99% of people doing this have just as much fun without filming.

comment 9y ago · link · parent

Maybe I am not seeing the same articles as you.

- 5 best open source board games to play online.

- 9 ASCII games you'll want to play again.

- 3 open source python shells.

So basically just a blog that creates lists. We see this a bit too often on YouTube. I am not sure we need more boingboing/BuzzFeed style of blog spam..

comment 9y ago · link · parent

The OpenBSD team runs coverity on their LibreSSL fork and continues to improve the codebase constantly. More distributions are switching to LibreSSL too.

comment 9y ago · link · parent

Does anywhere include countries that the USA has embargos (Cuba) with?

comment 9y ago · link · parent

It sorta does. It's just we use the packaging tools of the operating system (like apt-get and equivalent tools on other systems). That and pkg-config solves 99% of the problem on Unix-based systems. Windows on the other hand... Good luck.

comment 10y ago · link · parent

This is just not true. If you've ever worked remote and need to work through a problem there is nothing faster then getting on the phone and doing a screen share just as if you were face to face.

comment 10y ago · link · parent

There's really only one thing I dislike about pgsql. It seems overly difficult to return two disjointed result sets from a stored procedure/function. This is fairly common and easy in MSSQL. It also is easy in MySQL. Something like this:

SELECT int_col_1, int_col_2 FROM table1

SELECT varchar_1, varchar_2, int_col_2 FROM table2

In pgsql if the columns are the same type and number then we can use a union, otherwise the suggested alternative seems to be to just make 2 queries.

comment 10y ago · link · parent

It's not necessarily hard but it is a ton of work and requires a lot of low level knowledge of the underlying window system. You need to have a very good understanding of the layer beneath you (xlib, Wayland, win32) and how fonts are rendered on the various systems you want to support. There's also various tradeoffs you need to make. Do you go with custom drawn widgets or use native ones? Native offers a shortcut if you have a greater understanding of the lower system API. Custom drawn requires possibly less knowledge of the various widget API but more knowledge of the underlying window drawing API. Getting basic buttons and labels drawn is not hard. The harder parts are menus, text entry, scroll bars and scrolling. None of the current toolkits were cross platform from initial release. Almost all started with Xlib and then years later were ported to Windows. Some still haven't made the port to OSX (except to rely on x11). It's a lot of work and maybe that's what makes it hard.

comment 10y ago · link · parent

Rust seems very complex and C is more about simplicity (in the sense that K&R is a short read). Other languages with the same spirit of simplicity would be Tcl and perhaps Go. I just wish Go had more supported machine architectures.
1
678
14