Domain: pastebin.com
Stories and comments across the archive that link to pastebin.com.
Comments · 719
-
Replacing CALC.EXE
Related info here...
The Win10 calculator has an awful UI. It's huge -- much bigger than it needs to be. As others here have noted, it also starts slowly, since it's a Windows Store app and not a normal Win32 program. As others here have also noted, it may not work at all if your network's firewall blocks Windows Store access. (Or you remove the Windows Store from Windows.)
So, replace the darn thing. There are lots of other Windows calculator programs out there. (My favorite is Moffset FreeCalc: http://www.moffsoft.com/freeca.... It may not be visually the most beautiful either, but it doesn't take up tons of screen real estate, it's fast, and it does everything I need. And it's free.)
And if you want, you can do some registry hacks so any attempts to run calc.exe instead run Moffset FreeCalc, or whatever is your calculator of choice.
My batch here is also easily adjustable to open a different calculator (e.g. Calculator Plus, or whatever), just change the folder\file referenced.
(You could also use this same technique to replace notepad.exe with Notepad++ or whatever other various replacements from stock Windows apps that you might want. Note, however, that Windows may likely reset your settings anytime there's a major build update, e.g., one of Microsoft's big every-six-months build updates.)
Batch file posted here in Pastebin:
https://pastebin.com/a8na7k4d -
Re:The Anti-JUDEN petition
They are probably downmodding it because they recognize the poor copy-and-paste job (what's with the repeat paragraphs?): https://pastebin.com/aqA2kf5A
It's a real shame that the Jews didn't do 9/11. Still the KSA is the 2nd best choice for topical humour value. I can't even begin to describe the joy I experience when I watch re-runs and see bewildered little cunts like novakyu getting exploded out of windows.
Jesus will be utterly forgotten in a thousand years time, but Osama Bin Laden will be a hero as long as humanity exists.
-
Re:The Anti-JUDEN petition
They are probably downmodding it because they recognize the poor copy-and-paste job (what's with the repeat paragraphs?): https://pastebin.com/aqA2kf5A
-
Re:Thats nice
was a link I took from an article linked to below.
Mostly mom'n'pop shops and random Korean/Russian websites.
-
The actual pastebin link
We don't need no stinking ad-ridden middlemen to tell us, news for n00bs
-
Re:Challenge Accepted
Mental note: Next utility I don't want to make will be entirely constructed using profanity.
Just need to work out the style guide for it now, high level is open to discussion.The programming language Brain Fuck consists of 8 single-character instructions: plus, minus, greater than, less than, open bracket, close bracket, period, and comma.
Any other characters are ignored as white space and can be used for padding and indentation.This presents a unique combination where the language name contains the word 'fuck', which can consist of instructions to print out 'fuck' on screen in a loop, with white space consisting only of the word 'fuck', used to pad out the actual instructions such that they form a mono-spaced 40 column ascii 'fuck'
I was bored anyway, so here's a v0.0.1
https://pastebin.com/raw/11rEBhHBThe 3x5 font sucks, but hey it compiles and runs!
-
Re:Caught With Pants Down
Audio with a static image saved in a video file format is the same size as a regular video. If you had "watched" my audio-only videos, you would have know this. Not surprisingly, you're pulling shit out of your ass.
Chris,
I suspected that you would be too stubborn to face the truth. So when I say I have been watching you for a long time here is a list of your amazon spam links I was hitting with my click-bot back then:
https://pastebin.com/fRjAinTWI am sure it should ring a bell with you but then again, who knows at this point?
-
Re:C++ is great
Leaving aside the common theory that circular dependencies should be avoided, there are no real problems with them in JS. Let's say you have a bunch of functions, you can include all of them in the HTML file in no particular order. When everything is there, you call your main function, which initializes any global data you need and then calls all of the other functions. At that point, they will be executed with the complete context they need.
See this for a very simple example. Note that I can refer to "c()" in the definition of "a()", even though I haven't declared "c" yet. The contents of "a()" is not evaluated when module_1.js is loaded, but rather when I explicitly call "a()" from the inline script.
This deals with 99% of the use cases. But if you really need module-level static variables that have complex dependencies, you can always go with a singleton factory and construct it on first use. -
Re:I never acrually had A 500
7)https://pastebin.com/cFj4B7Tq
Removed for contributory copyright infringement. You creimertards never learn. Tsk, tsk.
-
Re:Supermicro Firmware Updates
A list of most Supermicro BIOS files can be found here https://pastebin.com/X7CJntE5
-
Re:I need another drink
-
htaccess
Some good gems in the
.htaccess file downloadable from here Of particular interest might be this section to block access to files that end in certain extensions.
https://pastebin.com/16Xn1gSs -
htaccess file to stop some of these silly mistakes
Some good gems in the
.htaccess file downloadable from here Of particular interest might be this section to block access to files that end in certain extensions.
https://pastebin.com/16Xn1gSs -
.HTACCESS File
Some good gems in the
.htaccess file downloadable from here Of particular interest might be this section to block access to files that end in certain extensions. https://pastebin.com/16Xn1gSs -
Re:Let the internet segregate
Ironically the "lameness filter" censored my post. I copied groups of paragraphs into the field to find the offensive phrase and it didn't trip but all of it together apparently violates some rule it won't specify. No idea what the problem is... but here you can see exactly what happens when one of these services does something like that... I just posted my response into pastebin and then linked to it here.
See? It does nothing. Totally god damn pointless.
I read the article. You didn't. My argument is valid. If you have a problem with something I said, then offer an argument. But your first attempt of "you didn't read it" was bullshit. Try again, chump.
-
Re:wiki leaks?
How about wiki-sec? Anon white-hat dumping ground.
There are plenty of anonymous (not Anonymous) dumping grounds. Here's one: https://pastebin.com/
There are many varied options. You don't make money by publishing articles on pastebin, though. -
$5 on BoingBoing
Here's the backstory. Julian Assange founded the Freedom of the Press Foundation as a front for Wikileaks so he could continue to get donations from Americans while the feds had suspended his official accounts. After Micah Lee and Xeni Jardin got onto the board, the Freedom of the Press Foundation cut funding to Assange and denounced him.
This "suicide" was a Freedom of the Press Foundation member. He probably knew a lot about who did what and why.
-
You can make it boot in less than 1 minute
All you need is to compile your own kernel without useless stuff such as ACPI, PCI, USB, SCSI, MD. This is a config that should work like a charm for that system in at most 3 seconds (instead of 14) on a 386sx PS/1 and with a lot less RAM based on 2.4.37.11. You only need SB32, VESA, EL3 (3COM), TTY, ISA, ISAPNP, PARPORT on the hardware side. It also has support for SMBFS. It can further be trimmed without SMBFS and NLS to around 600kb (loading and decompressing are slow on a 386.
https://pastebin.com/Mj0cudLF -
Re:REAP YOUR TAX CUTS MY FELLOW AMERICANS!
It increases the wealth of the top fraction of a percent, and degrades the wealth of everyone below that.
And yet, if you read the links I posted here
1. Share of taxes of richest decile
2. Share of market income of richest decile
3. Ratio of shares for richest decile (1/2)
Sweden
26.7 26.6 1.00
United Kingdom
38.6 32.3 1.20
United States
45.1 33.5 1.35That last ratio is (share of total taxes paid of richest decile)/(share of market income by richest decile). You can actually make an argument that the rich in the US - which has lower personal tax rates than the UK pay more of their fair share. Similarly the UK has lower personal tax than Sweden, and yet rich people pay more of their fair share.
I.e. on a plausible model of fairness US>UK>Sweden even though in terms of personal tax rates Sweden>UK>US.
And the Laffer curve hasn't been refuted - the HMRC for example use it, and you'd expect them to know what they're talking about.
What is disputed is Taxable Income Elasticity which determines what shape the curve is. If you search the HMRC pdf I linked to for 'Laffer' you can see what happens to the curve as TIE varies and they also make some progress on determining the TIE for the UK and thus the optimal top tax rate. Basically that report was instrumental in the case for reducing the top personal tax rate from 50% back to 45% because a 50% tax was generating extra revenue.
And of course in France they experimented with high tax rates and then eventually rolled them back.
The Guardian is far left and supported high taxes on the rich but even they had to admit it didn't raise money and that's why it was dropped
https://www.theguardian.com/wo...
Finance ministry studies showed that despite all the publicity, the sums obtained from the supertax were meagre, standing at €260m in 2013 and €160m in 2014, and affecting 1,000 staff in 470 companies. Over the same period, the budget deficit soared to €84.7bn.
The decision to drop the tax is a personal blow for Hollande and only one of a number of government U-turns since he was elected, fuelling criticism that he is indecisive and lacking presidential authority.
And if you look at the data I posted it's actually rather obvious that the US has personal taxes about right and that higher taxes than that will reduce revenue.
What it didn't have right was corporation tax, at least until the recent GOP tax cut.
-
Re:REAP YOUR TAX CUTS MY FELLOW AMERICANS!
The Laffer curve is obviously true. Consider. If you have zero taxes you collect zero revenue. If you have 100% taxes you also collect zero revenue because people won't work for free. In between the two there's a curve where tax revenues increase up to some level and then begin to fall.
When Gordon Brown put the top personal tax rate up from 45% to 50% HMRC - the UK equivalent of the IRS - did a study of the 50% tax rate in the UK with Laffer curves in it.
http://webarchive.nationalarch...
Also if you percentage of income tax paid by the top decile vs the top personal tax rate you can see a very Laffer curve like effect
(more details here
https://pastebin.com/JU3exgXL )Here's one for just the Nordic countries. The argument is that they are very comparable because they are so similar. Firstly culturally, particularly the Scandinavian ones. Secondly the share of market income by the richest decile is quite similar.
It is not true that the actual corporate tax rate in the US is higher than the other OECD countries. It's a canard, as in lie, as in bogus.
No it's not and I linked to OECD data to prove it.
And saying 'well the effective tax rate is lower' is not a refutation. I'm sure big corporations do all sorts of deals to reduce their effective tax rate in the US - they shop around the states and pick the one who offers the best incentives.
However if you start a new corporation you get hit with the headline rate, until you grow large enough to corrupt the system, go bust or move your business overseas. Which is why 35% corporate taxes are a bad idea.
-
Re:In defense of C++
As I said before: designing a system where every function frees the first argument, instead of freeing it yourself, is WRONG.
Are you seriously so stupid? Because it is quite clear to me that you are a quite dishonest person whose motivations aren't properly/adequately learning/understanding; no idea about why you do what you do and honestly don't care. But, on top of that and your evident lack of knowledge, you seem particularly stupid! Apparently, my previous comment was still too complicated for you. Unfortunately, I don't have any puppets with me at the moment, but I will try a still clearer version:
1. Go back to the sample code which I wrote yesterday to try to address your "internal world".
2. In LoopNoFunction, copy the var1 set (up to the first free(var0)) 10 times. Change all the variable names such that they remain unique; you can try with var3, var4, var5, etc. Do the same with LoopFunction.
3. Now, you can redo the "experiment" in my post above and confirm that everything continues working/not if you remove/not any intermediate free.
4. What have you learned now? That you can call that function as many times as you wish without caring about freeing the variable you are using (BTW, if it was an array, the freeing process would have been more complex than just calling free). Without the function, you would have to write as many free as times you re-malloc the variable. Additionally, if you miss any of them you might provoke a serious problem. So, rather than always calling free (or a method to perform the more complex freeing actions on an array) before calling that function, you can include that free inside the function itself! What implies both a lower number of irrelevant writing and a safer approach (= you will never forget about that free).
You should bear in mind that this is just a very simple example helping you to understand what others understood immediately and without any additional help. The final goal is to always call whatever method without caring about malloc/pre-freeing malloced variables. A more descriptive example I wrote in a previous post: var1 = concatenate(var1, var1, var2); which performs the concatenation in a local variable, frees var1 (if required), mallocs it and copy that temporary variable to var1 which is returned; everything in 1 line what cannot be accomplished right away in any other way (you would have to rely on a temporary variable). What this approach does is accepting the underlying C/mallocing-freeing reality and simplifying its usage. I have been using this methodology for a while with a big number of different methods and it is extremely intuitive and error-free. Modesty apart, I came up with this approach (as more comprehensively described in other comments) within the first month of using C (for the first time in the last quite a few years; never for an important development) for a quite demanding implementation, got used to it and now (a few months later), I feel almost as comfortable with that format as with the more modern programming languages on which I usually rely: I almost make no mistakes and immediately debug the few I do. I will certainly keep further evolving/optimising it, but it already represents a quite good first version of what I intended to do: an intuitive way to easily deal with C for someone whose experience is mainly focused on managed-memory/modern programming languages. Anyway, sorry again for the lack of puppets and for having used so many words; and hopefully I will not talk to you ever again, at least, not before you evolve into a person (if you get there at all). -
Re:In defense of C++
I see. I will try a version more adapted to your "peculiarities". Just follow the instructions below as well as you can, if you don't know how to do one of the steps, don't worry, because you tried and this is all what matters: someone, somewhere might eventually (and probably undeservedly) love you (I guess).
1. Open your C compiler/IDE (if you need help on this, go to Youtube, type C compilation and watch the first video with puppets which you can find).
2. Paste this code into the main file.
3. Call LoopNoFunction() from the start up method, compile/execute and confirm that runs without any issue.
4. Open your system memory log (CTRL+ALT+DEL on Windows or console+a program like htop on Linux), remove the first free(var0); in LoopNoFunction(), compile/run and be ready to terminate the execution as soon as possible (the memory usage will go up quite quickly!). This is why you have to release an allocated variable before reallocating it again!
5. Now test LoopFunction() and confirm that it works fine like in step 3. Why? Because that function frees the variable every time. How can it do such a thing? Because it takes as a first argument the variable to be freed/returned! Magical, don't you think!
LOOOOOOOOOOOOOOOOOOOOOOOOL. -
Re:Manifesto by Developer of Magic: The Gathering
For those of you who can't (or won't) go to a Facebook like, here's another link to the manifesto.
-
I am only getting weird spam
I haven't been getting too much spam since quite long time ago. But the one I get is very weird like the one which I received right now (Slashdot doesn't support those characters).
I have been getting an email similar to that one about 2-5 times per week for over the last quite a few months. They are always written in a language I cannot understand (sorry about that, obsessive spammers, but I can only understand Spanish, English and bit of German) and usually include the word SPAM in the title!! I have never replied to any of them, visited anything referred by them or even made the tiniest effort to translate what they say. -
Re:Having it NOT be in upstream is more flexible
You can absolutely do this. You create two mirrored vdevs, so that reads and writes are striped across the pair of mirrors. I have this exact setup in my home NAS; see this example for how it's set up. Note the sizes aren't strictly true for the used space since it takes compression into account; the discs are paired 1.8 and 2.7T discs; I've upgraded one pair to larger capacity drives, and I'll likely do the same for the other pair next time I upgrade it (or add a third mirror).
-
Re:Don't Panic
Is it even valid C?
It compiles, but doesn't illustrate the point which the parent poster is trying to make. A more adequate version would be something like this (impossible to write it here! Additionally to having to include all the indentation/new lines manually, I kept getting the "Filter error: Please use fewer 'junk' characters." error message!). But even after spending a huge amount of time improving that simplistic code to deal with a relevant number of scenarios, you would have to take care of the really difficult part which is implementing a programmer brain.
Imagine that you have available a huge number of algorithms taking care of virtually any detail and that you can easily rely on any of them. Having that in place is a requisite before building any coding automaton and it is already very difficult (if possible at all). But that task is extremely simple in comparison with the next one: allowing that machine to know how and when to use each coding bit. Where and how should you use that print statement? How could you convert a set of high level requirements into the multiple coding steps forming the given implementation? Having that in place would require not just excellent human-like understanding capabilities, but also a relevant amount of highly specialised know-how. This simply cannot be accomplished. -
Re:How do you cover 99.7 one way and not the other
anecdotally, i have a great experience with t-mobile while in nyc (even better than my friends with verizon or at&t), but it absolutely degrades to shit when i'm in the middle of nowhere.
statistically, i can't offer a thorough analysis. however, it's worth noting that i can cover 99.77% of the population of the entire United States while covering only 84% of its area. it is quite simple: omit Alaska entirely. similarly, i can cover 90% of the population while covering 51% of area by picking the top 25 most densely-populated states.
hopefully this will at least suggest that games can be played by cherry-picking major metropolitan areas, even more easily than picking states. data is available here based on 2013 census: https://pastebin.com/nDsVCK9U
-
Math Is Over Too
Because I Solved Diffie-Helman Exchange For Catalytic Conversion: https://pastebin.com/ZVvLYYiV
-
Re: This is why we need to criminalize CryptoCash
I'm seriously struggling to figure out if that was sarcasm or if society has degraded to the point where people can no longer sense hypocrisy in their own voices.
Here, let me introduce you to The Gentleman's Guide To Forum Spies which I think should be mandatory reading before engaging in online discussion. This document outlines various methods that could be used to derail statements made by the GP when he said:
So the banks that govern our fiat currencies have "moral responsibilities" do they? Actually, no, they don't at all. This is precisely why cryptocurrency was invented.
My guess is the term 'fiat currrency' is what triggered the AC troll or bot to attempt to shift the subject. Seems like it worked.
-
Re:Summary fail
You were right: https://pastebin.com/PnzK3Pvx
Looks like I'm going to need to generate a lot more numbers to really get much out of that test. I'll grab the hardware and give it a try, as well as the other software tools you linked.
-
Re:No, because meaningful whitespace
So:
#include int main(void){int i;for(i=1; i<=100; i++){if(((i%3)||(i%5))== 0) printf("number= %d FizzBuzz\n", i);else if((i%3)==0) printf("number= %d Fizz\n", i);else if((i%5)==0) printf("number= %d Buzz\n", i);else printf("number= %d\n",i);} return 0;}
Actually, that IS superior to using whitespace for indentation, because I ran it through indent on the default settings and got this..
If that line of code was python, no tool on earth will figure out the correct formatting. You provide a compelling reason for whitespace to be independent of meaning in the source code.
Works in python just fine:
['Fizz' * (i%3 == 0) + 'Buzz' * (i%5 == 0) or i for i in range(1, 100)] -
Re:No, because meaningful whitespace
Find the bug. Better yet, hand it to a co-worker to find it.
Bug found in less than a second after I put it into file tmp.c:
cat tmp.c | indent
Now, try to do the same thing with misformatted python.
-
Re:No, because meaningful whitespace
Find the bug. Better yet, hand it to a co-worker to find it.
-
Re:No, because meaningful whitespace
So:
#include int main(void){int i;for(i=1; i<=100; i++){if(((i%3)||(i%5))== 0) printf("number= %d FizzBuzz\n", i);else if((i%3)==0) printf("number= %d Fizz\n", i);else if((i%5)==0) printf("number= %d Buzz\n", i);else printf("number= %d\n",i);} return 0;}
Actually, that IS superior to using whitespace for indentation, because I ran it through indent on the default settings and got this..
If that line of code was python, no tool on earth will figure out the correct formatting. You provide a compelling reason for whitespace to be independent of meaning in the source code.
-
Re:The Republicans will never....
Yes, yes it is. It is simply flat tax with a universal tax credit tacked on.
I assume you're now talking about necessities as a measure of regressiveness? If UBI (after tax) is at the level where it just covers necessities, then you'd get the necessities as part of the UBI and any excess is taxed.
That's not the debate. We are not debating the effective tax rate. We are debating what percentage of one's income one spends on taxes on necessities.
That wasn't exactly clear. But I don't see how that supports your point. People with higher income are always going to be spending on average less on necessities. But the UBI income level is generally considered to do that otherwise what's the point?
Yes, no shit. It's obvious to anyone with a grade school reading level that I understand that, since I deliberately mentioned them as a separate thing. You just put that in to sound smart.
Not sure why you're so annoyed. There's lot of threads and a lot of context here. What's clear to youis not necessarily clear to your readers.
The point is just what I said, no one should pay taxes on necessities. In fact, no one should pay sales taxes on necessities, either. But again, since we can't reasonably administer such a system, we simply use a graduated tax scheme to make the system as far as possible without the massive overhead that is involved in giving people a rebate for every necessity.
OK, so I did the math, because I happened to want to know this for an unrelated point. If you take the graduated tax system of the UK, and compute what proportion of people's wages they pay as tax you find that overall it's pretty similar to if there was a 30k UBI and 45% flat tax, except that under our system, people on the lower end pay much more tax.
Here's some awk code to plot the two side by side:
it's income tax only. NI isn't plotted.
YES! That is why we use a graduated tax scheme! Finally, you've got it!
No, you've completely ignored the overhead in things like unemployment benefits, means tested housing benefit, winter fuel allowance, making sure employers actually pay the minimum wage etc etc. One of the arguments is that with UBI you can also scrap all of those hugely expensive programmes because they are no longer necessary.
-
Re:The Quota Show
Look at the leads in the last two Star Wars movies, they were both white, and both built up as perfect Mary-Sues, they could do no wrong.
Because they were women, and a female character with X character flaw is proof the writers believe all women have X character flaw. This also made the movies boring. See Galbrush Threepwood.
The problem isn't diversity, it's when diversity becomes the replacement for the plot. And the marketing department knows it. If the movie's funny, push the funny. If it sucks, push the diversity. And they do it. The female ghostbusters movie was shit because the jokes were awful or non-existent. Replace the female cast with a male cast and it would still be awful. But when people pointed out that it was awful, the studio and their media whores pushed the "if you don't like this garbage it's because you hate women" narrative.
-
Rather more interesting, from the leak...
...is this document, in French:
https://d3n8a8pro7vhmx.cloudfr...
Translation to English (not cleaned up, just what the Big Goo spit out):
Draw your own conclusions about who is really behind Macron.
-
Could you have submitted a worse link?
Comment to submitter... next time, please find an article that provides a much better summary without all the gratuitous clickbait links, please. Like this one, or this one.
Anyways, in short, the doc makes an OAuth request for access to the user's e-mail and contacts. And since every user blindly accepts permissions such as these whenever they add an app to their phone, we had a lot of users at our district click "Accept".
Mod points to anyone who can parse the source code and summarize what it does, besides mass-email everyone in the contact list a copy of itself.
-
API/ABI fixesWelcome another round of API/ABI breakage: even the latest beta NVIDIA drivers 381.09 are not compatible with this kernel. Here's a dirty hack/patch to resolve the incompatibility.
VMWare Workstation/Player 12.5.5 also needs some love.
VirtualBox has already been made compatible. Thanks, Oracle for keeping it up to date.
Lastly, a human readable changelog is always where you expect to find it: https://kernelnewbies.org/Linux_4.11.
-
API/ABI fixesWelcome another round of API/ABI breakage: even the latest beta NVIDIA drivers 381.09 are not compatible with this kernel. Here's a dirty hack/patch to resolve the incompatibility.
VMWare Workstation/Player 12.5.5 also needs some love.
VirtualBox has already been made compatible. Thanks, Oracle for keeping it up to date.
Lastly, a human readable changelog is always where you expect to find it: https://kernelnewbies.org/Linux_4.11.
-
Re:Doesn't Keep Up With ME
ME allows the women's christian temperance religion to continue to rule over the world. Men may not look at a woman, must accept her fucking around ("don't stone her"), can only have one female, must die for the woman, and should maybe cut their dick off ("those of you able to accept it for the kingdom of heaven..."), the man must have selfless love, and the Father of the Jews is the adversary. No child brides either ("better a millstone").
(Sounds like Jesus was a Zoroastrian priest
...)All this is completely opposite to the religion of the Eternal one (the God that spoke "I am who I am" to moses). The man has possessive love, rules over the females as an overlord (ba'al) and can take female children as brides by way of rape. (Deuteronomy 22: 28-29, hebrew (discussion: http://pastebin.com/mzFJyxea ), numbers 31,). The man is the master, not the slave; unlike his position in christianity where the man is the slave and the woman the master.
-
Google doesn't care about VPN
VPN's may only protect you from your own ISP, but what about the biggest spyware organisations, such as Google/Facebook?
They all rely on browser fingerprinting more than anything else these days, and subtly transmitting information back in an encoded form, including mouse movement patterns to learn about the individual.Cookies/HTML5 storage are so last decade, as I've seen a growing number of companies (Cyberfend / iovation / iesnare / "cformanalytics", browser.id (navigator.io), etc) provide services specialising in tracking and individually identifying users - even surprisingly across devices, somehow.
As far as I can tell, only Mozilla is attempting to reduce/fight this with their browser, especially as they recently removed the Battery status API, added disconnect.me to blacklist known trackers in v43, Font fingerprinting, etc.
Sure, you can use addons like adblockplus, noscript, decentraleyes, etc to some degree, but many times they break websites as more and more sites are utilising javascript exclusively for a website to function, including third-party scripts, such as GoogleTagManager, etc.
Just recently discovered that the popular London travel website TfL also contains a third-party tracker, without which their journey planner doesn't work, thus the website doesn't work with Firefox's disconnect.me privacy list. -
Fizzbuzz, clean code version
You want small functions? You got em! And even here, at least one of the functions are longer than three lines...
-
Re:non-issue then
Interestingly enough in the last couple of decades certain societies closed the gap between the male/female " successful" suicides. You know where that is - in Scandinavia, the most emancipated society on Earth. Bottom line - once society starts treating women as men, the women kill themselves. So much for the privileged male...
I looked at the stats, taking the suicide rates by country from wikipedia and the list of OCED and Scandinavian countries and did some analysis. ( better formatted here http://pastebin.com/dyAYAmJz )
Columns are suicide rate, then by males and females:
southkorea 28.9 41.7 18.0
hungary 19.1 32.4 7.4
japan 18.5 26.9 10.1
poland 16.6 30.5 3.8
latvia 16.2 30.7 4.3
finland 14.8 22.2 7.5
belgium 14.2 21.0 7.7
iceland 14.0 21.0 6.7
estonia 13.6 24.9 3.8
czechrepublic 12.5 21.5 3.9
slovenia 12.4 20.8 4.4
france 12.3 19.3 6.0
chile 12.2 19.0 5.8
unitedstates 12.1 19.4 5.2
austria 11.5 18.2 5.4
sweden 11.1 16.2 6.1
ireland 11.0 16.9 5.2
australia 10.6 16.1 5.2
slovakia 10.1 18.5 2.5
canada 9.8 14.9 4.8
newzealand 9.6 14.4 5.0
switzerland 9.2 13.6 5.1
germany 9.2 14.5 4.1
norway 9.1 13.0 5.2
denmark 8.8 13.6 4.1
luxembourg 8.7 13.0 4.4
portugal 8.2 13.6 3.5
netherlands 8.2 11.7 4.8
turkey 7.9 11.8 4.2
unitedkingdom 6.2 9.8 2.6
israel 5.9 9.8 2.3
spain 5.1 8.2 2.2
italy 4.7 7.6 1.9
mexico 4.2 7.1 1.7
greece 3.8 6.3 1.3mean = 11.1514
mean ratio = 3.85731
mean male = 17.7171
mean female = 5.03429scandi mean = 11.56
scandi mean ratio = 2.91343
scandi mean male = 17.2
scandi mean female = 5.92End result is that Scandinavia is pretty much in the middle of OCED. The female suicide rate is slightly elevated compared to the OCED average, but not very far out. The numbers certainly don't support the hyperbole of your claims.
-
Re:Interesting story
They didn't ask him to write an entire balancing algorithm, they asked him for an algorithm to tell if the tree was balanced - a much simpler task, left as an exercise to the reader.
Pretty simple, actually. Here's my solution, coded about as fast as I could type it. Basic idea: walk the tree and find min and max depths. If they differ by more than 1, it's unbalanced.
Note that I have neither tested that code, nor proved it correct. It probably works, though, and I'm sure it would satisfy an immigration agent. I didn't just get off a long plane flight, but I have been working for 12 hours (trying to get stuff done to unblock some other people before I leave on vacation tomorrow).
-
If Comcast were your power company...
In the ongoing battle against the effects of Comcast's iffy hardware/network, I've been running speed tests every ten minutes for several days. The actual issue being diagnosed in this case is random bouts of upstream constriction; so far, these don't seem to be tied to any activity inside of the network.
The nominal speed of this network is ~117 mbit/s downstream; times are local to the server.
http://pastebin.com/zMUncLei
Pretend that the downstream speed is your line voltage, and anything 100 + is equivalent to nominal. Also pay attention to the times at which the depressions occur; it seems to know no rhyme or reason. During the day, many of these can be attributed to heavy user activity.
Also, a warning about static IPs and Comcast: If you have a static IP through them, you are required to rent one of their routers. They both have issue; the SMC D3G (which we use) has hopelessly broken IPv6 support. The Cisco DPC3941, which we used previously, had bizarre issues with latency that it would impart upon any traffic that crossed it; it also had an unacceptably high rate of random (cable) signal drop-outs and packet loss. We went through two of those before switching to the SMC. I was told at one point that they'd be getting some newer Netgear routers, but I'm not very willing to beta test anything for them. -
Re:Link to dumps
Release 1 - the supply chain - a backdoor with backdoors.
In this release find a small sample of the 900GB of mere 'user accounts and basic contact
information' recently liberated from Cellebrite.The exploit techniques that Cellebrite employ are wrapped in various encryption schemes
in an attempt to protect 'their' intellectual property. The custom routines for
decrypting this lame ass protection are included in this release along with an
accompanying sample .eas (DLL designed to target devices and applications) and .epr
(bootloaders, exploits and shellcode) files.The more discerning eye will notice that some of the Apple exploits bear a remarkable
resemblance to those available to any teenager interested in the jailbreaking scene;
perhaps not all those tax dollars have been wasted, the Blackberry epr is still worth
a look at.The ripped, decrypted and fully functioning python script set to utilize the exploits
is also included within.Download links:
https://mega.nz/#!sZUkSbDT!l74...
https://mega.nz/#!0d9zBQLI!DdK...Coming soon.....
Release 2 - watching the watchers - pivot to win.
In this release find a small sample of files retrieved via the weaponized Cellebrite
update service deployed on MS Windows based devices and desktops (SYSTEM privs) within
the customer infrastructure.Analysis of the compression and obfuscation employed by Cellebrite on products supplied to
British MOD juxtaposed with the protection free versions supplied to SOCOM and others is
also included within.@FBI Be careful in what you wish for.
links are dead
;( any workign ones ? -
Link to dumps
Release 1 - the supply chain - a backdoor with backdoors.
In this release find a small sample of the 900GB of mere 'user accounts and basic contact
information' recently liberated from Cellebrite.The exploit techniques that Cellebrite employ are wrapped in various encryption schemes
in an attempt to protect 'their' intellectual property. The custom routines for
decrypting this lame ass protection are included in this release along with an
accompanying sample .eas (DLL designed to target devices and applications) and .epr
(bootloaders, exploits and shellcode) files.The more discerning eye will notice that some of the Apple exploits bear a remarkable
resemblance to those available to any teenager interested in the jailbreaking scene;
perhaps not all those tax dollars have been wasted, the Blackberry epr is still worth
a look at.The ripped, decrypted and fully functioning python script set to utilize the exploits
is also included within.Download links:
https://mega.nz/#!sZUkSbDT!l74...
https://mega.nz/#!0d9zBQLI!DdK...Coming soon.....
Release 2 - watching the watchers - pivot to win.
In this release find a small sample of files retrieved via the weaponized Cellebrite
update service deployed on MS Windows based devices and desktops (SYSTEM privs) within
the customer infrastructure.Analysis of the compression and obfuscation employed by Cellebrite on products supplied to
British MOD juxtaposed with the protection free versions supplied to SOCOM and others is
also included within.@FBI Be careful in what you wish for.
-
Re:pastebin link?
The Mega.nz links in the pastebin are already broken: http://pastebin.com/y9P19guS
-
Re:And Chrome makes itself suck even *more* for ga
Gee, I dunno, apparently not everyone is stuck in the 90s.
Perhaps phones should fuck off and stop ruining desktop software.
This stupid shit already exists to an extent and now they are going even more retarded in to this idea.
Maybe add this as an OPTION so I can never have it enabled.Here's hoping the way around it won't get censored as well for stupid phone kiddies.
You can use event listener timers with postMessage instead. Even in Chrome this method is faster than native timers. MUCH faster. And that's with the tab visible!
Have some awful code
Try this with both the tab visible and not.