« first day (3169 days earlier)      last day (1782 days later) » 
00:00 - 16:0016:00 - 00:00

12:00 AM
... and with that he disappeared, fading into the dark corners of the room again
 
 
1 hour later…
1:16 AM
hi All, I posted question to unbalance row of CSV files into multiple files based on the code present in first column. I'm not finding solution yet, can you guys please help. here is the link of the question.
-1
Q: Read the text file and split into multiple files based unique code present in the first column

PeteRead the text file and split into multiple files based on the unique code present in the first column of text file- Column structure will be different for each record based on the unique code identifier in first column. Text file with comma separator Sample input file structure "05555", "AB", ...

 
@Pete your issue with the answers is that you can't even figure out how to read the CSV into a DataFrame (so, not an actual problem with the answers you have). Please try to reproduce your error with a data sample and explain the error you're facing and your code.
 
@cs95. When it tried to read the csv file with unbalanced rows, I'm getting the parsing error
 
that only half answers my question. What is your code? Also, how many columns could your file have at most?
 
I'm getting the error as "pandas.errors.ParserError: Error tokenizing data. C error: Expected 57 fields in line 453, saw 131" As the columns may vary for different file set, I'm not able to fix number of columns. It won't exceed more than 500
 
df = pd.read_csv('file.csv', sep=r'\s*,\s*', engine='python', header=None, names=range(500))
df_dict =  {k: g.dropna(how='all', axis=1) for k, g in df.groupby(0)}
@Pete Try that ^
 
1:37 AM
@ cs95. Thank you. I'm able to read the file now. how to write into multiple test files with delimiter as ","
 
@Pete Iterate over df_dict and save each one to a file. See stackoverflow.com/questions/3294889/…
that's your take-home assignment
 
@cs95 . Thank you..will do.
 
1:57 AM
Hello
 
Hi!
 
Hello, i have posted a question yesterday regarding to some issue with pandas and python. stackoverflow.com/questions/56659836/…
I really need help with this. Could you please assist me ?. I request
I did get response from a kind user. However, that was 19 hours ago, i guess due to time difference im assuming the user seems to be offline.
 
yeah, don't worry. they'll be online in a couple of hours to resume their shameless fgitwing. you'll get a response then
i should mention your question is very unclear, and there's no semblance of an expected output
 
See basically i can explain you here,
 
stackoverflow.com/q/56659836/4909087 unclear, no expected output
no, please edit your question.
 
2:10 AM
oh sure thing
Yes i edited it :)
I hope its clear now.
-1
Q: Comparing the values against their target and assigned operator

krijanI want to compare the values in column 1/01, 1/02,1/03, 1/04, 1/05, 1/06 with the values in target column using the condition in the criteria column. I want to get the count of all values that didn't meet the criteria for each ID in the column Sum. # importing pandas as pd import pandas as pd ...

 
Not yet, you still need to show your expected result for the data given. You claim you want the sum of values that don't meet the criteria, but you seem to also want the number of items that don't. Please indicate the expected result in your question so people don't have to jump through hoops anymore to figure it out
 
Oh, i basically want the count of all values that meet criteria into a column called Sum.
Thats all i need
Yep I fixed it now :). with expected output
 
2:27 AM
@krijan [0, 0, 1, 1] seems wrong. Please check again?
I'm reading it as count the number of columns where "Target {criteria} column" IS VIOLATED, where criteria is either <= or >=.
 
ye
yep thats what i need :_
 
A quick look at the data tells me it should be more like [5, 6, 1, 1]. Unless I'm misunderstanding this, then that means your question is still confusing (well, to me at least)
 
:)
 
@krijan OK. Great, I also need to know what possible operators criteria can be. Is it just <= and >=?
 
yep thats the operator sign those two only
 
user6276743
2:30 AM
In sqlite3, is autocommit on or off? Whenever I delete a table, add a new one, then populate it, it seems like it autocommits the deletion!
 
user6276743
https://stackoverflow.com/questions/4699605/sqlite3-saving-changes-without-commit-command-in-python

The first and second answers contradict each other
 
GREAT. We're nearly there. please edit your question with this info and I'll give you an answer.
 
Well it should be [0,0,1,1] this is because, any date value that is not matching criteria is considered as breaching.
oh my bad you are right
i am so sorry
 
