Better HN
topnewbestaskshowjobs
Log inSign up

aetherspawn

4,974 karma · joined Apr 27, 2014 (12y ago) · 1,386 submissions

Submissions

comment 3y ago · link · parent

Wave looks really nice, though it’s a shame they only support US tax. For Australians the accounting package has to support “STP2” which is the governments API for reporting payroll and super, otherwise it’s borderline illegal to use.

comment 3y ago · link · parent

Unfortunately doesn’t work if the logo has fine detail.

comment 3y ago · link · parent

I have played quite a few games on Switch that have a "press any key" screen basically just to figure out which one of the possibly multiple connected controllers you are using for P1, P2 etc.

This might not sound difficult to figure out, but I'll float you a super common use-case: you have a bunch of people at your house and you connected like 8 controllers, but 6 of them end up just sitting on the couch connected but unused because people walked off to get a drink or have a chat or whatever. The games that don't require you to run around and manually connect/disconnect the controllers are the best.

comment 3y ago · link · parent

Does this support macOS for apps? The website is a little unclear and “Windows and iOS” is a really odd combination of platform support.

Aside, I have used this in the past for GUI on windows and it was amazing. Like .NET but native and better.

comment 3y ago · link · parent

College is fine in fields where the careers are regulated and college is required i.e. engineering, medicine, law, accounting, etc.

For the other unregulated fields its unsurprising considering that the quality of education was questionable compared with just reading half a dozen good books.

comment 3y ago · link · parent

Can’t wait for everything to be FIDO2 and security keys (phishing proof) and for these people to go get real jobs flipping burgers or something where their employers withhold their taxes…

comment 3y ago · link · parent

I use these in my job so I lol’d.

comment 3y ago · link · parent

I don't disagree that it's possible, just in my experience the debugger VEH was fired after my application's own VEH and not before it, so the debugger did not step into the VEH. And if you want to hide something from static analysis it's not a bad way, even if it is meta to "security through obscurity". The barrier to entry for implementation is pretty low, like ~50 LOCs so it's not going to be on the level of like state sponsored malware or something like that.

comment 3y ago · link · parent

Yes, however you can easily detect when a debugger is attached and avoid placing the VEH. There are only two mechanisms for a debugger to operate: by placing its own VEH (or UHE), or by populating one of the four hardware breakpoint registers, and both are very easy to detect.

comment 3y ago · link · parent

Actually our competitor was reverse engineering our LOB app and we used this to protect trade secrets.

comment 3y ago · link · parent

The VEH target is visible if you know where to look. You can use something like Themida to virtualize/obsfucate the VEH if you really need the VEH to be encrypted.

It's actually not so easy to find the VEH because if you are injecting the VEH into a third party process from another process, then not only does the VEH not exist during static analysis of the binary at rest, but its program address changes on each execution. Moreover, the VEH can be encrypted at rest before it is injected into the second process.

comment 3y ago · link · parent

We used to place an INT3 vectored exception handler on function entry points and do everything interesting inside the exception handler. This made the execution stack basically invisible to every debugger since it doesn't debug exception handlers. You can enable/disable interrupts and tracing and whatever you need to do inside the exception handler to guarantee that nobody can see what you are doing and/or verify that no other program has registered another exception handler before doing anything interesting.

If you need to hook functions in third party software, this trick can be used to hook the function without modifying any of the functions code. All you need to do is modify some pointer used by the function to zero, and it will raise an exception as soon as something like p-> is executed on that pointer, then your exception handler can execute whatever code you need (i.e. write over stack, write to memory, exfiltrate handles) and on exit all you need to do is restore the correct register containing the pointer and wind back the execution counter by the size of the de-reference instruction.

Please don't use this knowledge to hurt people ...

comment 3y ago · link · parent

Thinking of the scales involved, even at the speed of light probably two masses couldn’t pull each other fast enough to collide (if you are colliding the two galaxies at the fastest manifestible speed which is the speed of the light).

That’s hand wavy because if you’re imagining like grabbing the two galaxies and smashing them together… that’s like giga levels of magnitude faster dynamics than the speed of light, ha!

You’d have to like put the galaxies on top of each other and leave them there, probably for years, for gravity to get everything moving quickly enough (and then for the speed of light to even bridge the distance!) before really anything would happen. I think.

Engineer but not a physicist.

comment 3y ago · link · parent

Hm, would you go through the process of GM your (otherwise naturally conceived) kid on the chance that their lifespan would increase by 4%? For me personally, OK, 10% ... maybe, 20% definitely.

But what stigma and complications/risks could they live with for a 4% increase in lifespan? What if they find out in 30 years time that their GM means that they can't have kids with their partner or something because there is some biological incompatibility that wasn't anticipated and it just miscarriages. What if some country is Xenophobic to the idea and won't grant them residency or a passport because they are GM, or they are eventually targeted by some kind of anti-GM hate group? Would that 4% be worth it? Like everything it's a risk-reward value prop.

comment 3y ago · link · parent

Just came here to say that I re-installed Haskell on a new ARM MacBook and the tooling is fine ... everything setup in about 10 mins and everything worked just fine.

comment 3y ago · link · parent

