HNHacker News
TopNewBestAskShowJobs

kokey

1,913 karma · joined September 11, 2007

submissionscomments
kokey··on Google Forcing Nest Cameras’ Visual Indicator Light To Be On
We have been using it to watch our non-verbal young autistic son in bed. I know a tiny light in a pitch black room keeps him awake for many hours of the night and he doesn’t do being awake quietly so it also keeps us awake. We also can’t just remove the camera, it’s not like he is able to tell us that he has wet his bed. Having been given zero days notice of this change means I’m going to have to take time off work today to go home to find an effective way to put some tape over the light.

I have been holding back on deciding which home automation ecosystem I want to buy into. I was leaning towards Google and Nest was our first step into that direction. However I’m now increasingly of the opinion that I should just continue to build it out with devices where I have control over the firmware.

kokey··on Home Chip Fab
That answered one of the biggest questions I had when I saw that CRT display magnification of the chip. Well done to him, hope he doesn't get bored in college though I'm sure he'll find ways to pass the time.
kokey··on A mathematician's way of converting miles to kilometers
An engineer's way: Pi = 3
kokey··on Swap, swap, swap, and bad places to work
For mixed workload servers I tend to go for 1GB swap, vm.swappiness=0 and then alerts on around 300-400MB of swap usage. I found alerting on swap to be the best indicator of impending doom, whether it's from a slow memory leak or a buildup from an i/o bottleneck.
kokey··on The Linux kernel's inability to gracefully handle low memory pressure
I don't know what other people do, but I think the better option would be to set vm.swappiness to 0. Swap space is a good safety valve. You should never really have to use it, so a good way to detect that something is going really wrong and take action before it brings the system is down is by looking at when swap is busy filling up.

Also if someone opens up an application that grabs huge chunks of RAM but leave a lot of it idle, and turn swap off completely, they should not be surprised. I don't know why people see this as a bug, but perhaps I've just been spending time in the UNIX family tree for too many decades.

kokey··on The Linux kernel's inability to gracefully handle low memory pressure
The most common cause here is something causing a situation where some queries hang or takes a long time to complete, while also locking access to something, while new queries keep coming in. This builds up quickly.

A good way to catch this would be to have something log the list of running queries every couple of seconds. Look at this log after the crash and you'll hopefully be able to identify which are the long running processes, and which are the regular queries that builds up.

To fix it would be a combination of making the queries that cause the locking to be less like that, also perhaps putting in a limit on how many queries can build up and also implement a way for the regular queries that build up to time out or fail quicker or more gracefully.

kokey··on IBM Closes Acquisition of Red Hat for $34B
IBM had a huge push about 20 years ago to spend their resources on Linux, I believe this played a part in Linux beating everything from SCO, Solaris and even AIX and BSD out of the market.
kokey··on SoftBank could bring down the house?
Yup, it's easy to spot a bubble but it's not easy to be able to tell how big it's going to get or when it's going to pop. You can be out by years and by magnitudes, which isn't useful for being able to profit from it. It's better to just plan for the worst and treat your exposure to the upside like a gamble.
kokey··on Apple Plus – brand versus subscription
Personally I'm very excited about News+. When News launched I was hoping it would become something like News+ eventually. I think this could be what saves good journalism, I like to get news from a spread of publications especially with different biases and the existing subscription contracts would make this impossibly expensive.
kokey··on You Are Not Google (2017)
What really bugs me about this is that it reminds me of the dotcom days. Microsoft ASP stacks made it easier to find less experienced developers to quickly develope sites, no one having an awareness of optimisation and instead would throw hardware at it. Large clusters of DEC Alpha servers would handle the same amount of traffic as a single FreeBSD on a PC, but this cost difference wasn't a problem when investor cash flowed easily and shifting Microsoft and Cisco products fed into the revenues of the system integrators which was fine since revenue growth mattered more than profits.

I've seen this with many AWS deployments, which on a pure hardware cost is 3-5 times more, but with the way it makes it 'easy' to scale instead of optimise instead costs 10-20 times more. When the investor cash starts drying up and the focus is going to be on competing for profits in a market that is much smaller in general, many organisations are going to find themselves locked into AWS and for them it's going to feel like IE6 and asp.net all over again.

