unity – Build crashing on macOS (works on windows)

I’m currently working on porting a windows game to macOS and it was going smoothly so far, but I got to a point where the build always crashes at one specific area in the game. There was never such an issue with windows version. Weirdly it crashes only sometimes on editor but build every time.

Also it’s not like there is something wrong with the game itself, this area is in 80% of progress of the game (after 30-40 hours of gameplay) and everything was working smoothly up until this point.

After a crash I get those logs:

Native stacktrace:

0 libmonobdwgc-2.0.dylib 0x0000000119148731 mono_handle_native_crash + 242
1 libmonobdwgc-2.0.dylib 0x00000001190a8b59 mono_sigsegv_signal_handler + 220
2 libsystem_platform.dylib 0x00007fff20373d7d _sigtramp + 29

Debug info from gdb:

(lldb) command source -s 0 ‘/tmp/mono-gdb-commands.RtpE9X’
Executing commands in ‘/tmp/mono-gdb-commands.RtpE9X’.
(lldb) process attach–pid 2347
Process 2347 stopped
thread #1, name = ‘tid_103’, stop reason = signal SIGSTOP
frame #0: 0xffffffffffffffff
Target 0: (No executable module.) stopped.

I have no clue what this is about, also I had a hard time finding anything on the internet about it. Any help?

Here are full logs https://pastebin.com/KA98Etqf

macbook pro – My Touchbar isn’t responding. If I tap, it works but im not able to view the functions. How can I solve this problem?

macbook pro – My Touchbar isn’t responding. If I tap, it works but im not able to view the functions. How can I solve this problem? – Ask Different

USB Ethernet stops working but works when another Windows partition is running

My USB ethernet suddenly stops working. I suspected that it’s an OS problem so I tried to install another Windows and it works again but I don’t want to redo my setup on my main installation to the new one? Where should I start looking for problems?

I’ve already tried to reinstall drivers but no luck. My main OS detects the virtual disk drive that my USB ethernet provides but I am unable to open it. Windows says that the disk is corrupted which I think is not because the USB ethernet is detected even before a connection is established on the second installation.

unity – Why does Lerp not reach target if setting rb.position, but setting rb.transform.position works?

I don’t understand the logic here.
I have the following script which makes a player jump towards a target:

public IEnumerator JumpToTarget()
    Vector3 startPosition = rb.transform.position;
    Vector3 targetPosition = (nearestAnchor.FindClosestEnemy().transform.position - offset);
    float distance = (startPosition - targetPosition).magnitude;
    float movementSpeed = 10;
    float duration = distance / movementSpeed;

    for (float f = 0; f < 1; f += Time.deltaTime / duration)
        rb.transform.position = Vector3.Lerp(
        yield return null;

Notice rb.transform.position = Vector3.Lerp( here. This works and does reach the target. However, I am noticing that it seems to ignore collisions despite Player and the object it’s jumping to both having Rigidbodies and colliders.

So I looked up this problem and saw the suggestion to simply change rb.transform.position = Vector3.Lerp( to rb.position = Vector3.Lerp(. However, doing this makes the Player basically only begin to jump. Player gets like 20% towards target and just stops, whereas when it was rb.transform.position it would reach the target near-immediately.

Does anyone know why this is happening? The ultimate goal is to have a JumpToTarget code that does not ignore collisions, but also I would like to have a glimpse into the logic of why this behavior occurs if possible. Thank you.

Sails.JS’s publish method doesn’t work in a controller, but works in the console

Currently, I’m exploring web development to see what all the hype is about. Except for following a small ‘create your first CRUD app in Node.JS’ and some formal training in JavaScript, I have no experience.

I’m new to JavaScript, NodeJS, Sails.JS, and WebSockets.

My current problem is this:

The app I’m trying to develop receives POST calls with a JSON object. This is the input part of the application. These POST calls originate from any random host.

The output is a webpage that updates itself by listening on a Sails.JS powered WebSocket system called sails.io.js.

Basically, each POST from any host should result in an event on the WebSocket.

Since I’m not building a formal REST API, I have to define some parts myself in Sails.JS. I do have blueprints enabled.

First, in the controller that handles the POST call, I can call the code below so existing WebSockets can receive an event of a new ServiceHeartBeatSession being created. All the server side code mentioned here is located in the controller or executed in the console.

, ServiceHeartBeatSession._room(session.id) );

Then, the invoke method is executed to send this event to all listening WebSockets.

ServiceHeartBeatSession.publish(( session.id ), { “verb”: “created” });

However, the .publish method does not result in a event to an existing WebSocket. Unless I execute it myself in the console. The WebSocket is registered like this:

io.socket.on(‘serviceheartbeatsession’, function(resData) {
alert(‘Something changed!!!!’);

I did some digging into the sourcecode and made some attempts at debugging this myself. Here’s what I’ve found so far:

Running the .publish call in the console produces the desired result.
It appears that the .addRoomMembersToRooms is a requirement for the .publish to work in the console. So I’m assuming that .addRoomMembersToRooms works as intended.
I tried the alternative below, but that doesn’t work in the controller. However, it does work in the Node console.
sails.sockets.broadcast(( ServiceHeartBeatSession._room(session.id) ), “serviceheartbeatsession”, ‘hi!’);

The following works as intended, but I prefer not to use that.
sails.io.sockets.emit(‘serviceheartbeatsession’, { verb: ‘created’ });

The above attempt lacked a room selection, so I dug a little deeper. The calls below where the result of a .publish method. However, only after repeating this in the console, it worked.

var emitter = sails.io.sockets;
emitter.in(‘sails_model_serviceheartbeatsession_5b6b26748377829d34983d67:serviceheartbeatsession’); // for example
emitter.emit(‘serviceheartbeatsession’, { verb: “created” });

Check more information in the article: https://adevait.com/nodejs/building-nodejs-apis-with-sailsjs
Anyone have any ideas?


Array formula works in the sheet but invalid in conditional formatting

I have a list of time intervals along with their convenience ratings. I wish to highlight intervals rated anything other than impossible which conflict with those rated impossible.
I use start1 and end1 named ranges to refer to the interval endpoints and convenience is self-explanatory.

I couldn’t do it with ISBETWEEN, but the following formula appears to correctly return true for all such intervals and false for others:


However, when I enter this in Conditional Formatting it is rejected as invalid formula.

How can I add it to the conditional formatting rule?

Here’s the spreadsheet. The data in question is the sheet named “TEST” (the last one).
The formula has been entered in column P.

objective c – Why printf works but not NSLog?

As I try to print something to the console, I see this https://stackoverflow.com/a/22316527/3286489

But when I test out as below

  NSLog(@"Test ObjC: NSLog");
  printf("Test ObjC: printf");

Only the printf works. But not NSLog. Why?

Besides, I notice in printf, I cannot supply NSString * object to it.

sharepoint online – `Get-SPOUser` is denied but `Set-SPOUser` works

Using the credentials for a SharePoint Administrator user (User-X), I can successfully run the Set-SPOUser commands but not the Get-SPOUser command.

PS > Connect-SPOService -Url "https://tenant-admin.sharepoint.com"    # Successful
PS > Get-SPOUser -Site "https://tenant.sharepoint.com/sites/Site-A"   # Unsuccessful
PS > Set-SPOUser -Site "https://tenant.sharepoint.com/sites/Site-A"   # Successful

Here is the error returned from the Get-SPOUser command:

Get-SPOUser : Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))

User-X is not a Site Collection Administrator for Site-A but they are a SharePoint Admin for the tenant that Site-A is a part of.

I noticed that when I manually add User-X to Site-A as a Site Collection Admin through the SharePoint Admin Center (or through Set-SPOUser ... -IsSiteCollectionAdmin $true), then I am able to successfully run Get-SPOUser.

Why am I unable to run Get-SPOUser with a SharePoint Administrator?

item is undefined in SharePoint Online but works fine in SharePoint 2013

Long story short I’m migrating SP2013 to SPO. Unfortunately the code is producing an error in the browser console that collListItem is undefined.

All I did was to replace the addresses where needed with the new ones including the imports of jQuery and other resources. The page itself has search functionality which is working fine and a list of letters to pick from (like a dictionary) to check manually for a given word. Upon selecting some of the letters nothing is displayed. After clicking the edit page button all the words are loaded.

I read that this is common issue and the solution was to use SP.SOD.executefunc. Much to my regret this doesn’t seem to work. Last but not least this is just a small excerpt of the code. To keep it tidy I removed the html/css bits and some of the other functions where collListItem is also used but no problems there.

Any suggestions are welcome.

$("#btnSearch").click(function () {
    var txtsTerm = $("#txtSearch").val();
        var letter=$.trim(txtsTerm).substring(0,1);
        $("https://sharepoint.stackexchange.com/#"+ letter).addClass('aClick');
        //ExecuteOrDelayUntilScriptLoaded(retrieveListItems, "sp.js"); 
SP.SOD.executeFunc('sp.js', 'SP.ClientContext', retrieveListItems);

SP.SOD.executeFunc('sp.js', 'SP.ClientContext', retrieveautotextItems);
function retrieveautotextItems() {
        var siteUrl = 'https://contoso.com/sites/';
        var clientContext = new SP.ClientContext(siteUrl);
        // Get the list instance
        var oList = clientContext.get_web().get_lists().getByTitle('Term');

        var camlQuery = new SP.CamlQuery();

        var strQuery='';        
        strQuery="<View><Query><Where><And><Eq><FieldRef Name='IsActive'/><Value Type='Integer'>"+ "1" +"</Value></Eq><Neq><FieldRef Name='Term'/><Value Type='Text'>"+ "" +"</Value></Neq></And></Where></Query><RowLimit>1000</RowLimit></View>";
        this.collListItem = oList.getItems(camlQuery);


        clientContext.executeQueryAsync(Function.createDelegate(this, this.onQueryAutoSucceeded), Function.createDelegate(this, this.onQueryAutoFailed));        


How to Make 50-100$/Day *works 2021*

Make 50-100$ daily by doing nothing. perfect for lazy people


DreamProxies - Cheapest USA Elite Private Proxies 100 Private Proxies 200 Private Proxies 400 Private Proxies 1000 Private Proxies 2000 Private Proxies 5000 Private Proxies ExtraProxies.com - Buy Cheap Private Proxies Buy 50 Private Proxies Buy 100 Private Proxies Buy 200 Private Proxies Buy 500 Private Proxies Buy 1000 Private Proxies Buy 2000 Private Proxies ProxiesLive.com Proxies-free.com New Proxy Lists Every Day Proxies123.com Buy Cheap Private Proxies; Best Quality USA Private Proxies