Hacker Newsnew | past | comments | ask | show | jobs | submit | Herdinger's commentslogin

As a minor nit: Many of these are not actually source ports but reverse engineering efforts (e.g OpenMW). It would be nice to have a tag to highlight that is the case for accuracy purposes.

In my opinion gaining accuracy for a single engine is way harder than for general emulation since one does not have a giant corpus that can be used for validation, just the game as is. I‘ve seen a few approaches that try to go the extra mile like the bit identical Super Mario 64 decompilation, or Dungeon Master where the developer recorded inputs on actual hardware and checked that the play through reaches the end of the game provided the same inputs.

Not to take away from the tremendous task those reverse engineering efforts go through, I am very grateful to have classic games running on modern hardware with enhancements and modding support!


Yeah for better or worse something I discovered was that the number of projects that fit the standard pattern of projects derived from the original's source code is actually pretty small, and the reverse engineering efforts are more common than I thought.

On the wiki on my build system I have a categorization thing happening, perhaps I should incorporate that into the site. https://github.com/MacSourcePorts/MSPBuildSystem/wiki

One thing I try to avoid though there are some examples on the site is recompilation efforts. Those can get into dodgy territory.


A bit off-topic,

But I just want to raise awareness that currently it is impossible to get 60fps for a canvas in chrome on MacOS without dropped frames:

https://www.vsynctester.com/

I have tested with an M2 Air and an older Intel MacBook Pro. I think this is related to this bug report (open for many years) but I am not sure:

https://issues.chromium.org/issues/41136434

One might say MacOS users use Safari most of the time, but sadly it is not possible to get a pixel perfect (or at least not wildly off) canvas if a user changes the zoom settings:

devicePixelRatio does not change on zoom as it does in other browsers and I believe the spec. https://developer.mozilla.org/en-US/docs/Web/API/Window/devi...

This is a decision made for accessibility reasons on Apples part, but I can’t find the quote on that anymore. Alternative mechanisms to size the internal resolution of a canvas correctly are also not supported on Safari.


Hi I am not really asking for specific advice (since I know our situation is already not working out to nice…), I just want to highlight how absurd the state of affair is and maybe get some input on that.

My wife is a US citizen and we currently both live in Germany and planed to move at the and of this year. We’ve filed a I130 in November last year and got an initial estimate of it being done right now (7 Months not to bad). But looking further into it it takes at least 15 Months to process this stage of immigration, worst case scenario it could’ve been 50 months (4 year!!!)

This wouldn’t all be to bad but to add insult to injury it looks like I’m effectively barred from entering the US during this period and US customs can even bar me for 5 years from entering the country if I try.

I just feel incredibly sad about the fact that the way to go if you have a sweetheart in the US seems to be to illegally marry on a Tourist entry into the country…

The earliest the US would even respond to our inquiries is in 2024, which is frankly ridiculous.

There doesn’t seem to be any workarounds other than transferring on an L1 Visa between companies that are situated in Germany and the US, every other visa is single intend (i.e illegal if you plan to stay and the US gets to decided if you’re trying to do that)

I don’t understand what the US is scared of, taking their social benefits? Especially since 90% of the I130 are approved, there is no reason it takes that long or needs such rigorous vetting.