kokey··on UK Releases 130 Terabytes of Oil and Gas Data
Well, I must admit that I was surprised by that 30% production figure. That came fast, hopefully it's possible to keep up the growth in that.
kokey··on UK Releases 130 Terabytes of Oil and Gas Data
Unfortunately people are a bit mislead by the headlines on this, you'll get news saying that on some days renewables became a significant part of the mix (for that day), or that renewables are a significant portion of new capacity (since no new gas is installed because the gas generating capacity already exceeds max potential consumption) or that renewables is now a significant portion of all installed capacity (capacity but not generating or being used). The reality is that for what is actually generated and consumed, it's mostly gas. Have a look at this regularly, https://www.electricitymap.org/?page=country&solar=false&rem... and you'll see right now as I'm typing it we have 15% nuclear, 10% wind and 49% gas.

Around Europe we can see the countries that have low emissions are either heavy on nuclear or have good access to hydro, or both. The rest that are doing well are on gas. Those who shunned gas and nuclear and went all in with wind and solar are usually amongst the worst. We can expand renewables as much as we like but it's not going to be enough until we have a scalable way of storing the energy generated from it. If we want to reduce gas in order to cut emissions even further, it's going to have to be nuclear. However, if we're talking about the cost of nuclear, the cost of carbon capture and storage of gas generation also becomes an option.

kokey··on UK Releases 130 Terabytes of Oil and Gas Data
Don't write off gas yet. Switching from coal to natural gas allowed the UK to cut CO2 emissions dramatically in a short period of time and have resulted remarkably less carbon intensive electricity generation compared to countries that have spent massive amounts on wind and solar like Denmark and Germany. Also the potential for carbon capture and storage for gas power generation is good and could see it remain a power source even in a net zero CO2 emission future.
kokey··on Fuchsia OS Introduction
For the desktop/UI that end users use, for reasons I don't understand, seems to work better if it's maintained by a large commercial enterprise. That's why Windows works, Android works, Ubuntu worked a bit and obviously MacOS and iOS.

I see Fuchsia as a good compromise here, it's going to have more free and open layers than MacOS on top of Darwin has. It's going to avoid a lot of the security issues Windows had and even the Debian/Ubuntu OSes and can probably be closer to MacOS/iOS in that way. It's certainly going to be a lot more open than Windows.

However, in the end, it will also allow Google, hardware and graphics library makers to have more proprietary parts that they control the vision on around the end user experience. It can certainly be the Windows alternative we need and hopefully Microsoft will realise that open sourcing Windows and allowing forks will be the best way for the OS to survive.

kokey··on Dataforge UUCP
UUCP is one of those good things that many early ISP providers overlooked, You had companies with an e-mail server that would dial up to the internet to send and receive e-mail and would get a dynamic IP address. This would be no problem for UUCP, but since many newcomers to the internet didn't know it they would use some clunky dynamic DNS system instead. Also if the connection dropped there was no 'resume' feature if this happened during the sending or receiving of a large e-mail, so it would have to start sending or receiving that e-mail all over again.
kokey··on Why Mailchimp is no longer in the Shopify App Store
I suspect since easy investment money with no questions asked is slowing down and there's increasing IPO activity, companies are starting to care about their bottom line more and along comes with it strategic fights with potential competitors over a share of a smaller pie.
kokey··on Tesla Model Y
I think the real future here is when automation develops enough so these cars can drive itself to and from a parking location nearby. This will free up the space on these streets taken up by existing cars, allow more space for traffic and for stops for passengers to get in and out of vehicles.
kokey··on The sad state of font rendering on Linux
> This almost reads like satire.

After I spent a big part of my day with adjustments trying to make Windows font rendering suck less so I could get some work done, I also thought it might be satire, but it feels more like reading someone's antivaxx conspiracy theory.

kokey··on Microsoft’s Resurgence Under Satya Nadella
I'm not sure why this is such a problem in Linux, where latency is really not such a big problem in Darwin/MacOS/iOS.
kokey··on Microsoft’s Resurgence Under Satya Nadella
I think as long as Microsoft holds onto Windows tightly the better bet in the future will always be a Linux or UNIX-like OS. Like many other things, the thing that works more like evolutionary systems tend to prevail. Linux might be the dominant race of the UNIX ancestry tree at the moment, but it may not retain that dominance and the thing that will overtake it will probably come from the same UNIX evolutionary roots, e.g. the BSD side where FreeBSD, Darwin, MacOS and iOS came from or the other Linux side branches like Android and Chrome, or somewhere less unexpected. The only way Windows tree OSes will prevail over this is if they allow more branches to evolve, even open source parts of it. User interfaces tend to do better if owned by an organisation with a concentrated purpose and commercial vision, but the stuff under the bonnet seems to do a lot better from being more open and evolutionary.
kokey··on A small notebook for a system administrator
Like a Macbook with a bag that has plenty of hubs and adapters and a Raspberry Pi in there just in case. Perhaps the middle ground would be a box with all the ports this design has that you can plug into a USB-C laptop or tablet.
kokey··on When hiring senior engineers, you’re not buying, you’re selling
I think something people tend to miss is when these problems are appropriate. If you are hiring from a pool of recent graduates for a junior position, or any such situation where you have a demand for the position, then this might be a good idea as a first step.