"I want to get the count of all values that didn't meet the criteria for each ID in the column Sum." this would be [5, 6, 1, 1].
 
I am so sorry you are aright
 
2:32 AM
so, which is it?
 
your answer
5,6,1,1
 
Great, I think we're done here.
 
Thank you very much, let me try it out for my original file
:)
 
✌️
 
Hello Sorry, just a issue i faced while running the code
it says 'numpy.ndarray' objeect is not callable
dates = new_df.filter(regex=r'\d/\d{2}').values()
u = new_df[['Target']].values() > dates
v = new_df[['Target']].values() < dates

np.where((new_df['Criteria'] == '<=')[:,None],u,v).sum(axis = 1)

new_df.assign(Sum=np.where((new_df['Criteria'] == '<=')[:,None],u,v).sum(axis=1))
 
2:44 AM
@krijan .values() -> .values
 
oh sweet its running
let me just double check it thank you :)
 
Alright.
 
Hmm my sum column is outputting all my values as 0
manually checking there is supposed to be some rows who has breaching values
 
Check that both Target and your date columns are floats.
Confirm with df.dtypes
 
like one of my row. has Target 1, Criteria >=, Dates values 1, 1, 1, 1, 0.7, Sum value should be 1, not 0
Ohh its not float, only my dates are float, not target and criteria
 
2:49 AM
it doesn't matter. They just have to be numeric. int or float.
Criteria should be a string (or object, as pandas would report it)
 
right so i have to change my target to float
 
well, if it's int, no change is needed. Now, I'll need to understand this: Target 1, Criteria >=, Dates values 1, 1, 1, 1, 0.7 Target should be greater than, or equal to 1, 1, 1, 1, 0.7. I don't see where this is violated.
The sum should be zero.
unless I'm (sigh) still misunderstanding something here.
 
no all my value must be greater than or equal to 1
it cant be less than 1, if its less than 1, then its breaching
in our case 0.7 is less than 1, that means its breaching, hence it should be counted to our sum column.
 
That contradicts your explanation and your expected output
 
yes it does
but thats how my company gave me the data
 
2:57 AM
:|
 
I am extremely sorry for wasting your valuable time.
But its just really hard to explain this, it has been bugging me for almost week now. this issue.
 
I think the biggest issue here is that you are not clear on what you want.
You should probably take a step back, bust out a pen and paper and do some calculations on paper to figure out wha your expected output should be on the sample data
 
but now i just gave you example on what i am expecting.
thats what i need onestly
honestly.
 
you'll then get a better understanding of how you want to solve your problem, heck you might even figure out how to code it
you can click the up arrow to the left of your messages to edit any typos.
 
but sir, really, Ill give example again. Suppose my target is 1, Criteria is >=, then all my values must be greater than one, if its less than 1 then its breaching
 
3:01 AM
is [0 0, 5, 1] your expected output for the data given?
the idea for a solution is you'd need to do the opposite comparison of what your criterion suggests (this would tell you when the condition is violated), then sum up the Trues
 
no thats not the output. Because let me break it down for you. For, A1, all the values are <= to 1 (target). Hence it should 0. For B1, all the values are <= to 2 (target). Hence it should be 0. For C1, only one value is greater than target 4. Hence output should be 5. For D1, 5 value are greater than equal to target 1. Hence output should be 1
 
OK, so it IS [0, 0, 5, 1]? :p
 
Correct
:)
Awesome
 
aight, I think I've got it now
 
Thank you very much, sorry about the confusion
 
3:09 AM
go ahead run the code and reply under my answer if you have any further questions.
 
I feel bad
 
sure
 
I have ran the code, the output is all 0 for sum column
 
Reply under my answer for any further questions.
 
sure thing, Thank you for your help
 
3:16 AM
@krijan oh wait. Did you remember to assign the result back? df = df.assign(...)?
assign doesn't modify df in-place, you've to assign it back
 
3:32 AM
let me try it again :)
 
3:54 AM
Am I the only one who spends hours writing a function that's 24 lines long before realizing it can be compressed to about four?
 
rules of optimization: 1. don't optimize 2. don't optimize yet.
 
Really? Cause it will cut down a lot on how long the code takes to run
 
read the rules again, carefully
 