Peter if you know any better or disagree please let me know :(


Unfortunately I've seen these terrible delays with our own clients and there's little that can be done other than what you suggest: get to the U.S. on some type of work visa and then pursue the green card when here, which is a very fast process. But one correction: you are allowed to travel to the U.S. as a visitor while your green card application is pending; you just need to maintain a home abroad and not work when here. We've had spouses in the same situation spend months and months in the U.S. while waiting for the green card process to run its course.


Thanks for the quick response, I agree if it would be that easy, sadly I’ve had friends that were turned away by customs for that exact reasons (staying months while they visited last time) and got recommended against even trying to enter by an attorney since the I130 in flight might be used by US customs against me.

I don’t think you or anyone can assure me that if I am currently trying to enter the country for a visit I might not be turned away by customs (worst case scenario being barred from entering for years).

I don’t know how you can plan your existence around random chance of US customs.

Please correct me if I’m wrong with that assessment.

To come highlight again, this has been a huge surprise to my wife’s family who resides on both sides of the political aisle.

They assumed it would be bad, but not quite how bad.


With the right advice, you should be fine to travel. Never has a client of ours in your situation had an issue entering the U.S.


> To come highlight again, this has been a huge surprise to my wife’s family who resides on both sides of the political aisle.

> They assumed it would be bad, but not quite how bad.

I have seen this play out many times. Everyone goes "We aren't against immigration, just the illegal crossings. Get in line like everyone else!" until they or someone close to them finally comes across the actually legal process.


I’ve entered close to 25 times since submitting a I-130, never had any issues whatsoever, barely even a question from the officer. I even got global entry just fine. Dutch citizen here with wife living in the US. My visits are usually on the order of 5-10 days and I do have a strong track record of leaving the country which might help.


I am in similar situation, except wife is in India with younger kid and I am in US with elder kid in university. I am told there is a good chance she will be denied tourist visa even if not yet applied to GC, as rest of us are US citizens. And she will be denied tourist visa after applying for GC.


That's a separate issue. If one already has a tourist visa or is from a visa waiver country, there really are no issues traveling to the U.S. while the green card process is pending if you are smart and careful. But it's very difficult to obtain a tourist visa if you are in the green card process.


Not advice, just some words of encouragement: I am in a very similar situation (German citizen, US citizen spouse), and we started our I130 petition at the end of August last year. We got the approval notice (for the I130) literally this week.

So with your November filing, I think it would not be unreasonable to expect an update within the next 3 months or so. And from there on it should go fairly fast, probably just 1-3 months from an approved I130 to a GC.

Good luck!


Good guidance. That's what we're seeing as well with marriage-based immigrant visa applications, about 9-12 months for the I-130 to be approved and then, depending the consulate, about 1-4 months to get the immigrant visa.


I am in a similar situation. Is there anything we can do if we havent heard back from them in more than 18 months?


This is all great advise.

I feel like there is one important detail missing. There is no way to turn off an API like this without guaranteeing not to introduce breakage. Even for a well behaved client that has enough foresight to anticipates API deprecation.

You only get the specified headers AFTER calling the API endpoint.

So for example if a device sits in a drawer for a year, then calls the API your response is undefined if the API has been turned off. No chance to get the date beforehand.

The way I handled situations like this is to explicitly make 'turned off' part of every single API response.

Something like APIResponse = SpecificResponseForEndpoint | TurnedOff

That way API interactions are always well defined, clients can implement a global handler that does the appropriate thing, locking the client in a 'please update' state if it is an in house developed app for example.

For HTTP I usually reserve the 410 status code for that since it usually does not collide with the more common 404.


A good friend of mine is colorblind and I did a bunch of research on the topic of colorblindness a while back.

The problem(I'm sure it's great nevertheless) is that their technique doesn't add any new colors and doesn't work for full dichromats.

Today we've got the technology too supply different color information to each eye, it's even commonplace in the form of 3d television. I did a bit of testing on how the brain interprets this (fun party trick, use complementary colors for each frame and the resulting picture is grey without the glasses and can be psychedelic shenanigans with.)

How stable the resulting color is seems to be connected to object recognition, for a fruitstand there certainly were colors I didn't see before, for a fullscreen it oscillated between colors irregularly.

I would love to reverse engineer the interpolation function the brain is using. Since it's subjective it's difficult, even with a big sample size you can't match to control colors.

If anybody wants to get into this topic I don't have any papers since it was a while back, but topics such as MacAdam ellipse, color confusion lines and image daltonization should be good starting points.


I suffer from a condition called visual snow.

I realized about ten years ago that what I was expering wasn't normal. The condition was completly unknown at the time and I got multiple MRI's, my eyes and nervous system checked out from every angle and there was nothing abnormal.

Talking with many people I know it turned out that this condition is surprisingly pretty common, though in a mild form. People told me they saw some form of constant noise too but dismissed it as normal.

Your article got me to check the condition out again and it turns out there is new research from May identifing something wrong with the brain of people under the condition.

It's nothing life threatening like you're story, but still it's something you have to learn to live with it's there 24/7 even when you close your eyes and can be imparing at night.

http://www.eyeonvision.org/news/107-visual-snow-research-stu...

http://en.wikipedia.org/wiki/Visual_snow

Sadly I'm not in the US and there don't seem to be any research studies in Germany. Therefore I want to shout out if anyone on HN suffers from this condition, maybe hasn't even realized it because it manifests in mild form. You can all help the understanding of the condition.


Oddly, I think I have this. I've tried to explain the vague faint multi-colour noise that overlays my vision that is especially noticeable at night to e.g. my parents before, and they didn't get it. I've always assumed it's normal and that I just failed to explain sufficiently.

Reading the wiki article: > In addition to visual snow, many sufferers have other types of visual disturbances such as starbursts, increased afterimages, floaters, trails, and many others.[9]

eh maybe; I have no frame of reference

>Non-visual symptoms such as tinnitus, depersonalization-derealization, fatigue, speech difficulties and cognitive dysfunction (brain fog) are frequently encountered.[citation needed] Secondary psychiatric sequelae such as anxiety, panic attacks or depression may develop and necessitate appropriate treatment.[citation needed]

Tinnitus: Yes, sometimes it flares up a bit for about half an hour before going away again. There's a background level of ringing in an even slightly quiet environment, but I'm not sure if it's just the blood rushing through my ears.

I also like listening to music at a loud volume (I find it hard to enjoy music otherwise.)

Depersonalization-derealization: Not sure. See 'depression' below.

Fatigue: Yes, which I've associated with my depression

Speech difficulties: I stutter and find it hard to remember names, but if I'm presenting something you would never realize either of these.

Cognitive dysfunction: Quite possibly. If I'm in a more depressed mood, I can't think.

Anxiety/panic attacks/depression: I was diagnosed with clinical depression a couple of years ago, when it got so bad I stopped caring about anything and went to a doctor.

Headaches/migraines: It varies wildly, but I do get headaches quite badly on occasion. I put this down more to stress & depression.


Tinnitus: Yes, sometimes it flares up a bit for about half an hour before going away again. There's a background level of ringing in an even slightly quiet environment, but I'm not sure if it's just the blood rushing through my ears.

My oldest son has a history of tinnitus. He has benefited from generally improving his health. Our best understanding is that addressing magnesium deficiency was specifically helpful with this issue. He suffers less than he used to.

I still develop noise sensitivity any time I am magnesium deficient. So when everything starts being too loud for me, we make sure to up my consumption of magnesium-rich foods.

I was diagnosed with clinical depression a couple of years ago

I have seen some articles/studies that link depression to brain chemistry and suggest it can be helped with avoiding certain oils/getting certain oils. My medical condition significantly impacts how my body processes oils/fats and my experience is consistent with the research I have seen. I am very picky about what oils I consume. I can get suddenly and dramatically whacked out by consuming an oil my body can't process.

Some other things that have helped with brain issues in my family: Coconut oil, high cholesterol meals (such as eggs, bacon, butter), and B vitamin supplements.

Also, the lymphatic system for the brain is apparently separate from that of the rest of the body. In the rest of the body, lymph gets moved faster when you walk but for the brain it is mostly processed during sleep. So if you have sleep issues of any kind, working on resolving those may help your brain function better because good quality sleep helps the brain take out the garbage, so to speak.

My migraine-like headaches are resolving but I don't have any quick suggestions related to that.


I think I may be suffering from this as well. I thought it's normal but I do remember not being able to explain it to my parents when I was younger. I also experience most of the related symptoms:

* tinnitus - less nowadays, but I remember having some problems at night as a child

* depersonalization-derealization - it's occasionally happened for as long as I remember

* fatigue - I thought it was caused by my depression

* speech difficulties - yeah, I thought it's related to the brain fog I get when I'm nervous

* anxiety

* depression

Now, my visual symptoms seem fairly mild, I wouldn't say I've been affected much. But if the other things turn out to be related...

Is anyone doing studies in the UK?


Does this look similar to what you have ? http://www.youtube.com/watch?v=qVFIcF9lyk8

If it is - Ocular migraines are well known (though not the cause or a treatment). It often is a matter of using the right term or finding someone who knows them. I've had RLS for years and never managed to describe it (until I randomly read an article with a resonant description).


Just a thought: You might want to put contact info in your profile if you want to make this shout out more effective than a passing conversation in this one post.


Thanks for pointing this out.I thought my mail would surely be in my profile like on most pages. I guess thumbs up for hn for not requiering one.


Hello, I have VS too! I was actually one of the many people dr Schankin interviewed by phone for the first phase of the research that you mention. I have had it for nearly 25 years!


Wait, this isn't normal? Huh. Thanks for the info.


As for booleans I don't consider macros and further macros which are part of the library as a datatype, but yes of course they are in the core language. What I wanted to express was that booleans are nothing more than integers with sugar sprinkled over the top. You're right.


Something tells me I shouldn't have done this out of an impulse. I basically hacked it away in 1 hour with one proofread. I felt on fire and wanted to push it out that probably wasn't such a good idea.

Of course you can represent utf8 in null terminated strings but you have to escape escape the null character, or if used as a terminator implicitly assume it's there. The basic jist of that was that I wanted to say, dont use byte encodings internally if you got large registers available and keep attention to null termination and it's pitfalls.

But justification beside I'm going to give it more time and reference check against the standard, refrase my intentions so that they are clear and probably shine more light on the positive aspects of the language and put it intro relation with other languages.

Hacker News isn't a place for pre alpha done in very little time drafts.


I think it definitely has potential. Throw it up on Github, and let people submit pull requests. Don't feel like you need to spend more of your time fixing the examples.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: