HNHacker News
TopNewBestAskShowJobs

gorm

1,441 karma · joined February 6, 2009

submissionscomments
gorm··on Show HN: SQLite JavaScript - extend your database with JavaScript
Nice project and cool to see JavaScript embedded with SQL this way, never seen it before. Just wondering how it ended up like this syntax wise and what exactly is going on here?

SELECT js_create_scalar('function_name', 'function_code');

Really cool project! Thanks for sharing.

gorm··on Black boxes from Jeju Air 2216 stopped recording four minutes before crash
Wasn't the main issue here that the airport authority had put an obstacle in an area that was supposed to be an obstacle-free zone?
gorm··on Black boxes from Jeju Air 2216 stopped recording four minutes before crash
It was changed in 737-400. Before it only took air from the right engine, but 737-400 took from both. In the Kegworth air disaster, which was caused by a failed blade and the system causing a fire trying to compensate by injection of more fuel, the pilot assumed the fire was in right engine and turned it off as crew never notified them which engine was burning. When they discovered the error the speed was too low to kickstart the engine.

https://en.wikipedia.org/wiki/Kegworth_air_disaster

gorm··on Gaza's Imminent Famine: 1.1M Face Catastrophic Food Insecurity
Here is a link to the full brief: https://www.ipcinfo.org/fileadmin/user_upload/ipcinfo/docs/I...
gorm··on Journalist casualties in the Israel-Gaza war
Yea, it will probably never end as Palestines have a right according to international law to attack Israel as they are occupied by them. Even if Hamas disappear as an organisation the resistance part will continue and there will probably never be peace until Palestines get the country they were promised and the illegal settlements are removed.
gorm··on DBeaver – open-source database client
It's a great client and used it for years. But I have some issues. Sometimes the cursor disappear and ctrl-enter stops working. Anyone experienced something similar and know what it could be? I run on a rather minimalistic UI environment and might lack some desktop festures.
gorm··on Journalist casualties in the Israel-Gaza war
Egypt has said that if people are displaced it will put the peace agreement with Israel at risk. It's understandable that they do want 2 million more people to feed and the problems will just move to Sinai as among those 2 millions many will also support Hamas.

Its also not true that Egyptians hate Palestines. In fact I would say its rather unison that they feel great sympathy with the Palestines in the occupied areas, and the boycott of companies that support Israel is strong. McDonald's and Burger Kings are mostly empty and there are Palestine flags at shops, stickers attached to products you buy and people are sad about the situation.

gorm··on A.I. Is Making the Sexual Exploitation of Girls Even Worse
Its obvious that it gets worse as there are more scumbags who can pay $10 on a criminal fakenude site than scumbags who can use Photoshop.
gorm··on Oink: An API for PHP in a single file
You are right, but for a project like this, with a name like this, it's rather artful and hacky. Nothing wrong in breaking the rules if you know what you are doing.
gorm··on Almost every infrastructure decision I endorse or regret
One other appealing alternative for smaller startups is to run Docker on one burstable vm. This is a simple setup and allows you to go beyond the cpu limits and also scale up the vm.

Might be other alternatives than using Docker so if anyone has tips for something simpler or easier to maintain, appreciate a comment.

gorm··on SVB collapse could mean a $500B venture capital ‘haircut’
Thanks! They wouldn't even need to keep them in 1m treasuries as overnight rate has been above 2% since last summer and is now above 4%. Also they could just have opened accounts in more banks and have their deposits secured. SVB was in all practice insolvent already last summer. I don't think all these customers could be idiots so there must have been some incentive which rewarded them for keeping the money unsucred I think.
gorm··on SVB collapse could mean a $500B venture capital ‘haircut’
But why were these companies holding so much money in an uninsured account? I heard something mentioned about SVB incentivizing them somehow? I can't understand why these companies didn't put the money in short term treasuries instead of keeping the money uninsured. If they needed short term liquidity it would not be a problem. Did SVB have an obligation to give them floating interest rate without properly adjusting for the risk? It's not possible that all these companies didn't expect a yield curve inversion as it was obvious it would happen.
gorm··on Bank run on Silicon Valley Bank
Not after hyperinflation
gorm··on React is holding me hostage
Try to do an a/b test and see the results for yourself. Also remember that those 100ms can in some scenarios turn into 300ms if you are not running on state of the art hardware, like most developers does.
gorm··on Is_email()
It looks like it only check for a MX, but email could might be delivered with just an A record and without a MX record I think.
gorm··on Is_email()
Nearly correct. You should also do a DNS lookup on $2 and check if it has either a MX record or an A record before trying to send it.
gorm··on It's probably time to stop recommending Clean Code (2020)
I was also thinking about this book when I read that article. It's really an excellent book and it's condensed and because it's written by an expert in teaching it's easy to grasp.