I was getting a value in a certain row in a table with SQLite by 1. Taking the whole row 2. Finding the names of each column in the table 3. Matching the column for value you want with a position in the list of column names 4. Finding that position in the list for the total row and 5. Returning that row
I could have used 1 line to do that and simply found the value I needed
It's less optimization and more removing stupidity
 
depends on what you optimize for - less code, or clearer code, are definitely better optimization targets for routine optimization than code speed or memory requirements
we should have a word for this
disassemble (v.): refactoring code from 25 lines of detailed instructions for the computer how to perform a trivial task with, like, a single built-in function call
though probably more people come from a C background than an assembly background these days
de-c?
 
 
2 hours later…
6:19 AM
@tripleee if the code is too bad you can't un-c it
 
(-:
what has been C'n cannot be un-C'n
 
I still get shocked everyday by reading some questions, it's like they expect python to do guesswork and magically give the answer to them in some cases
e.g. if you want to parse a file and don't tell python how it should parse it, python cannot do anything for you
 
Random user: *raise sane and reasonable feature request on meta*
SE Overlords: sorry we can't do that cuz <insert very confusing technical reason here>
Also random user: challenge accepted mate. *USERSCRIPT*
 
6:35 AM
Cabbage people of the python
 
@cs95 is that random user you?
cbg
 
I don't know the first thing about how to write a userscript
 
Must have been Makyen
 
6:48 AM
He's not a random user :P
 
yeah I was generalising :P
granted the rejection for a dark mode is not by an overlord but eh, I'm sure they'd say the same thing
their stubbornness with focusing on minor issues like badges and welcoming indicators instead of the stuff they really need to look into is quite vexing
but this has been beaten to death on meta already.
 
But what's with the Dark mode ? Is it picking up more since OSX Mojave has it?
 
A lot of people have been asking for it. It's just becoming ever easier and accepted to implement.
 
oh, just the minor convenience of it being a theme that doesn't burn your retinas
 
but why not use something like flux which adjusts the brightness of the monitor as per the time of day?
 
6:55 AM
if that was a thing, people'd have tried it by now
I already have flux mode on after 10pm, the white theme still hurts
 
yes being a night owl have some disadvantages
 
@DeveshKumarSingh I have that and a white page is still too bright
Dark terminal where I code vs beacon of light on SO
 
Aah yes, the main SO site is pretty bright
 
7:18 AM
^deleted. cbg
 
cbg
@cs95 stackoverflow.com/a/56680813/8591431 Another example of pandas being used for a simple task
 
haha, don't bring those things into the limelight for cs95, have mercy on the poor guy. :P
 
Perhaps I should start it so he doesn't miss this :P
 
it's like making someone listen to bad music. you could call it a mild form of torture. just saying.
 
btw the poor guy here is the answerer or cs?
 
7:30 AM
cs
 
aah ok
well he is the wizard of pandas, holding the magic wand, so he knows it's powers and how they can be misused :)
 
 
1 hour later…
8:57 AM
@JonClements what does doing that involve?
 
9:18 AM
cbg
 
cbg
 
9:30 AM
cbg
Anyone (won't be until July when I make it public) fancy testing a web scraping framework I've been working on for gosh knows how long...
 
10:04 AM
cbg
 
It seems today that I've reached a threshold of knowing just enough JS to completely destroy my productivity. I refuse to abandon my snazzy web form but I can't find any sane way to validate it once submitted. I really need someone to come in, confiscate my shovel and send me home :/
 
10:28 AM
js backend?
also, i can come over and steal your shovel if you like.
 
No, front-end. Lots of dropdowns being altered based on various AJAX calls based on other dropdowns
I'm actually pretty close to forcing it through Flask-WTF. I swapped the shovel for a digger, it's almost working :)
If I just put one more modal sub-form in.... :P
 
10:44 AM
cbg
Anyone familiar with fontTools?
I can't seem to find a documentation for its API.
 
11:03 AM
@ParitoshSingh solved it in the end, only took 3 hours :) I think I was a tad too ambitious on that one; no need to come to the UK
 
ah, well, glad to hear!
 
rbrb
 
11:20 AM
@JonClements Sure, what does it involve doing?
 
@ReblochonMasque different thing. Jon was asking about interest in testing a web scraper a few hours ago
 
@ReblochonMasque Hi, I am already aware and involved in this, was asking about the web scraper
 