For more senior people this kind of test might even be more appropriate, because they are not always working on exactly the same type of thing in recent memory but in their own time will come up with a good solution quickly. However, for more senior people this type of test should certainly not be one of the first steps of the interview process.

You should ideally have much shorter and simpler technical tests during the first interviews to try to weed them out while also giving them exposure to what kind of environment they can expect to be working in, but also tell them this kind of task will be coming and why you are doing it. Once they're more committed to actually wanting the position they will be more likely not mind spending their personal time doing this kind of work exercise, or you could even offer to pay for their time on it to show you are not the kind of company that expects them to do work for free.

If you don't do this, you'll only come across more senior people who are desperate enough to jump through these hoops, which is rare and you better know for sure why they are desperate.

kokey··on When hiring senior engineers, you’re not buying, you’re selling
I think the difference a senior person can make is to see what things the new language/framework/paradigm still doesn't solve and think of ways to evaluate their risk to a particular project's requirements and how to mitigate that risk. Things like downtime for upgrades or migrations, handling dependencies on ecosystems of community developed libraries without quality and feature change controls, the ability to update the system when it's been in production for 3 years and see few changes have been made and the original developers have all moved on, etc.
kokey··on Computer program that could bypass patents to produce synthetic drugs
It depends, on the chemistry research side the pharmaceutical companies still do a lot, if not most of the heavy lifting. Cheminformatics benefits from the big scale in these organisations and also do the of the type of thing discussed in this article. The same with other parts of this research, like having access to the fancy spectrometers etc. Finding and understanding new compounds with potentially useful properties is only part of R&D process, then developing the biology all the way through to making it a drug fit for human consumption is also quite risky because most of them fail and that's where the small companies come in who takes up that risk.
kokey··on C programmers with Mac experience wanted for revival of Eudora eMail client
I think it's good that we see more efforts at making good e-mail clients. Outlook was never great, but it has really ruined e-mail with the current font and design layout that makes it even harder for people to notice important e-mails and this is killing it off as a communications medium.

We have the advantage nowadays that the server protocols are more open than they have been for a long time, also the rendering of rich e-mails is more standard so it's a good time for alternatives to gain some of the market.

kokey··on Recovering Nintendo’s Lost SimCity for the NES
I thought I remember seeing this at the Game On exhibition https://en.wikipedia.org/wiki/Game_On_(exhibition) but it must have been the SNES version.
kokey··on Malaysia seeks $7.5B in reparations from Goldman Sachs
Well, strangely enough a recent study seems to indicate that a reputation for being evil is actually good for attracting investment banking type business https://insight.jbs.cam.ac.uk/2018/beneficial-wrongdoing/
kokey··on Bye Bye Mongo, Hello Postgres
I think MongoDB has a place, but that place isn't being the database for a big distributed content store for a web site or something like that. Where I do think it has a place is for some of the in-memory data structures of a node running an application or a service. Applications tend to have a lot of data in various structures that it works with while it's running. Sometimes you need this to be persistent and sometimes you need to be able to scale this across a node. MongoDB is fine for this, so I think of it more like a SQLite replacement.
kokey··on This is the United States’ third biggest housing boom in the modern era
I was being sarcastic there. Everyone also knew for a fact that property is a very safe investment and things backed by property is a very safe investment.

Before the stock market took a knock over the past two years, people were talking the same way about index funds as they were talking about property. The same thing with bitcoin really.

kokey··on This is the United States’ third biggest housing boom in the modern era
It would be similar if they allowed people to use their ownership of stocks and index funds to use as leverage to borrow funds to buy more stocks. They could borrow based on the risk ratings of stocks, and everyone knows it's a fact that index funds are the safest investment out there so the risk on that should be close to 0 and allow the biggest leverage. I'm going to stop right there, I'm starting to frighten myself.
← PreviousPage 4 of 27Next →