By 4% which may as well be experimental error, right? The mice could have very well just lived longer due to increased interest/handling/measurement of their welfare.

This seems insignificant when compared with other selector genes such as H63D and C282Y, which could potentially double or halve subjects life span depending on environmental factors.

comment 3y ago · link · parent

I currently don’t use Haskell but maintain an old Haskell package from a failed startup of mine that has some commercial usage by other orgs. I have been assuming everyone is using stack? I’m also interested to hear what is going on here

comment 3y ago · link · parent

HP sold me a crappy high-end Pavillion laptop around 12 years ago with a GeForce chip in it that would unsolder itself due to poor thermals.

The fix was to disassemble the back of the laptop, mask around the GPU with tin foil, and hit it with a hair dryer on max setting for about 20 mins.

The fix would last like 3 months. Learnt it off some guy on YouTube who was such a hero.

comment 3y ago · link · parent

It's possible only if you use a DisplayLink dock which requires using very specific dongles and installing specific third-party drivers. Our company already has 10-ish Dell Monitors with USB-C docks integrated, also Thunderbolt Dell docks, and neither of these work. There is no workaround.

comment 3y ago · link · parent

Yeah there was Jamf, but especially at a small company ~5-10-ish people, having to deal with a provider where you have to go through a sales person is such a pain. They have minimum license buys and deprio you if you're small... Now that it's natively supported just between Apple and MS, you can on-board yourself in about 1 day without talking to anyone, and the whole platform costs $0 if you have Office365 E3 already.

comment 3y ago · link · parent

The 16gb configuration is an absolute powerhouse and seems to be fine ... RAM usage on macs, particularly ARM, is completely different to Windows.

comment 3y ago · link · parent

One caveat! You must buy the M2 Pro (14" or larger, non-air) model to get 2 external screens.

We bought the wrong model to start with (13" M2 regular) and spent a week messing around with ours trying to get it to work with our 2 external displays when we rang Apple and they explained the difference between M2 Regular and M2 Pro. If you were buying one for yourself and budget was of no value, note the 13" and 14" are virtually the same physical size, and yet the design and technical capabilities of the 14" model are far and beyond ...

I wrote off the 13" as a loss and paid the difference myself, and now use it as a laptop at home :) Old design, yes, but it was such a nice piece of kit, no way I was gonna send it back to Apple!

comment 3y ago · link · parent

Pretty good considering the level of R&D that went into pushing their new ARM M2 platform across their entire computing line.

We just started buying M2 Macs at work, and oh boy, they are lightning fast, robust refined HW and the battery life is incredible. It’s a check-mate for the personal computing industry, pending they get their enterprise MDM features in shape (ie Intune) and get more apps ported to macOS.

For those wondering, just in the last few months you can now bind a M2 Mac to InTune and remotely manage most things. You can’t login to the system with Office365 email yet (coming soon), however you can block personal AppleIDs, push a managed AppleID that uses Office365 SSO without any third-party plugins, and remotely track every device using FindMy. And yes since it supports InTune you can push and deploy endpoint protection and company apps.

comment 3y ago · link · parent

This thread was a good read, thanks.

comment 3y ago · link · parent

FMEA relies on a really smart person anticipating all the different combinations of failures worth exploring (NxM), not just N or M.

Some failures are fairly common, and individual failures might be fairly inert but have more serious consequences if they are cascaded with another specific failure.. for example, cruise control enable + failure of steering wheel control pad _and_ previously undetected failure of brake sensor/brake light circuit = cruise control stuck ON. Actually, this failure is inert if the cruise control is OFF when it happens. Contrived example but you get the idea ...

I have seen a lot of FMEDA (and other tool) use lately to combat concerns with cascading failure, but not sure what's currently standard at NASA or how they deal with this. I would think cascading failure would be their expected scenario on a 10+ year unmanned mission.

comment 3y ago · link · parent

FMEDA probably. And in recent times, fault tree analysis seems to be better for complex systems.

comment 3y ago · link · parent

Are there any screenshots anywhere to understand what kind of app this is for?

comment 3y ago · link · parent

It's usually super critical things that don't work, for example:

I couldn't apply to become a registered engineer in my state using Firefox because the form was in an iframe, and for some reason the iframe didn't render on FF.

The credit portal for Shell Fuels only works in Chrome and doesn't display at all in FF due to a console error. (Enough of the page renders to make you think that the page is complete but i.e. the buttons to apply or make a payment don't render).

The field for setting the date of a consultation (work) in our accounting package doesn't work in FF, and no matter how many times I write to their support team they just write back with "Firefox is not supported, please download Chrome". There was a similar attitude at a software company I worked prior, but I managed to wear them down and get Edge (modern), Firefox and Safari on the QA supported browser list with the reasoning that they are the default browsers for Windows, Linux and macOS respectively.

But come on, browser standardization is so good these days I honestly don't understand how people are making pages that only work in Chrome?

comment 3y ago · link · parent

Every day I hit sites that literally only work in Chrome.. it’s time to fight back :)

comment 3y ago · link · parent

Maybe look at Zelda: TOTK for some inspiration on improving user experience -- their execution of the 'build anything' idea was pretty stellar considering how uncomplicated and simple the controls.
1
202122
47