whops, sorry, my mistake.
 
@DeveshKumarSingh honestly, not sure yet... but I'll work that out over the next few weeks :)
 
11:30 AM
@JonClements No problem, I thought since you put it out there, you needed immediate help
 
what he needs is sausages wrapped in bacon
 
pigs in blankets. Making me feel hungry
 
@AndrasDeak that'd be lovely, can you do some mash and onion gravy as well please? :p
 
could use a sanity check. we have a python script that requires user inputs. we need to take a lot of inputs from the user, such that it seemed like a simple tkinter gui was not sufficient (? maybe? could also be worth exploring further). Essentially, the biggest hurdle seems to be figuring out how to let a user select multiple options from about 400+ values.
So, with that in mind, we thought web based interfaces might make life easier. (and maybe biased due to past experience). Now, we also want this script to be bundled as an exe.
Does this path sound sane enough or is there an alternative we're missing?
Essentially, would trying to bundle a flask app into an exe alongwith it's html or stuff end up proving too much of a hassle?
 
speaking as an end-user, 400+ choices will only be manageable if the user can filter options and/or with auto-completion when they start typing
 
11:40 AM
It seems that you could bundle your Flask app into a single exe.
 
it will be something along the lines of an excel-like interface (which is what we're trying to replace). So, only check boxes, select all, scroll and so on
 
I've created a couple of exes, but I don't think I've ever bundled external files with my code. No clue how hard that is
 
@ParitoshSingh Scrolling across 400 checkboxes is a good way to make your user hate you. I'd hate you. Or just not fill them at all.
you'd need one heck of a hierarchy structure among the 400 checkboxes for me to be able to find anything
 
Yeah, with 400 values you definitely need some kind of search/filter function
 
yeah :P sadly, that part has to be done. i mean, the guys here do it all the time. i'd just have some sane defaults such that at most 1-2 checkboxes should need to be changed, but the option would need to be there.
filter/search portion makes sense too.
@roganjosh this looks super promising, thank you!
 
11:48 AM
The article seems quite brief. In my head it doesn't seem such a simple task. What launches the server?
 
hopefully, a double click on the exe. only one way to find out i suppose. :) Im giving it a dry run as we speak
it's shockingly slow compared to cx_freeze so far, which makes me worried, but i just hope it pulls through
yeah, no, it failed.
time for some digging i suppose
 
Yeah, it's not clear to me how it's supposed to know the entry point
I guess .flaskenv might cover some parts but I have it in my head that FLASK_APP has to be set manually
 
12:17 PM
What would be a good way to practice how to make an algorithm for a programming puzzle? python-forum.io/…
 
Write algorithms for lots of slightly easier programming puzzles
 
project euler maybe? Or hackerrank and loads of others
 
Hmm, I'm surprised that I can't find a dupe target along the lines of "Q: how can I iterate over all the files inside a directory, recursing into subdirectories? A: os.walk". I wanted to hammer stackoverflow.com/q/56685734/953482. But oops, it's already been answered.
 
12:33 PM
I can find a handful of dupes for that, but no good ones
as usual
 
Any Q/A stuff like that should probably also cover how you do that utilising pathlib...
 
I'm conflicted about whether we should have canonical questions of the form "hey how do I do this thing that could be easily achieved with a single stdlib function, if only I knew that function existed?"
We'd basically be rewriting the language documentation then
How do I get the largest value in a list? How do I get the length of a string? How do I add two numbers?
hard mode: no jquery allowed on that last one
 
Oh okay... can I use bit shifting and related operators? :p
 
I don't really mind those kinds of questions. In fact I rely on them quite a bit when I code in other languages, like JS
 
That's why I'm conflicted, because they're actually useful sometimes
Maybe it's more acceptable in this specific instance because there's more than one obvious way to do it (os.walk, pathlib, rolling your own solution with listdir), so there's interesting technical discussion to be had about the advantages of each one
If there were three ways to add two numbers, it wouldn't hurt to have a Q&A comparing them
 
12:46 PM
1 + 2 vs (1).__add__(2) vs operator.add(1, 2), let's go
 
I wish the lexer/parser was smart enough to consider 1.__add__(2) legal syntax because those superfluous parens bother me
It might need human level intelligence to do that unfortunately. does 1.e10 mean "one point zero times ten to the power of ten"? Or does it mean "The attribute e10 belonging to the integer 1"?
 
