HNHacker News
TopNewBestAskShowJobs

bennysaurus

237 karma · joined May 20, 2010

submissionscomments
bennysaurus··on Minecraft: Java Edition now uses SDL3
There were plenty of low level libraries available then, less in the way of frameworks. It was an environment that he was used to coding in and cross-platform (in the PC world anyway).

Given what it was in the very beginning versus what it very rapidly grew into, I guess it was just something that made sense at the time.

bennysaurus··on A nearly perfect USB cable tester
Likely the emarker chip in the cable is reporting higher power capabilities than the cable can support long term. It'll work initially but then can't maintain that after resistance in the wires increase with wear.
bennysaurus··on Kubernetes Ingress Nginx is retiring
Only a single maintainer for years, and it's fallen now to best-effort.
bennysaurus··on Australia Struggling with Oversupply of Solar Power
A high voltage DC line is being built to Singapore now from a solar generator in Northern Australia, so it's definitely doable to send over that distance (around 3,000mi).

I would like to see more storage though in its various forms; the oversupply is during peak daytime hours, however there's still large draw at night that could be offset.

bennysaurus··on Jepsen: MySQL 8.0.34
You're right it is workload dependent. If you're low write but read heavy, you won't see huge differences in performance between RR and Serializable, so it can make sense to shift exclusively to that. The last benchmark here shows some of that with Postgres if you're looking for numbers (not an exhaustive test by any stretch): https://lchsk.com/benchmarking-concurrent-operations-in-post...

SQLite is single writer, so transaction isolation is easy, writes are linear by their very nature.

Cockroach does some really funky stuff, but its serialization guarantees are only within certain conditions. Traditionally it has also had low write throughput compared to other systems, mainly due to its distributed nature. Jepsen touches on that here https://jepsen.io/analyses/cockroachdb-beta-20160829 though things have vastly improved since then.

To your earlier point, it may not even matter depending on the workload, or if you're aware of your database limitations. In cases where it does matter then being aware of the limitations of something like Repeatable Read makes the trade-off worth it.

bennysaurus··on Tell HN: Microsoft.com added 192.168.1.1 to their DNS record
Potential timeouts for clients/workstations trying to reach microsoft.com.

Which entry is picked for use is generally random depending on the client.

Most systems will retry using another entry though on issues connecting through. That said, if you are on a network that is 192.168 based, trying to get to Microsoft.com may just send you to your local router!

bennysaurus··on Interviewing my mother, a mainframe COBOL programmer (2016)
Things is source code management these days even in mainframe but many shops still have you log into the same "box" to do your development. It can get pretty fun when trying to coordinate testing and patches.
bennysaurus··on Interviewing my mother, a mainframe COBOL programmer (2016)
Do you know what they're using? Are they going to Microficus COBOL or doing something different?
bennysaurus··on Soviet computer has been forgotten for 30 years [video]
Given the name, it'll be Qix, I had a copy as well!

https://en.m.wikipedia.org/wiki/Qix

bennysaurus··on Show HN: OPML list of Hacker News Users Personal Blogs
It has its quirks on occasion and has changed a bit but has been around since 2007 and still going great.
bennysaurus··on NSA Kubernetes Hardening Guidance [pdf]
It's a fair question and certainly is possible to have firewalls on a per-server basis. We do that for incoming traffic primarily. The catch is if that server itself gets compromised then you can't count on those rules still being enforced.

Having dedicated network appliances acting as firewalls means from a security perspective you need to compromise the local machine and then also compromise a dedicated, hardened external system as well. It vastly ups the difficulty barrier.

bennysaurus··on The Best Way to Avoid SIM Swapping
This is an advertisement. "How to avoid SIM swapping? Get your provider to use a different authentication method (like this one!)".

In reality there is no great way to avoid it for services that have SMS as a fall back measure. Some phone companies allow a lock on transferring your SIM, requiring you to physically enter one of their stores in order to unlock, but that's about it.

bennysaurus··on IoT automated cat feeders stop working during server outage
Are they even still in business? That tweet is from 4 days ago.
bennysaurus··on The Myth of Architect as Chess Master
There's knowing to ask the right question, and then there's asking the right question in the right way.

That situation is tough though as you're working through both ego and office politics.

bennysaurus··on Hayao Miyazaki upsets some fans and angers conservatives with his latest film
(The Thomas Covenant series was by Stephen Donaldson by the way)

Card definitely has his own style with his work. Whether it's great or not is dependant on the reader - http://one-starreviews.tumblr.com/ gives some fantastic examples.

