News for hackers. Stuff that matters.

gregn610

Re:Show HN: Fire UK Calculator and Visualiser on Tuesday October 24, 2023 @07:29AM (#37997530)
Nice. Does GIA mean General Investment Account? Maybe some tooltips?
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.
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

Re:SQL and M4 = Composable SQL on Wednesday December 28, 2022 @07:35AM (#34160384)
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...)

Is there good e-ink tablet for reading Wattpad?
Re:13 years sailing around the world on Thursday January 27, 2022 @04:17PM (#30106837)
Good list, one more you might like:

https://youtube.com/c/FreeRangeSailing

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.

Re:DIY Onewheel – open-source self balancing skateboard on Tuesday January 04, 2022 @04:47PM (#29801027)
Have you seen the original Australian bushpig?

https://youtu.be/0OV33C2JgIE

Re:But what about the bus factor? on Sunday December 05, 2021 @08:17AM (#29449036)
That might work if just one project from each maintainers portfolio was shifted.
Re:PostgREST 9.0 on Tuesday November 30, 2021 @05:21AM (#29390676)
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.
Re:Selling Tiny Internet Projects for Fun and Profit on Wednesday May 19, 2021 @06:47AM (#27206842)
not just an email, your linkedin profile is required too.
Re:Colonial Pipeline Paid Hackers Nearly $5M in Ransom on Friday May 14, 2021 @07:52AM (#27153218)
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)

Re:Bash code generator for command-line arguments on Friday October 02, 2020 @10:05AM (#24662717)
Awesome! I think it would be even better if it could generate from doctopt style definitions :p
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
Re:PostgreSQL's Imperfections on Sunday April 05, 2020 @06:37AM (#22784899)
yup, that's what I meant by authorisation, keeping the roles and groups in pgsql up to date.
Re:PostgreSQL's Imperfections on Saturday April 04, 2020 @05:27AM (#22777202)
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

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/

[powerbuilder](https://en.wikipedia.org/wiki/PowerBuilder), for business crud apps. i think was version 11 when it peaked before going all web/.net
Re:The Workman Keyboard Layout Philosophy (2010) on Wednesday August 22, 2018 @06:08AM (#17817602)
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

Re:Nim partners with Status.im on Wednesday August 08, 2018 @03:46AM (#17713941)
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.
Re:PgModeler – PostgreSQL Database Modeler on Monday August 06, 2018 @07:41AM (#17696792)
Toad Modeler for modelling. Handles defered constraints, inheritance, keys etc. Very scriptable tho the scripting IDE isn't great.
Re:Toml: Tom's Obvious, Minimal Language on Friday July 13, 2018 @03:31PM (#17525968)
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!
Re:Alternatives to Google Products on Monday June 11, 2018 @05:11AM (#17282869)
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.
Re:PostgreSQL 10: Partitions of partitions on Sunday January 21, 2018 @08:14AM (#16197928)
How is this better than inherited tables with indexes and constraints ala https://stackoverflow.com/a/3075248
Re:Message encryption a 'problem' – UK home secretary on Tuesday August 01, 2017 @07:06AM (#14899445)
"Wanton or Furious riding" is also an offence.
Re:How do you make programmers work 60-80 hours per week? on Sunday April 09, 2017 @02:47AM (#14070847)
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.
Re:Ask HN: What are you working on? on Tuesday April 04, 2017 @02:26PM (#14035783)
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
Re:Voice Calls: Secure, Crystal-Clear, AI-Powered on Thursday March 30, 2017 @11:03AM (#13995968)
Pied Piper, is that U ?

Older »