it could just interpret 1.e10 as attribute access and the workaround if you need it to be a float would be 1.0e10, not a big deal
 
Let's earmark that for Python 4000.0, since we can't incorporate any breaking changes until then
 
heh, more reasons why we need py4
 
I would love such questions for functions whose python documentations are not clear enough with examples
 
1:00 PM
It would be great if there were examples of every builtin function. But I don't know that StackOverflow is the best place to host that kind of information.
We are not the one-stop-shop for all programming knowledge. We're a Q&A site.
 
@roganjosh fwiw, while i may not understand exactly how it all works, i am able to get a simple flask application running as an exe now with pyinstaller. thanks again
 
@ParitoshSingh awesome! Do you have a link to the resource that got you over the hurdle? I fancy having a go with some common utilities for me e.g. Jinja rendering of URLs, loading of images, backend db connection, which I assume might be overkill for your project
 
@JaakkoSeppälä Related: counting inversions in an array. I suspect that you could modify some of those algorithms to solve your puzzle.
 
for e.g. I learned yesterday that in map, I can pass multiple iterable arguments like map(func, it1, it2...)
 
Just in terms of seeing if anything is skewy. It'd be nice to know I at least had the option should I need it in future to make an exe
 
1:08 PM
@Kevin We do have some evidence that SO may not be the best place for that: the Documentation experiment was a resounding flop.
 
Also we do have sopython.com, why not add a page in that to cater to some of these
atleast some good examples of builtin functions to begin with, do's and don'ts
and we can always refer to the website in some questions as well
 
Also good to keep in mind: there is a huge difference between "I would like for there to be a site that documents <thing>" and "I would like to write and maintain a site that documents <thing>, and be held accountable if that information ever goes out of date"
 
@roganjosh it was kinda simple in the end, so far i followed this. link Note that my application was basically just flask hello world, who knows what hiccups still await me.
 
@Kevin Correct, well I think if we are on this topic, I can surely help to come up with something to start with a site, and I suppose maintaining will start with that
 
it seems that pyinstaller does a really good job trying to figure out dependencies. i was a lot less successful with cx_freeze
 
1:14 PM
Ah, I spotted that answer from Joran when I was doing my initial searching
 
aye. pretty happy with how much easier pyinstaller seems to make this process though. thanks for the recommendation.
 
1:40 PM
Can 'file.read() function' not be used twice? is another "hey, tell me about a builtin function that I don't know about" question, except it's for file.fseek this time
 
there's no RTFM close reason so expect an answer soon
 
that has to be a dupe...
 
...and hammered
fun fact, that was the first hit when I pasted OP's title into google :|
 
Seems like everyone wants to read from an open file twice today. I just hammered a Flask question with it too.
 
Hmm, does the markdown engine not onebox tweets any more?
I can't expect anyone to actually click on a thing to read it, I need it to be embedded.
Having tried every combination of (http / https) and (www. included in url / www. left out) in the sandbox, I give up.
 
So it's not just a day of reading open files twice, people want to iterate twice over iterators like filter, too.
 
Let's break out the consume twice pattern
 
2:16 PM
Now is itertools.tee's time to shine
 
Hello friends,
Some developers have a Python developer as their professional position.

Python script programming
Ethical attack for Python
Python for developing web applications
Python for data analysis
For game programming

There are sub areas such as.


Is it true that these developers write only as Python developers in their professional positions?

I don't think they are competent in all of these subfields.
 
@piRSquared That should suit them down to a tee.
 
If you're asking "is it typical for a Python developer to put 'Python developer' down on their resume, even if their actual work experience is in a less general area of study?", I'd say so, yes.
 
I should know better than to post without refreshing the page first...
 
Although come to think of it I don't think my own resume is worded like that. IIRC I've got "web developer" somewhere close to front-and-center, and you can only determine that I'm a C# developer by going through my big list of skills
 
2:20 PM
@PM2Ring ^
I have to edit out that flag... it's a koala after all /-:
 
If you're asking "isn't it dishonest to write 'Python developer' on your resume unless you are an expert in all possible fields that might write Python programs, for example game dev / pen testing / web development / data science?", no, I don't think it's dishonest.
 
The analogous argument would be that you aren't allowed to say you are a developer unless you can develop everything.
 