It's also recommended in this article:

"Update, 2020-12-19 After suggestions from comments below, I read A Philosophy of Software Design (2018) by John Ousterhout and found it to be a much more positive experience. I would be happy to recommend it over Clean Code".

gorm··on Europe's now-drowned 'lost world' and the 25m-high tsunami that finished it off
The BBC program "In our time" did an episode on Doggerland some years back https://www.bbc.co.uk/programmes/m0006707
gorm··on Dagen H: the day Sweden switched from driving on the left to the right (2018)
Funny, I heard the same story in Norway so it must be realnews.
gorm··on Goodbye Docker: Purging Is Such Sweet Sorrow
It was on his home servers and he got a valid point regarding redundant daemon in docker. So I don't understand why you facepalm because its not your business what he runs at home or how he rocks his boat.
gorm··on Ask HN: Which countries have salaries $150k+ for software engineers
What kind of tax level in percentage would you need to pay on that in the UK? Do you also get pension benefits on top of the salary?
gorm··on Ask HN: What made your favorite manager/supervisor/CEO so great?
The best boss I had was the first one. I deliver newspapers early on Sunday mornings. When I arrived at the office in the morning he had always arrived a hour before everyone else and done all preparation (packing and changing subscribers in our books) so only thing left was to drink a coffee and start running with the papers.

When it was cold he often drove around and met us on the route and gave us another cup of coffee and cigarettes. If there was a complaint from a customer he took it serious and often went himself to investigate what could have caused the issue or went together with us. We were the best team in town by far, proud and had few complaints. He had faith in his team, always nice and always thought we did our best, values he showed us by his own actions.

Sadly he got promoted and after a while we were the worst team in town as the new boss had a complete different style and threatened people in the team when we got complaints.

gorm··on Rain ruins one of Norway’s richest men
There was recently a high court judgment in Norway with Alexander Vik who refused to pay for a large currency trade. He tried for years not to pay and even moved his values over to his family, but at the end he lost in court and the money was claimed from his relatives.

https://www.forbes.com/sites/nathanvardi/2014/03/05/the-ridd...

gorm··on WordPress is at a Crossroads
Interesting article! Gutenberg itself is also on a different road than before as you can't run it self hosted. To use it on a self hosted blog you would need to install jetpack and use WordPress.com as the main UI, which isn't self hosted. His point regarding commercial plugins are also to the point. There are great plugins out there, but setting up a site with these can easily cost over $1000 in yearly subscription fees and the free versions are often too basic or require tweaking to add required features. Still think WordPress make sense for organizations that can easily pay for premium plugins and support, or hackers that know how to code and find the great free plugins.
gorm··on GDPR for lazy people: Block all European users with Cloudflare Workers
Actually you are breaking GDPR rules because you are transfering personal information (the users IP) to cloudflare.
gorm··on GDPR: Don't Panic
They will understand and give you a warning before doing anything and let you change your malpractice before any reaction. That's how it works.
gorm··on Slack is the opposite of organizational memory
You seems to miss the point of this brilliant article. Slack is just a tool but it changes the whole mentality of the organization. You can't mute the whole organization. Please read the article and not only the title.
gorm··on Why is value flowing to ICOs? It's diversification of Bitcoin
Diversification is supposed to be done in different asset classes. Also a good rule is to only diversify when the asset is cheap.
gorm··on React and Redux are a joke right?
Immutable.js is just another complication with another 60k size penalty with a few new negative drawbacks that he would need more complexity to solve. Author is already arguing against this approach.
gorm··on Shoelace.css – A back to the basics CSS starter kit
Sounds like a good and fun plan. You must have tested a few, so which of the not so obvious ones would you recommend?
Page 1 of 5Next →