Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cjsuk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
24 ms
·
211.
▲
by
cjsuk
9y ago
It's not that simple and it's not a fact. I'm an advanced user of functional languages as well and have written an entire scheme implementation before. I only semi-agree. That's slightly disingenuous representation of fu
212.
▲
by
cjsuk
9y ago
Always ask for the reason before slating it :) Usually that's a single responsibility class: interface IGraphParser { Graph Parse(Request request); } Inject that into the caller via the container then you can mock the
213.
▲
by
cjsuk
9y ago
That's an integration test really. The clients all have an abstraction around the http endpoints so nothing touches integration in unit tests. The advantage of this is you deal with transfer objects only in the code, no HTTP which woul
214.
▲
by
cjsuk
9y ago
There is some cargo culting there but it's mostly correct. Helper is a code smell as it's a sign of "we don't know what the responsibility of this is or what to call it so we'll just chuck a load of shit in this fi
215.
▲
by
cjsuk
9y ago
Problem is that the moment you start introducing delegates and crap like that is you're inventing a mechanism to work around your resistance to not using static methods rather than actually solving any problems. There is no functional
216.
▲
by
cjsuk
9y ago
https://martinfowler.com/bliki/InversionOfControl.html
217.
▲
by
cjsuk
9y ago
We use Ranorex for this: https://www.ranorex.com/
218.
▲
by
cjsuk
9y ago
If you write the tests afterwards, you find where all the tight coupling and crap abstractions you accidentally did are afterwards. That leads to you either not writing tests or having to refactor bits of it. It's easier to do this muc
219.
▲
by
cjsuk
9y ago
Exactly this. Confidence is everything. I can actually write entire features with appropriate test coverage from the ground up and they work first time and have close to zero defects in production. It's amazing when you spend 5-6 days
220.
▲
by
cjsuk
9y ago
It is a crazy idea. Look how well received it is: https://uk.trustpilot.com/review/www.airbnb.com Anything based on abstracted trust is a disaster waiting to happen.
221.
▲
by
cjsuk
9y ago
It's more than just the two for reference. It's either dead or dying at that age for most people. In addition, my 94 year old neighbour is housebound and has leukaemia and just wishes someone would kill him. My grandmother is 93 a
222.
▲
by
cjsuk
9y ago
Err no. Whoever came up with this idea should simply be taken outside and shot. Actually whoever allowed it to get to this state of development should be shot. The ideas guy and the worker bees are just doing what they say. There is nothing
223.
▲
by
cjsuk
9y ago
Agree. I know two people who are in their 90s and it’s no life to live.
224.
▲
by
cjsuk
9y ago
Well it turned out that the legality of what the startup was doing was extremely questionable and ethically a line I couldn't cross. They are a quite notorious outfit still running. Basically the objective was to rip as many people off
225.
▲
by
cjsuk
9y ago
Yeah I wouldn’t want to do it now. I worked for a major pollster about 10 years ago and they had monumental problems back then just sending invites out that people had actually signed up for.
226.
▲
by
cjsuk
9y ago
Exactly this. I’ve always been the “I’m outta here” guy. Never been wrong. I actually worked for a startup a number of years ago and quit after two hours. A big chunk of the startup industry is preying on the gullible.
227.
▲
by
cjsuk
9y ago
Hell no. The moment Yahoo, Microsoft or google decide that they don’t like you, you’re SOL. Yahoo are the worst. If you try and deliver to them you get a deferral with an error message in your log with a URL. Then you have to open the link
228.
▲
by
cjsuk
9y ago
Yes. They should start at the desktop operating system that you can’t easily disable tracking and telemetry on...
229.
▲
by
cjsuk
9y ago
I miss the days when you had to live off the manpages and vendor packages. As a former Solaris admin in a defence sector company, we were 100% airgapped. Mobile phones were handed in as you walked into the security office. None of that gith
230.
▲
by
cjsuk
9y ago
I think a lot of people from the former Eastern Bloc don't like the idea of federal police because it sounds a bit close to some of the communist era policing.
231.
▲
by
cjsuk
9y ago
Credible partners? Yeah right: http://securityaffairs.co/wordpress/56411/hacking/windows-gd... No one is credible here. The very nature of a closed agreement of secrecy between arbitrary parties is the opposi
232.
▲
by
cjsuk
9y ago
See my comment here. It sort of replies to this anyway: https://news.ycombinator.com/item?id=15482285 I don't believe that embargo is healthy or responsible! If anything its a monopolising factor.
233.
▲
by
cjsuk
9y ago
Exactly that! No bullshit please - you guys do a wonderful job of avoiding it and stamping on it when it does turn up. Keep up the good work :)
234.
▲
by
cjsuk
9y ago
What about the vulnerabilities that OpenBSD notice? Works both ways. And they have an active interest in such things and have discovered as much as any famous-for-five-minutes security researcher.
235.
▲
by
cjsuk
9y ago
What happens if a vendor or researcher is in bed with the NSA and they use the exploit while embargoed? The whole thing is a shit show and really I'm rather more behind OpenBSD's approach. Edit just to expand on this as someone de
236.
▲
by
cjsuk
9y ago
It's certainly not aesthetically pleasing, although there is some mileage in that department with printed duct tapes, but it works which is the main thing. To be honest with careful routing it's only taped down in one place in a c
237.
▲
by
cjsuk
9y ago
CAT5 and duct tape are your friend. I have the same problem and it’s quite easy to manipulate it around and behind things without problems. One section of cable I have is 19m to span a 3m floor. We have to do this because I live in crowded
238.
▲
by
cjsuk
9y ago
Indeed. Works better with tubes. I built a slightly more modern version with an op amp and a small 28v bulb in the feedback circuit and it didn’t quite perform as well as I’d hoped. Was interesting however.
239.
▲
by
cjsuk
9y ago
Yeah they’ve come a long way since the analogue units. I’ve got a new Chinese digital unit as well (Rigol) and it’s got Ethernet and USB and stuff and you can drag data off it with python trivially for example. Colour wide screen and measur
240.
▲
by
cjsuk
9y ago
Indeed. Not if you buy old oscilloscopes they’re not! They’re still perfectly useful instruments to be honest.
More ›