For the same reason that it's not dishonest to say "I know how to drive" even if you've never been behind the wheel of a forklift or oil tanker or space shuttle
 
For now on, I'll say: "I'm an expert in all things in which I've gained expertise."
 
cabbage @piRSquared
 
2:26 PM
To be fair and without sarcasm, I've questioned resumes where the author claims Excel expertise.
CBG @ReblochonMasque (-:
 
@Kevin yes
 
@piRSquared You're hired! [Camera zooms out to reveal company is named Tautology Inc]
 
Well, it'll work out or it won't. That's what I always say.
 
why.I didn't mean the developer was a fraud. But he doesn't know it all.
@Kevin +
 
Business has been rough for the company, since their biggest contract was to perform quality control on the International Prototype Kilogram to confirm that it still weighs one kilogram.
 
2:31 PM
there's a difference between "python developer" and "developer in python"
the first implies an "of" between the two words
that might be me
err, "developer of python", not "python of developer", but you get it
 
@Kevin not anymore
 
@cs95 that's not what I mean
 
Or, the more modest approach "Python, I've done a little bit."
 
@Kevin Referring to this episode of Radiolab? wnycstudios.org/story/kg
 
I am referencing the fact that the SI unit for mass used to be defined in relationship to a specific metal ingot that scientists kept in a vacuum, but as of en.wikipedia.org/wiki/2019_redefinition_of_the_SI_base_units that is no longer the case
I have only found out about this redefinition today, and I'm a bit sad about it. the IPK was very useful in my skits since it was basically the scientific equivalent of a holy relic
What am I supposed to use now? Einstein's preserved brain?
Actually that works pretty well. "International burglar ring steal's Einstein's preserved brain", "Mad cultists break into university to perform dark ritual on Einstein's preserved brain", "Einstein's preserved brain gains sentience, demands rights"
 
2:44 PM
@Kevin There's an awesome self-answered question on Physics.SE about this topic: What are the proposed realizations in the New SI for the kilogram, ampere, kelvin and mole?.
 
My only qualm is that "preserved" has too many e's and so I'll probably mistype it as "presereved" all the time
 
or "presevered"
 
What I want to know is: what happens to International Prototypes once they're made redundant? The International Prototype Metre was used to define the meter until 1960. Where is it now? Can I get it on ebay?
 
it'll be fun 50 years from now when they measure how much of the kilogram etalon standard has evaporated
oops, that word is not used in English (meh)
 
I occasionally wondered why the IPK (and the old metre standard bar) were made from a platinum-iridium alloy. Why iridium rather than osmium? It's also a platinum group metal, and osmium and iridium vie for the title of the densest (stable) element, density variations arise due to different modess of crystallization.
It turns out that osmium reacts with atmospheric oxygen to produce osmium tetroxide, which is toxic and volatile at room temperature.
 
2:57 PM
"etalon" has good mouthfeel, though. I'll add it to the docket for the next English Loanword Summit
It has a certain je ne sais quois. Real chutzpah.
 
@Kevin Good question. On permanent loan to museums, I guess. Even just at scrap metal prices they'd be worth a few pennies, platinum group metals aren't cheap.
 
My guess is "still at the International Bureau of Weights and Measures, because it's occasionally useful to have a platnum-iridium rod that is very very nearly one meter long"
For when you need sub-millimeter precision but can't be bothered to warm up the laser
@AndrasDeak Likewise, we could measure the IPM now and see how much that has evaporated since 1960.
 
@Kevin not really :P
 
Yes, not really, because in order to do that we'd have to know where the dang thing is
 
Oh, you meant the M, not the K. These TLAs will be the end of me
 
3:09 PM
@Kevin The actual bars are longer than a metre, the standard length is indicated by a pair of marks. There's some info at en.wikipedia.org/wiki/…
 
Good idea. Then erosion at the ends doesn't matter as much.
Found it: bipm.org/en/measurement-units/history-si/evolution-metre.html says "On 28 September 1889 the International Prototypes were deposited at the BIPM, where they remain today."
BIPM being the very confusing acronym for the International Bureau of Weights and Measures
 
As I try to work out what each letter stands for, I keep pronouncing each word with a French accent in my head.
 
IIRC, none of the replica kilogram standards weigh the same as each other, or as the main one at the BIPM. Some of them even have dents of unknown origin, which is a little surprising, considering that they are supposed to be handled with extreme care, and platinum-iridium is a fairly hard alloy.
@piRSquared But of course! ;)
 
