Better HN
topnewbestaskshowjobs
Log inSign up

luv2code

27 karma · joined Oct 1, 2011 (15y ago) · 25 submissions

Submissions

comment 1y ago · link · parent

and sleep.

comment 1y ago · link · parent

Will you send me an invite to tildes?

comment 1y ago · link · parent

This tmux config turns F12 into a button to toggle the local leader key. You remote into tmux and hit F12, and now your leader key gets sent to the remote tmux instead of the local.

I don't use tmux locally anymore; but I still use the same leader key as tmux in wezterm, and I have a wezterm script to toggle it with F12 just like tmux.

Maybe you'll like it too?

  bind -T root F12  \
    set prefix None \;\
    set key-table off \;\
    set status-style "fg=$color_status_text,bg=$color_window_off_status_bg" \;\
    set window-status-current-style "fg=$color_dark,bold,bg=$color_window_off_status_current_bg" \;\
    if -F '#{pane_in_mode}' 'send-keys -X cancel' \;\
    refresh-client -S \;\

  bind -T off F12 \
    set -u prefix \;\
    set -u key-table \;\
    set -u status-style \;\
    set -u window-status-current-style \;\
    set -u window-status-current-format \;\
    refresh-client -S

comment 2y ago · link · parent

Check out https://typst.app/ if you're looking to write a book yourself.

https://hypermedia.systems/ was written with it.

comment 2y ago · link · parent

Browsing this website gives me the urge to poop for some reason.

comment 8y ago · link · parent

All You Need Is Kill is a great read. The movie, Edge Of Tomorrow, was based on this book.

comment 8y ago · link · parent

You should give cinnamon a try. I think you would prefer it over gnome.

comment 10y ago · link · parent

check out chromebrew https://skycocker.github.io/chromebrew/ It's a package manager for chrome os (requires dev mode). It's intel cpu only though; but it has a lot of the dev packages you need.

comment 11y ago · link · parent

Since debugging is over a TCP connection, you only have to start the nodejs process with the debug flag, and then plug the address and port into whatever debugger you're trying to use.

comment 11y ago · link · parent

Also, visual studio community edition is free[1] can debug nodejs with an extension[2]. And the capability is integrated into VS Code[3] which works cross-platform.

Those and webstorm/intellij are the ones I have experience with. But most of the time, I just use the CLI debugger -- it's not hard.

[1] https://www.visualstudio.com/en-us/products/visual-studio-co...

[2] https://github.com/Microsoft/nodejstools

[3] https://code.visualstudio.com/

11.

Fastcgi wrapper for go (golang)(github.com ↗)

1 points · by luv2code · 13y ago · discuss

comment 13y ago · link · parent

yikes. It was a browser extension that uses superfish to inject ads. the extension allows you to disable this feature, but it still pulls in superfish. https://chrome.google.com/webstore/detail/orbvious-interest/...

I removed the extension and the payload is more like 1MB. Still seems hefty but not as much of a concern to me.

I also noticed that content wasn't gzipped. should be a simple matter to add that to nginx.

comment 13y ago · link · parent

Jamie, I am getting about 10 errors a second in my console:

  Uncaught TypeError: Object sufio._xdWatchInFlight(); has no method 'apply' reader-29b4dd587f1ca6b5f0d639aac64ce9bf.js:1 e.(anonymous function) reader-29b4dd587f1ca6b5f0d639aac64ce9bf.js:1
Pretty print the error location from chrome:

  e.setInterval = function() {
        var e = t.call(arguments, 0), n = e[0];
        return e[0] = function() {
            try {
                n.apply(this, arguments)
  Uncaught TypeError: Object sufio._xdWatchInFlight(); has no method 'apply' (repeated 1589 times)
            } catch (e) {
                throw TraceKit.report(e), e
            }
        }, r.apply(this, e)
    }
The proxy at my work doesn't allow web sockets, and I think this might be related.

Also, I noticed that there are at least 3 different third party services being called (superfish, pusherapp and intercom). All of these are ancillary to the main functionality, right?

I haven't even got my feeds imported yet, and the app is already pulling down 2 MB. superfish in particular is super heavy. I think I would prefer a lighter payload.

comment 13y ago · link · parent

the credit card information is transmitted to stripe over SSL. It looks fine.

comment 13y ago · link · parent

I checked and the strip communication is done ajax style through https. I don't see a problem.

comment 13y ago · link · parent

Richardson TX - Engineer For Test at Tradestation Technologies

We're looking for someone to come in and work our application over. The ideal candidate will have a passion for quality software, and will be intimately familiar with browser applications. They will be responsible for manual testing, automated testing, maintaining and improving the CI process, and helping out with development when needed.

This position is on a scrum team in a team room.

we use javascript, node, grunt, mocha, webstorm/intellij, git, teamcity, and we're targeting chrome/firefox/IE 10+ (no legacy browser support).

pm me if interested.

we have some other open positions here: https://github.com/luv2code/OpenPositions

comment 14y ago · link · parent

I'm pretty sure i/o bound go routines will use the very same kernel eventing mechanism. I looked into this recently, and you have to explicitly tell it to use more than one thread with http://golang.org/pkg/runtime/#GOMAXPROCS

comment 14y ago · link · parent

it actually has a plethora of ports, they're just all in that one 50 pin header. GPIO, SPI, I2C, UART, etc...

comment 14y ago · link · parent

I use http://www.ihackernews.com on my phone. it works great.

comment 14y ago · link · parent

does ipad not have google reader?

comment 14y ago · link · parent

Can someone explain what is great about flipboard. The flip animation is cool the first couple of times you see it; but then it gets annoying quickly. I can't see any value in the app that would make putting up with the excessive animations worth it.

comment 14y ago · link · parent

Score: 75/75 (100.00%)

Looking at the source in a programming challenge is still winning, right?

comment 14y ago · link · parent

My wife was in the same position. She found some work pretty quickly networking at startup meetups. She ended overseeing a technical project, and doing some lite database work. She had a few opportunities; but picked the one that had the fewest hours.

If she has some skills, or can even pretend to have them, there are people that are desperate to give work to other people they meet at meetups.

comment 14y ago · link · parent

this looks pretty cool. use it to install python and/or ruby: http://botbrew.inportb.com/

comment 15y ago · link · parent

Dallas, TX local candidates only. 3 positions open on my team: Scrum Software Engineer for Test, Scrum Product Owner, and we're looking for an UX Expert.

This is a greenfield javascript/html5 project. We're building a very advance browser application. All three positions will be working closely with 4 developers in a team room on a scrum project.

Software Engineer for Test: You should know what a testable application looks like and have experience with and a deep understanding of BDD, DDD, and TDD. Experience with automated (build driven) testing tools a plus. Tools we're using currently include: nodejs, jasmine, and psake. but we expect the candidate to provide guidance, and take charge of making the application testable and tested.

Product Owner: Scrum master experience a huge plus. You would be the face of the team to the rest of the company. Manage the backlog of work providing guidance regarding priority of feature development. Work with project management and user groups on defining requirements. Industry experience in financial trading preferred. A solid scrum background preferred.

UX Expert: Experience building web application interfaces preferred. You would be responsible for building a user pleasing interface over a very powerful application. You would also design several alternate interfaces for many different audiences from power users to newbies, from Americans to Zimbabweans, and also many different platforms - Desktop browsers, tablet, phone, windows 8 app store, chrome app store, etc... Experience with data analysis interfaces preferred (charts, graphs, and tables).

We are targeting modern browsers. We will support IE9+ only. ( potentially IE10+ only).

We offer competitive pay and flexible hours.

email your resume and contact info to luv2code gmail com