HNHacker News
TopNewBestAskShowJobs

laxk

398 karma · joined May 22, 2009

Github: https://github.com/plar Resume: https://www.linkedin.com/in/plarkin/
submissionscomments
laxk··on [dead]
What is the good alternative to Skype? Slack? but it also based on the Electron.
laxk··on Ask HN: Tell us about your S2017 startup
You should crawl under a rock and d-i-e. -> fine.
laxk··on Show HN: Fake SMTP server as a service
Why not?

#sudo python -m smtpd -n -c DebuggingServer localhost:25

Works pretty well for me.

laxk··on What I Wish I'd Known About Equity Before Joining a Unicorn
Thanks for the link, it is a great project.
laxk··on Amazon Go
just use cash for tobacco.
laxk··on Amazon LightSail: Simple Virtual Private Servers on AWS
Anytime but not any length of time.

99.95% SLA means the following amount of downtime: Daily: 43.2s Weekly: 5m 2.4s Monthly: 21m 54.9s Yearly: 4h 22m 58.5s

laxk··on A Method I’ve Used to Eliminate Bad Tech Hires
It would be nice to collect here the list of companies who is doing interviews in that way.
laxk··on How I Became HackerRank 1 in Two Hours
Did you get any offer from any company?
laxk··on IP Spoofing
If every upstream providers will have the netflow protocol in that case they can just drop bad traffic on the specific interface and they also can trace a source of bad traffic and drop it as early as possible.
laxk··on Epiphany-V: A 1024-core 64-bit RISC processor
403 error now for the entire site.
laxk··on Ask HN: What do you wish someone would build?
It's true. Check here: https://blog.chromium.org/2016/08/from-chrome-apps-to-web.ht...
laxk··on Old Geek
Everything will be all right in the end and if it's not all right, then it's not yet the end. We just 0x28 years old. (:
laxk··on Show HN: Postacard – Text a Photo to Send as a Postcard Anywhere on Earth for $3
Where exactly in Siberia?
laxk··on Ask HN: Who wants to be hired? (August 2016)
Location: Vermont, US Remote: Yes Willing to relocate: Yes ! Technologies: Python, Golang, Java, ReactJS Résumé/CV: https://goo.gl/qzH4rK Email: la.x.kin(woow)gmail.com Github: https://github.com/plar
laxk··on Ask HN: Oldest code you have written that is still in use?
Yeap, I didn't have access to "normal game computers" like Yamaha MSX, Spectrum, Atari, etc but I had access to IBM PC/XT(well also to IBM System/360:). There were no toys in those days, so we(my friend and I) wrote a lot of clones of tetrises, snakes, arkanoids, space invaders using a text mode. The 8086 assembler was pretty easy and fun. Any program at this age it was like a new adventure. All this was much more interesting than any of the games.
laxk··on Ask HN: Oldest code you have written that is still in use?
1985, a printer driver for c.itoh matrix printer (assembler), still working.

p.s. I was a 10 years old boy. (:

laxk··on Ask HN: Who is hiring? (May 2016)
Something is broken. requireJS error [NetworkError: Failed to execute 'send' on 'XMLHttpRequest': Failed to load 'https://workforcenow.adp.com/wfn-static/10.0.10.38/external/...]
laxk··on Major changes to Mandrill, must be tied to a MailChimp account
They have Bounces, Complaints and Delivery notifications[0]. Is it what you need? or are you talking about open/read email notifications?

[0] http://docs.aws.amazon.com/ses/latest/DeveloperGuide/notific...

laxk··on Major changes to Mandrill, must be tied to a MailChimp account
Does anybody need a self-hosting transactional email app with Amazon SES integration? Similar to sendy but for transactional emails.
laxk··on Spotify moves its back end to Google Cloud
Is there any public available information where we can read about deployment process in the company?
laxk··on Ask HN: Who wants to be hired? (February 2016)
Location: US

Remote: Yes

Willing to relocate: Yes

Technologies: GoLang, Java, Python, JavaScript, RESTful Web Services, AWS, Linux, CI, CD, Vagrant, Docker, Ansible, VirtualBox, and many others. I'm always willing to learn something new.

Résumé/CV: https://drive.google.com/file/d/0BwXZOeDh_Z28OE9rNEpad0Q4R0E...

Email: laxkin (at) gmail (dot) com

laxk··on Ask HN: My Chrome Extension got taken down
Sure! The extension was online and available almost 1 year.
laxk··on On Go, Portability, and System Interfaces
The method proposed by the author does not work for packed structs. The btrfs library has a lot of them.

main.go

  package main
  /*
  struct packed {
    unsigned char a;
    unsigned long long b;
    unsigned char c;
  } __attribute__((packed));
  */
  import "C"
  type Packed C.struct_packed
go tool cgo -godefs main.go

  package main
  type Packed struct {
	A		uint8
	Pad_cgo_0	[8]byte
	C		uint8
  }
We lost packed.b field. Go doesn't support packed structs. More info here: https://groups.google.com/forum/#!topic/golang-nuts/UX5srUMt...
laxk··on Getting C-compatible structs in Go with and for cgo
It is still useless for me if you have struct with 'packed' attribute ie: http://lxr.free-electrons.com/source/fs/btrfs/ctree.h#L220

  // +build ignore
  package tmp
  /*
  #include <btrfs/ctree.h>
  */
  import "C"
  // 220 struct btrfs_disk_key {
  // 221         __le64 objectid;
  // 222         u8 type;
  // 223         __le64 offset;
  // 224 } __attribute__ ((__packed__));
  type BtrfsDiskKey C.struct_btrfs_disk_key
Output:

  $ go tool cgo -godefs test.go 
  // Created by cgo -godefs - DO NOT EDIT
  // cgo -godefs test.go
  package tmp
  type BtrfsDiskKey struct {
	Objectid	uint64
	Type		uint8
	Pad_cgo_0	[8]byte
  }
After all the experiments I created my own helper[1], which helps map C structure(even packed) to Go structure using reflect package.

[1] https://github.com/plar/btrfs/blob/master/ioctl/mappings.go

laxk··on Removing the 140-character limit from Direct Messages
Youalsoneedtointroducemaxwordlengthinthatcase.
laxk··on Removing the 140-character limit from Direct Messages
You can try to use TilePad (http://tilepad.co). It is a Chrome extension that arranges twitter timeline in columns, allows to configure a tweet design, and much more.
laxk··on Ask HN: Share your favourite bash/zsh aliases
I'm using please alias. You don't need even use !!. alias pls='sudo `fc -n -l -1`'
laxk··on Ask HN: Who wants to be hired? (June 2015)

  Location: VT
  Remote: Yes
  Willing to relocate: Yes
  Techologies: Java, Python, GoLang, etc. See resume for more information.
  Résumé/CV: http://goo.gl/EkBvZ9
  Email: happyhappydeveloper@gmail.com
I'm looking for a more challenging working environment such as a start-up where I could have a larger scope of responsibilities and independence.
laxk··on [dead]
@DigitalOcean, @GeekDad are fake accounts. It seems like it doesn't work for me.
laxk··on Show HN: Tilepad for Twitter – Twitter in Pinterest Layout
Thanks.
← PreviousPage 2 of 5Next →