Better HN
topnewbestaskshowjobs
Log inSign up

gregn610

170 karma · joined May 5, 2016 (10y ago) · 63 submissions

Submissions

comment 3y ago · link · parent

Nice. Does GIA mean General Investment Account? Maybe some tooltips?

comment 3y ago · link · parent

it's not just mounted iphones. An iphone doesn't fit in the motorcycle mount but an old oneplus does, so that gets mounted and iphone stays in my jacket pocket. Iphone camera is fubar, oneplus is working just fine.

comment 3y ago · link · parent

But if you play with the name, the translation is different:

- krya på dig Helga - take care of yourself Helga

- krya på dig Dave - screw you dave

- krya på dig Mary - come on Mary

- krya på dig Linnéa - brace yourself Linnéa

- krya på dig Mohammad - fuck you Mohammad

comment 3y ago · link · parent

I've found text manipulation of SQL can quickly degenerate into a nightmare of concatenation, nested quoting & escaping.

I wrote up Using plain Jinja[1] or SQLAlchemy+Jinja[2] as complementary techniques. The post is a bit dated but the principles should still work.

- [1](https://github.com/gregn610/plpgsql/wiki/meta-sql-with-pytho...)

- [2](https://github.com/gregn610/plpgsql/wiki/meta-sql-with-pytho...)

comment 4y ago · link · parent

Is there good e-ink tablet for reading Wattpad?

comment 4y ago · link · parent

Good list, one more you might like:

https://youtube.com/c/FreeRangeSailing

comment 4y ago · link · parent

Couldn't we mash something like [flattr](https://flattr.com/) into the package managers ( npm, pip, cpan etc.)?

That would give the companies/users an option of regularly contributing a fixed budget to x FOSS projects without having to track down who/where/how for each dependency. The org collecting the micro payments distributes once a month to project maintainers with commit privileges.

For static libs, the project maintainers recursively use the same mechanism, the money trickles all the way down the dependency tree.

comment 4y ago · link · parent

Have you seen the original Australian bushpig?

https://youtu.be/0OV33C2JgIE

comment 4y ago · link · parent

That might work if just one project from each maintainers portfolio was shifted.

comment 4y ago · link · parent

Ha - I find unsubstantiated, parroted mantras like this to be a team lead smell :) In the same way that Agile development has become a mindless cult of rituals that has little to nothing left of the original manifesto's vision, code reviews peppered with thoughtless "code smell" comments have become the bane of development.

comment 5y ago · link · parent

not just an email, your linkedin profile is required too.

comment 5y ago · link · parent

Numberphile did a episode[0] on this, there's legal precedent from 1816 called Clayton's case[1].

Basically tainting with FIFO.

[0](https://www.youtube.com/watch?v=UlLN0QERWBs)

[1](https://en.wikipedia.org/wiki/Devaynes_v_Noble)

comment 6y ago · link · parent

Awesome! I think it would be even better if it could generate from doctopt style definitions :p

comment 6y ago · link · parent

You'll love this one, Allen Millyard uses a hand hacksaw & his BBQ to make a Kawasaki Super Six and a Viper powered motorcycle. https://www.youtube.com/user/millyardviper

comment 6y ago · link · parent

yup, that's what I meant by authorisation, keeping the roles and groups in pgsql up to date.

comment 6y ago · link · parent

I'm surprised that no-one is complaining about the lack of Active Directory integration for authorization.

#disclaimer - Author of an AD integration solution that never got off the ground.

https://github.com/gregn610/padnag

comment 7y ago · link · parent

there's a fascinating audio book called 1434 putting together a pretty convincing argument that many of the European "discoveries" where predated by Chinese.

http://www.gavinmenzies.net/

comment 8y ago · link · parent

[powerbuilder](https://en.wikipedia.org/wiki/PowerBuilder), for business crud apps. i think was version 11 when it peaked before going all web/.net

comment 8y ago · link · parent

Very much this. This is the results for my personal bread and butter, python and SQL. Workman tested very much mid-pack.

http://patorjk.com/keyboard-layout-analyzer/#/load/FKcXzlQ2

comment 8y ago · link · parent

Is there a transpiling / migration story for a python code base into Nim? I briefly looked at Nuitka to get to a dependency free binary from python but this could be another approach.

comment 8y ago · link · parent

Toad Modeler for modelling. Handles defered constraints, inheritance, keys etc. Very scriptable tho the scripting IDE isn't great.

comment 8y ago · link · parent

A killer feature of TOML compared to JSON is that it allows comments. A config file without comments and examples ain't great. I found the double square bracket syntax useful and understandable. Agreed it's not obviously .INI or perfectly elegant but it certainly works and has its use-cases. Anyways, thank you @mojombo!

comment 8y ago · link · parent

That https://panopticlick.eff.org link was interesting, but I don't see what about my user agent string makes it so unique (1: 76540.09) ?

  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.62 Safari/537.36
Looks fairly generic, I think I'm running a mainstream chrome browser on a mainstream OS.

comment 8y ago · link · parent

https://en.m.wikipedia.org/wiki/La_plume_de_ma_tante_(lingui...

Saved you a click

comment 8y ago · link · parent

How is this better than inherited tables with indexes and constraints ala https://stackoverflow.com/a/3075248

26.

Show HN: Sync PostgreSQL Roles to Active Directory(padnag.io ↗)

2 points · by gregn610 · 9y ago · discuss

comment 9y ago · link · parent

"Wanton or Furious riding" is also an offence.

comment 9y ago · link · parent

Agreed to a point, but there's also several hours a day of non-programming that just has to get done which never features in these SV conversations. Dealing with network guys to get the firewall exceptions you need, getting the DBA to actually do the indexes you asked for, endless ticket updates, meetings, more meetings, timesheets, checking the contractor's deliverables, production issues, interuptions etc. etc. Then add understaffing, UAC policies, sanfus and shifting requirements. So sure, 3 or 4 hours in the programming zone easily becomes a 55hr week.

comment 9y ago · link · parent

A utility to sync PostgreSQL roles with Active Directory.

  http://padnag.io/
The closest thing I could find was a nightmare to deploy on linux, so I decided to fix that. It's getting really close to finished, I just need a few more hours in the day :p
123