"Some of them even have dents of unknown origin" -- see, this is just one example of the intriguing plot hooks that the IPK offers which you can't get from Einstein's preserved brain.
 
isn't weight, or the measure of weight, a measurement? Why "weights and measures"?
 
3:21 PM
You can't dent a brain! It's basically all dents to begin with!
 
It's like "... and here is where we store water and liquid."
 
How would you even standardize weight, since (unlike mass) that varies depending on where you are on the earth?
You can't even say "weight as measured at sea level" since g varies even at constant altitude
 
See level at the equator?
 
@piRSquared Good question, and I have no idea how to Google an answer to it. I'll ask Emilio, the guy who wrote that Physics.SE Q&A I linked earlier. He might know.
 
@Kevin weight as in object used for calibrating mass, I think.
 
3:25 PM
I think even controlling for altitude and lattitude wouldn't do it, since gravity can be slightly altered by the composition of the ground under you, etc. See en.wikipedia.org/wiki/Physical_geodesy for a graph that illustrates this (... I think)
 
It does vary. That's how you find oil.
 
Pressure has an effect doesn't it?
 
Not really
Air density for bouyancy. So indirectly.
 
Wikipedia tells me that there is a Standard Gravity which conveniently ignores the problems of Actual Gravity
 
So a human that learns to walk in one part of the world may be slightly stronger than another human simply because they've grown under a slightly higher gravitational force? Interesting...
 
3:28 PM
Buoyancy is what I was thinking
 
@Dodge Apparently it varies by about 0.5%.
Hardly a "Goku removes his training weights" situation but there you go
 
Are people in lower gravity taller?
 
Oh like packing an extra half pound for every hundred... Bummer I was going to try to vacation to a place where I'd be able to dunk
 
I'd expect other factors to be more dominant in population height
 
On earth. empirically
 
3:30 PM
@Kevin True, but the water (kind of) equalises itself to a surface of constant geopotential. But you have to take tides into account, to get the mean sea level. But yeah, figuring out the gravitational strength to high precision is important. It gets used to locate minerals, and to figure out the long-term stability of satellite orbits. Actually, it's kind of the other way around, since we use satellite data to improve our geopotential maps.
 
Sweden is close to the North Pole, where gravity is strongest, and they're quite tall, so that is good counterevidence for the gravity/height correlation.
I see a lot of European countries at the top of the average male height rankings on en.wikipedia.org/wiki/List_of_average_human_height_worldwide, and few equatorial ones
 
Taller == less heat loss (Allen's law?)
 
wow! I got rolled
 
:( same
 
3:45 PM
lol
 
@cs95 your trick worked. /clap
 
wonder who that scared the most
 
Haha. Very funny. Don't do it again.
 
It'll stay between us (-:
 
Thanks, I was halfway there
 
3:48 PM
note to self: practical jokes are impractical
 
@pm @ad, still on star board.
 
nah, refresh
 
File under "fairly amusing, but let's try to keep a good signal-to-noise ratio for official-looking messages"
 
ooh (-:
 
Incidentally, rickrolls have had a lot less "oomph" now that Youtube videos don't autoplay on page load any more.
 
3:51 PM
Kinda like that time when I told my boss that I found a cool trick to work from home. He asked me how and I told him I opened up an ssh tunnel to my home computer and forwarded ports. He smiled and told me that was very clever but they had fired someone for the same thing 2 years prior.
 
on the topic of people who've been fired for stupid things, there was a guy who printed 300 pages worth of religious text using the office printers
he was gone the following day
 
> Investigators then discovered Bob had "physically FedExed his RSA token to China so that the third-party contractor could log-in under his credentials during the workday," wrote Andrew Valentine, a senior forensic investigator for Verizon.
Oof
 
I printed out the entire manual to Maxima one time... that's sorta religious.
 
I buy my chalk
If I weren't picky I wouldn't have to, I don't teach in elementary school :P
 
3:58 PM
I've never used the work printer for personal purposes because it's been out of toner since 2009 :>
 
00:00 - 16:0016:00 - 00:00

« first day (3169 days earlier)      last day (1782 days later) »