If you can, try the Seventh Son series though. easier read than Speaker or Xenocide, and very interesting IMO.

bennysaurus··on Samba 4.0 released
The windows ones apparently work with this version of Samba.
bennysaurus··on Are Butterflies Two Different Animals in One?
It's an intriguing idea though if nothing else. A question here (I don't know your background if it's biology mind you): what actually happens in the metamorphosis between caterpillar and butterfly/moth or any larval animal for that matter?

It does seem rather radical to switch off a massive amount of genes and switch on a bunch of others in adulthood, drastically changing your physical form.

bennysaurus··on Computer Glitch brings Melbourne traffic to a standstill
No trouble and agreed - rumours flying around like that don't help the problem. If there was that level of security breech, outsiders would probably do more than lock everybody out anyway.

Finding further information about it: looks like a core switch died with the backup not kicking in. 12 hours to work around is a but much though.

bennysaurus··on Computer Glitch brings Melbourne traffic to a standstill
In IT security here in Melbourne, first I've heard of it. Also why would network security specialists need to fly over 30 hours from Europe? We also have some pretty capable teams on the ground here already.

Given the time frame of when it happened it's more likely a change that has been borked in some way with difficulties in rolling back.

bennysaurus··on Reading Other People's Code
Are you sure? Sometimes wonder if talking to inanimate objects is just standard behaviour in Starbucks...
bennysaurus··on Beta Late Than Never (Steam Linux Beta)
Seconding this. If you remove the '-3' at the end, it redirects back to the URL above. Cheeky, I like it.
bennysaurus··on Beta Late Than Never (Steam Linux Beta)
With such a wide range of kernel versions, OS differences and various flavours of drivers from open, proprietary and closed sources, yep it's going to take some work.
bennysaurus··on Is Alzheimer's Type 3 Diabetes?
The Alzheimer's link is a relatively new one (at least in the media) and looks to be a little bit of sensationalism: it sounds scary, makes for a good story and there's plenty of ways to angle it.

Pragmatically, there's little downside to publishing it as well - if people eat healthier and exercise a little more as a result, brilliant. For researchers given the wide base of ground to cover in the disease, if it gives more funding in their fields, also brilliant.

Taking a step back and looking at Alzheimer's just as a metabolic disease (which does have some merit, let me find the papers) does give some new avenues to explore. Same as you will be interested to see what comes out of it. It truly is a crushing disease for all involved.

bennysaurus··on Meet the Man Who Built a 30-Story Building in 15 Days
Try adding '&viewall=true' without the quotes on the end of Wired URLs.

It is annoying though, a little bit of jQuery would fix it in about 5 seconds flat.

bennysaurus··on Java flaw allows “complete” bypass of security sandbox
Some banks are researching into extending that functionality too - creating effectively a disposable browser inside your browser to help mitigate against keylogging and screenshotting account details.
bennysaurus··on Reading Other People's Code
Absolutely agree with this. Starting at the base with small libraries in your language of choice and working your way up (similar to beginning with picture books and moving onto novels) is a fantastic way to both become more familiar with a coding language and also various coding styles as well.

When you come across pieces of code that may seem esoteric, doing a "rubber ducky" debug (talk through the code line by line with ann inanimate object) on it I find helps tremendously with both understanding what's going on along with the author's mental approach to the problem.

In the event they may just not be a great programmer you can still learning something from the way they approached the challenge.

bennysaurus··on Great work Visa, now I hate you
Yep but that's up to the banks and their bundles more than Visa/MC; the cards company's mission is more one of convenience.
bennysaurus··on How the Curiosity Rover's Nuclear Battery Works
Certainly to build one the theory behind it wouldn't be tough, it'd operate on the same principles as the stove setup. To buy though? There's a story of a boy scout who did something similar as part of a personal experiment in the 90's. (Before getting raided out of fear by the FBI) Will have to find that story again.

In almost every country the materials required are tightly regulated and getting permission even in a lab environment is tough work. If you can work out the legalities and safety, I'd be interested too!

bennysaurus··on How the Curiosity Rover's Nuclear Battery Works
I think the OP is looking at using their stove as the heat source, not a nuclear battery.

On that note, the idea you're talking about was actually considered for a little while for public use until the dangers were found to outweigh the benefits.

bennysaurus··on Great work Visa, now I hate you
You have to understand what Visa is competing against; it's not against the other card providers, it's against cash.

Considering how much money they have spent to be a sponsor I don't think they count their return to happen during the Olympic period, this looks more to be a habit forming thing (when you go out their aim is you'll go for your Visa by default).

Page 1 of 3Next →