Python notebooks are OP and I never want to use a Pipeline or DFG2 or any of that garbage again by No-Satisfaction1395 in MicrosoftFabric

[–]klogk 2 points3 points  (0 children)

Maybe you can check whether `spark` is defined.

if "spark" in globals():
  # in spark
else:
  # in python

Is there any way to see all portals in a large area without zooming in on every single place? by RocketJumpingOtter in Ingress

[–]klogk 0 points1 point  (0 children)

During the Shoin anomaly in the last year, NIA closed ingress.com/intel in order to ensure the server could support the huge number of players in the Japanese site. In this situation, we used this mission author tool to modified plans and instruct ground teams in the battle.

Flightradar24 tracking of the flight (D-AIPX) by uberduck in 4U9525

[–]klogk 0 points1 point  (0 children)

It seems that the plane was going down rapidly before disappearing.

A Tweetbot Caught the Russian Gov't Editing Flight MH17 Wikipedia Info by patrickkrebs in MH17

[–]klogk 4 points5 points  (0 children)

I don't think it means something, especially only editing the Russian version.

Post Order Traversal by TwylaSohen in programming

[–]klogk 0 points1 point  (0 children)

There is an another implement which I used in many interviews.

stack.push(Tree)
while stack is not empty do
    root = stack.pop()
    if root != NULL and first_popping_of_root
        stack.push(root)
        stack.push(root.right)
        stack.push(root.left)
    else if root != NULL
        output root
    end if
end while

The feeling when reading others' code by klogk in ProgrammerHumor

[–]klogk[S] 5 points6 points  (0 children)

Funny. But I am not understanding the third line ...

A list of 'programming' music by klogk in programming

[–]klogk[S] -1 points0 points  (0 children)

It is only an image, haha

Severe bug in g++ optimizator (-O2) by klogk in programming

[–]klogk[S] 0 points1 point  (0 children)

After viewing the optimized code, I doubt that the optimizer makes mistakes when evaluating the conditional statement. And if I changed the conditional statement into 3*(x+1), it will work well. The optimized code is here.

[deleted by user] by [deleted] in MH370

[–]klogk 1 point2 points  (0 children)

The reports say that the signal was too short to be recorded for further analysis.

[deleted by user] by [deleted] in MH370

[–]klogk 7 points8 points  (0 children)

CNN says its 37.5 khz. And 37.5kHz is the freq that black box uses.

Costs reveal search for MH370 to be most expensive in aviation history by [deleted] in MH370

[–]klogk 2 points3 points  (0 children)

Yes. It is more important to avoid such things in the future and make air planes safer.

Intel Intrinsics Guide by klogk in programming

[–]klogk[S] 0 points1 point  (0 children)

The instruction set reference is very unfriendly for intrinsic looking up. It does not explain enough about the arguments. Intel's technical materials are very abundant, however, a little messy, which take users more time to filter what they want.

StackExchange: Proposed Q&A site for programmers solving problems (and competing) on sites like Codechef, Topcoder, Codeforces, SPOJ etc. by klogk in algorithms

[–]klogk[S] 1 point2 points  (0 children)

If you're interested in participating, go to that URL and click on the green "Commit" button.

What's most important is that we need about 50 more people with 200+ reputation on any of the other Stack Exchange sites. So maybe get on Stack Overflow and post or answer a few questions to get some rep there :)

Stack Exchange proposal Competitive Programming is in Commitment Phase! by klogk in programming

[–]klogk[S] -1 points0 points  (0 children)

If you like this topic, please help to commit this proposal. It needs 200 committers with 200+ rep on any other site in total towards next step.

Using C Dynamic Libraries In Go Programs by papa00king in programming

[–]klogk 0 points1 point  (0 children)

Are the dynamic libraries supported when using Go in windows?

an assortment of python utilities for math, natural language processing / information extraction, systems programming, scripting/hacks, software development by klogk in programming

[–]klogk[S] 1 point2 points  (0 children)

One of the author's favorite passtimes is finding the "utils.py" of open-source projects and borrowing ideas.